Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chubot
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
65 ms
·
781.
▲
by
chubot
3y ago
Well what I'm saying if you have 2 different web pages, with 2 different declared encodings Then a decent library design would let you process those in different threads in the same program A global variable like LANG= inhibits that S
782.
▲
by
chubot
3y ago
Thanks, yeah that's basically what I thought, but it's nice to know it was the same year! If only UTF-8 had been invented a little earlier, we could have avoided so much pain :-( The idea of global varables like LANG= and LC_TYPE=
783.
▲
by
chubot
3y ago
Exactly, we obviously drive with more than our eyes. Any undergrad psychology class should given you a hint about that This reminds me of all the conversations about AI And LLMs now - people are making false comparisons because they don’t
784.
▲
by
chubot
3y ago
Mainly because Windows adopted UCS-2 and the hacky extension UTF-16 around when the superior and ASCII-compatible UTF-8 was invented And Java and JavaScript followed Windows, and Python is constrained by it The surrogate pairs of UTF-16 eve
785.
▲
by
chubot
3y ago
an edit mangled the comment, and it's too late to fix: "he was upset that I wasn't upset" goes one paragraph later
786.
▲
by
chubot
3y ago
There were 7 parts, and the last one actually addresses exactly the issue we're talking about: https://aiascendant.substack.com/p/extropias-children-chapte... (and I still recommend all 7 parts) It's hard for
787.
▲
by
chubot
3y ago
Yes, and specifically Yudkowsky, Bostrom, and MacAskill are “providing cover” for AI owners by prattling on about AI “waking up” and extinguishing humanity They are grabbing headlines, and moving the conversation from the real issues, which
788.
▲
by
chubot
3y ago
Totally agree. There do seem to be a bunch of accomplished people that have acquired "mind bugs" from people whose job it is to write and be popular, and not produce very much. Yudkowsky is a prime example of the latter group. I
789.
▲
by
chubot
3y ago
Sorry late reply -- this section of the last release has the tl;dr ! https://www.oilshell.org/blog/2023/03/release-0.14.2.html#me...
790.
▲
by
chubot
3y ago
Anyone remember gsearch by Jeff Dean circa 2006 at Google? It was a full scan regex search, using 40-80 machines in parallel, not an index Also sourcerer was a full scan of VCS metadata, on a single machine. i.e. if you listed all the com
791.
▲
by
chubot
3y ago
Right it’s after-the-fact music ANALYSIS for certain kinds of music, not a predictive theory of all possible music Theory is the wrong word
792.
▲
by
chubot
3y ago
Yeah I was focusing on the snare, which seems to give the song a lot of its feel But there is a reptition of 4 in the kick, a very common beat of o . ! o . o ! . Agreed, I would guess the concept of having a time signature is to make mus
793.
▲
by
chubot
3y ago
Yeah I hear that, if you focus on the kick. There's certainly a 4, 4, 4, 2, 4, 4 pattern. But when I hear the whole song together, taking all instruments into account, I hear a cycle of 22. There's a polyrhythm of at least 3 dif
794.
▲
by
chubot
3y ago
I just listened to Hey Ya again - https://www.youtube.com/watch?v=PWgvGjAhvIw To me the drums have no cycle of 4, it's a "double time" beat, a cycle of 2 But I can see where people are getting the 4 from in t
795.
▲
by
chubot
3y ago
Ha that's great, I always wondered about that song. While I see why people say "4/4 with a 2/4 bar" -- doesn't that feel like a matter of definition? I would just say it doesn't have a "square" p
796.
▲
by
chubot
3y ago
Oh definitely, and I think part of the pushback is framing it as "writing summaries". That sounds like homework. :) But I would just call it engaging with the ideas after you read. So talking with a friend about a book is just
797.
▲
by
chubot
3y ago
I kinda agree, but I also think then you want unquoted keys {name: "value"} And then maybe 123_456 syntax It's a slippery slope ... pretty soon it's hard to write a JSON parser, and there are more bugs The traili
798.
▲
by
chubot
3y ago
I totally agree, and surprised it's a bit controversial here. I understand that reading for pleasure can be different than reading for comprehension But I lean towards reading for comprehension. I have a wiki which includes all the b
799.
▲
by
chubot
3y ago
Well it's mainly a personal choice, but for example I pointed out dark patterns with VSCode here with regard to telemetry i.e. according to VS Codium, they are not able to fully disable telemetry https://lobste.rs/s
800.
▲
by
chubot
3y ago
Yeah the fallacy is that most open source comes from independent programmers What has undoubtedly happened since Raymond’s time is that Intel, Google, etc became the biggest Linux contributors Mozilla has been almost entirely funded by sear
801.
▲
by
chubot
3y ago
Yes CTEs are nice for sure ... But for fine-grained analysis, I still would use them to do any joins I don't want to do on the client, cut down the data size, then export to a "real language" for the details IMO SQL and tidyv
802.
▲
Oils 0.15.0 – Big Contributions and More Concessions
(oilshell.org)
2 points
by
chubot
3y ago
|
2 comments
803.
▲
by
chubot
3y ago
Do you have some examples of that ? I always found that SQL is better for data extraction -- selecting and filtering approximately what I want to analyze. But for in-depth analysis, R or Python is better. They're just much better lang
804.
▲
by
chubot
3y ago
It could be read the other way, but the title and first sentence seems to imply that there was a bug for 10 years Not that 10 years of data was exposed for a short period
805.
▲
by
chubot
3y ago
But the VIN number was available, as it says right below that I mean does anyone think there HASN'T been a leak of VIN numbers and owners that would be trivial to join with this? It's also kind of staggering how long this was a pr
806.
▲
by
chubot
3y ago
Yeah that is interesting. Maybe one way to paraphrase it is that "infinity" is very big and you can fit a lot of interesting structure there :) It actually turns out that there are infinitely many other problems that are not Tur
807.
▲
by
chubot
3y ago
Thanks for actually going and looking! I would say that this supports the idea of float_equals(x, 0.0) or even float_equals_zero(x) :) It wouldn't be too surprising to me if 90% of float equalities in real code are comparisons to 0.0
808.
▲
by
chubot
3y ago
Fortran would be an interesting case, because say C++ is polymorphic, and so are all dynamic programming languages with more than 1 type (x == y could be a string or float comparison) But I would still say that floating point equality is a
809.
▲
by
chubot
3y ago
Not OP, but the act of writing not only solidifies knowledge, but creates it PG has been beating that drum for a few decades, and I’ve experienced it too And knowledge compounds — knowing stuff makes you learn faster, which can lead to new
810.
▲
by
chubot
3y ago
I learned a great deal from Eli’s blog over the years — one of the most consistent and high quality technical blogs out there!
More ›