AstroLightz

joined 3 years ago
 

cross-posted from: https://lemmy.world/post/48723025

(I'm not sure this fits this sub, but my script is for building android apks)

For a script I'm making, I'm looking for a way to either get the build output directory Gradle uses, or change it to something different.

I'm aware you could edit one of the gradle files in a project, but my script requires not altering the android app project (It only uses gradlew / gradle.bat that comes with it to build)

Is there some way to change gradle's build output directory, or if not, a way to get it from the command line?

 

For a script I'm making, I'm looking for a way to either get the build output directory Gradle uses, or change it to something different.

I'm aware you could edit one of the gradle files in a project, but my script requires not altering the android app project (It only uses gradlew / gradle.bat that comes with it to build)

Is there some way to change gradle's build output directory, or if not, a way to get it from the command line?

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

No, but I've seen a lot of pessimism in a few communities, even on positive posts.

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

Scored me:

  • Red Dead Redemption 2: Ultimate Edition
  • Sleeping Dogs: Definitive Edition
  • Talos Principle 1 & 2 + Reawakened Bundle

Not a bad haul

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

No need. The image captioned itself!

[–] AstroLightz@lemmy.world 2 points 3 days ago
  • Breakfast: None.
  • Lunch: Cereal if I feel like eating, otherwise I skip.
  • Dinner: Chicken wraps, with tomato, lettuce, and Mayo.

I'll eat a snack later in the evening if I'm still hungry.

[–] AstroLightz@lemmy.world 23 points 3 days ago
  • Palworld's 1.0 updates releases next month
  • Valheim gets its full release (including more consoles) in September
  • Enshrouded gets its official release in October

Many good games getting official releases this year. Looking forward to it!

[–] AstroLightz@lemmy.world 1 points 3 days ago (3 children)

I'm out of the loop. Who is this?

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

Real life money? 0

Video game money? Highest was ~1e57 (Balatro)

[–] AstroLightz@lemmy.world 6 points 5 days ago* (last edited 5 days ago) (1 children)

This is an extreme example if you really want something like an old, 'dumb' phone from the past while still using modern hardware:

  • Remove any non-essential apps to making a call or text. I would only keep F-Droid to keep your launcher up to date (unless there's a built-in updater)
  • Replace your current launcher with something more minimal like Minimo Launcher
  • Optional: Install a game (Just one!) like Breakout 71 for something to do on your break (Like how old phones had a game to play)
  • Disable all notifications not related to phone or text
  • Disable Wi-Fi, Bluetooth, All Location Services, anything that isn't essential to making a call or text.

EDIT: forgot to add:

  • Only re-enable Wi-Fi for updating your launcher and/or game. Disable when you're done.

Congratulations, you've successfully 'dumb downed' your smartphone.

[–] AstroLightz@lemmy.world 39 points 5 days ago (2 children)

You don't just write your entire project, then make your first commit?

/j

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

A question I like to ask a lot whenever I see a new project that is similar to other existing or popular projects:

  • Why should I use this over XYZ?
  • What does this project do differently than XYZ?

If a developer can answer these questions, it tells me they have a clear picture of what their project is and should be.

So, I ask the same to you:

  • Why should I use this over yt-dlp, Piped, Invidious, etc?
  • What does this do differently than the other projects?
[–] AstroLightz@lemmy.world 10 points 6 days ago

Apollo for Reddit shut down, and Reddit's app sucks. Voyager looks identical to Apollo, so I moved to it.

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

Your question is a lot like this thought experiment:

If a tree falls in a forest and no one is around to hear it, does it make a sound?

Whatever your answer is to the above text can be applied to your question.

 

I'm looking for good Steam games to wishlist for the Steam Summer Sale coming soon. Mainly, I'm looking for any open-world game that features motorbikes/motorcycles as drivable vehicles.

It doesn't have to be a racing game. (Side tangent: I wish Forza Horizon 6, or any Forza game, had motorbikes in it.)

Games I already have that do have bikes in them:

  • Cyberpunk 2077
  • GTA IV and V
  • Burnout Paradise
  • Just Cause 2 and 3
  • Saints Row 2, 3 and 4
  • Watch_Dogs 1, 2, and Legion

Also, please only recommend games that can still be purchased (mainly on Steam).

 

I'm looking for any games on PC (preferably Steam) that plays like The Legend of Zelda: Breath of the Wild.

Mainly, I'm looking for large, open-world games, with lots of things to do, with an over-arching narrative/destination available. Think Minecraft, with but an actual definitive objective to complete.

I'm aware of Fromsoft's work (Elden Ring), but I'm looking for non-soulslike games.

 

I'm looking for any good tech-related/engineering podcasts. No AI slop or any podcast primarily about AI (If an episode is about AI, that's fine. I just don't want an entire podcast about AI)

Some podcasts to use as a reference (what I've been listening to):

  • The RTFM Show!
  • Darknet Diaries
  • Well There's Your Problem
 

I'm looking for a good FOSS podcast app for android. Ideally something from F-Droid, but anywhere works.

Sources don't matter, just mainly free podcasts is what I'm looming for.

 

Let's says you want to make a program that takes user input and follows the CRUD structure for some data. This program would be executed from the terminal and wouldn't be used in any other projects.

If this program was made in a language that supports creating packages for other programs (e.g. Python, Rust, NodeJS), should this program be a 'package', or should it be a standalone program that has a simple "setup" script?

Assume this is a CLI/TUI app that runs in a Linux terminal.

EDIT: I'll provide some more details since it seems I was too vague:

This program would allow the user to create 'Script' objects that would be saved to a file on their system. These objects would contain metadata such as a name, the command to run, and a description.

These Script objects would only be used by this program, and by the user. (i.e not a system program)

 

cross-posted from: https://lemmy.world/post/46764460

Question for People Familiar with Sphinx Documentation

So, I'm making documentation for my project using Sphinx with hatch/hatchling. I'm currently using the sphinx-rtd-theme as my theme. I already make a quickstart page for my project, but the src directory page is included in the sidebar. I would like to rename it to "Source Files", but when changing the header in my modules.rst file, it gets reset each time I build.

The main extensions I'm using for Sphinx are 'sphinx.ext.todo', 'sphinx.ext.viewcode', and 'sphinx.ext.autodoc'.

For context, my project structure looks something like this:

my_project/
| ---- requirements.txt
| ---- README.md
| ---- src/
| -------- my_project_module/
| -------------- __init__.py
| -------------- foo.py
| -------------- bar.py
| -------- docs/
| -------------- requirements.txt
| -------------- requirements.in
| -------------- conf.py
| -------------- modules.rst
| -------------- index.rst
| -------------- quickstart.rst
| -------------- my_project_module.rst
| -------------- _static/
| ------------------ some_img.png

Is there a way to change the display name of my src directory without renaming the actual directory in my project?

Also, is there a way to reorder the list so my quickstart guide shows up above the source page?

 

I'm currently unable to hear in one ear, but while eating, I can "hear" my chewing in both ears. Is this just a me thing or does this happen to other people?

1
submitted 2 months ago* (last edited 2 months ago) by AstroLightz@lemmy.world to c/asklemmy@lemmy.world
 

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

Either one of these (or both) specifications is preferred, though both is not necessary. I'm on a budget, so nothing more than $500 USD.

Display rate doesn't matter (60hz is fine), and 1080p is fine too.

Anyone know of any good monitors like this?

Edit: By "rotated 90 degrees", I'm referring to the monitor being able to rotate on its stand, not being mounted on its side.

 

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 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.

view more: next ›