graham1

joined 1 year ago
MODERATOR OF
[–] [email protected] 1 points 8 months ago

It's true lol. I had to install Docker for teaching on my old drive and that instantly maxed out my root partition even when I kept deleting intermediate builds and unused data. Now I have this fun paranoia for all apps :)

[–] [email protected] 13 points 8 months ago (4 children)

just fyi I moved Discord, GIMP, Obsidian, and OBS over to flatpak and my root partition jumped from 19GB to 23GB. I'm kinda sad about it tbh

[–] [email protected] 1 points 8 months ago (1 children)

I was there on TeamSpeak over a decade ago. It was good for its time

[–] [email protected] 4 points 8 months ago

It looks like you're right. Uninstalling the deb and then installing the flatpak consumed an additional 2GB on my root, but I have a handful of other electron-based apps that are mildly obnoxious snaps, and migrating them might help amortize that cost

[–] [email protected] 3 points 8 months ago

Oh that's great! I'll switch to the flatpak tonight then

[–] [email protected] 4 points 8 months ago (4 children)

I haven't tried flatpacks yet. How do they compare to, say, snaps in terms of storage/redundancy?

551
Oh for fuck's sake (gekinzuku.com)
 

Can't I go one week without having to uninstall and reinstall the damn deb file?

 

A neat short explanation related to building spheres with cubes, like in Minecraft

Piped links:
https://piped.kavin.rocks/watch?v=A2IAyXc0LuE https://piped.video/watch?v=A2IAyXc0LuE

[–] [email protected] 6 points 8 months ago

username checks out

[–] [email protected] 8 points 8 months ago

taco bell had me covered even when I had nothing

[–] [email protected] 31 points 9 months ago (1 children)

It's a way to force an 18 year old into a life of indentured servitude under the guise of "financial assistance" by simply clicking accept on a couple online forms, only for 40% of them to end up working jobs that don't require a college degree in the first place.

[–] [email protected] 1 points 9 months ago (1 children)

Thanks for the suggestion! I use emacs, although only from the terminal via emacs-nox or emacs-snapshot-nox packages. I haven't used orgmode other than some testing related to other comments, but it's not exactly what I'm looking for. My main criterion is I want everything right in front of me when I open the terminal and start working, not in a separate program or interface.

[–] [email protected] 34 points 9 months ago (3 children)

10 minutes? bro I've sat unattended in the room 40 minutes before

[–] [email protected] 4 points 9 months ago
 

Hi all, I'm working on setting my terminal to display different tasks and information when I login. I have problems with attention and I frequently forget to do important things, so I really need to do this to help myself. I'm aware some of this will cause my terminal to be more slow when I first login. That's fine even if it takes an additional second to login. I have a rough mockup attached in the picture. The mockup uses the pr -Tm command to display my calendar side-by-side with my schedule and todo list, but here's where I'm at:

  1. Calendar is automated by ncal -C
  2. Weather is automated using curl wttr.in/New%20York?0
  3. Schedule is just a text file at the moment
  4. Todo is just a text file at the moment

I'm looking to also automate my schedule and todo from the command line, but I don't want to use Google-based tools or tools that connect to an external server in general. I'm looking for terminal-based tools where I can add events to my schedule with descriptions, times, and dates (support for recurring events is a bonus, but maybe not required), and then fetch my daily schedule and print it. Does anybody know a good way to handle this part? I could setup a simple database to store and interact with my schedule, but I feel like there has to already be a good tool like that available. However, my searches keeps pulling up things that aren't quite what I want...

Thanks for reading this! I appreciate any advice you have for the Linux side of things.

 

cross-posted from: https://gekinzuku.com/post/394282

Lately I've been obsessed with moving everything that people typically use as widgets into my bashrc. Today I discovered wttr.in, which is an open source project on Github at https://github.com/chubin/wttr.in

Usage is almost trivial. To get weather in your terminal, simply curl the URL with your city after the forward slash. If you live in New York City, use
curl 'https://wttr.in/New%20York'

Now, if that's too much bloat to have covering your precious terminal real estate, instead use
curl 'https://wttr.in/New%20York'?0?A?u which will truncate the curl to only today's weather.

 

Lately I've been obsessed with moving everything that people typically use as widgets into my bashrc. Today I discovered wttr.in, which is an open source project on Github at https://github.com/chubin/wttr.in

Usage is almost trivial. To get weather in your terminal, simply curl the URL with your city after the forward slash. If you live in New York City, use
curl 'https://wttr.in/New%20York'

