[-] christopher@programming.dev 2 points 3 weeks ago

$ info {command} although not available for all commands will often give texts that are more tutorial in nature. If you don't like the interface of info, you can use tkinfo instead.

[-] christopher@programming.dev 10 points 3 weeks ago

Just get in the habit of checking for your keys before you go through any door. It takes no mental effort once it's a habit. If they aren't in your pocket (or in my case a lanyard) then they are in that room or vehicle, so you should recover them before going out. This method worked for me 100% for decades. It only failed after I got married and my wife started stealing them. But it's usually not too hard to find her.

[-] christopher@programming.dev 1 points 3 months ago

I drop files I want to share in ~/public_html/files/ as I have a webserver running on my desktop with the firewall open to the local network. Might be tough for a noob to setup though. But on my phone the file shows up in /~christopher/files/ and I have trouble remembering how to type the tilde.

[-] christopher@programming.dev 1 points 3 months ago

No toca los PopOS!

[-] christopher@programming.dev 1 points 7 months ago

In case you're on Archlinux, the thonny 4.1.4-1 package in chaotic-aur unofficial repo works for me.

[-] christopher@programming.dev 1 points 7 months ago

For the ebook, install pandoc, then run this:

pandoc -f rst -t epub2 -o pkgsample.epub --metadata title="nedbat/pkgsample: A simple example of how to structure a Python project" --metadata author="Ned Batchelder" https://github.com/nedbat/pkgsample/raw/main/README.rst

[-] christopher@programming.dev 5 points 9 months ago

Can you follow Dave Touretzky's book? The 1990 PDF version is free.

[-] christopher@programming.dev 7 points 10 months ago

My middle school algebra teacher sparked my interest in coding.

Due to moving around a lot, I never learned any mathematics, not even basic arithmetic before middle school. In the seventh grade, I was put in a class where the teacher just handed out worksheets with arithmetic problems, and then usually left the classroom until the end of the hour. On the rare occasions when she stayed, I asked her to teach me arithmetic, but she didn't believe I couldn't do it, so she never taught me and I failed the class.

But in the eighth or ninth grade, they allowed me to sign up for the Algebra for dummies class, which taught in two semesters what the normal class taught in one. My new teacher taught me arithmetic the first day, and I was his star pupil from that point.

He invited me and some other students to stay after school to learn FORTRAN. We did not have a computer at the middle school--it was at the university. We didn't even have a card punching machine. So we had cards that looked like punch cards, but instead of punching holes in them, we coded the Hollerith code in them by filling bubbles with a number 2 pencil. Then we sent the cards on a mail truck to the university and got back a printout a week later.

[-] christopher@programming.dev 1 points 1 year ago

On my computer,

ps -ef | grep Xorg

gives

root 642 632 0 06:09 tty7 00:03:26 /usr/lib/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch

showing that the X server is running. I suspect that when you run the above ps command, that you will get no output, which shows that the X server is not running on your computer. In that case, you need to remove the lock that is preventing it from starting:

rm /tmp/.X0-lock

christopher

joined 1 year ago