HNHacker News
TopNewBestAskShowJobs

purerandomness

1,717 karma · joined July 14, 2013

submissionscomments
purerandomness··on Google Chrome silently installs a 4 GB AI model on your device without consent
Why not simply use NewPipe [0]?

You also get ad filtering and you can download Audio/Video streams from within the app.

[0] https://newpipe.net/

purerandomness··on Highlights from Git 2.54
In PHP, an established tool is adding GrumPHP [0] to your dependencies.

It will then handle git hooks on each commit via composer script by default (but can be omitted per commit).

[0] https://github.com/phpro/grumphp

purerandomness··on IPv6 traffic crosses the 50% mark
IPv6 will never make it. Maybe IPv8 [0], which IPv6 should have actually looked like:

> 1.1.1.1.1.1.1.1

[0] https://www.ietf.org/archive/id/draft-thain-ipv8-00.html

purerandomness··on Show HN: I built a social media management tool in 3 weeks with Claude and Codex
FastAPI is quite old (2018)

Svelte even older (2016, SvelteKit was just an new version in 2022)

SQLAlchemy is ancient (2006)

Use newer tech, like HTMX (2020)

(/s obviously)

purerandomness··on Show HN: I built a social media management tool in 3 weeks with Claude and Codex
MySQL does not let you have transactional DDL statements (alter, create, index etc).

If you're building anything serious and your data integrity is important, use Postgres.

Postgres is much stricter, and always was. MySQL tried to introduce several strict modes to mitigate the problems that they had, but I would always recommend to use Postgres.

purerandomness··on GIMP 3.2 released
Exactly. That's my point.

When saving, it simply should say "Exporting pic.jpg".

purerandomness··on GIMP 3.2 released
If you want to draw circles, you're probably looking for a vector drawing program, like Inkscape.
purerandomness··on GIMP 3.2 released
If you want to draw squares, you're probably looking for a vector drawing program, like Inkscape.
purerandomness··on GIMP 3.2 released
Why is then opening a JPEG not an Import?

I get it, and when Photoshop changed this default, GIMP followed with changing this workflow. It used to be different in older versions of Photoshop and Gimp.

Advanced user usually know exactly what they're doing, and opening a PNG or JPEG file, changing a few pixels, and saving it, should require as few key presses as possible.

I don't want the UI to get in my way when I open->edit->save.

purerandomness··on TUI Studio – visual terminal UI design tool
k9s, ncdu, htop, powertop are good showcases how a TUI reduces mental load and are superior to browsers and / or other GUI tools
purerandomness··on JSLinux Now Supports x86_64
You haven't been around here in the Blockchain/NFT/Smart Contract dark ages, have you?
purerandomness··on How to talk to anyone and why you should
> keep trying because really deep down they just don't know how nice you're being by giving them a chance to talk to you.

I don't fathom what kind of trauma would lead you to take this positive, light-hearted advice to connect to fellow human beings, and to spin this into such a vile, evil, anti-social narrative.

How does that help?

purerandomness··on Steel Bank Common Lisp
I think you misunderstand what the XKCD comic implies.
purerandomness··on I found a useful Git one liner buried in leaked CIA developer docs
It's been around as long as TUI tools have been around (Midnight Commander, etc)

Here's a blog post from 2014 [1] mentioning it.

Sometimes, we're the one in today's 10000, sometimes it's someone else [2]

[1] https://khanifnasrudin.blogspot.com/2014/11/text-based-user-... [2] https://xkcd.com/1053/

purerandomness··on Over 80% of 16 to 24-year-olds would vote to rejoin the EU
> "not just X; it's Y"

...is a typical tell-tale cadence in the current breed of LLMs.

The tell-tale signs change over time, but this one is very obvious.

