@reedbeta@mastodon.gamedev.place
@reedbeta@mastodon.gamedev.place avatar

reedbeta

@reedbeta@mastodon.gamedev.place

3D rendering at Adobe. Formerly at 343i, Sucker Punch, and NVIDIA. Math and coding blog writer, sometime musician, pretty decent cook, sci-fi and physics nerd, cat dad, coffeeholic.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

cliffle, to random
@cliffle@hachyderm.io avatar

How I feel listening to programmers concerned that floating point math is non-commutative

https://www.smbc-comics.com/comic/commute-2

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@artificialmind @pkhuong @cliffle yeah floating point is commutative where you expect it to be, but not necessarily associative or distributive, and that is way weirder than non-commutativity from a math perspective

demofox, to random
@demofox@mastodon.gamedev.place avatar

I wonder if the "big bang" was the universe vacuum energy decaying from a higher energy meta stable point, to the one we are in now?

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@demofox If you believe in inflation theory, it was!

aras, to random
@aras@mastodon.gamedev.place avatar

Real or physically based rendered? (thx @mattpharr)

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@aras @mattpharr I have that exact ikea shelf :-)

reedbeta,
@reedbeta@mastodon.gamedev.place avatar
demofox, to random
@demofox@mastodon.gamedev.place avatar

My wife says google ought to make a Google translate for code. Why doesn't this exist?!

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@demofox anecdotally have heard chatgpt does pretty decent at translating small amounts of code between languages

anji, to rust
@anji@mastodon.social avatar

I’m surprisingly unable to find much data about the cost of bounds checking in real-world high performance applications like games.

Did you ever perform or find a representative study @repi ? Or anyone using @bevy ?

Intuitively I expect modern CPUs to hardly break a sweat about all these untaken branches, but I have no data. I’m left wondering if gamedevs would not rather skip all bounds checks in release builds 🤔

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@adrianb3000 @anji @repi @bevy Putting "unlikely" annotations on those branches (for compilers that support such) should help with branch misprediction on cold cache. And the bounds check calculations will probably execute in parallel with (speculatively) executing the guarded code, given enough CPU execution resources?

mcc, to random
@mcc@mastodon.social avatar

Hm somebody posted a YouTube video about the crank conspiracy theory I actually believe

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@TomF @mcc The Penrose diagram for an evaporating black hole still has a singularity, though! It is reachable if you fall in.

bitinn, to random
@bitinn@mastodon.gamedev.place avatar

People keep saying ChatGPT is good for manual labor, but every time I try using this service, it lies straight to my face.

This is ChatGPT v4 API, now tell me what dark sacrifice I need to make to convince GPT it has already done the page fetching?

(I see the economic reason behind it: tokens are expensive, so translating a whole webpage is costly, but then GPT lie about the reason, is this what trust in computing looks like?)

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@bitinn in what way is it lying?

demofox, to random
@demofox@mastodon.gamedev.place avatar

I bet the reason we don't see quantum effects at the macro scale is just due to the central limit theorem.

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@demofox accumulating random variables central-limit-style would lead to spreading distributions out, but decoherence actually narrows the probability distributions, keeping things "in one place" so to speak

zeux, to random
@zeux@mastodon.gamedev.place avatar

This indentation should be illegal.

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@TomF @forrestthewoods @zeux iirc there used to be a rule that the # had to be on column 0 but the rest of the directive could be indented? So you could write stuff like

# if (FOO)  
# define BAR  
# endif  

