Show newer

Unity programming 

@j No, I also need to be allowed to copy code from it and show it to my friends.

Having a ton of fun playing around with wasm4[1], a fantasy console[2].

My wireframe renderer is coming along nicely, using the same logic for determining occlusion as the original 1984 Elite. The hard part isn't the code, or the two lines of linear algebra that it really boils down to. It's labeling the vertices in the right order, so that face normal vectors come out pointing the right direction.

[1]: wasm4.org/
[2]: en.wikipedia.org/wiki/Fantasy_

If you *don't* know anything about the RH, I'd appreciate boosts for reach.

Thanks.

Show thread

So really, the question is, if there's a regex that can check if a string can be safely converted to a float and back without truncation.

Show thread

Here's a thought that came up at work recently.

Is it possible to create a regex, that checks if a string can be converted to a floating point number (of fixed length) without truncation; in more exact terms, if

f32(str(x)) == x

for the language of your choice?

The answer to the naive question is yes, because the number of floats is finite, so we could just give a regex (0.0000000000001, 0.00000000000002, etc.). I'm interested in a "human-readable" regex.

So what're mathstodon's thoughts?

David Attenborough is the only person to have won a BAFTA in all of the categories: black and white, colour, HD, 3D, and 4K.

en.wikipedia.org/wiki/David_At

GPU shopping 

I'm looking for a fanless AMD GPU. I currently have an elderly HD4000 series, and it works OK for my use (driving one or more large-ish monitors running i3wm). I don't care about gaming, but I might care a bit about Vulkan performance. Searching I found a couple of HD5xxx and HD6xxx cards from visiontek for less than CAD100. I don't mind paying a bit more, but fanless (or amazingly quiet fan) is a hard requirement. I'm in Canada, if that matters.

212 3/6

Got strangely lucky today.

🟩⬜⬜🟩🟩
🟩⬜🟩🟩🟩
🟩🟩🟩🟩🟩

hungry, 🍕? 

Would really appreciate a pizza. :flan_peek::flan_insomnia:

brynet.ca/wallofpizza.html

Not so proud of this one...

Wordle 211 6/6

🟨🟨⬛🟨⬛
🟩⬛🟨🟨⬛
🟩⬛🟨🟩⬛
🟩⬛⬛🟩🟩
🟩⬛⬛🟩🟩
🟩🟩🟩🟩🟩

Loving this fad.

Wordle 210 3/6

⬛🟩🟨⬛⬛
⬛🟩🟨🟩⬛
🟩🟩🟩🟩🟩

Some passes of the visible from the UK overnight - I'll tweet/toot warnings closer to the time

"Irish Dara Ó Briain has received an award for his contribution to raising public awareness of .

This is an award that is presented each year during Maths Week – the annual all-island festival of maths and numeracy, which is currently running with events across the country and online."

siliconrepublic.com/innovation

My ISP seems to be hijacking all DNS requests, regardless of server, so that they can blackhole facebook traffic (facebook.com is being routed to 127.0.0.1). I can run DNS queries against example.com and still get results:

Przyblyski's Star: A star with more praesodymium in its spectrum than iron. Is it aliens? Maybe, but unlikely. Is it a measurement error? Probably not. Is it evidence of the island of stability? Surprisingly, this might be the most likely outcome. Is it weird as fuck? YES.

en.wikipedia.org/wiki/Przybyls

Obscure-ish topic, but does anybody here have any textbook / expository paper recommendations for contact geometry?

It's been a while now since my degree, but I've had to help out a sibling with some thermodynamics homework, and it's sparked my interest in the geometric side of physics again.

I've think I've got a new favourite paper.

"The Meanderings of a Weapon Oriented Mind When Applied in a Vacuum Such as the Moon"

Show older
Mathstodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!