News for hackers. Stuff that matters.

JelteF

Scrolling around when claude is "typing" makes it jump to the top
Re:Blurry rendering of games on Mac on Friday August 15, 2025 @04:01AM (#44909730)
It's kinda funny that an article complaining about blurry rendering, is written using one of the most illegible fonts I've ever seen.
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.
Re:Denmark to raise retirement age to 70 on Sunday May 25, 2025 @05:25PM (#44091282)
There's a huge difference between endangering other people vs endangering only yourself.
Re:Ruff: Python linter and code formatter written in Rust on Monday January 20, 2025 @09:44PM (#42775852)
Wait... Did you misunderstand this comment? Or are you saying grep caught up with ripgrep now?
Re:Rewrite Git history via drag-and-drop on Tuesday December 03, 2024 @07:49PM (#42313425)
I learned about the --first-parent flag of git blame recently. It allows git blame to work well in repos that use merge commits.
Re:Started a guide to writing FUSE filesystems in Python on Saturday October 12, 2024 @05:16AM (#41817737)
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.
Re:Started a guide to writing FUSE filesystems in Python on Saturday October 12, 2024 @03:44AM (#41817223)
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

Re:Vim Racer on Monday August 26, 2024 @05:24PM (#41362349)
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.
Except Apple doesn't take a 30% cut for every transaction in the PayPal app
Re:Things I know about Git commits on Saturday July 13, 2024 @06:56AM (#40953276)
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...

Re:The PostgreSQL community debates ALTER SYSTEM on Sunday April 21, 2024 @06:00PM (#40109606)
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

Re:The PostgreSQL community debates ALTER SYSTEM on Sunday April 21, 2024 @05:54PM (#40109567)
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".
Re:Popular Git config options on Friday February 23, 2024 @04:12AM (#39478538)
Luckily that's something that you control client side so you can simply be consistent about that yourself.
Re:Popular Git config options on Friday February 16, 2024 @07:14PM (#39404778)
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
Re:Popular Git config options on Friday February 16, 2024 @07:07PM (#39404726)
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/@@')"
Re:Vanna.ai: Chat with your SQL database on Sunday January 14, 2024 @04:58PM (#38994837)
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...

Re:DMARC required by Gmail and Yahoo from Feb 2024 on Wednesday January 10, 2024 @04:54AM (#38938365)
Someone signing up with a wrong email
Re:Tell HN: Merry Christmas on Monday December 25, 2023 @09:12AM (#38762745)
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).
Re:I Love Ruby on Tuesday December 19, 2023 @03:11AM (#38693102)
Were you successful? I spent a lot of time too, but never got "go to definition" to actually work well.
Re:GTK: Introducing Graphics Offload on Saturday November 18, 2023 @07:27AM (#38318771)
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?
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.

Older »