HN user

_caw

183 karma
Posts1
Comments42
View on HN

Hey, sorry about that! I have a half-hearted "premium" feature tier of which PDF is one.

I just deleted that particular if-statement so you should be able to export.

It's not anything fancy, but gets the job done. Uses pdf-lib.

I've been plugging away on MadHatter (https://madhatter.app), a web tool for knitting/crochet projects. It works best on desktop!

Why? Many yarncrafters painstakingly build spreadsheets, or try to bend existing general purpose pixel editors to their will. It's time consuming & frustrating.

Along the way, I've solved a bunch of problems:

  - Automatic decreases (shapes the hat) / overstitching markers (shows when multiple colors are used in the same row)
  - Parameterized designs, like waves, trees, geometric shapes. No more manually moving an object by a couple of pixels, it's a simple click & drag.
  - Color palette merging (can't delete a color if you already use it in a pattern!)
  - Export to PDF (so you can print it or stick it on a tablet)
  - Repeat previews (visualize the pattern as it repeats horizontally)
The core feature that makes this more useful than most general purpose editors is that the canvas is continuous.

If you drag a shape near the right edge of the canvas, you'll see it "wrapping around" onto the right edge.

This reflects the 3D reality of a hat!

If you're somewhat terrified of Lyme's disease, as I am, one thing you can do to protect yourself and relatives is wear Permethrin treated clothing, especially pants and socks[0].

After hiking, take a very close look at all of your body parts and remove any ticks. You can bag them and send them off to a lab for testing as well.

I've known multiple Lyme's sufferers. You do not want this.

[0] https://www.cdc.gov/ticks/prevention/index.html

I love observing the moon, whether that's taking a picture with a telephoto or peeping through telescope.

There's something special about seeing the craters with your own eyes and then sharing that with friends. The framing & cropping, zoom, color of the sky are all unique to that experience.

Plus the moon is always looking slightly different each time, with different areas shadowed; fuzzy details one day are sharp the next.

And it's a skill like any other, which feels great to improve day after day.

Delete tests 11 months ago

Would love to hear more about using Claude to determine which E2E tests to run. What context are you giving it?

Is it like, "this looks like a billing feature, let me run any tests that seem relevant"?

I got the sense the author wrote the post in collaboration with LLMs as a way of processing the experience:

I was alone. Nobody understood the weight of losing a decade of work. But I had ChatGPT, Claude, and Grok to talk to

To everyone who worked on these AIs, who contributed to their training data—thank you. Without you, this post might have been a very different kind of message.

It sounded like perhaps this post would have conveyed a message the author didn't think constructive if they wrote it entirely themselves

Haven't seen stitch-maps, that is useful.

I've also been thinking about what constitutes a "good" encoding, and it definitely comes down to individual preferences, even preferences in a given moment. Today you're reading off a sticky-note and want to optimize for size, tomorrow you're laying out 3 notebooks for a huge project and want clarity.

I like the idea of a creator making the base pattern, and then sharing a link that lets the user customize the output encoding.

That customization could be visual (I want a different random seed that is used to parameterize different aspects of this pattern, so it's totally unique to me) or in the notation.

I think it'd be awesome to have a recursive notation editor. So you'd click on a variable and it expands to the verbose representation, which might include other nested variables that you can further expand (or not).

(side note, I hope you don't mind: Game Programming Patterns made a huge difference for me early in my career, thank you for bringing that into the world.)

I tried and failed to write a knitting interpreter that could take a written pattern and generate a visual representation. You could have variables that expand into larger expressions, and some kind of "syntax highlighting" or verification step to make sure things are consistent.

Interested to know if you've ever tried something like that? I also get that knitting is a hobby many people do to escape computers for a minute.

Anyways, that got me into approaching the problem from a different angle (https://madhatter.app). A visual editor for hat patterns with layering, repeats, shapes, overstitching markers.

Some stuff is broken right now and it doesn't look great on mobile, but I'm building it in real time whenever my partner expresses frustration in some aspect of existing paid software ;-)

You're generally not wearing just a drysuit if the water is cold. Under the outer shell, you often wear multiple undergarments to keep warm. Think a base layer, underwear, socks, 1-piece.

Apollo Remastered 3 years ago

That must be a web quality pic.

The ones in his book are far higher quality. Too bad I can't nail the book to my wall..

Apollo Remastered 3 years ago

I highly recommend this book, which I received as a birthday present (hint, for your friends or loved ones who are into space stuff.)

Every page is filled with these georgeous, highly detailed pictures, and a running commentary from the astronauts or author.

You won't be disappointed.

You are correct, it eats battery; it lasts about 8 hours or so on li-ion. If you look down the lens and move it around, you can really see the mechanical movement in action.

It has two operating modes.

1, it stays on as long as the button is depressed. This is good for quick looks.

2, you press it once and it stays on until either (a) 5 minutes pass, or (b) you press it again, or (c) you put the binoculars down (it knows when they are vertical, like hanging around your neck.)

I own a pair of the 10x42s and they are indistinguishable from magic. When you press that button, the wobbly image becomes rock-solid and allows you to perceive and enjoy way more detail than would otherwise be possible.

Perfect for observing birds, planes, double stars, nebulae, satellites, and planets. I can't resolve Saturn's ring, but Jupiter and its moons and the Hercules cluster are not to be missed.

A tripod doesn't solve the same problem. You can walk around, pass these to other people, take it on a hike, use them in a car.

Some downsides: expensive, battery maintenance, and heavy (not as much a problem with smaller pairs.)

I do wish the first was more widely adopted.

The typing experience on AppleTV is actively user hostile - the password is masked (you cannot reveal it) so if you even think you've made a mistake in one of your 25 characters, you need to start over.

The second doesn't work for me: we only have Android devices. It's unclear why our 3 MacBooks aren't sufficient for this purpose; I didn't have any suspicion that this would be the case.