HNHacker News
TopNewBestAskShowJobs

solox3

725 karma · joined January 12, 2012

submissionscomments
solox3··on Canada welcomes EU proposal to become 'associate member'
Canada and the US were not in an exclusive relationship.
solox3··on Canada welcomes EU proposal to become 'associate member'
> US President Donald Trump earlier called the idea "laughable" and threatened "very serious tariffs" on Europe if he considered it a "hostile act".

So if Canada tries to make friends with anyone other than the US, it's a hostile act?

Makes it all the more obvious that USA is Canada's abusive partner, that they should have broken up with a long time ago.

solox3··on Migrating to HTTPX2
Did this move improve the ratio of gender representation in the software development community?
solox3··on Wiped out: US faces surging toilet paper prices amid trade war with Canada
I am addressing directly why the Republicans want this, not why the current president wants this. Even if the current president changes, the Republicans will still pursue the annexation of Canada with financial interest.
solox3··on Wiped out: US faces surging toilet paper prices amid trade war with Canada
My guess: to weaken Canada's economy, limit Canada's international standing, bankrupt the sovereign state, cause rise of populism and voters thereof, have its people overthrow the government, then absorb the former country as a state to extract its natural resources, to fulfill manifest destiny.

Other than the current tariff narrative, it's fairly standard CIA play when we look at what they did to Latin America already.

solox3··on De minimis exemption ends
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"?
solox3··on Show HN: Cocommit – A copilot for git commit
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.
solox3··on Two new PebbleOS watches
> Core 2 Duo

Is that not one of Intel's trademarks from the past 20 years?

solox3··on Pongamia trees grow where citrus once flourished
That's because the article was from 2019.
solox3··on 'Anti-sex' beds have arrived at Paris Olympics
Novel idea: move these mattresses onto the floor?
solox3··on Why Tesla's Stainless Steel Cybertrucks May Be Rusting
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.
solox3··on Google Maps now requires WiFi scanning to use navigation
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.

solox3··on No amount of alcohol is good for the heart, says World Heart Federation
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.

solox3··on Why static languages suffer from complexity
> 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.

solox3··on 5% of 666 Python repos had comma typo bugs (inc V8, TensorFlow and PyTorch)
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.

solox3··on Ask HN: Why doesn't YouTube have a competitor?
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".

solox3··on LibreWolf – A fork of Firefox, focused on privacy, security and freedom
"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.
solox3··on China has forbidden under-18s from playing games for more than three hours/week
One could try reading a book, learning a new skill, or socializing.
solox3··on Culdesac Tempe: The first car-free neighborhood built from scratch in the US
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.
solox3··on Why is standing more tiring than walking? [audio]
- 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)

solox3··on China allows couples to have three children
Proportionately increasing or decreasing the number of people in a country is not the same as trying to wipe a race off the map.
solox3··on Why should I put my website to sleep?
The script uses the device time.
solox3··on Fuckin' user interface design, I swear
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.
solox3··on DuckDuckGo – two non-JavaScript versions of search results
It will be interesting if either one of these eventually returns image and video results as well.
solox3··on 12 requests per second: A realistic look at Python web frameworks
Something about select_related? Please do share.
solox3··on New Model M Is an American-Made Keyboard That Puts a Spring Back in Your Typing
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.

solox3··on Django refactoring game – can you fix all the Models anti-patterns?
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?

solox3··on Django refactoring game – can you fix all the Models anti-patterns?
"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.

solox3··on Show HN: Ugliest.app – Ugly but good app platform
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.

solox3··on Bringing the print statement back
Says the line with two different hyphenating styles.

It's an Easter egg.

Page 1 of 9Next →