Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
c-cube
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
181.
▲
by
c-cube
4y ago
The syntax `name: Type` is also friendlier to type inference as you generally have a token indicating a declaration. If you have `var x: Type = …` then you can just omit the type and let inference do its job. Even better, when you start hav
182.
▲
by
c-cube
4y ago
Would multiple-cursors editing be an apt comparison? :-)
183.
▲
by
c-cube
4y ago
This is old advice :-). Use the LSP server and dune and the error displays instantly, no further setup required.
184.
▲
by
c-cube
4y ago
You say that like it's technically easy to transfer assets between games that might use differentl engines. It's not like a database entry. Also it's bad for players, as the visual identity of the game would be destroyed by i
185.
▲
Overture.js – Fastmail's front end library
(overturejs.com)
3 points
by
c-cube
4y ago
|
0 comments
186.
▲
by
c-cube
4y ago
I don't have anything to say about Bazel, but the bit about gRPC assumes that the alternatives are as bad. The closest alternative is Thrift. It's not as popular, alas, but its design is a lot better : you get to combine various
187.
▲
by
c-cube
4y ago
Hare is not rust adjacent, sorry. It can't even represent the (small) stdlib of rust since it lacks generics, RAII... Not to mention the memory safety. It belongs in a different class of languages.
188.
▲
by
c-cube
4y ago
have you considered that, perhaps, the average person has seen and driven many more cars (an everyday tool to billions of people) than warships? For what it's worth, even OP is annoyed at _journalists_ confusing tanks and similar armor
189.
▲
by
c-cube
4y ago
Obama has not been in power in more than four years. If you want to blame someone, look towards those who refuse to vaccinate, die in the hospital after accruing huge medical bills that they don't pay.
190.
▲
PikaPods – Instant Open Source App Hosting
(pikapods.com)
2 points
by
c-cube
5y ago
|
1 comments
191.
▲
by
c-cube
5y ago
That is not obvious at all if you're used to the 24h system. If you don't remember which one is 12am, then you don't know if 12h01am is at night or mid day.
192.
▲
by
c-cube
5y ago
Have you heard of the Spanish flu? It made a little bit of a splash a century ago...
193.
▲
by
c-cube
5y ago
Have you considered that maybe, out of these 30$, only 5 might go to the driver? Sometimes even the tip is pocketed by the company — forgot if it was doordash which was found to do that a little while ago, and some people on HN were defendi
194.
▲
by
c-cube
5y ago
It's used at least as the foundation of the LSP protocol. So basically, it's deployed daily in millions of editors.
195.
▲
by
c-cube
5y ago
It'd be great if it were less opaque, yes. SMT is a young field (early oughts) with a lot of extremely complicated algorithms jamed together, and there's not a lot of explanations beyond scientific papers. Even then, lots of topic
196.
▲
by
c-cube
5y ago
Cvc5 will likely be better if you use strings a lot, or other exotic theories.
197.
▲
How the tin can nearly wasn't (2013)
(bbc.com)
26 points
by
c-cube
5y ago
|
1 comments
198.
▲
by
c-cube
5y ago
So, banning cars in cities, where they might encounter bikes, children, pets, etc.? Sounds perfect
199.
▲
by
c-cube
5y ago
Google single-handledly solved the problem of how to send legitimate emails from other providers into the spam box. In effect, non gmail emails are second class.
200.
▲
by
c-cube
5y ago
C++ supports multiple inheritance though. And it still does it with (multiple) vtables. Did you mean single dispatch?
201.
▲
by
c-cube
5y ago
I agree on principle. But in practice it'd have led to a massive shortage and more dead nurses / doctors. Panic buying is a terrible thing.
202.
▲
by
c-cube
5y ago
Your bias shows heavily. Where's the double blind trial for covid effects and death rate (which seems to be more around 1%), not to ignore the very present long term effects that affect more people? Why put such a high level of doubt o
203.
▲
by
c-cube
5y ago
Ok then, why is it bad to prioritize healthcare workers, who put their lives on the line in the face of a new unknown disease? That was only for a very short while. I think the behavior of people rushing to buy toilet paper shows that, inde
204.
▲
by
c-cube
5y ago
I know this is a webdev project anyway, but I imagine embedding code would mean, in practice, embedding Javascript. Then the whole thing becomes 100% tied to the web and to modern browsers, which is a shame. Such blocks could be used from n
205.
▲
by
c-cube
5y ago
That's just too funny: "ethereum has no policies". It had a superb bail out of the initial DAO in 2016, which was deemed too big too fail, and lead to a fork of the chain. So let's not pretend blockchains are neutral imm
206.
▲
by
c-cube
5y ago
What if a is nan? You don't have that nan == nan...
207.
▲
by
c-cube
5y ago
That's not "simple". Rust also does neither of those two tasks with just the stdlib! - latin1 is dead and should be in no stdlib in 2022 - uppercasing requires the current Unicode tables, so, a largish moving target that you
208.
▲
by
c-cube
5y ago
It's not very natural in langages with strict evaluation. Haskell is a good fit because, with lazyness, the order matters less. Same thing goes with purity : what if some side effects hide in "where"?
209.
▲
by
c-cube
5y ago
The untyped languages rose in popularity in the 2000s and got as mainstream as it gets. But static typing is having a comeback in the past 5-10 years, with go, rust, kotlin, and of course typescript. Almost every dynamic language is getting
210.
▲
by
c-cube
5y ago
Right, it's only been 10 years after all!
More ›