Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ianthehenry
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
ianthehenry
4y ago
No; Bauble doesn't know how to "rasterize" SDFs into meshes; it only knows how to raymarch them. It's theoretically possible, but it's a pretty complex problem that would take me much too long to figure out and impl
92.
▲
by
ianthehenry
4y ago
Ohhh I totally missed that you're the author of Glicol. Okay. So you integrated Hydra as like a first-class thing -- I see I see. I thought you were plugging two 3rd party things together. So I'm guessing that the best case scenar
93.
▲
by
ianthehenry
4y ago
Ohhh I think I misunderstood how this works. You write the visualization ahead of time, and then you livecode the music only? Bauble would work well for that -- you could just grab the compiled shader source and integrate it into your livec
94.
▲
by
ianthehenry
4y ago
Thanks! I'm not really sure how to make it work with Glicol -- I don't know anything about the livecoding world. But in theory it would be easy to add a new "magic variable" (shader uniform) for like "mean root sq
95.
▲
by
ianthehenry
4y ago
It's CodeMirror! All I had to do was write a Janet grammar for it -- very easy to do. CodeMirror is pretty amazing -- I was able to implement the "edit values with your mouse" by just asking CodeMirror for the syntax node und
96.
▲
by
ianthehenry
4y ago
libfive is great! And if you're into SDFs, libfive will give you something Bauble probably never will: the ability to export shapes as meshes, so you can 3D print them or import them into Blender or whatever. libfive is only concerned
97.
▲
by
ianthehenry
4y ago
I'm using https://codemirror.net/ as the editor, and I'm basically just running an onchange event on every keystroke. Not very fancy or sophisticated. The details of what exactly happens in that event are very spe
98.
▲
Show HN: Make 3D art in your browser using Lisp and math
(bauble.studio)
252 points
by
ianthehenry
4y ago
|
38 comments
99.
▲
by
ianthehenry
4y ago
Okay, this is cute, but by going against design conventions I think you have a landing page that most people will bounce off of. The navigation settings are at the very bottom in the footer area where I normally ignore things like "pri
100.
▲
by
ianthehenry
4y ago
You know, I discounted Nial prematurely because its array model seemed weird and different and -- still not actually knowing anything about array languages -- I became very enamored with J's ability to slice and reassemble arrays based
101.
▲
by
ianthehenry
4y ago
I really like Ivy as a simple, friendly introduction to APL. There is a surprising lack of APL-derived languages that use words to name things -- most stick with the original symbols; J and friends choose equally-cryptic symbols composed of
102.
▲
by
ianthehenry
4y ago
(Author here). I don't know enough about computational geometry to say anything intelligent here, but there has been a lot of progress in triangulation since 1985. The algorithm described here wasn't even state-of-the-art back the
103.
▲
by
ianthehenry
4y ago
Ah, thanks; updated the link.
104.
▲
by
ianthehenry
4y ago
Haaaah. Oh that's a nightmare. Thanks! I think I fixed it in a portable way...
105.
▲
Visualizing Delaunay Triangulation
(ianthehenry.com)
176 points
by
ianthehenry
4y ago
|
23 comments
106.
▲
by
ianthehenry
4y ago
zsh can do this if you set the PATH_DIRS option, but if I remember right it doesn't autocomplete deeply nested directories, just one level. I made a little tool that dispatches hierarchical commands in a slightly nicer way, with intell
107.
▲
by
ianthehenry
4y ago
I am very interested in this project as a "better awk" is something I have often fantasized about. I read all of the documentation that's available on https://tokay.dev/tokay-docs/ , but unfortunately it
108.
▲
by
ianthehenry
4y ago
This is a good question without a good answer. zsh-autoquoter doesn't know -- it doesn't know anything, really. The only thing it does is pass the literal string you type as an argument to the command you run (in this case, ssh).
109.
▲
Zsh-autoquoter makes shell quoting slightly less annoying
(ianthehenry.com)
90 points
by
ianthehenry
4y ago
|
26 comments
110.
▲
by
ianthehenry
5y ago
A typical JIT compiler runs in the same process as the executable as part of its runtime -- it's a program modifying itself. This is describing a compiler modifying the memory of a separate running process out from underneath it. Which
111.
▲
by
ianthehenry
5y ago
Yeah, I think that nix.dev is a much better resource for getting started with Nix quickly. I wrote How to Learn Nix mostly out of curiosity: I was interested in Nix as a concept, and I didn't really know what it could do going into it.
112.
▲
by
ianthehenry
5y ago
I think there are two distinct arguments against nix-env: 1. Imperative package management is evil 2. The package name-based interface used by nix-env is evil I don't ascribe to (1); I quite like installing things "the old-fashion
113.
▲
by
ianthehenry
5y ago
Since "How to Learn Nix" mirrors the (bonkers) presentation order from the official documentation, I am afraid to say that you will not learn how to do this until part 32 , deep into the Nixpkgs manual. https://ianth
114.
▲
by
ianthehenry
5y ago
That’s great! This is only testing about 2% of the packages in Nixpkgs, but I bet if you weighted by package use that number would look a lot more impressive. Good work, maintainers! But I stand by: this is the product of a lot of hard work
115.
▲
by
ianthehenry
5y ago
> Whatever package is thrown your way, you can rebuild it locally and check whether you have the expected build output. This is analogous to verifying a binary downloaded from the Web by computing its sha256 hash, and comparing it to the
116.
▲
by
ianthehenry
5y ago
I use uBlacklist to remove sites like this from search results. It's pretty great. All the GitHub mirrors, the StackOverflow scrapers, any site that requires an account to view the thing I searched for... one click to never see these a
117.
▲
by
ianthehenry
5y ago
Consider [25] and [9, 9]. 25 > 18, but 5 < 6.
118.
▲
North America has its first video game union at Vodeo Games
(polygon.com)
2 points
by
ianthehenry
5y ago
|
0 comments
119.
▲
by
ianthehenry
5y ago
Do you mean building something like this software demo, or turning it into a real instrument? In software, honestly the MDN docs for the web audio API is a pretty great starting point. Assumes very little prior knowledge, and goes into a lo
120.
▲
by
ianthehenry
5y ago
I linked to some isomorphic keyboards in production at the end of the post. A couple more that I'm aware of: https://www.striso.org/ https://www.kickstarter.com/projects/joyst/joyst-jv-1-joyst
More ›