Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
batiste
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
batiste
3y 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
2.
▲
by
batiste
4y 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...
3.
▲
by
batiste
4y 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.
4.
▲
by
batiste
4y 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.
5.
▲
by
batiste
4y ago
It really doesn't... After years using Ruby my mind never managed to parse its complicated grammar.
6.
▲
by
batiste
4y 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
7.
▲
by
batiste
4y 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
8.
▲
by
batiste
5y 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
9.
▲
by
batiste
5y 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
10.
▲
by
batiste
5y ago
I still use the old design to this day...
11.
▲
by
batiste
6y 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.
12.
▲
by
batiste
6y ago
Really cool, I should have a serious look at this non-virtual dom thing. All the examples make it look like this project is dependable. Sorry for the plug but I somehow explored similar path when creating the Blop language, maybe the author
13.
▲
by
batiste
6y ago
I would say, between 5% and 10%. I am paying CHF 2200 in Zurich for a 2 rooms and we share the rent.
14.
▲
by
batiste
6y ago
You could do some Ajax request with jQuery and update the page.
15.
▲
by
batiste
6y ago
Lord I hate YAML. 10 years after seeing for the first time I still haven't memorised the intricacies and feel unsafe modifying any file.
16.
▲
by
batiste
6y ago
Well, I did something a bit similar my own language: https://github.com/batiste/blop-language/commit/90e7704e125f... Not sure where classes are an issue with doing anything like this
17.
▲
by
batiste
6y ago
Would it be possible to have a single method on a class that behaves like whatever useEffect is doing?
18.
▲
by
batiste
6y ago
I concur. I used React for a year or so I never used this feature once. I was too busy writing all the necessary boilerplate.
19.
▲
by
batiste
7y ago
I implemented a similar feature in the Blop language, but by simply using a Proxy https://github.com/batiste/blop-language Not sure why they claim proxies are complicated... I found it was a piece of cake to implement
20.
▲
by
batiste
7y ago
So, this is a reverse vaccin?
21.
▲
by
batiste
7y ago
If you do not know Ruby, it is neither easy nor fast. You have to learn a brand new language and Ruby is quite a departure from C-like languages that most people are familiar with. Then you have to learn Rails and its conventions. It is a h
22.
▲
by
batiste
7y ago
For once a fair criticism of Django by someone who seems to know the framework well. I don't quite share the same experience with i18n though. I always found Django statical code analysis to extract translation keys to be superior in m
23.
▲
by
batiste
7y ago
Principally the file organisation that pretty much forces you to stick all your controllers in one single directory. If you want to create a truly modular application (think microservices) RoR defaults seemed to work against you.
24.
▲
by
batiste
7y ago
Did RoR people ever fixed their monolith inducing architecture?
25.
▲
Blop is a Web oriented programming language
(github.com)
1 points
by
batiste
7y ago
|
0 comments
26.
▲
by
batiste
8y ago
I think the best is to have nicely designed modular monolith application. Sadly this something that Rails backwards conventions makes very hard to achieve.
27.
▲
by
batiste
8y ago
> JSX is a simple wrapper around a JS call, it is trivial to mentally convert from JSX to what the real JS is. Then maybe it is an indication is not worth very much. Why not using something like hyperscript instead if it is just some jav
28.
▲
by
batiste
8y ago
My problem with JSX is that if you introduce a DSL, why would you limit it to basic function calls/expressions? I created a small language to demonstrate what I mean https://github.com/batiste/blop-language
29.
▲
by
batiste
8y ago
It works incredibly well even on my Android cellphone... I am surprised.
30.
▲
by
batiste
8y ago
Edit: I answered completely off base. Misunderstood the question. My hunch on the original question: Maybe some system only allow injected JS? Wordpress anyone? Not quite sure. Yes, I learned it not so long ago in fact and I am a bit ashame
More ›