Now, if that's too much bloat to have covering your precious terminal real estate, instead use
curl 'https://wttr.in/New%20York'?0?A?u which will truncate the curl to only today's weather.

 
 

cross-posted from: https://gekinzuku.com/post/188827

INTERCAL is an esoteric programming language which was purposely designed to be confusing and not visually aesthetic. It has two maintained implementations in C-INTERCAL and CLC-INTERCAL. C-INTERCAL's compiler is invoked by the ick command, and CLC-INTERCAL's compiler is invoked by the sick command.

Some highlights of INTERCAL include

  • Programmers must use PLEASE before statements to avoid compile errors due to being insufficiently polite, but not too many PLEASE statements or the compiler will report errors due to being overly polite.
  • Every call to a random number generator will introduce a random chance of the code failing to compile and report E774 RANDOM COMPILER BUG, and this chance to fail increases with the number of random number generator calls.
  • If compiling in INTERCAL-72 mode, the compiler will report E111 COMMUNIST PLOT DETECTED if the programmer uses features that are newer than INTERCAL-72.

The full list of compiler errors and warnings for C-INTERCAL, as well as related documentation, can be found in the intercal/doc/ick.txi file under the "Errors and Warnings" chapter. If you want to quickly scroll through them, each of the entries are preceded by an @ieanchor tag.

 

INTERCAL is an esoteric programming language which was purposely designed to be confusing and not visually aesthetic. It has two maintained implementations in C-INTERCAL and CLC-INTERCAL. C-INTERCAL's compiler is invoked by the ick command, and CLC-INTERCAL's compiler is invoked by the sick command.

Some highlights of INTERCAL include

  • Programmers must use PLEASE before statements to avoid compile errors due to insufficiently polite, but not too many PLEASE statements or the compiler will report errors due to being overly polite.
  • Every call to a random number generator will introduce a random chance of the code failing to compile and report E774 RANDOM COMPILER BUG, and this chance to fail increases with the number of random number generator calls.
  • If compiling in INTERCAL-72 mode, the compiler will report E111 COMMUNIST PLOT DETECTED if the programmer uses features that are newer than INTERCAL-72.

The full list of compiler errors and warnings for C-INTERCAL, as well as related documentation, can be found in the intercal/doc/ick.txi file under the "Errors and Warnings" chapter. If you want to quickly scroll through them, each of the entries are preceded by an @ieanchor tag.

 
 

cross-posted from: https://gekinzuku.com/post/98403

While it's easy to get an IP address from popular websites such as whatismyip.com, it's not often friendly to a context where you might need to get your IP address for command line tools.

In order to grab your IP address via the command line, there's a page on a site called ipinfo.io/ip which only contains body content corresponding to your IP address. The easiest way to fetch that data is with the curl command (should be available on both Windows and Linux).

curl ipinfo.io/ip

It may also be beneficial to add this to your .bashrc or .aliasrc on Linux systems with something like

alias myip="curl ipinfo.io/ip"

Now you have an easy way to grab your IP address from the command line!

 

(attached image: our "About Us" page from the website in 2010 explaining the origin of the name, written by Kori I believe)

Kori, our resident weeb at the time, was always sending random stuff in Japanese in chat despite none of us understanding anything she was saying. When it finally came time and we wanted to come up with a name for the growing group and site, I said "let's do that Japanese word for 'games' that Kori keeps posting... Gekinzuku!"

Everybody thought that was a cool enough word/reason, so that's how the name was born. It's nothing close to ゲームス, but it somehow has a relatively one-to-one translation to the Japanese alphabet, ゲキンズークー. The use of ー characters is to bring the right spoken emphasis across to Japanese for "zu" and "ku", but disclaimer I'm still not a Japanese expert ;)

The group isn't nearly as big as it was in during the 2008-2011 timeframe, but we still have 5-10 active members that we stay in touch with, all united under our common misunderstanding of words posted in a language we didn't even speak.

 

While it's easy to get an IP address from popular websites such as whatismyip.com, it's not often friendly to a context where you might need to get your IP address for command line tools.

In order to grab your IP address via the command line, there's a page on a site called ipinfo.io/ip which only contains body content corresponding to your IP address. The easiest way to fetch that data is with the curl command (should be available on both Windows and Linux).

curl ipinfo.io/ip

It may also be beneficial to add this to your .bashrc or .aliasrc on Linux systems with something like

alias myip="curl ipinfo.io/ip"

Now you have an easy way to grab your IP address from the command line!

view more: next ›