planNine's recent activity
-
Comment on Let's speak in foreign (non-English) languages! in ~talk
-
Comment on Let's speak in foreign (non-English) languages! in ~talk
-
Comment on What's on everyone's mind today? in ~talk
planNine How much university work I have to do and that I'll probably have to go a few days without sleep. Some universities are @#$%&! stupid, but such is a life of a student I guess. :(How much university work I have to do and that I'll probably have to go a few days without sleep. Some universities are @#$%&! stupid, but such is a life of a student I guess. :(
-
Comment on Let's do something different: What are your favorite video game OSTs? in ~music
planNine Yes! In fact, I saw it a couple of days ago and was just amazed with the amount of effort and dedication that went into it.Yes! In fact, I saw it a couple of days ago and was just amazed with the amount of effort and dedication that went into it.
-
Comment on Let's do something different: What are your favorite video game OSTs? in ~music
-
Comment on Programming Challenge: Make a Caesar cipher! in ~comp
planNine In response to the edit: why would you even need such a big key (2000)?In response to the edit: why would you even need such a big key (2000)?
-
Comment on Today I finally beat being a digital pirate despite having to jump a big hurdle in ~talk
planNine Do they not have this book in a library? Or do you just prefer having your own copy?Do they not have this book in a library? Or do you just prefer having your own copy?
-
Comment on Programming Challenge: Make a Caesar cipher! in ~comp
planNine I see what you did there...So i just gave this a bit of a go
I see what you did there...
-
Comment on Be still and know that I am God in ~talk
planNine It's from The Bible (Psalm 46:10 NIV).He says, “Be still, and know that I am God;
I will be exalted among the nations,
I will be exalted in the earth.”It's from The Bible (Psalm 46:10 NIV).
-
Comment on <deleted topic> in ~comp
planNine You could replace a lot of parens with the $ operator.You could replace a lot of parens with the $ operator.
-
Comment on <deleted topic> in ~comp
planNine Wait. Why do you need numbers from 14-19? Am I missing something? EDIT: nvm, I'm stupid. My solution doesn't even work with those numbers.Wait. Why do you need numbers from 14-19? Am I missing something?
EDIT: nvm, I'm stupid. My solution doesn't even work with those numbers.
-
Comment on I made a thing: News Desk in ~comp
planNine Well, according to this definition, it's not even open-source. To the OP (@Scion): I would suggest adding a license, take a look at this page. Also adding a screenshot or something would be really...Open source doesn't just mean access to the source code.
Well, according to this definition, it's not even open-source.
To the OP (@Scion): I would suggest adding a license, take a look at this page.
Also adding a screenshot or something would be really nice, so that people can see the program without actually running it. -
Comment on <deleted topic> in ~comp
planNine (edited )LinkImplemented in GNU Awk. I hacked this together in a few minutes, it's not the best, but I believe it does the job. EDIT: I just noticed this program doesn't work with minutes 13-19. Oh well,...Implemented in GNU Awk. I hacked this together in a few minutes, it's not the best, but I believe it does the job.
EDIT: I just noticed this program doesn't work with minutes 13-19. Oh well, better luck next time.
#!/run/current-system/sw/bin/awk -f # If on a non-NixOS system, replace with /usr/bin/awk -f # Write the times in a separate file on each line and then pass that # file to the program, something like this: # ./talking_clock.awk input.txt BEGIN { FS = ":" nums[0] = "twelve" nums[1] = "one" nums[2] = "two" nums[3] = "three" nums[4] = "four" nums[5] = "five" nums[6] = "six" nums[7] = "seven" nums[8] = "eight" nums[9] = "nine" nums[10] = "ten" nums[11] = "eleven" nums[12] = "twelve" other[2] = "twenty" other[3] = "thirty" other[4] = "forty" other[5] = "fifty" } { first_num = $1 % 12 printf "It's" printf " %s", nums[first_num] if ($2 < 10 && $2 != 0) { printf " oh %s", nums["0" + $2] } else if ($2 != 0) { printf " %s", other[int($2 / 10)] snd_digit = $2 - int($2 / 10) * 10 if (snd_digit != 0) { printf " %s", nums[snd_digit] } } if ($1 < 12) { printf " am\n" } else { printf " pm\n" } }
-
Comment on Regrets in ~talk
planNine I've tried watching the show twice before and never made it past the first episode. A few weeks ago was the first time I did (third time's the charm, I guess) and was hooked. I love how even an...I've tried watching the show twice before and never made it past the first episode. A few weeks ago was the first time I did (third time's the charm, I guess) and was hooked.
I love how even an alternate history like that, has a lot of similarities to our current world (maybe that's just me + I don't really live in the US, so I wouldn't know what's like).
-
Comment on Post your setup! in ~comp
planNine Oh I misread it. Yeah, I generally only reboot if the Linux kernel was updated or Systemd (because it's Systemd...). Because I use NixOS, the output during an upgrade is hard to read sometimes...Oh I misread it. Yeah, I generally only reboot if the Linux kernel was updated or Systemd (because it's Systemd...).
Because I use NixOS, the output during an upgrade is hard to read sometimes (they're working on this). When that happens I also just reboot to be safe, but NixOS doesn't update as much as something like Arch :).
-
Comment on Post your setup! in ~comp
planNine Why do you have to reboot after installing updates (I'm not familiar with MXLinux)?Why do you have to reboot after installing updates (I'm not familiar with MXLinux)?
-
Comment on Post your setup! in ~comp
planNine That's why I love Nix. It allows me to create a reproducible development environment no matter the language. All I do is write a default.nix file. The file is read by the nix-shell command when I...That's why I love Nix. It allows me to create a reproducible development environment no matter the language. All I do is write a
default.nix
file. The file is read by thenix-shell
command when I invoke it and all dependencies are installed for me, without having to worry about a weird state on my system that is allowing my code to compile. -
Comment on What's something new that you're watching that's good? in ~tv
-
Comment on Session Timeout? in ~tildes
planNine That's interesting. Maybe you can only be logged-in with a single browser. Was Firefox the first browser you used to login?That's interesting. Maybe you can only be logged-in with a single browser.
Was Firefox the first browser you used to login?
-
Comment on Post your setup! in ~comp
planNine I don't think it's such a big deal. The nice thing about st is that even if you don't like something , you can easily change it, because the source code is quite simple and short (provided you...I don't think it's such a big deal. The nice thing about
st
is that even if you don't like something , you can easily change it, because the source code is quite simple and short (provided you know C).If I'm working with a command that outputs a lot of text I just use something like
less
and don't use the scrollback, because in most terminals (by default) the scrollback is limited.
Ja, zanimivo, da se z našimi južnimi brati boljše razumemo v tujini kot sami med seboj.