HNHacker News
TopNewBestAskShowJobs

bschlenk1

0 karma · joined June 29, 2021

submissionscomments
bschlenk1··on Statement on US government directive to suspend access to Fable 5 and Mythos 5
> If this standard was applied across the industry, we believe it would essentially halt all new model deployments for all frontier model providers.

Good. 4.8 is good enough.

bschlenk1··on How to Monetize a Blog (Satire)
And while you’re looking at the ingredients the page crashes and refreshes (I like to look at recipes on an iPad), scrolling you back to the top and you have to start over.
bschlenk1··on Tiny Treeshaker: JavaScript tree shaking in 200 lines of code
All tree shaking is dead code elimination, but not all dead code elimination is tree shaking (in webpack at least).

Tree shaking happens at the import level. If I say `import { abc } from 'some-lib'`, tree shaking won’t include any other objects some-lib may export.

Removing a branch that can never be true, like `if ('production' === 'production') { … } else { /* dead code */ }` is dead code elimination, but webpack wouldn’t consider that tree shaking.