Hobbyist developer, Linux enthusiast, and Arch Linux user.
“The only things constant in this world are death and taxes, I’ve got both!” — Skeleton Merchant, Terraria
- 5 Posts
- 90 Comments
AstroLightz@lemmy.worldto
Ask Lemmy@lemmy.world•What would a half human / half centaur look like?
21·2 days agoMath can help solve this:
m = 0.5 # human h = 0.5 # horse C = m + h # CentaurSo Centaur is 50% human, 50% horse. Half human, half Centaur would be:
# Expand C / 2 + m m + h / 2 + m # Combine (m + h / 2) + (2m / 2) 3m + h / 2 # Solve 3(0.5)[m] + 0.5[h] / 2 1.5[m] + 0.5[h] / 2 0.75[m] + 0.25[h]Which is 0.75 human, 0.25 horse
Therefore, this hybrid is 75% human, 25% horse
To answer your question: This would probably be a human with a horse tail, and 2 horse legs.
AstroLightz@lemmy.worldto
Ask Lemmy@lemmy.world•How would you reorganize the ways we interact with the internet to make the world a better place?
4·5 days agoIt’s better to start over from scratch than it is to try to reorganize a huge code base.
Therefore, Internet 2.0, where it’s only IRC channels for support, forums as “social media”, and simple file sharing sites for your video and image content. You don’t need anything else.
Apply the Linux mentality to the Internet 2.0 and it won’t be so bloated with slop.
EDIT: Oh, and no JavaScript! That can stay quarantined with the Internet 1.0
Subbed for sure.
The only anime I’ve ever watched dubbed was Cyberpunk Edgerunners due to my playthrough of the game being in English.
AstroLightz@lemmy.worldto
Ask Lemmy@lemmy.world•What is the number one problem you are facing?
3·9 days agoI want to code, but I don’t know what to make that I would actually use.
I have a joke about piping to /dev/null, but you wouldn’t get it.
AstroLightz@lemmy.worldto
No Stupid Questions@lemmy.world•Do you think that these CBS employees should unionize and go on strike?
2·13 days agoDo you think
that these CBS employees should unionize and go on strike?Yes
AstroLightz@lemmy.worldto
Ask Lemmy@lemmy.world•What are some of your favourite developer tools?
1·14 days agoA shell script to create shell scripts.
Basically, it takes a file name, then creates a .sh file, and puts the shebang
into it.Very simple, yet it saves me from having to manually do it every time.
I’ve had it for as long as I can remember, so I’m pretty used to it. However, sometimes it gets really bad for a bit and it’s annoying.
I’m not too bummed about not experiencing true silence as I listen to music most of the time anyway.
AstroLightz@lemmy.worldto
Ask Lemmy@lemmy.world•What are some of your favourite developer tools?
12·15 days agoShell scripts. The power of automation is amazing.
AstroLightz@lemmy.worldto
Ask Lemmy@lemmy.world•Say you have some downtime with no obligations today. What are you going to spend your free time doing?
5·16 days agoProgramming and playing games
AstroLightz@lemmy.worldto
Ask Lemmy@lemmy.world•let's get controversial with the holiday question's.
2·16 days ago“Any object or objects that is “sandwiched” (i.e. surrounded in the middle) by another object or objects can be classified as a sandwich.”
Tacos, hotdogs, burritos, hell even sushi, are all sandwiches.
Write code and play games. I’m currently hyper fixating on Satisfactory right now, and it’s fun.
AstroLightz@lemmy.worldto
Ask Lemmy@lemmy.world•What do you use for your personal photos/videos backups? Cloud service? Local external drive? Etc
3·17 days agoI don’t have photos or videos worth keeping, so I don’t back them up. If the data gets lost, oh well. ¯\_(ツ)_/¯
One of my main projects (
framed_text) is pretty much complete and now has entered maintenance mode, where I’ll mainly fix bugs and only add something if I need it.However, I’ve started work on a Logging Python package that allows for full customization of the log text (How its structured), whether to log it to the console, a file, or both. Plus a timer for timing code execution (TBD).
Mainly making it for my sake, but I’ll upload it anyway in case someone else wants to use it. (That’s basically my programming philosophy)
AstroLightz@lemmy.worldto
Ask Lemmy@lemmy.world•You're immortal and sent back to Dec 1945. How do you survive until modern day?
31·23 days agoHide in a cave for an eternity then. If no one knows I exist, then I live forever.
Chilling after a long day of programming. Piano music helps to destress from the work.
AstroLightz@lemmy.worldto
Ask Lemmy@lemmy.world•What's something interesting (to you) you'd like to share about your current hyperfixation/obsession? (Infodump safespace for both neurotypicals and neurodivergents)
36·26 days agoWhen writing BASH scripts:
- The
.shextension isn’t necessary. - Using
/usr/bin/env bashis better than/bin/bashas not everyone has their bash located in bin. - Try to use local variables when you can. If you use global variables that won’t be used anywhere else, unset them at the end of your script.
- Don’t use
set -euo pipefail. It will only cause more issues down the road. - Functions are your friend. If your repeating code, put it in a function.
These are some of the tips I learned while learning bash.
- The
AstroLightz@lemmy.worldto
Ask Lemmy@lemmy.world•What is your favorite type of visual art?
4·26 days agoFractals, or any type of recursion.
The results can be beautiful. My favorite part is knowing some type of formula makes up the image.
I just spell every acronym, so “lmao” becomes “l-m-a-o”.

Paint.net. I so wish for something simple with a competent UI on Linux.
Pinta is the closest, but it’s too far behind modern paint.net.
GIMP lacks a competent UI, and Krita is too advanced for basic photo editing.