HNHacker News
TopNewBestAskShowJobs

esprehn

2,029 karma · joined July 18, 2011

submissionscomments
esprehn··on Improving Performance with HTTP Streaming
Trailers don't let you change the status code though.
esprehn··on [dead]
This isn't a Pixelbook, which was a particular line of first party devices. It's just a Chromebook (or a Windows laptop). I don't see the word Pixelbook anywhere on the page either so I'm not sure why that's in the HN title.
esprehn··on Companies to pay $615k in investigation over faked net neutrality comments
TFA says 615k. On a personal level of course I wish it was millions...
esprehn··on Companies to pay $615k in investigation over faked net neutrality comments
Typo in the HN headline, lost a zero.
esprehn··on Tech executive Bob Lee led an underground life
This article is paywalled, but lots of coverage around the web on different sites: https://www.google.com/search?q=bob+lee+lifestyle
esprehn··on The Legend of Zelda: Tears of the Kingdom Release
Apparently the save data was really only 75MB. I'm not sure what could use 5GB in save data... dynamically generated FMV?
esprehn··on YouTube tests blocking videos unless you disable ad blockers
YouTube has caching like that too, see:

https://peering.google.com/#/

And

https://peering.google.com/#/learn-more/faq

And specifically the section on: "What content can Google serve from an edge node?"

esprehn··on GitHub code search is generally available
You could try https://sourcegraph.com/search

Though GitHub will probably have all the same features eventually and cheaper too.

esprehn··on Colorado governor signs tractor right-to-repair law opposed by John Deere
The usual way of putting this is that once a player emerges as a winner, that they turn towards regulatory capture. Or in the worst case players collude to prevent new players.
esprehn··on Closing in on the “perfect code” (2004)
This should be tagged (2004)
esprehn··on Sundar Pichai received $226M compensation, boosted by a triennial stock grant
I think it was Bump Photoroll not Picasa that became Google Photos: https://www.ycombinator.com/companies/bump
esprehn··on Sundar Pichai received $226M compensation, boosted by a triennial stock grant
From what I observe Google Photos is quite popular. It's from 2015.
esprehn··on Sandboxing JavaScript Code
What you're describing is basically SES: https://medium.com/agoric/ses-securing-javascript-in-the-rea...

There's pros and cons to that, most folks don't enjoy being inside such a restricted sandbox.

esprehn··on Samsung considers moving to Bing as default search engine
I can't tell if your sarcasm is top notch, but isn't Chromebooks and GSuite (docs, sheets, slides) exactly the thing you describe?
esprehn··on Dishwasher Salmon
I'm only surprised no one has made the joke about using the Fishwasher.
esprehn··on JavaScript-algorithms: Algorithms and data structures implemented in JavaScript
I realize you mentioned hooks not react in general, that code is here: https://github.com/facebook/react/blob/657698e48d5b093b4ea5a...

You can see the linked list insertion right below that too.

esprehn··on Perseus – NextJS alternative in Rust
Not at compiling! And for many situations fast iteration beats fast runtime. Python is a great example of this.
esprehn··on Dooble Web Browser
There's a bunch of factors at play with LadyBird.

First, kling worked on WebKit so he's familiar with browser arch already. Fun fact: the AK library in SerenityOS is basically a reimplementation of the WTF library in WebKit (though it's evolved a lot since then). :)

Second, web standards have come a long way since the early days of browsers. If you read through the LadyBird code lots of it is spec language converted to code. That's a testament to the huge amount of work that's gone into web standards in the past 10 years.

Third, the web is designed around the idea that not every browser supports every API and that things should mostly degrade gracefully. So lots of sites probably fall back to slower paths or feature emulation in LadyBird, or just don't render the advanced effects. That's part of the power of the web.

Fourth, the LadyBird browser doesn't try very hard to be fast. Ex. getElementById is O(n): https://github.com/SerenityOS/serenity/blob/f532f9d27935f508...

Similarly LibJS doesn't JIT. Lots of effort in modern browsers is about speed.

Fifth, LadyBird doesn't implement a lot of the modern web. There's stubs for a bunch of APIs:

https://github.com/SerenityOS/serenity/blob/f532f9d27935f508...

https://github.com/SerenityOS/serenity/blob/f532f9d27935f508...

None of that is to negate how awesome SerenityOS and LadyBird are though, I'm a huge fan.

esprehn··on JavaScript-algorithms: Algorithms and data structures implemented in JavaScript
Libraries and frameworks generally use intrusive linked lists where the pointers are embedded inside the objects. That enables a lot of useful properties (like traversal) with minimal overhead. That's how the DOM and Layout is implemented in browsers as well.

Link lists that use separate nodes (like the project in TFA) are rarely the best choice due to the performance trade offs and way modern CPUs work.

