1,200 karma · joined Apr 13, 2012 (14y ago) · 362 submissions
comment 3mo ago · link · parent
comment 4mo ago · link · parent
comment 4mo ago · link · parent
If a decision is hard to make, its often because the differences are small, and therefore it doesn't matter much and you might as well decide by dice-roll.
comment 7mo ago · link · parent
Rust has testing in the standard library -- IMHO Bevy is far easier to test than most game engines because it's "just rust". You can test game logic by starting headless apps, proding the ECS, and making assertions on the results.
For acceptance tests I've dusted off cucumber (after ten years of not thinking about BDD), as I it works great with Bevy
comment 10mo ago · link · parent
I need the heights on the GPU so I can modify the terrain meshes to fit the terrain. I need the heights on the CPU so I can know when the player is clicking the terrain and where to place things.
Rather than generating a heightmap on the CPU and passing a large heightmap texture to the GPU I have implemented the identical height generating functions in rust (CPU) and webgl (GPU). As you might imagine, its very easy for these to diverge and so I have to maintain a large set of tests that verify that generated heights are identical between implementations.
Being able to write this implementation once and run it on the CPU and GPU would give me much better guarantees that the results will be the same. (although necause of architecture differences and floating point handling they the results will never be perfect, but I just need them to be within an acceptable tolerance)
comment 1y ago · link · parent
Absolutely. As a brit used to waiters and waitresses in the UK and Europe generally leaving me alone until I ask for something, I find the constant fawning interruptions from American service staff cringe-inducing.
A refreshing aspect of US culture is the lack of a historical class system and associated cultural baggage that we have in the UK. So I find it so strange that once you step into a restaurant you are forced into this weird servant/master cosplay where you dictate the server's livelihood based on how you happen to be feeling that day and the resulting whim of your pen writing on the tip line.
comment 1y ago · link · parent
https://tfl.gov.uk/fares/find-fares/capping
Depending on the frequency of travel, it can be cheaper to get season tickets though
comment 1y ago · link · parent
.. if the power would have otherwise been generated using non-renewable sources.
But even when (if?) electricity generation is switched to 100% renewable, we will _still_ need to reduce carbon emissions to reduce climate change, so reducing carbon emissions invovled in the creation and maintanence of renewable electricity seems like a good idea to me.
comment 1y ago · link · parent
* Teams wanting to be a viewer for all kinds of filetypes. Why the hell would I want to view a Powerpoint presentation in Teams? What if I want to chat about the presentation, while viewing the presentation?
* Clipboard injection attacks. Who in the history of the humanity ever thought prefixing "[2:10 PM] Kimble, Richard:" into the URL/API key/thing-you-want-to-copy a colleague just sent you was a good idea? Yes I know you can manually highlight the text and copy, but you're forcing me to do intricate mouse movements that take time, dozens of times a day. I just want to triple-click, cmd+c, alt+tab, cmd+p
comment 1y ago · link · parent
Eg:
You have a forest of trees that take 20 years to mature
You cut the trees and regrow the forest every 20 years
You use the timber to build houses (or furniture or whatever) that are _on average_ replaced after 60 years.
This will pull 3x the carbon from the atmosphere than just the forest by itself
comment 1y ago · link · parent
https://www.youtube.com/watch?v=ldizQkuWpDE
https://podcasts.apple.com/gb/podcast/new-body-language-expe...
comment 1y ago · link · parent
Even if you don't get any useful organic traffic, I find having a technical blog is useful so that when you do go to interviews or submit resumes, hirers can read your blog and quickly establish that you know what you are talking about.
comment 1y ago · link · parent
https://podcasts.apple.com/gb/podcast/special-episode-inside...
comment 1y ago · link · parent
comment 1y ago · link · parent
Location: London, UK
Remote: Yes or on-site in London
Willing to relocate: no
Technologies: Kubernetes, Go, Ruby, Python, Rust, Bash, most platform engineering / devops / SRE / IaC tools and best practices, most public clouds.
Resume / CV: https://www.linkedin.com/in/peterellisjones
Email: pete@peterellisjones.com