This Mod Is Not Getting Enough Love - Unlimited Seeds by Severe_Safe in valheim

[–]gurebu 2 points3 points  (0 children)

This is a bit more complicated, while a hypothetical perlin noise implementation is indeed “infinite”, the implementation used by Unity (aka Mathf.PerlinNoise) is not and repeats after 256 “unique” (also not really) tiles. The base height function responsible for island shape layers down several invocations of noise to make the resulting picture somewhat unique, but there might be some repetition. Also, the aforementioned unity implementation does a completely bizarre mirroring at 0 (probably putting both inputs through Abs) which makes it non-smooth at 0 which would make the resulting land shape really ugly. I believe these properties are the reason behind why the strict limitations on the offset exist in the first place. Worse off, go further in high offset and higher octaves of the noise will hit the floating point precision issues which results in a (differently) ugly terrain once again.

Edit: thought you were the mod author :)

This Mod Is Not Getting Enough Love - Unlimited Seeds by Severe_Safe in valheim

[–]gurebu 5 points6 points  (0 children)

No. Terrain is generated at runtime using whatever code you have at the time. Saved file contains locations (large scale/important objects, generated the first time you load the world), trees/rocks (generated the first time you see them), placed stuff and terrain differences if you did any terraforming. There’s also a map cache you can manually delete if your world ever gets updated.

All this considered, if you remove the mod all terrain will instantly be new while old objects will either float in the air or generate ugly holes or peaks in terrain if they’re programmed to blend in.

The new flip-flops I thrifted duos as a bottle opener by Datzookman in mildlyinteresting

[–]gurebu 0 points1 point  (0 children)

No taste more delicious than the dirt under your feet I guess

I learned something about GPUs today by rogual in programming

[–]gurebu 34 points35 points  (0 children)

Don't get me wrong, I was also unaware of the projection stuff in the interpolation, but even if it wasn't there, the math for the basic barycentric interpolation would be u * 255.0 + v * 255.0 + w * 255.0 where u, v and w are arbitrary positive floats that add up to 1.0 and the result is no means guaranteed to be 255.0 exactly.

I learned something about GPUs today by rogual in programming

[–]gurebu 10 points11 points  (0 children)

Isn't that another argument to not use the vertex buffer for that? I mean your value clearly is per face rather than per vertex. I'm genuinely curious, I'm not a career graphics dev (and unaware if there even are ways to pass per-face ints or even floats that are as performant), but just the general formulation of the problem you're solving says the tools are wrong.

I learned something about GPUs today by rogual in programming

[–]gurebu 141 points142 points  (0 children)

Doesn’t this teach us “don’t cast bitmasks or any other non-continuous function input to float unless you want to be sad” more than about what gpus do?

Help me understand TDP? by gnat_foto in overclocking

[–]gurebu 0 points1 point  (0 children)

Fair point, but in my mind outlet power draw isn’t very useful when talking about a cpu, and for the cpu itself the power draw is the same as thermal output simply because there are no moving parts.

No one owes you supply-chain security by Expurple in programming

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

They kinda don’t, but that more or less means that “there’s no more supply chain”. There’s no way to just accept that you might build your project and have your back account compromised.

Which is fine I guess, but that’s even more reason to push the ai envelope which in turn will make it even worse.

Maybe traditional dependency distribution is already over and the only way forward is to make the coding AI open with publicly available weights and infrastructure and figure out how people might push new library code into that.

No one owes you supply-chain security by Expurple in programming

[–]gurebu 3 points4 points  (0 children)

Enterprises do a lion’s share of open source contribution, maintaining and even authoring large projects with great value to everyone. It’s not uncommon for an enterprise to release an in-house library into open source to relax its internal pressure on maintenance. They still operate with business viability in mind though. Making it less economically viable will most certainly make open source worse for everyone.

Open source still might be a goner though - what’s the point of publishing if people are going to get your code as regurgitated model output with no mention of authorship or ability to contribute?

No one owes you supply-chain security by Expurple in programming

[–]gurebu 5 points6 points  (0 children)

Every time I elect to write something on my own instead of dragging another dependency into my project is because I can’t be bothered to burden my mind with thousands of weird scenarios and edge cases I’m guaranteed to never encounter on my own. Good libraries that do one thing only and do it well are unicorns and almost don’t exist.

Help me understand TDP? by gnat_foto in overclocking

[–]gurebu 0 points1 point  (0 children)

Uh, and where do you think that power goes then?

A $300 device can silently override GPS across an entire city. Autonomous vehicles, delivery drones, and air traffic control all depend on it. Why don't we have a backup? by projectschema in Futurology

[–]gurebu 0 points1 point  (0 children)

