|
Captain Foo posted:all software is bad, yes i think a lot of it is good
|
# ? Feb 26, 2021 17:23 |
|
|
# ? May 28, 2024 15:10 |
|
mycophobia posted:i think a lot of it is good the only good software is "rm" because its sole purpose is to rid the world of other software
|
# ? Feb 26, 2021 17:26 |
|
mycophobia posted:i think a lot of it is good
|
# ? Feb 26, 2021 18:26 |
|
the only good software is tetris DX. drat i'll be playing that until my game boy color dies or I die
|
# ? Feb 26, 2021 18:28 |
|
hbag posted:the only good software is "rm" because its sole purpose is to rid the world of other software Pop quiz: how would you use rm to delete a file named '-h'?
|
# ? Feb 26, 2021 18:35 |
|
xtal posted:Pop quiz: how would you use rm to delete a file named '-h'? I assume rm ./-h is cheating
|
# ? Feb 26, 2021 18:42 |
|
xtal posted:Pop quiz: how would you use rm to delete a file named '-h'? rm -rf / will delete the file. i consider the deletion of the rest of your filesystem a net positive for these forums as a whole
|
# ? Feb 26, 2021 18:43 |
|
not a real answer but if I have trouble trying to figure out how to manipulate a file because of a weird filename then I just fire up python to rename it to 'deleteme'
|
# ? Feb 26, 2021 19:05 |
|
I would drag it to the trash can.on my xfce desktop, op my friend xfce then would properly invoke the command
|
# ? Feb 26, 2021 19:09 |
|
double dash to victory
|
# ? Feb 26, 2021 19:15 |
|
xtal posted:Pop quiz: how would you use rm to delete a file named '-h'? rm "\-h" edit: "rm ./-h" is the correct answer FlapYoJacks fucked around with this message at 19:29 on Feb 26, 2021 |
# ? Feb 26, 2021 19:24 |
|
ah this is cool: rm "-h" rm: invalid option -- 'h' Try 'rm ./-h' to remove the file '-h'. Try 'rm --help' for more information.
|
# ? Feb 26, 2021 19:25 |
|
gentoo linux has barely changed at all since 2004
|
# ? Feb 26, 2021 19:33 |
|
mycophobia posted:ah this is cool: load the inode in a binary editor
|
# ? Feb 26, 2021 19:34 |
|
Silver Alicorn posted:gentoo linux has barely changed at all since 2004 hey, if you get it right, why change it?
|
# ? Feb 26, 2021 19:49 |
|
The correct answer is: rm -- -h efb Martytoof posted:double dash to victory
|
# ? Feb 26, 2021 19:51 |
|
^^^ man rm actually suggests ./ ad well DoomTrainPhD posted:rm "\-h" I’m guessing he’s going for rm — -h
|
# ? Feb 26, 2021 19:53 |
|
infernal machines posted:hey, if you get it right, why change it? *nods sagely*
|
# ? Feb 26, 2021 20:11 |
|
find —delete
|
# ? Feb 26, 2021 21:06 |
|
Now delete something with a newline in its filename. My favourite teaching moment is asking someone to delete all dotfiles in a directory. (But making sure they don't have anything irreplaceable in harm's way)
|
# ? Feb 26, 2021 21:15 |
|
Antigravitas posted:Now delete something with a newline in its filename. sb hermit posted:not a real answer but if I have trouble trying to figure out how to manipulate a file because of a weird filename then I just fire up python to rename it to 'deleteme' except that I can just call os.unlink The real answer is to use ctrl-v ctrl-m to insert '^M'. Encase in single quotes
|
# ? Feb 26, 2021 21:30 |
|
Silver Alicorn posted:load the inode in a binary editor but you have to remount the filesystem in read only mode first
|
# ? Feb 26, 2021 21:31 |
|
terminate the instance and let ASG create a new one that doesn’t have a hosed up file on it
|
# ? Feb 26, 2021 23:49 |
|
i actually know nothing about gentoo aside from the fact that most of the people who use it are probably on some kind of trafficking watchlist so uhhh someone fill me in i guess from what ive read it seems similar to arch but that might just be the people who use it rather than the distro itself
|
# ? Feb 27, 2021 00:36 |
|
what?
|
# ? Feb 27, 2021 00:40 |
|
hbag posted:i actually know nothing about gentoo aside from the fact that most of the people who use it are probably on some kind of trafficking watchlist so uhhh someone fill me in i guess https://www.shlomifish.org/humour/by-others/funroll-loops/Gentoo-is-Rice.html
|
# ? Feb 27, 2021 00:43 |
|
nice thread titleCybernetic Vermin posted:https://www.shlomifish.org/humour/by-others/funroll-loops/Gentoo-is-Rice.html oh wow. i haven't seen this in a loooong time infernal machines fucked around with this message at 00:50 on Feb 27, 2021 |
# ? Feb 27, 2021 00:47 |
|
hbag posted:i actually know nothing about gentoo aside from the fact that most of the people who use it are probably on some kind of trafficking watchlist source your quotes
|
# ? Feb 27, 2021 00:53 |
|
Captain Foo posted:source your quotes i dont have any definite quotes i can remember off the top of my head, i just remember people saying poo poo like that about it im probably wrong tbh
|
# ? Feb 27, 2021 00:57 |
|
hbag posted:i dont have any definite quotes i can remember off the top of my head, i just remember people saying poo poo like that about it the joke is that what you wrote hbag posted:i actually know nothing about gentoo aside from the fact that most of the people who use it are probably on some kind of trafficking watchlist so uhhh someone fill me in i guess sounds like what someone else on another forum (or another thread on this forum) would have written
|
# ? Feb 27, 2021 01:23 |
|
hbag posted:i actually know nothing about gentoo aside from the fact that most of the people who use it are probably on some kind of trafficking watchlist so uhhh someone fill me in i guess You should install gentoo and use it for a week and report back or install it on a VM (make sure you allocate a ton of ram and all your processors) if you don't really want to go all the way
|
# ? Feb 27, 2021 01:25 |
|
Antigravitas posted:Now delete something with a newline in its filename. I deliberately never handle this case in scripts etc, on the grounds that anyone who’s careless or stupid enough to create a file with a newline in its name deserves to suffer
|
# ? Feb 27, 2021 01:39 |
|
sb hermit posted:You should install gentoo and use it for a week and report back i have an incredibly cheap HP laptop that has like a 30GB SSD that my secondary school gave me to do my GCSEs on and never asked for me to return so i might try installing it on that if i can find a charging lead that fits it
|
# ? Feb 27, 2021 01:46 |
|
I used gentoo for something like five years before switching to debian
|
# ? Feb 27, 2021 02:01 |
|
hbag posted:i have an incredibly cheap HP laptop that has like a 30GB SSD that my secondary school gave me to do my GCSEs on and never asked for me to return To be incredibly honest, I don't really know if 30 GB is enough to install Gentoo because it needs to download and install packages from source, and also keep around development headers and etc. Especially if you want to use a graphical environment and not just run a barebones apache server or something. But yeah, please try it out and let us know how it goes.
|
# ? Feb 27, 2021 02:49 |
|
Soricidus posted:I deliberately never handle this case in scripts etc, on the grounds that anyone who’s careless or stupid enough to create a file with a newline in its name deserves to suffer if "${FILENAME}" isn't good enough then you can eat poo poo, yeah. i did my part
|
# ? Feb 27, 2021 02:53 |
|
I helped run a lab that ran 100% gentoo on servers and workstations for MAXIMUM PERFORMANCE. To be fair, this was literally early 2000s (when SSE and etc registers and instructions were brand new, so it could have arguably been useful) and the it staff were all volunteers (so no impact on the budget if they work long hours) I even wrote an ebuild but I had to give it to someone else to submit it because I did not (and still do not) have any gentoo dev cred
|
# ? Feb 27, 2021 02:54 |
|
plz don't normalize running gentoo
|
# ? Feb 27, 2021 02:57 |
|
i might have steak-umms brain but i really like how fedora just comes with poo poo for running boxes in was real loving easy to set up a windows VM for testing poo poo on
|
# ? Feb 27, 2021 03:05 |
|
|
# ? May 28, 2024 15:10 |
|
Best Bi Geek Squid posted:plz don't normalize running gentoo HOLY COW I'M TOTALLY GOING SO FAST OH F*** http://bugs.gentoo.org/show_bug.cgi?id=74072 LDFLAGS='-Wl,-O1,--enable-new-dtags,--sort-common,--allow-multiple-definition,--allow-multiple-definition,--relax -z combreloc -z muldefs -s' CFLAGS="-g0 -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -pipe -O3 -march=pentium4 -fweb -funswitch-loops -funroll-all-loops -funit-at-a-time -fsched2-use-traces -fsched2-use-superblocks -fsched-stalled-insns=12 -frename-registers -fprefetch-loop-arrays -fpeel-loops -fomit-frame-pointer -fmerge-all-constants -finline-limit=32768 -finline-functions -ffunction-sections -ffast-math -fdata-sections -fbranch-target-load-optimize2" CXXFLAGS="-g0 -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -pipe -O3 -march=pentium4 -fweb -funswitch-loops -funroll-all-loops -funit-at-a-time -fsched2-use-traces -fsched2-use-superblocks -fsched-stalled-insns=12 -frename-registers -fprefetch-loop-arrays -fpeel-loops -fomit-frame-pointer -fmerge-all-constants -finline-limit=32768 -finline-functions -ffunction-sections -ffast-math -fdata-sections -fbranch-target-load-optimize2 -fvisibility-inlines-hidden -fabi-version=0 -fpermissive -fno-enforce-eh-specs"
|
# ? Feb 27, 2021 03:14 |