@meejah@mastodon.social
@meejah@mastodon.social avatar

meejah

@meejah@mastodon.social

Professional freelance programmer (#python, #haskell, #c++, #linux)
https://meejah.ca
https://txtorcon.readthedocs.org
https://carml.readthedocs.org
#twisted #python #tor #infosec #privacy
I re-toot all reasonable replies
"rumoured to be Canadian"

This profile is from a federated server and may be incomplete. Browse more on the original instance.

meejah, to random
@meejah@mastodon.social avatar

What is the most-effective AI prompt you've included in a resume?

meejah, to ai
@meejah@mastodon.social avatar

is fucking great ... for commodity computing providers...

meejah, to python
@meejah@mastodon.social avatar

Should I promote my tool "cuvner" more? https://cuvner.readthedocs.io/en/latest/

Do you use it? What could be improved?

meejah,
@meejah@mastodon.social avatar

@tshirtman The thing I use the most is "git diff main.. | cuv diff -" to see if my branch has unit-test coverage or not

b0rk, (edited ) to random
@b0rk@jvns.ca avatar

spent some time trying to get nix to do the thing I want today and as usual the score is nix: 1, julia: 0

(later edit: after a lot of help from some very nice nix people, I won!)

meejah,
@meejah@mastodon.social avatar

@b0rk and storage: 20 GB smaller ;)

meejah,
@meejah@mastodon.social avatar

@b0rk I love the idea of Nix, and most of their goals. I wish it was easier to use, and that the language was ... better.

jacqueline, to random
@jacqueline@chaos.social avatar

pleased to announce that tangara's design has survived yet another round of "jacqueline sees a cool SoC and questions everything"

meejah,
@meejah@mastodon.social avatar

@jacqueline Super excited to play with this device! Really glad it exists...

hicoo, to random
@hicoo@mastodon.scot avatar

In a warning today the election watchdog the Electoral Commission said voters have until midnight on Tuesday April 16 to register. While 44million are registered to vote in May's local elections as many as seven MILLION are incorrectly registered - or missing entirely from the register, check your entry on the register and amend.

https://www.gov.uk/electoral-register

meejah,
@meejah@mastodon.social avatar

@hicoo so only those good at planning get to vote? Gross.

meejah, to random
@meejah@mastodon.social avatar

This whole xz thing is pretty wild, but also seems like a big win for "open" to me (e.g. imagine if this was at a proprietary place; you'd just never hear about it, probably, but best case would be some obscure security update way too late and without all the cool details).

ramgarlic, to python
@ramgarlic@fosstodon.org avatar

If you think you need 's multiprocessing module, you really need instead.

has decent support for I/O bound concurrency with asynio, threading and concurrent.futures.

For simple, “embarrassingly parallel" CPU-bound workloads, concurrent.futures.ProcessPoolExecutor is OK.

For more complex scenarios, the multiprocessing module, pretends to be as “simple" as threading but is a monster of complexity and super hard to debug.

At this point, just use Go.

meejah,
@meejah@mastodon.social avatar

@ramgarlic You could also use several different languages by communicating with Crossbar.io / Autobahn (routed Pub/Sub + RPC framework with clients in many languages). The server is (the client supports asyncio and python, and there are also Go WAMP client libraries.

MLE_online, to random
@MLE_online@social.afront.org avatar

The exuberant joy of finding out a meeting has been cancelled and your morning is free of encumbrances

meejah,
@meejah@mastodon.social avatar

@MLE_online Note to managers of distributed teams: this joy is so much greater when the cancellation means you can un-set an alarm ;)

robsonfletcher, to Alberta
@robsonfletcher@mas.to avatar

Southern Alberta has the largest irrigated area in Canada.

A billion-dollar irrigation expansion is planned.

But it's been dry lately. Water allocations have been cut.

Facing a drier and hotter future, a big question looms: 'Where's the water going to come from?'

via @joeldryden 🔗: https://www.cbc.ca/news/canada/calgary/michel-camps-irrigation-st-mary-irrigation-alberta-1.7167015

meejah,
@meejah@mastodon.social avatar

@robsonfletcher @joeldryden Balzac outlet mall?

SnoopJ, to random
@SnoopJ@hachyderm.io avatar

[sitting through an hour of stand-up meetings every morning] this is so Agile

meejah,
@meejah@mastodon.social avatar

@SnoopJ One (1) minute each; this is why it's 'a stand-up' ostensibly -- because apparently we're all so out of shape nobody can stand for more than 15 minutes ;)

Maybe it should be "a slack-line-up" or something and get some real quick updates

meejah,
@meejah@mastodon.social avatar

@SnoopJ yeah, in my experience far too many Agile(tm) ceremonies and up being purely mechanical and all the actual reasons and substance become subsumed by "we're doing the thing, because the thing is good".

