Better HN
topnewbestaskshowjobs
Log inSign up

JelteF

1,084 karma · joined Apr 27, 2013 (13y ago) · 322 submissions

Building pg_duckdb at MotherDuck

[ my public key: https://keybase.io/jeltef; my proof: https://keybase.io/jeltef/sigs/ZMan3toJpggBpU3_dAtlav5NbAMU_TcEoMp4LaxqiwA ]

Submissions

comment 7mo ago · link · parent

Scrolling around when claude is "typing" makes it jump to the top

2.

Magic Eye Tetris(lutanho.net ↗)

1 points · by JelteF · 11mo ago · discuss

3.

The Eternal Return of Abstraction: Why Programming Was Never About Code(generativeai.pub ↗)

15 points · by JelteF · 11mo ago · 3 comments

4.

Temptations of an open-source browser extension developer (2021)(github.com ↗)

3 points · by JelteF · 1y ago · discuss

5.

Faster Ducks(motherduck.com ↗)

13 points · by JelteF · 1y ago · 1 comment

comment 1y ago · link · parent

It's kinda funny that an article complaining about blurry rendering, is written using one of the most illegible fonts I've ever seen.

comment 1y ago · link · parent

It's the most representative sample size if you're interested in your own performance though. I really don't care if other people are more productive with AI, if I'm the outlier that's not then I'd want to know.

comment 1y ago · link · parent

There's a huge difference between endangering other people vs endangering only yourself.

comment 1y ago · link · parent

Wait... Did you misunderstand this comment? Or are you saying grep caught up with ripgrep now?

10.

Critical rsync security release 3.4.0 with read-only access RCE(archlinux.org ↗)

4 points · by JelteF · 1y ago · discuss

comment 1y ago · link · parent

I learned about the --first-parent flag of git blame recently. It allows git blame to work well in repos that use merge commits.

comment 2y ago · link · parent

I was forced to use the dokuwiki, but I very much disliked editing stuff in the web interface. Having a filesystem interface to the wiki system allowed me to create and edit pages using vim , which I like to use for writing.

comment 2y ago · link · parent

Quite some years ago I created a Python FUSE filesystem[1] to to interact with dokuwiki (a wiki system).

It's built on hde llfuse[2]. But that required implementing a bunch of low level APIs that were not really related to dokuwiki. So I created easyfuse[3][4] as a wrapper, which implemented the things that were unrelated the dokuwiki implementation. If you're interested it in building a FUSE system it might be worth looking at.

[1]: https://github.com/JelteF/dokuwikifuse [2]: https://pypi.org/project/llfuse/ [3]: https://pypi.org/project/easyfuse/ [4]: https://github.com/JelteF/easyfuse

comment 2y ago · link · parent

I actually think the wall clock time that is used here is a more useful metric here. Using as few keystrokes is not necessarily most "efficient" in time if you have to think longer about which ones to press.

comment 2y ago · link · parent

Except Apple doesn't take a 30% cut for every transaction in the PayPal app

16.

New options for controlling the default commit message when merging a PR(github.blog ↗)

2 points · by JelteF · 2y ago · discuss

comment 2y ago · link · parent

The most effective way I've found to get other people to "write" good commit messages is by changing the "Default commit message" for squash merges on the GitHub repo to "Pull request title and description". [1]

That fixes the "Squashing, when you have 100 crap commits, and then not re-editing the message is a crime" item, because suddenly not re-editing will give you a fairly useful message. This ofcourse assumes the PR description is useful, but I've found it much easier to convince people to write a decent PR description than to write decent commit messages.

[1]: https://github.blog/changelog/2022-08-23-new-options-for-con...

comment 2y ago · link · parent

One of the authors of the patch here. Two reasons:

1. This config option approach was extremely easy to implement

2. Because making this auto.conf read-only would break many existing tools around Postgres that write to auto.conf

comment 2y ago · link · parent

I wanted to clarify that I (Jelte, the author of the final patch) work at Microsoft. So, it's definitely not just one company seeing benefit in this feature. Arguably Microsoft is a cloud company too though, but honestly most of the active contributors to PostgreSQL work at a "cloud company".

comment 2y ago · link · parent

Luckily that's something that you control client side so you can simply be consistent about that yourself.

comment 2y ago · link · parent

My personal favorite additions to my git config are using delta[1] as my pager for much more readable and syntax highlighted diffs. And adding the following alias, which means I no can always check out to the default branch of the repo, no matter if it's called master/main/develop/whatever

    [alias]
    checkout-default = "!git checkout $(git rev-parse --abbrev-ref origin/HEAD | sed 's@^origin/@@')"
[1] https://github.com/dandavison/delta

comment 2y ago · link · parent

You can put this in your .gitconfig and do 'git checkout-default' to always checkout the default branch of the repo you're in, no matter what it's called:

    [alias]
    checkout-default = "!git checkout $(git rev-parse --abbrev-ref origin/HEAD | sed 's@^origin/@@')"

comment 2y ago · link · parent

Disclaimer: I work at Microsoft on Postgres related open source tools (Citus & PgBouncer mostly)

Microsoft is heavily investing in Postgres and its ecosystem, so I wouldn't be extremely surprised if we would do this. We're definitely building things to combine AI with Postgres[1]. Although afaik no-one is working actively on query generation using AI.

But I actually did a very basic POC of "natural language queries" in Postgres myself last year:

Conference talk about it: https://youtu.be/g8lzx0BABf0?si=LM0c6zTt8_P1urYC Repo (unmaintained): https://github.com/JelteF/pg_human

1: https://techcommunity.microsoft.com/t5/azure-database-for-po...

comment 2y ago · link · parent

Someone signing up with a wrong email

25.

When "Everything" Goes Wrong: NPM Dependency-Hell Campaign – 2024 Edition(checkmarx.com ↗)

1 points · by JelteF · 2y ago · discuss

comment 2y ago · link · parent

SwiftKey is still the only keyboard with an autocorrect that's actually really helpful, instead of actively messing up what I'm writing. But only if you (counterintuitively) turn off the "autocorrect" checkbox in the settings. Because then you will always have 3 distinct options to choose from (instead of middle and left sometimes being the same). Apparently you can install SwiftKey on iOS too (although I've never tried it).

comment 2y ago · link · parent

Were you successful? I spent a lot of time too, but never got "go to definition" to actually work well.

comment 3y ago · link · parent

Could you explain in what scenario you think it is better to have a display show two half images slightly faster (milliseconds) than one full one?

comment 3y ago · link · parent

Alcohol also reduces the level of social awkwardness quite a bit that many people in the software engineering field exhibit. Which can be quite helpful in making new friends or finding a partner. I'd expect a significant percentage of people would not have been with their current partner without alcohol.
12345
11