Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tomsmeding
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
31.
▲
by
tomsmeding
1y ago
Public service announcement: those "forum posts" are mailing list announcements. You can subscribe to that mailing list (arch-announce): https://lists.archlinux.org/mailman3/lists/arch-announce.lis... An
32.
▲
by
tomsmeding
1y ago
If the validation rules don't specify (either explicitly or implicitly) what the "length" in the rule corresponds to (if it concerns a natural-language field, it's probably grapheme clusters), then either you should fix
33.
▲
by
tomsmeding
1y ago
As the parent said: > In the case of Wordle, you know the exact set of letters you’re going to be using This holds for the generator side too. In fact, you have a fixed word list, and the fixed alphabet tells you what a "letter"
34.
▲
by
tomsmeding
1y ago
It's not unlikely that what you would ideally use here is the number of grapheme clusters. What is the length of "ë"? Either 1 or 2 codepoints depending on the encoding (combining [1] or single codepoint [2]), and either 1 by
35.
▲
by
tomsmeding
1y ago
For those following along: https://tomsmeding.com/unicode#U+65%20U+308%20U+20%20U+65%20...
36.
▲
by
tomsmeding
1y ago
I suggest you read the linked readme. ;)
37.
▲
by
tomsmeding
1y ago
Which is, in fact, linked in the readme of this project.
38.
▲
by
tomsmeding
1y ago
Uncertainty in the number of successes due to the number of trials, would be even better.
39.
▲
by
tomsmeding
1y ago
In Firefox on Android, the bold font is wider than the upright and italic fonts, breaking alignment. (It works fine in Chrome on the same Android phone. Android 16, Firefox 141.0.3)
40.
▲
by
tomsmeding
1y ago
It's also \multimap in TeX. The name never made sense to me because while I've seen it used for a variety of linear functions in math, I've never seen it used for a multimap, and indeed the math name in common use for it seem
41.
▲
by
tomsmeding
1y ago
> Not sure about C#, but in Java if you write `sealed` correctly you won't need the catch-all throw. Will the compiler check that you have handled all the cases still? (Genuinely unsure — not a Java programmer)
42.
▲
by
tomsmeding
1y ago
Appropriate username.
43.
▲
by
tomsmeding
1y ago
https://xkcd.com/1172/
44.
▲
by
tomsmeding
1y ago
For the uninformed: this is a quote from The Hitchhiker's Guide to the Galaxy.
45.
▲
by
tomsmeding
1y ago
Though you also can't reign, in language.
46.
▲
by
tomsmeding
1y ago
It's even better. The "X-te" (Xて) is technically not X in present tense, it is specifically X in the te -form (て is read "te"). The te -form has a bunch of different uses, but in the case of "verb- te verb&q
47.
▲
by
tomsmeding
1y ago
> often end up with a binomial-ish distribution anyway I think you meant "bimodal", not "binomial". They mean roughly opposite things here. :)
48.
▲
by
tomsmeding
1y ago
How are you going to ensure that it is impossible for the student to work around whatever measures you take?
49.
▲
by
tomsmeding
1y ago
Rank polymorphism means that a function can be polymorphic in the additional dimensions of arrays. For example, if you write a function that takes a 2x3 and a 4x5 array, it can also work on 10x15x2x3 and 10x15x4x5 arrays by broadcasting. If
50.
▲
by
tomsmeding
1y ago
The article describes that a government body is using this library to generate indictments. In that situation, you do not want something that is mostly usually correct. Indeed, they asked the author for a strict version that does not try
51.
▲
by
tomsmeding
1y ago
Personally, I would say that if one is a real PL fanatic, one is more interested in the semantics than the syntax. :) The problem with the linked docs on the Pony website is not that it doesn't explain the semantics (it does!) but th
52.
▲
by
tomsmeding
1y ago
Thank you! This is quite illuminating. It's not enough for me to know precisely how the language works or how it feels to program in it, but it allows me to put the language in a box so that I know what concepts it introduces and what
53.
▲
by
tomsmeding
1y ago
I'm going to join the choir saying that languages need a concise description of what makes them special easily accessible — but while syntax is important, with a language like Pony (where the cool stuff is in the semantics), the cool s
54.
▲
by
tomsmeding
1y ago
You may already know this, but GCC supports option files: see "@file" at the bottom of this page https://gcc.gnu.org/onlinedocs/gcc/Overall-Options.html . This does not detract from the point that having
55.
▲
by
tomsmeding
1y ago
They do have a robots.txt [1] that disallows robot access to the spigot tree (as expected), but removing the /spigot/ part from the URL seems to still lead to Spigot. [2] The /~auj namespace is not disallowed in robots.txt, s
56.
▲
by
tomsmeding
1y ago
> I just mean that reasonable portable SIMD abstractions should not be this hard. Morally, no, it really ought to not be this hard, we need this. Practically, it really is hard, because SIMD instruction sets in CPUs are a mess. X86 and A
57.
▲
by
tomsmeding
1y ago
While copyright infringement is clealy legally wrong and developing general software is not, I do agree with GP that one should, morally , perhaps not complain about "cheating" the legal system when the infringed application itse
58.
▲
by
tomsmeding
1y ago
The IRC channel still exists! It's on libera.chat now, though.
59.
▲
by
tomsmeding
1y ago
Seems you're in luck! Clicking around on the github page of the posted link, one finds https://github.com/hansake/Whitesmiths-Idris-OS .
60.
▲
by
tomsmeding
1y ago
Ah, but I suspect it still is: not the tmux config option indeed, but the vim config option. After all, I think with that `tmux send-keys`, you're sending input to vim, aren't you? And vim itself does escape sequence interpretatio
More ›