Avatar
Matthew Martin
ece51acfc6c84a5f625a755bed921f6eac6a9daa6f90817047901dbe0231522f
Software developer in Washington, DC (Herndon, VA specifically) Doing #govtech, #cybersecurity python, dotnet, aws, mostly Infrastructure as Code and cloud apps. I tweet about software, programming, #python, dad jokes, DC, Fed government tech contracting Emoji Code: ๐Ÿง˜โ˜ธ๏ธŽ๐ŸŒฑ๐Ÿƒโ€โ™‚๏ธ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ ๐Ÿ—ณ๏ธ{๐Ÿซ} ๐Ÿ {๐Ÿ‡บ๐Ÿ‡ธ} ๐Ÿ—ฃ๏ธ๐Ÿ’ฌ{๐Ÿช†,๐Ÿฅ–,๐Ÿ’š,๐Ÿ‡ฎ๐Ÿ‡ธ,๐ŸŒฎ๐ŸŒถ๏ธ} ๐Ÿ’ป{๐Ÿ #๏ธโƒฃ <๐ŸŒ/>} ๐Ÿ“š{๐Ÿš€ ๐Ÿ›ธ ๐Ÿช ๐ŸŒŒ ๐ŸŒ  ๐ŸŒ™ โ˜„๏ธ}

```.PHONY: all guajillo_sauce potato_chorizo_mix stuffed_rolls fried_pambazo final_pambazo

all: final_pambazo

guajillo_sauce:

nostr:npub19ah2r5hv55dzussqhpkgwd4qwqylknknv9crdvun6uzf4le0ufxs4p4qyx "Prepare guajillo sauce (if making homemade), set aside."

potato_chorizo_mix: guajillo_sauce

nostr:npub19ah2r5hv55dzussqhpkgwd4qwqylknknv9crdvun6uzf4le0ufxs4p4qyx "Boil potatoes until tender, then drain and mash slightly leaving some chunks."

nostr:npub19ah2r5hv55dzussqhpkgwd4qwqylknknv9crdvun6uzf4le0ufxs4p4qyx "In a pan, sautรฉ vegan chorizo until browned. Combine with potatoes, add salt to taste."

```

Replying to Avatar Matthew Martin

nostr:npub1xenx2ze286489qzhmddvr3t2aqac07ku653mtfx2dpj35zhvkl5qdej5uq extend and copy are surprising & the cheat sheet doesn't show the non-surprising version.

nostr:npub1xenx2ze286489qzhmddvr3t2aqac07ku653mtfx2dpj35zhvkl5qdej5uq copy is wrong too

>>> x = [1,2,3]

>>> x.extend([1,2,3])

>>> x

[1, 2, 3, 1, 2, 3]

>>> x.copy()

[1, 2, 3, 1, 2, 3]

>>> y = x.copy()

>>> y

[1, 2, 3, 1, 2, 3]

Replying to Avatar Matthew Martin

nostr:npub1xenx2ze286489qzhmddvr3t2aqac07ku653mtfx2dpj35zhvkl5qdej5uq extend and copy are surprising & the cheat sheet doesn't show the non-surprising version.

nostr:npub1xenx2ze286489qzhmddvr3t2aqac07ku653mtfx2dpj35zhvkl5qdej5uq oh, extend is just wrong

>>> x = [1,2,3]

>>> x.extend([1,2,3])

>>> x

[1, 2, 3, 1, 2, 3]

>>>

nostr:npub1xenx2ze286489qzhmddvr3t2aqac07ku653mtfx2dpj35zhvkl5qdej5uq extend and copy are surprising & the cheat sheet doesn't show the non-surprising version.

If you are on mastodon.social go to https://mastodon.social/settings/privacy and make your content searchable. (look for "**Include public posts in search results"**)

Or do perfect tagging so the sort of people that follow tags will find you

Or you find everyone, instead of letting people find you

Or broadcast into the echo-free void

Or wait for the sort of people that download all the posts & locally index them in sqlite find you

nostr:npub10llhn0ystklt2ws4gus3f2yzeglszqtvgas2kuq20r7wg2kkgqaqfkhaqs My 1st grade daughter wrote barely readable phonetic English text & the bot could guess what she was saying & correct it to standard English. That it can recover from a sentence with no words spelled correctly is amazing. Anyhow, reminded me of how I wrote Russian.

nostr:npub19u2utuwrs6s5853meuvpgrdpada7dnvsa87z8vk4jdnxqcynxc0q9juast Seems like there should be a "brute force" way to ID words do it with string functions & split. I wish nltk was in the standard lib, because that can identify words pretty rigorously.

I like that ChatGPT has a hard time with this. It doesn't know how to generate test data because it has no internal ability to count letters in a word.

Give to Maui Strong, which in turn spreads the money across to existing non-profit groups. And buy Hawaiian coffee. That fire is an economic disaster, too.

https://www.hawaiicommunityfoundation.org/home

nostr:npub1nljf690kuk2c7xdur0m4wudp5f849lpwumhk9pw5f8ercm6p80lqhxfl5w yes. if there was a pizza in front of us I could say pan & rely on context as the language designer intended. but on the internet we got 0 context, so imho, long phrases are easier to read.

HBN (repr + write to .py file + import + reload module) : 9.7 seconds

WOW. This stupid hack is 2x faster than ast.literal_eval, eval and exec!

#python

IDEA: automated standup script. It would gather the git diffs from each team member & any changes to Jira since yesterday.

By the way, was #ChatGPT trained by listening to your standup briefs? Check here to see if you can find your words

#scrum

https://chat.openai.com/share/c5005e9a-848f-49d5-9b42-8d58e34559a8