Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jeswin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
59 ms
·
781.
▲
by
jeswin
6y ago
I think it's a misunderstanding that Svelte is fast because it is "compiled" into imperative DOM updates. This is partly because the documentation says so, and the early blog posts emphasized this aspect. Compilation actually
782.
▲
by
jeswin
6y ago
> ... and microservices is one example of how to do it. The fundamental problem is where the data resides. Microservices are well understood today, but taking them to the edge isn't; there isn't a path to do that for typical ap
783.
▲
by
jeswin
6y ago
The point I'm making is that edge can't do much now in terms of "processing". Most data is centralized and you'll need to hit a centralized system to access it. Facilities needing lower latency are more likely to ke
784.
▲
by
jeswin
6y ago
"If you've met one person with autism, you've met one person with autism." - Dr. Stephen Shore
785.
▲
by
jeswin
6y ago
> It's just code that gets run. I agree. But it also means that it's mostly unrelated to the edge, or edge computing; with the same constraints the code can run anywhere. To me the promise of edge is that it could work quite we
786.
▲
by
jeswin
6y ago
> "you have to type http:// if you want HTTP" That makes sense only to programmers, who make a small fraction of users. Browsers are mainstream; we need to be more thoughtful.
787.
▲
by
jeswin
6y ago
One thing that Microsoft always messes up (especially with its acquisitions) is the Login. Microsoft apps have the worst login flows I've seen - not only is it inconsistent across sites, it is also slow often requiring many redirects.
788.
▲
by
jeswin
6y ago
Not that I'm a fan of Context (or even React); but without publishing the benchmark code or specific technical arguments, it's hard to support a claim about slowness or of speed.
789.
▲
by
jeswin
6y ago
> Since data is not encapsulated inside React component tree, I found it to be multiple times faster than when using Context. What do you mean by data being encapsulated in the tree? How does that make it slower?
790.
▲
by
jeswin
6y ago
That's true for some sites, and that's what Wikipedia does. But in apps, I don't mind if some discoverabilty (such as for non-essential links) is sacrificed - people will eventually learn if the app matters to them. Take the
791.
▲
by
jeswin
6y ago
> All texts in the examples are hyperlinks, but none are underlined and that is confusing in the first place. One reason is that underlines are quite distracting when you have so many of them. Even Wikipedia avoids underlines for better
792.
▲
by
jeswin
6y ago
Since you're doing a Show HN for a product which has previously had a full discussion [1][2], it'd probably make sense to mention what has changed. According to the guidelines, "New features and upgrades ("Foo 1.3.1 is o
793.
▲
by
jeswin
6y ago
> Due to a combination of Android user's reluctance to spend money on apps at all and the rampant piracy that Android's open model makes trivially easy Ridiculous allegation, which doesn't take into account the wealth ineq
794.
▲
by
jeswin
6y ago
The biggest omission IMHO are project-scoped access tokens. GitLab has them above the bronze tier [1]. GitHub only has Personal Access Tokens, which grant access to all projects accessible to the user - scary! Having project-scoped tokens w
795.
▲
by
jeswin
6y ago
While it helped as a conversation starter here, the 10x rule is hollow punditry.
796.
▲
by
jeswin
6y ago
I have a 2008 account. I do think HN was a bit better earlier on, but I still enjoy using it. However, HN is also effectively a monopoly. There's really nowhere else to go to find the same type of discussions.
797.
▲
by
jeswin
6y ago
The i7 (and Intel) has always had mediocre graphics performance, mostly just for 2D, office/productivity and media encoding/decoding. What'll be interesting is how the M1 will compare upcoming 4th gen Ryzen laptop parts with
798.
▲
by
jeswin
6y ago
> As a dev, I almost always miss my GitHub notifications unless I'm constantly checking the platform in my browser. But why would anyone be constantly checking GitHub notifications? Isn't that a distraction?
799.
▲
by
jeswin
6y ago
Any large codebase should be using multiple contexts - which not only alleviates some of the performance pains but also helps in keeping the code structured (compared to one big state object that Redux recommends - unless that's change
800.
▲
by
jeswin
6y ago
My point is that the action-based approach you describe is extremely verbose for very little gain. Most apps don't need it, yet that's what Redux forces you to do. Regarding DevTools, it's just as easy to make it work with &q
801.
▲
by
jeswin
6y ago
What's one good reason why JS proxies (which let you listen to "state.totals = 100") aren't a cleaner solution to trigger a rerender? There's no need to rerender the whole frame - will be happy to provide an exampl
802.
▲
by
jeswin
6y ago
> If you have actual global state, you'll come very quickly to a point where an actual state management library beats writing your own Which you don't have to. React has been shipping useState, useContext, useReducer hooks for
803.
▲
by
jeswin
6y ago
Redux became a thing because of Dan Abromov's impressive tutoring and documenting skills early on and due to acemarke being a good leader after he left. It's a nice pattern but in an artistic sense. Changing UI state 10 years back
804.
▲
by
jeswin
6y ago
> If any react noobs are reading this, the best React state management setup for you is Redux+Immer. React noobs should just stick to React's own useState and useContext hooks. There are issues with it, but it's not as bad. Her
805.
▲
by
jeswin
6y ago
> VScode is a shining example of what that can accomplish I see this mentioned quite often here, but that's not a valid argument in favour of Electron Apps. VSCode is the primary focus for a user when it's active - so it's
806.
▲
by
jeswin
6y ago
> Canonical is just all over the place. We should encourage experimentation and risk taking. No company can always get things right. Phones are a duopoly, but I'm glad they tried. Unity was fairly decent, but in the end adopting Gno
807.
▲
by
jeswin
6y ago
Very few people have a NAS. Even among the tech literate, there aren't that many people who use SSH or VPN. If this isn't transparent to the user, you'll see very marginal adoption.
808.
▲
by
jeswin
6y ago
As someone dabbling with such an app right now, there are several hurdles if you want to exclusively use self sovereign identity. 1. Local data gets lost, so you need to sync for backup. But when your device gets lost or when you need to ac
809.
▲
by
jeswin
6y ago
Sorry, IMHO this breaks Show HN guidelines. All I see is a landing page. "If your work isn't ready for users to try out, please don't do a Show HN. Once it's ready, come back and do it then." https://new
810.
▲
by
jeswin
6y ago
> If I copy your MP3, you still have your MP3 and haven't been deprived of anything. The world is actually just a better more abundant place now. As a creator, there are many things I want people to copy, fork and share - all my ope
More ›