Alex boosted
Alex boosted
Alex boosted
Alex boosted

A few of my friends who I know from the started a podcast about linux and opensorce.

I think it's really good -- like Hello Internet for linux people without all of the nitpicking.

Please give it a listen -- anchor.fm/trash-talking-foss

I went to an orange trash site and now I'm mad.

Alex boosted

@isagalaev Yes! My beautiful chain of yield statements eventually hits a sort function.

I like 'yield' statement, I believe it's more explicit that saving elements into a container then returning a container.

But mostly, I saved some code of packing everything into a dict, returning it to a function which then would iterate over the dict by immediately converting it into a tuple.

Alex boosted

Free software 

programming anti-pattern that I keep repeating today:

Gather everything into a dictionary only to convert everything back to tuple of tuples with .items() function.

Much better and faster solution -- return each 'keyword' item as a tuple using yield statement i.e.

Instead of

def somefun():
...
res[key] = val
return res

...
for k, v in somefun().items():
....

write like this

def somefun()
...
yield (key, val)

...

for k, v in somefun():
....

Alex boosted

rms, software licensing 

RMS and the free software community 

Alex boosted

The fight for diversity, equality and inclusion is the fight for software freedom. Our movement will only be successful if it includes everyone. RMS does not speak for these values.
sfconservancy.org/news/2019/se

Alex boosted

The best way to pressure the FSF to sever ties with RMS is to cancel your membership/recurring donations and let the board know why.

RMS is viewed as the main driver of donations and support for the FSF, an asset as opposed to a liability. 💸 talks

Alex boosted

Aha’s masterpiece Take On Me as performed by toothbrushes, printers, and assorted midi driven accoutrements. This is a deep truth and revelation of the ultimate adorability inherent in everything.

youtu.be/NATZy-ZqD7A

@snowdusk_

@tindall You can get a replacement keyboard on ebay for about $40. It's held on by a few screws and then it slides off.

support.lenovo.com/ca/en/solut

Alex boosted

MEANWHILE, IN CANADA: a woman with a size 7 left foot and size 9 right foot has finally found a woman with a size 9 left foot and size 7 right foot so they can buy shoes together cbc.ca/news/canada/sudbury/sho 🐘

Alex boosted

rms 

Alex boosted

Please pay attention to the propaganda! Do not applaud people surviving in this dystopia! Instead burn down the dystopia!
@OCRbot

Show more
Mastodon

Generalistic and moderated instance. All opinions are welcome, but hate speeches are prohibited. Users who don't respect rules will be silenced or suspended, depending on the violation severity.