[-] graham1@gekinzuku.com 13 points 10 months ago

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

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

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

10
submitted 10 months ago by graham1@gekinzuku.com to c/math@lemmy.world

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

[-] graham1@gekinzuku.com 8 points 10 months ago

taco bell had me covered even when I had nothing

[-] graham1@gekinzuku.com 30 points 11 months ago

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.

[-] graham1@gekinzuku.com 35 points 1 year ago

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

[-] graham1@gekinzuku.com 17 points 1 year ago

I heard it in a coffee shop just the other day. Several customers and employees complained and the manager skipped the song all in about 30 seconds

27
submitted 1 year ago by graham1@gekinzuku.com to c/linux@lemmy.world

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.

178
submitted 1 year ago by graham1@gekinzuku.com to c/linux@lemmy.world

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.

[-] graham1@gekinzuku.com 11 points 1 year ago

They found you

[-] graham1@gekinzuku.com 9 points 1 year ago

Large language models literally do subspace projections on text to break it into contextual chunks, and then memorize the chunks. That's how they're defined.

Source: the paper that defined the transformer architecture and formulas for large language models, which has been cited in academic sources 85,000 times alone https://arxiv.org/abs/1706.03762

120

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.

[-] graham1@gekinzuku.com 23 points 1 year ago

Yeah but Facebook probably has access to the other person's contacts where your name and phone number were stored

[-] graham1@gekinzuku.com 11 points 1 year ago

You can look into Spotify Downloader spotdl, a Python package here: https://github.com/spotDL/spotify-downloader

It doesn't download as you listen, but it'll do something smart and download all the tracks of a playlist/album/etc by grabbing high-quality audio from Youtube videos (and it magically avoids dreaded music video versions) if you feed it a Spotify URL. It also puts all the metadata in the tracks automatically.

[-] graham1@gekinzuku.com 6 points 1 year ago

this is literally me

130
Scrotal Ru(le)pture (gekinzuku.com)
submitted 1 year ago by graham1@gekinzuku.com to c/196
38
submitted 1 year ago by graham1@gekinzuku.com to c/linux@lemmy.world

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!

[-] graham1@gekinzuku.com 10 points 1 year ago

also works for emacs users

[-] graham1@gekinzuku.com 24 points 1 year ago

ctrl+z
kill %1

263

Here's the command if you want to run it too. You need the imagemagick package

convert http://i.kym-cdn.com/photos/images/newsfeed/002/285/551/bc0.jpg -size 250x -pointsize 30 caption:'use a traditional image editor.' -geometry +50+470 -composite -size 280x -pointsize 14 caption:"$BASH_COMMAND" -geometry +360+530 -composite meme.jpg

view more: next ›

graham1

joined 1 year ago