Live data from Hacker News

Ask HN: What are you working on? (February 2025)

news.ycombinator.com

91–100 of 922 posts

Re: Ask HN: What are you working on? (February 2025)

#91
I'm still working on Habitat. It's a free and open source, self-hosted social platform for local communities.

The plan is for it to be federated, but that's a while off yet.

I recently spoke with a Lemmy developer who gave me some advice on making it easy for anyone to host. I was struggling with the mess of supporting both docker and VM hosting. He told me that Lemmy uses ansible provisioning to install docker compose on the target VM so that the effort can be focused on docker support, so that's what I've been homing in on for the last few weeks.

- The idea: https://carlnewton.github.io/posts/location-based-social-net...

- A build update and plan: https://carlnewton.github.io/posts/building-habitat/

- The repository: https://github.com/carlnewton/habitat

- The project board: https://github.com/users/carlnewton/projects/2

Re: Ask HN: What are you working on? (February 2025)

#93
post #24

A parser combinator library. I'm writing a tool that will do static analysis of SQL (in a very limited fashion, it's a build tool and not a static analyzer, but I need to understand dependency relationships between statements). I started out using `nom`, but found it imperfectly matched to my needs (underpowered in areas I desired and overpowered in areas I didn't need for my project). `nom 8` came out with some inte…

>A parser combinator library. Cool. I got interested in this subject recently. Have been checking out some text articles and videos about it. Unfortunately there is not much info available (and some of it is advanced stuff), or at least I couldn't find much, so far. I am working on a library, which is not exactly a parser combinator one, but borrows some of those ideas, for use in other projects. >One of them is call…

> Unfortunately there is not much info available [.]

Parser combinators are a bit hard to get into, the most helpful resource for me was `nom`'s "Choosing a Combinator" document [1], which is dense but gives you an overview of all the Lego bricks which you can then start imagining how to fit together.

I've not really read it, but there's also the original paper on the subject [2] (as linked to by the `parsec` documentation [3]) which describes the nuts and bolts theory behind it.

> [Can] you not just rescan the string for the escape sequences, after grabbing the full string?

Absolutely, this is just a convenience around that pattern that allows you to express that like:

    let string = quoted_string.then(escaped(json_string_escapes)).parse(&input)?;
Where `escaped` does the rescanning using the parser `json_string_escapes` (which consumes all the input up to the next escape, if it doesn't start with an escape sequence, or else consumes an escape sequence and returns the transformed text - this API is a little awkward, it may change).

And also more generally for any parsers `foo`, `bar`, and `baz` as:

    let quux = (foo, bar, baz).map().parse(&input)?;
[1] https://github.com/rust-bakery/nom/blob/main/doc/choosing_a_...

[2] https://web.archive.org/web/20140528151730/http://legacy.cs....

[3] https://hackage.haskell.org/package/parsec

Re: Ask HN: What are you working on? (February 2025)

#95

I’ve deleted all my social media apps (including YOU - LinkedIn). I’m trying to really see and feel what’s actually missing in my life and trying to build it. Right now I just want to see what my friends are up to in a non-curated way.

Well done, LinkedIn is a cesspool. Ironically the only thing I am using right now is Twitter, since a lot of interesting people are still on there. There's a lot of negative but balance as well. For every MAGA or ESR's comments, I balance it out with Miguel de Icaza's views on Gaza, etc.

Re: Ask HN: What are you working on? (February 2025)

#97
Continuing to work on https://minifeed.net/ for the second year.

It’s a curated directory of personal blogs and a blog search engine. I started to build a simple RSS-reader for myself, just wanted a HN-like list of links. Slowly it grew, and now it has full-text search across tens of thousands of blog posts from 700+ blogs (adding new ones every day), related blogs and posts recommendations, lists, link blogs. Now I’m working on adding email newsletters, curated collections, and text-to-speech generation.

Re: Ask HN: What are you working on? (February 2025)

#98

I live next to a school, so there's a low speed limit (30 km/h). Still, people drive like race drivers and the city hasn't ever responded to the residents' hopes of introducing a speed camera. I wanted to have some data on how many people speed, the max speed recorded, that sort of thing. Things the city should be doing after many complaints of dangerous driving and people being almost killed on zebra crossings. I ha…

I'm interested in this. A modern version of community watch.

Re: Ask HN: What are you working on? (February 2025)

#99
I'm tinkering with the USB HID specification for power devices for all the wrong reasons.

Historically, UPSes had various proprietary communication protocols over serial ports. Nowadays they usually have a USB port, but I have a bunch of very old APC UPSes with just the serial port and/or the expansion card slot (which is usually just another serial link plus power on a edge connector).

A normal person would just use NUT or apcupsd over serial and call it a day. A bored person would write a USB HID power device stack and serial protocol acquisitors to give these UPSes USB ports. An insane person would add projectors from the USB HID power device stack to serial protocols so that they could use whatever communication card they want on any UPS they have (for example, a CyberPower RM205 card plugged into an APC Smart-UPS).

Why? Because apparently I'm insane and I needed a break from working on delinking executables back into object files, another heretical project I've worked on for the past couple years.

I've just started and I don't know if I'll finish that, but it's something I need to work on to exorcise that particular nagging thought out of my head.

Re: Ask HN: What are you working on? (February 2025)

#100
A no-frills X toolkit. Think Athena, add things like dialogs, file picker and make it completely vectored. No antialiasing, top goal is small size and fast execution. Can display vector and bitmap fonts, only external dependency is xcb. I just recently got my first digital storage oscilloscope and begun writing a companion software for it, as I couldn't find anything usable. This is one of the offshoots of that, the other being a somewhat Postscript-like language for scripting the thing.

Once I get this done, I get back to the actual project of a 2.11-BSD based handheld computing appliance.

Also there is this thing called "day job".

Post reply on HN