Hacker Newsnew | past | comments | ask | show | jobs | submit | pacoverdi's commentslogin

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/


>clear up your brain

Just to be clear, we don't actually know what that does right? Like, there's no link to this making up for poor sleep or improving your cognitive function right?


Babies would go nuts over this, so much contrast and movement


This actually does work!!


How do you know?


Feels like a gentle rub on the skull from inside, and the overall feeling is akin to that of a lucid dream, but with a bit of nausea. Not too pronounced of course, but detectable.


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??


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


true that, thanks!


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)


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


As mentioned elsewhere, I have double-click on power button bound to toggle the flashlight, as I find it way more useful day to day, plus quick launch of camera becomes redundant after you launch the app.

As for songs, I specifically mentioned picking a next song. As in, picking from a list, possibly navigating or doing a search first. Next/prev is both trivial and something I rarely use anyway.


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


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.


Indexes do start at one. Offsets start at zero.

If you have a table of 5 apples and the middle one is rotten do you say the rotten one is the 2nd or 3rd?


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


No, what you phrased is a common argument but IMO doesn't follow from natural language. The fact that C uses pointer offsets as it's "indexes" is IMO the truly counterintuitive thing.

Obviously I use 0 based indexes for most of my programming. I have not found 1 based indexing to be a serious problem since Lua is a high enough language that I'm rarely doing complex index arithmetic.

FYI I didn't downvote you.


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.


What I like most, and isn't available in most UIs, is the ease of selecting individual lines you want to commit. Allows you to make very clean isolated commits most of the times.


Magit does that and this is super useful indeed!


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.


There’s people who use the mouse like this even in pro gaming. Then again thats where you see the biggest spectrum of ergonomics. Some people set the sensitivity so low they throw the mouse with the entire arm. I’ve even seen someone set the keyboard on the shoulder and wrap their left hand onto WASD like they are carrying a 2x4 like that.


I have found that my mouse usage also "evolved" to a similar efficiency. However this really requires a modern high DPI mouse, as I do intermittently use an ancient (1992) system with an equally ancient ball mouse, which can require a really massive "mileage" to do anything outside of native OS software.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: