Somewhere in Edmonton I believe.
cherrykraken
Agreed, but I'm pretty sure the auto-formatters available do alignment indentation anyway as it is part of the style guides.
Otherwise, I think some of the lines have too much nesting and could be broken up, and the ifcond-then-else blocks aren't indented enough in the last example.
Or, if the business is 24/7, make sure they have an explicit on-call policy with designated shifts. (e.g. who is allowed to call you, what is the expected response time, is an issue disruptive enough that it needs resolving at 3am on a holiday, etc.)
My current job (IT for a non-profit research facility) pays a sweet daily bonus just for having my phone on me, even if I don't get called over a week, plus double overtime pay when I do get called afterhours. I've had 13 shifts over the past couple years, and was called only 7-8 times, 3 of those on the same weekend for the same issue (couldn't make a permanent fix until the following Monday).
In any other job, I definitely wouldn't accept a manager or random coworkers sending me messages out of the blue on a weekend and getting mad when I don't respond.
I've switched to EasyDNS as well, over from AWS.
If you're on the lower-tier/unicast plan, have you had any issues with MX records for email? I set up mine ~10 days ago, and A, CNAME, and most TXT records are working flawlessly, but anything email-related fails to resolve 30% of the time (checked through 3rd party DNS lookup tools, as well as just sending/receiving test messages seeing what gets through).
No, you're absolutely correct! I meant it more along the lines of the "We take nothing by conquest" rhetoric, which is equally hypocritical considering the reality. I didn't really want to add an "/s" to the statement... Yes, the US killed a lot of people in Mexican territory, but then they made up a treaty and paid $15mil for half of the land 🤷 (heavily simplified).
But it's 2025, and I'm honestly not sure if the geopolitical climate is in a better or worse state than it was 170 years ago. And if not worse on average, it's definitely widely polarized.
Well you're not wrong, I think some dummies would say "acktually we bought it from Mexico".
I liked this article from a couple months ago on the whole situation: https://www.dal.ca/news/2025/01/09/united-states-canada-state-51st.html
Is it bad that I want him to try?
Historically, the US has never acquired territory by force, and even then Emperor Clementine would need a 2/3 majority vote in the Senate to ratify and prove the annexation was legal, which I doubt he'll get.
F*ck around and find out, as it were.
Gahh, serves me right for blindly writing code on my phone!
Functions in Python can only return a single value. While you are allowed to comma-separate additional values, as you have done, they are combined into a single tuple object that wraps the intended values.
As such, your splitter function is returning a single tuple containing three strings. Your calculate function is expecting three individual arguments (I'm guessing that the error trace mentions this).
To get around this, you can use the splat/asterisk operator to "unpack" the items from the tuple:
a, b, c = splitter(expression)
# or, inline
calculate(*splitter(expression))
Edit: removed bad asterisk
Are you looking for a screw-on filter? Looks like Fildex is Canadian-made (I have no experience), though I can't find any retailers for them.
For cartridge filters, you might have even more difficulty finding an OEM equivalent. For my car I usually buy Mann (German company, but their filters are usually American on this side of the world). I just bought filters for my next 5 oil changes while tariffs haven't hit yet.
The code basically tracks mouse movements, or the lack thereof. If a bot is using a cursor, it might move in a straight line at constant speed to the "I'm not a robot" checkbox. Most bots though just check the HTML and jump directly to the checkbox. There are other checks it might do as well, e.g. the user-agent of the browser, whether the user came from a search engine, etc.
That being said it's that not difficult to break, e.g. Puppeteer has a plugin specifically for getting around Captchas and Cloudflare's offerings.
All this is to say: automatic captchas are better at allowing legitimate users than they are at blocking bots entirely.
I use it mainly for code completion, and it's great until I hit <tab> to indent and accidentally accept a 50 line suggestion.