pelya
- 1 Post
- 25 Comments
pelya@lemmy.worldto Technology@lemmy.world•16 Billion Apple, Facebook, Google And Other Passwords Leaked — Act NowEnglish8·29 days agoWhat’s the total human population again, 8 billion?
Electron was discovered in 1897. If you own a textbook on chemistry which is older than that, put it up on Ebay in the antiques category.
The ingenuity of this command is that
/dev/nul
does not exist, the correct path is/dev/null
, however the command executes without error and creates a symlink to a non-existing path.
The only thing missing issudo
.
Because it does work, you need
grep -E
for ‘+’ to work without escaping. Also, your quotes are wrong, ‘ should be ’ .
It flies, so I don’t get the joke. I’m an embedded developer BTW.
Gone are the days when I could set up a Wallhaven wallpaper updated each minute, because the plugin no longer works.
Not shown: a cubic meter of obscure developer boards and gadgets that hardware manufacturers randomly send to Torvalds to integrate into Linux.
Also his RAM is ECC.
std::vector<bool>
fits eight booleans into one byte.
pelya@lemmy.worldto Technology@lemmy.world•Patreon will sidestep Apple’s payment system - Last year, Apple executives told Patreon to give them 30% or they will ban the company from the Apple store. English7·2 months agoPatreon app is literally their website. What does it do that the website does not? Notifications? Offline images? All of these can be done in your mobile browser.
pelya@lemmy.worldto Linux@programming.dev•Malicious Go Modules Deliver Disk-Wiping Linux Malware in Advanced Supply Chain Attack2·2 months agoAin’t no way mah C++ modules deliver any of them malware.
because
C++ got no fancy-shmancy modules, got ya!
pelya@lemmy.worldto Linux@programming.dev•Bytedance Proposes Faster Linux Inter-Process Communication With "Run Process As Library"2·3 months agoWhat length would people go to work around Python’s GIL.
#3 is my script that converts one particular RSS feed to .ical format, and pushes it to a repo, because setting up a website for one silly script was overkill.
Password strength is usually checked inside your browser, not on the server.
pelya@lemmy.worldto Technology@lemmy.world•New 'DRAM+' memory designed to provide DRAM performance with SSD-like storage capabilities, uses FeRAM techEnglish2·3 months agoBut it’s very convenient! When you have a BSOD, you don’t need your core dumped, you simply unplug your DRAM+ and send it to Microsoft using paper mail.
pelya@lemmy.worldto Programmer Humor@programming.dev•Does this exist anywhere outside of C++?2·3 months agoIt depends on whether you are printing to a terminal or to a file (and yes the terminal is also a file), and even then you can control the flushing behaviour using something like
unbuffer
pelya@lemmy.worldto Programmer Humor@programming.dev•Does this exist anywhere outside of C++?12·3 months agoprintf
is superior and more concise, andsnprintf
is practically the only C string manipulation function that is not painful to use.Try to print a 32-bit unsigned int as hexadecimal number of exactly 8 digits, using
cout
. You can dostd::hex
andstd::setw(8)
andstd::setfill('0')
and don’t forget to usestd::dec
afterwards, or you can just, you know,printf("%08x")
like a sane person.Just don’t forget to use
-Werror=format
but that is the default option on many compilers today.C++23 now includes
std::print
which is exactly likeprintf
but better, so the whole argument is over.
Creating a kernel is hard, Linux itself is not going anywhere.
If all current maintainers suddenly disappear, several corporations, who heavily depend on Linux, will maintain their own forks, so we will get Google kernel for phones, Amazon kernel for datacenters, Valve kernel for gaming, and probably some European initiative kernel for PCs and laptops to do document editing.