Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
uzerfcwn
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
uzerfcwn
20d ago
It's even crazier that a year ago the prevailing discourse would've been, "You can't do that or you'll face criminal charges." and now it's crickets.
2.
▲
by
uzerfcwn
1mo ago
The data came from wow.tools (which has since been replaced by https://wago.tools ) and Wowhead. I still have some code but it has so many ad-hoc scripts and sections that I commented in/out while experimenting that I'd
3.
▲
by
uzerfcwn
1mo ago
I did similar analysis a couple years ago for optimizing item builds in WoW classic. The tricky part in WoW is that there are 15ish item slots with hundreds of item choices for each slot, so the total number of builds is well over 100^15. I
4.
▲
by
uzerfcwn
5mo ago
> my understanding is a "clean room" reverse engineering for interoperability was fair use and not a copyright violation To my understanding, reverse engineering algorithms and interfaces is not a copyright violation since thos
5.
▲
by
uzerfcwn
6mo ago
I don't know what quotemstr was specifically talking about, but here's my own take. The ideal error handling is inferred algebraic effects like in Koka[1]. This allows you to add a call to an error-throwing function 15 layers down
6.
▲
by
uzerfcwn
7mo ago
Group theory entering quantum physics is a particularly funny example, because some established physicists at the time really hated the purely academic nature of group theory that made it difficult to learn.[1] If you include practical appl
7.
▲
by
uzerfcwn
8mo ago
> When I run 'notepad dir1/file1.txt', the package should not sneakily be able to access dir2. What happens if the user presses ^O, expecting a file open dialog that could navigate to other directories? Would the dialog be
8.
▲
by
uzerfcwn
9mo ago
Thanks for sharing this! Went and changed some keybinds right away.
9.
▲
by
uzerfcwn
10mo ago
My favourite feature is userChrome. The default chrome sucks in both Chrome and Firefox, but at least Firefox allows me to customize it to my liking without forking the entire browser. On the flip side, changing keybinds in Firefox requires
10.
▲
by
uzerfcwn
11mo ago
I feel that Windows Registry is similar legacy cruft as environment variables. Worse yet, most software doesn't document which registry keys it's using, so you have to find them on some ancient forum comment or do the detective wo
11.
▲
by
uzerfcwn
1y ago
> Is there anything C# _doesn’t_ have? Pi types, existential types and built-in macros to name a few.
12.
▲
by
uzerfcwn
1y ago
Last month, a Finnish court judged that using derogatory words in an email sent privately to the offended person counts as defamation.[1] When this was discussed in the Finnish Reddit [2], some found it unjust that it counts as defamation
13.
▲
by
uzerfcwn
1y ago
The core difference between sums and unions is that sum types have cardinality |A+B| = |A| + |B|, whereas union types have cardinality |A∪B| = |A| + |B| - |A∩B|. As you noted, type systems with union types, such as Typescript, also support
14.
▲
by
uzerfcwn
1y ago
The problem with forking is that updating becomes a nightmare. Most ERPs provide a stable-ish API and heavily recommend customers to stick with it, because then automatic updates just work.
15.
▲
by
uzerfcwn
1y ago
> Most web apps today use APIs that return JSON and are called by JavaScript. Can you use REST for such services You kind of could, but it's a bad idea. A core tenet of the REST architecture is that it supports a network of independ
16.
▲
by
uzerfcwn
1y ago
Feel free to write a bug report to Chrome developers or ManifestV3 authors. In the meantime, Firefox users can override any delivered content with the webRequest API.
17.
▲
by
uzerfcwn
1y ago
C++ also has generators[1], but the author is perhaps unaware of them. [1] https://en.cppreference.com/w/cpp/coroutine/generator
18.
▲
by
uzerfcwn
1y ago
To me, the cool (and uncommon in other languages' standard libraries) part about C++ ranges is that they reify pipelines so that you can cut and paste them into variables, like so: auto get_ids(std::span<const Widget> data)
19.
▲
by
uzerfcwn
2y ago
That looks more like ad hoc union types than sum types. What happens if you do: data FooResult = Number | Number If you can't distinguish the two cases, then it means they're not an actual sum type, since e.g. the set siz
20.
▲
by
uzerfcwn
2y ago
Reminds me of this sketch https://youtu.be/iB1hQkqtNso
21.
▲
by
uzerfcwn
2y ago
For me, that advanced reader is Thunderbird. It has amazing customizability with userchrome.css, web extensions, about:config and developer tools from Firefox.
22.
▲
by
uzerfcwn
2y ago
Once, I wanted to write a C# function roughly like this: (T1, ..., Tn) Apply<T1, ..., Tn>((Func<P, T1>, ..., Func<P, Tn>) args) This is not possible in C# because the language doesn't have variadic generics. In
23.
▲
by
uzerfcwn
2y ago
Exceptions are difficult to discuss because different languages implement exceptions differently, each with their own downsides. That said, I don't think anyone has an issue with bubbling. Even sum type proponents love Rust's ? sh
24.
▲
by
uzerfcwn
2y ago
You can add to the end of an array by using the path /.../myarray/-, i.e., the index is replaced by a dash. JSON patch is indeed not idempotent.
25.
▲
by
uzerfcwn
2y ago
The dataset Github page https://github.com/simonalexanderson/MotoricaDanceDataset does mention some missing finger data: > Session 2: Casual dancing ... No finger motion. > Session 3: Vintage jazz dancing ... Fin
26.
▲
by
uzerfcwn
2y ago
It seems like the author had some very specific read and write pattern in mind when they designed for performance, but it's never explicitly stated. The problem setting only stated that "reads are more common than writes", bu
27.
▲
by
uzerfcwn
2y ago
> Then there are other webapps which seem to implement their own login flow: they figure your session is expired, but don't allow you to switch accounts. The only way to use a different account from this flow is to sign out of the c
28.
▲
by
uzerfcwn
2y ago
The definition of tag systems says "add P(x) to the end" but doesn't define x. I can't spot errors in the logic or code, though I'm not an expert either.
29.
▲
by
uzerfcwn
2y ago
I find it interesting how the author's first approach was to use a black box neural network instead of the evidently simpler beam search. As far as I'm aware, beam search was widely considered to be the simple method for game op
30.
▲
by
uzerfcwn
2y ago
As an end user, I love when web applications pass events through the DOM tree, because it allows me to easily create plugins by hooking on the same events. Youtube is a prime example of how to do things right. Unfortunately, modern framew
More ›