Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ludocode
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
ludocode
5y ago
No, you misunderstand. If the stock and advisory role were given to Netflix as part of the deal, it would have been fine. That's not what happened here. The benefits went to the executive directly. He asked for personal bribes to sign
62.
▲
by
ludocode
5y ago
It is difficult to assume good faith in your comment. Of course the parent has heard of libraries. It is sad to see they are being downvoted because they are quite correct. In any professional project I've ever worked on, the compiler
63.
▲
by
ludocode
5y ago
This is hardly a significant issue. Many projects that have -Werror on by default support a --disable-werror configure flag. Your project can do the same. As for compiler upgrades breaking things, everyone should be on the same compiler ver
64.
▲
by
ludocode
5y ago
I agree with the spirit of this article: -Werror is a very good thing and should be on in any serious codebase. But the rebuttals for the cons are pretty weak. For Con #3, "make I=0" flag is cute, but the final "make" do
65.
▲
by
ludocode
5y ago
I don't understand your complaint. They park RVs and boats in their driveways and yards? Who cares? It's their property. Why do you care what they put on their own property? Who even has time to worry about their neighbor's l
66.
▲
by
ludocode
5y ago
Maybe. Apps wouldn't have to bundle their own versions of libraries if those libraries actually cared about backwards compatibility. Bundling is just an unfortunate workaround for libraries continually breaking their ABI. Windows 10 ca
67.
▲
by
ludocode
5y ago
Almost all very wealthy countries have socialized healthcare including palliative care. For roughly a billion people, palliative care is free.
68.
▲
by
ludocode
5y ago
This doesn't exactly follow the Collatz conjecture because multiplication by 3 will be truncated to a 128-bit unsigned int. It is possible that this truncation causes a loop. Even though the Collatz conjecture has been tested for all n
69.
▲
by
ludocode
5y ago
Even for those non-professional uses it's probably better to put the PDF on a flash drive, walk into Staples and print it on their machines. For anyone who hasn't done it, it's incredibly streamlined. You don't have to t
70.
▲
by
ludocode
5y ago
I don't think he meant losing access to cloud storage. He meant losing the ability to open your files. It makes little difference whether you're storing the files yourself because you can't open them without Photoshop.
71.
▲
by
ludocode
5y ago
We subscribe to a local CSA as well [1]. We chose to pick it up about a ten minute drive away rather than have it delivered. But we collect it in re-usable cloth bags so there's nothing disposable or recyclable. It's just food, an
72.
▲
by
ludocode
5y ago
> But I don't think she has a choice. Some countries recognize a "right to be forgotten". This is a good example of where such laws can help. She doesn't currently have a choice because many Western countries don'
73.
▲
by
ludocode
5y ago
But then your code can't be used by anyone without your preprocessor. There is a lot of value in plain C metaprogramming because it can be compiled with an ordinary C compiler. You can, however, use a script to generate some of the pre
74.
▲
by
ludocode
5y ago
Trunk worked fine for Subversion since it kind of sucked at branching. You generally had to have a reference branch where everything else was understood to be a copy of it. Modern systems like git don't really work this way. I don'
75.
▲
by
ludocode
5y ago
To play devil's advocate here: things are of course better today than they have been for most of human history. But for those of us in prosperous Western countries, they aren't necessarily better than they were, say, 50 years ago.
76.
▲
by
ludocode
5y ago
I remember spending days trying to optimize some photo-scanning code in an app I was building and getting seriously frustrated with it. "This should be instantaneous!" Turns out I forgot / didn't notice I was running it
77.
▲
by
ludocode
5y ago
It's not clear whether you mean it this way or not, but the impression I get from your post is that you're implying millenials are to blame for the downfall of America. It's hard not to take offense to that.
78.
▲
by
ludocode
5y ago
This is what you're looking for: https://github.com/qntm/base2048 It can store 385 bytes per tweet. This link includes a bit more technical explanation of how Twitter counts characters towards the limit. Apparentl
79.
▲
by
ludocode
5y ago
The problem with this is that if your records/documents are small, you're wasting huge amounts of space because each file uses a full filesystem block. If you have, say, ten thousand records where each is 200 bytes, a decent datab
80.
▲
by
ludocode
5y ago
As others have mentioned you have lots of options: LMDB, LevelDB/RocksDB, BerkeleyDB. For what it's worth, I spent a long time looking for an embedded key-value store for my current native project since I didn't need the full
81.
▲
by
ludocode
5y ago
I'm guessing they made the decision to make it evergreen too late in the process so they were still selling it over-the-counter as traditional shrink-wrap software. A Windows 10 license purchased directly from Microsoft lasts "for
82.
▲
by
ludocode
5y ago
This is akin to being afraid of going outside because you might be hit by a car. Yes, innocent pedestrians get hit by cars and well-meaning people get hounded by Twitter mobs. These things are awful and we should strive to eliminate them. B
83.
▲
by
ludocode
5y ago
I have kids that need shoes and limited funds. I have to give them a standard of living comparable to their peers. Of course I don't want to buy products made with questionable labor. No one does. But I don't feel like I have a ch
84.
▲
by
ludocode
5y ago
But why ? Why save on keys when compression will nearly eliminate them for you?
85.
▲
by
ludocode
5y ago
This is the real answer. All of the other answers are suggesting various changes to the JSON structure to eliminate key repetition, but this is irrelevant under compression. Where it becomes relevant is if each record is stored as a separat
86.
▲
by
ludocode
5y ago
> Just decide: would you pay a higher price to not get stuff from slaves, or not? Just you personally. I don't care what Americans think. How could you possibly say, "Yes, I'm okay with lower prices enabled by slavery.&quo
87.
▲
by
ludocode
5y ago
I wasn't suggesting we solve this problem through individual action. I'm not sure how you got that impression from my post. For what it's worth I agree with you: the focus on individual responsibility and personal guilt over
88.
▲
by
ludocode
5y ago
Of course everyone wants the government to do something about climate change. They're not thinking about what they'll have to sacrifice in order to make it happen. Almost no one is willing to suffer even minor inconvenience in f
89.
▲
by
ludocode
5y ago
> Not enough customers demanding their product be made in USA is the very definition of a demand problem. The context was Teslas. The parent comment suggested that Teslas can be manufactured in volume because there is sufficient demand.
90.
▲
by
ludocode
5y ago
> I think the answers “yes”, if the demand is there. It's not a question of demand. A negligible number of customers care where their product is manufactured. They care only about price, which is why manufacturing moved overseas in
More ›