Been looking for an alternative to Google Maps. Organic Maps (OpenStreetMap) is great, but it doesn't know the bus routes in my city.
I remembered that the GRT (local transit) website had a trip planner that I used to use in the pre-Google days. Decided to give that a go again.
Turns out they're just using Google Maps now. Understandable, but disappointing.
like this
reshared this
I have acquired what I believe to be a high-quality hand-me-down sewing machine from my mother-in-law. Now, apart from thread and fabric I only need to have one more thing...
...any idea whatsoever how to use it.
S3 E21 Inside the Minds of Two Detectives
In this episode of the Cult Vault podcast, host Kacey speaks with former detectives Scott Rogan and Peter Hogan, who share their experiences in the police forceSpreaker
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.
reshared this
Penfount • Pen Community reshared this.
Fun fact: VPNs stop working when you forget to pay the bill.
#ADHD is fun.
like this
Shannon Prickett reshared this.
like this
S3 E20 Extreme Evangelicalism in the Modern Age
In this episode of the Cult Vault podcast, host Kacey speaks with Cynane Shay, who shares her journey growing up in a fundamentalist evangelical Christian houseSpreaker
#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:nil
like this
Jonathan Lamothe likes this.
Since the manual doesn't include examples, it can be confusing as to how to actually use those settings. For this case, add the following line:
#+OPTIONS: toc:nil num:nil
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
S3 E19 Abortion Rights in America
In this episode of the Cult Vault podcast, Dr. Warren Hern, a prominent abortion provider, discusses his extensive career in women's healthcare, the evolution oSpreaker
youtu.be/NEDFUjqA1s8
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.
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.
#FountainPens
Penfount • Pen Community reshared this.
Penfount • Pen Community reshared this.
I’m not surprised that it was a Safari. I’ve had similar issues with ink drying out on my LAMY nibs (not as badly as Parker pens tho).
So that nib doesn’t dry out on me, I’ve started using that pen daily for journaling. Justttt in case, I also have a little water container to dip it in if it gets dry.
Brian Sullivan
in reply to Jonathan Lamothe • • •Jonathan Lamothe likes this.
Jonathan Lamothe
in reply to Brian Sullivan • •@Brian Sullivan I'll have to have a look at that. I wonder of my city is big enough to make the cut.
Edit: They seem to think I live in Toronto (which is news to me) but they do seem to have the local transit routes.
Eric Gerlach
in reply to Jonathan Lamothe • • •The Transit app is good, and while closed source is Canadian.
transitapp.com/
Transit - the best app for buses and trains
transitapp.comJonathan Lamothe likes this.
Marcus
in reply to Jonathan Lamothe • • •