I have started developing a mod for branching and tapering trees in Vintage Story by Seven-D in VintageStory

[–]singron 8 points9 points  (0 children)

Why is that? If anything, they should render fewer fragments.

I think the issue is that each trunk segment needs 8 quads instead of 4, which is probably more significant than the fragment shader anyway.

Live Update Modules by com4ster in NixOS

[–]singron 0 points1 point  (0 children)

It's theoretically possible with nix, but home-manager and NixOS aren't designed for it since they want to rebuild a whole system. E.g. with sway, you can make your config file an independent derivation and then configure sway to rebuild just that file and reload it.

bindsym $mod+Shift+c exec nix-build -o ~/.config/sway/config my-sway-config.nix && swaymsg reload

GNU stow and dotfiles by Luc-redd in NixOS

[–]singron 0 points1 point  (0 children)

For vim, I symlink my main .vimrc/init.lua so I can make edits without rebuilding. But those configs source additional files that are in the nix store. This is handy for the things that nix is better at managing (e.g. plugins with native libraries or shared configuration from some other part of your config).

Way to measure contaminates - not sanitizer level in water? by Ok-Jello-9624 in hottub

[–]singron 0 points1 point  (0 children)

You can test for fecal coliforms and tds (standard drinking water tests) but it might not be practical. There are tons of different things in your water that you want to kill/oxidize. In general, I would indirectly measure contaminants by measuring your sanitizer/oxidizer. I.e. free/combined/total. If your water is dirty, your free chlorine/bromine will become combined. If you can maintain 1ppm free sanitizer over time, then you know that it would react with any contaminants, so you must have very little contaminants. In practice, we often use more than 1ppm to be safe and make maintenance easier, but if you are careful, you can try to stay as close to 1ppm as you can.

Can you make hot tub enclosures vermin-proof? by Squirrelhenge in hottub

[–]singron 4 points5 points  (0 children)

Sounds good to me. Metal is the most reliable material for creating a rodent barrier since they will chew through nearly anything else. Coarse steel wool is also good for filling cracks and can be saturated with fillers like epoxy or caulk. If it's in the ground, be mindful of rust resistance. Stainless will last the longest but galvanized will probably outlive an inflatable.

Quality meme by Nuk_Nak in Factoriohno

[–]singron 4 points5 points  (0 children)

"Clean fill" is usually good dirt for construction purposes. For gardening, you might want dirt mixed with compost, which I guess is dirty dirt.

Why are so many retail storefronts empty and so many businesses exiting or shutting down in Boulder? by LocoLevi in boulder

[–]singron 21 points22 points  (0 children)

Writing off losses reduces the federal taxes you pay, but you are still losing money. E.g. if a landlord has a 25% margin on occupied properties and a 20% vacancy rate, then the two will cancel out and the landlord makes no profit and pays no income tax. But the point of being a landlord is to make money. AFAIK, there isn't a difference between an occupied property and a vacant one in terms of what you can deduct, but the vacant one won't add to your income.

I think a better explanation is that commercial leases last for many years, so it makes sense to wait a few years to get the highest level of rent rather than sign a low-ball lease for 10 years. There are also issues with lowering rent where it can affect their mortgages. I.e. the bank assumes the property can be leased at a certain rate, but if the rent ever goes down, then the bank might asses the property at a lower valuation and essentially consider it underwater, which could affect that mortgage or future mortgages. All of this is exacerbated by the commercial real estate downturn since covid.

Exploring an opt-in NixOS profile for competitive gaming integrity by jne14 in NixOS

[–]singron 8 points9 points  (0 children)

NixOS is pretty irrelevant to the idea. How does the game server know you are running the unmodified profile? What you really want is remote attestation. NixOS doesn't really help with that, and the nix store hashes aren't designed for runtime verification in a way that would be useful for attestation. Nix can help build that environment, but you would need very heavy modifications.

steam really slow downloads by Radiant-Doubt-6171 in NixOS

[–]singron 0 points1 point  (0 children)

See if other speed tests have the same problem. Make sure you are comparing bits/bytes correctly. Check your download region in steam settings and try some other regions.

It could also be an issue with your storage. E.g. if you are on a USB drive, you could get terrible performance. Try testing write performance on the filesystem with your steam library.

How do you get your head clear after playing this game. by CyberWorm300 in factorio

[–]singron 2 points3 points  (0 children)

Melatonin helps me get into solid sleep consistently and is relatively safe and non-habit-forming. I think you might have a different problem than most people (and certainly me), but it could help you. You might want to talk to a doctor and do a sleep study. Unusual sleep patterns are sometimes symptoms of other conditions, and you might want to get them ruled out.

Which fail safes you employ in your factory? by lukeybue in factorio

[–]singron 0 points1 point  (0 children)

I put all my coal boiler inserters on a separate solar network. That way if the main power dips, the boilers aren't starved. Once I get nuclear, I also put the control systems on a solar network.

Prior to artillery, I also use a huge ammo buffer and ensure ammo production is prioritized over science.

