Instance: lemmy.world
Joined: 3 years ago
Posts: 11
Comments: 68
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
Posts and Comments by AstroLightz, astrolightz@lemmy.world
Comments by AstroLightz, astrolightz@lemmy.world
I’ve only ever bought cheap $2 sunglasses and they work fine. They’re cheap, so they break easy, but they’re only $2.
Very true, especially when working with recursion. (Debugging recursion sucks)
I misread that as “Trust Turtle God GIF”, and was confused by the downvotes.
pacman /w chaotic-aur.
I don’t need the AUR directly, a GUI, or other managers. Just what came with my system + chaotic works just fine.
edit: typo
Never seen it, so all the memes of it in animemes make no sense to me, but it’s still funny to look at.
“Nanomachines, son”
Yeah, to me all of these scream “Run tf away, go inside and don’t come back out until tomorrow.” (I am deafly afraid of bees)
No fucking clue, it just happened one day.
I don’t have spooky, but I’ve almost ‘died’ a few times (At least felt like I was dying):
- Getting very light-headed and my vision becoming bright, and almost passing out due to dehydration and hunger multiple times in my life (A few when I was young, at work, and I think a few times at home)
- Getting very dizzy, light-headed, and nauseous. Was my 1st time in an ambulance. Was fucked up on drugs they gave me that made my so exhausted, I couldn’t sleep at all.
- More light-headedness due to drastic dietary changes
- A pain that fucked my stomach up so bad, I though I was giving birth (I imagined it hurt as bad as birth, but through the stomach). After 30 agonizing minutes of it, a weird pressure feeling came over it (like a relieving feeling), and it started going away.
I’ve not had a great time.
Hopefully, someone in Japan with a leek haircut will emerge and restore civilization /s
So is “Claw Code” supposed to mean Claude? I don’t see any explanation of what the repo actually is.
I’ve been working on my first Python package to upload to PyPI to be used in more of my projects.
It’s a lot of work compared to some of my hobbyist projects as I’m trying to be (somewhat) professional about it.
It’s also my first time writing actual documentation designed for others to read. It’s a lot harder than I though to write good documentation. Thankfully, sphinx helps with pulling docstrings from my code. I just wrote a Quick-Start Guide to get people started using the package.
It’s fun though as I’m learning a new stack for Python package development (hatch/hatchling, ReadTheDocs, sphinx, PyPI). I’m almost done with the initial release too!
Yeah, there’s probably a better set of formulas to use.
The main idea behind my idea is that people who make more pay more, whereas people who make less pay less. Additionally, those who don’t make money pay no tax as it works out mathematically.
EDIT: formatting
A potential mathematical approach to equal taxation that works in any country:
- Calculate the average income of every citizen. Let A = the average income (amount per year)
- Set a baseline tax amount for the average (e.g. 10%). Let P = baseline tax percentage
- Given a person’s income, calculate how far above or below they are compared to the average. Let I = a person’s income. We can calculate the difference, D, with D = I - A. A positive value means the person’s income is above average, whereas negative is below.
- Calculate the difference as a percentage. Let Q = D / A
- Calculate the percentage of the tax percentage. This will determine how much more or less a person will have to pay: R = Q * P
- Finally, calculate the person’s unique tax amount: T = P + R. If R was a positive value, that means the person will pay more. If R was a negative value, they pay less. If R = 0, they pay the base amount.
Example: Let’s say the average income per year is $50,000 USD, and the baseline tax rate is 10%
So A =50,000 and P = 10% / 100 = 0.1
Given a person’s income: $30,000/yr:
I = 30,000
Calculate the difference:
D = 30,000 – 50,000 = –20,000
Q = –20,000 / 50,000 = –0.4 (–40%)
Calculate how much more/less the person pays:
R = –0.4 * 0.1 = –0.04 (–4%)
Calculate the unique tax amount:
T = 0.1 + (–0.04) = 0.1 – 0.04 = 0.06 (6%)
There might be a better set of formulas, but this is what I came up with. Let me know if I made a mistake in my math.
About 160° (~2.79 rad). Been slouching too much and need to fix my posture.
Accidentally wrote a 2GB ’nohup.out’ file when I forgot I had a script running as nohup in the background without redirecting STDOUT and STDERR to /dev/null.
Basically, I forgot to prevent saving the output of my program to a file, and it created a massive file because of it.
2GB might not seem like much, but this was on a server with ~5GB free space left. Could have been worse had I not caught it sooner.
I can think of a way out:
Just throw the whole PC away. It’s someone else’s problem now!
Imagine social media as an upsidedown parabola (like an arc), where the x axis is time, and the y axis is quality.
The start of a new social media platform would be towards the bottom left. As they grow and add new features, their quality improves. Over time, however, they will ‘peak’ in quality. Then, they begin to introduce anti-consumer practices, such as API restrictions, ads, sponsored posts, etc. Their quality dwindles until either the platform shuts down or becomes a horrible echo chamber.
Using this analogy, Reddit right now would be in the latter half of the graph, as it has become an echo chamber filled with bots, ads, and API restrictions.
Lemmy currently is more like approaching the peak for the parabola. It’s great for now.
Sure Lemmy is open-source, self-hostable, but it’s potential downfall would be its userbase. It’s starting to have the same issues as Reddit: Don’t comply with every else’s opinions, get downvoted to oblivion. Of course, downvotes don’t mean much on here, but getting banned would.
In its own way, Lemmy is starting to become an echo chamber for tech/Linux enthusiasts, radicals, and those exiled from Reddit.
Time to lose 100+ hours in Satisfactory.

