HNHacker News
TopNewBestAskShowJobs

fold_left

394 karma · joined January 30, 2014

Twitter: @fold_left
submissionscomments
fold_left··on The Road to GraphQL
Thank you for creating this, Robin.
fold_left··on Waking up early serves capitalism
Can you be more specific?
fold_left··on Introducing Cloudflare’s IPFS Gateway
Bravo
fold_left··on The Wrong Abstraction (2016)
This is good advice. I've come to the conclusion that, when suggesting almost anything to do with Development, I really need to be at pains to prevent it being received that the answer is always either Black or White at all times.

It's hard to get across that the answer is usually one of the Greys and, even then, the shade will probably vary a little from time to time.

Rules are the children of Principles, they're important handrails as you're learning but to progress from there you have to understand the Principles behind them and how they confirm or contradict eachother.

fold_left··on The future of WebAssembly – A look at upcoming features and proposals
> I doubt that all of the web developers who have invested in becoming javascript "experts" want to see the ecosystem change and see all of their "experience" and "expertise" become worthless.

Can you expand on what you mean when quoting those words in this context? I can't put my finger on what point you're trying to make here.

fold_left··on Rules of optimization
Interesting title but the text was far too small to read on my pixel 2 and wouldn't let me pinch-zoom in. Optimization of some other metric perhaps?
fold_left··on Show HN: Interactive guitar scales diagrams
No problem at all, excited to check it out all the same when I get back to my laptop.
fold_left··on Show HN: Interactive guitar scales diagrams
Damn I'm not seeing anything other than the navigation and a red footer, in Firefox on latest Android.
fold_left··on Things I Regret About Node.js [video]
More frustratingly, at least for me, is that some of us have been warning about these things for absolutely years without many paying any mind, only for them to keep in happening again. Eg. https://news.ycombinator.com/item?id=16090120
fold_left··on Show HN: Sucrase, 20x faster smaller-scoped alternative to Babel
I could imagine using the jest plugin, could be useful as a presumably faster alternative to babel-jest.
fold_left··on NPM proxy users receiving ERR 418 I'm a teapot
You're right
fold_left··on Modern CSS Explained
Rightly or wrongly, I always thought of it as being the (since deprecated) IMG align=left|right attributes' behaviour promoted for use by other elements.
fold_left··on Stripping CO2 from the air and using it to produce carbon-neutral fuel
You might want to see your Doctor
fold_left··on Many packages suddenly disappeared
this issue is avoidable by using shrinkpack:

HN: Shrinkpack – npm dependencies as tarballs, prevents “left-pad” style breakage - https://news.ycombinator.com/item?id=11353908

fold_left··on Many packages suddenly disappeared
You can create a local offline mirror using the shrinkpack (not shrinkwrap) tool.
fold_left··on Many packages suddenly disappeared
Note that shrinkwrap and npm 5 lockfiles are identical, running npm shrinkwrap just renames the file.
fold_left··on Engineers create plants that glow
Linking in that Dutch designer Daan Roosegaarde was looking at this back in 2014: https://www.dezeen.com/2014/03/24/movie-sxsw-daan-roosegarde...
fold_left··on Essential Image Optimization
I have some benchmarks of image optimisation tools here at https://foldleft.io/image-tools/
fold_left··on Kenya is using the earth's heat to power the country
This video helped me get an idea of just how vast it is https://youtu.be/OtsaySKol94
fold_left··on Why we have banned default exports in JavaScript
Thanks
fold_left··on Why we have banned default exports in JavaScript
While reading this thread away from my machine, I'm curious now what happens when

export default { foo: 2 };

export const foo = 3;

// other file

import { foo } from './file'

console.log(foo);

Presumably last one wins or, if the other way around, a reassignment of const error?

fold_left··on We could build something revolutionary: how tech set underground music free
Right on!
fold_left··on Announcing TypeScript 2.6
I've recently started using TypeScript and VS Code properly and have really enjoyed it. The only niggle I've had so far has been around typing curryable functions, but I appreciate that's probably a tricky thing to cater for nicely (?)
fold_left··on Front-End Checklist
No, the reason given was

> give it an empty alt attribute to indicate to the screen reader that it shouldn’t try to read out the file name or something

fold_left··on Spotify’s Discover Weekly: How machine learning finds new music
Is your listening history from last.fm taken into account when signed into it via Spotify?
fold_left··on How changing my name to “Spider Mann” ruined my life
There's a guy in Leeds who changed his name to Megatron, I didn't believe my friend when he told me but it's true https://scontent-lhr3-1.xx.fbcdn.net/v/t1.0-9/fr/cp0/e15/q65...

¯\_(ツ)_/¯

fold_left··on Yarn vs. npm5 determinism
Shrinkpack[1] allows npm to provide completely deterministic builds.

[1] https://github.com/JamieMason/shrinkpack

fold_left··on Using Rust for 'Scripting'
As someone who only very recently caught the Rust bug; seeing a reasonably small, familiar example like this is really helpful. Thanks for sharing. Maybe I can learn something by seeing if I can introduce threads/channels to the renaming part of the script as an exercise.

For anyone else curious about Rust, my own learning spree was triggered after reading the "A very brief intro to Rust" Slide Deck [1] by Ashley Williams [2].

[1] https://ashleygwilliams.github.io/a-very-brief-intro-to-rust...

[2] https://twitter.com/ag_dubs

fold_left··on Yarn – A new package manager for JavaScript
Brilliant. I've been trying to tackle this problem for the last year or so with shrinkpack (https://github.com/JamieMason/shrinkpack) with _some_ degree of success and a nagging feeling that much more could be done.

It's great to see attention is being spent on what is a really important area, one which has been largely under-appreciated in Node.js until now (aside from for a short period after the left-pad incident).

Kudos to Facebook, I look forward to giving it a try.

fold_left··on I've Just Liberated My Modules
I've been warning of the potential for issues like this for quite a while and would be really grateful for people's feedback on this approach to try and insulate your projects from them https://github.com/JamieMason/shrinkpack.

Its not completely there yet, but I think there's something worth exploring further in this idea.

← PreviousPage 3 of 4Next →