slightknack | 4 months ago | on: Nano Banana can be prompt engineered for nuanced AI image generation
slightknack's comments
slightknack | 3 years ago | on: About using Nix in my development workflow
slightknack | 3 years ago | on: Why wasn't the steam engine invented earlier? Part II
— https://en.wikipedia.org/wiki/George_Cayley
I think by the time the Wright brothers came around, the general theory for powered flight was in place. The Wright Flyer was precision engineered, compared to most 'kites' that came before it. It's not every day you see an internal combustion engine on a kite.
slightknack | 3 years ago | on: Rust without the async (hard) part
slightknack | 3 years ago | on: Comby - Structural code search and replace for every language
slightknack | 3 years ago | on: Sliderland – Creative coding with 64 HTML sliders
x>0.2-abs(sin(t*2))*0.05&&x<0.8+abs(sin(t*2))*0.05?(i%2?(min((x-sin(t%1.57)*0.3-0.5)*tan(-t%1.57)+cos(t%1.57)*0.3+0.5,(x-sin(t%1.57-1.57)*0.3-0.5)*tan(-t%1.57-1.57)+cos(t%1.57-1.57)*0.3+0.5)*0.4+0.5):(1-(min((-x-sin(t%1.57)*0.3+0.5)*tan(-t%1.57)+cos(t%1.57)*0.3+0.5,(-x-sin(t%1.57-1.57)*0.3+0.5)*tan(-t%1.57-1.57)+cos(t%1.57-1.57)*0.3+0.5)*0.4+0.5))):0.5
https://sliderland.blinry.org/#x%3E0.2-abs%28sin%28t*2%29%29...slightknack | 3 years ago | on: Actual is going open-source
slightknack | 3 years ago | on: I bought a short domain name. What should I do with it?
slightknack | 4 years ago | on: Fuchsia IDL Overview
slightknack | 4 years ago | on: Plasticity Is CAD for Artists
slightknack | 4 years ago | on: TermKit: A Rich Graphical Terminal (2011)
Maybe it's expected that TermKit-the-project died, but I don't think that TermKit-the-idea should: whether it be bringing features from the project as extensions to existing terminals (cat for images would be nice), or building a new TermKit built on modern graphics libraries powered by WASM/Lua/bring-your-own scripting language.
slightknack | 4 years ago | on: Show HN: Spade, A simple programming language with a TUI IDE
slightknack | 4 years ago | on: Show HN: Hello – A conversational search engine powered by transformers
My question:
> how does google work
The response:
> A decentralized autonomous organization (DAO) is a software running on a distributed ledger that offers users a built-in model for the collective management of its code. To become a member of a DAO, users need to first join the DAO by buying its currency. Unlike traditional organizations, there is no hierarchy in DAOs. One of the key features of DAOS is the internal capital that is used to incentivize these actors and ensure that the organization runs smoothly.
slightknack | 4 years ago | on: Show HN: Looptap – A minimal game to waste your time
slightknack | 4 years ago | on: MiniVM: A zero-dependency cross-language runtime on par with LuaJIT and C
Aside from coroutines and continuations, snapshots are neat for distributed computing: spin up a vm, take a snapshot, and replicate it over the network. You could also send snapshots of different tasks to other computers to execute. In the context of edge computing, you could snapshot the program once it's 'warm' to cut back on VM startup time.
Snapshots allow you to peek into your program. Imagine a debugger that takes snapshots on breakpoints, lets you to inspect the stack and heap, and replay the program forward from a given point in a deterministic manner. You could also send a snapshot to a friend so they can run an application from a given point on their machine. If you do snapshots + live reloading there are tons of other things you can do (e.g. live patching and replaying of functions while debugging).
slightknack | 4 years ago | on: MiniVM: A zero-dependency cross-language runtime on par with LuaJIT and C
slightknack | 4 years ago | on: The joy of building a ray tracer, for fun, in Rust
slightknack | 4 years ago | on: Scripting languages of the future
I work on Passerine, cool to see the language mentioned in the wild, glad you like it!
> Written in Rust, and I suspect scripting Rust libraries is in the cards.
We have a rudimentary FFI to Rust already in place. We're also working on a proc macro lib for creating high-level bindings to Rust types/functions/crates (currently unreleased). Also working on an algebraic-effect-based system-injection engine, which will replace the FFI in the 0.10.0 or 0.11.0 release :)
slightknack | 4 years ago | on: Show HN: Shadergarden: Create reloadable graphical pipelines with Lisp and GLSL
Isaac Clayton again[0]! This summer I worked as an intern at tonari[1] where I developed algorithms for real-time 3D scene construction on the GPU. As a part of my research, I developed a library / tool for prototyping shader-based graphical pipelines on the GPU. This tool, Shadergarden[2], uses GLSL[3] for shaders, but introduces a lisp-like configuration language[4] for chaining shaders (and other transformations) into directed acyclic graphical pipelines. We've been using it for both art and research, kinda like a local Shadertoy.
Hope you enjoy the write up, have a nice day!
PS — If your browser automatically pauses videos, you might need to 'show video controls' to play some of the visualizations.
[0]: https://news.ycombinator.com/item?id=25347140 / https://news.ycombinator.com/item?id=26212491
[1]: https://tonari.no
[2]: https://github.com/tonarino/shadergarden
[3]: https://thebookofshaders.com/
[4]: https://github.com/tonarino/shadergarden/blob/master/LISP.md (When all you have is a compiler, everything's a DSL)
slightknack | 4 years ago | on: If I could bring one thing back to the internet it would be blogs (2020)
- https://slightknack.dev/blog
Here are some others:
- https://journal.stuffwithstuff.com
Going further, one thing you can do is give Gemini 2.5 a system prompt like the following:
https://goto.isaac.sh/image-prompt
And then pass Gemini 2.5's output directly to Nano-Banana. Doing this yields very high-quality images. This is also good for style transfer and image combination. For example, if you then give Gemini 2.5 a user prompt that looks something like this:
You can get aesthetic consistently-styled images, like these:https://goto.isaac.sh/image-style-transfer