Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hot_gril
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
181.
▲
by
hot_gril
2y ago
I had an iPhone 5 until AT&T completely stopped supporting it. Would buy an SE, but I'm too skeptical of used phones.
182.
▲
by
hot_gril
2y ago
The other phonemakers didn't grumble about the jack because they realized they could pull the same scam
183.
▲
by
hot_gril
2y ago
cmd+f "jack" on Apple's page, got 0 results. Pass.
184.
▲
by
hot_gril
2y ago
There are a lot of hydrogen vehicles on the road already, especially buses.
185.
▲
by
hot_gril
2y ago
Imagine if Tesla copied another automaker's name then created a demo of their car rolling down a hill.
186.
▲
by
hot_gril
2y ago
People also bought Fisker cars again, even knowing that the company produced defective cars before going bankrupt last time (which they did again this time).
187.
▲
by
hot_gril
2y ago
To be honest, I don't like the look of Effect for the same reason I don't like error handling in Golang. It's easier to assume anything can fail (which is 99% correct) and use exceptions. But anyway, every language can be ext
188.
▲
by
hot_gril
2y ago
Swift has Codable which seems to work for this, but I haven't used it in forever.
189.
▲
by
hot_gril
2y ago
That or regular protobuf would be my go-to for this. Capnproto is faster, but idk if there are more limitations as a result.
190.
▲
by
hot_gril
2y ago
I only heard this during one of the brief cryptocurrency crazes when GPUs became very valuable, and it seemed true, seeing how I made a profit selling an RX580 I had bought new years before.
191.
▲
by
hot_gril
2y ago
Do other states not have park rangers?
192.
▲
by
hot_gril
2y ago
(of course Java's pointers-everywhere approach has downsides and is generally slower, but there are scenarios where this works to your advantage)
193.
▲
by
hot_gril
2y ago
It's solid enough that people don't fall back to Docker.
194.
▲
by
hot_gril
2y ago
It can happen in practice. For example, I see a lot of C++ code with extra string copying that would be hard to avoid. Like if some func takes a const vector<string>& and you have a string in any structure besides a vector, you&#x
195.
▲
by
hot_gril
2y ago
The article honestly doesn't make any sense. Even the title is wrong.
196.
▲
by
hot_gril
2y ago
Heck even C can be quicker to write in than Rust if you don't care too much about safety and don't need the nice Rust libs. I've been there.
197.
▲
by
hot_gril
2y ago
Yeah, you don't need/want manual memory management for most CLIs.
198.
▲
by
hot_gril
2y ago
If you really want to waste time on types, the bolted-on TS is never going to work as well as Golang where they're native. Maybe TS types are better than Python types is all.
199.
▲
by
hot_gril
2y ago
In common JS or Py use cases, static typing makes your code less safe, because all that extra time you spend on it is less time writing tests. Meanwhile the types won't catch any bugs even the most simple test coverage would. Sure, JS
200.
▲
by
hot_gril
2y ago
I know about 10 languages by now, and JS is one of the later ones I learned. Nah, it's the best at what it does. And if I drew a graph of every project that's moved from language A to B, it would have cycles.
201.
▲
by
hot_gril
2y ago
Greenthreads were abandoned long ago and aren't present in any mainstream JVM. I don't know about Loom, seems recent (or upcoming?) and specific to OpenJDK.
202.
▲
by
hot_gril
2y ago
Rust is legit for use cases typically served by C, C++, or maybe Java. I get more skeptical when someone's trying to shoehorn it into some other use case.
203.
▲
by
hot_gril
2y ago
Java doesn't do cooperative multitasking (sorta aka greenthreading). That's why there are all these promise/future/whatever frameworks that do it, vs Golang, Rust, and even JS where it's just part of the runtime. Pr
204.
▲
by
hot_gril
2y ago
Well, Rust has a good WASM story, Golang doesn't.
205.
▲
by
hot_gril
2y ago
JS is an old and mainstream thing at this point, though.
206.
▲
by
hot_gril
2y ago
Actually... if it's for a web backend, NodeJS might be faster in practice.
207.
▲
by
hot_gril
2y ago
OpenAPI, protobuf, etc. There are a lot of options that don't even require TS.
208.
▲
by
hot_gril
2y ago
Do religions send you LinkedIn messages?
209.
▲
by
hot_gril
2y ago
I have experience with code maintenance. The only upside of Java is that it's faster than JS or Python. It's otherwise a worse language and ecosystem, and it was even worse before it had lambdas.
210.
▲
by
hot_gril
2y ago
It's still remote. I don't get how you could pass an interview using ChatGPT unless it's purely leetcode.
More ›