Better HN
topnewbestaskshowjobs
Log inSign up

pacoverdi

233 karma · joined Jun 23, 2010 (16y ago) · 149 submissions

Submissions

1.

MountainGraph: Profiling data drawn as 3D landscapes(github.com ↗)

1 points · by pacoverdi · 55m ago · discuss

comment 2w ago · link · parent

Touché

comment 2w ago · link · parent

It's not all black and white.

Do I write less and less code myself? Yes. Do I read less and less code? Maybe. Does it always matter? No. Sometimes, the agent writes code in a project or section of code that is sensitive and deserves a thorough review. Sometimes, it's in a tool that you would never have had the time to write if you didn't have an agent. Or it can be in a project that is so well covered by TDD that you can be confident that it won't break. There could be performance regressions or duplication / code creep, but once you realize it, you can ask an agent to simplify the code and find ways to prevent that from happening again.

There are cleanup / technical-debt-reduction tasks that I thought would never be done in my lifetime due to lack of time and other priorities. But now, I'm blasting through them with Claude. I cannot imagine the lack of productivity I would suffer if deprived from an agent.

That said, I agree with most points the author makes. It becomes harder to grok the code, just as it becomes hard to navigate without GPS navigation once you are used to it. It is maybe necessary to force oneself to do a development task once in a while without the help of an agent in order to stay sharp.

But stop using LLMs? that sounds counterproductive.

comment 2w ago · link · parent

A Swing application looks ugly and not native by default, but the platform allows to plug a different look'n'feel. With small effort, you can make it look nice with something like flatlaf [1]. Pretty sure there are others, I haven't done Swing UI in a while.

[1] https://www.formdev.com/flatlaf/

comment 2w ago · link · parent

Unrelated, but I frequently tell Claude to use the Edit tool instead of bash/python scripts because it regularly times out for 2 minutes because of a mangled heredoc, extra character (-, \, ...) that causes the script to hang.

This instruction is in my toplevel CLAUDE.md but is somehow generally ignored.

comment 2w ago · link · parent

I really wanted this on my TV, so I (ahem, Claude Sonnet 5.5) wrapped it in an Android TV app. It works great on my Sony/Google TV, the remote control buttons are correctly mapped (color buttons, guide, channel +/- etc).

https://github.com/pcdv/hackertv-androidtv

comment 1y ago · link · parent

Reminds me of this app that is supposed to clear up your brain when staring at the screen for a while

https://www.paulkeeble.co.uk/posts/cff/

comment 1y ago · link · parent

Exactly. I was actively reading until I reached that first example. Someone giving me such responses would make want to slap them in the face. Are you some old version of ChatGPT??

comment 1y ago · link · parent

3) looks like you read 'underlined' as 'undefined'

comment 1y ago · link · parent

You may find https://jctools.github.io/JCTools/ interesting

comment 1y ago · link · parent

Related: https://github.com/pcdv/jocket

Drop-in replacement for java.net.Socket using shared memory (and optionally, futex for notification)

comment 1y ago · link · parent

On my phone (Pixel 5) I don't need to unlock to take a picture (double click on power button) or switch to the next song (slide menu down, click Next).

Not sure if it helps. Have not tried the app yet.

Edit: sorry, didn't see the almost identical answer

comment 2y ago · link · parent

Why the ** do they have to use a 8.9MiB png as hero image? I guess it was generated by AI?

comment 2y ago · link · parent

That was a surprising downvote.

I was referring to this:

"it is customary in Lua to start arrays with index 1" [1]

Not being a native English speaker, I may have phrased something wrong. I find "one-based indexing" in arrays not particular intuitive, and error-prone.

Better?

[1] https://www.lua.org/pil/11.1.html

comment 2y ago · link · parent

I had two encounters with Lua many years ago.

The first to write "stored procedures" in Redis (I forget the correct terminology). It allowed to improve the performance of Django endpoints by an order of magnitude.

In the second, I wrote a Wireshark plugin (also not sure of the proper term) to dissect a proprietary protocol.

I don't remember the details but this is not a programming experience I look forward to renew... (Same feeling about Perl btw)

Possibly indices starting at 1 were the most disturbing.

comment 2y ago · link · parent

