HNHacker News
TopNewBestAskShowJobs

dependenttypes

1,649 karma · joined January 1, 2019

submissionscomments
dependenttypes··on C’s Biggest Mistake (2009)
> since C doesn't ... check for overflows

Because it's a language, not an implementation. An implementation is free to do so (and there are such implementations after all).

dependenttypes··on Revisiting the spectacular failure that was the Bill Gates deposition
Everything that you mentioned was already available at the time in other languages. This is not innovation.
dependenttypes··on Revisiting the spectacular failure that was the Bill Gates deposition
Java was never a form of innovation.
dependenttypes··on Raccoon Attack
You are not mandated a constant-time aes implementation either.
dependenttypes··on Emacs-Helm development is now stalled
Kubernetes people..
dependenttypes··on Youtube-dlc – Download videos from YouTube or other video platforms
Check the edit history of the first post.
dependenttypes··on Youtube-dlc – Download videos from YouTube or other video platforms
I find it gross that dstftw (the core youtubedl maintainer) censored the part about youtube-dlc from that issue.
dependenttypes··on Removing email registration improved retention
It is extremely easy even if you don't.
dependenttypes··on Removing email registration improved retention
desktop version: https://xkcd.com/2357/
dependenttypes··on Removing email registration improved retention
I heard that some services have started rejecting email addresses that contain their name.
dependenttypes··on Removing email registration improved retention
Hashes are not a panacea. I see them being suggested as solution for anonymization of ip addresses/domain names/urls/file names/emails all the time but these people that make said suggestions are either clueless or are arguing in bad faith. It is extremely easy to brute-force the majority of said hashes. (in addition to that I doubt that anyone is passing hashed emails as it would make it slightly inconvenient to send emails to said accounts)
dependenttypes··on Intercepting Zoom's encrypted data with BPF
Or sue you, which is likely with shady companies such as Zoom.
dependenttypes··on Mailgo, a new concept of mailto and tel links
You should be able to configure a script to show you a popup whenever you click on one.
dependenttypes··on Germany conducts first nationwide emergency warning day in decades
Why though?
dependenttypes··on OpenSSL Raccoon Attack (CVE-2020-1968)
https://raccoon-attack.com/

> Raccoon is a timing vulnerability ...

dependenttypes··on OpenSSL Raccoon Attack (CVE-2020-1968)
Yet another timing attack. I remember reading not too long ago that the OpenSSL developers will consider side channel attacks an issue only if someone provides a way of exploiting them rather than consider them as ticking time bombs.

The easiest solution would be to only enable the X25519 and X448 key exchanges by default. (and in the future a post-quantum one)

dependenttypes··on Why I link to Wayback Machine instead of original web content
https://web.archive.org/web/*/snopes.com

> Sorry.

> This URL has been excluded from the Wayback Machine.

They also do not exclude the archive.org bot in https://www.snopes.com/robots.txt

dependenttypes··on Sid Meier: “I don’t think I could make Civilisation today”
Why does the proportion matter? Yes, more casual gamers entered the scene - this is to be expected as computers before more accessible, but the number of people willing to play complex strategy games has overall gone up.
dependenttypes··on Sid Meier: “I don’t think I could make Civilisation today”
Minecraft is another example. Until a recent version there wasn't even a build-in recipe book, you had to either discover them by yourself or search about them online.
dependenttypes··on Sid Meier: “I don’t think I could make Civilisation today”
One of the goals for CK3 was to dumb CK2 down in order to reach a wider audience. I honestly would not describe any of the newer Paradox games as complex (yes, even Stellaris).
dependenttypes··on Sid Meier: “I don’t think I could make Civilisation today”
At the Gates had its own share of problems that wasn't just because it changed too much.

> Firaxis's Beyond Earth has barely 1 person who played at least 1 minute for every 10 that bought the game

It is common for a lot of people to "buy" games on steam that they will never play. Especially with less popular games.

dependenttypes··on Why I link to Wayback Machine instead of original web content
post them regardless
dependenttypes··on Why I link to Wayback Machine instead of original web content
They exclude Snopes and I think Salon from archiving.
dependenttypes··on Google has removed the option to disable autoplay from Mobile Chrome
Turning off canvas only breaks tracking. Very few sites require it to work. Firefox will ask you to enable it on a per-site bases by enabling privacy.resistFingerprinting.
dependenttypes··on Google has removed the option to disable autoplay from Mobile Chrome
I suggest using uBlock Origin https://github.com/gorhill/uBlock/wiki/Per-site-switches#no-...
dependenttypes··on Show HN: Base32H, a human-friendly duotrigesimal number system
Do not use the input as indices, do not branch depending on the input, and do not use division, mod, and even multiplication on the input. Check how libsodium does it. Here is a safe rot13 implementation in C if it is any help (note: it assumes a safe islower and isupper implementation).

    #include <ctype.h>
    
    #define IFTHENELSE(c, t, e) ((-(!!(c)) & (t)) | (-(!(c)) & (e)))
    
    unsigned char
    mod26 (unsigned char x)
    {
      x -= IFTHENELSE(x >= 26 * 4,
        26 * 4,
        0);
      x -= IFTHENELSE(x >= 26 * 2,
        26 * 2,
        0);
      x -= IFTHENELSE(x >= 26 * 2,
        26 * 2,
        0);
      x -= IFTHENELSE(x >= 26,
        26,
        0);
      return x;
    }
    
    unsigned char
    rot13 (unsigned char x)
    {
      return IFTHENELSE(islower(x), mod26(x - 'a' + 13) + 'a',
          IFTHENELSE(isupper(x), mod26(x - 'A' + 13) + 'A',
              x));
    }
implementing base32h should be much easier as you do not need to perform mod with a non-power of 2.
dependenttypes··on Show HN: Base32H, a human-friendly duotrigesimal number system
Be warned, the implementation is vulnerable to side-channel attacks. Please avoid using it to encode secrets. I would suggest using libsodium instead https://libsodium.gitbook.io/doc/helpers - although it does not offer a base32 variant.
dependenttypes··on Google has removed the option to disable autoplay from Mobile Chrome
Or mark said sites as malicious. No need to select the most anti-user solution.
dependenttypes··on Western Digital is trying to redefine the word “RPM”
IMO, there should be some regulation where they should be forced to mention the current and maximum allocation that they are willing to make as well as the average/median bandwidth that the active users enjoy per hour.
dependenttypes··on BitTorrent v2
...by using bittorrent over i2p.
← PreviousPage 2 of 34Next →