HNHacker News
TopNewBestAskShowJobs

Ysx

257 karma · joined December 10, 2008

submissionscomments
Ysx··on Dutch central bank moves 86 tonnes of gold from US citing 'geopolitical unrest'
A sad day for orange solidarity.
Ysx··on Falling fertility on the left as key driver of US birth decline
The environment is doomed either way without action. Is the issue that some demographics will become more dominant?
Ysx··on Backon – Python retry (zero deps, circuit breaker, async native)
It'd be helpful if the readme mentioned why someone would want to migrate from backoff.
Ysx··on What happened after 2k people tried to hack my AI assistant
#2 was noted:

> When the first few emails in a batch were obvious prompt injections, the agent became more suspicious of everything that followed. I had to change the setup so that each email was processed in a fresh context.

Ysx··on Tell HN: Happy Fathers Day
I don't care about 90% of the posts on this site, but enough are relevant to make it worthwhile.

It'd be silly to reply to the threads that don't interest me.

Ysx··on London Mayor Blocks Palantir
Less than 1000 employees in London, they're not a big deal in that sense.
Ysx··on Instructure pays ransom to Canvas hackers
> Each individual company is probably better off paying the ransom, but everyone would be better off if no one paid a ransom.

You're then a target known to be vulnerable and pay ransoms, so best focus on security.

Ysx··on Reddit User Uncovers Who Is Behind Meta's $2B Lobbying for Age Verification Tech
> Because social media already has the age info exactly?

Then it shouldn't be difficult to comply.

Ysx··on Janet Jackson had the power to crash laptop computers (2022)
> Yes, I know which “major computer manufacturer” it is, and no, I’m not telling. This is consistent with longstanding blog policy that companies are not identified in stories, because the point of the story to teach something, not to call out companies for derision.

From the follow-up post: https://devblogs.microsoft.com/oldnewthing/20220920-00/?p=10...

Ysx··on We reduced a container image from 800GB to 2GB
> For stuff like security keys you should typically add them as build args, not as content in the image.

Build args are content in the image: https://docs.docker.com/reference/build-checks/secrets-used-...

Ysx··on 'Do not trust your eyes': AI generates surge in expense fraud
https://archive.is/K2DFE
Ysx··on Ask HN: Is GitHub down?
They added a second token on Tuesday: https://github.blog/changelog/2023-06-27-github-actions-upda...
Ysx··on Synth pioneer and maker of ‘Popcorn’, Gershon Kingsley (2019)
For me it was Trollie Wallie on the C64, watching my dad play: https://youtu.be/wUYFslnvT6k?t=162
Ysx··on Ask HN: I've Built a DHT Torrent Sniffer and Search Engine. Should I Release?
DHT has existed for 17 years - the cat's out of the bag. The anti-piracy companies have built their own crawlers.
Ysx··on Why do recipe writers lie about how long it takes to caramelize onions? (2012)
It's only suction's caramalized onion pasta sauce if it comes from the self-loathing region of France. Otherwise it's just sparking onion sauce.
Ysx··on It is 2018 and this error message is a mistake from 1974
Perhaps you are not the centre of the universe.
Ysx··on Reddit user fixes Cyberpunk 2077 steam controller input bug through decompiling
> Please don't complain about website formatting, back-button breakage, and similar annoyances. They're too common to be interesting. Exception: when the author is present. Then friendly feedback might be helpful.

https://news.ycombinator.com/newsguidelines.html

Ysx··on Ask HN: 1Password vs. LastPass vs. Bitwarden for teams ?
It might be this issue, fixed 10th October: https://github.com/dani-garcia/bitwarden_rs/issues/1162
Ysx··on Dear Google Cloud: Your Deprecation Policy Is Killing You
Bitnami broke their MongoDB Helm chart. We're careful to pin versions, and hadn't anticipated someone would re-write history and break published code.

Can't get too upset, we don't pay them anything. Not in a rush to use them again though.

Ysx··on People work longer and different hours under lockdown
I think that's more applicable to remote work generally.

Lockdown is a different and and new scenario, more akin to Groundhog Day. Work can be a relief.

Ysx··on Build an Air Quality Monitor with InfluxDB, Grafana and Docker on a Raspberry Pi
I'd have solved it same way as the article, as they're tools I'm familiar with - feels like overkill though. How would you have managed it?
Ysx··on Chrome “clear cookies on exit” feature does not work
That's interesting... does it behave much differently to private windows?
Ysx··on W3C approves WebAuthn as the web standard for password-free logins
It's probably not the .NET you're thinking of: "By 2003, however, the .NET strategy had dwindled into a failed branding campaign"

https://en.wikipedia.org/wiki/Microsoft_.NET_strategy

Ysx··on When optimising code, never guess, always measure
Oh you're right, that's interesting - have replicated your result.

"a2 = a2+c; c = c+2" is still fastest on both 2 and 3, though don't know enough to say why.

Ysx··on When optimising code, never guess, always measure
Red herring perhaps - seems due to the inplace add. It's quicker yet if you take out the multiple assigment:

    $ for STMT in "a2, c = a2+c, c+2" "a2 += c; c += 2" "a2 = a2+c; c = c+2"; do
        echo \[$(python3 -m timeit "a2 = 1; c = 1; $STMT")\] $STMT
    done | sort -n
    [... 0.0547 usec per loop] a2 = a2+c; c = c+2
    [... 0.0569 usec per loop] a2, c = a2+c, c+2
    [... 0.0608 usec per loop] a2 += c; c += 2
Ysx··on Plastic Bag Found at the Bottom of World's Deepest Ocean Trench
There are some biodegradable plastic bags: https://en.wikipedia.org/wiki/Bin_bag#Biodegradable_plastic_...
Ysx··on Show HN: Mitmproxy 3.0 released, an open-source console-based proxy
There are tutorials on the v2 docs, might still be relevant?

https://mitmproxy.readthedocs.io/en/v2.0.2/tutorials/gamecen...

Ysx··on Previously Unknown Warhol Works Discovered on Floppy Disks from 1985 (2014)
The linked PDF is a better read: http://studioforcreativeinquiry.org/public/warhol_amiga_repo...

They mention Graphicraft was unable to load the images unless booted with a particular Kickstart version.

Ysx··on How “Exit Traps” Can Make Bash Scripts More Robust and Reliable
Beware that you can only have one EXIT handler. I've used this in the past figuring it's analogous to Go's `defer`, but unfortunately not.

e.g this script:

    #!/bin/bash
    trap 'echo Handler 1' EXIT
    trap 'echo Handler 2' EXIT
Will only call 'Handler 2' on exit.
Ysx··on A Universe in One Line of Code with 10 PRINT
I'm impressed C64 Basic had floating point!
Page 1 of 3Next →