HNHacker News
TopNewBestAskShowJobs

j16sdiz

3,605 karma · joined May 3, 2018

submissionscomments
j16sdiz··on iCloud Photos Downloader
> ... Apple’s naming convention.

No, it is not. It came from DCF standard that predates smart phones.

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

j16sdiz··on Gadget Exposed a Spy Camera [video]
Most of these alphabet soup brands are just reselling the same OEM/White label product from China.

Most of them time, they kind of works... but you can't find any meaningful review because they are white labels =/

j16sdiz··on Creators of Tailwind laid off 75% of their engineering team
I can't imagine how it could work internationally, when people can literally migrate between countries and countries ain't sharing resources for free
j16sdiz··on Databases in 2025: A Year in Review
Are there any new big research/development in immutable database?

I know they are great... but i don't see many news around them

j16sdiz··on Building a Rust-style static analyzer for C++ with AI
Small tips:

When LLMs try to do the wrong thing, don't correct it with new instruction. Instead, edit your last prompt and give more details there.

LLM have limited context length, and they love stuck to their previous error. Just edit the previous prompt. Don't let the failed attempt pollute your context.

j16sdiz··on Building a Rust-style static analyzer for C++ with AI
It need new annotations. (see the paragraph under "Comment-Based Syntax")
j16sdiz··on LLMs Are Currently Not Helpful at All for Math Research: Hamkins
> The frustration, for Hamkins, goes beyond mere incorrectness—it’s the nature of the interaction itself that proves problematic.

I would assume pairing LLMs with a formal proof system would help a lot. At the very least, the system can know what is incorrect, without lengthy debates, which frustrate him most.

This won't help the system discover or solve new math, but it make the experience far more endurable.

j16sdiz··on During Helene, I just wanted a plain text website
Agree.

Let time I visit the USA, many shop don't have changes for $100 bills. I found $20 bills the easiest to use.

(I am not an American, was on a work trip)

j16sdiz··on Lessons from 14 years at Google
> removing human labor from production

Karl Marx would argue this evil because this take away the value and job satisfaction from the labour.

https://en.wikipedia.org/wiki/Marx%27s_theory_of_alienation

j16sdiz··on IPv6 just turned 30 and still hasn't taken over the world
> In 2026 it does not.

There are no ISP providing ipv6 for home and mobile users here in hong kong

j16sdiz··on If you care about security you might want to move the iPhone Camera app
The same API needed for Little Snitch can be used for surveillance. See Facebook/Onavo.
j16sdiz··on Bluetooth Headphone Jacking: A Key to Your Phone [video]
You can't change the device class.

It would be an vulnerability on the host stack to accept that.

j16sdiz··on When compilers surprise you
The first thing I had in mind was: the final answer needed to be /2. keeping the number before dividing not overflowing needs some tedious work
j16sdiz··on Adobe Photoshop 1.0 Source Code (1990)
Reading the full function here https://github.com/amix/photoshop/blob/2baca147594d01cf9d17d...

If I understand it correctly, it was calculating the top-left point of the bounding box.

j16sdiz··on Adobe Photoshop 1.0 Source Code (1990)
BSR = bitwise right-shift

ORD4 = cast as 32bit integer.

BSR(x,1) simply meant x divided by 2. This is very comment coding idom back in those days when Compiler don't do any optimization and bitwise-shift is much faster than division.

The snippet in C would be:

    pt.h = (r.left + (int32_t)r.right) / 2;
    pt.v = (r.top + (int32_t)r.bottom) / 2;

    pt.h -= (width / 2);
    pt.v -= (height / 2);
  
    pt.h = max(0, min(pt.h, fDoc.fCols - width));
    pt.v = max(0, min(pt.v, fDoc.fRows - height));
  
    if (width > fDoc.fCols) {
      pt.h -= (width - fDoc.fCols - 1) / 2;
    }
  
    if (height > fDoc.fRows) {
      pt.v -= (height - fDoc.fRows - 1) / 2;
    }
j16sdiz··on Deplatforming Backfired
Removing Trump from Twitter didn't stop people from voting him.

Removing 60 Minutes from CBS doesn't stop people like you from on elsewhere.

Instead, it fuel them to post elsewhere.

Deplatforming didn't work, and deplatforming doesn't work now.

j16sdiz··on Ultrasound Cancer Treatment: Sound Waves Fight Tumors
I read it three time and can't see anything related.
j16sdiz··on FCC Updates Covered List to Include Foreign UAS and UAS Critical Components [pdf]
Well.. DJI have on-the-fly no fly zone update, and newer model can communicate via satellite.

That's worse if you believe there are possibility of war...

j16sdiz··on It's Always TCP_NODELAY
If your application need that level of control, you probably want to use UDP and have something like QUIC over it.

BTW, Hardware based TCP offloads engine exists... Don't think they are widely used nowadays though

j16sdiz··on Rust's Block Pattern
> This is why I generally avoid C’s “bottom-up” strategy for organizing code.

I think the author misunderstood something....

j16sdiz··on If AI replaces workers, should it also pay taxes?
AI and Robot can replace public funded road?
j16sdiz··on Programmers and software developers lost the plot on naming their tools
it should have been called chlorine for "Cl" is the cryptography library in "NaCL"
j16sdiz··on Nokia N900 Necromancy
> The N900 that lays next to me right now still works as a phone.

It soon won't be. 3G and 2G network are being depreciated quickly around the world

j16sdiz··on 10 Years of Let's Encrypt
I think it is working as intended.

Register a corporation often meant it is linked to a real life, government issued ID.

If you do scam or fraud on that web site, they know where to find you.

... unless, of course, if the CA ain't doing the verification.....

j16sdiz··on Bruno Simon – 3D Portfolio
work for me on firefox on mac
j16sdiz··on Rust in the kernel is no longer experimental
> The true future of "safe" software is already here, JavaScript.

only in interpreter mode.

j16sdiz··on 10 Years of Let's Encrypt
Many CA have in browser javascript-based private key generation.

(Of course the same page have GoogleAnalytics and facebook button -- otherwise it would be too secure.)

j16sdiz··on If you're going to vibe code, why not do it in C?
Haskell need a runtime environment for memory management.

Linux want all memory management explicit.

j16sdiz··on If you're going to vibe code, why not do it in C?
That time can be spent on solving rust type puzzles
j16sdiz··on OSHW: Small tablet based on RK3568 and AMOLED screen
also, they were taking advantage of free sampling of JLCPCB in China. The main pcb is basically free
← PreviousPage 12 of 34Next →