HNHacker News
TopNewBestAskShowJobs

devthrowawy

4 karma · joined September 25, 2020

submissionscomments
devthrowawy··on From zero to main(): How to write a bootloader from scratch
Often a pentagram is required.
devthrowawy··on It Is Never a Compiler Bug Until It Is
We may have found a java compiler bug in high school cs class. The program was all of 2 lines doing some very basic arithmetic and comparison. Half the class and teacher were huddled around the computer trying to figure out what the hell was going on. I was new to programming so it's hard to say with confidence. But there was nothing 'tricky' in the code, just wrong output. This was over 10 years ago but java wasn't exactly new.
devthrowawy··on It Is Never a Compiler Bug Until It Is
Probably more to do with compile time static expression evaluation (optimization) than parsing. Seems like it's not actually recursing down, just evaluating the root.
devthrowawy··on Social Cooling (2017)
Maybe some more buy in could be achieved without the global warming fear mongering. Social media is directly impacting people's lives and there are real solutions individuals can employ to better themselves and their lives. It's time we stopped confusing pie in the sky boogie men with lack of personal responsibility and self awareness.
devthrowawy··on Serverless, peer-to-peer, local file sharing through sound
All you need to know is the channel bandwidth (say 20-50khz) and noise floor power relative to rx power to give maximum data transfer rate (Shannon-Hartle theorem). Capacity = (Bandwidth) * log2 (1 + recieve_power / noise_floor_power). There is also a lot of em noise going on - just like sound. I would expect sound to be many orders of magnitude less power effecient/bit than EM - but the principles basically the same
← PreviousPage 2 of 2