purerandomness··on Wine 11.0
You might like https://www.lazarus-ide.org/
purerandomness··on Show HN: Terminal UI for AWS
brew is for users of non-Arch distros who want to experience what using Arch feels like.
purerandomness··on Finland detains ship and its crew after critical undersea cable damaged
So why did you poke the bear then, by handing out cookies during the Euromaidan and starting the US-Russia proxy war that is fought in Ukraine right now?

Btw, sorry we can't help you with your little Venezuela "war" right now, we're on winter vacation; your E-mail will not be forwarded.

purerandomness··on Finland detains ship and its crew after critical undersea cable damaged
Fair enough, you do you.

Meanwhile, we'll be protecting your loved ones.

purerandomness··on Finland detains ship and its crew after critical undersea cable damaged
What's the point of declaring war in a war?

Russia invaded Ukraine just fine without ever declaring war.

purerandomness··on Please just try HTMX
The reality of React is that you have to keep re-learning and un-learning stuff if you want to keep up with React's ecosystem, because the surface area of the libraries is so large. (see "JavaScript fatigue")

Whereas with HTMX you learn a very, very basic concept in 15mins, and you're good to go for the next decade(s), and it will be more than enough for 80% of your projects.

Same as with vim and Emacs vs. proprietary IDEs and text editors.

purerandomness··on Please just try HTMX
> We're very close to invokers being baseline

Well why not have the benefits of invokers, but today - with HTMX?

HTMX could eventually switch its implementation to use invokers under the hood in the future, and you'd have the convenience of using declarative behaviors on your buttons, today.

> autocomplete can actually be fulfilled with a datalist element

I wish that the spec would cover more use cases, but last time I tried to use it, I couldn't, because it has really bad UX, and is inconsistent across browsers.

Also, like you mentioned, it only works for small data sets that you can deliver with the initial HTML, not large amounts of data which reside on the server.

You could argue that these are use cases where you wouldn't require an auto-complete in the first place, because the data set is too small.

purerandomness··on Please just try HTMX
> If your solution is actually good, it will get adopted eventually...

I wish this were true.

Unfortunately, often the things that get adopted are the things hyped up the most, not the ones which are technically superior.

Popularity, marketing budgets and inertia often dictate what's popular.

As with all biases, we need to actively and deliberately work against these forces, if we value craftsmanship and professionalism.

purerandomness··on Please just try HTMX
Please install a TLS certificate to the site so people can view the content.
purerandomness··on Pakistan says rooftop solar output to exceed grid demand in some hubs next year
Reminds me of "Falsehoods programmers believe about addresses" [0]

[0] https://www.mjt.me.uk/posts/falsehoods-programmers-believe-a...

purerandomness··on Claude Code 2.0
It's always a skill issue.

Guard rails should be there to prevent inexperienced developers (or overworked, tired ones) from committing bad code.

"Try to think how to refactor functions into smaller ones and give them meaningful names so that everyone knows immediately what's going on" is a good enough guard rail.

purerandomness··on Claude Code 2.0
The blueprint is the code.
purerandomness··on Claude Code 2.0
> "comment brevity, and try thinking of a clearer way to do something instead of documenting the potentially unnecessary complexity with a comment"

That's exactly what I wrote, phrased slightly differently.

We both agree at the core.

purerandomness··on Claude Code 2.0
Avoiding comments is an exercise in thinking how to rename or refactor a function, or a variable in such a way that a junior developer will be able to read it like prose, and immediately understand what's going on.

It's cognitively stressing, but is beneficial for juniors, and developers new to the codebase, just as it is for senior developers to reduce the mental overhead for the reader.

It's always good to spend an extra minute thinking how to avoid a comment.

Of course there are exceptions, but the mental exercise trying to avoid having that exception is always worth it.

Comments are instant technical debt.

Especially junior developers will be extremely confused and slowed down by having to read both, the comment, and then the code, which was refactored in the meantime and does the opposite of what the comment said.

purerandomness··on What’s New in PostgreSQL 18 – a Developer’s Perspective
Why should each one of your clients reimplement the calculated value, each in a slightly different way?
← PreviousPage 2 of 18Next →