HNHacker News
TopNewBestAskShowJobs

vekker

308 karma · joined April 25, 2018

submissionscomments
vekker··on Civet: A Superset of TypeScript
This is terrible. I was so happy CoffeeScript died a quiet death. Now someone thinks of this.

Keep it simple. Code should be easy to read. Also, ain't nobody got time to learn yet another obscure abstraction that will add only a marginal productivity gain at best (and probably sacrifice readability + add another build step + add another learning curve to new devs in the process).

vekker··on Ask HN: What are you working on (August 2024)?
Working mostly on https://www.ledsreact.com/ these days

We built a radar-based device for (gamified & fun) agility testing and training with accurate measurements, for top athletes. Works without wearables or expensive and complex/location-restricted setups like you have with timegates or LPS sytems.

If anyone here is into sports science & tech, feel free to get in touch! (laurens@ the domain above) We're looking for a sports scientist / product manager to strengthen the team, a marketeer with affinity for sportstech, resellers & partnerships, and of course, more customers :-)

vekker··on Show HN: PGlite – in-browser WASM Postgres with pgvector and live sync
I get frustrated when I join a project that doesn't allow running the full stack locally, but forces sharing parts, which always comes with limitations (not being able to work offline for starters).

It already is quite easy to spin up a local PG instance with Docker, but this probably makes it even simpler. Importing mock data and running migrations should just be 1 `npm run` command with a properly set up codebase.

vekker··on Txtai: Open-source vector search and RAG for minimalists
RAG is all you need*. This is a pretty DIY setup, but I use a private instance of Dify for this. I have a private Git repository where I commit my "knowledge", a Git hook syncs the changes with the Dify knowledge API, and then I use the Dify API/chat for querying.

*it would probably be better to add a knowledge graph as an extra step, which first tells the system where to search. RAG by itself is pretty bad at summarizing and combining many different docs due to the limited LLM context sizes, and I find that many questions require this global overview. A knowledge graph or other form of index/meta-layer probably solves that.

vekker··on DB Browser for SQLite (Windows, macOS, and Most Versions of Linux)
I don't know why, but this program had difficulty opening what was clearly a correct SQLite3 database file (created with TypeORM) on Ubuntu 22.04. "Reason: Invalid file format". I ended up using Beekeeper Studio instead, which didn't have any problems with that file. I wonder if that bug is fixed.
vekker··on Local First, Forever
I used remoteStorage.js for a while for an app, but the JS SDK was too limited. I'm surprised to see the last commit was just last week. Is it still maintained?

I never understood why it barely took off, the benefits of local-first are great and a competitive advantage to capture those privacy-sensitive users seeking to own their data. Hoping for a revival...

vekker··on Open Source Python ETL
Does this also manage the infrastructure side of ETL? Usually some parts in a complex ETL process take a lot more processing power, so are run on different machines. From a quick glance at this, it seems like a WYSIWYG ETL tool for running ETL jobs on one machine?
vekker··on Instead of “auth”, we should say “permissions” and “login”
Never thought about abbreviating verbally and I never heard anyone doing so, but maybe that's because in Dutch (much like in German) we're used to longer words :D
vekker··on Ask HN: What would you spend your time working on if you didn't need money?
I already love what I'm doing for a living as a CTO for a small start-up, and probably wouldn't quit, but if money absolutely wasn't an object and my current mission were fullfilled, then I'd probably spend more hours on gardening, and more hours on "technoetic" art/research projects: exploring consciousness through technological means.
vekker··on Instead of “auth”, we should say “permissions” and “login”
Colleagues & I have always distinguished them as authC and authZ ... less confusing than authN :)
vekker··on Covid infections are causing IQ drops and years of brain aging, studies suggest
I wonder if the study segmented the participants according to vaccination status (before/after infection, or none at all)?
vekker··on Show HN: Better Seater – Wedding seating chart optimizer
Pitching in as yet another dev who also thought of implementing this :)

There were just too many constraints for it to be feasible as a web app in our case. Examples of some of those constraints that make it difficult:

* different table sizes, each with a min. and max. seats

* every table has a "head of table", which has to face the bridal couple

* we preferred couples/genders were mixed at every table, not sitting next to each other

* people who must/should/definitely shouldn't sit at the same table

* distances between people mattered: certain groups should be closer/further away from each other

* distances to the main table mattered

* the exact location of the table mattered (for example, older people should have more room/closer to the toilet/away from the dance floor)

It might seem like overengineering to some :) But in the end, it didn't take us too much time to make the layout: we just printed out all the names, and laid them out physically. Then we used that physical layout at the entrance to show people where they are seated. Most of the work was actually cutting out the names, finding them in the pile, physically placing them, ... So I guess if someone just made a beautiful drag-and-drop UI and let the user do the optimization work, and ignore implementing all the "smart stuff", that would work for many people. I guess you could even monetize it by allowing people to print out the layouts in a beautiful way (engraved in wood or whatever) and have it shipped.

(edit: damn it's annoying that HN doesn't support fully markdown for bullet point lists)

vekker··on Notesnook – open-source and zero knowledge private note taking app
It's nice to see more and more open-source E2E-encrypted note taking apps. A couple years ago I thought no one really cared about this, and now they seem to be popping up everywhere. This one particularly reminds me of Standard Notes.

Personally I've moved on to a privately hosted Git repo of plain Markdown files which I currently modify with Obsidian (although I'd prefer an open-source version, and Logseq doesn't quite scratch the itch like Obsidian does) - because I realised what I needed is like a self-hosted Notion-like alternative which I can trust, and Obsidian with all its plugins does exactly what I need.

The only major downside is that taking notes on another device and syncing them without merge conflicts is still a pain.

