โWe just launched a 16TB archive of every dataset that has been available on data.gov since November. This will be updated day by day as new datasets appear. It can be freely copied, and we're sharing the code behind it to help others make their own archives of data they depend on.โ Harvard Library Innovation Lab (via BlueSky)
lil.law.harvard.edu/blog/2025/โฆ
Hypolite Petovan likes this.
reshared this
like this
Also, do lists in #Python seriously not have a .map function?
Edit: Ohhh... I expected it to be a method on the list object itself.
Tech Cyborg reshared this.
Python map() function
The map() function is used to apply a given function to every item of an iterable, such as a list or tuple, and returns a map object (which is an iterator). Let's start with a simple example of using map() to convert a list of strings into a list ofGeeksforGeeks
Jonathan Lamothe likes this.
@flyingsquirrel Yup. And there's a multiprocessing version which can be useful if you're doing a very large csv but you probably want imap() for that one.
docs.python.org/3/library/multโฆ
multiprocessing โ Process-based parallelism
Source code: Lib/multiprocessing/ Availability: not Android, not iOS, not WASI. This module is not supported on mobile platforms or WebAssembly platforms. Introduction: multiprocessing is a package...Python documentation
If you're looking for a function that applies another function to each element of a list and aggregates the results, it'd typically be done with a list comprehension:
[your_function(item) for item in your_list]
But you can also use list(map(your_function, your_list)) if you want. Basically, it's a built-in function rather than a method of the list class.
There's also a whole discussion to be had about lists vs generators and why you often wouldn't even need to make a list in the first place, but I won't get into that unless you want to know more.
Jonathan Lamothe likes this.
I use
git checkout -
all the time for switching back and forth between two branches. Mind blown now that I know you can also do:
git merge -
to merge your previous branch into the current branch.
#git
Jonathan Lamothe likes this.
Jonathan Lamothe reshared this.
New Study Finds 90% of Cat Owners Experience oofjfjjggigiiiiifohhhjjfjfjjjjj))))))))))))))
A new study published today suggests that up to 90% of cat owners experience oofjfjjggigiiiiifohhhjjfjfjjjjj)))))))))))))) the moment they leave their keyboard unattended. โDuring a new doublโฆThe Needling
reshared this
LB I do not understand at all how people are arguing this is GTS behaving badly and not scrapers like...
FediDB: how many users do you have
GTS: I'm not telling you don't crawl my page
FediDB: I'm going to do it anyway how many users do you have
GTS: Fifty billion
FediDB: okay thanks
FediDB: hey wait you lied to me!!!
Like idk sounds to me like you should have walked away at "don't crawl my page" and if you get the wrong numbers after that that's on you
reshared this
reshared this
Penfount • Pen Community reshared this.
[just back from Damascus]
โYo! Saul! Long time no seeโ
- โIโm โPaulโ nowโ
โSay wha-โ
- โLet me tell you about Jepupโ
reshared this
Fun fact: VPNs stop working when you forget to pay the bill.
#ADHD is fun.
like this
Shannon Prickett reshared this.
#FountainPens
reshared this
TIL that tuning a glass pen with sandpaper (even the one included with the pen) should only be attempted by an experienced user.
Also, #today I gained a lot of experience in this area out of necessity after the fact. Still, I shan't be doing that again for a while.
Penfount • Pen Community reshared this.
More dead tree spam from the Conservative party addressed to my father (who has never lived here). This one was labelled "compliance request" with a red military stencil looking font that said "URGENT: CODE RED". This speaks to the way they percieve the intelligence of their supporters. I weep for the state of politics in this country.
It got a big fat "return to sender".
Is there a way to tell #Emacs #org-mode to omit yhe TOC and headline numbers when exporting to a text or markdown file? I'm trying to implement a #JohnnyDecimal system, so I'm supplying my own numbers and the 00.00-index.org file essentially is the table of contents.
Edit: Because not all replies federate, here's the solution I ended up with:
#+STARTUP: overview indent nonum
#+OPTIONS: toc:nillike this
Jonathan Lamothe likes this.
I got a new phone because my old one was giving out on me. This one is a decided downgrade from the last one, but that's (mostly) fine.
Anyhow, the new phone doesn't support wireless charging. Because of this, I can no longer charge it on the night stand breside my bed. When I wake up in the morning, my impulse in my half-awake state is to just grab my phone and go, forgetting that it's now tethered to the wall. This was not going to end well for anyone, most especially not my charging cable/port.
I charge it in the living room now.
like this
Outbreak: #Influenza (not typed of subtyped)
Facility: St. Mary's General Hospital
Facility Type: Hospital (Acute Care)
Unit/Floor/Area: [Not Specified]
Location: #Kitchener #Ontario
Date: 2025-01-17
Public Health Unit: Region of #Waterloo, Public Health
Facility Tracking Hash: #RWPH0037
PHU Tracking Hash: #OnObRWPH
Click or follow tracking hashtags to see data for individual facilities or a specific public health unit.
reshared this
youtu.be/NEDFUjqA1s8
reshared this
We've trained an AI to replace your largest business cost, the CEO!
We've carefully measured the outcomes of using this AI, and it's far more successful than humans making the same decisions!
We've also trained AIs to replace your customers, your stockholders, and you.
Please report to the AI replacement center.
Jonathan Lamothe likes this.
Jonathan Lamothe reshared this.
I'm surprised that AWK is so bad at handling CSV out of the box.
Yes, I know about the --csv flag in later versions of gawk, but that isn't an option in this case.
Guy Geens likes this.
I run a pretty tight budget. Twice a year, I get a fun surprise from my domain registrar (because I have two domains with them). They both come with a "free business card generator" that I have never used, but whatever.
Anyhow, every time a domain comes up for renewal, it's expected, budgeted, and paid for. All is good.
Then, about a month later I open my email and see an unexpected additional "receipt" from them. This sends me into a brief panic until I realize it's a $0 receipt for the business card bullshit.
My circus, my monkeys: I am running a successful monkey circus
Not my circus, my monkeys: I am running a successful monkey-rental service
My circus, not my monkeys: oh no, oh man
Jonathan Lamothe likes this.
reshared this
reshared this
Its been over a month since I was let go and I still haven't found a lot of prospects for a new job. If you know anyone who is looking for an #iOS Developer for remote work I really could use the contact. Please boost.
reshared this
Via the Algorithmic Sabotage Research Group (@asrg) ...
... here's a list of code designed to poison the well for AI web-scrapers
tldr.nettime.org/@asrg/1138674โฆ
(thanks to @peterfr for pointing this one out!)
reshared this
DOOM: The Gallery Experience lets you take part in an art gallery opening with a wine in your hand all while wandering through the Doomโs E1M1 map full of classic masterpieces.
gamedevjs.com/games/doom-the-gโฆ
#DOOM #gamedev #gamedevjs #Itch #Construct3 #JavaScript #HTML5
DOOM: The Gallery Experience โ paintings showcase simulator - Gamedev.js
Did you think every possible variation of the classic Doom game was explored already? Think again, because The Gallery Experience lets you take part in an art gallery opening with a wine in your hand all while wandering through the Doom's E1M1 map fuโฆEnd3r (Gamedev.js)
Jonathan Lamothe reshared this.
reshared this
I need to find more excuses to use my glass pen. It's totally not practical as a daily use pen, but it's soooo satisfying to use.
I need to write some fancy letters or something.
Penfount • Pen Community reshared this.
@alexa-488 I have not. Please tell me more.
Edit: Looked it up. I'm not sure how comfortable I am making my mailing address public, however I have been considering a PO box lately...
Jonathan Lamothe likes this.
You don't have to post yours openly. I think there are various forums for sharing in a more limited manner, i.e. direct with someone. You can find addresses and mail to them first.
Pretty sure even short hand written notes count, so you could leave some fancy notes for people in your life who you appreciate.
Jonathan Lamothe reshared this.
I don't (and won't in certain cases) CW everything ever but if there's something I know SOMEONE out there might want to filter I try to get specific keywords in my post they might filter
Like for instance I wasn't gonna CW photos of my gerbils, I'm sure someone out there absolutely doesn't want to see rodents though, so I tried to be sure the word gerbil was in there
To some degree it involves some level of mind reading but it's something
I get both sides of the CW debates and I have my own personal lines on what I find sensible or not, and on this account versus my other one I also accept that I agreed to follow certain CW rules on this instance and that's part of being a community even if I may not feel the same way on my own where I make the rules
But imo the best argument for NOT having to CW certain things is making an attempt to make sure people's word filters will work. You may not always get it right since like I said it takes a certain level of guesswork, and sometimes you just forget in the moment. But if you keep coming up with new nicknames for the worst people on earth it becomes impossible to keep up.
@Demon Queen Lucretia 2025 Edition I end up collapsing (auto-CWing) all of the offending user's posts. I don't know if Mastodon has this functionality though. A block would also be effective.
Though even still, it's sometimes a game of whack-a-mole.
like this
calvin ๐๏ธ likes this.
reshared this
#FountainPens
Penfount • Pen Community reshared this.

EVHaste
in reply to Molly White • • •Kevin
in reply to Molly White • • •Annietime
in reply to Molly White • • •Pelican Dock Music
in reply to Molly White • • •Astrius
in reply to Molly White • • •quixote
in reply to Molly White • • •Mr. Lance E Sloan (IRL) ๐ค
in reply to Molly White • • •Orangenoel
in reply to Molly White • • •@lavaeolus
das schon gesehen hat?
โฐ๐ฒRandy Walters๐ฒโฐ
in reply to Molly White • • •Beachbum
in reply to Molly White • • •ZAC
in reply to Molly White • • •Publishers Clearing House
in reply to Molly White • • •Freya (it/its)๐ญ๐น๐ ๐ฉ
in reply to Molly White • • •Freya (it/its)๐ญ๐น๐ ๐ฉ
in reply to Molly White • • •Molly White
in reply to Freya (it/its)๐ญ๐น๐ ๐ฉ • • •Contact | Library Innovation Lab
lil.law.harvard.eduBurr Deming
in reply to Molly White • • •Beachbum
in reply to Molly White • • •xs4me2
in reply to Molly White • • •Blaise Pabรณn - controlpl4n3
in reply to Molly White • • •KChernecky For Democracy
in reply to Molly White • • •