Budget, adjustable monitor for programming?
I’m in the market for a monitor for programming. Ideally: - A monitor that can be adjusted vertically - A monitor that can rotated 90 degrees, so the long side is vertical
I’ve only ever bought cheap $2 sunglasses and they work fine. They’re cheap, so they break easy, but they’re only $2.
Very true, especially when working with recursion. (Debugging recursion sucks)
I misread that as “Trust Turtle God GIF”, and was confused by the downvotes.
pacman /w chaotic-aur.
I don’t need the AUR directly, a GUI, or other managers. Just what came with my system + chaotic works just fine.
edit: typo
Never seen it, so all the memes of it in animemes make no sense to me, but it’s still funny to look at.
“Nanomachines, son”
Yeah, to me all of these scream “Run tf away, go inside and don’t come back out until tomorrow.” (I am deafly afraid of bees)
No fucking clue, it just happened one day.
I don’t have spooky, but I’ve almost ‘died’ a few times (At least felt like I was dying):
I’ve not had a great time.
Hopefully, someone in Japan with a leek haircut will emerge and restore civilization /s
So is “Claw Code” supposed to mean Claude? I don’t see any explanation of what the repo actually is.
I’ve been working on my first Python package to upload to PyPI to be used in more of my projects.
It’s a lot of work compared to some of my hobbyist projects as I’m trying to be (somewhat) professional about it.
It’s also my first time writing actual documentation designed for others to read. It’s a lot harder than I though to write good documentation. Thankfully, sphinx helps with pulling docstrings from my code. I just wrote a Quick-Start Guide to get people started using the package.
It’s fun though as I’m learning a new stack for Python package development (hatch/hatchling, ReadTheDocs, sphinx, PyPI). I’m almost done with the initial release too!
UFW: Allow from multiple subnets?
I have a laptop I take with me that has UFW. I want to allow Syncthing from my home subnet and another place. Is there a way I can do that without allow from anywhere?
Yeah, there’s probably a better set of formulas to use.
The main idea behind my idea is that people who make more pay more, whereas people who make less pay less. Additionally, those who don’t make money pay no tax as it works out mathematically.
EDIT: formatting
A potential mathematical approach to equal taxation that works in any country:
Example: Let’s say the average income per year is $50,000 USD, and the baseline tax rate is 10%
So A =50,000 and P = 10% / 100 = 0.1
Given a person’s income: $30,000/yr:
I = 30,000
Calculate the difference:
D = 30,000 – 50,000 = –20,000
Q = –20,000 / 50,000 = –0.4 (–40%)
Calculate how much more/less the person pays:
R = –0.4 * 0.1 = –0.04 (–4%)
Calculate the unique tax amount:
T = 0.1 + (–0.04) = 0.1 – 0.04 = 0.06 (6%)
There might be a better set of formulas, but this is what I came up with. Let me know if I made a mistake in my math.
README Help for PyPI, Codeberg, and Possibly Local
I followed the Python packaging guide to upload my project to TestPyPI, but the README is missing images.
I too would like that TACO to go
About 160° (~2.79 rad). Been slouching too much and need to fix my posture.
Accidentally wrote a 2GB ’nohup.out’ file when I forgot I had a script running as nohup in the background without redirecting STDOUT and STDERR to /dev/null.
Basically, I forgot to prevent saving the output of my program to a file, and it created a massive file because of it.
2GB might not seem like much, but this was on a server with ~5GB free space left. Could have been worse had I not caught it sooner.