News for hackers. Stuff that matters.

nanis

Re: on Wednesday September 30, 2026 @07:34PM (#49915843)
> if she finds an error to gain more XP

What does this mean?

Tell HN: TIL accessing old.reddit.com now requires accounts

I deleted my Reddit account a long time around the beginning of the hostilities, but still occasionally visit via search results. In that case, I usually try to switch to `old.reddit.com` because the "ugly" UI is clearly better.Anyway, today, I got a modal dialog demanding account creation. I was not aware of this and I hadn't seen it mentioned anywhere. FYI.

( Read More... | 7 comments | 7 points | on HN )
Re:Chat Control 1.0 and 2.0 Explained on Wednesday July 08, 2026 @09:46AM (#48831917)
Because no one around me understood how to calculate false positive/false negative probabilities, I put together this calculator[1] in 2020.

[1]: https://www.covid2020.icu/false-positive-false-negative-simu...

Re:A new Android malware from Google on Thursday July 02, 2026 @07:12AM (#48759585)
> Governments need to wake up to this insane level of Evil

Governments are made up of people. People who have at best median level understanding of the things they are ruling about but great self-interest in following the biggest purse to which they can attach themselves.

I was able to test the keystroke-doubling and that works well in Windows Terminal now. I am going to try out the formulas later.
This looks good, but, I noticed:

> Supported Functions (v1) > SUM, AVERAGE, COUNT, MIN, MAX, IF

I would recommend switching to numerically stable algorithms for adding numbers and taking their averages sooner rather than later.

Looking at the code[1], it looks like you are simply summing the numbers and dividing by count. If that is indeed the case, please switch to a stable average[2]. See also [3].

Additionally, I tried to test the executable[4] on Windows, but there is something wrong with input. Using Windows Terminal Version: 1.24.10921.0, characters are doubled on input. Regular Vim compiled using Visual C++ does not have this issue.

When I press `:`, I get `::` in the COMMAND line. Then, every key I press gets doubled. This means I cannot `:q!`. :-)

[1]: https://github.com/garritfra/cell/blob/99b0afc7a60a871b27452...

[2]: https://www.nu42.com/2015/03/how-you-average-numbers.html

[3]: https://en.wikipedia.org/wiki/Algorithms_for_calculating_var...

[4]: https://github.com/garritfra/cell/releases/tag/v0.2.0

Re:Revocation of X.509 Certificates on Monday April 27, 2026 @06:37AM (#47919861)
Might want to add /sarc just in case someone believes it :-)
Re:Interview with Øyvind Kolås, GIMP developer on Sunday March 01, 2026 @10:09AM (#47207400)
> Unfortunately, the rest of the interviews from that event have never seen the light of day - until now!

Not really -- It invites speculation as to why they were not published for 9 years. And, are the words spoken a decade ago still valid?

Re:Interview with Øyvind Kolås, GIMP developer on Sunday March 01, 2026 @09:40AM (#47207130)
> 2026-02-22 by GIMP Team

I am confused

> This interview took place on February 4th, 2017

Re:Show HN: TinyPDF – 3KB PDF library (70x smaller than jsPDF) on Saturday December 20, 2025 @07:30AM (#46335708)
HTML + CSS works great for this kind of thing. Once you get the print scope correct, you really never need to think about it again.
> too much punctuation

I thought you were joking. ... After a while, I started expecting a comma after each and every word.

Re:The Dark Side of the Moomins on Sunday April 13, 2025 @09:56AM (#43672839)
First time I heard about the Moomins. I thought this was about Mumins[1].

[1]: https://en.wikipedia.org/wiki/Mumin

Re:A Farewell to the ArcoLinux University on Sunday April 13, 2025 @09:25AM (#43672654)
It is your twist and unjustifiable generalization of the author's words about the author himself:

> "aging is a synonym of cognitive decline"

compared to:

> As I near 60, I’ve come to realize I simply don’t have the same mental sharpness or stamina I used to.

The author did not say anything about anyone else.

Synoym: https://www.bennetyee.org/http_webster.cgi?isindex=synonym&m...

This is why Firefox's changes are so frustrating[1].

[1]: https://news.ycombinator.com/item?id=43203096

Re:Mozilla deletes promise to never sell Firefox data on Friday February 28, 2025 @05:21AM (#43203975)
This is pure speculation, but what are the chances this change is simply an attempt to provide legal cover what they might have started doing 50 versions ago?[1]

[1]: https://news.ycombinator.com/item?id=29082856

Re:Calculating the largest known prime in Ruby on Saturday November 30, 2024 @07:28AM (#42281185)
1 is 2 to the power 0 ... 0b0001

shifted left once, it becomes 2 to the power 1 ... 0b0010

shifted left twice, it becomes 2 to the power 2 ... 0b0100

shifted left three times, it becomes 2 to the power 3 ... 0b1000

etc until

shifted left 136_279_841 times, it becomes 2 to the power 136_279_84 ... 0b1000...many zeros...0000

subtract 1, it becomes

0b0111...many ones...1111

Re:Access for Infrastructure: SSH on Sunday October 27, 2024 @06:33PM (#41966219)
This was corrected to:

> ... SSH certificates issued by the Cloudflare CA include a field called valid_principals

which indicates it wasn't just the spelling of `principals`.

Re:Access for Infrastructure: SSH on Thursday October 24, 2024 @06:58AM (#41934270)
> the SSH certificates issued by the Cloudflare CA include a field called ValidPrinciples

Having implemented similar systems before, I was interested to read this post. Then I see this. Now I have to find out if that really is the field, if this was ChatGPT spellcheck, or something else entirely.

Re:Pretty.c on Thursday October 24, 2024 @06:28AM (#41934108)
> if (argc above 1)

I give up.

Re:Htmx, Raku and Pico CSS on Sunday September 08, 2024 @09:35PM (#41484773)
> I am a simple sole, ... go back to the halcyon early days of the web before Netscape dropped the JS-bomb. You know HTML for the layout and CSS for the style.

I am not sure if this is intended as humor, but JavaScript came before CSS.

Re:Ask HN: Resources about math behind A/B testing on Saturday August 10, 2024 @06:47AM (#41208617)
Early in the A-B craze (optimal shade of blue nonsense), I was talking to someone high up with an online hotel reservation company who was telling me how great A-B testing had been for them. I asked him how they chose stopping point/sample size. He told me experiments continued until they observed a statistically significant difference between the two conditions.

The arithmetic is simple and cheap. Understanding basic intro stats principles, priceless.

Re:Robots on Lake Michigan beaches to prevent drownings on Monday June 24, 2024 @07:03PM (#40782076)
Number one criterion for finding a good beach to swim: A prominent sign saying "Swim at your own risk: No lifeguard on duty."
Re:Workman Layout for Vim on Monday April 08, 2024 @09:25PM (#39975458)
This[1] links to http://www. workmanlayout.com/blog/ which is a 404. (space inserted to avoid auto link generation).

Going to the main page of that site reveals some articles from the past few years, but also has online casino and crypto links disguised as posts. E.g.:

> is your premier source for crypto insights, covering the latest news, trends, and guides on blockchain, cryptocurrencies, and cybersecurity. Whether a beginner or a pro, you can find valuable information and tips to stay ahead in the Web 3.0 era.

Weird and shady.

I keep seeing all these people fancy keyboards and interesting looking layouts except that it takes them six to 10 attempts to type anything correctly. Don't really get the point, but having got curious about this "workman" layout and regretted trying to find out.

I was thinking of a pane layout manager ... Anything like that around?

[1]: https://axiomatic.neophilus.net/workman-layout-for-vim/

Re:Mozilla will be retiring the Mozilla Location Service on Saturday March 16, 2024 @09:44AM (#39725848)
The rather troubling part of this announcement in a GitHub issue is that this nugget comes out in a seemingly innocuous comment[1]:

>> Firefox still uses MLS for `browser.region.network.url`; will that also move to Google Location Services?

> This endpoint will be migrated to another service (classify-client) that will return the expected response. We'll adjust DNS entries when it's time to make that move so firefox won't see any difference.

What exactly is this "classify-client" service?

Note also this led me to discover for the first time that this is a thing[2]:

> Geolocation for default search engine

> In order to set the right default search engine for your location, Firefox will perform a geolocation lookup once by contacting Mozilla's servers and store the country-level result locally. This connection happens on the first start of Firefox – in case you want to prohibit that, you will have to preconfigure the browser and set the browser.search.geoip.url preference to a blank string.

Also related is [3].

[1]: https://github.com/mozilla/ichnaea/issues/2065#issuecomment-...

[2]: https://support.mozilla.org/en-US/kb/how-stop-firefox-making...

[3]: https://old.reddit.com/r/firefox/comments/iq27wa/disabling_l...

A much more logical inference would have suggested that being surrounded with other individuals with familial ties is important, not others who are only there purely based on financial motives.
> [The Queen] granted her charter to their corporation named Governor and Company of Merchants of London trading into the East Indies.[15] For a period of fifteen years, the charter awarded the company a monopoly[26] on English trade with all countries east of the Cape of Good Hope and west of the Straits of Magellan.[27] Any traders there without a licence from the company were liable to forfeiture of their ships and cargo (half of which would go to the Crown and half to the company), as well as imprisonment at the "royal pleasure".[28]

Government granted monopoly.

https://en.wikipedia.org/wiki/East_India_Company

Re:Chess, unlike war, is a game of perfect information on Friday April 14, 2023 @08:47PM (#35576612)
Exactly. In particular, "perfect information" means you know all the strategies available to your opponent. You also know that your opponent knows this. And you know that your opponent knows that you know that your opponent knows that you know all the strategies to your opponent ad infinitum symmetrically.

In this context, a strategy is a function that maps every history of moves by you and your opponent to an action. So, while chess is theoretically a game of perfect information, in practice it is less so.

Real war is not a game of perfect information, because you do not know all the strategies available to your opponent. In addition, you and your opponent's priors may have an intersection of zero measure which makes things very interesting.

War is what happens when a certain kind of people try to play the game of chicken which is usually not taught in the kind of fun programs like master's of international studies for members of the preferred party because it is too sophisticated due to the fact that it admits an infinite number of Nash equilibria ... instead, such programs prefer to focus on prisoners' dilemma which, having a dominant strategy equilibrium, is more suitable to ensure such students can go back to the bureaucracy after having passed their classes with perfect As and get us in to war.

What are the "legitimate" uses cases for this kind of service where they would expect to make money from individuals who want their voices cloned? Dub movies? Audiobooks?

Older »