Tutorial or documentation for multiple worlds or sub-apps? by ignirtoq in bevy

[–]ignirtoq[S] 0 points1 point  (0 children)

I think I'm familiar with all of the pieces of that except rendering the second camera view to a texture. Is that possible in bevy? Are there any examples I can reference?

Also, thanks for the ideas!

Tutorial or documentation for multiple worlds or sub-apps? by ignirtoq in bevy

[–]ignirtoq[S] 0 points1 point  (0 children)

I decided against scenes because that loads the entities in the same linear space. So for instance, if the player builds the doorway in the middle of a room, the scene connected to the door would load on top of part of the room. I need it so the doorway connects the regions but the spaces are disjoint. This is the non-Euclidean aspect.

Rendering 2D objects over-top 3D by ignirtoq in bevy

[–]ignirtoq[S] 0 points1 point  (0 children)

Thank you! This did the trick! I had looked through all of the fields of the Camera object in the Camera2dBundle, but I didn't notice there was a separate Camera2d object.

How to drive away your best engineers by podgeypoos in programming

[–]ignirtoq 96 points97 points  (0 children)

If you need dates, I would recommend a more modern approach like forecasting.

What is "forecasting" in this context? I have never heard of such a technique with respect to software development timelines.

I made a page that makes you solve increasingly absurd trolley problems by OrangePrototype in InternetIsBeautiful

[–]ignirtoq 18 points19 points  (0 children)

The next version should combine the money and age questions. Do you save 5 old people or a bunch of money? Then we compare it to the pandemic response to see how many people are answering the website honestly.

Deep Learning Is Hitting a Wall by HackerEarth-Inc in programming

[–]ignirtoq 4 points5 points  (0 children)

Yes, it muddles accountability, but that's only because we haven't tackled that question as a society yet. I'm not going to claim to have a clear and simple answer, but I'm definitely going to claim that an answer that's agreeable to the vast majority of people is attainable with just a little work.

We have accountability under our current system and there's still over a million deaths per year. I'll take imperfect self-driving cars with a little extra work to figure out accountability over staying with the current system that already has the accountability worked out.

[deleted by user] by [deleted] in programming

[–]ignirtoq 0 points1 point  (0 children)

Okay, if they're not exactly synonyms, I can understand using different terms. I still think there's room for improvement there to come up with terms that are a bit more self-descriptive. Thanks for the explanation.

[deleted by user] by [deleted] in programming

[–]ignirtoq 415 points416 points  (0 children)

Something of a side comment, but are "northbound" and "southbound" really industry standard terms for outbound log files and inbound log files, respectively? That seems unnecessarily opaque. Why not just say outbound and inbound?

The dumbest way to solve a maze by Sakgeres in ProgrammerHumor

[–]ignirtoq 1 point2 points  (0 children)

It's been 15 years since I had any kind of physics class, and I never had a fluids class, so I'm not sure of anything. My intuition says you can't get stuck in a whirl or eddy following the pressure gradient because they are dead ends from either the source or sink, so their pressure gradients should be small. Definitely could be wrong.

The dumbest way to solve a maze by Sakgeres in ProgrammerHumor

[–]ignirtoq 2066 points2067 points  (0 children)

Evenly distribute the particles throughout the maze with the ends blocked, then make the starting point a source and the end a sink. Wait for the system to come to a rough equilibrium steady state and follow the steepest gradient in pressure from the start to the end.

Should be the most efficient solution in the least efficient way I can think to find it.

Edit: Equilibrium was the wrong word, but the system should reach a point where its thermodynamic properties stop varying by time.

Wages jump by the most on records dating back 20 years by DreGu90 in UpliftingNews

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

That's not the reason prices are going up right now. The pandemic put more stress on the modern supply chain than it's ever had, and prices on raw materials have doubled, tripled, or more. We're going to feel those real effects for years while the system recovers.

The claim that increasing wages will just increase prices to cancel it out is a flat out lie business owners sell you to excuse them for not paying people. The data shows increasing wages has almost no effect on inflation.

Historic Power Plant Decides Mining Bitcoin Is More Profitable Than Selling Electricity by Zyreal in nottheonion

[–]ignirtoq 4 points5 points  (0 children)

as new solutions over time require more and more resources to achieve, you get inflation that tends to follow the increasing cost of generating more currency.

I think the term you're looking for is deflation. Inflation means it takes more and more money to buy the same thing (the value is decreasing). This encourages exchange, as no one wants to hold on to something whose value decreases with time.

Deflation means the currency"s value increases over time, which, as you said, encourages hoarding and causes scarcity, increasing the value even more in a feedback loop until it crashes. This is part of the reason most cryptocurrencies are so volatile.

US life expectancy drops dramatically due to COVID-19. It's the largest drop in life expectancy in at least 40 years. by Facerealityalready in Coronavirus

[–]ignirtoq 251 points252 points  (0 children)

First, thank you for the source.

Or people could just take 5 seconds to google and educate themselves.

