News for hackers. Stuff that matters.

dperrin

Re:Adding an imaginary unit to a finite field on Sunday November 16, 2025 @07:16PM (#45949757)
Spitballing here, but I suspect it's a density thing. If you are considering all prime powers up to some bound N, then the density of prime powers (edit: of size p^n with n > 1) approaches 0 as N tends to infinity. So rather than things being 1/4 like our intuition says, it should unintuitively be 1/2. I haven't given this much thought, but I suspect this based on checking some examples in Sage.
Re:Do not download the app, use the website on Sunday July 27, 2025 @07:46AM (#44700609)
I've never considered something like this before. I like the way you've phrased this too. I'm going to give this a shot for a few weeks.
Just speculating here, but isn't it quite possible someone wasn't intentionally sitting on it for 14 years and instead just couldn't access it? For example, if they've been sitting in prison this whole time. Something like that seems (statistically anyway) more plausible to me than getting lucky on guessing a key.
They recently gave out some 3-month free trial vouchers for users to give to friends. I have a spare one that I’d be happy to share with you if you’d like. Though I don’t know the best way to get it to you since I don’t think HN has DM functionality. Username is dperrin.01 on Signal if you’d like it.
Cool idea! Any chance you’ll make it available in New Zealand? I’d love to try this out.
Re:Bike Manufacturers Are Making Bikes Less Repairable on Monday October 14, 2024 @08:49PM (#41843807)
In the thermal runaway video, you have steel bars holding the battery down. Is there risk of the battery casing blowing apart without that steel holding it down?
Re:Apple Shares Full iPhone 16 and iPhone 16 Pro Repair Manuals on Saturday September 21, 2024 @01:34AM (#41607741)
> Do you expect your iPhone 16 battery press tool to still be useful in 2 phone generations ? How many times do you see yourself replacing the iPhone 16's battery ?

Lots of my bike tools I have will take over a decade to get my money back on my stuff alone. But I get to do something I mostly enjoy. I can also help out friends/acquaintances when they need it. The same goes for this.

Re:Kagi: Announcing The Assistant on Thursday September 05, 2024 @02:49AM (#41454211)
Sorry to hear your experience hasn’t been great. I’ve been using it from NZ for the last six months and haven’t noticed any speed differences. Just did trips to Canada and the US recently and I didn’t notice any difference in performance.
Re:Is the $139 Amazon Prime Subscription Still Worth It? on Sunday February 04, 2024 @01:21AM (#39248063)
Are you a student? Price is showing as 99 CAD/yr otherwise.
Not sure on the accuracy or if it applies to you, but prior to getting the septoplasty my ENT did mention it might not make a big difference if overweight or obese and so often doesn’t recommend it in those cases.

For comparison, I used some of those nasal strips before surgery and the post-surgery were very comparable, so that might be an inexpensive option to try? I also recall someone mentioning some sort of nose plug thing from Amazon you could get that does the same thing.

With the exception of losing weight (already a 22 BMI) I tried pretty all of this to no avail. Turns out I had a deviated septum and surgery fixed the problem. As a bonus, I can easily breathe through my nose now.
Re:A gentle introduction to two's complement on Thursday November 23, 2023 @01:47AM (#38390088)
When I first learned two's complement I sort of accepted it as something to memorise for a test and didn't really understand (or care) why it worked.

What really made it click for me was thinking of it as modular arithmetic. If you consider 8-bit integers, they range from 0-255 and you're actually working modulo 256. So you can think of 0-127 as your non-negative numbers. The numbers from 128-255 behave as negatives modulo 256 (e.g. -1 mod 256 = 255).

Re:Intro to Cryptography [pdf] on Saturday July 01, 2023 @10:56PM (#36557756)
I’m curious why you think mathematics doesn’t need to be covered here. Immediately after covering the maths background, the author jumps into elliptic curves and I can’t think of how to understand that without understanding a little bit finite fields and groups. The maths covered seems essential for almost the entire last third of the book.