Spyke

Replies

Comment on

Order

Reply in thread

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.

Comment on

Why does everyone hate Cloudflare?

They get hated on because :

  • they inspect packets. They terminate the TLS sessions at their servers and reencrypt to forward to the backend. This allows them to analyze the data to spot spam, optimize compression and such

  • they are used everywhere. If they go down, 30% of the internet goes with them.

memes

Comment on

firefox

Reply in thread

Chromium being so prevalent means that it's a monopoly (internet explorer anyone?) and it can control the web standards, which is something Google already does to some extent.

They also push their agenda with extensions, manifest v3 being way less powerful for ad blocking extensions. All in all, the more people use Firefox, the less power Google has over web standards, and the more devs are forced to make sure that their site works on Firefox.

Comment on

I swear to god

Neither, a centaur has a human torso starting at the base of the neck, the left one has a long neck so clearly not a human torso. The left one has a long torso, so that doesn't fit either.

Solution: it'd be exactly like a regular centaur but with a different skin pattern

memes

Comment on

The superior bread boys

I'm french, I bake my own bread. It's not as good as the down street bakery but it's my own, there's something satisfying about knowing the process of how to bake such a cornerstone of the culinary world

Comment on

After the blackout...

I tried lemmy a little, there's not much content yet. It really depends on if the major power users migrate to lemmy, and on which instance they will migrate. The other problem being that I have yet to find a good mobile app to access the lemmy instances, and I'm too lazy to make my own (though it would be a good side hustle in my opinion).

Comment on

Why Linux is better for (most) developers!

Reply in thread

My company didn't leave me a choice, I got an XPS 15 which I had to setup with my distro of choice (but all the internal tooling is for Ubuntu, I personally would have preferred to install Fedora or Debian 12 with i3wm).

It's not that bad a laptop but it overheats like crazy and has really shit battery life (barely enough for a meeting), and some of its features I can't explain : why is a 4k touchscreen on a laptop a good thing? It eats 4x the battery for no noticeable visual improvement. I don't use my laptop 5 inches from my face.

memes

Comment on

It feels like the early days of the internet!!!!

Reply in thread

The beauty of lemmy is that it is open source. Anyone knowing a bit of rust and/or typescript can contribute. I'm sure multilemmies will be implemented sooner rather than later.

Though, although rust is a beloved language, it's hard to get into. A backend in typescript or python would attract a lot more developers just based on the fact that these are higher level languages. Performance would take too much of a hit though.

Comment on

Why is React, a client side rendering framework, a popular choice for server side rendering?

Reply in thread

My hot take is that I find it so much more pleasant to write typescript and do most of the work in the front-end rather than deal with optimizing the response time of the backend day in and day out. With SPAs it's so much easier to fetch just what is needed rather than have monolithic responses that take ages to arrive. Makes caching and cache invalidation that much easier too.

memes

Comment on

We can all agree on that, right?

Reply in thread

I mean, we first need to define what a luxury and what a necessity is. For some things like food, shelter, water, healthcare it's pretty straightforward. But for resources like energy or communications it's less obvious.

I'd argue that the internet is now a necessity rather than a luxury, but many people to this day still don't have or choose not to have internet access (due to geography or religion). Energy is the same way, if we take an obviously bad example, but say you're socializing electricity for everyone, what's to stop someone from mining cryptocurrency on everyone else's dime ? That person would be profiting off of the social net. Where do we put the cursor between "luxurious" energy use and "necessary" energy use ? It's a tough thing to figure out.

Furthermore, for most people you need an incentive to work, right now it's survival, which is not great, but if all of your needs basic, and more are taken care of by the state, you only work for the luxuries, which would greatly reduce the available workforce. It's again a tough balance to find.