No one enforces that anymore (you can indent the # now), but I wonder what was the origin of that rule

bitinn, to random
@bitinn@mastodon.gamedev.place avatar

A human vision / camera / rendering question:

You know that glare & bloom reflection your eyes see on a bright day from a glass window building or metallic wall?

I have never seen any camera capturing them correctly. Why?

Photos of bright buildings end up like white surfaces, even if you have multi-exposure capture + HDR screens, they still look like bright boring surface.

Camera have visual artifact like lens flare, but why not the same bloom artifact as human eye?

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@bitinn Relevant:
https://ihrke.github.io/papers/Ritschel2009glare.pdf
Seems a lot of the anatomical features of our eyes contribute

fasterthanlime, to random
@fasterthanlime@hachyderm.io avatar

the future is here, old man

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@fasterthanlime do we have to call it beef jerkied now

mcc, to random
@mcc@mastodon.social avatar

Okay so

A quirk I have is I don't like it when IDEs interface with my version control system. That is MY version control system. Don't touch my stuff, IDEs

But! I have another quirk, which is that I don't like git, and I use Mercurial for everything

And the quirks cancel each other out! I check my projects out in Mercurial, which is obscure, so IDEs don't support it, so their VCS integration fails and I am happy

Until

This month, in the new version

Android Studio added Mercurial support!!!

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@mcc @inthehands
This piques my curiosity. If you get around to it someday, I'd be interested in reading more compare/contrast between git/hg!

j_bertolotti, to random
@j_bertolotti@mathstodon.xyz avatar

If there is something years of Xwitter has thought me, is to have a VERY low bar for blocking people.
If you have bad vibes from someone, chances are you are better blocking them on sight and continue with your life.

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@j_bertolotti @johncarlosbaez @franco_vazza Ehh, I don't entirely blame them...that word is seen as a pretty bad slur nowadays! I realize that the physics use of it is totally independent and predates the slur use of it - nonetheless I personally still find it pretty jarring to hear "retarded" come up in physics contexts.

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@j_bertolotti @johncarlosbaez @franco_vazza Physics is allowed to evolve its use of terms over time, too, though. 🙂

demofox, to random
@demofox@mastodon.gamedev.place avatar

If someone were to embed python into a game as a scripting language, is there any way to make it safe, for UGC?
I know you can make an "isolated" python and then can control packages available. What about infinite loops and such though? Any way to protect against that and similar (timeouts maybe?)

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@TomF @aeva @demofox how hardened is your VM though? People go to pretty extreme lengths with Javascript/WASM VMs to maintain sandboxing, even to the point of running it in its own process, etc. Got to assume if it's on the internet someone's gonna try to break it

fasterthanlime, to random
@fasterthanlime@hachyderm.io avatar

oh cool we've reached the stage where GitHub actions is so unreliable (in combination with merge queues, self-hosted runners etc.) that “have you tried to close and re-open the PR again?” is a valid question

reedbeta,
@reedbeta@mastodon.gamedev.place avatar
mcc, to random
@mcc@mastodon.social avatar

It is getting increasingly awkward that my only daily drivers are a Win10 machine and a laptop based on antiquated MacOS. I should get a simple Linux laptop.

Last time I tried to do this though it turned out any laptops that run Linux with full hardware support out of the box are pretty expensive.

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@TomF @mcc My thinkpad had an incredibly annoying feature that it would randomly dim the screen after ~20 seconds of idle time (but not always). I only just recently figured out how to disable that (it's a hidden service that came pre-installed).

I've also had no end of trouble with sleep mode. It will wake up randomly and not go back to sleep, draining the battery. It will sometimes shut itself down for no reason even when plugged in. It will sometimes refuse to sleep when I close the lid.

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@TomF @mcc So yeah... Would not recommend. I often wish I'd returned it during the window but it's too late.

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@TomF @mcc (I also talked to their support about these problems and their response was essentially "uhh maybe reinstalling Windows will help")

mcc, to random
@mcc@mastodon.social avatar

Searches Wolfram Alpha for "Rule 34"

…Well, that's disappointing.

https://www.wolframalpha.com/input?i=rule+34

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@mcc is that a cellular automaton in your pants or are you happy to see me

aeva, to random
@aeva@mastodon.gamedev.place avatar

I was late for an appointment last week and it was my own fault for trusting google map's time estimates. So I gave myself a whole hour instead of the recommended 20 minutes, and the train has been stalled for like 20 minutes now because of "an unauthorized person on the tracks" 🙃

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@aeva ur a wizard

aeva, to random
@aeva@mastodon.gamedev.place avatar

I'm drawing a blank on a word. What's the verb for making a frobnicator aware of a frobnitz?

reedbeta,
@reedbeta@mastodon.gamedev.place avatar

@aeva @mcc enroll?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • tester
  • tsrsr
  • DreamBathrooms
  • Durango
  • magazineikmin
  • mdbf
  • Youngstown
  • vwfavf
  • slotface
  • ethstaker
  • rosin
  • thenastyranch
  • kavyap
  • PowerRangers
  • Leos
  • ngwrru68w68
  • osvaldo12
  • cubers
  • everett
  • GTA5RPClips
  • cisconetworking
  • hgfsjryuu7
  • InstantRegret
  • tacticalgear
  • normalnudes
  • modclub
  • khanakhh
  • anitta
  • All magazines