Skip to content

u/libre_hackerman

In this archive from Jul 2019 to Jun 2024

4
posts
18
comments
4
media
841
score
1 saved before deletion
6 points

That depends on the programming language the program is written in. There are two kinds: compiled and interpreted. For the compiled ones (C/C++, Rust or Go for example), the source code is transformed into a binary executable that the system can launch (such as Pacman or the Python interpreter itself). With interpreted languages (like Python or Bash) instead of generating a binary executable file, the source code (plain text) is translated each time you want to run the program. That's why you have to write python file.py: you call the python interpreter and tell it to run the file.py source code. Same applies to shell programs.

1 points

I use i3-gaps as daily driver, although most of the programs I use are terminal based, with the exception of Firefox, very occasional games and Sxiv and Mpv. And today I just discovered that mpv+libcaca works way better than I thought for displaying videos, so if I really wanted maybe I could move to the TTY. But of course, this would make very cumbersome doing the things that can't be done well in a terminal, so I'm not going to artificially restrict myself with the TTY unless I'm extremely bored.

But that doesn't mean I'm not gonna rice my TTY xd

20 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.