Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lhorie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
137 ms
·
931.
▲
by
lhorie
6y ago
> we adapted Yes, by hogging toilet paper. I hate to be a pessimist, but just look at the track record: when covid started, there were shortages of many things (e.g. for a few weeks in march, canned food and chicken ran out of stock at p
932.
▲
by
lhorie
6y ago
Generally it means being aware of your physicality in a larger context. For example, maybe you're getting outraged by something you just read online, and it can help put things into perspective when you realize that you're a perso
933.
▲
by
lhorie
6y ago
But do they actually routinely haul shipping containers packed to the brim? And continuously for days on end? There are various people in this thread saying that they can't, either because the specs are not up to par or because the str
934.
▲
by
lhorie
6y ago
I mean, physical existence of a chopper vs its viability for this specific operation are very different things. Think of it this way: you may have a car, and you may even be familiar with installing and maneuvering a standard size tow. But
935.
▲
by
lhorie
6y ago
But the final goal is to put the containers back on the ship after it gets unstuck, no? I imagine the point of the containers being on the ship in the first place is that there are not enough trucks on land to get the containers off the des
936.
▲
by
lhorie
6y ago
I'm definitely curious to see what they end up using. If the solution ends up involving choppers, there's obviously the question of tensile load specs for all the involved parts (the chopper itself, the cables, the containers, win
937.
▲
by
lhorie
6y ago
That's going to either snap the cable or damage the propeller. Probably both.
938.
▲
by
lhorie
6y ago
This is a really good example of how terrible people are at judging scale. Some numbers getting thrown around downthread say there's something to the tune of 10,000 40ft containers. To give a bit of a sense of perspective, that's
939.
▲
by
lhorie
6y ago
Personally, I took to heart at an early age the idea of not looking for something you love, but instead finding something you can tolerate. Work - almost by definition - "sucks" in some very subjective way, otherwise it wouldn
940.
▲
by
lhorie
6y ago
> Personally I find it much more likely that I'll have to bend over backwards when I'm dealing with a DSL rather than just plain code I think this is cherrypicking at generalities. It's just as easy to run into a wall with
941.
▲
by
lhorie
6y ago
FWIW, I see a lot of codebases at work (I maintain a large org-wide monorepo), and you'd be surprised at how daunting real world codebases can get. I agree that it's relatively easier to keep a codebase clean when the number of
942.
▲
by
lhorie
6y ago
> It's very thin syntactic sugar over a function call Actually, it's not. It's a set of AST nodes. What they compile to is entirely implementation-specific. Look at Inferno.js or Solid.js compiled code for example; it look
943.
▲
by
lhorie
6y ago
Yes, parsing is trivial, but compiling (in the traditional sense, not the transpilation sense) is a different story. The other sibling comment nails it. Grammar enforces where a grammar construct is allowed to exist. A custom grammar can be
944.
▲
by
lhorie
6y ago
FWIW, I did a mini-study a while back about the different possible syntaxes. It turns out there's more than meets the eye wrt what control flow structures need to do, and there are also DX reasons why the dedicated syntax might be more
945.
▲
by
lhorie
6y ago
I agree that gratuitous syntax differences are tiring, but in this case, there's actually a very good reason why it's not just using JS. When it comes to reactive systems, you need to be able to statically analyze control flow str
946.
▲
by
lhorie
6y ago
> it's kind of odd that someone'd put mutating states in their tutorial proudly as a "feature" Mutating state is actually the de-facto standard across most of the industry. Look at Vue or iOS or Android or Unity or Ra
947.
▲
by
lhorie
6y ago
Not necessarily. Discoverability is a function of colocation, not of immutability. One can write convoluted Redux monstrosities spanning a multitude of files where it's difficult to mentally follow how a dispatched action translates in
948.
▲
by
lhorie
6y ago
The crank.js intro blog post is a good place to start[0] [0] https://crank.js.org/blog/introducing-crank
949.
▲
by
lhorie
6y ago
You can't get away from mutable state. Redux, for example, just hides the big `state = newState` mutation but it's still very much there. When a library/framework uses mutable state, it's not that they're saying imm
950.
▲
by
lhorie
6y ago
I feel like this "just javascript" trope really needs to die. JSX is not "Just Javascript", and magically reactive `foo = bar` assigments are not "Just Javascript". But frankly, that doesn't really matter
951.
▲
by
lhorie
6y ago
I don't think I'm being particularly uncharitable. Look at the Opportunity Mars rover. It died after a record breaking... 15 years. And that is arguably one of the most sophisticated robotics projects humanity has ever deployed. T
952.
▲
by
lhorie
6y ago
I mean, I could totally see some sort of unrelated class action suit against Tesla on the grounds of false advertising, but I'm skeptical Tesla is going to end up as a co-defendant if the charge is one random dude driving recklessly.
953.
▲
by
lhorie
6y ago
> lie about the Tesla crashing itself Isn't one still fully responsible even when the car is in autopilot mode? I feel like blaming a Tesla for "crashing itself in autopilot" is a bit like saying a Mercedes "crashed i
954.
▲
by
lhorie
6y ago
Robotics last far less than humans do though. Last year there were literal forest fires in CA because we can't figure out how to hang power cables without succumbing to corrosion from a measly 100 years span. If we want to make argumen
955.
▲
by
lhorie
6y ago
But both of those models start from the assumption that it is possible for an alien civilization to expand beyond its home star in the first place. But if you try to draw parallels to known knowns, one could convincingly argue that such an
956.
▲
by
lhorie
6y ago
> Maybe with a drawn-out WFH trend this could change What's interesting is that the two companies I mentioned are both very large (offices in multiple cities) and don't have butts-in-seat cultures (people already worked from ho
957.
▲
by
lhorie
6y ago
That's actually a really good point to ponder about. I've seen a number of news articles about predatory practices among real estate agents (I believe many hog anywhere from 3 properties or more to ride the bubble, there's un
958.
▲
by
lhorie
6y ago
I don't think that's the reason. Barrie has a ton of farmland and it's just a hop away from Toronto. It's just that there's nobody incentivizing companies to put down headquarters in these smaller municipalities. Se
959.
▲
by
lhorie
6y ago
My understanding is that there's a lot of foreign capital getting parked in real estate in Toronto. I believe they were going to implement a vacancy tax similar to Vancouver next year to try to curb that
960.
▲
by
lhorie
6y ago
I didn't mean it was a trudeauism, I literally meant he's entitled to subscribe to whatever idea he wants, just like anyone else. I was mostly speaking to the distinction (or lack thereof) between "melting pot" and "
More ›