Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mbrock
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
mbrock
2y ago
There's also an interesting SWI-Prolog mode that embeds the language runtime with dynamic linking and integrates quite deeply.
92.
▲
by
mbrock
2y ago
the number of times this document says "not just ... but ..." and "revolutionize" is so obviously GPT-4
93.
▲
by
mbrock
2y ago
I can reinstall Alpine from scratch in around the time it takes Nix to evaluate my system flake
94.
▲
by
mbrock
3y ago
I love going with my kid in the cargo bike when it's raining and he's sitting in the canopy dry and happy. The car's role in family life is hard to overstate, though, when you have more than one kid, and you need to get somew
95.
▲
by
mbrock
4y ago
I wouldn't be surprised if GPT-4 would write a functioning Emacs mode on the first try if you just provide an API request/response example.
96.
▲
by
mbrock
4y ago
With billions of GPT output streams, how do you actually discover and rank what’s significant? Screen them through some even more powerful models? I imagine it’s like a volcano eruption of text where some are absolutely brilliant and most i
97.
▲
by
mbrock
4y ago
also look for geometric details that a human artist wouldn't bother with because they don't really make sense like some golden swirly jewelry thing on a dress that barely looks like anything
98.
▲
by
mbrock
4y ago
Maté says the inheritable trait is a kind of nervous sensitivity that develops into ADHD in certain early childhood environments especially when the caretakers are stressed, depressed, or otherwise unable to provide the infant with the stab
99.
▲
by
mbrock
4y ago
Have you tried alternating with refreshing cool showers or baths? That’s what I really like about sauna.
100.
▲
by
mbrock
4y ago
”It has been an age-old practice to drug crying infants. During the second century AD, the Greek physician Galen prescribed opium to calm fussy babies, and during the Middle Ages in Europe, mothers and wet nurses smeared their nipples with
101.
▲
by
mbrock
4y ago
come to our house between 22 and 01 AM and I’ll show you a baby whose intense crying is inconsolable by breastfeeding
102.
▲
by
mbrock
4y ago
A Zen teacher I know gave a dharma talk titled “The Absence of Tom Bombadil”, centered around his nonappearance in the movies, interpreting it in terms of how when we dramatize we tend to omit elements that aren’t good or evil, and so beyon
103.
▲
by
mbrock
4y ago
I found it very useful and delightful when I was doing something so obscure as writing a Zig binding for FreeType and HarfBuzz. It didn’t always generate correct Zig code but it was still really good and I was so impressed by how it picked
104.
▲
by
mbrock
4y ago
Isn’t that just a series hybrid?
105.
▲
by
mbrock
4y ago
I think a major limitation is that a WebAssembly module can’t run dynamically generated code, which is a huge part of typical Common Lisp implementations.
106.
▲
by
mbrock
4y ago
Especially if there was an implementation that could build from C source code in a simple way without requiring an existing SML compiler…
107.
▲
by
mbrock
5y ago
It’s not ready just yet but if you’re curious about Zig they’re going to have a nice self-hosted WebAssembly toolchain soon, with no LLVM dependency. I’m really looking forward to it and I’m happy to see the Zig compiler work making lots of
108.
▲
by
mbrock
5y ago
Zig's code formatter puts list items on separate lines if the last item has a trailing comma; otherwise, it puts them all on the same line. So if you use the code formatter, you'll either have just one line, or one line per item.
109.
▲
by
mbrock
5y ago
If you're okay with depending on Git, you can use `git rev-parse --parseopt`. https://git-scm.com/docs/git-rev-parse#_parseopt > In --parseopt mode, git rev-parse helps massaging options to bring to shell scrip
110.
▲
by
mbrock
5y ago
That pattern goes together with “Wings of Light” which is specifically about avoiding deep boxes in favor of e.g. T shapes and other narrower wings that can let light in.
111.
▲
by
mbrock
5y ago
Zig's formatter has no notion of line length. If you want an argument list to be stacked vertically, you insert a trailing comma after the last argument, otherwise the formatter will put it all on a single line. I was a bit bothered
112.
▲
by
mbrock
5y ago
Incidentally I spent yesterday implementing a Lisp formatter with the algorithm described by Jean-Philippe Bernardy in the simple and elegant paper "A Pretty But Not Greedy Printer." https://jyp.github.io/pdf/
113.
▲
by
mbrock
5y ago
One reason is that Scheme has Emacs modes that connect to a live system for precise jump-to-definition, etc. This works with Guix and is extremely convenient. Scheme's metaprogramming also enables Guix's beautiful system of code s
114.
▲
by
mbrock
5y ago
There's also jshon which is a simple stack-based DSL for constructing JSON from shell scripts. http://kmkeen.com/jshon/ It's written in C and is not actively developed. The latest commit, it seems, was a pull
115.
▲
by
mbrock
5y ago
Christopher Alexander's work, see for example "The Timeless Way of Building", affirms that genuinely good architecture must also be a kind of gardening.
116.
▲
by
mbrock
5y ago
Everything that anyone has ever written a book about is also a non-linear network of interactions. Consider a textbook in any field. Physics is not a linear thing. Economics is not a linear thing. Even the thing a novel describes is not lin
117.
▲
by
mbrock
5y ago
I’m also surprised by this and I continue to love Common Lisp over all other languages. But I think one reason is that languages aren’t just languages. The amazing parts of Common Lisp were all standardized in 1992 or whatever. By people wh
118.
▲
by
mbrock
5y ago
I think your brain is working quite normally. It knows that there is something very interesting and novel nearby so it wants to keep an eye on it. You can’t expect to just simply control or subdue this because it’s kind of a core cognitive
119.
▲
by
mbrock
5y ago
To clarify, and I mentioned this already, having “chapters” doesn’t mean you need to read every line in order. If chapter 1 is “Basic Setup of the BCK387 Chip” then you might want to skip to chapter 5, “Drawing Lines to the Screen” if that’
120.
▲
by
mbrock
5y ago
It works for me, it’s the only way I like to write programs, so I don’t know how to respond to the notion that it’s totally impossible. It’s not perfect, it has its own difficulties just like any way of doing things.
More ›