Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
codeflo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
661.
▲
by
codeflo
4y ago
I don’t find that very convincing. It’s simply ambiguous, I might want this: *reg &= ~(uint64_t)x; or, and there’s no elegant way to even write this in C, I might want: *reg &=(uint64_t)(uint8_t)~x; The fact that I
662.
▲
by
codeflo
4y ago
I thought I did well until the bit-shifting questions. Who in their right mind designs a language where shifting the bits of a u16 silently converts into an i32? Doubly so since that fact alone directly causes UB — keeping the u16 would hav
663.
▲
by
codeflo
4y ago
Even many founders find it hard to turn around the ship that they built, the forces of institutional inertia work against them as well. I wonder if he simply ignored most of the existing organization and management, and more or less stealth
664.
▲
by
codeflo
4y ago
That might be, and before the iPhone reveal, the vision was supposedly to target Nokia-style button phones. The difference could be that the technical foundation was more sound, and also, Google is institutionally capable of large refactori
665.
▲
by
codeflo
4y ago
Are you talking about individuals or the organization? I’m sure some employees in management “won” financially, there are very few failed companies where that isn’t the case.
666.
▲
by
codeflo
4y ago
> When Netflix made the decision to move from mail-based rental to streaming, they did not allow leaders involved in rental business to any meetings involving the company future planning. I wonder, who was the “they” that successfully ma
667.
▲
by
codeflo
4y ago
I'm the OP. That was exactly my question, great explanation. I've been confused by similar apparent paradoxes before, where I didn't clearly distinguish something being true inside the theory and outside of it.
668.
▲
by
codeflo
4y ago
I'm interested in that as well. On the other hand, all of that can only account for constant factors (in the limit, I can use some extra states to encode a lambda calculus interpreter in my Turing machine). Even for Turing machines, tw
669.
▲
by
codeflo
4y ago
The Busy Beaver function is fascinating. Seemingly so easy to define: Of all possible turing machines with N states that eventually halt, what's the number of steps that the longest-running one takes? It's not "just" tha
670.
▲
by
codeflo
4y ago
Wouldn’t it be reasonable for their backend to only accept (write) requests from whatever the anti-spam proxy is? Otherwise, there’s little point.
671.
▲
by
codeflo
4y ago
> Those messages are considered speech from a Constitutional perspective. I have no reason to doubt that your credentials as a constitutional lawyer are impeccable. > The further a block gets away from the initial block, then the less
672.
▲
by
codeflo
4y ago
As Tony Hoare already wrote in the 80s: “There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obviou
673.
▲
by
codeflo
4y ago
I’ve seen many instances where a low-skill programming place either lives with a bug, or alternatively, adopts a solution that involves meticulously copy&pasting a workaround into 300 places. Having said that, I know great, intelligent
674.
▲
by
codeflo
4y ago
What the actual fuck… I only got two pages down and already found several red flags that I would never accept in any code review. Not the least of which is that when querying an edgeless graph for the shortest path from node A to node Z,
675.
▲
by
codeflo
4y ago
There seems to be a LAMBDA ... } syntax as well that works as an expression. Along with the upper case keywords, I'm convinced this language is meant as a joke, but it's very, very subtle. For example, the "Inspiration"
676.
▲
by
codeflo
4y ago
Yeah, something like that. I don't remember the full steps I took, but it involved pacman-static from the AUR, which is a pacman build that works without a working libc. I think I used the USB boot method you mention, but with pacman-s
677.
▲
by
codeflo
4y ago
> Almost always, it's been surprisingly straightforward to un-screw the few screw-ups I've made. That's been my experience as well. With Arch, everything is exposed. There are usually no wrappers or layers of abstraction o
678.
▲
by
codeflo
4y ago
The keyring issue that other commenters mention has to be the dumbest misfeature ever, because upgrading is guaranteed to fail, yet nobody fixes it. To make things worse, one of the top Google suggestions is a pacman command that can cause
679.
▲
by
codeflo
4y ago
Maybe real life works like D&D after all, where maxing out charisma and a few lucky rolls allow you to convince anyone of anything.
680.
▲
by
codeflo
4y ago
So the entire freighter journey is shown in real time, to show how “crushing” (a word used in the article) capitalism is? Because before capitalism, there were no freight ships, or what?
681.
▲
by
codeflo
4y ago
I’m not sure what gives you the confidence to make absolute statements like this. It might be unlikely, but code golfers, demo sceners and the like regularly do crazy stuff with ridiculously little code.
682.
▲
by
codeflo
4y ago
I don’t want to take anything away from the achievement, because this looks very useful, but the headline misled me a bit. I’m note sure whether it’s my affinity for code golf, but when I see someone bragging about about line count, I don’t
683.
▲
by
codeflo
4y ago
I’m getting increasingly frustrated by the puzzle quality. Puzzle difficulty is determined algorithmically using an Elo system (where essentially puzzles play against players). That sounds great in theory. The problem is that there’s no pen
684.
▲
by
codeflo
4y ago
You’re reading someone’s summary of Huxley’s synopsis. I think it’s safe to assume that the full screenplay would have given more context.
685.
▲
by
codeflo
4y ago
>> ASCII: it’s okay to only support ASCII for the whitespace handling and lowercase operation That's a somewhat specific list -- at least I didn't read that as a general "the program can assume that the input is only AS
686.
▲
by
codeflo
4y ago
Very nice. That’s in fact really clean, and (at least to me) indeed surprising. As rejection reasons go, “I wanted to name-drop person X” is interesting. But as you said, that’s the maintainer’s decision to make.
687.
▲
by
codeflo
4y ago
For those curious about Rust optimization, the “optimized” version makes three changes compared to the “idiomatic” version: * It uses byte strings instead of UTF-8 strings. In my opinion, that’s not an optimization, that’s changing the prob
688.
▲
by
codeflo
4y ago
That’s my favorite way to think about this as well, but it’s very geometric and maybe not so intuitive to explain in a video that targets a non-mathematical audience. That physicists aren’t aware of this interpretation might be a bit of a s
689.
▲
by
codeflo
4y ago
The sceptic arguments I read focus on accidental decoherence during the computation. If that goes well, and classical computers only "catch up" during measurement, wouldn't this mean that the time cost of measurement has to s
690.
▲
by
codeflo
4y ago
So there seem to be three separate issues with the concept of "species" as used in (pop?) biology, speaking as a non-biologist CS type of person: * The "interbreeds with" relation isn't transitive: population A may
More ›