Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kilburn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
211.
▲
by
kilburn
6y ago
> The page that he browser is hit with has ALL the content pre-rendered (sans CSS) in that first HTTP HTML response, and it behaves like a classical webpage henceforth until the moment that the interactivity bits are being hydrated which
212.
▲
by
kilburn
6y ago
> Are you saying the issue is that flexbox will force everything to have the same height? No, I'm saying that you will not get columns unless you specify a fixed height for the container. Since you don't know the total height y
213.
▲
by
kilburn
6y ago
There are still some things that are impossible to achieve with CSS alone, even if you have the luxury of only needing to work with evergreen browsers (remember we are speaking of content-heavy sites here, which are the most prone to still
214.
▲
by
kilburn
6y ago
hydrate [1] is the API call by which you tell React to initialize itself against a pre-rerendered DOM. In contrast, render [2] is the call by which you tell react to generate the DOM nodes itself. The idea is not that complicated: 1. You se
215.
▲
by
kilburn
6y ago
Most people here are criticizing the author for doing some dumb things. I concur, but still think they have a good point. First, keep in mind that the author's use case is a content-heavy app with sprinkles of interactivity. This is v
216.
▲
by
kilburn
6y ago
Pledged
217.
▲
by
kilburn
6y ago
> Is this listicle spam or helpful for people who get started with testing in React? :) It is useful, but only because react-testing-library's documentation is horrendous in this front (its documentation is fine as a reference, but
218.
▲
by
kilburn
6y ago
> I'm going to be a grumpy old man ... Ironically, the site is made using tables for layout! Like, the really old technique where the left and right margins of the content are actually td's with a bunch of  's insi
219.
▲
by
kilburn
6y ago
Most (non-strongly-typed?) languages have weird edge cases of this sort. There's a very funny presentation by Gary Bernhard highlighting some of these for Ruby/Javascript: https://www.destroyallsoftware.com/talks&#
220.
▲
by
kilburn
6y ago
Yes. NixOs uses the NiX package manager (that you can install in any other distro too). The NiX package manager installs each version of a package to a directory, the trick being that each version of each package goes to a folder whose name
221.
▲
by
kilburn
6y ago
By fighting the issue instead of the man, just like with any other issue. Vetoing people at work for their political views is much worse in my opinion. Context: I am a pro-gay marriage person in a country where it was legalized in 2004.
222.
▲
Huawei's 24-core Kunpeng desktop CPU allegedly faster than Intel's Core i9-9900K
(techspot.com)
2 points
by
kilburn
6y ago
|
0 comments
223.
▲
by
kilburn
6y ago
True, but this also misses part of the point: - Once you are in the "margin-top: xxx" part, nothing prevents you from saying "just this time" and writing some px (or whatever) value, either because you don't remembe
224.
▲
by
kilburn
6y ago
I'm not sold on the idea, but there is one major difference: you constraint yourself to a set of values. This attains two goals: (1) You have to think less. Try "margin-top medium", look at the result, "oh it's too
225.
▲
by
kilburn
6y ago
It gets even funnier for non-english speakers. ReCaptcha gets translated to your language, and sometimes it doesn't make sense. For instance, let's say that the thing makes you mark images of "toes". If you get the captc
226.
▲
by
kilburn
6y ago
They are a "contact us" kind of organization, but if you look hard enough you'll find prices from a while back [1]. TLDR: Minimum tier was $400 signup + $1,375/year for up to 100,000 mails/year. [1] https:/&#x
227.
▲
by
kilburn
6y ago
It is, at least if you ask me. People here are speaking about how gmail will "effectively spambox your mails by default". That's not been my experience (from setting up multiple small customers). Anyway, at least I've ne
228.
▲
by
kilburn
6y ago
The thinkpads (t14 & t14s) are already out on most countries ;)
229.
▲
by
kilburn
6y ago
I play this role in my team, and as a team lead I take it as one of my responsibilities. What works for us is that when I don't approve something I explain why and work out an alternative implementation plan with them. If we cannot com
230.
▲
by
kilburn
6y ago
> in any case, I think that free software movements are a sociological anomaly, I wonder if there is any academic research into this from an antropological or an historical economics viewpoint. I don't have the proper background to
231.
▲
by
kilburn
6y ago
I do think they are on any company that is not majority-owned by someone that cares. Morality and integrity are acceptable in large companies so long as they can bring some benefit. Otherwise they somehow always seem to find a way to justif
232.
▲
by
kilburn
6y ago
Following your analogy, we should erradicate candy from this world and never allow anyone to produce more. This way surely kids won't get candy-induced diabetes. There are perfectly valid reasons to want usb/bluetooth support fo
233.
▲
by
kilburn
6y ago
My experience is that Chrome's JS dev tools are generally better (and faster) but CSS and the network inspector are better in FF. The other day a junior teammate requested my help with something he couldn't understand: a file uplo
234.
▲
by
kilburn
6y ago
You are playing a dangerous game here. The above poster said: > from their point of view the police are the people most likely to assault or kill them or their children on the street, more so than random criminals Leaving the "more
235.
▲
by
kilburn
6y ago
My desktop is connected through DLink AV1200 PLCs. Every once in a while they lose connection (maybe once a month). The speed is not great (~300Mbps) but I don't care because my inet connection is only 100Mbps. The latency is better th
236.
▲
by
kilburn
6y ago
"Ok" is worse than great (which is what you get with wired setups, all the time every time). I understand your rationale, and I also like the convenience of wifi when it works. That being said, if you can wire "that thing&q
237.
▲
by
kilburn
6y ago
Just in case you (or someone else) don't know why you are being downvoted, I'll give you a few reasons: - Banks have to put these double-checking and reporting systems in place because the law mandates them to. No amount of ACID c
238.
▲
by
kilburn
6y ago
I found this Minute Physics video about "sea level" very enlightening [1], and I think it can help here (just replace mountains by "huge masses of ice"). [1] https://www.youtube.com/watch?v=q65O3qA0-n4
239.
▲
by
kilburn
6y ago
I like the "your code calls libraries, frameworks call your code" description. React is a library because you can have websites with as many render roots as you want. You can use it only for small parts of the site/app, contr
240.
▲
by
kilburn
6y ago
Innovative ideas are indistinguishable from crazy ideas until they are sufficiently developed. "Supressing" them in the early stages does serve to cut down the amount of "science spam", which is at record levels already.
More ›