IntelliJ has become pretty powerful with Git these days.

Squashing, dropping commits, rebasing. Even interactive rebase can be done in a few clicks.

I sometimes pop up IDEA to do some non-trivial cleanup in a repo. Even if relatively fluent with the command line, it saves me a lot of time.

comment 2y ago · link · parent

This article made me conscious of my use of the mouse: I realize that I move it only with a ~3cm square, which allows to reach all corners of the screen by only moving my fingers, while the base of my palm stays "locked" to the desk. When using multiple screens, the mouse does some quick hops to reach them, but almost never leaves that square.

This requires configuring the mouse to have sufficient "speed". I've never had any musculoskeletal disorder, probably thanks to making such small moves with my hand and staying relaxed.

comment 2y ago · link · parent

Under Windows 11, a "dev drive" can also make a big difference.

https://learn.microsoft.com/en-us/windows/dev-drive/

comment 2y ago · link · parent

Yep, I was not excluding muscle memory when I said it had to do with muscle. It is true that breathing through the nose seems effortless (at least when resting).

The "reeducation" consisted in a few 30 minutes sessions (probably around 5, not sure) and I don't remember having done any conscious effort to breathe through my nose after that. It just seemed easy.

That said, I still have to breathe through my mouth when running.

comment 2y ago · link · parent

I did the same 25y ago, as prescribed by my allergy doctor. It was called (translation from French) "breathing reeducation", and it was roughly interval training: breathe fully in through your nose, then blow into a pipe (connected to a spirometer) at various speeds.

Before that, I was mostly breathing through my mouth. It was challenging even to eat a sandwich while walking :). Since this reeducation, I only breathe through my nose with no effort. I'm willing to believe it indeed has to do with muscle.

comment 2y ago · link · parent

I write (at least) 2 kinds of tests:

- TDD, which as you say describes the system's behavior. But it often deals with the nominal cases. It is hard to predict all that can go wrong in the initial development phase.

- tests designed to reproduce a bug. The goal of these to try very hard to make the system fail, taking inspiration with the bug's context

Maybe this LLM test generator could allow to be more proactive in the second kind?

comment 2y ago · link · parent

> Point and click is 2 dimensional.

I would have said point and click is 3-dimensional.

Otherwise, how can you read the text through the edges of buttons before clicking?

comment 3y ago · link · parent

I bet you didn't use many HiDPI displays during the last decade ;)

comment 3y ago · link · parent

I have a 2014 MBP that was working fine (except for some screen defects that I did not get fixed before it was too late for the warranty)...

Until I left it in my basement for a few weeks, i.e. in a slightly cold and humid environment.

Now, the keyboard is broken: I need to press multiple times on each key (it's better now that it has dried a bit, but not perfect).

The trackpad is also broken: only hard-clicking works.

Next step is to open and clean it up but I don't have much hope.

comment 3y ago · link · parent

I viewed it on Firefox for Android and I immediately had to jump to reader mode for the same reason.

But I tend to use reader mode on most sites anyway because it's an easy way to get rid of banners (cookies, subscription etc.)

comment 3y ago · link · parent

One thing that bugs me (with no solution in this site) is the Breakpoints panel that opens everytime a breakpoint is hit.

In Chrome, this is not a big issue because the panel is on a separate column (compared to the main panel where variables values can be browsed).

In Firefox, both panels are in the same column. When many breakpoints are set, one must scroll or click to close the breakpoints panel before any work is possible.

comment 3y ago · link · parent

Same boat. Feels like I bought my Pixel 5 yesterday and it feels like new, no way I'm going to trash it. It's unlikely I will buy (or recommend) another Pixel if they don't extend the security updates period.

Wonder why it is so short: is support that expensive for many models? or simply to force users into unneeded upgrades (F* that).

28.

WebGL virtual visit of Amsterdam Rijksmuseum(reindernijhoff.net ↗)

3 points · by pacoverdi · 3y ago · discuss

comment 3y ago · link · parent

Related science fiction novel: The Ice People (La Nuit des Temps) by Barjavel

https://en.wikipedia.org/wiki/The_Ice_People_(Barjavel_novel...

comment 3y ago · link · parent

Because it means that it can be used as a library in pure Go programs.
12345