News for hackers. Stuff that matters.

sovande

Show HN: GTAO and Red Dead Online lag switch detector and blocker (anti-cheat)

https://github.com/Sovandeulv/killswitch

Red Dead Redemption 2 is a beautiful game, and its PvP used to be genuinely fun if you didn't take it too seriously. That has changed. Both RDO and GTA Online lobbies are full of cheaters, and on console, lag switching is the go-to method. A lag switcher briefly halts their own connection, moves and shoots while your hits get dropped, then reconnects. You land a clean headshot and it doesn't...

( Read More... | no comments | 2 points | on HN )
Re:Magic Work Cycle on Friday February 13, 2026 @07:41PM (#47009988)
I am not aware of any specific studies that focus on a 30/30 cycle, but there's plenty of research that suggests taking regular breaks is good for you.

The ideal work-break routine is about the work you do, if you control your own time and, of course, what suits you best. For me, I’ve discovered that routine tasks, like writing documentation, do well with a 30-30 cycle. However, when I’m working on problem definition, such as programming and especially debugging, I need more focused time, but I do make sure to take a regular break every hour.

Re:Magic Work Cycle on Friday February 13, 2026 @06:45PM (#47009442)
The most important tool for AI-assisted coding isn't an agent framework. It's a timer that forces you to take regular breaks.

Back in 2010 Chetan Surpur introduced the Magic Work Cycle productivity technique. The idea: 30 min focused work, 30 min genuine break.

https://chetansurpur.com/blog/2010/11/magic-work-cycle.html

Regular breaks trigger diffused mode thinking, where the brain subconsciously makes connections that lead to "aha!" moments.

I built a completely free iOS and Apple Watch app for this. Maybe others find it useful too.

Didn’t read the code yet, but stuff like this tend to be brittle. Do you do something clever around stack overflow, function return overwrite or would that just mess up all coroutines using the same stack?
Re:What's up with all those equals signs anyway? on Tuesday February 03, 2026 @12:52PM (#46874425)
Not only the manual, but Gnus itself. I remember this guy from the university (UiO) when he started working on Gnus. He was a small celebrity among us informatics students, and we all used Emacs and Gnus, of course.
Re:PostgreSQL deserves better than libpq on Sunday November 09, 2025 @04:13PM (#45869225)
By mistake, I used a link to an insignificant commit while I was attempting to link to this comment block with more context.

https://bitbucket.org/tildeslash/libzdb/src/master/src/db/po...

Show HN: Libzdb – C Database Connection Pool library now with C++20 API

https://tildeslash.com/libzdb/

I've updated an old C Database Connection Pool library (previously shared on HN) with a new C++20 API. This project was my foray into modern C++, and I'm hoping the community finds it useful and that the C++ code meets modern standards.The intro to the C++ API for the library is here: https://tildeslash.com/libzdb/api-docs/zdbpp_8h.htmlFeedback on the C++ implementation is welcome, especially...

( Read More... | no comments | on HN )
Re:Intel to Receive $8.5B in Grants to Build Chip Plants on Sunday March 24, 2024 @04:13AM (#39805772)
The effect of globalization is that the west is bringing the rest of the world over the poverty line at the cost of deteriorating ourselves. Hard to say how this will end.
Really cold weather doesn’t have much wind. It’s metrology. Without long term storage, wind power during the winter in the northern hemisphere is just meh. Same with any variable renewable energy source. Instead of celebrating the few times renewable energy actually produces energy when it’s needed we should celebrate every time a new Nuclear power plant comes online.
Re:My personal C coding style as of late 2023 on Monday October 09, 2023 @11:37AM (#37821527)
> Long Long is ridiculous and often confusing

It might be ridiculous, but it’s hardly confusing for a C programmer. But, yeah in and ideal world ‘long’ should just be defined as 64 bits

Re:My personal C coding style as of late 2023 on Monday October 09, 2023 @11:15AM (#37821305)
Exactly this (plus floating point types and unsigned qualifier) and done. It’s standard C, there is no need to invent yet another unnecessary “type” system for standard C native types. I do like bool though.
Re:CheatGPT on Monday February 20, 2023 @08:58PM (#34875530)
Isn’t this the whole point of John Searl’s “the Chinese room” thought experiment? But does it matter what is actually going on inside the room, if the effect and function is indistinguishable? Edit: after conferring with ChatGPT, Searle’s point like yours is that the man in the room doesn’t understand Chinese, he is just manipulating symbols, but from the outside, the man in the room seems to speak fluent Chinese.
Re:CheatGPT on Monday February 20, 2023 @08:33PM (#34875347)
> they can't do math, work through basic logic problems

ChatGPT begs to differ:

Me: How do I measure 4 liters when I have a 3 liter bottle and a 5 liter bottle?

ChatGPT: Here are the steps to measure 4 liters using a 3 liter and a 5 liter bottle:

Fill the 5 liter bottle completely with water. Pour 3 liters from the 5 liter bottle into the 3 liter bottle, leaving 2 liters in the 5 liter bottle. Now you have 3 liters of water in the 3 liter bottle, and 2 liters of water in the 5 liter bottle. Empty the 3 liter bottle, and pour the 2 liters from the 5 liter bottle into the 3 liter bottle. Fill the 5 liter bottle again with water, and pour 1 liter from the 5 liter bottle into the 3 liter bottle, which already has 2 liters of water. You will be left with 4 liters of water in the 5 liter bottle, which is the desired amount.

Re:Alien Truth on Tuesday October 18, 2022 @10:51AM (#33248135)
Somethings in mathematics are constant, both here and on alpha centauri, like the circumference of a circle divide by its diameter is Π or the hypotenuse squared is the sum of each leg squared in a right triangle etc.
Re:Mendon, Missouri on Monday July 04, 2022 @12:10PM (#31978621)
On a larger scale, the US Marshall Plan to help Europe back on its feet after WW2 was immensely important for Europe and for individuals. My uncle got help funding a successful garment factory in Bergen, Norway. He could employ over a hundred women, many widows. Those who still remember are forever grateful to the US. The same uncle also told me about how the Flesland airport outside Bergen was constructed. For years there had been bikesheeding about building an airport outside Bergen. After the war, it was finally constructed when NATO needed an airport. The US army came in with large bulldozers, shaved off the hilltops and put it into the valleys between the hills and in short time a large airstrip was made.
Both have the same loincloth design and short hair.
DST must go! It’s giving whole countries jet lag two times per year. It’s like leaded gasoline for the collective mind, which BTW was introduced around the same time and also considered a good idea. Except there is no scientific reasoning behind DST. It’s purely for convenience for some. The astronomer who seriously proposed it wanted more daylight hours to devote to collecting and examining insects… Arghh
Cats & dogs mostly communicate with body language so this is of limited use. A translator model would need video for training. I can’t wait for the day when I can point my iPhone camera at a dog and learn what it tries to communicate. In the meantime we can learn the fascinating language of dogs, http://en.turid-rugaas.no/calming-signals---the-art-of-survi...
Re:Disney Claims Trademark over Loki on Friday June 18, 2021 @04:32PM (#27554692)
>Thor for example at least has been pretty popular from before

That’s safe to say. Thursday is literally Thor’s day

Re:The computer revolution hasn’t happened yet (1997) on Monday January 25, 2021 @10:45AM (#25904481)
Of course it has. Your smartphone is the manifestation. It replaces at least 40 functions and makes your life better. If you choose to use mostly the bad parts, that is on you. It’s like complaining about your car making your life worse, but you only drive in reverse and bump into things
There is one significant thing that C has and C++ has not; a stable ABI. This is particularly important if you want to create a library that can be shared and used by everyone. You cannot do that with C++ without a lot of caveats. Google, for instance, forbid creating libraries in C++ for good reasons. Creating a C++ library with a C ABI sounds stupid. I.e. if the library’s functions and types can be presented as simple C, you have already folded down to C and C++ is just an implementation detail and you will probably also have to static link libstdc++. That’s no longer a small, simple library anymore. The stable ABI makes C also famously easy to include and inter opt with other languages and frameworks. Swift for example can easily utilize C libraries and code but cannot inter opt with C++ (yet, apparently it’s wip)
It’s a failed code sign of some sort. E.g. and typically, the developer used an installer cert for an app.
Hmm, this techcrunch URL redirects me to https://guce.advertising.com/collectIdentifiers which my little snitch ad-filter blocks. In fact https://techcrunch.com/ does the same. Not a good move by techcrunch, I can't be the only one running host blocking of ad-servers
Re:Stockholm to reach herd immunity in May? on Saturday April 18, 2020 @05:51AM (#22906552)
Preparing for the previous war is a classic mistake. This is irresponsible by Sweden without more data on the virus. New reports indicate that we don’t develop enough antibodies for herd immunity to be an option and it is even worrisome w/r to developing a vaccine. https://www.reuters.com/article/us-health-coronavirus-immuni...

Older »