HNHacker News
TopNewBestAskShowJobs

xxs

3,963 karma · joined April 3, 2014

submissionscomments
xxs··on We just shipped support for the ugliest part of HTTP: Vary
>to en-US would see the American site even if they live somewhere else.

Instead we have google that would serve the pages based off the local ip (and switch any time possible) which is a "horrific" experience travelling through Europe. You get a different language every day. Totally ignoring the accept-language header.

It's even funnier as the roaming would result in having the host mobile network IP regardless where a person resides - still ignoring the lang header, of course.

xxs··on Samsung accidentally freezes its smart fridges with a software update
...oddly enough:

  - it notifies if your kids (or spouse) have left the door open.
  - you can use as a tool to check if the power company (or the road maintenance one!) has managed to reconnect the power back (or cut it, as in literally)

  - Other than that not so much.
xxs··on Can gzip be a language model?
It's just this good.

On a more realistic note: few years back, I've added zstd compression to our log subsystem (hand written direct buffers, native code, in-process, java). For the same CPU utilization if provides twice dense compression compared to regular [-6] gzip (the topic in the title). Zstd is =much= faster on decompression as well, and it this case - unparalleledly better as it uses twice less disk.

zstd is 'silicon valley' (the tv show) - life imitates fiction, except entirely open source

xxs··on Can gzip be a language model?
> Windows users should use 7-Zip

Please no - no native zstd support. NanaZip is the better option (it's a different build of 7-zip) and it's available at windows store.

> Better compression format, unpacks more kinds of archives

winrar has supported zstd for 5 years[0]

In short - Everyone should be using zstd, and 7-zip does not support it.

[0]: https://www.win-rar.com/singlenewsview.html?&L=0&tx_ttnews%5...

xxs··on I don't like passkeys
Not sure this is what I meant. Password is still stored, along will all the keypass stuff. If you have the option to login with the keypass... or the password - possibly sending you a link (or code) to the email, in case the device/browser has not been seen, yet.
xxs··on I don't like passkeys
What prevents passkey being used alongside password (+ email 2fa)?
xxs··on Microsoft exec called AI scraping 'the largest theft of labor in human history'
Slavery is a weird one. It has been there for longer than any written history exists. In ancient times (Greece, Rome), slaves didn't have rights at all. A horrific injustice but it'd be not be a theft. Then you get the serfdom in the middle ages. Up to recent times humans have been brutally exploited.

The copy part was a recognized right, then taken away.

xxs··on Jemalloc 5.4.0
>...the vast majority of software was written in garbage collected language

and even then recently it costed (us) quite a few months to blame JVM and later the default glibc memory allocator for running out native (not java heap memory) - had to exclude all possible native libs (zlib, zstd via jna), direct buffers, sockets, thread stacks and so on. Changing the malloc to jemalloc solved the issue, even though initially it was done for its debugging capabilities.

It's just a great memory allocator.

xxs··on AWS says it can't restore some data from mideast facilities struck by Iran
I sounded all legit until the comma after "solutioned". I suspect that might be a fake.
xxs··on Nvidia announces native GPU programming in Rust
All of the examples read like: "The dude abides", except in a grotesque/parody way.
xxs··on Nvidia announces native GPU programming in Rust
2k cal would be around 250ml of oil. or 350grams of peanuts. So doing with bread, meat, and other stuff alike requires over 600g of food, an excellent value to energy.
xxs··on Nvidia announces native GPU programming in Rust
I'd consider that a joke - but also zero issue using any words talking in front of kids. You might wish to explain them anyways.
xxs··on JEP 544: Ahead-of-Time Code Compilation
if that's any help: (guessing) you have tons of dependencies in multiple jars, if you bundle them all in a single jar (i'd not even compress it), the startup time would massively decrease. Stuff like dependency injection, makes the issues worse.

Lots of the strautup time is class resolution/loading. With that being said - some time last year I ended up optimizing on the main application servers developers run with startup time being over 90s (and often times close to 3min), down to 11seconds (still tons of access of database configurations, secrets, discoveries, and what not). One of the main optimizations was runtime build up of a single jar with the classes being loaded, and then concurrently verifying the classes/resources have not changed.

xxs··on Mathematicians want proof OpenAI didn't use their work
> they were hacked and their current work in progress 'stolen'

in most jurisdictions it'd constitute a crime.

xxs··on Mathematicians want proof OpenAI didn't use their work
undisclosed ones in this case
xxs··on Mathematicians want proof OpenAI didn't use their work
It's the 'conversations' of some mathematicians with OpenAI. So the question is: did anyone feed the conversation(s) back as training data.
xxs··on Mathematicians want proof OpenAI didn't use their work
a quote from the article: "Thom said it “would be ethically indefensible” if nonpublic research supplied by users helped to improve models that the company then used to race those very same users to publication, without consent, proper disclosure, or credit."
xxs··on iPhone Duo
>always have your phone with you, but often don't have a tablet or laptop.

I cant do any work on a phone or tablet (emails dont count). Laptops are fine, of course. Comparing to laptops just makes too little sense. The thing is over 1cm tick when folded - making it extra difficult to put in any front pocket (or I will have get skinnier hips)

xxs··on iPhone Duo
The only thing that matters about tests - if they are fair, it's up to you to decide if the tests apply to your case.
xxs··on bzip3
Nice catch.

it has been a long time since: "lies, damn lies, benchmarks" failed to hold true. Sometimes I wonder why gaming benchmarks has become so common.

xxs··on 216M Spy TVs – The LG Smart TV Problem [video]
A note => any speaker works as microphone.

When I was a kid we used vacuum tube radio both as a passive speaker and a microphone... connected to the speakerphone of a telephone as a very poor man walkie-talkie.

Using the speakers as microphone when there is no outgoing sounds is pretty trivial in that regard. I don't know how paranoid a person can be, though.

xxs··on Please don't rearrange our shoes when we turn up, paramedics in Japan urge
more like(ly) polyurethane, not rubber. however any sand would scratch wooden floors
xxs··on Reasons robotics is hard
Small cleaning robots have existed for long enough. For floor sweeping they are more efficient than any 2-legged form.

Not folding the laundry, though.

xxs··on Dutch central bank moves share of gold from U.S., Canada to London
likely at some point the gold bars would be ferried as well if the 1s and 0s fail to balance anytime soon(ish)
xxs··on Dutch central bank moves share of gold from U.S., Canada to London
gold has quite the inherent value - no oxygen reaction (all electronics) and partly jewelry.

if the gold has cheaper would be used quite alot due to being the only metal not oxidizing (the other one being platinum which is even rarer and comes from the same ore source)

xxs··on Fastpotify
> “not looking like it was made with injection molding”

Aside machining POM, what else is there. Injection molding tend to be great.

xxs··on Hacking IKEA Furniture
Solid wood is cool in a way of being cool. It's dimensionally unstable to a point is not permitted for cabinetry in some countries. Also it's expensive and it takes a lot of time for a tree to grow to be turned into furniture.

In that regard plywood (or glulam) is still wood that can be laminated and stained/oiled, if one insist on wood.

xxs··on Hacking IKEA Furniture
>would be very expensive

very doesn't even begin to make it justice.

xxs··on Hacking IKEA Furniture
>However, everything goes to hell once you try to take it apart.

You are not supposed to do that, and if you do - use PVA and epoxy, +metal insert and machine bolts to reassemble

xxs··on It takes 5 cloud services to hear my doorbell
The activation, door knob can be trivially implemented with just piezo-crystal pulse and some radio (433MHz). No battery required, either.
Page 1 of 34Next →