HNHacker News
TopNewBestAskShowJobs

bsmith0

144 karma · joined July 25, 2018

SWE @ Palantir | CompE @ UIUC

https://braeden.dev

submissionscomments
bsmith0··on Reformatting 100k Files at Google in 2011
I'd be curious what role "global approvers" at Google/Google's scale typically have/how many are there/what's the process?
bsmith0··on Seconds before a 6.2 earthquake rattled California, phones got a warning
https://en.wikipedia.org/wiki/Differential_privacy might help
bsmith0··on Harvard won’t require SAT or ACT through 2026 as test-optional push grows
Senior year AP scores aren't available for seniors until way after the application process. I think I ended up having 7/11 of my tests during senior year.

Imo the main advantage APs brings is GPA weighting/more impressive looking transcripts.

I think scores often aren't even considered by admissions -- purely used for college credit.

bsmith0··on Sundar Pichai warns of threats to internet freedom
These are the most predictable HN comments
bsmith0··on Aurora
Lol don't worry, HN spends a lot more time complaining about web.dev than praising it.
bsmith0··on The NSA Instruction (2019)
Yep my bad! I think flipping the order should work still though.

The two links in the article:

https://lemire.me/blog/2016/05/23/the-surprising-cleverness-...

And the LLVM source indicate to me it only picks up on x&(x-1) pattern, which would miss the popcount optimization on code like mine.

bsmith0··on The NSA Instruction (2019)
Here's a dumb question. If someone asked me to do it I'd probably write code like:

while(x != 0) { c += x&1; x >>= 1; }

Is this something that should be added to LLVM?

Edit: flip the order

bsmith0··on Resistor Noise Can Be Deafening, and Hard to Reduce (2007)
It's probably coil whine? https://en.wikipedia.org/wiki/Electromagnetically_induced_ac...
bsmith0··on Gab Has Been Breached
Wow, it is actually shocking how disgusting the CEO's comments are.
bsmith0··on Internet Archive Infrastructure
It wasn't clear to me, but I might have just missed it. Is there a backup strategy beyond just duplicate data?

Have they lost data during rebuild?I know he briefly talked about that risk with different HD sizes.

bsmith0··on Web Spectrogram using your Mic
Yes, I built a really bad version of it a while ago: https://braeden.dev/waterfall/

Click waterfall, and then click play when you have the audio on your computer playing outloud.

If you play the audio outloud, your mic should be able to pick up a barely recognizable version of the picture (try the heart first to calibrate the "row delay").

https://github.com/braeden/waterfall

Take a look at the example pictures on github ^, poor, but functional fully web version.

bsmith0··on macOS beta adds custom kernel support, closer to installing other OSS on M1 Macs
You can just press ctrl+D and bypass the warning without any sound. It's not a big deal at all.
bsmith0··on Chrome Is Bad
Agreed, about 25% of the content on HN seems to be Google hate.
bsmith0··on Deno 1.6 supports compiling TypeScript to a single executable
What's up with the page faults in the timing details?
bsmith0··on When you type realty.com into Safari it takes you to realtor.com
Really? That's a very cynical outlook.
bsmith0··on Ask HN: What projects are you working on now?
https://braeden.xyz/favsnek

Snake in a Favicon (desktop only - arrow keys)

I know it's been done before, but I thought it was a fun project to throw together quickly.

bsmith0··on Welcome to Black Hat, where the attendees are the threat
That link doesn't work either
bsmith0··on Basic Electron Framework Exploitation
See this in regards to the new Slack application: https://slack.engineering/rebuilding-slack-on-the-desktop-30.... It's much faster now.

Also, I would be hard pressed to find a 5 sec increase in an electron app vs a native app.

This article is also worth a read, focusing on why Electron fills a necessary niche: https://medium.com/@felixrieseberg/defeating-electron-e1464d...,

bsmith0··on Basic Electron Framework Exploitation
What about the potential technical debt and additional manpower it requires to build out per-platform desktop applications.

Easy is a priority for many OSS projects and companies who want to ship something quick and reliable.

bsmith0··on Basic Electron Framework Exploitation
It makes cross-platform desktop development much easier.

VSCode, Discord, and (the new) Slack are written in Electron, and those absolutely excel, even at the cost of a bit extra memory usage.

There's a circlejerk of Electron hate, but there's a reason it's so popular, the ease of development outweighs its weighty memory drawbacks for many companies and individuals.

Edit: Not to mention that it uses Node.js, HTML, CSS, so moving from web-apps => desktop becomes a much simpler endeavor.

bsmith0··on Chrome hides www and https:// in the address bar again
Those both seem like implementation issues.
bsmith0··on Long time nuclear waste warning messages
The documentary mentioned at the bottom, "Into Eternity" is definitely worth a watch, it's fascinating.
bsmith0··on LightSail 2 Spacecraft Successfully Demonstrates Flight by Light
So just use a directional light source pointing away from the craft...
bsmith0··on GitHub and Trade Controls
Or https://github.com/betaflight/betaflight
bsmith0··on Detecting Chrome headless, the game goes on
Yep, you got it, checkout the top commment on this thread
bsmith0··on Detecting Chrome headless, the game goes on
This straight up crashes my scraper's browser, using puppeteer, extra-stealth ect.
bsmith0··on Raspberry Pi 4 not working with some chargers
USB C is fantastic. Standardization is way better than needing several different types of cables for all your devices.