Live data from Hacker News

Viewing profile — otsaloma

otsaloma

HN member
Joined
Thu, Aug 20, 2015, 8:00 PM UTC
HN karma
151
Public activity
70 items

About otsaloma

Hello. My name is Osmo Salomaa.

Recent public activity

  1. comment
    Comment #47323045

    > 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 mi…

  2. comment
    Comment #47308554

    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 rerender…

  3. comment
    Comment #47306671

    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 …

  4. comment
    Comment #47092242

    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 i…

  5. comment
    Comment #47051287

    How do you handle missing values (NA)?

  6. comment
    Comment #46580678

    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. Som…

  7. comment
    Comment #46579790

    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 yo…

  8. comment
    Comment #46579414

    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 …

  9. comment
    Comment #46397164

    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 Univers…

  10. comment
    Comment #45969405

    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…

  11. comment
    Comment #45867753

    https://archive.ph/MLJHu

  12. story
  13. comment
    Comment #45844911

    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 understand…

  14. comment
    Comment #44695885

    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…

  15. comment
    Comment #44438095

    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" …

  16. comment
    Comment #42198236

    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 …

  17. comment
    Comment #42197792

    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 AP…

  18. comment
    Comment #42195287

    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 the…

  19. comment
    Comment #42194544

    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/_…

  20. comment
    Comment #41859179

    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 yo…

  21. comment
    Comment #37501814

    The current memory use of string arrays is another major issue, glad to see this being worked on!

  22. comment
    Comment #37501765

    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 corr…

  23. comment
    Comment #37496618

    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() depen…

  24. comment
    Comment #37495904

    Still no NA?

  25. comment
    Comment #34537850

    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 reserv…