otsaloma

Joined 11 years ago

Karma
152
Submissions
72
Member since
Aug 20
Hello. My name is Osmo Salomaa.
View on Hacker News

Recent submissions

Comment · 2 months ago
Sloppie's own icon images are broken if you run from source since they're loaded from the icon theme. That works after installation.

Fonts and editor are pretty much about this part of the README:

> Sloppie is hard-coded to its author's preferences and not generic or configurable. If you like the concept and want to use Sloppie, instead of installing and using it directly, you'd likely want to clone the repository, ask a coding agent to customize the font, colors, editor etc. to your preferences and use that clone instead.

The UI fonts should have fallbacks, but the terminal doesn't.

Regarding the editor, note that it's also launched with line or line + column arguments and against the directory if no file selected — all of which work in Emacs, but not in all editors.

Give it a try! The main mechanics is coding agent + git, which should just work.

Comment · 7 months ago
Comment · 8 months ago
Yeah, the frontend is from scratch. Each bullet is just a div contenteditable. The DOM is the state (Claude Code suggested the usual frontend pattern of separate state and rerenders, but I rejected that). Apart from the DOM, content is dumped to local storage. Bullet folding and zooming work mostly just by showing and hiding the bullet divs i.e. the whole note tree is all the time in the DOM. It's conceptually quite simple and Claude Code is good at writing code that traverses the DOM. There's of course a lot of operations like indent/dedent, copy-paste, undo/redo etc. but they've been quite painless to add.
Comment · 8 months ago
Trying out vibe-coding (so mostly not even reading the code) a note-taking web app that's essentially a simplified and dirt-cheap to host Workflowy clone. That seems to me like an easily disruptible SaaS in the sense that note-taking is a very generic app, I only use a small part of the feature set of Workflowy and find the price far too high given that. A lot of other vibe-coding around me I see is throw-away junk, but my intention is to actually use this. The frontend is mostly done and working quite nicely already. Sync is then more crucial to get right to avoid data loss and I think I'll review and rewrite myself more of that.
Comment · 8 months ago
Comment · 8 months ago
How do you handle missing values (NA)?
Comment · 9 months ago
No, it's been working without problems so far. I'm using Anthropic for what it's worth. I ask the LLM to first do some reasoning and then return a JSON array on the final line. Sometimes I've seen some Markdown backticks there, but no irregularities more than that.
Comment · 9 months ago
Looking at the console messages with the LLM reasoning, it does seem to work quite nicely for deduplication. Your example is probably even a lot easier than news articles, where you can have many articles from different viewpoints about the same event.

I don't actually plan to run this as a service so there's some things hard-coded and the setup is a bit difficult as you need an API key and a proxy. Currently it's just experimentation, although if it works well, I'll probably use it personally.

Comment · 9 months ago
Comment · 10 months ago
My favorite of the year would be Maxim Gorky's three-part autobiography: I read "Childhood" and "In the World" (a.k.a. "Amid Attendants") and just started the last part "My Universities". Gorky drifted as an orphan from house and job to another and describes an interesting array of characters he came across, mostly poor and misfortunate, but many of them good as well.

"He took me under the arms, lifted me up, kissed me, and placed me firmly on the jetty. I was sorry for him and for myself. I could hardly keep from crying when I saw him returning to the steamer, pushing aside the porters, looking so large, heavy, solitary. So many times since then I have met people like him, kind, lonely, cut off from the lives of other people."

Comment · 11 months ago
Comment · 1 year ago
Comment · 1 year ago
Agreed! It's easy understand "LLM with tools in a loop" at a high-level, but once you actually design the architecture and implement the code in full, you'll have proper understanding of how it all fits and works together.

I did the same exercise. My implementation is at around 300 lines with two tools: web search and web page fetch with a command line chat interface and Python package. And it could have been a lot less lines if I didn't want to write a usable, extensible package interface.

As the agent setup itself is simple, majority of the work to make this useful would in the tools themselves and context management for the tools.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton