I read an article about ransomware affecting the public transportation service in Kansas, and I wanted to ask how this can happen. Wikipedia says these are "are typically carried out using a Trojan, entering a system through, for example, a malicious attachment, embedded link in a phishing email, or a vulnerability in a network...
Threads will be implementing federation in the near future and many instances have been discussing whether they should be pre-emptively defederated to protect the fediverse. See below for our local discussion thread, which will remain active until this vote is complete....
I’m sure there are countless apps out there that are incredibly cool, interesting, or useful, but just haven’t hit the mainstream yet. Maybe it’s a productivity tool that’s boosted your efficiency, a unique game that’s kept you entertained for hours, or a niche app that’s catered perfectly to one of your hobbies or...
oh, i hadnt thought of that. i didnt think think it would be very helpful, but after i watched that video, it really opened my eyes to the dangerous possibilities.
the british and french need to be in equilibrium. if the british are suddenly removed, the french will have no natural predators, and begin to breed uncontrollably
buddy my direct manager maybe makes 2 dimes to my dime. and they are nice. i understand what you mean, but its just as hard for me to get my shift covered as it is them.
i read through the code, and i have some tips, which you may find helpful (or not):
argument parsing: if –color is not the first argument, it will try to open a file named –color, which i assume is unintended. i would suggest checking out the clap crate to easily parse args
i’m quite sure why you used ‘clusters’ instead of resizing the image to the terminal width? if it is purely as a programming exercise, or for performance reasons, then that’s great! but otherwise, calling image.resize() is easier
.len() on a string returns length in bytes, not characters, so could break with non-ascii text. in the context of this program, the text will always be ascii, so it is of course not a problem, but it’s worth to keep in mind. to get character length, use .chars().count()
in my testing, the width of the image is always affected by the width of the terminal, always being less than the maximum possible width, causing the image to be stretched vertically. i’m not sure why this is happening
in get_brightness_of_cluster, pushing to a Vec and then calling .sum() can be replaced with a loop which increments a mutable u32 variable. this is a nitpick, but it can avoid unnecessary memory allocation
check out this example. sorry if this comes off as rude or a nitpick, i’m just trying to provide some advice :)
:) no problem! i would assume resizing the image might be a little slower, because it creates a clone of the image, but if you use FilterType::NearestNeighbor, the speed is negligable in my opinion
What if we added a social component like "Stories" to this calculator app? ( i.postimg.cc )
A week of fprintfs has me wanting to code rust next week ( lemmy.ml )
How many watch lists am I on now?
edit: fixed thumbnail
Brought to you by the vertical mouse gang ( sh.itjust.works )
The Da Vinci Cookie ( lemmy.world )
It's Insidious ( lemmy.world )
How does ransomware get into major networks, such as schools or other large public agencies?
I read an article about ransomware affecting the public transportation service in Kansas, and I wanted to ask how this can happen. Wikipedia says these are "are typically carried out using a Trojan, entering a system through, for example, a malicious attachment, embedded link in a phishing email, or a vulnerability in a network...
What's the best tool available on Linux for downloading Spotify albums without DRM? ( feddit.de )
=== ( programming.dev )
Both beliefs are fine, but please realize the hypocrisy ( sh.itjust.works )
[Vote] Should we pre-emptively defederate Threads? ( sh.itjust.works )
Threads will be implementing federation in the near future and many instances have been discussing whether they should be pre-emptively defederated to protect the fediverse. See below for our local discussion thread, which will remain active until this vote is complete....
Be amazed by the uses of Tech... ( lemmy.ca )
Same. ( lemmy.world )
What Are Your Favorite Hidden Gem Android Apps?
I’m sure there are countless apps out there that are incredibly cool, interesting, or useful, but just haven’t hit the mainstream yet. Maybe it’s a productivity tool that’s boosted your efficiency, a unique game that’s kept you entertained for hours, or a niche app that’s catered perfectly to one of your hobbies or...
git discussion bingo ( media.mas.to )
Weird 🤔 ( jlai.lu )
The Aliens did a little trolling ( lemmy.world )
Why is the DEA and ATF separate? Seems like they cover similar things from similar circles.
Is it because alcohol, tobacco, and firearms also have legal pathways? So they spend time tracking down cheats and checking/enforcing regulations?
Do yourself a favor ( slrpnk.net )
Merry Christmas! ( files.catbox.moe )
toot by @nixCraft
pwetty pwease ( sh.itjust.works )
Comparison of Android ROMs ( eylenburg.github.io )
most normal instagram comments section ( sh.itjust.works )
why would he do that? ( sh.itjust.works )
america ( lemmy.zip )
This took me 4 months ( feddit.uk )
cross-posted from: feddit.uk/post/3829500...
If programming languages were weapons. Old but gold. ( feddit.it )
Source: so old it’s lost
Naming is the most challenging part of programming ( lemmy.world )
Found a bag of Microsoft memes from 2005 ( lemmy.world )