DeltaWingDragon

joined 11 months ago
[–] DeltaWingDragon 2 points 2 months ago

Still faster than Windows

[–] DeltaWingDragon 1 points 2 months ago

It's very energizing too

[–] DeltaWingDragon 2 points 2 months ago

This article from The Verge says they only added affiliates to cryptocurrency links. The CEO has since apologized.

[–] DeltaWingDragon 1 points 2 months ago

The manuals. RTFM exists for a reason. If there's ever a command or a config file you're not sure about, just type in man the_command.
If you can't access the man pages for some reason, there's an online version on linux.die.net.

Also, the Arch Wiki, Gentoo Wiki, and Debian Wiki offer good information for all distros. I like Arch Wiki the best.

[–] DeltaWingDragon 22 points 2 months ago* (last edited 2 months ago) (2 children)

PGP or GPG, however you spell it. You can encrypt stuff, protect your email from prying eyes!

Also FOSS in general.

[–] DeltaWingDragon -1 points 2 months ago* (last edited 2 months ago)

AI? In medical research? But rulers!!!

To expand on that, there's a scientific study that determined a certain AI flagged skin growths as cancerous if there was a ruler next to them.

In our dataset, images with rulers were more likely to be malignant; thus the algorithm inadvertently “learned” that rulers are malignant.

Source: ScienceDirect.com

[–] DeltaWingDragon 1 points 3 months ago

Upvoted solely for the last line

[–] DeltaWingDragon 3 points 3 months ago

Everything here reminds everyone of that.

[–] DeltaWingDragon 1 points 3 months ago

It wasn't anything big that caused me to switch. It was just a general feeling of "oh, maybe I'll switch" and annoyance at Windows, and then I got a new SSD.

[–] DeltaWingDragon 4 points 3 months ago

Here's a few of the micro-hacks that I've hacked up in the past.

A 2-line script to chroot into Debian when logging in as a certain user on FreeBSD.

#!/bin/sh  

clear  
doas chroot /linux /bin/login

I didn't have an IDE, so I just made a script called ide which runs Vim, and then compiles the code and makes it executable.

#!/bin/sh
#Works only for C
vim $1.c && cc -O3 -Wall -Werror -Wno-unused-result $1.c -o $1
#MODE=`stat -f "%OLp" $1`
if ("stat -f "%OLp" $1 | grep -e 6 -e 4 -e 2") then
	chmod +x $1
fi

This thing, called demoronize, which does what it says in the comments

#!/bin/sh

#dos2unix -O -e -s $1 | sed 's/    /	/g' | sed 's/“/"/g' | sed 's/”/"/g'
cat $1 | sed 's/    /	/g' | sed 's/“/"/g' | sed 's/”/"/g'
#Convert DOS line endings to Unix ones and add a final newline if there isn't one,
#replace sequence of 4 spaces with tab,
#and replace "smart" quotes with normal ones

I just keep those ones for historical value, but there's one hack I use every day. My keyboard doesn't have a function key (Fn), so I use the Super/Windows key instead.
I have xdotool keyup Super_L keyup Super_R keyup F4 key XF86Sleep bound to a custom keyboard shortcut. It unpresses the keys used for the shortcut (Super + F4), then presses the sleep key.

[–] DeltaWingDragon 2 points 3 months ago

Damn Taskbar is gold

[–] DeltaWingDragon 1 points 3 months ago (1 children)

What is unclutter?

view more: ‹ prev next ›