Show newer

Coming to PyCon? Find me, just walk up, introduce yourself and tell me your work dumpster fire story and I’ll give you one of these!

Oof, the new captchas on StackExchange sites are killer. That 20-30 second delay is annoying enough that I basically avoid answers on SE sites now. Unless other people aren't seeing these, this must be killing their traffic.

Another kind of bug revealed by including tests in your coverage:

with pytest.raises(ValueError):
process_data("bad data 1")
process_data("bad data 2") # never executed!

nedbatchelder.com/blog/202008/

Anyone out there using / headsets for productivity on ? I would love to be able to ditch my portable second monitor in favor of some glasses with virtual monitors in them, even if the experience isn't suitable for replacing my main daily driver.

Also very interested to hear about portable new input methods that could potentially replace a keyboard.

FlaskCon call for proposals is open for another week, until April 24th! Submit a talk about anything related to Flask/Quart, Jinja, Click, or anything else related to the Pallets projects and ecosystem. papercall.io/flaskcon-pyconus2 #Python #Flask #PyConUS #FlaskCon

Thanks everyone for the encouragement 🐍❤️ Multiple people suggested extending the CfP, which I've now done: mas.to/@davidism/1143540818047

Show thread

PEP 751 has been accepted! peps.python.org/pep-0751/

This means #Python now has a lock file standard that can act as an export target for all tools that can create some sort of lock file. And for some tools the format can act as their primary lock file format as well instead of some proprietary format.

Also, happy National Indigenous Languages Day in Canada! canada.ca/en/prairies-economic

Aw yeah, just preordered a Pebble Core 2: ericmigi.com/blog/introducing-

Now I just have to wait ~9 months. I guess in the meantime I can start working on a custom watchface for it!

"Usually I go with the flow, but this time I decided to go for it, so I will go down to the office and tell my boss that I want to go up for promotion. If he doesn't go along with it, I won't just go away, I won't go down without a fight even if I have to go ahead and go around him and go over his head. It might be a lot to go through, but I don't want to let my life go by unlived! Sorry to go on for so long, going into so much detail. Say, you seem like a good listener, do you want to go out sometime? Then we wouldn't have to go it alone."

Show thread

I am so often thankful that English is my native language. I am very grateful for everyone who, as an adult, has taken it upon themselves to learn our crazy system of phrasal verbs. I would really hate to have to try to remember all the differences in meaning that come from appending a different preposition to the same verb.

"The bully, looking for someone to pick on, picked out a boy who he saw picking at his face; the bully knocked down the boy's books that he was using to pick up lock picking and made him pick them up. Perhaps he thought this was a good way to pick up girls?"

(Note that "pick up" is used with 3 different senses in this paragraph).

Do you toot in multiple languages?

You can set the language for your toot in its settings, usually next to the button for making posts private.

Please always set your posts to the correct language!

This helps us in several ways:

* Allows filtering for posts in languages we do not understand.
* Allows the use of automatic translation software.
* Helps screen reader software select the correct voice engines.

#Fediverse

My partner wants to share a sewing pattern on the internet somewhere. She's not trying to sell it, just have it in a place where people can get it. Is there a thingiverse/printables type place for sewing stuff (that is also free to post things on, and is also not "run your own website")?

things that are not this:
- freesewing.org (neat, but does not appear to be a place intended for people to upload their own things)
- artisans.coop, etsy, other similar sites (these are storefronts, she literally just wants to share a file, the same thing 3d printing people do with thingiverse)
- a git forge (I... guess you *could* do that? is that a thing people do in practice?)

#sewing

See you all in 29 weeks when every human on earth is watching my son play Minecraft or Portal 2.

Show thread

My son's first video game stream had 1 viewer. The second one had 2, and today I saw 4. Now, I don't want to be premature, but I think I can recognize an exponential trend when I see one...

@hynek Though also I won't be offended if you want to go to someone else's talk, or if you don't want to go to any talk at all, or if you don't even want to go to Pittsburgh. I'm pretty easy-going that way ☺

Show thread

Oh boy, my time slot at is at the same time as @hynek. Well, someone's got to be scheduled against these fantastic speakers, I don't mind it being me. 😅

If you want to go to Hynek''s talk instead of mine, I wont be offended 😛

hey folks, anyone have tips on how to navigate a world of having to completely use separate hardware for work things and non-worik things?

or tips to remind oneself to check the other device (phone, laptop) so you don't forget to do something?

@pythonbytes @mkennedy
Hi! Re: youtube.com/live/yve8JFJTyNA&t

The stdlib does know what .txt and .html is, scroll down 60 lines and you'll see a mapping of 170 extensions to 116 MIME types:
github.com/python/cpython/blob

>>> import mimetypes
>>> mimetypes.guess_file_type("my.txt")
('text/plain', None)
>>> mimetypes.guess_file_type("my.html")
('text/html', None)

The stdlib checks the OS database first, otherwise it uses the default mapping.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.