![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://programming.dev/pictrs/image/8140dda6-9512-4297-ac17-d303638c90a6.png)
Right? it screams wayyyy pre-y2k but MySQL was only release in 95
Right? it screams wayyyy pre-y2k but MySQL was only release in 95
will it become a relic of the past?
Probably
why YEAR in the first place, who would actually make use of it?
Accounting systems in the 90s that needed to squeeze out every drop of performance imaginable
I expect it won’t
The year datatype is a 1 byte integer, but the engine adds/subtracts 1900 to the value under the hood and has special handling for zero.
If you need to store more than 255 years range, you can use a 2 byte integer, which doesn’t need that special handling under the hood, because with 2 bytes you can store 65000+ years
Literally every library with any traction in any field is MIT licensed.
If the scientific python stack was GPL, then industry would have just kept paying for Matlab licenses
Sqlite is absolutely installed on the most devices, but there is a big grey area depending on how you count “used”
I have 30 apps on my phone, am I a single sqlite user? or 30 of them?
Facebook/Netflix/etc. uses postgres/mysql, does that count as 1 user or a billion?
Going by time when you start out may just be a more realistic way to set goals you can stick to when you don’t know your pace? Once you settle into your pace, you should be able to map out some routes that will give you an X minute workout (give or take)
One thing I learned embarrassingly recently while training for a race way outside of my comfort zone - slow the hell down. If you start off running fast you are just front-loading the lactic acid buildup in your legs, which will make the back half of your run harder - if you are tracking your runs with a Fitbit/Garmin/phone, make a conscious effort to keep a consistent pace - even if it feels like you are running in slow motion at the start, you will find it much easier to run longer, and your overall pace will be faster as well.
I didn’t enjoy running until I worked myself up to doing longer distances, like 8k+ runs - before then it was a painful chore I felt obligated to do, now I go stir crazy if I don’t get out for a run at least twice a week.
That being said, even now, runs are a slog until I get into my groove, which happens around the ~3k or 15-20 minute mark, but once I get there I’m happy to keep going for another 10-20k
You mention going by time and not distance - I assume you are on a treadmill? Personally I can’t stand treadmills, it’s monotonous, and there isn’t as much air movement around you, so it’s harder to thermoregulate.
The nests (and many other thermostats) let you operate the fan independent from the AC.
I configured my fan to run 15 minutes every hour regardless of whether or not the AC/heat is running and it fixed all of my issues with the upstairs being way too hot.
Kettles are more efficient and thus faster at a given wattage.
The only reason a microwave would be faster is if you have low-wattage kettle or a 220v microwave, in which case it isn’t an apples to apples comparison
For every 1 person who knows how to use the windows command line, there are 50 people struggling because they didn’t embed their video into their PowerPoint, or worse, their USB stick only contains a shortcut to their actual .ppt file
Especially because a 15% tip is almost twice as good as it was 10 years ago due to rising food costs
tl;dr
We find that men who are more dissatisfied with the size of their penises are less likely to personally own guns across outcomes
Anyone who has seen his social media in the past 4 years was not surprised by this headline at all
There are like 10,000 different solutions, but I would just recommend using what’s built in to python
If you have multiple versions installed you should be able to call python3.12
to use 3.12, etc
Best practice is to use a different virtual environment for every project, which is basically a copy of an existing installed python version with its own packages folder. Calling pip with the system python installs it for the entire OS. Calling it with sudo puts the packages in a separate package directory reserved for the operating system and can create conflicts and break stuff (as far as I remember, this could have changed in recent versions)
Make a virtual environment with python3.13 -m venv venv
the 2nd one is the directory name. Instead of calling the system python, call the executable at venv/bin/python3
If you do source venv/bin/activate
it will temporarily replace all your bash commands to point to the executables in your venv instead of the system python install (for pip, etc). deactivate
to revert. IDEs should detect the virtual environment in your project folder and automatically activate it
It’s halfway between boiling and freezing, or 86% of the temp needed to boil water.
Maybe a riff on lutris? Not sure why though
The feature is explicit sync, which is a brand new graphics stack API that would fix some issues with nvidia rendering under Wayland.
It’s not a big deal, canonical basically said ‘this isn’t a bug fix or security patch, it’s not getting backported into our LTS release’ - so if you want it you have to install GNOME/mutter from source, switch operating systems, or just wait a few months for the next Ubuntu release
GNOME said this update is a minor bug fix (point release)
Canonical said this is actually a major feature update, and doesn’t want to backport it into its LTS repositories
It’s open source code that someone ran on their own computer, it’s not like he used paid OpenAI credits to generate the image.
It also would set a bad precedent - it would be like charging Solomons & Fryhle because someone used their (absolutely ubiquitous) organic chemistry textbook to create methamphetamine
10 days without food hits differently when you are hiking through mountains 16 hours a day vs sitting on your couch