Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lhorie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
361.
▲
by
lhorie
5y ago
> They are your average Joe I think you're blurring some lines. I don't imagine Ben Levin (a friend of the much more famous Adam Neely) is a millionaire, and I certainly don't imagine either of them are anywhere on the sam
362.
▲
by
lhorie
5y ago
I mean, cable was already in the niche catering business in the 90s. Gordon Ramsay or Jacques Cousteau or Mythbusters are all quite niche IMHO. I'd be willing to acknowledge that the existence of gaming/mukbang/etc content cr
363.
▲
by
lhorie
5y ago
> Imo we should be lauding this brand new sector I disagree. Twitch/YouTube/TikTok didn't create a new kind of millionaire. They're simply celebrities. The only thing that arguably changed is that content production i
364.
▲
by
lhorie
5y ago
I mentioned downthread about a project called Styletron, which has styled-components-like devexp, but compiles to atomic CSS for the bundle size benefits. Another variation I've seen is a combination of atomic CSS and Mithril.js'
365.
▲
by
lhorie
5y ago
Yes, @apply exists, but is generally discouraged (and the rationales are given right on that page) > If you start using @apply for everything, you are basically just writing CSS again and throwing away all of the workflow and maintainabi
366.
▲
by
lhorie
5y ago
> I used the JIT version recently on a new landing page Yeah, that's kinda the poster child use case for Tailwind and similar frameworks. Landing pages are all about being jazzy and unique and eye catching, and not so much about cod
367.
▲
by
lhorie
5y ago
Some technical thoughts as someone who could care less about fanboyism: - One point where atomic CSS frameworks are supposed to shine over conventional CSS is bundle size, since they (at least the good ones) compile to only a single rule fo
368.
▲
by
lhorie
5y ago
> misleading clickbait at worst I mean, considering what the source is (jvns.ca is a blog that is fairly well known around these parts to talk about technical content), and the usage of quotes in the title, one should hopefully infer tha
369.
▲
by
lhorie
5y ago
> The end result? I'm sticking to my current channels Isn't that good for them though? Generally speaking, it's a lot easier for youtube to do a few red carpet partnership shenanigans with the ssniperwolfs and mrbeasts in
370.
▲
by
lhorie
5y ago
Oh sorry, I mixed up my numbers, thanks for the correction.
371.
▲
by
lhorie
5y ago
Lego sets these days seem geared more towards vapid consumerism than to promote free flow creative building. My kids found a way to fill that gap via knex. I don't agree that only adults take enjoyment in the final product. It's j
372.
▲
by
lhorie
5y ago
> Having less-than-optimal eyesight Do you use custom setups to browse the web? I'm curious what your thoughts are on color schemes such as HN's or Google's. Those aren't #000 on #fff but also aren't egregious su
373.
▲
by
lhorie
5y ago
> But they should be #000 or close to it You should use moderation. Guidelines for accessibility suggest a 3:1 contrast ratio as the minimum contrast level, but having too much contrast can also make reading more difficult (e.g. for peop
374.
▲
by
lhorie
5y ago
> Most interview panels are setup badly. Most interviewers are biased. Many technical people doing interviews just want to make themselves look smart. I'm surprised you're saying this in such a one-sided way, since you claim to
375.
▲
by
lhorie
5y ago
I'll add my two cents as someone who works at Uber (another company that people here like to take potshots at). For the vast majority of employees, it's just tiresome to keep hearing negative hot takes being parroted over and over
376.
▲
by
lhorie
5y ago
It goes even further than the "difficult to work with" vibes. If someone has 20+ years of experience and hundreds of interviews under their belts, they ought to know about candidate caliber variability and the meaning of standar
377.
▲
by
lhorie
5y ago
One bit of dirty laundry to keep in mind with FAANG and friends is that the interview process is somewhat self-selecting. Often times, the very people that crammed leetcode in the hopes of landing FAANG roles are the ones interviewing candi
378.
▲
by
lhorie
5y ago
The way I structure my coding interviews is to have a simple first question that anyone should be able to solve, and then a follow-up "ok, let's now add this feature" question. I tell them upfront that googling is ok and give
379.
▲
by
lhorie
5y ago
Yep. I think it goes further than whether there's a published paper about. It boils down to "does the question have exactly one correct answer?" One important thing you learn in interviewer workshops is to avoid asking questi
380.
▲
by
lhorie
5y ago
To be fair, FAT32 is a production filesystem...
381.
▲
by
lhorie
5y ago
I suggested one such idea (a diffing version of innerHTML) years ago to Mozilla. Ironically, the React team was against it and it fizzled out. In more ironic twists of events, someone eventually wrote a JS implementation of it: https:/
382.
▲
by
lhorie
5y ago
[Mithril.js author here] FYI, the krausest benchmark is known among framework authors to be not very good (it weighs some aspects much more heavily than others and has been gamed by various toy-ish "frameworks" that aren't al
383.
▲
by
lhorie
5y ago
That sounds like a pit of success, though. The gain just isn't that significant. IMHO, misleading would be if querySelector was faster under normal circumstances but shown to be slower through bad benchmarking
384.
▲
by
lhorie
5y ago
That does exist, albeit probably not where you live (yet): https://www.geekwire.com/2019/uber-sees-rapid-adoption-new-b...
385.
▲
by
lhorie
5y ago
> code golfing tricks > window[`test${i}`] surely you must mean `eval('test'+i)` :)
386.
▲
by
lhorie
5y ago
OP is explaining their methodology poorly. The 62ms number is the time it takes to run the call 100,000 times, in a loop, with a string interpolation. And measurement is done by taking the delta of two performance.now() calls, which are kno
387.
▲
by
lhorie
5y ago
There's definitely an anchoring effect going on. I remember when dart came out and people were like "lol 100kb hello world, wtf" and now people say "4mb app is reasonable" and nobody bats an eyelid.
388.
▲
by
lhorie
5y ago
I'm curious about your thoughts on that locality of behavior idea vs aspects of precision and composability. For example, the argument goes that the behavior of `hx-get` is obvious upon inspection, but the terseness is achieved by omit
389.
▲
by
lhorie
5y ago
Worth pointing out that HTML is more ubiquitous than you're making it out to be: just plop a WebView in your native app, and you're done. I know, for example, that the Uber app does webviews in some places; you probably wouldn
390.
▲
by
lhorie
5y ago
Suspiciously absent is info on the battery life of these collars. How does one go about changing them? Do you line up 100+ cows every few days and just sit there for a couple of hours changing batteries every time?
More ›