3,044 karma · joined Jul 2, 2013 (13y ago) · 2,751 submissions
comment 6y ago · link · parent
That's a super huge misread of the text recommendation.
I watched a live presentation directly from Jeffrey Richter at the bay area .net user group, oh god about 15 years ago when he described how he came up with this text. In fact it was a call to use exceptions a lot more than we used to, and to avoid error codes. So no, exceptions are not supposed to be rare like that.
His main point was to throw if the method name was not achievable, except in specific situations where that breaks user expectations too much, like getting null from missing map entries.
comment 6y ago · link · parent
People just don't go to the doctors, especially with the news of how people are being treated on the boats.
comment 6y ago · link · parent
CDC estimates that so far this season there have been at least 32 million flu illnesses, 310,000 hospitalizations and 18,000 deaths from flu.
The math: 0.0005625
From my link:
http://www.cidrap.umn.edu/news-perspective/2020/02/study-720...
They are saying COVID-19 is about 20 times more deadly than the flu, so I don't know why you think the opposite.
comment 6y ago · link · parent
dangerouslySetInnerHTML={{__html: variable}}
Not only can you easily see every place in the code that is using this construct, but, the framework provides a warning.
I definitely don't think it's bad to sanitize HTML content. but in general MOST text in a web app should be just text, and rendered with whatever HTML it contains. In very few places should the web application give user rich-text (aka HTML) access. In any place that the application does that, sanitization should be used.
comment 6y ago · link · parent
My numbers are fake but you get the gist.
comment 6y ago · link · parent
If I get killed by a drunk driver, my wife will at least have someone to rage at.
If I get killed because my car randomly decides to drive itself into a high up truck and I basically died because of stupid technology. I would hope that it doesn't end up killing my wife too out of rage that she's going up against a major corporation now.
That's kind of maddening.
comment 6y ago · link · parent
I mean just look at the suggested box design here: https://www.fda.gov/tobacco-products/labeling-and-warning-st...
I mean really look at that, and fully take in the notion that our government required that. That, that takes balls.
comment 6y ago · link · parent
comment 6y ago · link · parent
I'm not so sure any more. I feel like we've reached a point where a massive, trustable, profile of me is for sale. I don't think I want a bank that is allowed to do it any more.
Does anyone have any recommendations for a bank focused on privacy? (and for that matter credit cards?)
I know I know - probably impossible, but I am pretty sure I just created a market, who's with me?
comment 6y ago · link · parent
Goodbye CoreOS.
comment 6y ago · link · parent
Since Tesla itself sold a car that had autopilot features, it is expected that those features would remain. The dealer bought the car and the fact that it had autopilot features (auto park I suppose?) when the dealer bought it, they were able to test the car and use the feature to assess and market the car's abilities.
Basically it was what it was at the time of the (original) sale. If Tesla wants to be more careful about this in the future that's OK, but they need to remove those features before any party is accepting it in a sale.
I think the owner needs to send a lawsuit to Tesla that offers court, settlement of $8000 or the features to be turned back on - and that's being nice - since at this point the owner has probably gone through the wringer of social media nightmare scenarios at this point.
comment 6y ago · link · parent
https://supremebilliards.com/51-pool-tips-every-player-must-...
The top level players keep all of that in mind automatically. It's practically part of their training data at this point. They barely lose even when a level 2 player needs to just win 2 matches and they need to win like 7 matches.
The "equalizer" system of the APA says that's roughly a fair fight. But it's not. When playing a 7, you know that not only are they going to get pretty much every easy shot, when they don't have a more than 90% chance of making a shot, they leave the 2 a bad bad bad shot, like something the 2 will have a 1% chance of making. They also put the cue ball in a special place - a place where either the 7 will get a ball in hand OR strategically a good shot on their next run.
It's all extremely interesting to watch a true 7 play anyone else. The only fair match-up against a 7 is anyone of rank 4 or above, mostly because they know the tricks. They still make rookie mistakes all the time though, hence the 4.
You're probably in the 95% if you're a 5 or above in APA. People that are six hate being a six. They get kicked off teams because of skill caps in favor of keeping a bunch of 2,3,4 players and their 7.
I was a 4, played in the bay area, south bay APA. Represent. I moved.
http://www.southbayapa.com/bapl_hostlocations.htm
That list used to have like 8 places when I played. Sad. Good to see lucky shots is still around my home team from there.
Anyway, your typical 4 thinks he's a 7 inside - but doesn't say it out loud because of the inevitable laughs. They have honed every pool stance. Bridge is near perfect. A decent 4 can hit the cue ball from one side of the 8-foot table to a ball that needs exactly a 30 degree. These crazy 4s think they have a 80% chance of hitting a ball across that table into a pocket (a long shot, with or without angle). Either the cue is travelling a long way to the ball or the hit ball will. Unless the target is "in the pocket", like giving the player a huge degree of error and still make it in. No I'm talking more of a looks hard, is hard, but the 4 is so HONED on these shots they nearly always forget their defense, so silly. The major difference between a 7 and a 4 here is the 7 will try 30% making the ball in, and 70% leaving the cue in a disastrously bad place for the other player (maybe even 10/90). And the funny shit is, the 4 probably is better at hitting the ball in, even if they both put in 80% effort to do so... but that's not the game for a long shot. The game for a long shot is to leave it bad. There are lots of calculations, but that's the gist. The top players win because they get ball in hand, typically planned of course, but you won't even see the smirk on the face when it worked.
What does this have to do with 95%, I don't know it's somewhere in there.
Ok now you're pumped up, go contact APA and get on a team. Start with 8-ball. Meet your future spouse and have fun.
comment 6y ago · link · parent
http://eliot-jones.com:5690/Home/Trend?id=rkt&allwords=true
http://eliot-jones.com:5690/Home/Trend?id=docker&allwords=tr...
I mean heck, here we are 137 comments into a thread about an alternative to docker and I was the first to mention rkt.
comment 6y ago · link · parent
This is also how permissions and APIs evolve over time. Apple (and hopefully other OSes) is likely working on a global hotkey hook system, that has a less intrusive permission requirement. Unfortunately it will take YEARs before applications in general start using that.
And this is Absolutely the correct thing for the OS to do.
comment 6y ago · link · parent
The video says React would be a problem but the snowpack website references React.
Without the ability to import CSS or other media we would essentially be breaking many packaged libraries, such as material ui for React.
My current webpack time does suck, I think I wait about 1 - 2 seconds for a change to reflect in the browser. But that's still acceptable given I can code in ways that have effectively become standards. I imagine the above could be fixed with some "magic" hacks, etc... but I still worry about some of the deadbolts this product is placing in the sand to differentiate itself. But I'll keep an eye on it.
comment 6y ago · link · parent
To this day you'll find most well off (and extreme) democrats avoiding GMO foods, protesting vaccines as well as avoiding fluoride in water. I don't think that's a republican issue. Especially in portland that consistently votes democratic but also NO to GMO, Flouride and Vaccines.
Reading that middle sentence maybe it's a little unclear if they are tying that to conservatism, but it's definitely surrounded by it.