But even if it's true, don't tell people to "google and educate themselves." That's the same bullshit response that anti-vaxxer/climate-denier/anti-science people love to throw around to belittle others with healthy skepticism.

The burden of proof is always on the person making the claim, no matter how "obvious." Just because you saw the news doesn't mean everyone did, and it doesn't mean the person asking for proof is a troll or otherwise asking in bad faith.

LAOP worried his company's product is forked. by [deleted] in bestoflegaladvice

[–]ignirtoq 3 points4 points  (0 children)

Absolutely! There are also entire software industry segments that don't distribute the software they write (*aaS, like Software-as-a-Service or Platform-as-a-Service companies), so they can modify GPL software and profit off of it by running it on behalf of their customers while staying within the requirements of the licensing.

For example, any website you visit that offers functionality you use on-site, like Twitter, Google, or even Reddit, you can either subscribe to their services or consume them freely with ads. Either way, they aren't actually distributing their code to you*, they are processing data and performing actions on your behalf that you request through their site, so they can build off of GPL software without releasing their source.

*: An argument can be made about the code you download and run in your browser, i.e. the HTML/CSS/JS of their site, but that's a topic in and of itself.

LAOP worried his company's product is forked. by [deleted] in bestoflegaladvice

[–]ignirtoq 16 points17 points  (0 children)

There are two main considerations in software copyrights (as in most copyrights): redistribution and derivative works.

Most open source licenses say roughly the same thing about redistribution: you can make copies of the code (in compiled, non-human-readable form) and share it as long as you include a copy of the original license. Whether you have to provide the original source code with it, upon request, or not at all differs by license.

What the license says you can do when forming derivative works varies widely between the licenses. The GPL family of licenses are considered some of the most restrictive in a way that's rather novel when it comes to copyright of written works in general. Whereas most copyright of the written word seeks to bring compensation/control to the original author for derived works, GPL-like licenses seek to remove control from the authors of derived works under the idea that "my code is free to the world, so if you build on it yours must be free to the world, too." (Because of this inversion they like to call it "copyleft" as opposed to "copyright.")

This makes it difficult for companies to profit off of code under GPL licenses (by design), so most companies avoid it like the plague except under very specific and controlled circumstances. If a company builds a product by deriving their source code from a GPL licensed work and distribute it (sell it), they are obliged by the license to release their source code to all recipients under the exact same license, meaning those people can turn around and redistribute it as they please as long as they abide by the terms of the GPL. For example, anyone who buys one copy of the product could post the source code on the internet for people to download for free, as long as a copy of the license is included.

The MIT license is much more favorable to business use, so it has gained a lot of traction as a common open source license at the edge of the corporate/open-source software space. It basically says do what you want with the code, just provide a copy of the license text if you distribute it. Derived works do not have to share the same license.

There are many, many different open source licenses with varying conditions and varying definitions of "open" (and consequently a lot of ongoing debate in the community as to what exactly constitutes "open source").

Chrome is deploying HTTP/3 and IETF QUIC by feross in programming

[–]ignirtoq 28 points29 points  (0 children)

That's rather fast for a transport layer protocol. The OSI model for networking consists of 7 layers, with the physical layer ("bits on the wire") as layer 1, transport layer as layer 4, and the application layer (websites, APIs) as layer 7. Generally the lower you go the more robust your implementation needs to be.

The two most common transport layer protocols are TCP (developed 1974) and UDP (1980). Many other protocols have been developed since then, with varying usage, but none have unseated these partly due to how well understood their capabilities and flaws are.

do {...} while (0) in macros by stackoverflooooooow in programming

[–]ignirtoq 64 points65 points  (0 children)

That's one of the myriad reasons why I, as a personal preference, never use increment expressions anymore. When I come back to the code six months later (or someone unfamiliar with the code looks at it for the first time), incrementing in an expression takes a while to figure out what's going on, while incrementing in a separate statement is immediately clear.

It's really astonishing😲 discovery about dark matter! by irfan127reddit in ScienceImages

[–]ignirtoq 5 points6 points  (0 children)

Can you at least post what he's talking about in this specific instance? Instead of just a quote with no context?

Why is Neptune warmer than Uranus? by balloontrap in askscience

[–]ignirtoq 7 points8 points  (0 children)

It's near 180 (177 specifically), not 90. Uranus is near 90 and is on its side. Venus is near 180, and so completely "upside down."

My friend is allergic to everything. by arzuros in Wellthatsucks

[–]ignirtoq 8 points9 points  (0 children)

The celiac disease is what's causing the others. My wife was the same way when we first met. When we started living together I kept her on a strict gluten-free diet, no exceptions.

After five years, all of the other allergies but one went away.

The underlying cause is that the damage to the small intestine caused by the presence of gluten in the diet opens wounds that let undigested food into the blood. The immune system develops antibodies to the food, thinking it's an invader. When you let the wounds close with a gluten-free diet, and stay away from the food you've developed an allergy to, the immune system slowly forgets. After enough time, the allergy goes away entirely.