Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brlewis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
58 ms
·
601.
▲
by
brlewis
7y ago
Forums are for chronological discussion. New comments bury old comments. People talk past each other or in circles. A platform designed for rational debate puts a statement at the top and collects pro/con arguments under it. You win su
602.
▲
by
brlewis
7y ago
The math behind "sensible bet" relies on the period of time between winnings being shorter than your lifetime. Unless you're buying a huge number of tickets, even the big jackpots aren't worth playing, except just for fu
603.
▲
by
brlewis
7y ago
For a lot of the people who play there's little practical difference between fraud and fine print. There's also a conflict of interest. The state is responsible for math education while having an interest in people not doing the m
604.
▲
by
brlewis
7y ago
People could do fact checking on https://www.kialo.com/ which is set up in a way that reduces the effect of bias.
605.
▲
by
brlewis
7y ago
Many people call the lottery a "Stupidity Tax". My dad calls it a "Desperation Tax", which I tend to agree with. I don't think states should have them.
606.
▲
by
brlewis
7y ago
> It's not for deleting all your friends when your account is deleted. Very nice summary up until that point. But in a well normalized db the friends relationship (many-to-many) would be its own table. Friend relationships with the
607.
▲
by
brlewis
7y ago
If the author is thinking of that kind of situation, he's right that ON DELETE CASCADE would be inappropriate, but he's also incredibly wrong to not want a foreign key enforcing that relationship. Deleting a user associated with i
608.
▲
by
brlewis
7y ago
>being able to use FKs is probably not high on the list. No, that's not at all probable. For many, "database" is synonymous with "ACID database", for which foreign keys are important. https://en.wikipe
609.
▲
by
brlewis
7y ago
> It may even rely on FK to cascade deletes (shudder) Is this just the author's personal taste, or is there something about mysql that makes ON DELETE CASCADE a bad idea? In postgresql it's a useful tool for maintaining databas
610.
▲
by
brlewis
7y ago
MySQL 8 was extremely new at the time this comment was posted. It's likely that mysql limitations were a big part of the thinking. The mention of pt-online-schema-change at the bottom makes me think so.
611.
▲
by
brlewis
7y ago
Open source never includes the guarantee that there will be future open source releases. If their new license won't work for you, it's as if it just stopped being maintained. Use and/or fork the most recent open source versio
612.
▲
by
brlewis
7y ago
Reading any software and taking inspiration from it is risky, because software patents inhibit the Progress of Science and useful Arts. Here's cockroachdb's version of the BSL: https://github.com/cockroachdb/c
613.
▲
by
brlewis
7y ago
No, but I'm sure they won't have to look at git logs to date the software.
614.
▲
by
brlewis
7y ago
> Showing legal how to use Github so they can confirm the age of the software you're using, then convincing them Github is a reputable party will likely result in an unpleasant conversation at best. You only have to do that if you&#
615.
▲
by
brlewis
7y ago
> I can understand it with JavaScript: browser environment was crippled and node copied that instead of making proper threading available. This is false. Single-threaded async for the server side was popularized by nginx, which started i
616.
▲
by
brlewis
7y ago
This is mentioned in the last half of the last paragraph in the article.
617.
▲
by
brlewis
7y ago
The article isn't speaking against censorship in general. It's specifically about companies that are de facto monopolies. And at the very end it mentions big money distorting the marketplace of ideas. I didn't read anything
618.
▲
by
brlewis
7y ago
Right, which goes back to the question shtylman asked about why doSomething couldn't be part of the try block. I'm tossing this form out there in case it helps. People sometimes forget that await can go wherever an expression goes
619.
▲
by
brlewis
7y ago
Another commenter pointed out that .catch is perfectly fine in the async/await world, even though you pretty much never use .then anymore. Here's another way of doing it: try { doSomething(await funcThatReturnSomeType());
620.
▲
by
brlewis
7y ago
No, I just get the sense people could use a reminder.
621.
▲
Hacker News Guidelines
(news.ycombinator.com)
15 points
by
brlewis
7y ago
|
3 comments
622.
▲
by
brlewis
7y ago
> Are there other reasons this hasn't seen more widespread adoption? Is there some inherent architectural flaw or just not enough incremental benefit? I'm a fan of the concept and would love to have a middle layer as thin as po
623.
▲
by
brlewis
7y ago
I bet if you stress test a server via http and via https, the CPU time won't be as different as you might think. The main efficiency lost is that you can no longer have big shared cache networks for everybody, but those were a security
624.
▲
Fitbit to Be Aquired by Google
(investor.fitbit.com)
73 points
by
brlewis
7y ago
|
2 comments
625.
▲
by
brlewis
7y ago
I work for Fitbit. I don't speak for Fitbit; this is my personal experience. If you get a Fitbit with heart rate tracking, which nearly all have now, it won't rely just on motion. For me it's worked great, showing an awake pe
626.
▲
by
brlewis
7y ago
> Any kind of injection of dependencies should be done via an explicit method/constructor parameter. In this article, that's the only kind of injection mentioned. I realize a lot of the times people talk about DI they're r
627.
▲
by
brlewis
7y ago
Are the base ticket prices based on cost, or on supply and demand?
628.
▲
by
brlewis
7y ago
I don't understand why you think people value safety less than convenience. I think infrastructure that increases safety will encourage cycling.
629.
▲
by
brlewis
7y ago
Ha! The HN feature of emphasizing comments and de-emphasizing their authors worked too well. I did not notice I was replying to the original author of Mithril. Hi Leo. If "long copy sells" is the reason why feature creep leads to
630.
▲
by
brlewis
7y ago
More on the relationship between hooks and the proposed Composition API: https://vue-composition-api-rfc.netlify.com/#comparison-with...
More ›