Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
smarkov
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
smarkov
3y ago
$12/month for a ELI5 seems pretty steep to me, especially so during these times when ChatGPT is available (even with its caveats). Targeting developers who are just starting out is a cute concept but having to decipher the ramblings of
62.
▲
by
smarkov
3y ago
> clever code is art to be studied and enjoyed. they are the vehicles of growth, of new and important ideas. I don't think you quite got the idea this article was trying to convey. Here's a simplification: Don't make simpl
63.
▲
by
smarkov
3y ago
> Regardless of what JS framework is in vogue, I do not think it is fair to say that we are doing the same thing on the web as we always have or even to say that the base technologies are getting more complex for no reason. Certainly. Th
64.
▲
by
smarkov
3y ago
> You should actually learn the web stack and look at how things work in 2023 instead of reading other people's rants or secondhand opinions to form your own opinions. I didn't base my response on anybody else's words. I&#
65.
▲
by
smarkov
3y ago
Without downplaying all the effort being put into this, I think we're just digging a deeper hole. Websites do more or less the same thing they did 15 years ago but they are now 20 times more complex to develop and maintain. A good amou
66.
▲
by
smarkov
3y ago
> Only if a dev has screwed up. Most simple sites are fine. You have to push the DOM quite hard for the browser to be the bottleneck. I've worked on apps that have DOM trees with 60,000+ nodes that remain under 16ms (because very fe
67.
▲
by
smarkov
3y ago
> Building an app that renders a complex page in under 16ms isn't that easy if there's a lot going on We struggle to render a few boxes and some text under 16ms while games with vastly more complex sound, network, physics, UI a
68.
▲
by
smarkov
3y ago
> I think the OP point still stands, just use HMAC instead of inventing crypto schemes. Completely valid point, I was asking purely out of curiosity since this isn't my area of expertise but I find these kinds of vulnerabilities int
69.
▲
by
smarkov
3y ago
> Signature = (message || secret) may be safe in certain circumstances, but you should also AVOID IT! What about `H(s || m || s)`?
70.
▲
by
smarkov
4y ago
> tools that are actually meant to build rich GUIs (i.e. HTML/CSS/JS) You had me until this part. If those 3 were meant to build rich GUIs we wouldn't have new JS frameworks and a load of bundling tools coming out every ye
71.
▲
by
smarkov
4y ago
Yes, badly. Nothing about Google stands out anymore and they've been rotting from multiple ends for a long time. Search rarely returns credible results and I find myself adding 'site:reddit.com' frequently to at least get som
72.
▲
by
smarkov
4y ago
Yes, though it also contributes to that "busy" look if you try to cram as many things as possible on the screen. The content might have a logical separation but spatially multiple types of that content would still be close to your
73.
▲
by
smarkov
4y ago
You must be referring to the constrained width of the page, you can change that in the preferences if you really prefer having the text cover your whole screen. There's a reason we have a character limit per line when writing code - it
74.
▲
by
smarkov
4y ago
Because it emphasizes the distinction between different parts of a website which in turn makes it easier to focus on individual things. Why are so many people against white space when it hasn't been overdone? Obviously "overdone&q
75.
▲
by
smarkov
4y ago
> Can you say more about this? I don't really see how "actual applications" differ from a React app in a meaningful way; React is everything the web (in its initial conception) was never meant to be. HTML was meant to be u
76.
▲
by
smarkov
4y ago
> with no CI/build/deploy issues I miss those days. I think the amount of front end building we do for the web nowadays is absurd. We transpile everything - JS, CSS HTML, and then we bundle them in odd ways to circumvent all ki
77.
▲
by
smarkov
4y ago
> Because there are some extremely different ways of editing text out there. Key word here being _different_. Different should not be the default. That does not mean we should all be forced to edit text the same way, it just means that t
78.
▲
by
smarkov
4y ago
> Ok, so let's say I write a video game. Should my game have reasonable defaults, or should it ask you to go to your system-wide settings and setup all the bindings for my game? Note that I specifically mentioned text. We've al
79.
▲
by
smarkov
4y ago
> the initial learning curve of linux and a modal text editor was far too much > I feel like nano shipping as the default editor is a step-back Not sure why you'd say it's a step back after giving a very valid reason for why
80.
▲
by
smarkov
4y ago
> Preferably your favourites, right? System-wide does not imply unconfigurable, it just means that all programs derive some of their behavior from an external source. If I want Ctrl+P to paste text across every single application that ac
81.
▲
by
smarkov
4y ago
> you can treat them like shit and they won’t mind First thing that came to mind is that when this technology becomes slightly more refined, malleable and commercialized it's very likely that the first people who lose their jobs are
82.
▲
by
smarkov
4y ago
I think a big factor that hasn't been mentioned is how the honey was consumed. Was it on an empty stomach? Before, during, after a meal? What did the meal contain? Does consuming it after waking up or before going to bed have an effect
83.
▲
by
smarkov
4y ago
Suggestion: make it a bookmarklet[0] instead of an extension. [0] https://en.wikipedia.org/wiki/Bookmarklet
84.
▲
by
smarkov
4y ago
For Windows, check out simplewall, it does (almost) exactly that. https://github.com/henrypp/simplewall
85.
▲
by
smarkov
4y ago
I agree that they make you feel full more quickly and for longer but a good amount of obese people don't overeat because they're hungry, they overeat because it's their way of dealing with problems. It's an unhealthy cop
86.
▲
by
smarkov
4y ago
While eating healthier things would probably help to an extent, nothing's stopping people from just eating more of those healthier foods and still becoming obese. Healthy or not, food is calories and a surplus of those calories will le
87.
▲
by
smarkov
4y ago
Honestly, "should" is a bit of a click-baity exaggeration. In this day and age where internet speeds are faster and more stable than ever, these kinds of tips should be at the very bottom of your optimisations checklist. I don
88.
▲
by
smarkov
4y ago
React is vastly overused. You don't need every single element in your page to be a separate component when 95% of your site is pure text and you have an occasional form or a button here and there. If you're making an actual applic
89.
▲
by
smarkov
4y ago
> do everything they can to extract as much value out of you as a non-paying customer as possible And that leads to a worse user experience in many areas. You use it for free but it sucks and you sacrifice your data. I'd honestly ra
90.
▲
by
smarkov
4y ago
All of this cookie nonsense could've been avoided if browsers simply treated cookies the same way they treat your location/microphone/camera. Denied by default, permission required by the user _through_ the browser. Imagine i
More ›