Jul 29, 2022
Did I miss the discussion of Robin Sloan's new protocol proposal?

permalink

* *
Jul 27, 2022
I've been working on a note-taking program

To be precise, I've been migrating my existing 10+ year old note-taking workflows out of terminal and unix tools into a more integrated and hopefully more accessible environment.

Not released yet, but here's a demo. (5 minutes; mirror)

permalink

* *
Jul 24, 2022
The burning ship fractal

image of the fractal at the


That whole friggin' site is incredible.

permalink

* *
Jul 2, 2022
Exporting files created by lines.love to markdown+SVG

This is a feature that doesn't have to be bundled with the main app.

lines.love

export

permalink

* *
Jun 26, 2022
Notes for a new note-taking app in my existing note-taking system, augmented with basic line drawings.

Extremely jank, but still oh so much better than not having pictures at all.

(List based on these notes by Yoshiki Schmitz)

Properties uniformly desired everywhere in a new note-taking UI, along with a picture showing major relationships between properties.

permalink

* *
Jun 14, 2022
Call me Kartik. I have a way of driving off the spleen and regulating the circulation. Whenever I find myself growing grim about the mouth; whenever it is a damp, drizzly November in my soul; whenever I become intolerable to my family--then, I account it high time to write some more tests as soon as I can.

20 new tests, 700 LoC, 33% LoC now devoted to tests.

Check out the changes.

Feeling much better 🙏 Now bracing to find out what I broke today.


Experiment: two ways of drawing polygons.

In the first, I have more control over the vertices and can make irregular polygons. The second is more expressive for making regular polygons, and just looks cooler.

Before:

Drawing a square by drawing one edge.

After:

Drawing a square with center and radius.

permalink

* *
Jun 9, 2022
This is a first: I ran a profiler to see where my app was feeling sluggish -- and the sluggishness disappeared! Magic profiler!

Turns out it was disabling LuaJIT. So I've now (temporarily? permanently?) disabled LuaJIT in lines.love

Maybe this kind of text processing isn't CPU intensive enough that a JIT can help? I have no idea which way is up anymore.

permalink

* *
Jun 8, 2022
An engaging couple of days of reading. Things I've been exchanging lots of little messages about with across different circles:

permalink

* *
Jun 6, 2022
This is the best content. I am here for this.

https://news.ycombinator.com/item?id=31637910#31641916

And no, it's not random or trolling.

"Follow for surreal gamedev. I'm making a Lovecraftian text editor called Tentacle Typer."

https://twitter.com/LeapJosh

permalink

* *
May 31, 2022
Gravity simulation for the kids

https://gist.github.com/akkartik/001dcd31aa0e042df0b0a0408f99d742

It's amazing how short the core of Newton's law of gravity is:

theta = angle(sun.x,sun.y, sat.x, sat.y)
dist = distance(sun.x,sun.y, sat.x,sat.y)
accelx = K*cos(theta)/dist/dist
accely = K*sin(theta)/dist/dist
velx = velx + dt*accelx
vely = vely + dt*accely
posx = posx + velx
posy = posy + vely
plot(posx,posy)

permalink

* *
archive
projects
writings
videos
subscribe
Mastodon
RSS (?)
twtxt (?)
Station (?)