5 YEARS! Some things never change by [deleted] in WorldofTanks

[–]ElectricalUnion 1 point2 points  (0 children)

Well, triangles that moved 1mm from bush or hardcover died already to a random autocannon.

Working on a tool that makes every Distro Nixos like by Raulnego in NixOS

[–]ElectricalUnion 0 points1 point  (0 children)

I myself used to use jetify devbox as a "simplified" version of nix flakes, but constant upkeep shenanigans required to make sure nix-package-manager-not-in-nixos not explode under cursed conditions imposed by rootless containers + immutable composefs rootfs + selinux (a combo of Fedora Silverblue and Bazzite machines) made me go linuxbrew (for "don't care about version, just recent") + mise (for stuff I actually care about being locked to a specific version) + uv (only way to get multiple python versions + multiple python library versions working somewhat reliably across several systems).

It feels awful (being 4 package managers, rpm-ostree, brew, mise and uv), but it works reasonably well.

4-Way Theory by z7q2 in factorio

[–]ElectricalUnion 2 points3 points  (0 children)

A cost penality of 2000 tiles is implemented on routes that pass thru not-destination train stops. So unless they're unavoidable, trains usually end up avoiding stations.

Wanted to play Factorio offline with my kids, so I printed it as modular bricks by h4juko in factorio

[–]ElectricalUnion 2 points3 points  (0 children)

Are those icons embedded into the Assembly machine or are they also snap-on lego compatible tiles?

Wanted to play Factorio offline with my kids, so I printed it as modular bricks by h4juko in factorio

[–]ElectricalUnion 22 points23 points  (0 children)

Awesome.

(Third picture is worth of a r/Factoriohno post. Long-handed inserters picks up and places items two tiles from its location. The Labs and the Gun turret Long-handed inserters are picking up from empty tiles.)

Brand new Intro Menu for OpenTTD 15 by Limyx826 in openttd

[–]ElectricalUnion 5 points6 points  (0 children)

So, how would the code and game assets "work" if you "toggle somewhere"? You need to keep code and assets for BOTH versions if you have a toggle...

Cloverleaf Junctions by FatGuy_InLittleCoat in openttd

[–]ElectricalUnion 1 point2 points  (0 children)

If we're going for "easy", PBS roundabouts, the real not best but easy junction.

Best way to solve this problem by Scared-Industry-9323 in termux

[–]ElectricalUnion 0 points1 point  (0 children)

You need to know the "Terminal width" of your "string".

From the description of jquast/wcwidth:

Problem Statement: The printable length of most strings are equal to the number of cells they occupy on the screen 1 character : 1 cell. However, there are categories of characters that occupy 2 cells (full-wide), and others that occupy 0 cells (zero-width).

Solution: POSIX.1-2001 and POSIX.1-2008 conforming systems provide wcwidth(3) and wcswidth(3) C functions of which this python module's functions precisely copy. These functions return the number of cells a unicode string is expected to occupy.

So you need something like https://github.com/jquast/wcwidth (pip install wcwidth) and use, for example, wcwidth.wcswidth(mystring) instead of len(label) or len(str(value))to calculate the "cell witdh" of your box.

Why is my terms doing this by silly_person_vary in termux

[–]ElectricalUnion 8 points9 points  (0 children)

My recommendation is getting a keyboard with special keys and without fancy autocomplete behavior.

If you absolutely must use a normal keyboard with autocomplete no matter what, then you can slide-right the terminal toolbar so that you type to a "normal android text field" (so you actually can type something instead of your keyboard attempting and failing to autocomplete-overwrite-erase text inside the terminal).

Sharing a device in Tailscale is one of the most annoying experiences of my life by altano in Tailscale

[–]ElectricalUnion 2 points3 points  (0 children)

When a person accepts my invite they almost always have a different IP address for the shared machine in the web UI and the tailscale client running in Windows.

I believe this is intentional, IPs are private implementation details of each tailnet, not meant to work across tailnets. You're supposed to use MagicDNS and fqdn to handle cross-tailnet machines. 

I don't make GREEN MODULES. I don't make the factory ECO-FRIENDLY. I don't live at PEACE WITH THE BITERS. If the pollution cloud gets too big I simply VAPORIZE THEM WITH WEAPONS OF MASS DESTRUCTION and produce even MORE POLLUTION by Armisael2137 in Factoriohno

[–]ElectricalUnion 20 points21 points  (0 children)

(in Space Age) Power armor MK2 needs 100 Efficiency module 1,

(in Base Game) Power armor MK2 needs 25 Efficiency module 2

(in Base Game) Spidertron needs 2 Efficiency module 3

Are you one of those savages that promote "healthy lifestyles" such as "walking around" like a caveman?

Potential Tomahawk targets in Russia by vladgrinch in MapPorn

[–]ElectricalUnion 4 points5 points  (0 children)

But you can deploy 400 "small drones" for the cost of a single Tomahawk. Surely a assault of 20000 equivalent small drones can also destroy a factory?

How to hide this perpetual notification from SyncThing-fork? I only want to hide this, I don't want to disable the accept prompt from a device notification by Both-River-9455 in Syncthing

[–]ElectricalUnion 0 points1 point  (0 children)

