Finally, you can do points & cash when booking #amtrak - previously you had to either have enough points or buy points in round numbers. Hilton has had this for a long time.
Home
Public posts preserved on my own site.
Noam Chomsky hates the Imperial Colonial USA with the fury of 1000 suns. So you can tell he's not dead yet with the weather like this.
This Thursday, 37 degrees in Rome, brr, bundle up.
I'm easily amused.
IDEA: take the spurious bivariate correlation website and run triplets through PyWhy and see if all the causal relations are 0.
I'm not smart enough to know if you can do causal analysis with bivariate data.
https://www.pywhy.org/dowhy/v0.11.1/example_notebooks/nb_index.html
Banging the drum that correlation isn't causation make statisticians think they are doing science education to discourage bad choice of model, when really, the effect is to imply that they are debunking science. "Meat, cigarettes and alcohol are all fine, keep consuming! Statistics is just arrogant smarty pants who think that correlation is causation and all science is cultural-warfare bunk!"
♡ 2 ↻ 0And this idea that statistics is incapable of discovering causal models has been going on for decades, like someone really, really wants people to think that causal relationships are impossible to discern, it is worth something to someone. No one gives a $#!+ if you misunderstand quantum chromodynamics, which you probably do.
♡ 1 ↻ 0"Correlation isn't causation" - True, but people want you to do things not in your personal best interest with this fact. We want you to only know this fact and become a chump.
♡ 1 ↻ 0Closely related to "True, but useless", which seems to come up at the office. "How should we solve this problem? Well it depends" True, but people who say that ain't following up with "on what" or they could have left out the prologue.
♡ 1 ↻ 0
DC has 2 seasons, pizza oven and planet Mercury.
DST is so archaic, we need to take into consideration climate change and our Venusian summers and shift the clock forward 8 hours so that the workday starts right after the sun goes down. Then for the 3 months of non-ovenlike weather, shift 8 hours forward
Content warning: Python slang
@blaise I think you're looking for linters & style guides, minus the formatting guidance.
Pep-8 style guide https://peps.python.org/pep-0008/
Google style guide https://google.github.io/styleguide/pyguide.html
Pretty much all the rules in pylint/ruff - linters are aware of what is pythonic and have rules to encourage the pythonic way over the other equivalent alternatives.
Okay, posted a quote tweet. Now back to Mastodon.
Go sign up here: https://mastodon.social/auth/sign_up
This ad has 15,000 unrelentingly negative replies. That they keep this up & keep showing it is a cry for help from the PM of this product. https://x.com/XDevelopers/status/1720034014164070423
I'm reading sweeping pronouncements about what is easy or hard in software development, I'm like what planet are they on...
And Gergely Orosz is on to something-- there's like 3 different job markets for software developers, so the advice in one context is just really out of touch in the other two.
https://blog.pragmaticengineer.com/software-engineering-salaries-in-the-netherlands-and-europe/
You probably don't have google's scaling problems, but when you do, you don't want to be thinking you got the first week of Twitter's existence's problems, or the problems of the Omaha tax collection department, and so on.
♡ 1 ↻ 0
@tehstu Most of the time you want to follow the naming conventions of the surrounding code, unless it is really bad.
cnxn is a bad name. That style is legacy from the days when software developers didn't know how to touch type and there was a serious question if developers could find vowels on a keyboard.
I think module namespaces are the only python thing that warrants abbreviation, e.g. `import pandas as pd` else you will be typing `pandas` over and over a lot.
@SpeechToTextCloud@techhub.social @victorjavierlo D'oh. Fixed.
Bing gives your searches to your employer. Don't know why people aren't continually freaking out about that. (Maybe they did and then everyone forgot & this is what MS expects will happen for Recall)
What is the difference between a lamda and a function in idiomatic c++? One doesn't have a name and one has a useless name.
@stroz I like your tweet.
With R's flying flags upside down, finally Dems can reclaim the flag for their own. Sort of a capture the flag in the game of memetic warfare.
@koteisaev You can use this pattern if you can still execute a python file. If the code under test isn't avail, then the problem is with pointing the IDE to the venv. Both vscode & pycharm often fail to guess where the venv is and have to be told explicitly. Doesn't work for pytest.
```
import unittest
def add(a, b):
return a + b
class TestAddFunction(unittest.TestCase):
def test_add(self):
self.assertEqual(add(1, 2), 3)
if __name__ == "__main__":
unittest.main()
```
@SnoopJ Get an Amtrak credit card, the sign up bonus points will bring the price down to something non-stupid.
Ancient Chinese curse: 希望你第一个发现VPN挂了。
May you be the first to find out VPN is down.
My review of the sun
It burns me all the time. One star.⭐
A computer* takes 175 kilowatts of electricity to run, if venture capitalists have their way, everyone could have a computer in their pocket and even computers in the phone chargers consuming about 1.05 × 10^15 watts. 10^12 is a Terawatt so we're at multiple planets worth of electricity. If we don't stop all computing today the waste heat will melt the crust of the earth and all the buildings will sink under the lava.
* in 1945
I'm comparing the #trump tag here vs Mastodon and in both places, the tweets are 98% anti-trump. Where are his supporters, he's got no counter buzz.
News is happening and it is a ghost town around here.
It is like 12 voices cried out "Guilty"
https://elk.zone/mastodon.social/@mistersql
I can't even post a meme on this site. Media won't upload.
♡ 0 ↻ 0
It's like 12 voices cried out "Guilty"
Guilty. And as we all know, people just love to vote for the guilty. Let's check what happening at election betting odds.
The betters think that there was an instantaneous 5% drop in Trumps odds... We'll have to see if the betting markets continue to adjust.
♡ 2 ↻ 1
In Boston you get the last element of a list like this:
`last_element = a_list.soda()`
Effectiveness of efforts to do regime change
-may be overstated, esp with respect to psyops
-may rely on conspiracy theories (that there is a secret group running the world/causing revolutions via student protests, and you as a gov't or dictator can too!)
-when CIA wasn't ineffective, CIA didn't get the regime change they wanted
-Also Putin is a conspiracy-believing moron who thinks he's a Russian Soros, pulling the strings of the world's puppets
Long but fascinating
The British wanted to shoot themselves in the foot with Brexit. Russia just cheered them on.
The US wanted to elect whatever Trump is. Russia just cheered him on.This is under the theory, you can't hypnotise someone who doesn't want to be hypnotised. Your mark has to be eager to believe your psyops campaign for them to participate, which makes you think the psyops campaign was more effective than it was in a universe without it.
♡ 2 ↻ 0
@deshipu But if they were it would look like this:
Did an office building write this?
"Why in-person friendships are better for health than virtual pals"
My take: if you use communication tech poorly, you get few of the benefits of socializing.
Tech work has gone remote & will be probably forever. We should do it right and not pine for the days of an office which was an isolating wasteland of isolation and alienation.
I wish I could see the build script for the Voyager 1 code, in particular, what efforts did they take to make sure that they weren't deploying space-ship-bricking mistakes.
A quick search of github doesn't turn up anything.
We are trash at evaluating when was the best of times, when was the worst of times. We mostly think everything was great back when we were teenagers and today is the worst.
Y'all should know that we are at peak music now, Kpop (2014-2024) outshines 2000 years of music history.
I bought a mini-headless PC that I connect to from my laptop via RDP. It is becoming my favorite place to run pycharm. Keeps the laptop cool.
Should I eat these rocks?
Chatgpt: Pop Rocks are a type of popping candy that creates a fun, crackling sensation in your mouth. As long as you don't have any allergies to the ingredients listed on the package and consume them in moderation, they are generally safe to eat. Enjoy the experience!
I watched the star wars hotel video (4 hours)
The hotel is gone but you can find out what it was like and some of the good ideas that ended up with awful execution
https://www.youtube.com/watch?v=T0CpOYZZZW4
I watched the star wars hotel video (4 hours)
- The good ideas for galaxy's edge got moved off to a hotel to monetize the cool ideas for the super rich
- Management focusing on costs and profits made a service that was massively over priced and commercially unsalvageable
- They turned the Star Wars Hotel into Spirit Airline where you get nickled and dimed for everything and it isn't fun anymore
@carmensandiego It was defective, if she knows whats good for her, she'll drop it before it wrecks her productivity.
me: let's do some maintenance dev work & add type hints, easy.
me: oh no, this is a subclass of str and I have to make mypy happy about it
https://github.com/matthewdeanmartin/colorclass/blob/main/colorclass/core.py#L51
Did you BITE your corn? What kind of monster are you? Okay, maybe you didn't go to far and the damage can be fixed. Sony has got you covered.