moonpiedumplings

joined 2 years ago
[–] moonpiedumplings@programming.dev 4 points 2 years ago* (last edited 2 years ago)

Probably best to find a standard dev job and make a game on your own time as a passion project.

I watch twitch streamers who make games, and this seems to be the way to go. I can't really judge through a screen, but they seem happy and excited to work on their stuff, and not burnt out by their day job.

Oh, also non-compete clauses are going to mean if you work for AAA, you immediately can't make your own stuff anymore either

Depending on your jurisdiction, these can have various degrees of enforceability. A quick look at the wikipedia page for them tells me they are mostly void in California. Although I suppose no one wants to get into a legal battle they can avoid.

[–] moonpiedumplings@programming.dev 4 points 2 years ago* (last edited 2 years ago) (1 children)

If I run two mysql containers, it won't necessarily take twice the resources of a single mysql containers

It's complicated, but essentially, no.

Docker images, are built in layers. Each layer is a step in the build process. Layers that are identical, are shared between containers to the point of it taking up the ram of only running the layer once.

Although, it should be noted that docker doesn't load the whole container into memory, like a normal linux os. Unused stuff will just sit on your disk, just like normal. So rather, binaries or libraries loaded twice via two docker containers will only use up the ram of one instance. This is similar to how shared libraries reduce ram usage.

Docker only has these features, deduplication, if you are using overlayfs or aufs, but I think overlayfs is the default.

https://moonpiedumplings.github.io/projects/setting-up-kasm/#turns-out-memory-deduplication-is-on-by-default-for-docker-containers

Should you run more than one database container? Well I dunno how mysql scales. If there is performance benefit from having only one mysqld instance, then it's probably worth it. Like, if mysql uses up that much ram regardless of what databases you have loaded in a way that can't be deduplicated, then you'd definitely see a benefit from a single container.

What if your services need different database versions, or even software? Then different database containers is probably better.

[–] moonpiedumplings@programming.dev 6 points 2 years ago (1 children)

In my experience, best with science, math, and technology stuff:

https://arxiv.org/

But I've found it to be very good for finding scientific articles.

There exists stuff like this.

Virtualxposed. Sandvxposed.

The most popular one I heard about vmos, https://www.vmos.com/

But that one was android 8 (I think?) closed source, and probably spyware inside and outside the thing.

Also, new changes by google may break these emulator type apps:

https://www.reddit.com/r/SamsungDex/comments/16r1tg8/phantom_process_killer_solution_in_android_14/

[–] moonpiedumplings@programming.dev 1 points 2 years ago* (last edited 2 years ago)

https://obsproject.com/forum/threads/solved-record-multiple-windows-but-not-all.106931/

in addition to windowed projector (creates window of what obs would be streaming)

A but hacky, and a pain to set up past 2 windows, but it works. I do this, creating a windowed projector, and then just share only that window.

nvlc/ vlc -I ncurses for cli.

By "network" they also meant you can export the disk image to another device on your local network, rather than over the internet.

[–] moonpiedumplings@programming.dev 8 points 2 years ago (1 children)

Gpu passthrough, if you can do that will always be most performant.

If you want the qemu/kvm equivalent of what vmware workstation does, than look into virtualgl, which is very good (a wine port on android uses this to get good performace without direct access to host hardware), but it still may not be everything you want.

[–] moonpiedumplings@programming.dev 1 points 2 years ago* (last edited 2 years ago)

I use cachyos. I mainly treat it like an easy arch installer, it has calamares, allowing me to install LUKS encrypted BTRFS, with subvolumes that are compatible with timeshift without too much hassle, tinkering, or babying.

The first thing I do after installing is rip out many of the special changes cachyos makes. The theme makes some apps unreadable. Fish as a default shell is a really questionable choice (like I get zsh, but fish isn't compatible with bash). I prefer bash so I switch back to that. The cpu limiter, ananicy-cpp, is generally annoying and I would rather not have it. I stopped using it when I was gaming (not anymore), and I realized that you have to manually add exceptions for games that weren't in a default list consisting of mostly popular games, like the few games I used to play.

But the other performance changes are great. It has a custom repo compiled with x86_v3 extensions, which are proven to lead to a performance increase. Zram instead of zswap is a pretty powerful choice. The custom kernel (and linux-zen, which I use)* have an option enabled that enables the use of this software, called uksmd. A complex name, but it's basically a ram deduper, and it's very powerful. Right now, with only 9 firefox tabs and a terminal window open, I'm saving 350 mb of ram. With a LOT of browser tabs open, I've been able to save 1.5 GB before. Obviously, this comes at the cost of cpu, but I haven't really noticed change to performance/battery life with it on.

Overall, it's a very good, innovative distro (haven't found uksmd anywhere else), with some questionable aesthetic decisions.

*the linux-zen is optimized for desktop use, linux-cachyos is optimized for gaming. I haven't felt a difference, but right tool for the job I guess.

If you stick to freely available books, then you can share them without fear of reprecussions.

For example, Wikimedia, the organization behind wikipedia, also has a project called [https://en.wikibooks.org/wiki/Main_Page]

They have good tutorials, like this one: https://en.wikibooks.org/wiki/Non-Programmer%27s_Tutorial_for_Python_3

There is also the sister project, which sometimes uses wikibooks as a companion/textbooks, like

There are other free textbooks, like libretexts

For programming/cybersecurity related things, there is no restriction on doing things like CTF's or other publicly available activities on stream as well.

It'd help if you mention the subject you want to learn, that way we can point you to high quality resources, as sometimes they can be buried in the corners of the internet. I highly doubt that whatever you are learning is only available through textbooks or other copyrighted material.

view more: ‹ prev next ›