0x01

joined 1 year ago
[–] [email protected] 13 points 3 months ago (1 children)

I explained a little about buffer overflows, but in essence programming is the act of making a fancy list of commands for your computer to run one after the other.

One concept in programming is an "array" or list of things, sometimes in languages like C the developer is responsible for keeping track of how many items are in a list. When that program accepts info from other programs (like a chat message, video call, website to render, etx) in the form of an array sometimes the sender can send more info than the developer expected to receive.

When that extra info is received it can actually modify the fancy list of commands in such a way that the data itself is run directly on the computer instead of what the developer originally intended.

Bad guy sends too much data, at the end of the data are secret instructions to install a new program that watches every key you type on your keyboard and send that info to the bad guy.

[–] [email protected] 20 points 3 months ago (11 children)

There is a ton of literature out there, but in a few words:

Rust is built from the ground up with the intention of being safe, and fast. There are a bunch of things you can do when programming that are technically fine but often cause errors. Rust builds on decades of understanding of best practices and forces the developer to follow them. It can be frustrating at first but being forced to use best practices is actually a huge boon to the whole community.

C is a language that lets the developer do whatever the heck they want as long as it's technically possible. "Dereferencing pointer 0?" No problem boss. C is fast but there are many many pitfalls and mildly incorrect code can cause significant problems, buffer overflows for example can open your system to bad actors sending information packets to the program and cause your computer to do whatever the bad actor wants. You can technically write code with that problem in both c and rust, but rust has guardrails that keep you out of trouble.

[–] [email protected] 30 points 3 months ago

Ah yeah good call

[–] [email protected] 46 points 3 months ago (8 children)

3.5% chance to get long covid if vaccinated

Estimates for the first year of the pandemic suggests that at least 65 million people globally have had long COVID

[–] [email protected] 15 points 3 months ago (1 children)

I think Harris is trying to capture a group of Americans that hardlines on immigration, unfortunately some of what she'll concede on during this election cycle will likely alienate progressives in favor of tempting the opposition. It's strategically valuable because progressives will still vote for her, but maybe a few conservative voters will be swayed.

Imo it's more important to pay attention to how she's voted, how she acts, and whether she will change her mind when presented with important information. In that way she's by far our most trustworthy candidate even on issues like this one.

[–] [email protected] 33 points 3 months ago

Looks like somebody hasn't been doing their pondering exercises

[–] [email protected] 5 points 3 months ago

You can use rc kits, hobby stores will have relatively simple systems designed for custom rc cars that you can plug and play

In the same vein you can always find alert cheap rc cars at your local second hand store, goodwill has em for afew dollars and you can scavenge whatever you want

These days though I prefer an esp32 or an arduino with a Bluetooth shield, much easier to work with

[–] [email protected] 19 points 3 months ago

Nice to have a fulltime friend

It tends to change what you're free to do every day

[–] [email protected] 1 points 3 months ago (1 children)

A MONTH?! Jfc I pay like $50/month for one vehicle

[–] [email protected] 6 points 4 months ago

None of us are in your shoes so it's really tough to say what your coworkers' motivations are, but at the end of the day you are yourself, you are in charge of your mental and physical well-being. When someone else does something minor and it affects you strongly it's time to stop thinking about them and start thinking about what's happening in your own body.

Unfortunately your emotions, like being offended, aren't entirely in your control. There are a lot of brain connections rustling around up in your noggin that don't pass through the filter of your consciousness.

The best advice I can offer is to redirect yourself when you start to get offended. Pick a favorite topic, something that you like to think about often, and "switch" to it when you feel yourself getting triggered.

As for how you should act when you aren't greeted directly? I see no reason for you to change your behavior, just act as though nothing happened, because nothing did happen

[–] [email protected] 0 points 4 months ago (3 children)

neat, where'd the displays come from?

view more: ‹ prev next ›