Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vore
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
241.
▲
by
vore
3y ago
[flagged]
242.
▲
by
vore
3y ago
How are you going to do any kind of business with Chinese companies without speaking Chinese? Even if you use an interpreter, clearly someone in the loop is speaking Chinese.
243.
▲
by
vore
3y ago
The more you know, thanks! Good thing I didn’t pick a career as a rocket scientist!
244.
▲
by
vore
3y ago
How would you get it there? Besides, if you were confident enough to not accidentally make a dirty bomb, you might as well just send it into the sun instead!
245.
▲
by
vore
3y ago
Isn’t this just a case of right tool for the right problem? If you were writing, say, an IntelliJ plugin I think you would much rather prefer Java over Clara rules, and not a subjective opinion of profoundness. Also, having asked about Hask
246.
▲
by
vore
3y ago
Not in the original C, where you had to declare function parameter types like so: int foo(x) int x; { return x; } and not in C23 (or GNU C) either, where this is legal (this example is not super useful): int foo(int
247.
▲
by
vore
3y ago
> Unfortunately many people are chasing the Holy Grail of "functional programming" and never finding it because "functional programming" is a pale shadow of what's possible when you understand how compilers work:
248.
▲
by
vore
3y ago
I think, at that point, you should rather make Wherr be `struct Wherr<E> { inner: E, ... }` to avoid having to do a dynamic cast - I don't personally like the idea of erasing guarantees of what types you're getting.
249.
▲
by
vore
3y ago
Consider this: #[derive(Debug)] enum MyError { A, B, C } impl std::fmt::Display for MyError { fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { write!(f, "{:?}"
250.
▲
by
vore
3y ago
It is a huge factor: you can't pattern match the original error anymore because its type is erased. You can no longer distinguish between different variants of an error enum, so you have to handle any kind of error the same way, which
251.
▲
by
vore
3y ago
This boxes all errors and erases the return type at compile time.
252.
▲
by
vore
3y ago
No, it’s partial application. Currying is when a 1-arity function either returns another 1-arity function or the result.
253.
▲
by
vore
3y ago
I don’t think you can do that with a generator expression. You would have to write: sum(1 for age in ages if age > 17)
254.
▲
by
vore
3y ago
As they say, when America sneezes, the world catches a cold.
255.
▲
by
vore
3y ago
Not to nitpick but this is NOT the right takeaway from P vs NP.
256.
▲
by
vore
3y ago
Desktop GPUs are borrowing ideas from mobile GPU designs though - most modern desktop GPUs have tiling support (kind of) just like mobile GPUs: https://www.realworldtech.com/tile-based-rasterization-nvidi... Even though it&
257.
▲
by
vore
3y ago
I know Hacker News guidelines say you're not supposed to ask if someone's read the article but... did you even read the article? What part of the article is not about C++ and macOS?
258.
▲
by
vore
3y ago
Pros: maybe subjectively feels better for some people? Cons: extremely painful amounts of churn for everyone
259.
▲
by
vore
3y ago
It's a matter of priority - you can get by fine without using keigo, and instead of learning all the weird intricacies of keigo you could go learn something more practical for day-to-day use first (even native Japanese speakers complai
260.
▲
by
vore
3y ago
The problem with Python is of course that it is an interpreted language with lazy evaluation […] Huh?
261.
▲
by
vore
3y ago
The example is… not the best: if you’re checking if two pages are identical, you should match up each byte and compare them byte for byte. Hashing just adds an extra step: you’re going to need to read every byte anyway!
262.
▲
by
vore
3y ago
Sure, but imagine how unwelcoming to everyone it would be if you didn't get a stack trace.
263.
▲
by
vore
3y ago
Management Information Systems, I think.
264.
▲
by
vore
3y ago
When did Taleb talk about in depth techniques to optimize indexing in Postgres?
265.
▲
by
vore
3y ago
There are also countries where beating your wife is perfectly legal. I don’t think you should use legality to determine if something is a problem or not.
266.
▲
by
vore
3y ago
I’m rebutting the parent post that claims countries other than the US somehow have a better solution to landfilling for non-recyclable waste. Of course solving the root cause is the right thing to do, no argument from me!
267.
▲
by
vore
3y ago
Is incineration really that much better? You’re trading off one kind of pollution for another: toxic emissions and toxic byproducts that still have to be disposed of in some way… One way or another, countries have to deal with non-recyclabl
268.
▲
by
vore
3y ago
For one, artists and photographers use Instagram to promote their work. The viral nature of social media makes it a lot easier for posts to get traction compared to, say, having to go through making your own portfolio site and then having t
269.
▲
by
vore
3y ago
I didn't say European attitudes were responsible for workers' rights in the US being bad: that would be a hell of a cause. It's just extremely tiring when Europeans come in to flex their workers' rights super smugly like
270.
▲
by
vore
3y ago
It makes no sense to put the blame on individuals like this. I am no fan of the lack of workers' rights in the US, but the holier-than-thou European smugness is really not appreciated, given how little recourse people have in the Ameri
More ›