vekker··on A Complete Guide to CSS Grid
You'd think one could think of simpler & more intuitive naming of CSS properties for layouts.

I've used CSS for many years, but somehow I still have to look up basic property names & values from time to time. I don't really have this issue with programming languages. And I find it easier to memorize Tailwind classes for some reason.

vekker··on About That OpenAI "Breakthrough"
Is it really though? I feel like it's mostly non-technical people who think this, because back when I was a CS student, AI was just a big field of study that included many types of problem solving, from simple to complex, including all types of search such as A*.
vekker··on Orthodox Privilege (2020)
I think real-world examples are very dangerous to provide here, because they can easily derail the conversation into arguing about the validity of those examples, because if they are currently unconventional ideas, someone with orthodox privilege will see them as simply false, and bad examples. That's the blindness referred to.

The Zeitgeist around the date PG wrote this article is probably no coincidence; if you really want recent examples of divisive topics.

Historical examples are great for that reason, and there are plenty in the history of science. One typical example I love, is Wegener's theory of continental drift and how long it was ridiculed, hindering scientific progress, before it was finally accepted many decades later, in the form of the theory of plate tectonics.

vekker··on Ask HN: Why do we walk away from Single Page Applications?
I think that could be a good argument for a BFF, not necessarily for a SSR app. IMO the only times it makes sense to pre-render your app is when initial loading time and/or SEO are of utmost importance.
vekker··on Grist is a modern, relational spreadsheet
This is not immediately clear to me from the docs alone, but does this sync (in real-time) with a backend and support multi-user (with auth)?

Since it stores the data in SQLite, it would be nice to integrate e.g. ElectricSQL to sync with a self-hosted central Postgres db.

vekker··on Show HN: I made a all-in-one web app to help me with my freelance admin tasks
I'm interested in something like this, except I would love to see it as open-source and the ability to self-host (as a simple Docker container to deploy to fly.io , or my Synology NAS, or whatever), but at the same time I fully understand the desire to gain an income from this as an independent creator.
vekker··on They say I make $45K/month just by pure luck and just by posting my MRR on X
It's not just a North American thing. Any entrepreneurial journey can feel very sisyphean, and if you worked hard on something for years, probably consciously making many sacrifices along the way, and then finally get rewarded for it, only to see the comments on social media diminishing your success as "just luck"... I can imagine they feel disrespected.
vekker··on Nomnoml
Yep, GPT is nice for speeding up the process. I've gotten in the habit of actually speaking out loud the desired flow of events in a system and transcribing it, and then turning that text into sequence diagrams with GPT4.
vekker··on Teens inundated with phone prompts day and night, research finds
Huh, strange, is this specific to Android? Because my DND mode stays DND throughout updates, except for the contacts and apps I've already marked as the exceptions. I don't think I've ever had the problem of unwanted notifications.
vekker··on Nomnoml
I use PlantUML a lot, for communicating complex technical designs for juniors to implement for example, or simply for documentation.

It's nice to have your diagrams as readable code which you can check in with the rest of your git repository and embed in READMEs, and the syntax is really intuitive and easy to learn. I haven't made the comparison with this particular tool yet, but in general I'd recommend this practice of including diagrams with your docs.

vekker··on Show HN: Booklet – Async forums as an alternative to chat
It's funny how something so simple & essential like a missing scrollbar can be an instant deal-breaker.
vekker··on Show HN: ElectricSQL, Postgres to SQLite active-active sync for local-first apps
Wow, this is awesome! I've been "waiting" for a project like this for years - having to roll out my own syncing solution for my local-first app until now.

I have yet to dive deeper in the docs and examples, but does anyone know how easy it would be with Electric to provide some kind of client-side transformations (encryption/decryption) of specific fields or entire rows in your SQLite db before syncing? A major reason to go local-first, is often privacy, and the idea that the user owns their data...

Also, it's unfortunate permissions haven't been implemented yet; https://electric-sql.com/docs/usage/data-modelling/permissio... If I understand correctly, that means in a multi-user system, everyone will sync everyone else's data?

And too bad my favorite stack (Angular + Nest.js backend) isn't supported, but I guess it should still be straightforward to integrate the client-side and run the sync service in the backend. I might try it if I have a weekend...

vekker··on Show HN: Nue – A React/Vue/Vite/Astro Alternative
React has a lot of opinionated, "magical" boilerplate. useThis, useThat, ... In my experience, Svelte did a much better job and is closer to vanilla html/js, but for some reason it seems to fail to gain significant traction.
vekker··on Retool AI
I don't understand the appeal of these tools. I've tried it, but it's a complete cognitive overload, having to learn some proprietary UI to do simple things. I don't understand why adding for-loops by pointing, clicking and entering some textbox on the side for the expression is easier than simply typing it out.

It feels like all these "low code" tools are aimed at a tiny audience of technical people who are somehow technical enough to understand these UIs, but not quite technical enough to quickly roll their scripts and prototypes out the "traditional" way.

vekker··on Ghostfolio: Open-source wealth management software
Very nice! Awesome tech stack too; a welcome change from all the React/Next.js projects these days.
vekker··on Show HN: Dataherald AI – Natural Language to SQL Engine
This is interesting. I have an enterprise customer who's looking for exactly this. Any plans to support DB2?
vekker··on Show HN: Dataherald AI – Natural Language to SQL Engine
SQL is easy, the problem is that some enterprise database schemas have gotten incredibly complex over time. I think LLMs might help the maintainers navigate such a complex landscape. Especially if comments are added to each table with clarifications. The only serious limit here is the LLM's context length...
← PreviousPage 2 of 6Next →