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.
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
#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
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.
I was raised LDS (left a long time ago β and, by the way, I'm a vegan) and I didn't know about that quote! So gross.
I do remember a fight amongst family members once my dad announced he wasn't drinking milk anymore. My uncle unleashed some Bible quote about the land of milk and honey.
My dad isn't vegan, or even vegetarian, but simply decided that milk-drinking wasn't healthy. I followed his example and then, to his chagrin, I stopped eating pork and then all animal products.
Jonathan Lamothe likes this.
Shannon Prickett 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.
#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.
Penfount • Pen Community reshared this.
@D. B. Stuck I may or may not have spent $200 on new inks today.
I'd say not to tell my partner, but she was the instigator. We're really bad at keeping eachother accountable for this stuff.
Good thing it's a three paycheque month. π
Okay, so I've seen a thing were people will send a box of #FountainPen ink samples around by mail from person to person. Individuals will add and remove inks from this box, recording the changes in a log book. It seems like a really cool way to get exposed to new inks, and I'd really like to participate in one of these. Is anyone doing this in Canada?
reshared this
Jonathan Lamothe likes this.
Shaved my beard off for the first time in a while. I was definitely carrying a little less weight the last time I was smooth-faced. The beard was concealing it more than I realized.
This might've been a mistake.
Does anyone in the #FountainPen community know how to dismantle a LAMY Z28 converter for cleaning? I found a video on YouTube that supposedly demonstrates this
but my converters look different than theirs. I suspect mine are of an older design. I suspect they're just missing the metal part, but I want to make sure I'm not going to break them by trying this.
This is what all of my converters look like:
- YouTube
Auf YouTube findest du die angesagtesten Videos und Tracks. AuΓerdem kannst du eigene Inhalte hochladen und mit Freunden oder gleich der ganzen Welt teilen.www.youtube.com
Penfount • Pen Community reshared this.
It seems they are the same design after all, it's just that the metal ring has some sort of coating on it for some reason. I've gotten the offending converter apart and am running it through the cleaner. We'll see if I can get it back together again afterward.
Fortunately, I have a few converters and don't usually ink up all of my LAMYs at once.
One of the things nobody tells you about wearing #glasses is how annoying it is to keep them clean. I had resigned myself to the fact that there would just always be some degree of smearing in my field of vision. Try as I might, I could never get them quite as clean as the day I got them.
Then I got an ultrasonic cleaner for my #FountainPen hobby and realized I could use it to clean my glasses as well.
10/10 would recommend. Seriously, if you wear glasses, I highly recommend investing in one. It was one of the best purchases I've ever made.
like this
Penfount • Pen Community reshared this.
Penfount • Pen Community reshared this.
@Tallastro πΊπ¦ I had two pens inked up with dark inks. One with Parker Quink Black and the other with Diamine Chilly Nights. I hadn't really handled either, but they were both in the same bag with the pen I was using. I see no evidence of leaking.
Interestingly enough, the pen I was using had previously been filled with green ink, but I'd cleaned* and re-inked it with something else a couple days prior. Maybe it was a leftover ink stain from when I did that? They usually don't hang around that long though.
* There was an ultrasonic cleaner involved, so it should've been really clean.
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 • • •