Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adwn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
331.
▲
by
adwn
4y ago
> Also, public transit would do the same. Does public transit pick me up at my front door and drop me off at any location I choose? Does public transit take of the minute I leave the house? Is public transit available 24/7, even i
332.
▲
by
adwn
4y ago
Yes and no. The (very simplified) answer is that yes, some ISA (front-end) instructions are decoded into simpler back-end operations, but the design of the ISA still imposes constraints on the implementation of that decoder [1] and on the
333.
▲
by
adwn
4y ago
> This is plain false. Please find reputable sources. Do you have reputable sources for that statement being "plain false"?
334.
▲
by
adwn
4y ago
That's why Picard orders "tea, Earl Grey, hot ". The " cold " option is still on the roadmap.
335.
▲
by
adwn
4y ago
Fixed again. I'm starting to run out of excuses... ;-)
336.
▲
by
adwn
4y ago
You're right – fixed. That's what I get from writing code in a simple text area.
337.
▲
by
adwn
4y ago
Both are rather ugly. This is much more idiomatic: match (x, y) { (Some(x), Some(y)) => Some(x + y), _ => None, }
338.
▲
by
adwn
4y ago
An 8x8 bit multiplication only requires 7 additions, either in parallel or sequentially. Remember long-form multiplication? [1] It's the same principle. Of course, high-speed digital multiplication circuits use a much more optimized, m
339.
▲
by
adwn
4y ago
Only for reasonably small stacks. Insertions at random indices won't stay O(1) when you're dealing with 100k pages and more – i.e., when you can't pick them up in one movement.
340.
▲
by
adwn
4y ago
Can a train pick me up directly at my home, and drop me off at pretty much any destination, with more luggage than I can carry at once, at any time of the day, at the exact moment I want to leave? No? Then trains are an alternative to sel
341.
▲
by
adwn
4y ago
I always wonder: If the proc macros were executed JIT-like with the Cranelift backend instead of compiling them with the LLVM backend, wouldn't that drastically reduce build times of proc-macro-using code? The Rust compiler spends most
342.
▲
by
adwn
4y ago
> [...] the universe, including Earth, does not care or need to care about humanity in order to keep on existing. This objection is technically correct, but misses the point completely. It's irrelevant whether "the universe&q
343.
▲
by
adwn
4y ago
It's only one part of your argument, but: > Waterfalls? With what gravity? Mars has gravity, and any serious space habitat would have a rotating section to simulate gravity.
344.
▲
by
adwn
4y ago
So now you're arguing that Rust won't help because it doesn't fix the deficiencies of other languages? So what? At least you'll have fewer defects in those parts that do use Rust.
345.
▲
by
adwn
4y ago
> Not in the age of microservices. There's a huge world outside of microservices. > Language constructs only help if there are no other applications accessing the same resources. You're mistaken. Rust's language c
346.
▲
by
adwn
4y ago
> Rust threading is only safe between threads accessing data structures in process own memory. "Only". Intra-process shared memory is by far the most important kind of shared memory. 80% of the time you see someone advocating
347.
▲
by
adwn
4y ago
Not sure if you're serious, or if this is some attempt at satire? If it's the former: Okay, it's great that you don't feel the temptation to spy on your users, but even the most basic understanding of human nature should
348.
▲
by
adwn
4y ago
I suspect it's sarcasm: > PayPal had an automatic github-algorithm [...] before they managed to coup him as CEO Musk stepped down as CEO of PayPal in 2000, predating not just Github, but git itself by 5 years.
349.
▲
by
adwn
4y ago
> why does JavaScript need a false and an empty array and a null and even an undefined?) Why does Lisp need a 0 and a nil? Because numbers are conceptually different from lists, and the number 0 is conceptually different from no number
350.
▲
by
adwn
4y ago
Yes, but are modifications in one view immediately reflected in the other view, without having to save the file?
351.
▲
by
adwn
4y ago
I agree with what you're saying. My point wasn't that we should have more empathy with bullying billionaires (although I can see how someone might read my post this way), but that even rich people sometimes have real problems that
352.
▲
by
adwn
4y ago
The first and last time I tried Sublime Text, it turned out to be impossible to properly have a file open in two editors (or tabs or whatever Sublime's term is): any changes made in one editor were only synchronized to the other editor
353.
▲
by
adwn
4y ago
Therapy is not like an Ibuprofen that you can pop in and your headache disappears after half an hour. And "relinquishing their wealth" wouldn't automatically make them feel less sad, less empty, or less unloved. Rich people d
354.
▲
by
adwn
4y ago
Well said. On social media, you can often witness the sentiment "They're rich, therefore their emotional problems must be fake". Well, money solves many problems, but it also creates some new problems, and it can't fix s
355.
▲
by
adwn
4y ago
> Elon is definitely a victim of capitalism and patriarchy to some degree, as are other billionaire. I'm curious to know why you're bringing the concept of "patriarchy" into this discussion? Do you think Musk's
356.
▲
by
adwn
4y ago
Because "the system" might have made a mistake. And even if the shadowban was warranted at some time, the poster might have improved their conduct in the meantime and should be given another chance. Usually, when I see a reasonabl
357.
▲
by
adwn
4y ago
Really unsettling to think that just 4 days ago, right before his death, he was still posting here on HN. [1] [1] https://news.ycombinator.com/threads?id=chrisseaton
358.
▲
by
adwn
4y ago
To explain: The rcr instruction performs a right rotation and shifts the CF (carry flag) bit into the most significant position. Together with the preceding add instruction, this effectively provides an n+1 bit operation on n-bit regist
359.
▲
by
adwn
4y ago
That doesn't work when both are odd. For example, for x=1 and y=3 this gives 1 instead of 2.
360.
▲
by
adwn
4y ago
> But good luck even reading the first few pages if you don't know the basics yet. I disagree. Page 1 section 1.2: Voltage, current, and resistance . Section 1.2.2: Relationship between voltage and current: resistors . Section 1
More ›