Searching yarn

Twts matching #B
Sort by: Newest, Oldest, Most Relevant

Regex Isn’t Hard - Tim Kellogg 👈 this is a pretty good conscience article on regexes, and I agree, regex isn’t that hard™ – However I think I can make the TL;DR even shorter 😅

Regex core subset (portable across languages):

Character sets
• a matches “a”
• [a-z] any lowercase
• [a-zA-Z0-9] alphanumeric
• [^ab] any char but a or b

Repetition (applies to the preceding atom)
• ? zero or one
• * zero or more
• + one or more

Groups
• (ab)+ matches “ab”, “abab”, …
• Capture for extract/substitute via $1 or \1

Operators
• foo|bar = foo or bar
• ^ start anchor
• $ end anchor

Ignore non‑portable shortcuts: \w, ., {n}, *?, lookarounds.

#regex101

⤋ Read More

We’ve been on a trip to another city this weekend and one thing struck me as really odd:

The lack of “public water” in our cities.

Almost no way of washing your hands or going to the toilet or whatever. You can’t even pee in a bush, because a) that’s illegal and b) there are no bushes!

(It’s always been that way, I just never noticed before. 🥴)

⤋ Read More
In-reply-to » Guilty pleasure, blasphemy, shitty audio, … something like that. Seven Nation Army on double bass. 🤪 https://movq.de/v/e3a4dcff2e/sad-nation-army.ogg

Not in the mood to deal with reality today, so here’s another one of those silly things: https://movq.de/v/68c61f8ecc/r2_session.ogg This time on electric bass, tuned down to B-standard because oomph. (Well, sounds okay on my headphones, but I’m obviously no sound engineer. 🤪)

⤋ Read More

I lost my original Windows 95 CD (and it’s too expensive for my taste to buy on eBay), so I finally sat down and got an old disk image of one of my PCs to work in QEMU.

I don’t intend to do much with Win95. I just want to be able to boot it, if I want to check how certain things worked or looked in that version. The purpose of this really is to be an archeological digsite.


⤋ Read More
In-reply-to » calendar.txt: Keep your calendar in a plain text file https://terokarvinen.com/2021/calendar-txt/ It's a lot of fun to have a calendar system.

@prologic@twtxt.net @andros@twtxt.andros.dev

more examples:

2020 Jan1 New Year's Day @yearly
2020 jan 3Mon Dr. Martin Luther King, Jr Day @yearly
2020 feb 3Mon President's Day @yearly
2020 may -1Mon Memorial Day @yearly
2020 jun19 Juneteenth @yearly
2020 jul1 Independence Day @yearly
2020 jul24 Pioneer Day @yearly
2020 sept 1Mon Labor Day @yearly
2020 oct 2Mon Columbus Day @yearly
2020 nov11 Veteran's Day @yearly
2020 nov 4Thur Thanksgiving Day @yearly
2020 dec25 Christmas Day @yearly

2025-01 Fri [ ] Take out Trash @weekly
2024-10-17 Thu [x] (A) Did this and that completed:2024-10-18
2025-10-18
	[ ] (A) Submit important papers
	[ ] (B) Work on +ProjectB
	- some note
2024-10-21 
	- some notes about things to remember for Monday
	[ ] Do that
[ ] Travel the stars

⤋ Read More

My hypothesis about that thing breaking my twts is that it might have something to do with the parenthesis surrounding the root twt hash in the replay twt-A when I replay to it with fork-twt-B; I imagine elisp interpreting those as a s-expression thus breaking the generation precess of hash (#twt-A) before prepending it to for-twt-B … but then I’m too ignorant to figure out how to test my theory (heck I couldn’t even recalculate the hashes myself correctly in bash xD). I’ll keep trying tho.

⤋ Read More

You have a microwave oven at home, right?

You can type 3 and 0 for 30 seconds, 100 for a minute (shown as 1:00), or 200 for two minutes (2:00).

What would happen if you type 777 and Start?
A) Nothing
B) Self-destruction
C) Will run for 7 minutes and 77 seconds (boring!)

What about 7777 ?

⤋ Read More