Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
otsaloma
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
otsaloma
23d 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
2.
▲
Show HN: Sloppie – Agentic development environment for Linux
(github.com)
2 points
by
otsaloma
24d ago
|
2 comments
3.
▲
by
otsaloma
6mo ago
> Partly because I wanted my config to survive without breakage across Emacs releases. Partly because I was tired of dealing with package repositories, mirrors going down in the middle of the workday, native compilation hiccups, and the
4.
▲
by
otsaloma
6mo 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 dump
5.
▲
by
otsaloma
6mo 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 i
6.
▲
by
otsaloma
7mo ago
I recently revised my script to rely on (1) no commits in the last 30 days and (2) branch not found on origin. This is obviously not perfect, but it's good enough for me and just in case, my script prompts to confirm before deleting ea
7.
▲
by
otsaloma
7mo ago
How do you handle missing values (NA)?
8.
▲
by
otsaloma
8mo 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
9.
▲
by
otsaloma
8mo 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
10.
▲
by
otsaloma
8mo ago
I've been experimenting with using LLMs for a content recommender system. Specifically I've built a news reader app that fetches news articles from multiple RSS feeds, uses an LLM to first deduplicate and then score them. The user
11.
▲
by
otsaloma
9mo 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 d
12.
▲
by
otsaloma
10mo ago
It's unfortunate that Python and R don't really have any out-of-the-box means of opening data files from arguments, but if you do this kind of stuff on a daily basis it's something that you can set up. My not directly usable
13.
▲
Old Eight Eighty
(newyorker.com)
1 points
by
otsaloma
10mo ago
|
1 comments
14.
▲
by
otsaloma
10mo ago
https://archive.ph/MLJHu
15.
▲
by
otsaloma
10mo 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 togethe
16.
▲
by
otsaloma
1y ago
Something similar for GNOME: https://github.com/ghi59/floating-mini-panel Been using it for a couple weeks now and find it really nice. Tried some auto-hide panel extensions before, but this is much better.
17.
▲
by
otsaloma
1y ago
I used to hate matplotlib because of its awful API and awful API documentation. These days I just ask an LLM "add thousand separators on the y-axis", "add a vertical line ar zero" etc. and now I never need to look at the
18.
▲
by
otsaloma
2y ago
I think the choice of using functions instead of classes + methods doesn't really fit well into Python. Either you need to do a huge amount of imports or use the awful `from siuba import *`. This feels like shoehorning the dplyr syntax
19.
▲
by
otsaloma
2y ago
I don't quite agree, but if this was true, what would you tell a junior colleague in a code review? You can't use this function/argument/convention/etc you found in the official API documentation because...I don
20.
▲
by
otsaloma
2y ago
Building on top of Pandas feels like you're only escaping part of the problems. In addition to the API, the datatypes in Pandas are a mess, with multiple confusing (and none of them good) options for e.g. dates/datetimes. Does red
21.
▲
by
otsaloma
2y ago
Agreed, never had a problem with the speed of anything NumPy or Arrow based. Here's my alternative: https://github.com/otsaloma/dataiter https://dataiter.readthedocs.io/en/latest/_static&
22.
▲
by
otsaloma
2y ago
Two questions: 1. Does this make the apps show up as separate windows in Alt+Tab and a Dock etc? (FWIW I use GNOME + Dash to dock + Wayland) 2. Let's say you have a mail app and you click a link. Does that link open in the separate def
23.
▲
by
otsaloma
3y ago
The current memory use of string arrays is another major issue, glad to see this being worked on!
24.
▲
by
otsaloma
3y ago
How is that convenient? Missing data support belongs deep in NumPy itself (or any other similar package) so that operations can do the right thing and missing values propagate correctly. For example, let's say you want by definition
25.
▲
by
otsaloma
3y ago
np.nan is only for floats, doesn't help with integer, boolean, string etc. Also, datetimes have NaT, but it's troublesome to e.g. do different checks np.isnan() or np.isnat() depending in the data type. And we don't even have
26.
▲
by
otsaloma
3y ago
Still no NA?
27.
▲
by
otsaloma
4y ago
The data frame is a Python dict and I consider that a feature so that users know how to e.g. loop through columns with .items() etc. That then means that bracket notation is reserved for column names only (i.e. dict keys). So, that's w
28.
▲
by
otsaloma
4y ago
Data frames for Python (and some other stuff): https://github.com/otsaloma/dataiter Comparison against dplyr and Pandas for a quick overview: https://dataiter.readthedocs.io/en/latest/_static&
29.
▲
by
otsaloma
4y ago
That's specifically the gain here, you don't need to keep learning new build tools or language-specific tools. Make works for all languages, all kinds of projects, has been around since forever and is not going away. It's the
30.
▲
by
otsaloma
4y ago
To me it seems both Pandas and Polars sacrifice API for performance, just using different approaches to achieve that performance and thus differently bad API. There's obviously some amount of tradeoff there and no shame in tilting in s
More ›