HNHacker News
TopNewBestAskShowJobs

razh

29 karma · joined March 5, 2010

submissionscomments
razh··on At one company I worked at only one thing mattered: the yearly bonus
Yep, he posted a similar set of tweets back in 2018:

https://www.pcgamer.com/ex-valve-employee-describes-ruthless...

razh··on A project with a single 11,000-line code file
Unlike the OP's file, there's a rather substantial test suite and massive corpus of TypeScript code to work with, so at the very least, you'd have some grumpy people knocking on your door if you did something that negatively impacted the greater ecosystem.

Some documentation from Orta Therox on the checker:

https://github.com/microsoft/TypeScript-Compiler-Notes/blob/...

razh··on Against 3x Speed
Ilya Grigorik's Video Speed Controller?

https://github.com/igrigorik/videospeed

razh··on Video streaming battery life improved from 12h (12 Pro Max) to 25h (13 Pro Max)
There's more detail in the iPhone battery information page.

Testing conducted by Apple in August 2021 using preproduction iPhone 13 mini, iPhone 13, iPhone 13 Pro, and iPhone 13 Pro Max units and software, subscribed to LTE and 5G carrier networks. Video playback consisted of a repeated 2-hour 23-minute movie purchased from the iTunes Store, tested with stereo audio output. Video playback (streamed) consisted of a repeated 3-hour 1-minute HDR movie purchased from the iTunes Store, tested with stereo audio output. All settings were default except: Bluetooth was paired with headphones; Wi-Fi was associated with a network; the Wi-Fi feature Ask to Join Networks, Auto-Brightness, and True Tone were turned off.

https://www.apple.com/iphone/battery.html#:~:text=Video%20Pl...

razh··on Zynga’s first foray into WebGL, and how it runs on IE10
No, you're right, there's no quad reconstruction. I imagine you could have just used quads in both the WebGL and Canvas renderers to achieve a similar effect.
razh··on Zynga’s first foray into WebGL, and how it runs on IE10
three.js removed support for quads to reduce renderer complexity.

https://github.com/mrdoob/three.js/blob/master/src/core/Face...

https://github.com/mrdoob/three.js/blob/88092284cbe07723fe2b...

And the relevant issue: https://github.com/mrdoob/three.js/issues/3663

razh··on MIT's Infinite Size CNC Router
Wouldn't it be more likely for the reverse to hold true? The razor-and-blades business model doesn't exactly apply here given the low level of technical sophistication required to print the calibration stickers. Constructing inkjet cartridges and machining modern razor blades are far more complex feats of engineering.

As the paper describes, the stickers can be applied "in any pattern so long as some tape is visible from every position that the device will move to". Thus, there is no need to align the stickers in a special pattern beforehand.

Anyone should be able to print similar calibration stickers on their own dime.

razh··on Procedural Building Generation in Unreal Engine 3
Direct link to the GDC 2010 slides (.pptx):

http://unrealtechnology.com/Downloads/Slides/GDC2010_Golding...