Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brlewis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
481.
▲
by
brlewis
7y ago
I'm in the U.S., and 2 of my 4 credit cards support contactless. One is Costco VISA, the other Discover.
482.
▲
by
brlewis
7y ago
Also Portland, Oregon - https://support.apple.com/en-us/HT207958 Chicago and Miami are likely to follow suit since they already support Fitbit Pay (disclaimer: my employer, but I don't speak for them) - https:&#x
483.
▲
by
brlewis
7y ago
Put another way, a more experienced developer will recognize which issues will actually make future changes slower, vs issues that are just engineering aesthetics. Ultimately the goal is to get to a great product quickly, and an experienced
484.
▲
by
brlewis
7y ago
The first section reads as if it's explaining why state management is needed at all, not as if it's giving one example of something state management is good for. I couldn't make sense of the second section either. It sounds l
485.
▲
by
brlewis
7y ago
In fact, the linked article is useful because it links to a much better article on state management with React: https://kentcdodds.com/blog/application-state-management-wit...
486.
▲
by
brlewis
7y ago
In other comments I've pointed out specific major flaws in this article, but for whatever reason it continues to be upvoted and has risen to number 6. To be clear, this article is not useful. If you are trying to learn about state mana
487.
▲
Application State Management with React
(kentcdodds.com)
2 points
by
brlewis
7y ago
|
0 comments
488.
▲
by
brlewis
7y ago
I get the advantage of using React for single-page web apps, but I'm totally with you on the dark mode example. The modern way to do dark mode is to assume that people who want it won't be using IE or Edge, and just do a CSS media
489.
▲
by
brlewis
7y ago
Point 2 in this article says a global store is the solution to its example problem. If there are any details of the example problem that make a global store the best solution, those details are not given. Generally you store a component
490.
▲
by
brlewis
7y ago
Point 1 in this article is totally misguided. "State management is how you mitigate prop drilling" implies that when prop drilling is not a problem (i.e. most of the time), that you don't need to think about state management.
491.
▲
by
brlewis
7y ago
It's not the amount of complexity that leads to needing Redux, it's the type of complexity. You can go a long way on keeping state in the nearest common ancestor of the components that need to share it. https://redu
492.
▲
by
brlewis
7y ago
No, nobody knows why things changed. There was a U.S. Supreme Court case called Diamond v Diehr such that if its precedent were followed, software patents like the one in the comment above would never be granted. Somehow lower courts confus
493.
▲
by
brlewis
7y ago
> it’s a problem of react devs who take a small view library then build a framework on top of it This has been solved by create-react-app. I'm working on a 10K+ LOC app now, and the only significant dependencies that aren't par
494.
▲
by
brlewis
7y ago
As an alternative to having them download a separate app, have them download a browser that supports the stale-if-error Cache-Control directive. It's fair to ask people doing serious work not to use Mobile Safari. It's also fair t
495.
▲
by
brlewis
7y ago
> There's enough people on social media who will share that without verifying it This is so true! I was on twitter recently and one of the recommended tweets was a factual statement without any source. I was shocked that only maybe
496.
▲
by
brlewis
7y ago
Why is downloading a native app easier for Average Joe than clicking a link to a web app that's served with appropriate Cache-Control headers and uses localStorage?
497.
▲
by
brlewis
7y ago
Slow, steady upward trend for racket: http://eliot-jones.com:5690/Home/Trend?id=racket Would be nice, though, to compare relative to an evergreen term like "computer" the way stock performance gets compared t
498.
▲
by
brlewis
7y ago
I'm surprised at all these great non-technical suggestions and few coding suggestions. I'll supply some web-focused ones for the next 3 years. In 2020 learn TypeScript really well. Learn all the ways to compose types. It's ea
499.
▲
by
brlewis
7y ago
Political parties are highly skilled at telling people what they want to hear. Reading their programs will keep you current on what people want to hear.
500.
▲
by
brlewis
7y ago
Toastmasters helped me with conversation a lot. Especially the "table topics" part of the meeting. Highly recommended.
501.
▲
by
brlewis
7y ago
> Honesty is not a skill, lying successfully is. I can see why you would think this. Lying successfully ultimately takes more work than being honest. Being honest is like swinging a golf club or tennis racket correctly. It feels awkward
502.
▲
by
brlewis
7y ago
> I really do hope this kind of developer attitude (writing pure VanillaJS) is coming back. If it's coming, it's coming for the first time. Way back in the first decade of this century, when JavaScript was first transitioning f
503.
▲
by
brlewis
7y ago
My feedback is to keep doing what you're doing. Some people will talk about how this kind of mundane training might not be relevant some years later. By the same reasoning students shouldn't learn the layout of their campus or how
504.
▲
by
brlewis
7y ago
The submitted link is for an introductory video. The place to try it out is https://en.howtruthful.com/o/
505.
▲
Show HN: How to stop the polarization/toxicity filling the web [video]
(youtu.be)
1 points
by
brlewis
7y ago
|
1 comments
506.
▲
by
brlewis
7y ago
> Milo; Katie Hopkins; InfoWars et al have all lost their former agenda-setting influence following deplatforming When did they ever have agenda-setting influence? I need more specific citations for these claims than "the data"
507.
▲
by
brlewis
7y ago
Successful persuasion stories are always interesting to me, but at over 2.5 hours I'm unlikely to watch this whole thing. Can you please list some key takeaways? https://www.youtube.com/watch?v=oGTQ0Wj6yIg
508.
▲
by
brlewis
7y ago
That's exactly how FriendFeed worked, and it was great.
509.
▲
by
brlewis
7y ago
People who think app store approval is a reliable quality gate, please take note.
510.
▲
by
brlewis
7y ago
This is only because the trust given to apps is insane. No distinction between foreground GPS and background GPS? Sure, I wouldn't want web sites to work that way either. But if permissions were sane there would be no reason not to hav
More ›