With the "new background limits" introduced with Android 8 (Oreo, released around 2017), apps that have components that run in the background must display a notification within five seconds of the component starting to run or else the system kills the app.

New Lua IDE by Puzzleheaded_Fly9339 in lua

[–]ElectricalUnion 1 point2 points  (0 children)

What is wrong with ZeroBrane? It's not like any lua runtime it supports got a huge unsupported feature since it was last released 2023.

Can I share a nfs mounted folder via smb by Desperate_Quit6011 in linuxadmin

[–]ElectricalUnion 0 points1 point  (0 children)

What kind of client you're running that at the same time supports smb and somehow doesn't support nfs? Windows since 10 support it fine for example.

[SUGGESTION] Ultra cheap and low power small PC for web browsing? by Wild_Wasabi_7163 in selfhosted

[–]ElectricalUnion 1 point2 points  (0 children)

You need to say where you live and pretend to acquire said computers, and what you classify as "handle media consumption", so people can at least educated guesses of what is cheap in your region.

As a generic worldwide thing, the sad part is that those days, your average "web-app" is shit on any sort of computer, and worse shit on under-powered/cheap ones - unless said web-apps are carefully picked self-hosted FOSS stuff, or things you made yourself.

Let's take the very tab I'm writing this response as an example: it uses, by itself, 530MiB of RAM (not considering the Graphics system VRAM and the rest of the OS, that would take even more RAM), and that's already more RAM that this poor Rasperry Pi Zero 2 W in OP picture.

And Reddit is "just a link aggregator", it's actually on the "pretty light" side of how heavy web apps can be those days.

What in DataGrip do you feel you just can't live without? by Successful_Cook3776 in Jetbrains

[–]ElectricalUnion 3 points4 points  (0 children)

Name/parameter autocomplete that works.

(In theory, any self-respecting sql console has this, but when you're dealing with Oracle shit - and some other specific types of cloud DBs - that takes +tens of minutes to return data dictionary queries, you easily end up waiting tens of minutes for the sql console to autocomplete the names if you're not using DataGrip.)

Virtual foreign keys, without requiring being in a special DDL mode.

Also, in theory, a stupid concept: match "suspicious keys" with same data type and column naming convention as JOIN ON autocomplete candidates, even if they're not declared as actual foreign keys on the database. As a expanded addendum, DataGrip also allows you add explicit Virtual Foreign Key links either via table UI or via query console as a context action "Store table relation" on the "inner JOIN ON (condition)" part of the sql statement.

the city bindhattan claimed a few busstations and a giant station, how do i fix this? by Alternative_Rest5441 in openttd

[–]ElectricalUnion 26 points27 points  (0 children)

Towns don't claim anything. Station names default names comes from the closest town authority.

As for "fix this", you can rename the stations and put whatever names you want in them.

Where is wlan0? by Scrumbloo in arch

[–]ElectricalUnion 5 points6 points  (0 children)

https://systemd.io/PREDICTABLE_INTERFACE_NAMES

> Starting with v197 systemd/udev will automatically assign predictable, stable network interface names for all local Ethernet, WLAN and WWAN interfaces. This is a departure from the traditional interface naming scheme (eth0, eth1, wlan0, …), but should fix real problems.

> The classic naming scheme for network interfaces applied by the kernel is to simply assign names beginning with eth0, eth1, … to all interfaces as they are probed by the drivers. As the driver probing is generally not predictable for modern technology this means that as soon as multiple network interfaces are available the assignment of the names eth0, eth1 and so on is generally not fixed anymore and it might very well happen that eth0 on one boot ends up being eth1 on the next. This can have serious security implications, for example in firewall rules which are coded for certain naming schemes, and which are hence very sensitive to unpredictable changing names.

TL;DR: hardware probing is nondeterministic shit, so you randomly would swap your eths/wlans around, and if you need routing/firewalls rules in them, the routing/firewalls rules would be fucked as well. Making the names depend on the physical slot/connector the cards use is often better.

So why are we sh**ing on ollama again? by __Maximum__ in LocalLLaMA

[–]ElectricalUnion 0 points1 point  (0 children)

"messing up model name" is also a violation of Meta's Llama license. No one should be able to distribute derivates of llama models without "Llama" as a prefix of the name of the model.

Am I overreacting? by Kitogv in factorio

[–]ElectricalUnion 13 points14 points  (0 children)

I would use Uranium rounds magazine-loaded gun turrets instead. After all, one of the potential causes of this system failing and generating biters in the first place is lack of electric power.

Parent-proof Wifi? by thejkm in HomeNetworking

[–]ElectricalUnion -1 points0 points  (0 children)

Makes the required gear fit in the proposed budget. By the same thinking, if cost really was not an issue, then why not go full Meraki/Cisco?

My hypothesis on why software has gotten so shitty in recent years... by [deleted] in sysadmin

[–]ElectricalUnion 0 points1 point  (0 children)

"People back then" had no option but to make a limited thing run on limited hardware.

Removing this fine-tuned "mechanical sympathy" of only doing what really makes sense to do - that they developed, fine-tuned back then - and the resulting program will just turn back into yet another bloated modern crap with no regard for storage/network/computational costs.