Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mason55
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
mason55
2y ago
No, because there was no year zero. The first century started in the year 1 AD.
32.
▲
by
mason55
2y ago
I don’t think they’re independent events. Bayesian priors would say that if you have five failed businesses then your chances of being successful on number 6 are probably less than 60%
33.
▲
by
mason55
2y ago
Yeah the keys to make it all work are 1. It's easy to create the objects you need 2. Your creation functions are well tested so that the rest of your tests can rely on them. If you have spotty coverage or just poorly defined creation
34.
▲
by
mason55
2y ago
Huh. I’m shocked at the storage temps for apples. I always heard they go mealy in the fridge. Also that you should store things at home like they are in the store, and apples are never refrigerated at the store. Lots of stuff that says 50-
35.
▲
by
mason55
2y ago
Lots of companies still work like you said. With a company like Amazon, though, you have two things at play. The first is that it takes a massive amount of dollars to make an impact on revenue. You're just not going to move the needl
36.
▲
by
mason55
2y ago
> but I need to put it in “gaming mode” manually? No, I don't think so. I'm pretty sure the point is that the phone does it automatically when you're playing a full screen game.
37.
▲
by
mason55
2y ago
In the Getting Started section, why have the user write the code before installing the dependency? Any kind of Python tooling is going to complain that the import doesn't exist when the user goes to write the example. Obviously it do
38.
▲
by
mason55
2y ago
As mentioned elsewhere, what this is actually doing is showing that string and String are not structurally equivalent in TS. If you add another class Email that extends String, you can pass it as a Hash without any problems. And you can ge
39.
▲
by
mason55
2y ago
Or, a version that's more inline with the post you're replying to. Just add an Email class that also extends String and you can see that you can pass an Email to the compareHash function without it complaining. class Hash exte
40.
▲
by
mason55
2y ago
Yes, that is the core PE playbook. 1. Acquire loan to buy company 2. Take money that was being spent on growth and use it to make the payments on the debt 3. Try to decrease operating costs while maintaining revenue or increase revenue whil
41.
▲
by
mason55
2y ago
Eh, they compared the M3 to the M1 when they launched it. People grumbled and then went on with their lives. I don't think they'd use that as a reason for making actual product decisions.
42.
▲
by
mason55
2y ago
I'll echo what the other reply said. I wanted to use it like a digital whiteboard in meetings, but the flow just isn't there. Yes, drawing on it in isolation is great, but it hasn't otherwise worked out like I hoped.
43.
▲
by
mason55
2y ago
I could certainly be abnormal, but I'm much more likely to sign up for something that has a real free tier. There's honestly very little difference to me between 60-day free trial and just having to pay from the start, I know tha
44.
▲
by
mason55
2y ago
Option a, you stay small, don't chase trends, and you bring in decent profits year after year. Eventually maybe you close but not after paying back the investments plus more. Option b, you grow super fast, you have a lot locations, ea
45.
▲
by
mason55
2y ago
It’s not the $9k deposit that’s illegal, it’s structuring your deposits to avoid the $10k limit. The same actions can be legal or illegal depending on your in intent. In your example, the $9k deposits are perfectly fine. Although if you rea
46.
▲
by
mason55
2y ago
The decision between structural and nominal typing has nothing to do with whether you retain type information at runtime. TS could have just as easily chosen nominal typing + a simple way to do typedefs and had everything else work like it
47.
▲
by
mason55
2y ago
Not really, not for TS at least. If you just want to take a string and call it an email address and have your function only accept email addresses (the simplest use case) then you need to use branding. That's not encapsulation.
48.
▲
by
mason55
2y ago
Works very well too for any kind of validation or encoding. Anything that accepts input from the outside world can accept a string. And then everything else in the app can work with a "SafeString" and the only way to create a sa
49.
▲
by
mason55
2y ago
Yeah, or what's more likely is that you originally used an AccountID everywhere, but then you decided that you want to use a UserAccountID. So you update your functions but you miss a spot when you're updating all your call sites
50.
▲
by
mason55
2y ago
Java was in real danger in the seven years that it took to go from 5 to 7. Very little of substance was added and it didn't appear like there was a path forward to get any real new features added to the language. Yes, Java is not the
51.
▲
by
mason55
2y ago
Right. There are lots of things I’ll spend $100 on an entertainment expense for a night out. And plenty of things that people think is worth $100 for entertainment that I don’t find to be worth it. And the house edge at a casino isn’t THAT
52.
▲
by
mason55
2y ago
I'm not sure how updating dependencies a few times a year makes you safer from a well-hidden supply chain attack. Also, not sure what JS has to do with the xz attack. The argument I was responding to is that automating your dependency
53.
▲
by
mason55
2y ago
Sure, why not? Are you suggesting that having a human in the loop, robotically bumping the version numbers of your dependencies would have mitigated it? Lots of humans upgraded lots of dependencies without noticing, I doubt whoever is doing
54.
▲
by
mason55
2y ago
Which is fine, I'm just saying you're not the target market for the big observability vendors. The current generation of observability tools is built for distributed systems that are basically too complex to reason about, and so y
55.
▲
by
mason55
2y ago
Yup and the reason no one markets something like "tail the logs for server X" is because, if you're talking in the context of an individual server, you're too small for anyone to care about.
56.
▲
by
mason55
3y ago
This is one of the best responses about market positioning that I've ever read. Best of luck to you!
57.
▲
by
mason55
3y ago
Does accepting cash really save a business that much money? I've heard arguments in the past that it ends up being a negligible difference once you account for all costs of processing cash (someone has to take it to the bank, it can g
58.
▲
by
mason55
3y ago
It really depends on which parts of AWS you're using. Spinning up a bunch of EC2 instances and treating them like colo'ed servers has pretty much always been boring (other than the excitement of not having drive to the DC when yo
59.
▲
by
mason55
3y ago
> If they believe the things you disparage it's because the governments and systems that the "smart" and wealthy have created have utterly failed at getting those people educated and involved. I think the issue is that t
60.
▲
by
mason55
3y ago
I imagine that both of those were quite a bit more expensive to build. The point isn’t that houses from the 40s are still standing. The US also has tons and tons of those. The point is that the cheap, modular, assembly-line houses are stil
More ›