lemmy_in

joined 1 year ago
[–] lemmy_in@lemm.ee -3 points 1 week ago (1 children)

Ah yes, "divests" when the stock is at an all-time high price point. I'm sure that hurt them so much.

[–] lemmy_in@lemm.ee 39 points 1 month ago (4 children)

And then, because you were never in a classroom and never took a class on security, you probably have no idea what a buffer overflow attack is or how to use tools like valgrind to check for them.

Then you put your C code on the internet and get your server pwned inside of an hour.

Slightly hyperbolic? Yes definitely. But there is a reason we don't teach C to beginners anymore. Generally you want them to understand the mindset of coding before throwing them in the deep end. And I would bet nothing has caused more people to quit programming then Segmentation fault: core dumped

[–] lemmy_in@lemm.ee 5 points 1 month ago

Pick a popular online service with a public API and write some scripts that integrate with them. Learn by doing.

[–] lemmy_in@lemm.ee 49 points 2 months ago (1 children)

Everything in moderation, including moderation

[–] lemmy_in@lemm.ee 10 points 2 months ago (1 children)

In my (non-expert) opinion, there are a few reasons

  1. NPM is more popular than those other services by an order of magnitude, especially among new developer and startups.
  2. NPM allows for code to be executed while you install the package which is different from maven or nuget and allows for easy exploitation paths
[–] lemmy_in@lemm.ee 82 points 2 months ago (4 children)

This works until you scale the team beyond 1 person and someone else needs to decipher the 30 line awk | sed | xargs monstrosity you created. Give me a real programming language any day.

[–] lemmy_in@lemm.ee 6 points 2 months ago (3 children)

Mods of communities can already see votes in communities they moderate. Admins of instances can already see votes on all content.

[–] lemmy_in@lemm.ee 13 points 3 months ago (2 children)

The number is real you guys

[–] lemmy_in@lemm.ee 10 points 4 months ago

So long as you have robust data sanitization on the backend to prevent XSS and HTML injection attacks...

If you can get away with just using Markdown, you should definitely use that instead of full HTML.

[–] lemmy_in@lemm.ee 8 points 6 months ago

For most transmissions of digital information (even those here on earth) there's a concept of a "checksum". Basically at the end of every message, there's a special number, and you can do some math on the rest of the message to get that same number. If anything happened to change or damage the message in transit, the math doesn't work out and so the checksum fails.

I would assume Voyager works in a similar way so every time it receives a message it will compute the checksum and see whether it matches

[–] lemmy_in@lemm.ee 6 points 6 months ago

All words you spell must include the central letter, adjacency doesn't matter.

The design is a bit of a visual joke combining the concept of a "spelling bee" competition with the honeycombs of literal bees.

[–] lemmy_in@lemm.ee 1 points 6 months ago (1 children)

Losing my religion

view more: next ›