Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bcherny
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
451.
▲
by
bcherny
9y ago
No mobile support? :(
452.
▲
by
bcherny
9y ago
Then you might like Undux - that's exactly how it works. https://github.com/bcherny/undux
453.
▲
Show HN: Dead simple state management for React
(github.com)
8 points
by
bcherny
9y ago
|
0 comments
454.
▲
Show HN: Dead simple state management for React
(github.com)
4 points
by
bcherny
9y ago
|
0 comments
455.
▲
Show HN: Dead simple state management for React
(github.com)
3 points
by
bcherny
9y ago
|
1 comments
456.
▲
by
bcherny
9y ago
What do you mean? There’s a lot of work on this by various economists, including modern socialists like Picketty. The big ideas are distributing ownership of things (goods, land, means of production), capital, and education in a way that is
457.
▲
by
bcherny
9y ago
React is already typesafe. For Redux I wrote Babydux [0], which is a simplified Redux with the goal of being 100% typesafe. It's the only Redux I've seen with that level of safety. [0] https://github.com/bcherny&#x
458.
▲
by
bcherny
9y ago
Maybe one is just better at PR than the other? FB manipulates people through notifications and ordering in news feed; Google does it with notifications and ordering in search results. I don't see a substantial difference.
459.
▲
JavaScript in 2018
(performancejs.com)
2 points
by
bcherny
9y ago
|
1 comments
460.
▲
by
bcherny
9y ago
Incremental type systems are super interesting. Lots of work being done in the last 10 years that blurs the lines between static and dynamic typing (monkeytype, reticulated Python), types and values (via the triumph of inferred types), kind
461.
▲
by
bcherny
9y ago
> I can go to Africa right now and I can imagine that even some of the remoter parts will be aware of bitcoin. The Bay Area, ladies and gentlemen. In all seriousness, I doubt people in most of the world have heard of either.
462.
▲
JavaScript in 2017: Year in Review, Predictions for 2018
(performancejs.com)
12 points
by
bcherny
9y ago
|
0 comments
463.
▲
by
bcherny
9y ago
Wow, that's a really clean API. Nice work!
464.
▲
by
bcherny
9y ago
How do you structure + incentivize government orgs to prevent these sorts of issues?
465.
▲
by
bcherny
9y ago
Those are some interesting points. What would you replace all of that stuff with?
466.
▲
by
bcherny
9y ago
This is an unusual view I have not heard before. Could you link to a good article or study so I can learn more about the argument and data behind it?
467.
▲
by
bcherny
9y ago
As someone that runs a 200+ member meetup in SF, I wish I had better tools to promote my meetup and put events in front of people. From the other side, discovering relevant meetups is hard. Searching all meetups in my area one keyword at a
468.
▲
by
bcherny
9y ago
Thought experiment: what would happen if tipping was made illegal? Would restaurants go out of business because they couldn't pay their servers enough because their patrons weren't willing to pay when the actual cost of dishes was
469.
▲
by
bcherny
9y ago
I enjoyed the book. What are some better ones you recommend?
470.
▲
by
bcherny
9y ago
It's been over 30 minutes - how does a chat app go down for this long?
471.
▲
by
bcherny
9y ago
Thanks for the feedback. The "for babies" part came out of a conversation with coworkers a while back, where people were complaining that Redux is too complicated. Ie. To add a property to the store, you also have to define an Act
472.
▲
Babydux: Paper-thin, 100% typesafe Redux for babies
(github.com)
2 points
by
bcherny
9y ago
|
2 comments
473.
▲
Show HN: Babydux / Paper-thin, fully typesafe Redux for babies
(github.com)
2 points
by
bcherny
9y ago
|
0 comments
474.
▲
by
bcherny
9y ago
This is a well explored area. Wikipedia article is short but has some good references [0]. Languages like Haskell, OCaml, F#, and Elm use global type inference. Languages like Scala and TypeScript use local type inference. TypeScript in par
475.
▲
by
bcherny
9y ago
For the record, many implementors are against STC and PTC for a few reasons: - It may be significantly slower than regular recursive calls (though this claim seems to be false both in practice and theory) - It may break debug tools - It may
476.
▲
by
bcherny
9y ago
Does iOS runtime not use evented I/O? Coming from web, I would expect tap events to queue up while the thread is busy with an animation.
477.
▲
by
bcherny
9y ago
I am not a physicist, but as I understand it this is a basic law of physics, and is a consequence of relativity. > It is not possible, however, to use this effect to transmit classical information at faster-than-light speeds [0] [0] htt
478.
▲
by
bcherny
9y ago
You still can't move information faster than light.
479.
▲
by
bcherny
9y ago
This looks pretty neat! A few questions: 1. Are there plans for a multi-browser (especially mobile web) test runner? 2. Are there plans to detect change provenance (eg. if I change my heading height on a page, all the content below it will
480.
▲
by
bcherny
9y ago
Wow, this is remarkably accurate..
More ›