News for hackers. Stuff that matters.

pacoverdi

Re:Human Fovea Detector on Thursday November 13, 2025 @05:55AM (#45913380)
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/

Re:Active listening: the Swiss Army Knife of communication on Saturday November 01, 2025 @07:44AM (#45780912)
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??
Re:John Carmack on Mutable Variables on Friday October 31, 2025 @10:09AM (#45772154)
3) looks like you read 'underlined' as 'undefined'
You may find https://jctools.github.io/JCTools/ interesting
Related: https://github.com/pcdv/jocket

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

Re:Show HN: App that asks 'why?' every time you unlock your phone on Wednesday November 27, 2024 @05:08PM (#42260296)
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

Why the ** do they have to use a 8.9MiB png as hero image? I guess it was generated by AI?
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

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.

Re:Julia Evans' Git Cheat Sheet [pdf] on Monday May 27, 2024 @03:49AM (#40488615)
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.

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.

Re:I can't stand using VSCode so I wrote my own on Sunday April 21, 2024 @05:13PM (#40109313)
Under Windows 11, a "dev drive" can also make a big difference.

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

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.

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.

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?

Re:Bash One-Liners for LLMs on Thursday December 14, 2023 @03:09AM (#38638977)
> 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?

I bet you didn't use many HiDPI displays during the last decade ;)
Re:The Laptop That Won't Die? on Tuesday November 14, 2023 @07:18AM (#38262374)
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.

Re:Java 21: The Nice, the Meh, and the Momentous on Saturday September 23, 2023 @03:53AM (#37621434)
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.)

Re:DevTools Tips on Wednesday August 30, 2023 @12:13PM (#37324247)
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.

Re:Fairphone 5 on Wednesday August 30, 2023 @09:32AM (#37321901)
[delayed]
Related science fiction novel: The Ice People (La Nuit des Temps) by Barjavel

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

* * *
Re:Poop: Performance Optimizer Observation Platform on Saturday June 17, 2023 @08:16AM (#36369573)
(phonetically) related: weboob

https://pypi.org/project/weboob/

Re:List one task, do it, cross it out on Sunday June 11, 2023 @05:04AM (#36279543)
It also converts 'tu arrives' into 'tu suces'... so yes :)
Re:List one task, do it, cross it out on Sunday June 11, 2023 @01:24AM (#36278406)
Gboard turns 'demain' to 'fellation' so often that I had to delete the latter from its vocabulary to avoid embarrassing moments
Ouch, I had my first one a few weeks ago, 4mm too and this hits home.

3 days before the acute crisis which led me, vomitting with pain, to the ER, the symptoms were weird and not easily attributable to a kidney stone: a few drops of pink urine at first, discomfort more than pain, mostly in the morning after peeing, then almost ok for the rest of the day.

The ct scan showed swelling of the kidney. When I finally ejected the stone (more like peeing black sand) 6 days later, I lost ~2kg over the next 24h.

The medicine that helped with the pain was ketoprofene (and antispasmodics) but 2 doses a day were clearly not enough to cover 24h :(

didn't know about lemon though...

Re:Blink virtual machine now supports running GUI programs on Friday February 03, 2023 @09:41AM (#34641548)
* * *
Re:CarSized: A way to visualise car dimensions on Friday January 20, 2023 @04:27AM (#34450732)
Thanks, I did not see the FAQ which was hidden underneath the cookie banner :)

You may be right. When looking at the side view, the rear of the 5008 seems a little higher, while the height of the front part is pretty similar in both cars.

Older »