Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wlib
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Towards a More Useful Model of Distributed System State
(gist.github.com)
2 points
by
wlib
11mo ago
|
0 comments
2.
▲
by
wlib
1y ago
That’s very elegant, thanks!
3.
▲
by
wlib
1y ago
I’ve been working on a very similar sync problem and hit this too. I think the way forward is to use a broadcast channel to elect an individual worker that communicates with all other contexts using the broadcast channel.
4.
▲
by
wlib
1y ago
The filler tokens actually do make them think more. Even just allowing the models to output "." until they are confident enough to output something increases their performance. Of course, training the model to do this (use pause t
5.
▲
by
wlib
2y ago
You can still have a framework-specific render tree that maps to the DOM that tracks changes with signals instead of diffing. We’re just saying that there’s no requirement for diffing algorithms anymore to performantly and correctly reconci
6.
▲
by
wlib
2y ago
The biggest benefit to this is that it makes one of the slowest parts of virtual DOM diffing (longest common subsequence) no longer required. After this becomes supported in the mainstream, not even signal-based frameworks will have to incl
7.
▲
by
wlib
2y ago
With ~2/3 (and growing) of Earth’s land area being arid, you’d expect there to be a lot more interest in reverse-desertification. It’s pretty well established by now that it’s almost entirely a labor allocation issue given that there’s
8.
▲
by
wlib
3y ago
The key is topological sorting of a dependency graph. This can be done implicitly by storing a reactive variable node’s depth once it is created, and just making sure that updates are enqueued in separate queues per depth. I have a somewhat
9.
▲
by
wlib
3y ago
My memory says that there’s a “Chinchilla” paper showing how to make the best model with a given training budget. There’s a trade-off between the amount of training data and the size of the model itself. Chinchilla under-training would mean
10.
▲
by
wlib
4y ago
Exactly - the twitter thread would be really improved if everyone read an introduction to information theory. There are 1024 bits of information in a kilobit, and that's enough information for 2^1024 unique messages. The interpreter of
11.
▲
by
wlib
4y ago
I made a library in which state management started the same way. A simple approach is great for performance-sensitive parts and it's easy to write, but there is very little helpful structure to it. Reactivity fails very easily, conside
12.
▲
by
wlib
4y ago
I just wanted to use a concrete example of a featural writing system. It would of course not be Hangul if it had to accommodate all phonemes. The other direction to take would be to create a sophisticated (probably ML) model that could enab
13.
▲
by
wlib
4y ago
What about a Hangul inspired version of IPA? https://en.wikipedia.org/wiki/Hangul
14.
▲
by
wlib
5y ago
I initially thought that “if” should be the obvious choice, ignoring sass entirely. However, it’s clear that “when” makes more sense than “if” given CSS’s interpretation anyways. “if” sort of implies a more “one-time” use like in a template
15.
▲
by
wlib
5y ago
I’m on my phone so I can’t really give this the response that it’s owed, but most of what I want to say is that I don’t think we disagree as much as you think. My mention of languages being the wrong approach to general programming is a key
16.
▲
by
wlib
5y ago
I’m aware of math being entirely useful outside of programming - my little rant is more about how little programming is inspired by math
17.
▲
by
wlib
5y ago
Very nice; you get to the practical lesson of it in a fairly straightforward manner while keeping interesting tangents where they aren’t distracting.
18.
▲
by
wlib
5y ago
Somewhat unrelated to this link, but I really think that it’s interesting how much effort we put into the theory side of languages/types - with almost no one in industry applying these lessons. The essence of this is just something alo
19.
▲
by
wlib
5y ago
Just in case you or anyone doesn’t know, pinch to zoom on touchpads is exposed as just scrolling with the control key held down. You can listen for it with the wheel event and look at the ctrlKey and deltaY properties.
20.
▲
by
wlib
5y ago
Why do we impose hierarchy so much in file systems? We already allow hard and soft links, so it’s not even a tree anyways. Why not just allow any reference types you want; no name with extensions, but a set of tags. Why not identify files t
21.
▲
Show HN: Bruh – A tiny Functional-Reactive library for the web
(github.com)
2 points
by
wlib
5y ago
|
0 comments
22.
▲
Show HN: Bruh.js, a minimalist functional-reactive web library
(github.com)
1 points
by
wlib
5y ago
|
0 comments
23.
▲
by
wlib
5y ago
It is, nix is more declarative than a dockerfile and can even optimize the layers based on the dependency graph. See https://grahamc.com/blog/nix-and-layered-docker-images for a good explanation and https://
24.
▲
by
wlib
5y ago
This shows a funny way that the word invent has shifted in meaning. Invent means “found” (almost literally “came upon” in Latin) - yet for some reason it shifted to mean “created” in a sort of “this is mine don’t steal it from me” sense. Th
25.
▲
Proposal: Reordering Child DOM Nodes
(github.com)
2 points
by
wlib
5y ago
|
0 comments
26.
▲
by
wlib
5y ago
Keeping a tiny bounded lookahead is essential for the extremely fast and memory-efficient parsing that browsers want for CSS. Sass, less, &c. don't really have to care about that, and they have the benefit of also being able to com
27.
▲
by
wlib
5y ago
I made this because I always found modern DOM API's much more flexible, simple, and performant than other UI libraries like React. This really just attempts to cleanly abstract document.createElement() while also allowing for super sim
28.
▲
Show HN: Bruh – A stupidly simple JavaScript front end library
(technicalsource.dev)
7 points
by
wlib
5y ago
|
2 comments
29.
▲
by
wlib
5y ago
Yup, at that point it's within the scope of bash's debugger. It shows the command that is actually being run, so it expands globs, shows the command within if predicates, and so on. If bash shows a command that isn't actually
30.
▲
by
wlib
5y ago
I updated to fix that, thanks for pointing it out. It had to do with echo printing the command with your backspace characters escaped. See if you can break it now, it's interesting how many weird cases exist in tty's.
More ›