@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.

picklejr, to StarTrek
@picklejr@mstdn.social avatar

anybody know of some novels or series with themes including the good side of humanity? I really like for that, where the human heart is challenged yet prevails.

Not necessarily looking for Sci-Fi but not excluding it either. Maybe something historical or steampunky would be cool. 😅

@books @books @bookstodon

meejah,
@meejah@mastodon.social avatar
glyph, to random
@glyph@mastodon.social avatar

Does anyone happen to know if it is possible to get a projector for an open space at ? I have some ideas that involve discussions of code where it would be useful if a participant could share their screen with a larger group.

meejah,
@meejah@mastodon.social avatar

@glyph tty-share is nice (and you can combine it with https://github.com/meejah/fowl for easy-to-set-up probably-local networking between a tty-share server and client, to avoid using the public server)

meejah,
@meejah@mastodon.social avatar

@glyph note this is "terminal sharing" not "screen sharing" though ;)

meejah,
@meejah@mastodon.social avatar

@encthenet Happy to pair-program to get a dev environment up and running (or whatever else)....

meejah,
@meejah@mastodon.social avatar

@encthenet I'll re-check, but I'm 99% sure there's already a C dependency in magic-wormhole (definitely Rust, because "cryptography") so as long as there's Python bindings, could work?

(It does use Twisted though so that might make it harder, depending on whether "the C library" does I/O itself or not)

meejah,
@meejah@mastodon.social avatar

@encthenet Also there's PyPy, which in my experience can be a lot faster at running Twisted code ... 10x doesn't quite take 10MB to 1Gb, but close?

meejah, to random
@meejah@mastodon.social avatar

I want a "zooming" interface for photos, where I can sort them "somehow" (e.g. by exif-date) and then zoom way out (and see like thousands at once) and then zoom in on regions (to see a few, down to "one" at a time).
Does this exist?
(FOSS-only suggestions please).

meejah,
@meejah@mastodon.social avatar

I plan to throw at least 700GB of photos at this ...

meejah,
@meejah@mastodon.social avatar

@mfenniak this? https://immich.app/

Looks cool! Not quite what I want immediately, but "sort by geolocation" is definitely a thing I want somethings :)

meejah,
@meejah@mastodon.social avatar

@mfenniak I just looked and "du" says I have 700GB (there's definitely a bunch of duplicates in there, though). Does this compare to your collection?

meejah,
@meejah@mastodon.social avatar

@mfenniak Rad, thanks!

meejah, to random
@meejah@mastodon.social avatar

My first C compiler...

meejah, to random
@meejah@mastodon.social avatar

Has anyone used https://www.punkt.ch/en/products/mp02-4g-mobile-phone/ in Canada (or North America) and can report if they've had any inter-op problems?

jacob, to random
@jacob@jacobian.org avatar

Is there such thing as a small, rugged GoPro-style device that’s more oriented towards still photos? I love the size and form factor and ruggedness of the GoPro/insta360/etc, but don’t really want to shoot (or edit) much if any video.

meejah,
@meejah@mastodon.social avatar

@jacob @ak yeah .. I used to have a couple like that for climbing and they were great ... if I could buy one like it with better sensors / lenses I certainly would (and bonus points if it got even smaller).

meejah, to random
@meejah@mastodon.social avatar

What a joke.
The Alberta grade 9 "Provincial Achievement Test" (PAT) for English Language Arts (ELA) this year apparently has the same essay-prompt as a practice test...

meejah, to random
@meejah@mastodon.social avatar

@neilk what in actual fuck? Why does CBC give these morons attention??!

pkw, to python
@pkw@mastodon.sdf.org avatar

#python fixture config is magic and I don't like it.

def test_something(fixture):
...

So in pytest. What this does is get the name of the param fixture to see if it matches the name of a previously defined fixture function. If you don't know that it looks bizarre. That IS NOT a parameter passed into a function but a sentinel that is used to look up a fixture by it's parameter name.

WHY not just pass in the ACTUAL FIXTURE ?!?!

def test_something(fixtures=[fixture1, fixture2]):
...

meejah,
@meejah@mastodon.social avatar

@pkw in the end it does pass in a value (whatever the fixture function returns).

There is definitely some magic involved, though -- at least it gives an error if you misname one. (On balance, I prefer the less typing -- you can try "testtools" for one that has more-explicit fixtures)

meejah,
@meejah@mastodon.social avatar

@pkw It can definitely feel a little weird ... but it's hard to get some of the other very-useful fixture features (module/session scoping, parametrization, ..) with other mechanisms. It's also nice and short (although of course you need to "know" pytest to read the code)

The command-line library Click also does something a little similar with the option decorators (i.e. "magically" maps names)

meejah,
@meejah@mastodon.social avatar

@pkw The similarity I see is that Click "magically" uses the option-name to pass the value to the correct arg; pytest "magically" uses the arg-name to call the correct fixture (it's not just for the side-effect: it passes the value returned into your function). Click also depends on "side effects" of the decorators...

Certainly I still agree that pytest's is "more magic", but they're both about convenience (e.g. you could implement Click's to be strictly explicit passing too)

meejah, to random
@meejah@mastodon.social avatar
stux, to random
@stux@mstdn.social avatar

> "It's the best country in the world!"

< "But you rank 20th in reading, 23th in science, 19th in math on a global scale."

> "Yes but we are the number 1 in confidence!"

< "So it's a country full confident idiots."

meejah,
@meejah@mastodon.social avatar

@andemann @stux hah, wanted to see this comment :)

PsySal, to photography
@PsySal@mastodon.social avatar

Wandered around campus one Sunday in February. Its sort of nostalgic. Part of that is just that it hasn't much changed. Part of that, I think, is that brutalist architecture is by nature resistant to change.

Since, these days, change is often hyper financialization at the expense of everything else, this permanence is, I think, a virtue.

These spaces from the 70s (60s?) still carry their original intent.

Full easy peasy web 1 scroll page + one dream: https://kittylambda.com/?p=pictures_2024-02-25_university_of_calgary

#photography

Wood wall art. Angular forms pocked with circles that evoke pots filled with cracked dirt.
Hallway. Concrete walls and staircase. Polished floor reflecting natural light. Some seating and a relief map of Alberta visible.

meejah,
@meejah@mastodon.social avatar

@PsySal It's also interesting what's new in those scenes, like most of the furniture (well, "new sometime in the last 20 years" but still)

meejah,
@meejah@mastodon.social avatar

@PsySal Yeah, I'm not as sure about the atrium but the ScienceA/B couches are new for sure (and the tacky slogans haha). Those one-piece tables might be original...

"The Zipper" is original too :)

meejah,
@meejah@mastodon.social avatar

@PsySal p.s. there's a very fun space up the stairs higher than the elevators go in the S tower of the new comp-sci building :)

meejah, to random
@meejah@mastodon.social avatar

The right term is "anti-genocide".

But I guess it's harder to get angry about someone supporting that position ....

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