Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
simonask
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
91.
▲
by
simonask
3mo ago
Where I am, I was taught that activating the turn signals means "I have made a decision to change lanes", so the appropriate reaction from surrounding traffic is to either safely accommodate that choice, or indicate using the horn
92.
▲
by
simonask
4mo ago
From outside the US, nothing about him has really been predictable, except that he consistently lies about everything. The only predictable thing about this American presidency is the total chaos that has been inflicted on the world by mill
93.
▲
by
simonask
4mo ago
The US is a statistical outlier in almost every single metric. Almost nothing about the US generalizes, not to the world as a whole, and not to other Western countries. Certainly not to functioning liberal democracies.
94.
▲
by
simonask
4mo ago
The important thing is that Rust editions affect semantics and name resolution. In such an analogy, JVM bytecode is the equivalent of Rust code - various semantics are baked in, but stuff like name resolution isn't (at least not comple
95.
▲
by
simonask
4mo ago
The reason is invalid.
96.
▲
by
simonask
4mo ago
As far as I understand, this is purely a result of lack of maintainer resources. Apparently, nobody has been bothered enough by this to contribute the relevant changes. Keep in mind that all of rustc and libs development takes place on Gith
97.
▲
by
simonask
4mo ago
This works for a while. Then you - the programmer - grow up. Wise customers know this.
98.
▲
by
simonask
4mo ago
Your story here also illustrates why GUI over the network used to be a much more important use case than it currently is. These days it’s unbelievably niche, as opposed to more controlled screen sharing scenarios. I think it’s understandabl
99.
▲
by
simonask
4mo ago
Just to let you know, 1000 messages per second over a UNIX socket between two processes is very much well within the capabilities of any recent machine running, say, Linux. That’s not many at all.
100.
▲
by
simonask
4mo ago
FWIW, they have been unfashionable for much longer than Wayland has been usable, on all platforms. And that’s understandable. It’s not actually good usability.
101.
▲
by
simonask
4mo ago
On general principle, I think 22 years of inactivity is perfectly reasonable for considering any software project perfectly dead.
102.
▲
by
simonask
4mo ago
I don’t think anybody said that Arabic has suffered a complete standstill, and it has doubtlessly evolved significantly. But if you compare it with basically any other major language, it’s clearly much, much more conservative. If you are a
103.
▲
by
simonask
4mo ago
> You can already see that one of the biggest problems in Western Europe is that the liberal establishment itself refuse to hold non-westerners to account to western laws because they feel that it would be unfair to enforce one people&#x
104.
▲
by
simonask
4mo ago
> This is an entirely modern idea and really has nothing to do with the concept. It's Voltaire (1694-1778). Depending how you count, The Enlightenment is or isn't part of modernity. Did you think democracy was not a modern id
105.
▲
by
simonask
4mo ago
Their methodology is freely available, you can easily find the answers to those questions.
106.
▲
by
simonask
4mo ago
It’s not perfect, but it’s definitely better than this lazy dismissal.
107.
▲
by
simonask
4mo ago
This betrays a simplistic understanding of democracy. In short, its meaning cannot be derived from decomposing its etymology, and your take here is ... certainly unique. Democracy is not just voting. Actual full democracy is predicated on a
108.
▲
by
simonask
4mo ago
No. The average Democracy Index of Western Europe is 8.05 (full democracy), while the US scores 7.65 (flawed democracy, trending downwards). Just below Poland, just above Botswana. You might shrug and say "well pobody's nerfect&qu
109.
▲
by
simonask
4mo ago
I don't think it's helpful to be flippant in this analysis. The US falls in the category of flawed democracies, together with Botswana, Indonesia, India, Mongolia, Philippines, Albania, Bulgaria, Romania, and many other countries
110.
▲
by
simonask
4mo ago
I mean, cool, but I’d rather not?
111.
▲
by
simonask
4mo ago
For the record, the mathematically correct answer to this question is that the year 2000 was the last year of the 19th century. The reason is that year 0 never existed. The year 1 BCE was followed by the year 1 CE. Culturally, anthropologic
112.
▲
by
simonask
4mo ago
Rust errors are not exceptions. Catching exceptions is unbelievably expensive in all languages that support them, compared to handling a Rust error value. Some languages have exceptions as the only error handling mechanism (C#, Java, script
113.
▲
by
simonask
4mo ago
Is it Iceland? Ivory Coast? Ireland? Indonesia?
114.
▲
by
simonask
4mo ago
I mean, sure, dead code elimination applies to all optimized code. The important thing to understand is that panicking in Rust does not get magic treatment by the Rust compiler. It’s just a function that is declared in the type system to ne
115.
▲
by
simonask
4mo ago
I don’t really see how declaring an unsafe block is materially different for the purposes of this discussion than, e.g., entering an async runtime. It is code you need to write, tradeoffs you need to weigh, invariants you need to keep.
116.
▲
by
simonask
4mo ago
Sure, but now you're actually moving the goal posts. We're talking about the practicalities - you can always achieve the same by doing more work, but it makes a difference that Rust gives you `HashMap` in the standard library that
117.
▲
by
simonask
4mo ago
Panics in Rust do not currently time-travel like that (including panics from failed bounds checks), and that's a good thing. The reason is that panicking does not imply terminating the process - they can be caught and handled, just lik
118.
▲
by
simonask
4mo ago
LTO cannot change the layout of structs. For something like a hash map implementation, it matters whether inner nodes store a pointer to the key and value, or whether it stores a pointer to each. To achieve this in C, you have no other opti
119.
▲
by
simonask
4mo ago
That's because the types of errors where you want a stack trace are a relatively small subset of all possible errors. Stack traces are only useful for errors that indicate a bug in the program, i.e. something a programmers has to respo
120.
▲
by
simonask
4mo ago
It will be literal decades before RISC-V becomes mainstream. Not because it’s not a perfectly fine ISA, but because business incentive structures aren’t nowhere near supporting it. Literal man-millennia have been poured into writing softwar
More ›