Standups are like the one thing that is sometimes useful, but they far too often turn into "prove I did work by producing words in the standup" rather than the actually-useful aspects.

meejah,
@meejah@mastodon.social avatar

@SnoopJ For me, that's a great sign of an actually-good manager/scrum-master: they keep the standups short and force people to stop talking (and take any actual problem offline)

RomanOnARiver, to python
@RomanOnARiver@mastodon.social avatar

Is it better to have multiple python lists or one giant list with multiple lists embedded? Taking from perspective of speed and ram/CPU usage.

meejah,
@meejah@mastodon.social avatar

@diazona @RomanOnARiver You cannot optimize without some tests.

So write a test that measures the thing you want to optimize (i.e. memory usage, or CPU usage) and then "try it and see". That said, I wouldn't expect there to be a huge difference between the two scenarios. (And as commented elsewhere, if the amount of data isn't "huge" it might not make any practical difference anyway)

meejah,
@meejah@mastodon.social avatar

@RomanOnARiver @diazona If you have a comment that says "I tested X and Y and they use about the same memory" then that person will be demonstrably wrong ;)

meejah, (edited ) to rust
@meejah@mastodon.social avatar

Trying to actually-learn some and by making a tiny GUI over top of Fowl (https://github.com/meejah/fowl)

njoseph, to random
@njoseph@social.masto.host avatar

Went to a shopping mall today.

Several restaurants in the food court had arrays of 5 large LED displays to advertise what they were selling, basically playing slideshows. Each display looked like a 42 inch TV but mounted vertically.

Not everything needs to be digital. For mostly static content, mechanical slide rollers would work, maybe not as bright as LED. But they would use a lot less energy. :blobthink:

meejah,
@meejah@mastodon.social avatar

@revk @njoseph No, we need both (overall reduction and better production).

Apart from energy use, I hate this "trend" in menus because they're extremely hard to read. Just when you start parsing a part of it, it changes ("oh, you wanted a sandwich? What about a donut! Or a coffee! Hey we got specials!!")

meejah,
@meejah@mastodon.social avatar

@revk @njoseph No energy is free (of environmental costs); consumption is still consumption. That has to go down.

meejah,
@meejah@mastodon.social avatar

@revk @njoseph There are certainly ways to make all sorts of current use "more efficient" but even the least-polluting energy sources we have are very destructive.

meejah,
@meejah@mastodon.social avatar

@revk @njoseph You can't "mine anything" without steep environmental costs.
So, certainly "sorting fossil fuels" helps but even if you could wave a wand right now and make every piece of heavy equipment electric, there'd still be a crapload of destruction required to service all those batteries (let alone produce the electricity to charge them -- dams, solar, wind, nuclear all have environmental costs even if they're less than burning coal).

ichderfisch, to gaming
@ichderfisch@ruhr.social avatar

Reading this is nuts. Google changed its algorithm and websites are on the brink of death. This is what gatekeeping is doing.

Hate to see it, as Retro Dodo is one of my favorite websites. I read their articles almost every day. I got their book and backed/preordered the upcoming two which might never be released now.

If you are into Retrogaming or are interested in modern handhelds, consider bookmarking their website and supporting them.

https://retrododo.com/google-is-killing-retro-dodo/

meejah,
@meejah@mastodon.social avatar

@kern @gregly @ichderfisch We could have a sort of "ring" of these things where go can visit other ones too :)

meejah, to random
@meejah@mastodon.social avatar

The dangers of self-hosting a Web site are that sometimes you start with "I should blog a blog-post" and it turns into a lot of Yak hair and "I should update All The Things"

b0rk, to random
@b0rk@jvns.ca avatar

what's your favourite third-party command line git tool? Mostly interested in tools that just do 1 thing (like git-absorb or delta or git-vee), not so much full git UIs like lazygit or magit. Also not looking for prompt tools like starship right now.

meejah,
@meejah@mastodon.social avatar

@b0rk This probably isn't exactly what you're looking for, but https://www.dulwich.io/ is a great Python library that I've used several times to make Git stuff happen that probably could have been accomplished with the correct bash incantations (e.g. "tell me the next version number") but for me counts as "time to use not-bash" complexity-wise.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • Youngstown
  • mdbf
  • everett
  • slotface
  • khanakhh
  • ethstaker
  • rosin
  • kavyap
  • GTA5RPClips
  • tacticalgear
  • JUstTest
  • DreamBathrooms
  • ngwrru68w68
  • Durango
  • normalnudes
  • cubers
  • modclub
  • cisconetworking
  • tester
  • osvaldo12
  • provamag3
  • anitta
  • Leos
  • lostlight
  • All magazines