Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pgt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
631.
▲
by
pgt
7y ago
`setState(...)` is not idiomatic in JavaScript.
632.
▲
by
pgt
7y ago
<p>Thanks, fixed! :)
633.
▲
by
pgt
7y ago
You are right and I should clarify that.
634.
▲
by
pgt
7y ago
If you need to manage state and want to focus on functions instead of objects (classes), try ClojureScript - especially in combination with [DataScript]( https://github.com/tonsky/datascript ), an immutable database and
635.
▲
by
pgt
7y ago
(Edit: it is worth noting that Hooks are based on Reagent's reactive atoms.) Compare the complexity of Hooks with the simplicity of state management in [Reagent]( http://reagent-project.github.io/ ) or [Rum]( https:/
636.
▲
by
pgt
7y ago
I can't get the sound to work on the demo video, and there is no link to the Vimeo hosting.
637.
▲
by
pgt
7y ago
Being touched is an undeniable signal you are surrounded by the tribe, which triggers the reproductive sequence, since it takes a village to raise a child.
638.
▲
by
pgt
7y ago
This has implications for wetsuit and surfboard design in repelling sharks.
639.
▲
by
pgt
7y ago
'We ‘may’ have discovered a potential remedy for tinnitus – by accident.' - https://www.linkedin.com/content-guest/article/we-may-have-d...
640.
▲
by
pgt
7y ago
Firebase is a hosted database. Where does a dev tool begin and end? Is Slack a dev tool? Is HN? Where do you draw the line?
641.
▲
by
pgt
7y ago
Merging requires diffing, and hashing enables efficient diffing. It's a reconciliation process just like checking balances in accounting, and you could think of version control as accounting for code.
642.
▲
by
pgt
7y ago
Whatever you do, do not read the META II paper, especially not Figure 5, which is the META II compiler written in itself. You may lose two months of your life: http://www.ibm-1401.info/Meta-II-schorre.pdf :)
643.
▲
by
pgt
7y ago
You are right about developer tools, but these companies are not selling developer tools. Plus, the technical implementations are non-trivial.
644.
▲
by
pgt
7y ago
Any discussion about incremental UI should include Yaron Minsky's talk about Jane Street's OCaml framework, incr_dom from 2016: https://www.youtube.com/watch?v=R3xX37RGJKE Incremental is essentially an implementa
645.
▲
by
pgt
7y ago
Great starting point for learning Datalog interactively: http://www.learndatalogtoday.org/
646.
▲
by
pgt
7y ago
encrypto
647.
▲
by
pgt
7y ago
The best position to negotiate from is to have other options. Even if it doesn't work out, you can take one of the other offers, which might be a better deal! So the advice about ramping up interviewing is good. Always be interviewing
648.
▲
by
pgt
7y ago
Take my email so you can email me a list of books to choose from later. I look at so many new products and libraries every day that I had already forgotten the name of your site. Since I get most of my reading done on the throne (currently
649.
▲
by
pgt
7y ago
There’s a Seinfeld episode about books in the toilet: https://youtu.be/NygOFsExGMU And tabloids would sell more if they were 2-ply.
650.
▲
by
pgt
7y ago
Continuous integration is typically not distributed, and it blocks releases.
651.
▲
by
pgt
7y ago
Now if only you could geofence this to restrooms all over the world so it will send you a page as a push notification...while you push. I'm calling it: Push to Read™️
652.
▲
by
pgt
7y ago
No call-to-action above the fold? Struggling to give you my email address.
653.
▲
by
pgt
7y ago
I don't think this is true: "you would think the owners would have the foresight to either have something capable of breaking windows".
654.
▲
by
pgt
7y ago
Thanks, didn't know about levels.fyi.
655.
▲
by
pgt
7y ago
Also: https://sheetless.io/ Relevant to understanding causality in systems: https://en.wikipedia.org/wiki/Twelve_leverage_points
656.
▲
by
pgt
7y ago
It's possible. Peter Thiel has called Elon Musk, "the master marketer."
657.
▲
by
pgt
7y ago
Never put your customers back in a buying position! Learned this from @dhh. Especially when the minority rule applies to them.
658.
▲
by
pgt
7y ago
Follow the money. If you can't see a person's motivations (esp. a politician), watch the result of their actions and assume that the outcome was their motivation and tell them that. Practically it doesn't matter whether they
659.
▲
by
pgt
7y ago
The most valuable question to know in every language is, "How do you say <English word> in <your language>, please?" For example, in Xhosa you ask,"Uthini ngesiXhosa 'to run', nceda?" => The answ
660.
▲
by
pgt
7y ago
This can probably be used to speed up Transfer Learning.
More ›