batiste

Joined 16 years ago

Karma
156
Submissions
108
Member since
Dec 20
Full Stack Dev https://batiste.github.io/
View on Hacker News

Recent submissions

Comment · 3 years ago
There should be a calm AI voice stating what they should be doing based on some heuristics. Based on angle of attack, engine power and the last recorded reliable speed, I feel a simple system should be able to make projection of the current speed and throw some warning when pilot input are becoming real stupid.
Comment · 4 years ago
I have met people that thinks HTTP calls are great!

- "But it tests more things!"

Well ok, but those are integration tests, not unit tests... It is unacceptable that a unit tests can fail because of external system...

Comment · 4 years ago
It has been a long time I have met somebody stupid enough to push this kind of meaningless rules forward.

Test setup is sometimes very complicated AND expensive. Enforcing only 1 assertion per test is moronic beyond description.

Comment · 4 years ago
Yeah, the optional parenthesis is one my biggest complaint with the language.

It just makes things less readable, with not other benefits than making the code look more clever than it is.

Comment · 4 years ago
It really doesn't... After years using Ruby my mind never managed to parse its complicated grammar.
Comment · 4 years ago
You don't necessarily have a single SQL database behind a GraphQL server. You could have one of a mix of the above:

- Legacy internal REST APIs

- NoSQL Databases

- Various SQL Databases

- Some static text files

- Some REST APIs from a third party

Comment · 4 years ago
What I really like about GraphQL is that it completely get rides of the silly verb questions such as

- POST or PUT or PATCH?

- Why can't my GET or DELETE requests have a JSON body?

It is just a better interface, even if it where to be used exactly as REST without any nesting. I used the Appollo server in NodeJS and it was so natural to make parallel queries and let the query planner take care of the parallelism for me...

Comment · 4 years ago
> Genetically engineered food that is flooded in pesticides

Nhaa, I don't think so. Glyphosate residue are not a real concern for me.

Other things that are way higher on my list, that are considered "natural":

Sun exposure

Radeon gas

Alcohol and tobacco consumption

Comment · 5 years ago
Love Django. But we are using Django with Gunicorn at work and we are having massive concurrency issues (1 process, gthread)... More than 4 concurrent requests waiting on a slow IO and the whole thing melts down...

FastAPI doesn't have those issues at all...

Comment · 5 years ago
I still use the old design to this day...
Comment · 5 years ago
> if you don't do shady shit your site doesn't need a popup asking for consent.

This what I have been explained. Any sort data sharing, like introducing Google Analytics in your website and you need a disclaimer.

Comment · 6 years ago
Comment · 6 years ago
I would say, between 5% and 10%. I am paying CHF 2200 in Zurich for a 2 rooms and we share the rent.
Comment · 6 years ago
You could do some Ajax request with jQuery and update the page.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton