Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ajuc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
181.
▲
by
ajuc
1y ago
Having 0-1000 fit inside a byte would be great. 1 byte for tonnes, 1 for kg, 1 for g, 1 for mg. Same with meters, liters, etc. Would work great with metric. Or addressing 1 TB of memory with 4 bytes, and each byte is the next unit: 1st byte
182.
▲
by
ajuc
1y ago
5 bit nibbles could just be Baudot Code (A-Z + some control characters).
183.
▲
by
ajuc
1y ago
10 bit is even better according to all these criteria AND it fits 0-1000 into one byte which meshes really well with metric system (0 to 1 km in meters, 0 to 1 liter in ml, etc.) You could even do binary-encoded-metric-numbers that you can
184.
▲
by
ajuc
1y ago
> static binaries will never stop working Yeah, if you compile all the dependencies and dependencies of dependencies and so on statically. Which is a fun experience I've tried several times (have fun trying to statically compile gfx
185.
▲
by
ajuc
1y ago
Dunno I just never used Apple. It's not very popular over here.
186.
▲
by
ajuc
1y ago
I also noticed this part of the article but for the oposite reason (I think 10-20 years is overly optimistic). I've written a small 2d game for Linux back in 00s. Using C++, SDL and a few other libraries (for example now-abandoned libp
187.
▲
by
ajuc
1y ago
It's optimizing the part that is easy at the cost of the part that is hard.
188.
▲
by
ajuc
1y ago
It sucks that instead of fixing the spelling you add workaround everywhere else.
189.
▲
by
ajuc
1y ago
Companies aren't people (despite lots of people pretending they are).
190.
▲
by
ajuc
1y ago
Fun fact - cargo, npm and other package managers for programming languages were inspired by java maven. Java is still using maven architecture (even if you use gradle to interact with them). I'd argue Java was the first language to get
191.
▲
by
ajuc
1y ago
You can compile java aot into binary executable native to your platform. There's many options to do it. You can do it with a fatjar so that all the dependencies are there. You have all the dependencies clearly stated and versioned (and
192.
▲
by
ajuc
1y ago
> Then I can’t help but think: if the author of the article didn’t even understand this, how can the rest of the article be correct if it started from a biased and almost false premise? Same way Galileo could be correct about Earth circl
193.
▲
by
ajuc
1y ago
Intelligence is just computing power. If you have false beliefs as the basis for your computation you just get wrong results faster. What people mean by intelligent person is often someone who: - has more computing power - spends their ti
194.
▲
by
ajuc
1y ago
Understandable. UNESCO is big on protecting children from people like Trump.
195.
▲
by
ajuc
1y ago
Top 3 worst name ever (along with "toxic masculinity" and "oxygen").
196.
▲
by
ajuc
1y ago
And then you add 4th note and you break the accidental 3-note symmetries :)
197.
▲
by
ajuc
1y ago
C maj, F maj are the same, but C maj7 and Fmaj7 are not. Ultimately you have to remember which chords are the same and which aren't - which is about the same amount of information as just remembering all the combinations. It's jus
198.
▲
by
ajuc
1y ago
Guitar still has the problem of last 2 strings being shifted 1 semitone down for ergonomics reasons, which makes them irregular. But yeah, it's better than piano keyboard.
199.
▲
by
ajuc
1y ago
Criticizing chess for lacking elegance compared to for example go is very valid (and a good analogy here).
200.
▲
by
ajuc
1y ago
There would be 2 shapes instead of 12. And the C shape would be vertically flipped C# shape.
201.
▲
by
ajuc
1y ago
Make a dimple on every C key and paint it red.
202.
▲
by
ajuc
1y ago
I never understood why the piano keyboard isn't regular. It forces players to remember different positions for the same chord transposed to start at different notes. Like why do I have to remember the shape for C major and D major chor
203.
▲
by
ajuc
1y ago
That's an artificial division. Many of us computer science graduates were selft-taught developers before we went to university :)
204.
▲
by
ajuc
1y ago
You do need pavements tho, especially if the road has many lanes and people going 90 km/h.
205.
▲
by
ajuc
1y ago
There's 3 smaller daughter-libraries in nearby villages. I'd say 20 minutes walk to the nearest library for everybody in the whole gmina is realistic. Less if you include school libraries (but they suck). I had no idea how many bo
206.
▲
by
ajuc
1y ago
IMO the most important metric is "what percentage of kids can walk to a library without asking anybody". But nowadays people have internet, so I guess it's not THAT important anymore. The ideal library is just a website that
207.
▲
by
ajuc
1y ago
"Gmina" is correct. It's the lowest administrative unit in Poland. There's a few other words with "gm", like "gmerać" (to fiddle with sth), "gmin" (plebs, common people - same root word as g
208.
▲
by
ajuc
1y ago
> 17,000 libraries It doesn't seem like "A lot" for a country the size of US TBH. Poland has 7541 public libraries. Which is 1 per 41 km^2, but of course big cities have many libraries, so the actual distance is larger in
209.
▲
by
ajuc
1y ago
I wonder how many public libraries are there in US. In Poland every gmina (which is like a collection of a few villages - around 10k people and 10x10 km) have a public library. It's how I learned to love reading books - there was no in
210.
▲
by
ajuc
1y ago
> This seems a bit of a stretch of a claim to make. In what ways would you say that Russia is a decade behind? Every country had it's own facebook. The difference was not features but scale. Russia scales to million of users. Facebo
More ›