Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lambda
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
83 ms
·
901.
▲
by
lambda
11y ago
Hmm, I figure it's more the the optimizer depends on code not exhibiting undefined behavior, like in C. It's not really the case that it's lazily evaluated, just the the causality gets screwy when you try to observe things in
902.
▲
by
lambda
11y ago
> only to have a mode where it refuses to silently make 'optimizations' when it does identify UB. That's not always possible. It's not that it makes the optimization when it identifies UB. It's that it makes an o
903.
▲
by
lambda
11y ago
Did you read the article? Their top two recommendations were invest in a startup, or give to the Gates foundation.
904.
▲
by
lambda
11y ago
Wow. I... don't even know what to say about that. I have known many people to not drink beer. Some of them do so because they just don't like the taste. Some don't because they are former alcoholics. Some are alcohol intolera
905.
▲
by
lambda
11y ago
I think that this is a good question, but poorly phrased; you assume in the phrasing that it's possible for the existence of one language to "kill" another. I was somewhat disappointed when Apple shipped Swift; I feel like Ru
906.
▲
by
lambda
11y ago
Moldbug did not simply "mention the existence of slavery." He explicitly celebrated it. He talked about it being a natural order. He argued that "the innate character and intelligence of some is more suited to mastery than sl
907.
▲
by
lambda
11y ago
It's supposed to read as a portmanteau of "ASCII" and "cinema", but yeah, I can see the misreading.
908.
▲
by
lambda
11y ago
> So I guess, there's still a lot of work to be done. And I think this is the most interesting part. One of the most depressing things about all of the "this image recognition algorithm performs better than humans on this task&
909.
▲
by
lambda
11y ago
The main places to look are https://internals.rust-lang.org/ , https://github.com/rust-lang/rfcs , https://github.com/rust-lang/rust (for actual implementation), and the Rust IRC ch
910.
▲
by
lambda
11y ago
Unicode is not a clusterfuck. Overall, it is a very comprehensive, well thought out standard, that has improved the situation for interoperable internationalization dramatically over the hundreds of separate encodings that preceded it. The
911.
▲
by
lambda
11y ago
I think there are a few things wrong with this argument. I'm unconvinced by the argument that this should actually be considered a modifier letter. Consider any English word with an apostrophe, e.g. “don’t”. The word “don’t” is
912.
▲
by
lambda
11y ago
I'm pretty sure that's intentional. The point of the license is for releasing crappy code that is still necessary for the research in question and validating the findings.
913.
▲
by
lambda
11y ago
He never says any of these problems are fundamentally insurmountable. Just that you need to take any meta-data with a large grain of salt. Which, well, is exactly what Google does. It uses certain metadata, but doesn't trust it absolut
914.
▲
by
lambda
11y ago
CSS/HTML are not meaningfully semantic; they encode presentational attributes of documents and applications. Syntax validation is not semantic; it's syntactic. DOM is not either; it's an API for manipulating HTML, generally u
915.
▲
by
lambda
11y ago
I have found NetworkManager to be no more difficult to use than setting up networking in Windows. For me, for simple cases, it tends to just work; for more complicated cases with multiple interfaces, it takes some fiddling but can be made t
916.
▲
by
lambda
11y ago
> I have to admit I'm surprised to find that anyone is still trying to make desktop Linux work for normal people, i.e. non-programmers who aren't free-software fanatics. As far as day to day use goes, modern desktop Linux envir
917.
▲
by
lambda
11y ago
In most of these discussions, there is no one "true" answer. There are engineering tradeoffs. There are design decisions, about what will be most easy for people to work with, least likely for someone to screw up and break the who
918.
▲
by
lambda
11y ago
There is a simple explanation in the introduction: In short, the theorem states that no rank-order voting system can be designed that always satisfies these three "fairness" criteria: 1. If every voter prefers alternat
919.
▲
by
lambda
11y ago
But you don't need constant time access to code points for that, you just need constant time access to code units , which UTF-8 can do just fine. That's why I had asked that question; every reason I have ever seen given for wan
920.
▲
by
lambda
11y ago
Displaying characters on the screen, and giving the ability to select text, is indeed quite a difficult and complex question in the face of full support of the world's written languages. Glyphs vary in width. There are combining charac
921.
▲
by
lambda
11y ago
What's wrong with unbounded? The amount of text you're rendering is unbounded (except by resource constraints). Combining diacritics are just another kind of text, that happen to lay out vertically rather than horizontally even in
922.
▲
by
lambda
11y ago
I think that moving the world away from HTML and XML as markup languages is likely to be considerably harder than simply defaulting to using UTF-8 in any new code for which there isn't already a natural encoding to choose based on the
923.
▲
by
lambda
11y ago
This discussion is about what encoding is best to choose for the low-level string types in languages and libraries, as that's what the original article was about. If your language already uses a Unicode-compatible string type, you shou
924.
▲
by
lambda
11y ago
But why bother with a fixed width 128 bit encoding? We have perfectly fine variable-width encodings, that take up 8 bits per character for the most common set of characters encoded, the ASCII range (even for CJK text, the fact that most mar
925.
▲
by
lambda
11y ago
Note that my question included "...that is actually correct" as a condition. Truncating between code points to insert an ellipsis is not correct. Not all characters have the same width, even in a fixed-width font; for instance, co
926.
▲
by
lambda
11y ago
We have not yet developed writing systems for all of the world's languages. So there is no practical bound you can put, because it is possible that in a future development of a writing system, there will either be entirely new characte
927.
▲
by
lambda
11y ago
Why would you want constant time access to code points? What can you do with constant time access to code points that is actually correct? Every time someone tries to promote UTF-16, UTF-32, or some imagined encoding like UTF-24, they bring
928.
▲
by
lambda
11y ago
I collected up a number of nits like this, plus some more meaningful transcription errors, into a branch, and have sent a pull request: https://github.com/tdop/tdop.github.io/pull/2
929.
▲
by
lambda
11y ago
Can you link to the scanned PDF and your GitHub repo? I've noticed a few places with mismatched brackets, such as "(....]", and wanted to check to see if they were mismatched in the original or if that's just a transcrip
930.
▲
by
lambda
11y ago
Er, yeah, of course you're right. Adding that factor in will mean adding in even more fake, hand-wavy numbers, but doesn't really change the end result; whatever value you end up with, if you double the weight of the batteries, yo
More ›