from datetime import datetime, timedelta | |
import functools | |
def timed_cache(**timedelta_kwargs): | |
def _wrapper(f): | |
update_delta = timedelta(**timedelta_kwargs) | |
next_update = datetime.utcnow() + update_delta | |
# Apply @lru_cache to f with no cache size limit |
""" | |
nim_magic.py | |
Jupyter cell magic for your favorite programming language. | |
This is now also available as a proper repo: | |
https://github.com/apahl/nim_magic | |
All further changes will be tracked there. | |
Requirements: Nim (https://nim-lang.org), nimpy (`nimble install nimpy`, thanks to @yglukhov for this great library!) |
include karax / prelude | |
import strutils | |
type | |
Model = object | |
counter*: int | |
Dispatch = proc(model: Model): void | |
proc init(): Model = | |
result = Model(counter: 0) |
We are seeking a self-motivated and enthusiastic senior software engineer to join the Doofinder team. The Doofinder team develops since 2011 the top search engine for webs and ecommerce, that helps retailers online to increase their sales.
Python developers are responsible for developing and updating the solution. You will use a wide variety of technologies, such as Python, Django, Elixir, AWS, Machine Learning and other web technologies to improve and implement new Doofinder´s features.
We are looking for smart, innovative, and driven developers. We will consider applicants with, at least, 3-4 years experienced in the technologies listed below, however you must have strong Python skills.
Key Responsibilities:
from poetry.console.application import Application | |
from poetry.semver import parse_constraint, VersionUnion | |
def export_requirements(tag=False): | |
app = Application() | |
installed_repo = app.poetry.locker.locked_repository(True) | |
output = [] |
- Raise exceptions near to the source of the error.
- Raise custom exceptions that are a subclass of a custom parent exception.
- Catch the custom parent exception near the top level of your application.
- Return
True
if an otherwise impure/side-effect driven operation succeeded. - Send (and document) standardized error messages (e.g.
NOUN_STATE
==INPUT_INVALID
) - Send appropriate response status codes so callers can handle errors without parsing response structure.
He sido freelance, emprendedor y trabajo desde hace años para empresas USA de diversos tamaños en remoto como programador fullstack. Ahora en GitHub. Si puedo ayudar a alguien en orientar su carrera, mis DMs están abiertos. Ask me anything.
he recibido muchos mensajes y escribo aquí algunos de los consejos que he dado en resumen. Nota: algunas cosas son concretas de trabajar en España. Si vas a trabajar desde Sudamérica sólo una nota: tienes la ventaja de la zona horaria para trabajar con EEUU.
Tener un buen nivel de inglés es fundamental para poder trabajar con clientes extranjeros. El conocimiento del idioma tiene que mantenerse en el tiempo. Es como mantenerse en forma física; si lo dejas, lo pierdes. Personalmente aunque trabajo 100% en inglés desde hace bastantes años, intento crearme un entorno diario con el idioma para no perderlo: