`time pip3 --version` takes ~200ms on my machine. `time go help` takes 25, and prints out 30x more lines than pip3 --version.
`time pip3 --version` takes ~200ms on my machine. `time go help` takes 25, and prints out 30x more lines than pip3 --version.
-rw-r--r-- 1 nick nick 691 Mar 16 2001 2001-03.txt
I separated mine by YYYY-MM which is long enough to keep related things together but short enough where it's easy to find things within a single file. It's all super easy to grep things out on demand.There's no procrastination about organizing or perfect tags. Just brain dump the thought or notes and move on with life.
https://github.com/nickjj/notes was created so I can type things like `notes hello world` and it inserts it for the correct YYYY-MM or `notes` to open the current YYYY-MM in your $EDITOR. It supports piping into it too (good for pasting from your clipboard). It's ~40 lines of shell scripting with comments.
It's because of module imports, primarily and generally. It's worse with many small files than a few large ones (Python 3 adds a little additional overhead because of needing extra system calls and complexity in the import process, to handle `__pycache__` folders. A great way to demonstrate it is to ask pip to do something trivial (like `pip --version`, or `pip install` with no packages specified), or compare the performance of pip installed in a venv to pip used cross-environment (with `--python`). Pip imports literally hundreds of modules at startup, and hundreds more the first time it hits the network.
`time pip3 --version` takes 230ms on my machine.
I can't say I've ever experienced this. Are you sure it's not related to other things in the script?
I wrote a single file Python script, it's a few thousand lines long. It can process a 10,000 line CSV file and do a lot of calculations to the point where I wrote an entire CLI income / expense tracker with it[0].
The end to end time of the command takes 100ms to process those 10k lines, that's using `time` to measure it. That's on hardware from 2014 using Python 3.13 too. It takes ~550ms to fully process 100k lines as well. I spent zero time optimizing the script but did try to avoid common pitfalls (drastically nested loops, etc.).
I was trying to sign up my step dad to SiriusXM (he wanted it) so I called their phone number. The first interaction with the company is them saying you are speaking to an AI and to ask what I'm trying to do. So I said something like "I'd like to sign up for a new account but have a question about the promotional price". It said it couldn't understand the request and I had to repeat things a few times until it gave up and sent me to a human where the question was resolved quickly but it took minutes to reach a human.
It's wild to me that companies are putting AI at the top of their sales funnel.
> How to build a Faraday Cage for your bedroom
I'll get there eventually. A friend and I always joke about this since it took me to 2021 to get a smartphone (by choice).
If anyone is curious, I've been maintaining a Docker Compose based Django + Celery + Postgres + Redis + esbuild + Tailwind starter app for years and just updated it for Django 6.0 at https://github.com/nickjj/docker-django-example.
The only thing I haven't done is pre-configure the new CSP settings because I want to let that marinate a bit before putting it in as a default.
I tried once 7 years ago but ran into major audio issues that were a deal breaker but I'm hoping the Linux kernel has improved. I have the same hardware as before.
My dotfiles have been public for many years and can 1 shot a new or existing system in a few minutes with a bunch of command line tools on Debian, Ubuntu, Arch (with or without WSL 2) and macOS. It has an install script and theme switching for a long time which I've used to set up a a few systems (personal desktop, laptop and work laptop).
I've been casually tweaking a laptop running Arch with niri. I'm preparing a bunch of things in my https://github.com/nickjj/dotfiles to prepare for that push which will work on Arch Linux and be opt-in to install and configure a GUI and assorted tools.