AstroLightz

joined 2 years ago
[–] AstroLightz@lemmy.world 0 points 12 hours ago

I've only ever bought cheap $2 sunglasses and they work fine. They're cheap, so they break easy, but they're only $2.

[–] AstroLightz@lemmy.world 4 points 12 hours ago

Very true, especially when working with recursion. (Debugging recursion sucks)

[–] AstroLightz@lemmy.world 8 points 22 hours ago (1 children)

I misread that as "Trust Turtle God GIF", and was confused by the downvotes.

[–] AstroLightz@lemmy.world 0 points 2 days ago

Season 4 of Classroom of the Elite is airing. Looking good so far.

If you do watch it, be prepared for a lot of changes, as the art style, music, and the intro have completely changed (Probably new studio). Fortunately, the VAs are the same (as far as I can tell).

[–] AstroLightz@lemmy.world 3 points 3 days ago* (last edited 3 days ago)

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

[–] AstroLightz@lemmy.world 1 points 4 days ago

Never seen it, so all the memes of it in animemes make no sense to me, but it's still funny to look at.

[–] AstroLightz@lemmy.world 17 points 4 days ago

"Nanomachines, son"

[–] AstroLightz@lemmy.world 6 points 4 days ago (2 children)

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)

[–] AstroLightz@lemmy.world 3 points 5 days ago

No fucking clue, it just happened one day.

[–] AstroLightz@lemmy.world 10 points 6 days ago (2 children)

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.

[–] AstroLightz@lemmy.world 0 points 1 week ago

Hopefully, someone in Japan with a leek haircut will emerge and restore civilization /s

[–] AstroLightz@lemmy.world 5 points 1 week ago (1 children)

So is "Claw Code" supposed to mean Claude? I don't see any explanation of what the repo actually is.

 

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?

Additionally, is the default ufw allow service-name/port, where it allows from anywhere, insecure? Like, does it open the port to the internet, for anyone to see or connect to?

 

I followed the Python packaging guide to upload my project to TestPyPI, but the README is missing images.

I read that relative paths to images don't work because PyPI only has the scope of the README itself and (maybe) Sphinx directory? So the README on Codeberg looks normal, but on PyPI it's missing the images.

What can I do so both Codeberg and PyPI can render images?

Ideally, I would like a solution that still allows rendering the images locally after downloading the source files (if that's possible).

I thought of maintaining a clone of the README (something like README.pypi.md), but I don't think that is a good idea. Any thoughts?

 

Title is kinda confusing, but basically, I followed the Python packaging process to set up my Python package development environment. My project structure is layed out the same, except for a .venv in the root directory (not in src), and additional Python files in the src/package_username directory.

I can build my package fine, but when I go to import it into other projects, I have to import it like import package_username.file or from package_username.file import SomethingInFile. For other python packages, I would only need to do import package or from package import Something.

How can I set up by build process to remove the need for the first portion in my import statements so it matches other packages like termcolor? Is there something I need to add in my __init__.py file?

 

I have a music script I'm working on that uses VLC as its backend for playing music in the background. However, I was looking around the MPV CLI arguments, and there's quite a few things there that would work for my script.

However, I have a few issues with MPV before implementing this addition:

  1. I don't want a window to appear whenever I launch MPV.
  2. I want MPV to remember certain properties, like volume.
  3. I don't want the CLI info displaying in the terminal. This would cause issues as now MPV will close when the terminal closes. I need this to run in the background, like VLC.

I've kinda managed to solve 1. by using --no-vid, but I haven't figured out 2. or 3. yet. Does anyone know any tips, tricks, arguments, etc. to get the desired experience I want with MPV?

It's a Python program, so I am using subprocess currently.

 

For example:

class FooBar:
    def __init__(self):
        self.a: int = None
        self.foo: str = None

Is this bad practice/go against PEP guidelines or is it fine?

 

Prior to this update, I remember being able to hold down the use button and the tool would keep being used (Mainly the hammer). However, it seems like this was changed as now holding it down only registers one command (one hit).

Anyone else having this issue or could it be one of my mods?

 

I'm making a Python script to play music through VLC and I wanted to add a way to control audio playback of VLC, like pause/play, next/previous, etc.

I know I can change shuffle mode before launching VLC with the --random and --no-random arguments. However, is there a way to change playback settings through the Linux terminal while VLC is running?

 

I've been using LibreOffice for a while now, and while I do enjoy it, its spelling/grammar checking are hit or miss more often than not.

I've been using WritingTool for my spelling and grammar, and it seems to work well sometimes, but others it gets things wrong. I have had the (un)fortunate pleasure of having to use Microsoft Office for work reasons, and while I dislike most of what Office provides, to me at least, its spelling/grammar check seems better than WritingTool (Providing suggestions WritingTool doesn't, better grammar & proper noun detection, etc).

I'm looking for any good alternatives to WritingTool or ways to improve its checking behavior/accuracy. If the later, what rules or settings do you use to make it perform better?

If it's necessary to know, I'm using Arch Linux, though I'm sure Extensions for LibreOffice would work on any OS.

 

I recently played Palworld, and while the game suffers from many problems, one thing I really liked about the game was the base pals system, where you assign pals to do certain tasks based on what skills they have. They could mine, cut trees, craft, smelt stuff, etc. They could store the products in storage containers automatically as well.

Are there any Minecraft Java mods that do something like this? I'm aware of MineColonies, but that is more on a larger scale than, say, a small base.

 

I know in older versions I used a few months ago, the project and clip monitor were not in a vertical window like this. On startup, it asked if I wanted horizontal or vertical as a default profile, and I chose horizontal, but it gave me this layout?

Is this just a Endeavour/Arch thing on my end or is this happening to others as well?

 

So recently, I ended up getting sick from an event I went to. I took sick leave from my employment, and I have a few days to rest. I don't want to just stay in bed, however.

So, what games do you like to play when your sick? Something that doesn't require too much thinking to play.

 

Now, don't get me wrong, I like the premise of GrapheneOS. The security features it offers are great. However, you're sacrificing useful hardware features by using it.

Currently, the only phones that support GrapheneOS are Pixels, which lack the microSD card slot, dual sims, and a HEADPHONE JACK! To me, those features are not worth sacrificing for a little extra privacy.

Compared to LineageOS, however, they support a broad range of devices, even pixels. I can look through their supported devices and find one that has a headphone jack, microSD card slot, dual sims, etc. Yes, it's less private than GrapheneOS, but it's still more private than stock android or any of those other OEM roms (OneUI for example).

You can still keep some privacy using LineageOS while preserving functionality with projects like MicroG.

Overall, I think for the time being, unless you are really paranoid or live in a anti-privacy area, LineageOS is the better OS to use than GrapheneOS due to still gaining some level of privacy while preserving useful hardware festures. Once GrapheneOS branches out from Pixel phones, I might change my opinion.

view more: next ›