Post your favorite programming/computer/IT tips

  • 4 Replies
  • 220 Views
Post your favorite programming/computer/IT tips
« on: September 08, 2025, 07:44:38 am »
Anything you like.  Tools you use, techniques for readability, resources, etc. etc.

The first one that comes to mind isn't particularly useful, but was kind of fun.  The power switch on my desktop's case got broken when I was installing my video card back in 2020.  Not wanting to buy a new case, I hooked up the power pin to the reset switch.  What's fun about this configuration is that the LED for the power switch still functions, so if the FBI (for whatever reason) took my computer as evidence, they'd have a frustrating few days trying to turn it on before opening the case.
aka luke

Re: Post your favorite programming/computer/IT tips
« Reply #1 on: September 09, 2025, 10:06:14 am »
Computers collect dust; more than just inert boxes because most computers use forced-airflow to cool down.  As part of spring cleaning, open your computers and clean the dust off surfaces.   Do it more often if you've got pets that shed fur.

Re: Post your favorite programming/computer/IT tips
« Reply #2 on: September 09, 2025, 09:55:35 pm »
Pro tip:

If you date a CS nerd or make it such that all of your friends are CS nerds, you don't need to learn CS. 😉
*WoofWoof*

Re: Post your favorite programming/computer/IT tips
« Reply #3 on: September 10, 2025, 08:28:42 am »
Pro tip:

If you date a CS nerd or make it such that all of your friends are CS nerds, you don't need to learn CS. 😉

I don't think you know this, but as a rule, "General Discussion" is for more serious discussion.  However, I'm not going to ban you as I don't think you are intentionally trying to derail the conversation. 

That said, as a non-computer science person, your tips and ideas are especially appreciated, as they give a perspective that is uncommon in this space.  So share away!
aka luke

Re: Post your favorite programming/computer/IT tips
« Reply #4 on: Today at 06:43:01 am »
programming
  • at least try disabling syntax highlighting. I use a very minimal theme: comments and strings are red, all other text is white. This enables me to read code naturally, like a book vs skimming
  • I like helix for a text editor because it's like vim but good out of the box due to integrated LSP so "spending hours configuring <editor>" isn't a thing
  • once steel scheme plugin support gets merged into helix some day I think we're gonna get something like org-mode and it will be amazing
  • If you do a lot of parsing pls learn to write grammars instead of spaghetti code parsing for reasons (https://langsec.org/)
  • learn readline shortcuts for bash/shell navigation https://www.bigsmoke.us/readline/shortcuts
  • download Zeal and offline docsets because the modern web is slow and irritating

*nix
  • EFI stubs can replace the bootloader
  • most commonly shipped initramfs tools cook up some mid af initramfs, https://github.com/anatol/booster makes way smaller/faster ones (can improve boot time)
  • systemd-analyze can help you improve boot times
  • try a weird distro or BSD to learn about "standard" components via negativa: musl void linux = no systemd, no gnu libc, no apt (i dislike apt very much)
  • if you care about FOSS networking: pfsense for router, openwrt for APs (because FreeBSD/pfsense network stack outperforms linux, openwrt because one place FreeBSD doesn't outperform linux is wifi drivers)
  • also if you care about FOSS networking, Protectli sells corebooted devices
  • watch this talk on how Netflix uses FreeBSD, it has so much good info on drivers, ISP <-> netflix relations/infra, kernel optimization for I/O https://youtu.be/36qZYL5RlgY. Amazing example of things being done different than you might expect because the theoretical "best practices" didn't turn out to be so great (e.g. not using ZFS on their ISP cache devices, just letting drives die)

physical stuff
  • if your house is wired for coax, you can use MoCA adapters which often outperform wifi (and DEFINITELY powerline)
  • use red lights at night for sleep / night vision preservation reasons
  • self-dimming red night lights are pretty cheap and nice for non-bedroom house areas

minimalism
  • hammock-driven development is real and I don't believe people can think/reason to their full potential well in front of a phone/computer/screen. write on paper.
  • go completely offline sometimes, preferably often. I have firewall rules that disable internet after 6:30pm 10/10 highly recommend. Might add an exception so I can still use my OS's package manager
  • use grayscale mode on your phone and you might find yourself reading books more
  • compulsive phone use is literally a stim https://youtu.be/KKjMn_elwlY

DIABOLIZER TIPPED 1111 CORAL FOR THIS POST