Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lhorie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
97 ms
·
901.
▲
by
lhorie
6y ago
There are two major flavors of syntax when it comes to minimalist/no-build JS templating: 1) tree of function calls like this or hyperscript - this is popular because the language syntax enforces markup well-formedness (e.g. you can&#x
902.
▲
by
lhorie
6y ago
Yes, you can do some optimizations. Keyed list diffing is obviously doable (any respectable vdom does it). Marko-style optimizations (i.e. compiling to no JS hydration logic whatsoever) is far more difficult. IIRC Dominic from the React t
903.
▲
by
lhorie
6y ago
Of immediate importance given the current state of the world: make sure you get your covid test within 3 days before boarding your flight (this is a CDC requirement for every inbound flight to the US and it may or may not have been brought
904.
▲
by
lhorie
6y ago
I believe jorgebucaran (hyperapp author) was aware of mithril.js' existence and may possibly have been inspired by it, but I don't take credit for hyperscript itself (it was already a concept used by various other systems - the wo
905.
▲
by
lhorie
6y ago
There are - as with most things in life - pros and cons to each approach. With plain JS, it's absolutely true that you can let the language do its things when it comes to things like scope, control flow, etc as opposed to reinventing t
906.
▲
by
lhorie
6y ago
(Disclaimer: I'm author of mithril.js, another minimalist JS framework) I'm curious why you decided to export multiple tag names as opposed to using hyperscript. Something that helped mithril.js gain more traction was that while i
907.
▲
by
lhorie
6y ago
> I'm basically in a job that is quite important for my org, I get compliments for good job, but I hate most aspects of my daily work since the tech stack is complex and fugly I think a lot of people can actually relate to this. IMH
908.
▲
by
lhorie
6y ago
Surprisingly, the type of job you're looking for does exist - I know someone in a role where they spend very little time actually working - BUT you may not like to hear what I'm about to describe. The role is at a unionized utilit
909.
▲
by
lhorie
6y ago
FWIW, the screenshot of the page doesn't actually look like how the page looks like currently. One could handwave and say that's intentional, but IMHO it looks as though the styles are broken (in particular the text in really smal
910.
▲
by
lhorie
6y ago
I used to lead a small team in a previous life. I went back to development roles, but my career shifted away from product roles towards more infrastructural roles. This currently gives me what I consider to be a good balance of "leader
911.
▲
by
lhorie
6y ago
Personally I try to avoid low quality contributions (hot takes, unsubstantiated opinions, reddit-style clever quips, karma whoring, etc) Contribute if you believe you have an out-of-the-box perspective that adds to the discussion. Avoid &qu
912.
▲
by
lhorie
6y ago
I mean, it's certainly possible that he is one of a select handful of people that has mastered a skill that almost no one else in history has been able to. But given how many musicians and producers exist and how utterly small is the p
913.
▲
by
lhorie
6y ago
> But it is extraordinarily difficult to have such a mastery of composition and understanding of what music is already familiar to people The problem with this argument IMHO is that if it were true, one would in fact be able to just ba
914.
▲
by
lhorie
6y ago
I think the comparison is quite apt, given that the most popular artists are usually not the ones that have "mastered their craft" the most. One can argue that White Stripes' 7 Nation Army or Andy Warhol's Campbell'
915.
▲
by
lhorie
6y ago
I was under the impression that there are far less psychotic arsonists than people entering the prison system for petty crime. I read that some nordic countries have programs that are more focused on rehabilitation that seem to work relativ
916.
▲
by
lhorie
6y ago
A driver-for-hire has always been able to decide not to take a job, or to lie about the cost. That's literally the two biggest complaints against taxis: "I called and they never showed up" and "my meter is broken".
917.
▲
by
lhorie
6y ago
> Why would a plumber need magic to be able to estimate a job? I had one come by my apartment and all he needed was a flashlight. Exactly, he needed to come to your place. That's how Uber used to operate (the destination was not kno
918.
▲
by
lhorie
6y ago
> if their behavior is regulated That's twisting the facts a bit though, no? They can always turn off the app if they don't want to take jobs, or work for Lyft or Doordash or whatever; that's always been the case. The prob
919.
▲
by
lhorie
6y ago
Of note, this is specifically about California (in light of Prop 22 having passed in november) This one is a tough one. On the one hand, one is inclined to sympathize with drivers wanting more money since they already have to put up with so
920.
▲
by
lhorie
6y ago
FWIW, Uber does offer an option called UberAssist[0], which is available in San Francisco (where this woman is from). And as someone else pointed out, Uber sends emails to drivers periodically. What more can it do? Boot drivers after a di
921.
▲
by
lhorie
6y ago
Being in a well funded area helps. Here, the public schools provided chromebooks and meals for pickup to every student. Unfortunately I hear you that not everyone gets so lucky :(
922.
▲
by
lhorie
6y ago
There are several that are provided by school like mathletics, but the one my kids really got into is called Prodigy[0] [0] https://www.prodigygame.com/main-en/
923.
▲
by
lhorie
6y ago
Perhaps you should speak with your wife and her coworkers more. They do in fact teach factual things in kinder. Last month, my kid was learning about black history and discrimination, for example. They also spend a great deal of time active
924.
▲
by
lhorie
6y ago
I have a daughter in kindergarten this year (and a son in 3rd grade), so I think I have a pretty decent experience with remote vs in-person kindergarten. Zoom bores my daughter. She doodles through class. The classes are deliberately short
925.
▲
by
lhorie
6y ago
I mean, I'm always all for better worker rights, but are you saying they had better sick leave policies mid last year? Because my understanding is that that's roughly when social gatherings restarted and coincidentally when infect
926.
▲
by
lhorie
6y ago
FTA: In hotspot regions like Toronto, the new measures are very similar to restrictions that are already in place. At a news conference Thursday afternoon, Health Minister Christine Elliott said that the province did not issue a stay-
927.
▲
by
lhorie
6y ago
IIRC there's a std.os.args or some such that is just a slice of byte arrays in unix platforms. The iterator API builds cross-platform support on top of it, as I understand. In my books, that's acceptable for an actually-low-level
928.
▲
by
lhorie
6y ago
Zig does have utf8 APIs, though to be fair, the docs are quite sparse
929.
▲
by
lhorie
6y ago
I'm not the OP, but could try to venture an answer as someone who's used some of those languages. D is nice. I could see myself picking it instead of go. It's much more expressive than go and it's mature enough. Cross co
930.
▲
by
lhorie
6y ago
> The lack of string handling routines in the stdlib was unexpected, to concatenate strings one has to do everything manually - allocate the buffer, put strings there Not sure how long the author spent looking at zig stdlib, but there is
More ›