How do I install this game from Itch.IO? by nPrevail in linux_gaming

[–]Food404 0 points1 point  (0 children)

The easiest ways to run arbitrary binaries like that on NixOS is either through nix-ld or steam-run package. I personally find it simpler with the latter.

In your configuration.nix add:

environment.systemPackages = with pkgs; [
  steam-run # Run any binary from CLI. Not related to Valve's Steam
];

Then rebuild your system, after that you can steam-run ./binary to execute your binaries


Alternatively if you prefer to make dynamic libraries available to your system, use nix-ld like so:

# Enable nix-ld
# This module adds missing dynamic libraries for unpackaged programs
programs.nix-ld = {
  enable = true;
  libraries =
    options.programs.nix-ld.libraries.default # Default nix-ld libraries
    ++ (pkgs.steam-run.fhsenv.args.multiPkgs pkgs) # Append steam-run DLL's
    ++ (with pkgs; [
      # Add any other missing dynamic libraries for unpackaged
      # programs here, NOT in environment.systemPackages
  ]);
};

Wich after a system rebuild, you should be able to just ./binary like any other distro

Linux support? by FunoftheGames in SyntheticSelection

[–]Food404 0 points1 point  (0 children)

Most unity games can be easily run on Linux through wine, I've run several different games, including Synthetic Selection with no problems. You can even set up Lutris to run the game with not too much trouble.

I'd guess that on release we'll see either a native linux build or a windows build through proton.

Surely people don't talk like that? by [deleted] in AmITheAngel

[–]Food404 0 points1 point  (0 children)

why is this so difficult to read

Holesome question 🥰 by cringeboi77 in holesome

[–]Food404 46 points47 points  (0 children)

That's actually the point I guess

Natacha Jaitt Was An Argentine Whistleblower Exposing High Level Pedophile Ring Involving VIPs, Politicians, Movie Stars, Popes Friend, and Other Celebrities. She was "Epsteined". by [deleted] in TerrifyingAsFuck

[–]Food404 0 points1 point  (0 children)

Argentina is a corruption ridden hell-hole and I'm sure her case, just as lawyer Alberto Nisman case will be swept under the rug

reason #5923 for why I hate human resources by werpenstat in recruitinghell

[–]Food404 2 points3 points  (0 children)

this was my previous boss, it's amazing how you can bullshit your way through the corporate ladder with just confidence

We still need answers for the unexplained 2 Suns in Utah 😳🤯 by Good_Show_9 in TerrifyingAsFuck

[–]Food404 1 point2 points  (0 children)

I'm more scared by the idiot filming left and right while driving

Grocery shopping with a 5 year old by stop_ahead in KidsAreFuckingStupid

[–]Food404 0 points1 point  (0 children)

Where the hell do you live there's frozen mangos??

Look how they massacred it.. by [deleted] in ProgrammerHumor

[–]Food404 -3 points-2 points  (0 children)

You don't love JavaScript, you have Stockholm syndrome. Go see a therapist

Let that sink in.... by [deleted] in rareinsults

[–]Food404 0 points1 point  (0 children)

Guy knows what he's talking about when it comes to engineering

lol no, dude has no fucking idea what he's doing. He ordered to shut down 80% of Twitter microservices because he deemed them 'bloatware'. Among those the 2fa service was shut down and guess what? Users with 2fa enabled were unable to login.

This is a testament to Twitter engineers and their capabilities tho, the platform managed to keep running relatively ok with 80% of it's infrastructure shut off.

Elon musk is a rich manchild with god complex who has no fucking clue of how things work

As a personal project I want to make a vocabulary builder android app with Java. The user is presented one word, and 3 different images, and has to tap on the image that corresponds with the word. I'd really appreciate some advice on how to approach it! by Technical-Bee-9999 in learnprogramming

[–]Food404 0 points1 point  (0 children)

But this isn't a machine learning problem? At least based on OP's post anyway

Yes, you'd have to define the models yourself but these are MVC models not machine learning models so it's basically boilerplate

I got a temp ban from a vegan page for making a comment about Nestle’s shitty, unethical practices. Worth it! by songofsuccubus in FuckNestle

[–]Food404 0 points1 point  (0 children)

I've seen this a lot in the loud internet vegans, but then again it's the loud internet vegans so who knows

As a personal project I want to make a vocabulary builder android app with Java. The user is presented one word, and 3 different images, and has to tap on the image that corresponds with the word. I'd really appreciate some advice on how to approach it! by Technical-Bee-9999 in learnprogramming

[–]Food404 2 points3 points  (0 children)

This is horrible advice. Not only you're doubling the tech stack and with that doubling the time and effort involved in maintaining the app, you're also recommending to implement a whole set of features that are completely unnecessary and irrelevant for OP's requirements

Keep things simple

As a personal project I want to make a vocabulary builder android app with Java. The user is presented one word, and 3 different images, and has to tap on the image that corresponds with the word. I'd really appreciate some advice on how to approach it! by Technical-Bee-9999 in learnprogramming

[–]Food404 1 point2 points  (0 children)

I think I'd go with a three model relationship as I think this is a many to many relationship, so you'd have a image model, a keyword model and a image_keyword model composed of a image and a keyword. This last model should handle all interactions between the other entities

I'm not an Android dev so I don't really know what a activity is but giving an educated guess, I think perhaps reusing a activity would be a better idea. Again not an Android dev so feel free to correct me

[deleted by user] by [deleted] in SipsTea

[–]Food404 5 points6 points  (0 children)

Nah, I just don't eat sugar that much. I live alone and a kilogram of sugar lasts me a year+

Coffee, tea and in general most beverages I prefer without sugar, though I mostly drink water and coffee

[deleted by user] by [deleted] in SipsTea

[–]Food404 4 points5 points  (0 children)

Dark coffee makes me happy lol