I am #freesoftware enthusiast as just a general nerd.
My interests in general are:
#programming
#radio
#electronics
#videogames
#linux
#Blacksmithing (Though it's been a bit since I've made it out to the forge lol )
#systemadministration
Of course, there are legitimate reasons for this sort of dependency injection-style parameterization, but adding support for arbitrary interfaces broadens your "supported configuration surface" so much that usually it doesn't pass the YAGNI test — unless you need it for tests.
That's obviously a pithy twitter-sized take, but I think most of the time when you have some highly parameterized class / function, you aren't doing it because you actually want to support an interface where someone supplies their own provider of some core language functionality.
You do it because it makes your testing easier, and you can nominally it allows you to test using only the public interface.
That sort of thing is a necessity in languages without monkey patching, but it seems like it's a considerably worse code smell than patching in tests.
In the book "Brooklyn", @builtbrooklyn@twitter.com says early aviator Calbraith Rodgers was "blogging all the way" on a cross-country flight.
I am kinda startled to find that I can't think of a non-anachronistic verb to describe what he was doing: sending regular dispatches for publication.
Citation: https://www.google.com/books/edition/Brooklyn/JHbTDwAAQBAJ?hl=en&gbpv=1&bsq=blogging
# Remote Timelines
I wanted to take a minute to explain QOTOs Remote timeline feature, specifically the new aspect we just released on the advanced interface: Domain Favourites.
This feature allows you to pull up a column which is identical to the local timeline of a remote instance, thus addressing the need for users to have multiple accounts across multiple instances. You can be here on QOTO and see the remote timeline as a separate feed just as if you were on the remote instance itself! For example attached to this post is what the Koyu.space remote timeline looks like from QOTO.org.
**Note:** This feature can not and does not bypass security permissions. If a user has blocked you you wont see that users posts in the remote timeline either.
There are several ways to pull up or switch between remote timelines, and you can have several remote timelines up at the same time or even combine them in a single column.
One way to do this is with the QOTO lists feature. Here you can create lists that are either collections of people you wish to follow in their own timeline, or a list of domains where you wish to follow the remote local timeline of the whole domain. Create the lists you want then open your lists and switch between them to view the various timelines you define.
You can also go into your settings and under preferences there is a subsection called "Favourite domains", you can add domains there as well. If you do this the domain will show up on the main navigation bar and you can select it with fewer clicks than through the list menu. There is also a Favourite Tags section in preferences that works much the same way.
You can also pull up the remote local timeline of an instance from a posted status itself. Simply click the three dots on a post from any user from the desired domain and one of the options will be to open the remote timeline for that domain.
That is all there is to it, enjoy!
I'll perform some stand-up comedy about #FLOSS at @SeaGL on November 13th: https://osem.seagl.org/conferences/seagl2020/program/proposals/732
Talk is done!
The video is available here if you missed it (with an archive of the chat): https://youtu.be/S4TjOnkFLtI
Slides (with speaker notes) are here: https://pganssle-talks.github.io/pytexas-2020-upstream-bugs/#/
The slides are probably not especially mobile-friendly.
My PyTexas talk, "What to Do When the Bug is in Someone Else's Code" will be streaming in 15 minutes!
I'll be in the Youtube chat answering questions and "not really a question, more of a comment"s!
Link to stream:
https://www.youtube.com/watch?v=S4TjOnkFLtI&list=PL0MRiRrXAvRgAFCdfHUcw8PNPqS7ux_BK&index=20
"I reverse engineered McDonald's internal ordering API and I'm currently placing an order for a McSundae every minute at every McDonald's location in the US to figure out which ones have a broken ice cream machine."
😂
As promised a few days ago, we now have a 2020.4 release of the first-party tzdata package on PyPI:
https://pypi.org/project/tzdata/
This includes changes to Palestine's DST rules that take effect THIS SATURDAY, so a good time to upgrade this (and your system package) is now!
And for the "try before you buy" types among you, my slides are already available!
https://pganssle-talks.github.io/pytexas-2020-upstream-bugs/#/
The @PyTexas@twitter.com talk schedule is up!
If you're interested in my talk, "What to do When the Bug is in Someone Else's Code", it'll be airing from 14:00-14:30 CDT on Sunday, October 25:
https://www.pytexas.org/schedule/#:~:text=Speaker%3A%20Paul%20Ganssle
To be honest, I feel like I may have shot myself in the foot by trying to get the word out about this the last few years. It's so widely misunderstood that I may have been able to make the case for a backwards-incompatible change based on "we'd be fixing more code than we break".
This is starting to come up a lot more as people switch from pytz to zoneinfo, so a reminder about datetime arithmetic semantics; addition is NOT referring to elapsed time:
https://blog.ganssle.io/articles/2018/02/aware-datetime-arithmetic.html
(Relevant SO question: https://stackoverflow.com/q/64440016/467366 )
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.