nekomusumeninaritai

joined 1 year ago
[–] nekomusumeninaritai@lemmy.blahaj.zone 3 points 1 year ago (1 children)

I would've appreciated a trigger warning on the post since it uses a slur, but wow, it is amusing (I'm sure it'll be less amusing once I experience more overt transphobia).

[–] nekomusumeninaritai@lemmy.blahaj.zone 3 points 1 year ago* (last edited 1 year ago)

They just said :wq in school, so thanks for the tip. Hard to believe it saves even when the file hasn't been changed if you use :wq. What is the use case for that? If the file gets changed in another program and you want to revert?? Edit: Just saw the comment about the modification times being updated.

You must know my parents 😅

Whoops, looks like someone forgot to make the base juice class abstract…

It's also helpful to note that “shell builtins” don't typically have man pages (at least for BASH). You can find help on these commands by typing [builtin name] --help or looking in the shell's man page or info doc (no one told me when I was learning, so I got confused as to why some of the more common commands didn't have man pages)

Don't worry. It was a bit ambiguous 👍

[–] nekomusumeninaritai@lemmy.blahaj.zone 1 points 1 year ago (2 children)

That was the joke

[–] nekomusumeninaritai@lemmy.blahaj.zone 4 points 1 year ago* (last edited 1 year ago) (4 children)

This should work with some caveats.

  1. Tbis probably won't work on WSL (Linux needs direct access to your hardware).
  2. For DVDs, you need to be sure libdvdcss is installed for this to work correctly
  • You probably already have this on your system if you have successfully watched a dvd in Linux.
  1. You may need to replace /dev/cdrom with the name of the device file corresponding to your drive.
  1. This creates an exact copy of the disk, including the unallocated space. You would probably want to follow the guide https://wiki.archlinux.org/title/Optical_disc_drive#Creating_an_ISO_image_from_a_CD,_DVD,_or_BD
  • (@BustedPancake@lemmy.world's use of mkisofs does the same thing because they copy the files on the disk rather than the whole disk. But you don't need makemkv. You should be able to use any method of copying the files and Linux should use libdvdcss to decrypt them.).

“deep magic”Linux trys to treat devices like files. If you ran xxd /dev/cdrom, you would see every bit on the disk (not just those of the files, but those in the free space as well) in order from the first to the last (converted to base-16 in what is called a hexdump). Not that you need to see this, but your video player does. The “DRM cracking” is actually a feature of libdvdcss that makes it possible for the system to treat the disk this way. dd is just a general copying command and if Stack Exchange is to be believed, it isn't necessarily the best option (https://unix.stackexchange.com/questions/12532/dd-vs-cat-is-dd-still-relevant-these-days). But it probably is necessary for the linked guide to work because it has dd truncate the file.

edit: caveats is note spalled caceats

edit: file → files on the disk

46
cat /dev/null (lemmy.blahaj.zone)
submitted 1 year ago* (last edited 1 year ago) by nekomusumeninaritai@lemmy.blahaj.zone to c/programmerhumor@lemmy.ml
 

Description: Cat illustration from Japanese fine print in void with cat /dev/null written below in a monospace font.

I guess you could say this meme is… a copycat.

Yes, normally you'd redirect it to do something useful. But I'm not editing it.

edit:remove duplicate photo

edit2: Silly me for thinking that Lemmy was smart enough to grab the first body photo as its thumbnail. Also set language.

[–] nekomusumeninaritai@lemmy.blahaj.zone 10 points 1 year ago (1 children)

Trivial exercise.

spider in the middle of a web Obtained at Wikimedia under license CC-BY-SA 4.0 International by wikimedia user Stephencdickson ∎

Just change all the boxes so they all read “Chat GPT-4.”

Yeah. Sorry. I figured it was possible that you were using desktop or something and maybe you'd just not realized it wasn't visible on mobile

The comment with this comment's UID in Lemmy's comment database is not deducible from the Lemmy axioms. There! Out-nerded you 😜. (Please don't call me on the details. Please don't call me on the details. 🤞)

 

cross-posted from: https://lemmy.blahaj.zone/post/97118

Accessibility text :Pictured is a slide from a presentation at a hacker conference with a bullet point reading “We can smash the stack” highlighted and the presenter wearing cat ears and holding a plushie fox. Added to the screenshot of the presentation is the aforementiomed highlighting as well as the warning “KEEP YOUR MEMCPY SIZES VALIDATED OR CATGIRLS WILL SMASH THE STACK, NYA” written in a pink all-caps impact-style font clone.

Edit: Meme photo wasn't visible when the link to the actual talk was in the url field, so I'm moving it here: https://media.ccc.de/v/gpn21-16-breaking-the-black-box-security-coprocessor-in-the-nintendo-switch-a-story-of-vulnerability-after-vulnerability

Edit 2: It still wasn't visible, so I had to add the photo url. I'm new 😁

 

Accessibility text :Pictured is a slide from a presentation at a hacker conference with a bullet point reading “We can smash the stack” highlighted and the presenter wearing cat ears and holding a plushie fox. Added to the screenshot of the presentation is the aforementiomed highlighting as well as the warning “KEEP YOUR MEMCPY SIZES VALIDATED OR CATGIRLS WILL SMASH THE STACK, NYA” written in a pink all-caps impact-style font clone.

Edit: Meme photo wasn’t visible when the link to the actual talk was in the url field, so I’m moving it here: https://media.ccc.de/v/gpn21-16-breaking-the-black-box-security-coprocessor-in-the-nintendo-switch-a-story-of-vulnerability-after-vulnerability

view more: next ›