Fork me on GitHub
#off-topic
<
2022-11-03
>
m.q.warnock00:11:11

if you were building a p2p thing with a potentially-enormous space of content to be keyed by hash, does it make sense to combine hashes or just use a function with a bigger space?

m.q.warnock00:11:50

probably a question for a number-theorist/cryptographer chat, but holy-imposter-syndrome batman!

Rupert (All Street)11:11:39

When you mean combine hashes do you mean (concat (hash1 x) (hash2 x)) or (hash1 (hash2 x))? Do your hashes need to be nice to look and is there any rule about how long they can be? SHA-2 and SHA-3 both go up to 512 bits. To avoid accidental collisions you need approximately <max number of items you expect>^2 bits in your hash space. e.g. if you eventually expect 1 trillion items then you would need (1 trillion) ^2 of hash space = 128 bit hash would be enough for that (eg. SHA2-128 algo).

Rupert (All Street)11:11:11

@U043HTJ9RC2 you can also encode the hash name in your key allowing you to vary your hashing algo in future, but start off with smaller and more manageable keys

md5:ZmFkc2Zkc2Fmc2Q=
sha1:9aa52352d679a71e104ef1fe097197577c1425b6
No need to lock down your hash algo now when your key is self describing.

Oliver George01:11:29

I'm currently deeply in love with Archi. Superficially it's just another domain specific diagramming tool but it's really structured data projected in diagrams. The idea of projecting data into views seems so powerful. A better data entry interface, a way of sharing ideas, looking at the same data in different ways.... I feel like there must be more tools like this out there. Anyone else on this journey? https://www.archimatetool.com/

respatialized13:11:44

https://www.inkandswitch.com/potluck/ You should take a read through this writeup of a demo that tries to liberate this style of working and thinking from the confines of predefined "apps." I think it's very much aligned with a lost (but slowly being rediscovered) vision of personal computing.

👍 1
teodorlu19:11:48

OOP and FP: Reducing Complexity Together with @viebel and @ericnormand starting in 1 minute on Youtube. in case other people are interested. There's going to be a QA, some discussion, and a chance to ask questions from the Youtube chat. https://www.youtube.com/watch?app=desktop&amp;v=p3Rb7uxtQs4

3
👍 4
respatialized21:11:38

https://githubcopilotlitigation.com/ GitHub, along with OpenAI, is being sued for violating 11 open-source licenses through Copilot and Codex. It will be interesting to watch for many reasons, but I think this is probably the most compelling: > As far as we know, this is the first class-action case in the US chal­leng­ing the train­ing and out­put of AI sys­tems.

👍 2
🎉 4
Martynas Maciulevičius05:11:05

I bet facebooks et al. are watching this one

Noah Bogart13:11:29

This is Matthew Butterick of Beautiful Racket fame, in case you don't put that together