HNHacker News
TopNewBestAskShowJobs

vhcr

642 karma · joined November 19, 2022

submissionscomments
vhcr··on On doing hard things
A 25cm run / walk sounds way too short.
vhcr··on Ask HN: People who work different timezones than your company. How sched?
I prefer working with teams to the west, I'm a night owl, so I can start my day at 11 am.
vhcr··on YouTube No Translation
Google is the worst when it comes to i18n, I speak both Spanish and English, it translates reviews automatically to English, but at the same time will show me content in Spanish when I searched for something in English.
vhcr··on BusyBeaver(6) Is Quite Large
Nobody can give you that number, because it's way bigger than what can be represented in the universe.
vhcr··on Bot or Human? Creating the Invisible Turing Test for the Internet
The default policy of anubis tries to detect bots and changes the difficulty of the proof of work based on that.

https://github.com/TecharoHQ/anubis/blob/main/data/botPolici...

vhcr··on A new PNG spec
That's what OptiPNG already does.
vhcr··on Tesla launches robotaxi rides in Austin
Humans on the aggregate can definitely get better, that's why Norway has 2.14 / 100k traffic-related deaths per year and the United States has 12.84 / 100k.
vhcr··on Homomorphically Encrypting CRDTs
Now you need a consensus algorithm.
vhcr··on Ask HN: What would you work on if you couldn't fail?
https://www.aicr.org/resources/blog/study-vast-majority-of-c...
vhcr··on Where in the world are babies at the lowest risk of dying?
As does Japan, Ehime has a 0.9 / 1000 infant mortality rate, compared to 4.5 in Fukui.
vhcr··on (On | No) Syntactic Support for Error Handling
Would be nice if code editors colored it differently so it's easier to see.
vhcr··on The ‘white-collar bloodbath’ is all part of the AI hype machine
https://en.wikipedia.org/wiki/AI_effect
vhcr··on Using lots of little tools to aggressively reject the bots
And? If your network allows malware you should be blocked.
vhcr··on WebGL Water (2010)
The "problem" with it is that you only learn about fragment shaders, you should also learn about the WebGL API, and vertex shaders.
vhcr··on Databricks in talks to acquire startup Neon for about $1B
Have you tried being less jaded? Running a database is NOT about the hardest thing you can do.
vhcr··on Stuffed-Na(a)N: stuff your NaNs
Running the following snippets:

    f = new Float64Array(1)
    dv = new DataView(f.buffer)
    dv.setBigInt64(0, -123n)
    console.log([...new Uint8Array(f.buffer)])

    f = new Float64Array(1)
    new BigUint64Array(f.buffer)[0] = -123n
    console.log([...new Uint8Array(f.buffer)])

    f = new Float64Array(1)
    f[0] = new Float64Array(new BigUint64Array([-123n]).buffer)[0]
    console.log([...new Uint8Array(f.buffer)])

    f = new Float64Array([NaN])
    console.log([...new Uint8Array(f.buffer)])
I get on Chrome:

    [255, 255, 255, 255, 255, 255, 255, 133]
    [133, 255, 255, 255, 255, 255, 255, 255]
    [133, 255, 255, 255, 255, 255, 255, 255]
    [0, 0, 0, 0, 0, 0, 248, 127]
And on Firefox:

    [ 255, 255, 255, 255, 255, 255, 255, 133 ]
    [ 133, 255, 255, 255, 255, 255, 255, 255 ]
    [ 0, 0, 0, 0, 0, 0, 248, 127 ]
    [ 0, 0, 0, 0, 0, 0, 248, 127 ]
It looks like both implementations are buggy, Since both the DataView and buffer versions should be normalized.

https://bugzilla.mozilla.org/show_bug.cgi?id=1393085

vhcr··on Eurorack Knob Idea
The Yamaha Disklavier has solenoids on every key, so you could disable every key but the one you want by moving them downwards.

It already has a similar feature called SmartKey: https://www.youtube.com/shorts/_Qj33POZCyA

vhcr··on DeepMind releases Lyria 2 music generation model
https://github.com/deezer/spleeter

https://github.com/facebookresearch/demucs

vhcr··on Creating your own federated microblog
I hate that the conversation online has moved from distributed to federated, I understand that running p2p software is harder for the user, but I feel like actually distributed microblogging / social networks are the right choice going forwards.
vhcr··on Anubis Works
Until someone writes the proof of work code for GPUs and it runs 100x faster and cheaper.
vhcr··on Anubis Works
I used to have an ISP that would load balance your connection between different providers, this meant that pretty much every single request would use a different IP. I know it's not that common, but that would mean real users would find pages using anubis unusable.
vhcr··on Anubis Works
Because it's not a lot of CPU, you only have to solve it once per website, and the default policy difficulty of 16 for bots is worthless because you can just change your user agent so you get a difficulty of 4.
vhcr··on Italy demands Google poison DNS under strict Piracy Shield law
DoH over Tor
vhcr··on FOSS infrastructure is under attack by AI companies
Anubis is only going to work as long as it doesn't gets famous, if that happens crawlers will start using GPUs / ASICs for the proof of work and it's game over.
vhcr··on FOSS infrastructure is under attack by AI companies
That already existed a few years ago, Coinhive, and everybody hated it.
vhcr··on Powers of 2 with all even digits
Here's a really dumb algorithm:

    for i in range(1, 10**10):
        for k in range(1, 5):
            s = str(pow(2, i, 10**(10**k)))
            if '1' in s or '3' in s or '5' in s or '7' in s or '9' in s:
                break
        else:
            print(2**i)
It's really easily to parallelize, I was able to run it up to 10**8 in about 15min, so you would be able to run it up to 10**10 in a few hours with parallelization.
vhcr··on It's not a crime if we do it with an app
https://en.wikipedia.org/wiki/Onion_Futures_Act
vhcr··on Why is hash(-1) == hash(-2) in Python?
Somewhat related, hash() returns a result % sys.hash_info.modulus, so if you build a set or a dict with keys multiple of sys.hash_info.modulus, you run into quadratic behavior.

    >>> {i * sys.hash_info.modulus for i in range(5000)}
    0.40s
    >>> {i * sys.hash_info.modulus for i in range(50000)}
    29.34s
    >>> {i for i in range(50000)}
    0.06s
vhcr··on Zebrafish protein unlocks dormant genes for heart repair
Under a monophyletic definition, mammals are fish.
vhcr··on China reduced sulphur dioxide emissions by more than two-thirds in past 15 years
You're comparing TW vs TWh, according to Our World in Data, the global fossil fuel production in 2023 was 140231TWh vs 8988TWh for renewables.

- https://ourworldindata.org/fossil-fuels

- https://ourworldindata.org/renewable-energy

← PreviousPage 3 of 8Next →