Which straw broke the camel's back. Was it insulting the prime minister as a governor, threatening to annex the territory, threatening to "redraw borders", or calling Canadians "nasty people"?
HN user
solox3
Actually, it will be great. If I am disabled from the waist up, and I want to continue coding, I would love to be able to ask AI to do a lot of things that I think are too hard.
Core 2 Duo
Is that not one of Intel's trademarks from the past 20 years?
That's because the article was from 2019.
Novel idea: move these mattresses onto the floor?
Modern vehicles are still made with steel, if I am not mistaken (since I own two). I also think the designers did a fine job over at Tesla. It's more baffling that the automaker decided to forego a layer of clear coat---just like with all other cars---because they think they can defy the elements, or up-sell you on that $5000 wrap that they are offering.
I wish OsmAnd all the best, but ever since the app was created, its map rendering performance has been stuck in the 2010s, no matter how much faster our devices have gotten since then.
There is justification for it for sure (see https://github.com/osmandapp/OsmAnd/issues?q=is%3Aissue+slow... for a few), and I love OSM out of principle, but as a product, it will remain my last resort until the user experience is tolerable.
I am fine with abstinence as a general recommendation, but critical thinking pointed out two issues with the WHF Policy Brief, which I suppose I have read in sufficient depth:
1. There is no citation on the sentence, "Recent evidence has found that no level of alcohol consumption is safe for health." This is really the only line we are interested in.
2. There is no comparison on the effects of alcohol on the body by dosage (and frequency), which is, again, what is required from the brief to make that claim.
Again, while I don't necessarily disagree with what's in the report, and that it is already established that drinking too much is not good for the heart, considering many otherwise toxic substances have a hormetic zone, it is critical that a study like this rules out the its existence for ethanol.
I can't use my editor/IDE to "go to definition" of bar/baz
I use "Find Usages" on foo to see where it is used. Once you see where it is used, you know what the types can be. It's not great, but it's also something that can be progressively remedied.
In the event that the function is not as trivial as your example suggests, the author should have written a docstring to help you understand what it is trying to do, in addition to type annotations that will make it more readable.
In this example, bar can either be a function, a class, or any object with __call__(), so the type information is less important in this case, than actual docstrings that express intent.
Notice that, in the original quote,
There should be one-- and preferably only one --obvious way to do it.
the author used two different ways of hyphenating (three, if you count the whole PEP 20). PEP 20 is clearly not meant to be taken as law. Nor PEP 8. Nor PEP 257.People frequently mistake "one obvious way" with "one way". There are lots of ways to iterate through something, for example, but there is really one obvious way. And the philosophy here still applies: when you read anyone else's python code, the obvious way is probably doing the obvious thing. I think that is the more appropriate takeaway from PEP 20.
Absolutely. I was one of the early members of voat.co (a reddit clone in C#), and never really used it due to a lack of content. Fast forward a few years, and that place became a portal to an alternate universe where Hitler won, slavery is taken for granted, and (he who must not be named) is the American emperor.
The stimulating nature of extremism makes it really hard for a new platform to be pro-"sensible free speech".
"No one opts in" aside, any opt-in metrics you do collect tend to be skewed towards how the people who opt in, use the product. Anyone serious about making product decisions using opt-in metrics should be aware of this bias.
One could try reading a book, learning a new skill, or socializing.
Calling it "The first car-free neighborhood built from scratch in the US", and then mentioning "zero private cars means zero hassle" (so there are other private vehicles, like trucks?), "Rideshare" (what are we sharing if not a car?) and "On-site car share" (so there ARE cars?), makes the headline inspirational - and with the best will in the world - a bit misleading.
- Walking helps veins squeeze blood up against gravity.
- Standing applies pressure on the same points on the feet. Walking shifts pressure from place to place.
- "Moving in general is good for health" (with the implication that sitting and standing still are not moving)
Proportionately increasing or decreasing the number of people in a country is not the same as trying to wipe a race off the map.
The script uses the device time.
Google Meet is an interesting example. The mobile apps (Meet, and for some reason, within Gmail) have the End Call button on the left, which is more reasonable I guess, but makes me tap the wrong button on desktop all the time.
It will be interesting if either one of these eventually returns image and video results as well.
Something about select_related? Please do share.
I'm currently on the Havit. Excellent key response with lighter weight and shorter travel. Typing on it takes much less effort than my other blue switch keyboard.
This "low profile blue switch" uses a click bar, so the click you hear does not correspond to the actuation point exactly---which I am a bit bummed about---but I hear the majority of low profile clicky switches currently have the same implementation/issue.
Thanks for replying, and yes that is the page about which I have questions.
* The error code C2006 assumes there is a clear divide between "smaller" and "larger" strings. What is smaller, and what is larger? Is 1000 large? Is 5000 large? Is 1000000 large? If I want my comment to be capped at 5000 characters to encourage healthy discussions but prevent spamming, is it large?
* If a field has no "known format" and that's where it draws the line between CharField and TextField, then why is the error C2006 still raised when TextField(max_length=5000) is used? Why does the validator recommend allowing anyone to insert entries of unlimited size?
"CharField with huge max_length (5000)"
If I'm on postgres and actually want my comments to have a max length of 5000, is it suggesting that using CharField(max_length=5000) is a problem with my design? Using CharField / VARCHAR vs TextFIeld / TEXT should not have a performance difference in postgresql.
Heads up for the creator: putting everything under ugliest.app allows pages to read the same cookies across different "apps". If anyone plans to use the platform for production (which you appear to welcome), nothing substantial can be done.
I forgot what made github.com switch to github.io. Something similar but totally separate.
Says the line with two different hyphenating styles.
It's an Easter egg.
It's exactly what it is. The marketing department does a cost-benefit analysis on whether it gets more attention by buying Facebook ads, versus the (free!) media coverage they get from not buying Facebook ads. This time, the latter seems to be winning.
It involves a "border" style.
Something like Project Linda then? https://www.razer.com/projectlinda
It is still a concept, but Razer's two phones have been the same size, so it remains a possibility.
* "Syncthing" for keeping multiple copies of the current files, across devices in different locations, that will never malfunction at the same time. This is usually enough.
* "Back in Time" for keeping older file versions in external hard drives.
The two were chosen mainly because they have decent GUIs, both support diffs, and the backups can be viewed using nothing but a file explorer.
With this good article I think I have a good question.
The reference to Martin Fowler’s strangler pattern (https://www.martinfowler.com/bliki/StranglerApplication.html) was mentioned in the article to grow the new system in the same codebase until the old system is strangled. In my case (Ionic 1 to 2) however, both the entire framework and the language are different. How should the strangler pattern work in this case?