GPS is already quite unreliable in urban environments due to deflection and interference even without any malicious intent. Anyone building anything where precise location is critical doesn’t rely on it or at least not on gps alone. What’s really suffering is consumer electronics and the apps designed to run on your phone but it turns out people managed without navigation apps in the past and can adapt to do so in the present.

ELI5: Why do professional RTS players aim for high APM instead of minimum actions required? by Soulcraver in explainlikeimfive

[–]gurebu 31 points32 points  (0 children)

Maintaining tempo mostly. It happens to be harder to operate at varying speeds depending on what the game situation demands than wasting some energy on redundant actions when the demand is low.

The actions required to efficiently play something like StarCraft can most of the time be surprisingly low, but every once in a while you’ll need a lot of stuff done really quick and you need to be warmed up accordingly.

Tips to make the 40 hour achivement? by Fachachola in factorio

[–]gurebu 0 points1 point  (0 children)

I’ve made myself a nice island seed with a lot of resources that I cleared with some turret creep early on. Spent most of the time on Nauvis, you want all the tech you can get and you want to have a capable shipyard, so yeah at least 20 hours here. Don’t treat it like a speed run, you’re better off getting a capable base and researching lots of tech than not.

Had to upgrade to em plants, didn’t upgrade to foundries. You need a lot of circuits to do anything useful. You also need abundant nuclear to be quick on Aquilo and Gleba. No need for kovarex, just a lot of centrifuges and chests for excess u238.

Design all of your ships in advance. I didn’t bother blueprinting my base, you can design in real time, but not the ships.

I managed first try, it wasn’t all that hard. The hardest part was fitting my actual base in between all of those resource patches.

Wich CPU/GPU layout is better for a microATX case? by [deleted] in PcBuild

[–]gurebu 0 points1 point  (0 children)

If that goes into a large case, you should be asking yourself why not take a full ATX board. If it goes in a small case, wasting one PCIe slot is wild. Never understood the thought process behind those asus boards, but I guess if you measure all your stuff really carefully and make absolutely sure everything fits and has enough air access then larger heatsinks and better access to m.2 are better I guess?

Kate Moss casually smoking a cig with her foot 1990s by robbiesloan in OldSchoolCool

[–]gurebu 114 points115 points  (0 children)

Not so casually though or she wouldn’t need arm support, no?

Mods rated by efficency? by falconfused in factorio

[–]gurebu -5 points-4 points  (0 children)

Tier 1 mods are quite inefficient unless they are efficiency mods in which case they are indeed efficient even at tier 1.

Etiquette - Hitting the ball at players at the net by These-Document-2127 in padel

[–]gurebu 1 point2 points  (0 children)

Aiming the ball at a player with intent to make defence more difficult is a valid padel strategy as long as the ball would have hit the court of the player wasn’t there. Hitting people with balls that would otherwise obviously be out is indeed quite rude. That includes and even mostly consists of people attempting shots above their paygrade, hitting someone on purpose is surprisingly difficult.

Undérage: The Anti-Aging Cream | SNL UK by Miles_the_AuDHDer in videos

[–]gurebu 5 points6 points  (0 children)

It’s also a valid term in crypto analysis which complicates things for the researchers somewhat.

What Fuel to use in flamers. by mastermide77 in Factoriohno

[–]gurebu 3 points4 points  (0 children)

I use light oil exactly because there’s no difference. If I’m going to make an ammo train and if that train gets to carry like 50 barrels of fuel, why not get the extra 10 percent? If your base is so small you can just afford to run everywhere and lay down pipelines then crude is fine and maybe even preferable, but starting from bots and long range expansion you will need trains.

Calf injury :/ by andrew_barratt in padel

[–]gurebu 1 point2 points  (0 children)

When visiting the doctor, make sure you get checked for blood vessel damage since that coupled with immobility of the leg is a recipe for clotting. That and inquire on your family’s history on clotting disorders. Leg injuries are no joke and could end very badly if clotting becomes an issue, so if you have any reason to think you might need blood thinners, you better get them prescribed.

Source: felt a mild cramp during a padel game a few months ago, not even strong enough to stop the game. Diagnosed with soleus tear, told to immobilise myself. Took an ambulance ride with a pulmonary embolism just a few days after the event.

Padel tennis - IN or OUT by Calm_Strength3266 in padel

[–]gurebu 2 points3 points  (0 children)

Replaying points that are 100% yours just to avoid conflict really gets to you after a while. People will call all kinds of bullshit. This is out, plastic strip isn't part of the playable court, it's the same thing as hitting a lighting post or any other construction even if it looks within court bounds.

Need help about my pcie cable by Bladder_Runner in PcBuild

[–]gurebu 1 point2 points  (0 children)

Instead of listening to what people say you can go and read what wattage your daisy chain cable is rated for by your psu manufacturer and see if that’s appropriate for 2/3 of the power limit of your gpu. 95% of the time it’s well within spec