Readit News logoReadit News
bob1029 commented on A simple way to generate random points on a sphere   johndcook.com/blog/2025/0... · Posted by u/piinbinary
pavel_lishin · 4 days ago
> First, it’s intuitively plausible that it works.

Maybe; my first instinct is that there'll be some bias somewhere.

Maybe I'll have some time tonight to play with this in p5js.

bob1029 · 4 hours ago
The part that makes this work is the rejection aspect.

What would be biased is if you inscribed a cube in the unit sphere. This would require additional transformations to create a uniform distribution. If you simply "throw away" the extra corner bits that aren't used, it won't affect the distribution.

bob1029 commented on Shader Academy: Learn computer graphics by solving challenges   shaderacademy.com/... · Posted by u/pykello
bob1029 · 6 hours ago
My journey into shaders started in Unity with Shader Graph and I eventually wound up using some much older ideas - Baked GI w/ the standard URP lit shader [0]. The built-in shaders already give you most of what an average gamer could ask for:

> The Lit Shader lets you render real-world surfaces like stone, wood, glass, plastic, and metals in photo-realistic quality. Your light levels and reflections look lifelike and react properly across various lighting conditions, for example bright sunlight, or a dark cave. This Shader uses the most computationally heavy shading model in the Universal Render Pipeline (URP).

If you add on top of this a willingness to bake lights [1] like it's the early 2010s again, you can achieve extremely high quality scenes without getting tied up in distracting code paths and tools. Your time is much better spent out in the field acquiring actual textures, meshes, audio samples, etc. Painting & lighting an exotic texture IRL and then using a depth-sensing camera to capture it can be orders of magnitude more productive.

[0] https://docs.unity3d.com/Packages/com.unity.render-pipelines...

[1] https://docs.unity3d.com/Packages/com.unity.render-pipelines...

bob1029 commented on The issue of anti-cheat on Linux (2024)   tulach.cc/the-issue-of-an... · Posted by u/todsacerdoti
jayd16 · a day ago
This isn't exactly wrong but you're not looking at it from a modern perspective.

If you can cheat and get away with it, then you'll see streamers do it. That will tank confidence in your game.

It doesn't matter if cheating doesn't make you top the leaderboard. If you have global leaderboards, they will be dominated by cheaters.

I don't think rootkits are excusable but if the solution was simple they would do that.

bob1029 · a day ago
You are assuming the streaming gamer platforms would tolerate this behavior.

https://safety.twitch.tv/articles/en_US/Knowledge/Community-...

bob1029 commented on The issue of anti-cheat on Linux (2024)   tulach.cc/the-issue-of-an... · Posted by u/todsacerdoti
bob1029 · a day ago
Targeting perfect fairness in a multiplayer video game with arbitrary latency between participants is a waste of energy. A much better target is to make it feel like no one is cheating. I don't really care too much if someone is actually better or worse than me at counterstrike. What I mostly care about is wildly implausible gameplay. No one is going to stop the guy who is getting a 5% gain on his ELO by using a 2nd computer, machine vision and a robot to move his mouse ever so slightly faster than he typically can.

However, there are ways to detect when someone is being an absolute madman with the hacks. We're talking head snapping through walls with 100% accuracy and instantaneous displacement across an entire 30 minute match. These people can simply be banned immediately by hardware/steam ID. We can write basic rules to detect stuff like this. There's no "confidence interval" for speed hacking through a map and awping the entire CT team in 3 seconds. You certainly don't need kernel drivers.

bob1029 commented on Does MHz Still Matter?   ubicloud.com/blog/does-mh... · Posted by u/furkansahin
wmf · a day ago
If your software can handle machine failures, 20% extra performance is absolutely worth some extra failures.
bob1029 · a day ago
I think this is the best path if your problem can support it.

I use a 5950X for running genetic programming and neuroevolution experiments and about once every 100 hours the machine will just not like the state/load it is experiencing and will restart. My approach is to checkpoint as often as possible. I restart the program the next morning and it deserializes the last snapshot from disk. Worst case, I lose 5 minutes of work.

This also helps with Windows updates, power outages, and EM/cosmic radiation.

bob1029 commented on Does MHz Still Matter?   ubicloud.com/blog/does-mh... · Posted by u/furkansahin
bob1029 · a day ago
> Once network IO became the main bottleneck, the faster CPU mattered less.

It is surprisingly hard to keep a modern CPU core properly saturated unless you are baking global illumination, searching primes or mining crypto currency. I/O and latency will almost always dominate at scale. Moving information is way more expensive than processing it.

bob1029 commented on Go is still not good   blog.habets.se/2025/07/Go... · Posted by u/ustad
acedTrex · a day ago
Java and C# are both languages with A LOT more features and things to learn. Go someone can pick 80% of the language up in a single day.
bob1029 · a day ago
Just because you can learn about something doesn't mean you need to. C# now offers top-level programs that are indistinguishable from python scripts at a quick glance. No namespaces, classes or main methods are required. Just the code you want to execute and one simple file.

https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals...

bob1029 commented on Is moderate drinking healthy? Scientists say the idea is outdated   news.stanford.edu/stories... · Posted by u/XzetaU8
RandomLensman · 2 days ago
Avoiding alcohol completely would need to exclude things other than just alcoholic drinks, I think.
bob1029 · 2 days ago
Alcohol is essential in many cooking scenarios. It is a much more powerful solvent than water and can better extract essential oils, fats, etc.
bob1029 commented on 24,000-Watt Scooter Is Going for a 100 MPH Speed Record at Bonneville   thedrive.com/news/this-24... · Posted by u/PaulHoule
bob1029 · 2 days ago
I like to look at these things in terms of kinetic energy. 100mph is roughly 100x more KE than at 10mph.

Assume I hit a car with enough energy to break my leg and the car's windshield. This seems plausible at 10mph. Now, we scale this by 2 orders of magnitude. You could cripple lots of people with this thing in one shot. Bollards wont stop a guy with a scooter.

bob1029 commented on How does the US use water?   construction-physics.com/... · Posted by u/juliangamble
bob1029 · 2 days ago
> Water in the US is generally both widely available and inexpensive: my monthly water bill is roughly 5% of the cost of my monthly electricity bill, and the service is far more reliable.

In my experience with municipal utility districts, the reliability of the water supply is typically not much better than the local power grid. The sewage lift stations seem to have the highest quality generator arrangements.

u/bob1029

KarmaCake day19002June 23, 2017
About
Open to new opportunities.

You may contact me using my email address, encoded as b64:

cm9iQHplbmlmeS5pbw==

View Original