Readit News logoReadit News
0des commented on Bun: Fast JavaScript runtime, transpiler, and NPM client written in Zig   bun.sh/?launch... · Posted by u/firloop
bogwog · 4 years ago
> curl https://bun.sh/install | bash

This type of thing needs to stop

0des · 4 years ago
someone demonstrated a while back how based on user agent you could serve innocuous code for a browser checking the code first, and then a different malicious payload for curl.

thanks to dementiapatien below for the link https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-b...

0des commented on Daniel J. Bernstein   en.wikipedia.org/wiki/Dan... · Posted by u/0des
0des · 4 years ago
> djb2

> this algorithm (k=33) was first reported by dan bernstein many years ago in comp.lang.c. another version of this algorithm (now favored by bernstein) uses xor: hash(i) = hash(i - 1) * 33 ^ str[i]; the magic of number 33 (why it works better than many other constants, prime or not) has never been adequately explained.

    unsigned long
    hash(unsigned char *str)
    {
        unsigned long hash = 5381;
        int c;

        while (c = *str++)
            hash = ((hash << 5) + hash) + c; /* hash * 33 + c */

        return hash;
    }
source: http://www.cse.yorku.ca/~oz/hash.html

Deleted Comment

0des commented on PulseAudio and Systemd Creator, Lennart Poettering, Reportedly Leaves Red Hat   phoronix.com/scan.php?pag... · Posted by u/alex14fr
corrral · 4 years ago
OpenRC is the only Linux init I've used that I actually enjoyed using, not just could-tolerate.
0des · 4 years ago
sysvinit did nothing wrong.
0des commented on Billion-record stolen Chinese database for sale on breach forum   theregister.com/2022/07/0... · Posted by u/ellen364
toomuchtodo · 4 years ago
The other term of art is “dynamic secrets.”

https://www.vaultproject.io/use-cases/dynamic-secrets

0des · 4 years ago
Good lookin out, thanks for the link
0des commented on The Swerve   locusmag.com/2022/07/cory... · Posted by u/todsacerdoti
0des · 4 years ago
> “Long before we go over the cliff, we’ll have figured out how to put wings on this bus.”

Sounds like something a PM would say in a roundabout fashion

Deleted Comment

Deleted Comment

u/0des

KarmaCake day4899May 18, 2021
About
building a thing
View Original