@tshirtman@mas.to
@tshirtman@mas.to avatar

tshirtman

@tshirtman@mas.to

Dissipé, curieux, ultracrépidarianiste.
développeur (#python :python:), vegan :seedling: (éco/éthique), linuxien (ubuntu depuis 2005)
core développeur #kivy

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Larchmutz, to random French
@Larchmutz@mamot.fr avatar

Alors que David Guiraud (LFI) est interrogé par les journalistes, Meyer Habib (LR) vient l’invectiver. «On n’a pas élevé les cochons ensemble », lance ce dernier. David Guiraud réplique : « C’est toi le cochon, tu es dans la boue du génocide ».

video/mp4

tshirtman,
@tshirtman@mas.to avatar

@Larchmutz il élève des cochons habib? 🧐🤨

david_weber, to random French
@david_weber@mastodon.top avatar

Pays-Bas : un ancien chef du renseignement à la tête d'une coalition de droite

Dick Schoof, l'ancien chef des services de renseignement et de lutte contre le terrorisme néerlandais, est sur le point de devenir le nouveau Premier ministre des Pays-Bas à la tête d'un gouvernement de coalition dirigé par le parti d'extrême droite PVV de Geert Wilders.

#PaysBas

tshirtman,
@tshirtman@mas.to avatar

@david_weber shiiit

simon_brooke, to Scotland
@simon_brooke@mastodon.scot avatar

Destroying the planet we live on -- the only planet we can live on -- is of course totally legal and even supported and subsidised by governments around the world (including 's).

But PROTESTING against destroying the planet? That's illegal. That's very, very illegal. Don't even think about doing that.

https://www.theguardian.com/environment/article/2024/may/23/alarm-as-german-climate-activists-charged-with-forming-a-criminal-organisation

tshirtman,
@tshirtman@mas.to avatar

@simon_brooke @lienrag @pgcd @TomSwirly it would (will? hopefully not) be an apocaliptic catastrophy (and for some, it already is), no one here is arguing that, but some places on earth would still be livable, and some people, a much smaller population than now, would still survive there, it would be an incredible setback for humanity, and many other species, but it would almost cerlainly not be the end of it. Now, more importantly, how do we make it as small a disaster as possible?

hannah, to random
@hannah@posts.rat.pictures avatar

I'm like an Ancient Aliens person but for refusing to believe this was possible with 17th century conditioner technology

tshirtman,
@tshirtman@mas.to avatar

@hannah the technology of not washing your hair?

bert_hubert, to random
@bert_hubert@fosstodon.org avatar

It didn’t work out but I appreciate the attention to detail over at the financial times:

tshirtman,
@tshirtman@mas.to avatar

@bert_hubert well, you just have to render the template in your head, we have all the values :D

dgar, (edited ) to random
@dgar@aus.social avatar

We’re in the final hours of voting in !

Have you voted for your favourite three entries yet?

tshirtman,
@tshirtman@mas.to avatar

@dgar didn't vote, because i didn't listen to the full playlist yet and i don't remember where i stopped 😬 .

Busy today, but will try to give it another go.

Zergy, to random French
@Zergy@mastodon.zergy.net avatar

Donc, dans une entrevue sur Sud Radio, l'agent de la CIA Glusckmann dit vouloir réunifier l'Europe.

Ça me rappel un peintre autrichien.

tshirtman,
@tshirtman@mas.to avatar

@Zergy surtout attention à ne pas trop nuancer, on risquerait d'être perdu. 😆

Melissabeartrix, to random
@Melissabeartrix@hugz.online avatar

FFS ... Those things on a clock dial are called hands ... HANDS ... And what the hand is pointing to indicates what that hand is called, like hour hand, minute hand, seconds hand and even date hand

Not pointers, handles, the big or little one or any other things you can think ... I have heard someone call them the "sticks"

Hugz & xXx

tshirtman,
@tshirtman@mas.to avatar

@Melissabeartrix still, it's ridiculous they are called hands, 😠 , sticks makes a lot more sense.

(sorry not sorry)

danirabbit, to random
@danirabbit@mastodon.online avatar

The more I think about it, the major problems in tech and in society in general is that all the investment is going to solve problems that white affluent men have

tshirtman,
@tshirtman@mas.to avatar

@danirabbit some try to solve problems others have, and honestly it's not necessarily better, because they try to solve their idea of the problem others have, and can be something wildly inappropriate and even dangerous (and be frustrated when people aren't thankful).

I would say, best way to get started is to listen to people you want to help, and try to design solutions with them, and pay a lot of attention to feedback.

Tech is not the important part of good tech.

ehmatthes, to python
@ehmatthes@fosstodon.org avatar

TIL how to use itertools.dropwhile() to get all lines from a file after a specific line. I always used to write my own loop to solve this problem.

I'm curious, have you heard of dropwhile()? Have you used it?

#Python

tshirtman,
@tshirtman@mas.to avatar

@ehmatthes i knew about it, as i've went through the help() for the module several time to look for things appropriate in specific situations, but i don't think i ever though about using it when this one would have been appropriate.

chain() and izip() are probably still my most used ones.

iryna, to random
@iryna@mstdn.social avatar

Kharkiv these minutes.

video/mp4

tshirtman,
@tshirtman@mas.to avatar

@iryna so sorry, this is yet another crime.

evan, (edited ) to random
@evan@cosocial.ca avatar

"Public opposition to the War in Gaza is due to manipulation of social media."

tshirtman,
@tshirtman@mas.to avatar

@evan strongly disagree although i am sure that some some (including russia) are playing on it for more destabilization, it's not the cause, the cause is how terrible this war is.

tshirtman,
@tshirtman@mas.to avatar

@nus @evan yes, they will lie if needed, or useful, but if they don't need to, and still fan the flame of divisions, they'll gladly take it, it's even more effective.

I don't have proof for this particular crisis, but we know that russia is financing parties and individuals (that accept it) who are generally in the opposition or critical of the establishment (outside of russia, of course), and they do create and disseminate {dis,mis,}information to make other countries harder to govern, so…

tshirtman,
@tshirtman@mas.to avatar

@nus @evan yeah, i don't know this one in particular, but i've seen people use the palestinian cause to push pro-assad narratives, it's disgusting. I believe it's a strategy of co-opting passions about important subjects and redirect them into their particular politics, rather than being accidentally right about one thing.

raiderrobert, to random
@raiderrobert@mastodon.social avatar

For minimal amount of "I know how to code", I propose the following:

  • value types: integer, string, booleans
  • variables/constants
  • control flow: if/else
  • loops: for/while
  • structure: maps/arrays
  • functions: basic declaration
tshirtman,
@tshirtman@mas.to avatar

@raiderrobert well, constants are not mandatory, though useful, it doesn't seem minimal to me (much less than floats, that you omitted). While can also replace for, but i agree for (especially with "for each in…" semantics) is a significant improvement, worth having in even a minimalist language.

tshirtman,
@tshirtman@mas.to avatar

@raiderrobert ok, i guess i was assuming the context was "being able to build things", rather than tinkering with other's people projects, as soon as you do that, you will need a lot more concepts, and they will depend on the particular thing you tinker with, so hard to define a specific minimum.

tshirtman,
@tshirtman@mas.to avatar

@raiderrobert Oh i think your set is sufficient for that, though constants seems borderline, probably because we don't really have them in python, and i've been mostly doing that for the last 20 years, though the concept is still useful without enforcement.
I think adding floats would significantly increase the amount of things that can be built, even if one can work around with multipliers, it's a bit limiting.

I would add user-defined structures, (though Mappings can be enough, i wouldn't…)

kotaro, to random

I was able to work for a publicly traded Japanese company with a market capitalization of $2 billion for over 5 years and climbed the ranks to regular employee.
They were able to fire me after 9 months not because of my poor performance!

tshirtman,
@tshirtman@mas.to avatar

@kotaro what was the source of the guilt?

tshirtman,
@tshirtman@mas.to avatar

@kotaro ok, porn is a challenging ethical problem indeed, the risk of abuse is significant (and it happens frequently, and has to be fought as hard as necessary), and on the other hand, making it illegal can make the problem worse, by depriving actors & actresses of protection.
You could think that protecting the right of the legitimate producers was on the good side of the fight, but if they themselves don't keep the high standard of consent and protection, i understand the need to resign.

tshirtman,
@tshirtman@mas.to avatar

@kotaro corporations are not (or very rarely) out to do good, they are in for profit, they need to be forced (either by market forces or by regulation) to do the right thing, otherwise, even good people inside are forced out because they hinder profitability with regards for other considerations, unless the right thing just happen to align with the profitable thing, which is rarely the case.
But it's always sad to get reminded of this by people being abused by them.

DavidBHimself, to Japan

Japanese TV is crap with more crap and an extra layer of crap. However, once a day, for a minute, pure magic.

A few examples:

https://youtu.be/cPo_F3SyvgI?feature=shared

#Japan #TV

tshirtman,
@tshirtman@mas.to avatar

@DavidBHimself it's funny, because i was thinking of your post while the page loaded, and before the video started, or even i (consciously at least) read the title i though about the "pita-gora suwi-tchy" jingle, because that's literally the first example of cute japanese tv that popped in my head, more than 10 years about discovering (and last thinking about it).

scudery, to random French
@scudery@piaille.fr avatar

Y a quoi mais y a quoooiiiiii purée

J'ai une malédiction de chaussures

J'ai pourri mes baskets de ville avec la pluie

Et là j'ai décollé la semelle de mes runners

Ô tout puissant, dis le clairement si tu veux que j'aille les p'tits arpions à l'air comme Tom Sawyer, ça ira plus vite, non parce que la communication par signes mystiques là, c'était bien dans l'Antiquité, les gens ils avaient le time à l'époque, mais on est au XXIe siècle, Seigneur, j'ai pas qu'ça qu'à faire !

tshirtman,
@tshirtman@mas.to avatar

@scudery Ouais, alors ça c'est plus entre lui et lui, je pense, par ce que le magneau pascal qui dit "père, père, pourquoi m'as tu abandonné?" du haut de sain sulpice, ça sent pas le plan sans accros, y'a eu embrouille sous golgotah, je pense.

HydrePrever, to random
@HydrePrever@mathstodon.xyz avatar
tshirtman,
@tshirtman@mas.to avatar

@scudery @Camille_Poulsard @HydrePrever @LivBu attention, faut pas mal parler des brassicae! Naméo!

Et la choucroute c'est super probiotique, c'est le bien.

tshirtman,
@tshirtman@mas.to avatar

@Camille_Poulsard @scudery @HydrePrever @LivBu hm, c'est vrai que j'avais zappé ce détail, en salade c'est pas mal quand même, mais c'est vrai que c'est assez acide en général, donc à plus petite dose pour moi, mais c'est quand même pas mal.

tshirtman,
@tshirtman@mas.to avatar

@Camille_Poulsard @scudery @HydrePrever @LivBu oui, c'est ce que je veux dire par "en salade", avec genre du choux rouge, des concombres, et d'autres trucs croquants-gourmands.
(ou tant qu'à faire, des pommes de terres — cuites, pour le coup, vapeur ou sautées — ne sont pas malvenues non plus pour adoucir tout ça.)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines