HN user

pixelesque

1,525 karma

Software Dev

(Ex-CG/VFX renderer dev)

Posts25
Comments330
View on HN
post.substack.com 1d ago

Against Claudefishing – AI detection feature on Substack

pixelesque
6pts0
www.macrumors.com 2mo ago

Apple Cuts More Mac Studio and Mac Mini RAM Options as Memory Shortage Worsens

pixelesque
69pts60
www.wsj.com 5mo ago

The $100B megadeal between OpenAI and Nvidia is on ice

pixelesque
373pts292
www.businesswire.com 7mo ago

Boom Supersonic to Power AI Data Centers with Superpower Natural Gas Turbines

pixelesque
3pts0
www.ft.com 8mo ago

Drone startup backed by Peter Thiel crashed and burned in armed forces trials

pixelesque
9pts2
www.nasa.gov 10mo ago

NASA Marsquake Data Reveals Lumpy Nature of Red Planet's Interior

pixelesque
2pts0
arstechnica.com 11mo ago

Upcoming DeepSeek AI model failed to train using Huawei's chips

pixelesque
4pts0
siril.org 1y ago

Siril is an astronomical image processing tool

pixelesque
3pts0
twitter.com 1y ago

Musk: The DOGE team will aim to make rapid safety upgrades to the ATC system

pixelesque
31pts8
araib.molit.go.kr 1y ago

HL8088 Preliminary Report – Jeju 737 crash [pdf]

pixelesque
2pts0
www.cbc.ca 1y ago

PEI Homeowner captures sound and video of meteorite strike on camera

pixelesque
18pts5
github.com 2y ago

Tree-JS – Procedural tree generator written with JavaScript and Three.js

pixelesque
3pts0
thinpinstripedline.blogspot.com 2y ago

Op Keystone: The Top Secret Story of Royal Navy/RAF Mission in The Barents sea

pixelesque
1pts0
news.ycombinator.com 2y ago

Ask HN: How to submit cover letter on recruiting sites

pixelesque
3pts0
www.space.com 2y ago

'Mathematically perfect' star system being investigated for potential alien tech

pixelesque
434pts325
www.atlasobscura.com 2y ago

Swiss Maps Are Full of Hidden Secrets

pixelesque
5pts0
www.cnn.com 2y ago

FBI and allies seize dark-web site of most prolific ransomware gang

pixelesque
2pts0
www.dkrz.de 2y ago

Regional Climate Projections for Europe

pixelesque
1pts0
www.aol.com 2y ago

Unity Software to cut 3.8% of staff in 'company reset'

pixelesque
51pts40
en.wikipedia.org 2y ago

Hilbert's Paradox of the Grand Hotel

pixelesque
2pts0
9to5mac.com 2y ago

iPhone 15 overheating reports, with temperatures as high as 116F

pixelesque
6pts3
www.bbc.com 2y ago

Wildfire evacuees frustrated by Facebook news ban in Canada

pixelesque
5pts2
twitter.com 3y ago

Google Maps Traffic data seems to be tracking the Wagner advance in Russia

pixelesque
14pts1
freemocap.org 3y ago

FreeMoCap – Free Motion Capture for Everyone

pixelesque
2pts0
news.ycombinator.com 3y ago

Ask HN: What's “?ref=https://codemonkey.link”?

pixelesque
4pts2

Out of interest, is that all that's required for the power negotiation handshake? I would have expected more complexity?

Note: in some cases (not completely sure if it applies in this situation as I haven't looked into the details of this code enough), using pre-increment AND when the value is used is a dependency on that operation, so "+= 1" is actually faster for out of order execution.

So yeah, as you say, compilers can be very sensitive to this, and in the past (although more than 10 years ago now, so might not be relevant now), ICC often used to generate better (faster executing) code when using "val += 1" vs "++val".

Semi-off-topic but...

On my sites, I see ClaudeBot consistently (and has been like this for over a year) ask for "${SITE}.com/base_dir1" and then get the redirect (Caddy does this automatically) to get "${SITE}.com/base1/base_dir1/" (trailing slash).

The hrefs on my sites include the trailing slashes for directories, so looks like ClaudeBot's internal code is stripping them off before requesting them, and therefore essentially makes almost 2x the requests to my sites for directories, half of them ending up being redirects back to the same url but with the trailing slash.

If would likely need to track them well (not sure from this article/video if that's the case?) to be useful in that scenario...

Drawing a splodge in roughly the location (not sure if there's range info either? I doubt it if it's passive) overlaid on the video likely won't cut it...

Not quite as easy if you have to hot-desk, and don't always get the same desk each time you're in the office :)

”But Desktop GIS Can Handle It” — No, It Can’t

I feel this is a little disingenuous, especially given it then says QGIS takes ~10 mins to open the same file and then doesn't give a time for ArcGIS.

As much as I have respect for QGIS and what it's capable of (especially given its price point!), it's not always that fast: I recently looked into why drawing polygons interactively was so insanely slow (with the help of perf on Linux) in QGIS, and the code was basically suffering from 'painters algorithm' and is just a really inefficient implementation with loads of redraw and 'find-nearest-point' overhead.

I wouldn't be surprised (as another example: until recent releases, Blender's OBJ format importer was similarly orders of magnitude slower than other DCC apps OBJ importers - e.g. it would take > 2 hours to import a large .obj file other apps could ingest fully in under 30 seconds) if the code path just hasn't been looked at and optimised.

Note you can change the amount of shared (V)RAM reserved for the OS with:

sudo sysctl iogpu.wired_limit_mb=18800

will allow you to use more, but you do need to leave a bit for the OS obviously!

Or just raw pointers, indeed.

std::shared_ptrs can also (because they're implicitly for sharing) alias, so the compiler has to assume the worst and emit loads in other cases, and there's no way (unless a newer C++ version has introduced it and I haven't noticed?) to use '__restrict__' with shared ptrs.

Yeah, passing std::shared_ptr by value in a multi-threaded setup can have a lot over overhead due to them being copied and destroyed a lot, and the fact that the atomic ref count value modifications effectively cause a write back to cache and can cause contention.

Should pass them by const refs really to avoid this.

Inverse is still 0.0 technically, but yes, there is a trick you can use with Inf and SIMD to mask them out, so Inf is sometimes used.

However, I'd just condition it for the moment.

so:

invDirX = dirX != 0.0 ? 1.0 / dirX : 0.0; etc, etc for each dimension.

Obviously doing the != 0.0 comparison is not great, as it suffers from potential issues again (especially if you have denormals), but you can generally get away with it I've found in most cases.

JFYI: Your inverse ray direction calculation is not NaN-safe: if rays are completely axis-parallel in one dimension, so the direction value is 0.0 for that axis, you'll be doing the val / 0.0 which results in a NaN...

Also, as you're using full double/f64-precision all the time, you're leaving a fair bit of performance on the table: transcendentals (sin(), cos(), etc) in particular - can be a lot slower than when using f32, and generally double precision can be special-cased to particular areas of the renderer that need it (curve, sphere intersection, and some situations where volume scattering produces very small distances).

Still getting 1076 errors. Seems to have been down for almost three hours now, at least via the Windows UI...

Yes, as long as you were happy to wait 30s for an exposure (on tripod), by 1850 (most of those photos were > 15 years later than that) there were many photos of good quality.

Look at photos of Crystal Palace in 1851 for example.

It's not new - that was sort of my point with my other comment.

At least if it's progressive (so refines and resolves over time), this has been done with pointclouds in the VFX industry in GPU shaders for years in terms of stochastically drawing different points so eventually the whole point set gets rasterised to a fidelity threshold.

Fair enough, but that's then only absolutely max 1024 threads per SM, which wouldn't get anywhere near 1 million, given 5090 only has 192 SMs...

Future proofing I guess...

millions of threads

Really?! What OSs can handle that many native threads?

Also, this seems quite similar to stochastic progressive drawing of pointclouds for realtime that has been done for > 15 years in the VFX industry with GPU shaders in a tiled/bucketed fashion, unless this isn't progressive maybe? (The fact it's been accepted for Siggraph likely indicates it's slightly different).