I'm using an HP printer and currently am using the USB cable to connect to my PC to print. I'm running out of USB ports and (for some reason) when I use a USB hub with it, my PC fails to read it.

Instead, I wish to connect the printer to my local network, BUT I don't want it connected to the internet. I've seen how dangerous it is to expose your printer to the internet, so I wish to prevent that (plus I don't want the printer to auto-update).

How can I connect my printer to my local network so I can print wirelessly without allowing internet access to it?

If it's important:

  • My PC is ArchLinux
  • My printer is a HP ColorJet Pro MFP (I dont know the model #/what series it is)
  • I do have cups and hp-lip installed on my system

Also: A guest network does not work on my network for some reason, but that's a separate issue unrelated to this.

 

When I refer to "cold meals", I'm talking about temperature (Cold, cooked meals).

To me, cold meals taste much better compared to hot meals. With chili, for example, the flavor becomes more rich after it has cooled down.

Additionally, cold meals are less messy than hot meals. For instance, melted cheese and grease from meats will harden when refrigerated, thus no longer dirtying the hands.

Finally, consuming hot meals can put you at risk of burning your mouth, causing prolonged pain (which sucks BTW). Cold meals do not have this issue.

IMO, the only benefit hot meals have over cold meals is warming you up and (for some meals) being ready to consume immediately after preparing it.

 

I'm making a game where the player moves through an endless scrolling 2D world. Currently, I want the terrain to represent a sine wave, as shown in the provided illustration.

How should I setup my terrain scene to generate this terrain with collision? Or should the terrain generation be in the main game scene? If the later, what node structure should I use for my terrain?

 

So I have a Python package following the project structure outlined by the Python Packaging User Guide (Without the tests/ directory). Let's call it Package A.

This package can be used alongside another package, Package B, however no proper compatibility exists in Package A to support Package B's rendering system.

I want to make a compatibility package, Package AB, to make Package B's systems work with Package A. It shares the same dependencies as Package A, however it has Package B as a dependency.

How should I setup my project structure for Package AB? Should it be its own project directory? Should it be nested inside Package A's src directory?

Additionally, I have Sphinx /w Hatch setup with Package A for documentation. Depending on the setup chosen above, how should I setup documentation for Package AB?

Some things to note:

  • Package AB would use classes and methods from Package A and Package B
  • Package B's license (MIT) is compatible with Package A (GPLv3). Package AB would be licensed under the same as Package A

If more details are required, let me know.

 

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?

 

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.

 

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)

view more: next ›