Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
virgilp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
451.
▲
by
virgilp
6y ago
It was not a "free beer for life", but "free beer in exchange for personal data". They stop providing the beer, you stop providing the data (new photos). Seems fairly reasonable. Turn it the other way around... would you
452.
▲
by
virgilp
6y ago
I'd agree if you talk about "most projects". But here we're talking about a platform - you can't fault Microsoft for caring about performance! .NET is absolutely not meant only for small sites, my current employer i
453.
▲
by
virgilp
6y ago
Yeah but is this a pro machine? I'd have no problem with 8Gb on an "Air", but for a pro machine to be 16Gb max, it does seem inadequate
454.
▲
by
virgilp
6y ago
.NET is meant for stuff like microservices; you don't see lots of those written in php, right? Also, for high-traffic websites, that's really not a great idea. You might say "but Facebook, PHP" - I'm really certain
455.
▲
by
virgilp
6y ago
It's different now - because of the strict quarantine requests, coupled with the knowledge that there's no known treatment/vaccine, coupled with the fact that you have literally tens of thousands of cases per day - means that
456.
▲
by
virgilp
6y ago
> it's difficult to understand other people's code compared to other languages I think it depends a lot on the code. Scala 2 gives you a lot of guns to shoot yourself in the foot (see: implicit, as discussed here) - but you can
457.
▲
by
virgilp
6y ago
What is a "FAST" programming language? It can't be "it's theoretically possible to write the absolute fastest code using this" because then the answer to everything must be assembly. Look e.g. at Rich Hickey&#x
458.
▲
by
virgilp
6y ago
> it's a bit like arguing that "the range of text editor customization is simply too wide for there to be fully-canned solutions for everything." But the the range of editor customization really isn't that wide. That&
459.
▲
by
virgilp
6y ago
the range of problems you can solve with ML/AI is simply too wide for there to be fully-canned solutions for everything. Sure, there will be canned solutions for _some_ things - maybe even for cat detection, because it's fun so wh
460.
▲
by
virgilp
6y ago
There's never going to be a `ML.isCat(image)`, just like there isn't a `Math.solveProblem(hypothesis)`. Yes you do have `Math.abs` and you're going to have stuff `model.fit()` and `layers.dense()` - but something like `ML.isC
461.
▲
by
virgilp
6y ago
Yeah, I caught that too; it's more than a bit condescending and is also completely false. Complexity makes all people trip up, not just "juniors".
462.
▲
by
virgilp
6y ago
> Thus, in this single case when a Rust implementation is more or less faster than C, the performance difference is not about better compiler, but about more efficient structure of the program, which allows a compiler to optimize code be
463.
▲
by
virgilp
6y ago
> and can barely be bothered to enter the electric car market. WHAT? Volvo is I think the only traditional car producer that sells absolutely no ICE-only vehicles (all of them are at the very least "mild hybrid"). Its declared
464.
▲
by
virgilp
6y ago
> if I write it the way that I understand you're suggesting, I would have to consider the behavior of all of the ICartDiscountStrategy implementations. No, you would need to consider only the business requirements. > Some time la
465.
▲
by
virgilp
6y ago
If what you "spin up" is internal classes/functionality, not external system, I don't understand the problem? The article doesn't argue "this is how you do unit testing", it argues "this is how you do
466.
▲
by
virgilp
6y ago
Um, no. The test needs to know the expected system behaviour, given that dependencies are properly wired & behave as expected. You can argue that "it no longer tests just the ShoppingCart in isolation" and that would be true;
467.
▲
by
virgilp
6y ago
Yeah... no. You can't learn by just "building" (or you can but it's simply too slow); you need to do a lot of "reading" too. At some point you need to "write"/"do" stuff, that is true (
468.
▲
by
virgilp
6y ago
There are other reasons to own a car - one of them is "comfort". Yes maybe I have to maintain it and it's definitely more expensive then renting in the long run, but man, I have a comfortable, safe car that I can use with no
469.
▲
by
virgilp
6y ago
It was same when I worked at Adobe, really. And Adobe doesn't have servers sitting idly all the time. In the old days, getting approvals for a cluster, while feasible, would be a big overhead, take time, and then in 1 year it'd be
470.
▲
by
virgilp
6y ago
> “Good code is simple” doesn’t actually say anything. This is why I love Rich Hickey's "simple made easy" talk, because with it you an make the distinction between "simple" and "easy". "Good code
471.
▲
by
virgilp
6y ago
Do you know when are those reductions to 75/50g set to go into effect? I've been hoping to move to electric vehicles for a while now but unfortunately the infrastructure is lacking, it's simply not practical to do so. I'
472.
▲
by
virgilp
6y ago
I doubt Norway is "sorry". Also, they're barely on the 13h place... what does US do, at the policy level? https://www.worldometers.info/oil/oil-production-by-country/ [edit] For all those who scale
473.
▲
by
virgilp
6y ago
You also need a comparable() key presumably - which you often have, but not always (a comparable() key is not strictly required by a hashtable).
474.
▲
by
virgilp
6y ago
Depends. Are we talking about people who know what O(n) means? Parent comment explained it very well - "n" is typically your input size (or if it's not, you need to clearly define what it is). "n" is unlikely to eve
475.
▲
by
virgilp
6y ago
Whereas if they're convicted for hacking, they'll only go after your digital assets/devices, so... no worries? After all, hacking convictions are a plus.
476.
▲
by
virgilp
6y ago
No, you underestimate that. Being prepared is increasing your chances. There's one thing to be lucky as "1 in a billion" chance, and there's another to be lucky as "1 in 100"; the odds are always stacked agains
477.
▲
by
virgilp
6y ago
Your URL for "become a backer" doesn't work - maybe you want to fix that :)
478.
▲
by
virgilp
6y ago
I agree that the system is very important - perhaps even more than the goal; but your example is less then ideal. The system is the journey - something that can be done for eternity and doesn't necessarily "finish". "Bui
479.
▲
by
virgilp
6y ago
Here's the thing: with this model, it's (somewhat) easy to keep loyal readers, but it's maybe hard to get new ones. I think this is the part that you're not disclosing here - how do you get new readers? A lot of times, a
480.
▲
by
virgilp
6y ago
I don't know anything about vrbo and homeaway, but booking and expedia do not eskew local tourism regulations, AFAIK. That's one of the problems with AirBnB.
More ›