Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
contextnavidad
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
contextnavidad
1y ago
L3 constructs [0]. Define MyProjectLambda construct that handles common patterns, add methods for optional functionality. [0] https://docs.aws.amazon.com/prescriptive-guidance/latest/aws...
2.
▲
by
contextnavidad
2y ago
> Our project was originally full stack NextJS but we wanted to first migrate everything to Python/FastAPI This is the eye opener for me, how is a startup justifying a re-write when they don't even have customers?
3.
▲
by
contextnavidad
2y ago
Take a look at Posteo. Seem to have a similar philosophy as Mullvad.
4.
▲
by
contextnavidad
2y ago
> because you can't pass a name string as an argument that is expected to be an email address Unless you accidentally create the wrong branded type? Which is as likely as disordered arguments. As you stated, tests should cover this
5.
▲
by
contextnavidad
2y ago
Source? There is a similar charge in London, that's all I know of
6.
▲
by
contextnavidad
2y ago
Some organisations forbid copy left licenses
7.
▲
by
contextnavidad
2y ago
Had good experiences with PM2, however be cognizant of it's copy left license. We have found it redundant with the likes of Kubernetes.
8.
▲
by
contextnavidad
3y ago
Midlands is the way to go honestly, great transport links to the whole country, great nature, very cheap living.
9.
▲
by
contextnavidad
3y ago
You're a little off on the average UK wage. It's around £34k now.
10.
▲
by
contextnavidad
3y ago
> async middleware not handling errors properly thing though Can you expand on this? Error handling in middleware is pretty well documented.
11.
▲
by
contextnavidad
3y ago
Upgrade everything you need with a commit per upgrade, then if something breaks `git bisect` to find the troublesome package. And read release notes for everything you upgrade too.
12.
▲
by
contextnavidad
3y ago
https://www.artillery.io/
13.
▲
by
contextnavidad
4y ago
We used `cloneDeep` heavily at a previous role, it isn't particulary fast - so be careful if you cloning very big objects (1mb+). There are faster options out there such as https://github.com/davidmarkclements/rfdc
14.
▲
by
contextnavidad
4y ago
Someone knows how to get voted to the front page
15.
▲
by
contextnavidad
4y ago
Looks like you need an env var `OPENAI_API_KEY` for this to work. Strange that it is not documented at all. Also they could have provided an actual error rather than letting it panic!
16.
▲
by
contextnavidad
4y ago
I live in the UK and do not follow the news. I am not aware there is a food shortage!
17.
▲
by
contextnavidad
4y ago
From the deployment stage of the pipeline to live traffic hitting the new code, probably a couple of minutes. Limited by image pulls, application startup time and K8s rollout strategy.
18.
▲
by
contextnavidad
4y ago
I have my linting setup to force a base on `parseInt`, for the extra characters I do feel it's worth it for the safety. The extra parentheses is just habit from Prettier formatting :)
19.
▲
by
contextnavidad
4y ago
It's great to see other JS runtimes progressing, I have a continued frustration with the lack of decent TS tooling and ESM support in Node.js. Jest and Mocha both do not support ESM very well out of the box and there is an expectation
20.
▲
by
contextnavidad
4y ago
It passes the value and index to `parseInt`, where the 2nd argument is `base`. So it does not return `[10, 10, 10]` as you'd expect. It returns `[10, NaN, 2]` instead. You have to do `['10', '10', '10'].ma