Dogeek

joined 2 years ago
MODERATOR OF
[–] Dogeek 11 points 2 years ago

I see what you did there.

[–] Dogeek 60 points 2 years ago

ELI5 : Take the string AAAA.

A simple Cypher would be to change the letters to the next one in the alphabet and offset by 1 for each letter, the message would encrypt to ABCD.

If you try to compress that, well you can't do it, otherwise you lose required information.

If you were to compress AAAA first, you could represent it as the string 4A. You can then encrypt that to 5B.

Encrypting is about adding entropy to a message. Compressing is about finding common groups and represent them differently so that the size is lower. Compressing an encrypted message is basically useless because you added so much entropy to the message that there are no more recognizable patterns to apply compression to.

[–] Dogeek 1 points 2 years ago (2 children)

My main gripe with ActivityPub is that the infrastructure basically replicates 1-to-1 across subscribed instances. It means that as lemmy grows, servers will require more and more storage to keep up. For now, it's fine since we're under a few TB of content on the platform.

If lemmy were to be as popular as reddit, we'd reach the dozens if not hundreds of TB of storage required. Not everyone has the money to build such a homelab or rent data center servers of that caliber.

ActivityPub in it's current state is nothing but replicated centralization, not a full decentralized protocol. We'd probably need a different database system that handles cross region clustering and sharing to scale it up.

[–] Dogeek 3 points 2 years ago

Yeah that would make my keyboard signature even more unique. Though you could always hotswap some keys around every few weeks

[–] Dogeek 7 points 2 years ago (2 children)

What if the keyboard is not made of homogenous switches? Some reds, silvers, blues and browns thrown randomly around the keyboard ought to defeat the model, right?

[–] Dogeek 3 points 2 years ago

Kinda expected it to be honest. That kind of behaviour is what prevents more developers from joining open source projects and contributing in the first place. When you go through the effort of, on your own time of forking, cloning, patching, compiling, testing, and make the pull request only to be shut down at the finish line for bullshit reasons, it's nothing but discouraging.

[–] Dogeek 8 points 2 years ago

#define is nothing but a search and replace from the preprocessor.

I've been burned one too many times with #include which replaces the directive with the contents of the included headers file (I think that if you're truly evil you can even include straight .c files and forgo headers entirely)

[–] Dogeek 2 points 2 years ago (1 children)

Je regardais et le prix du m2 en location à Berlin, d'après le figaro (donc à prendre avec un grain de sel quand même), reste 3.5 fois moins cher que le m2 à Paris. On se fait douiller en France et on dit rien.

[–] Dogeek 3 points 2 years ago

There are already tools existing for dyndns that are free. If you're using cloud flare as your dns provider, there's cloudflareddns that checks your public ip and updates dns records. You just need 1 record to be updated, the other records can just be CNAME to that primary one.

OVH has DynHost to deal with that as well.

You could also write a script to do that with your own DNS provider if one doesn't exist yet. Most have good APIs you can use to that extent. At worse just use cloudflare since it just works and is well supported.

[–] Dogeek 4 points 2 years ago

ProtonDb and lutris

[–] Dogeek 3 points 2 years ago

You can actually decompile any android app into smali code which is kind of a readable bytecode. Create an OAuth app on reddit and replace the developer's API key with your own. Free reddit app with no ads.

[–] Dogeek 2 points 2 years ago

J'ai migré tout ce qui était sur le sub ici pour pas perdre l'info. Le sub est en privé et pointe vers cette commu dans le message :)

view more: ‹ prev next ›