lemmy_in

joined 1 year ago
[–] lemmy_in@lemm.ee -3 points 3 weeks 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 38 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 2 months 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 24 points 3 months ago (1 children)

Unknown variables

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

Incorrect. The app was baked into the Pixel firmware from Google, not a manufacturer specific OEM.

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

There are a few ways that the court can get this money. Disclaimer I am not an expert in bankruptcy law.

The most obvious one is what you said. The court can order the company's assets to be liquidated and then the proceeds of the sales would be distributed proportionally among the creditors.

Next they can go after the perpetrators like Sam Bankman-Fried and his crew. If they have any personal assets that they acquired as a result of their criminal activity at FTX, the court may be able to take some of that money to pay creditors.

Lastly is "clawbacks". Let's say you invested $1,000,000 in FTX and you were one of the lucky ones and happened to withdraw $10,000,000 in proceeds during the height of the scam. The court could claw back up to $9,000,000 from you since all of those proceeds were the result of a scam, even if you had no idea that FTX was shady. This is typically how the courts recover money from ponzi schemes like Bernie Madhoff

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

The number is real you guys

[–] lemmy_in@lemm.ee 1 points 3 months ago

For small apps, generating it in the backend, trying to insert it, and then catching the exception should be totally fine. The odds of collision are quite small.

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

I personally feel UUIDs are overused unless you happen to be running truly distributed systems that are all independently generating IDs.

In this case where the ID is also going to be in the URL, you've just added 32 characters to the URL that don't need to be there. Since OP is apparently concerned with the look and feel of the URLs, I thought that UUIDs wouldn't be the best option.

view more: next ›