This article explains it well: https://www.data-structures-in-practice.com/intrusive-linked...

See also:

https://github.com/trekhleb/javascript-algorithms/blob/bbbfd...

https://github.com/trekhleb/javascript-algorithms/blob/bbbfd...

Vs what React does:

https://github.com/facebook/react/blob/657698e48d5b093b4ea5a...

esprehn··on JavaScript-algorithms: Algorithms and data structures implemented in JavaScript
These implementations are nicely written for learning purposes, but look inefficient.

For example many of the data structures are implemented with a LinkedList, but the allocations and pointer chasing is likely slower than just using arrays.

esprehn··on Buck2: Our open source build system
Blaze is very old (from 2006), the history is described here: https://mike-bland.com/2012/10/01/tools.html#blaze-forge-src...

In the years that followed folks left Google and joined other companies and created similar build systems because blaze had a lot of advantages at scale. Facebook made Buck, Twitter made Pants. Blaze was still closed source inside Google. They all used the same python looking language.

In 2012 Twitter open sourced Pants: https://blog.twitter.com/engineering/en_us/a/2016/the-releas...

In 2013 Facebook open sourced Buck: https://en.m.wikipedia.org/wiki/Buck_(software)

In 2015 Google finally open sourced most of blaze, but renamed it bazel for copyright reasons. Some might argue they waited too long because clearly there was a lot of demand for such a system. :)

After that Twitter (mostly?) migrated to bazel and Facebook sort of stalled out on Buck. But then recently they decided to rewrite it from scratch to fix a lot of the architecture problems resulting in Buck2.

Buck2 looks pretty impressive and hopefully it gets the bazel folks moving faster. For example the analysis phase in bazel is very slow even inside Google, and Buck2 shows an alternative design that's much faster.

esprehn··on Buck2: Our open source build system
Yes, the codebases at Google and FB contain billions of files. Article from 2016 about the scale, and of course it's only grown dramatically since then: https://m-cacm.acm.org/magazines/2016/7/204032-why-google-st...
esprehn··on My experience being blocked by Google Safe Browsing (2022)
> I don't actually believe that it has blocked that many people from being phished

The data says the opposite, the safe browsing list is very effective* which is why many other browsers and systems use the same list to block malicious pages.

Google publishes data about the frequency of warnings displayed too: https://transparencyreport.google.com/safe-browsing/overview

* Of course it could be better.

esprehn··on YouTube millionaires are not your friends
> It's not hard. Anyone in America with $35,000/yr is in the 1% of the world's economic strata.

That doesn't take into account the vastly different cost of living across the world. Sure, 35k USD is a lot compared to some countries, but it's barely scraping by in most US metros.

US wages have not kept pace with the increase in cost of living and goods and services for decades.

Even if folks somehow managed to save 15% of the 35k every year for 40 years (which is really hard) they're left just touching a million with a guaranteed 8% return, and that's their retirement funds. After using those funds to live for the next ~20+ years extremely modestly doesn't leave much of anything for "generational wealth".

Unless you're already in the upper 20% the best bet remaining is to help your kids get through college and hope they get a higher paying job than you. Which is increasingly difficult as the cost of education has skyrocketed compared to wages.

esprehn··on Google discontinues Google Glass for enterprise
Netflix is different from traditional broadcasting in that they always order an entire season. That makes the cancellations more dramatic because instead of a pilot or few episodes like in the past they instead keep performing a Firefly on their viewers over and over again.
esprehn··on Guide to Java Virtual Threads
That statement also contains factual errors. async/await came from standard JS (as part of the harmony track of work) not from node.
esprehn··on Google dusts off the Google+ playbook to fight ChatGPT
They already knew that from Wave, which also had the "my friends aren't on it and I have no invites" headwind.
esprehn··on Google layoffs Jan 20, 2023 – California WARN public records
The SWE ladder goes to L10 (Fellow). There's also Sr Fellow (L11) but that might be just Sanjay and Jeff, and I think Jeff is technically on the manager ladder as an SVP now.
esprehn··on The contagious visual blandness of Netflix
Neither of those is likely the reason. This is about A/B testing your way to success, growth and engagement. Allowing too much disabling of engagement driving features or too much customizations hurts metrics. It's the same reason FB forces you from the date sorted timeline back to "magic" sorting every few days.
esprehn··on Area 120, Google’s in-house incubator, severely impacted by Alphabet mass layoff
Area120, even with the previous cuts, was full of talented people with a background in building businesses and VC investments. It was a pretty unceremonious end to what was originally considered an important part of Google's innovation strategy.

Separately it'll probably get less coverage than things like the incubator shutting down, but I suspect more external impact will be felt as a result of them firing the head of Open Source who's been there for 19 years. :/ Tech press hasn't picked that up yet though.

← PreviousPage 9 of 18Next →