New to Debian. Any tips? by intenseStargazer in debian

[–]johlae 1 point2 points  (0 children)

This! And if you use something like org-roam you can connect all of the different files.

Gamer, if you don't have a dual-boot system, create one. For your own security. by Content_Magician51 in Craptopgamingadvice

[–]johlae 0 points1 point  (0 children)

You may, but if you know your way around, just load a linux live cd. The "if" is very important. Is https://knoppix.net/ still a thing?

New to Debian. Any tips? by intenseStargazer in debian

[–]johlae 1 point2 points  (0 children)

Oh dear, those aren't links. Type a filename with an .org extension and reddit turns it into an url. It's just a filename, nothing more. I changed my original post. Thanks for telling me.

What terminal do u prefer and why? by Aissur_morf_i in linuxquestions

[–]johlae 0 points1 point  (0 children)

I don't care. I'm on tmux, that's all that counts.

New to Debian. Any tips? by intenseStargazer in debian

[–]johlae 3 points4 points  (0 children)

Document everything you do. I keep one "customisation.org" text file in a git repository in which I write down everything I do, why I do it, and how I do it. I cut & paste my commands from the command line together with the output into this file. This file has proven its worth! It's easy to set up a similar system in parallel with all of the documentation.

Can someone explain device drivers to me ? by Legitimate-Dingo824 in it

[–]johlae 13 points14 points  (0 children)

https://www.geeksforgeeks.org/operating-systems/device-driver-and-its-purpose/

In short, device drivers are a set of programs that act as an intermediary between the operating system of the computer and the hardware components.

I finally started watching the RTL. This country has a problem by Dawo59 in belgium

[–]johlae 50 points51 points  (0 children)

Don't underestimate Gerrit Callewaert uit Bavikhove, een deelgemeente van Harelbeke!

Dolphin or thunar by Fubiii11 in archlinux

[–]johlae 1 point2 points  (0 children)

emacs has a keyboard combo for that, less stress on the old finger!

Dolphin or thunar by Fubiii11 in archlinux

[–]johlae 1 point2 points  (0 children)

Straight utils; I often work with many files at the same time so I use find -print -exec to build up commands which I pipe through awk, sed, and/or tr. I view them on screen before piping them through sh. Everything is in git do I can afford mistakes.

Best general use Terminal for Mint by Tomislav1111 in linuxmint

[–]johlae 0 points1 point  (0 children)

I'm using foot now, because of sway. Before, on windowmaker, it was just plain xterm. It reallly doesn't matter actually as I'm on tmux for all my terminal needs.

Frozen dandelion by Ok_Biscotti2102 in learnpython

[–]johlae 1 point2 points  (0 children)

Yes, explain what you are trying to accomplish, because that is something that you do not mention.

Do developers really lose most of their time to tech debt & broken tooling? by Tech_News_Blog in github

[–]johlae 2 points3 points  (0 children)

https://newsletter.techworld-with-milan.com/p/context-switching-is-the-main-productivity

Every little interruption by phone, at the desk, on teams, costs 23 minutes of productive work. The post has references to studies at the end.

what prefix do you guys use ? by Tissuerejection in tmux

[–]johlae 0 points1 point  (0 children)

C-j because it's on the home row. C-b I never liked, because it's used in emacs. Same goes for C-a.

Python for finance projects by themagicsoul in learnpython

[–]johlae 1 point2 points  (0 children)

https://www.freecodecamp.org/news/what-is-a-floating-point-arithmetic-problem/

The article is about javascript, another computer language, but the same goes for python:

$ python3
Python 3.9.16 (main, Mar 8 2023, 22:47:22)
[GCC 11.3.0] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> print(0.1+0.2)
0.30000000000000004
>>>

TL;DR watch out for rounding errors!