HNHacker News
TopNewBestAskShowJobs

U1F984

333 karma · joined April 26, 2021

submissionscomments
U1F984··on RTK reports token savings, but our cost benchmarks disagree
Not all, but definitely on some. I also find it very off-putting.
U1F984··on WASM is not quite a stack machine
Java does use dup in some cases, e.g.

   public static void test() { 
      new Object();
   }

         0: new           #2                  // class java/lang/Object
         3: dup
         4: invokespecial #1                  // Method java/lang/Object."<init>":()V
         7: pop
         8: return
U1F984··on I Ported SAP to a 1976 CPU. It Wasn't That Slow
From the article: Lookup tables are always faster than calculation - is that true? I'd think that while in the distant past maybe today due to memory being much slower than CPU the picture is different nowadays. If you're calculating a very expensive function over a small domain so the lookup fits in L1 Cache then I can see it would be faster, but you can do a lot of calculating in the time needed for a single main memory access.
U1F984··on First proof that "plunging regions" exist around black holes in space
I can't find anything about these low gravity regions (Google redirects me to your post) but they sound interesting. Can you share some reading material?
U1F984··on Android's theft protection features
I checked on my OnePlus 7 and indeed it's possible by default. There is a setting to disable access to the notification (/setting) drawer from the lock screen at least in Oxygen OS though.
U1F984··on How to install Linux from a Windows installer
This is actually possible. There's Linux tools to extract the WIM files from a Windows installation iso. You have to create the appropriate partition setup (EFI partition with bootloader, NTFS partition with the extracted files), and for configuration of the bootloader I created https://github.com/U1F984/create_bcd/
U1F984··on Pg_hint_plan: Force PostgreSQL to execute query plans the way you want
Not sure why this is down voted, I also looked into this at some point but was unable to find a solution.
U1F984··on JEP draft: String Templates (Final)
The somehow is explained quite well at the end - they discussed different approaches and why they chose the current one.
U1F984··on Bun 0.6
A Java Runtime for Hello world is just 32 MB: https://adoptium.net/blog/2021/10/jlink-to-produce-own-runti...
U1F984··on GitHub is down?
Also down for me.
U1F984··on If you can read this, your browser captions are broken
That's what "forced captions" are for: they will only show subtitles for the scenes where foreign languages are spoken.
U1F984··on Passwordless Authentication – Access Your Bitwarden Web Vault Without a Password
The option is only available for known devices, which should make it more difficult to pull this off.
U1F984··on Airbnb on Android just send a “Test, Test dev" push notification message
Same here, three minutes ago. Maybe their Key was leaked as well? I recall a similar issue happened with Firebase: https://cybernews.com/security/exposed-google-keys-leaves-bi...
U1F984··on Minify your container
For Go you can use FROM scratch and save a couple more megabytes.
U1F984··on Rust without the async (hard) part
There's a neat crate for that I recently found: https://crates.io/crates/pollster
U1F984··on JEP proposed to target JDK 19: 425: Virtual Threads (Preview)
Apparently it's already being taken into consideration:

> The optimization should work with Project Loom when it becomes available.

U1F984··on Google gives Europe a ‘reject all’ button for tracking cookies
Yeah, it's a requirement by law, tracking must be disabled unless explicitly allowed. Accepting all must be as easy as denying. However a lot of sites offer an easy one-click accept all and the deny all is behind a two step "configure" + "confirm selection", sometimes even with a fake save timer.
U1F984··on Ask HN: What’s a good laptop for software development at around $2k?
Does anyone have a recommendation for a remote desktop software for Linux? Specifically one that also supports using a browser, video, etc. RDP (server) with proper GPU acceleration works great for this, but unfortunately is Windows only.
U1F984··on Server-Sent Events: an alternative to WebSockets
The extra setup step for websocket should not be required: https://caddyserver.com/docs/v2-upgrade#proxy

I also had no problems with HAProxy, it worked with websockets without any issues or extra handling.

U1F984··on Open-Sourcing our Firmware
There is the Accept-Language header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Ac...
U1F984··on Mold 1.0: the first stable and production-ready release of the high-speed linker
Lots of interesting things in the design document: https://github.com/rui314/mold/blob/main/docs/design.md
U1F984··on No more painkillers A side-effect free, and drug-free method to relieve pain
Original paper/article: https://www.science.org/doi/10.1126/sciadv.abj2847
U1F984··on Shenandoah in OpenJDK 17: Sub-millisecond GC pauses
Yes, the original Java edition is still in Java. There's now a C++ edition called bedrock as well.
U1F984··on Mailchimp insiders react to employees getting no equity from Intuit sale
https://archive.is/U7KvJ
U1F984··on Service-Oriented vs. Monolith: Organizational Perspective
Seems to be regional then; a large pizza in my area is 32 cm.