Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gnulinux
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
451.
▲
by
gnulinux
4y ago
You're not understanding. These are not strings. These are symbols. Say in python you write `a = b`. Are "a" and "b" strings? No. In these examples what you're referring to as strings are just meant to be sym
452.
▲
by
gnulinux
4y ago
For anything? Say you build your own language, but don't want to write a parser for it (people who write tons of prog langs know that syntax is the most boring part (for some, I'm sure some people love it)) so you can borrow this,
453.
▲
by
gnulinux
4y ago
I'm not sure if this question is off-topic and if so I'm sorry, but I was really curious so I couldn't help but ask. I observe that articles about Franz Kafka end up in HN front page relatively frequently. Personally, I'
454.
▲
by
gnulinux
4y ago
This is true. I make $150k a year and Boston area rent prices + cost-of-living makes me live close to paycheck-to-paycheck. (I'm not there, but I can save very little even though I try to live frugally, prices are insane!). I simply ca
455.
▲
by
gnulinux
4y ago
So what am I supposed to do, can you give a prescriptive description of how to keep up with news? This is likely the most interesting era when it comes to geopolitics after 1930s, am I seriously supposed to ignore news because it increases
456.
▲
by
gnulinux
4y ago
By this criticism, are we to understand that you're against all fines collected by the government? Everything from parking tickets to penalties paid for crimes, misdemeanors, felonies by citizens etc? If that's the case, that seem
457.
▲
by
gnulinux
4y ago
For the next 500 years though? I suppose (as a crypto layman) it'll be fine, but given we don't know what will be broken within the next 500 years, isn't it natural to add redundancy and use multiple hash algorithms?
458.
▲
by
gnulinux
4y ago
Have you ever written software before Unicode? We had N different encodings for each language, each culture, each country. There were all kinds of bugs creeping up, and software that works perfectly well could be buggy for one random langua
459.
▲
by
gnulinux
4y ago
Well, it's not because they have different opinions. It's because to me it feels like one of the greatest things life can offer. Just like most people would consider intimacy with a partner, having children, finding a satisfying c
460.
▲
by
gnulinux
4y ago
> Cats are amazing creatures. This is it. It makes me so sad seeing online people claiming cats are vengeful, aggressive, selfish animals. Cats have a huge variety of personality and so, yes, some of them are vengeful, aggressive and&#
461.
▲
by
gnulinux
4y ago
He was pressured not to marry Wallis Simpson. If he married her it would have been a constitutional crisis, so in order to prevent that controversy, he abdicated and married Wallis Simpson. He could have chosen to be the king and not marr
462.
▲
by
gnulinux
4y ago
This is simply semantics. She was clearly given tons of property, real estate, airplanes, vehicles and means to access goods&services only because she was the queen; including the very estate she passed away in: Balmoral Castle. She was
463.
▲
by
gnulinux
4y ago
> Yes, she could have abdicated If you can quit a job but you choose not to do so, in what sense did you not "sign up for it"? Her own uncle Edward VIII abdicated so he can marry Wallis Simpson without controversy. This has not
464.
▲
by
gnulinux
4y ago
What do you mean? Edward VIII abdicated in order to marry Wallis Simpson. Not to mention countless other people born into royal families not only in European kingdoms, but also kingdoms throughout the world. Yes they were (in varying degree
465.
▲
by
gnulinux
4y ago
Ok I'm sorry if this is considered "monarch bashing", I don't see how that's the case. I just pointed out that she did this voluntarily (as evidenced by countless other people who were born into royal families and c
466.
▲
by
gnulinux
4y ago
> People like to make out her life was easy and that it's not fair that she inherited such a privileged position, but I think the exact opposite. Her life seemed like living hell to me. Every day for the last 70 years she's had
467.
▲
by
gnulinux
4y ago
I do not consider myself a slacker, in fact I consider myself a miracle worker in terms of the output I generate (in terms of code, business organization, end product, $$$ generated in the long term); but I do not "work" even a fr
468.
▲
by
gnulinux
4y ago
There is a difference between knowing that something is caused by climate change, and knowing that something is strongly correlated with climate change. There is no doubt that if we let CO2 emissions continue, extreme weather events like OP
469.
▲
by
gnulinux
4y ago
This is inaccurate, and I think some comments replying to you are incomplete. "Climate change" changes the probability distribution of weather events, in particular it changes the range (i.e. extremes) as well. So, extreme events
470.
▲
by
gnulinux
4y ago
Is it not true that the shape of the waveform (sinusoidal, saw-like etc) is created by the relative weights of each harmonic? E.g. if you take any random sound wave, Fourier-transform it, you'll find the weight of each harmonic. Or are
471.
▲
by
gnulinux
4y ago
This may or may not be true. In fact, it seems unlikely to me your claim is true. In nature, sounds produce harmonics i.e. when two objects collide they usually create waves of frequency f, 2f, 3f, 4f... in various (usually exponentially de
472.
▲
by
gnulinux
4y ago
Not a musician, but as a hobbyist composer and music theory enthusiast, I think anything more than 24-TET is overkill in terms of daily practice. I don't think there is sufficient expression to adding anything more than quartertone to
473.
▲
by
gnulinux
4y ago
It's worth mentioning that stacking fifths this way creates something pretty close to an octave, but it's still noticeably different from an octave. The difference between an octave and 12 fifths is called "Pythagorean comma&
474.
▲
by
gnulinux
4y ago
As some other commenter calculated Stockfish wins in about ~>98% of the cases. The other ~<2% of the cases aren't Magnus winning, rather them drawing. I think no GM is known to beat a modern competitive AI in chess, however there
475.
▲
by
gnulinux
4y ago
> their relative position to others is a new record. This doesn't seem necessarily true to me. If Magnus was in his prime in say 1980s it's not clear if he could ever get so close to 2900 since every other super-GM had lower EL
476.
▲
by
gnulinux
4y ago
By your logic, an octave/unison would be "seventh"/"zeroth"? (Note that "octave" literally means "eighth" in Latin.) I would think that could work too but the established terminology is not
477.
▲
by
gnulinux
4y ago
You do understand that besides thirds, fifths and sevenths, there really are seconds, fourths, sixths, ninths (same as second), elevenths (same as fourth) etc... as well, right? There even are intervals that are not named after a number e.g
478.
▲
by
gnulinux
4y ago
Haskell is a ML-like, there is no direct genealogical relationship between Haskell and any of the lisps other than what was between ML and purely functional lisps (i.e. Scheme-likes).
479.
▲
by
gnulinux
4y ago
I'm not trying to sell anything. I'm reporting you an anecdote that I'm a practicing software engineer, I've been professionally writing code for almost a decade and I do use TDD when I write code. I don't care if y
480.
▲
by
gnulinux
4y ago
I don't do Windows work, I don't do UI/UX and I do not religiously follow TDD. TDD is a tool, just like other tools I know when it applies to a scenario and when it applies I know what it's helping me with.
More ›