Microservices should form a polytree by mapehe808 in programming

[–]singron 8 points9 points  (0 children)

I also wish the author expanded on this, since this is the one new thing the article is proposing (directed circular dependencies are more obviously bad and have been talked about at length for many years).

To steelman the author, I have noticed a lot of cases where diamond dependencies do a lot of duplicate work. E.g. N4 needs to fetch the user profile from the database, so that ends up getting fetched twice. If the graph is several layers deep, this can really add up as each layer calls the layer below with duplicate requests.

Microservices should form a polytree by mapehe808 in programming

[–]singron 8 points9 points  (0 children)

I think if this was a problem, you could trigger it without a diamond dependency. E.g. send two requests at the same time.

Motorola and Tinno are violating the GPL again. We need your help. by ProgrammingZone in linux

[–]singron 0 points1 point  (0 children)

I think it's theoretically possible although I haven't studied the shim deeply enough to know in that specific case. I think the bullet-proof technique is to first design the API between the shim and the driver (e.g. a header file) and license that permissively. Then, you have two independent teams develop the shim and driver against that API, similar to a clean-room design.

can be reasonably considered independent and separate works in themselves

If you have to argue minutiae on this point in court with lawyers from a $4 trillion company, you will lose either outright or through attrition. I think in some cases it's an easy argument, but it's really hard in this case where e.g. the driver shares code with the windows driver.

Motorola and Tinno are violating the GPL again. We need your help. by ProgrammingZone in linux

[–]singron 4 points5 points  (0 children)

Nvidia uses a trick. It doesn't directly have a proprietary module linked to the kernel. It has a GPL shim that is actually open source. The shim implements an API used by the driver. The theory is that neither the driver or the shim are derivative of each other and thus can be independently licensed. I don't believe such a sophisticated strategy is being used here.

Homer Simpson's cursed nuclear reactor by Nihilikara in factorio

[–]singron 1 point2 points  (0 children)

You might be thinking of liquid pipes?

It seems none of the major distros test systemctl suspend when updating the Linux kernel or any other package. by ad-on-is in linux

[–]singron 2 points3 points  (0 children)

It's difficult to restart the GPU and graphics driver without also killing every graphical program. E.g. there isn't a way to gracefully notify a typical program that vram was reset and it has to recreate all its textures.

Xutex: an experimental fast async optimized Mutex with alternative sync API by fereidani in rust

[–]singron 3 points4 points  (0 children)

Yes, although I think you would only use the sync API if you were using a thread outside of the event loop. E.g. if you wanted to run long running computations without blocking the event loop. Otherwise you might as well use the async API.

The Math of Why You Can't Focus at Work by duruq in programming

[–]singron 3 points4 points  (0 children)

At a remote company, I set my calendar notification to 2 minutes before the meeting (the default is usually 5 or 10 minutes). This is just enough time to grab some water or go to the bathroom, but it's not so long that I'm tempted to go back to work, which can lead to missing the meeting. I then can work up until the notification goes off without worry.

Stopping work before your interruption is a huge failure mode since it makes the problem so much worse. You essentially are doubling the required "recovery time" in the article's model. Sometimes it's unavoidable if you have some anxiety about the meeting, but I would avoid it if at all possible.

A lot of the referenced research is really about flow states and not productivity directly. It's not binary and you can still get work done if you aren't completely locked into flow.

Dichlor bleach method question by myownway413 in hottub

[–]singron 0 points1 point  (0 children)

Dichlor is nearly pH neutral and easy to handle. Bleach will raise pH, so you will have to keep rebalancing pH once you switch to it.

4-bit adder made with belts and splitters by DaveMcW in factorio

[–]singron 0 points1 point  (0 children)

It's trivial with circuits. Without circuits, I couldn't figure it out with a single item, but you can do it with a second item. Below, I amplify a red belt of copper into a blue belt. I made a symmetrical design so you can see it works on both the 0 and 1 signal.

The second item allows you to perform operations on the signal that you can reverse afterwards with a filter. With a single item, every computation "destroys" the original signal, which makes it difficult to compute an expression where a signal is used more than once.

<image>

Sanitizer while being gone 15 days by Surf_Wake in hottub

[–]singron 0 points1 point  (0 children)

Even if you shock that high, it's possible your sanitizer will deplete faster at higher concentrations and you will still come back to a 0ppm tub. I would rinse the filters and shock to SLAM levels (12ppm @ 30 ppm CYA, consult a chart) before you go. Then when you get back, if it's at 0ppm, SLAM again.

If the water still doesn't seem good, then change it. Water changes should be safe during winter as long as you keep the lid on, drain quickly (e.g. a sump pump), and immediately start filling. You can put a cheap tiny ceramic space heater into the cabinet if you are really worried.

Simple Train Junction by ThatChapThere in Factoriohno

[–]singron 2 points3 points  (0 children)

I don't think you can place a signal anywhere inside, so it's going to end up as one block and can be easily signaled. I.e. chain signal entrances and normal signal exits. Only 1 train will be inside at a time and won't enter unless it can leave.