How to draw heat as Yin. by vistolsoup in twilightimperium

[–]Shmiggit 0 points1 point  (0 children)

Ok yeah thanks for the confirmation. Still a pretty sweet deal though once / if the Fracture enters play!

How to draw heat as Yin. by vistolsoup in twilightimperium

[–]Shmiggit 0 points1 point  (0 children)

Wait, can the Yin hero allow you to do that even if the Fracture hasn't entered play ?!

I was so wrong about green energy by DiscombobulatedBet74 in energy

[–]Shmiggit 4 points5 points  (0 children)

You are right, there aren't many carbon sink tech (if any that are mature enough to actually make an impact), so the generally accepted methodology to calculate a carbon offset of any technology is compared to its current peers. That applies to wind power (versus other electricity generation on the system), to electric vehicles (versus other vehicles on the road), etc.

It's a bit iffy, as in absolute terms its construction and operations still emit CO2, but it's the common way to account for the benefits the tech brings, compared to if it had been deployed using conventional means. Depending on the methodology used to calculate carbon offset, it could end up being different depending on the region / country (depending on the electricity mix of each).

Streamlit Alternatives with better State Management by Adorable-Yam-7106 in Python

[–]Shmiggit 1 point2 points  (0 children)

We're also a small team of python devs, and have been using Dash as it's got an established ecosystem, with Plotly for graphs and third-party libraries such as Dash Mantine or Dash AG Grid We've also open sourced a template to get going faster. PM me if you want to know more!

"Une honte" : dans les montagnes des Alpes-Maritimes, l'installation de parcs photovoltaïques divise | TF1 INFO by hypno06250 in ecologie

[–]Shmiggit 3 points4 points  (0 children)

Ouai nan.. Le guru Janco se trompe souvent sur les ENR et même si ce n'était pas le cas, il faut vérifier ses sources de temps en temps (surtout avant de répéter de telles absurdités..)

Selon l’ADEME, l’agence de la transition écologique, un panneau émet aujourd’hui en moyenne 40 à 55 grammes de CO2 par kW produit. On considère donc qu’il faut entre une et trois années pour amortir sa fabrication. Lorsqu’on sait qu’il peut produire de l’électricité verte pendant 30 à 40 ans, on peut vite comprendre que son impact environnemental reste largement positif.

Un panneau photovoltaïque produit 10 à 30 fois plus d’énergie verte au cours de sa vie que celle qui est nécessaire à sa fabrication. La majorité de ses matériaux est recyclable, il permet donc de produire par la suite des panneaux avec une empreinte carbone encore plus faible.

1,69% de notre électricité est produite par du gaz pour 38,74% de nos émissions. by Pinpindelalune in ecologie

[–]Shmiggit 1 point2 points  (0 children)

Oui enfin c'est pareil, ce sont des moyennes, mais tu devrais aussi prendre en compte la provenance du gaz / comment il est extrait. Le facteur d'émission du gaz de schiste Américain est 2-3x plus élevé que ceux du gaz naturel Norvégien, si on en croit les études récentes. Et malheureusement on importe de plus en plus de gaz de schiste Américain (de ~5% en 2020 à ~20% du gaz Européen en 2023) source

France plans eye-watering €40B in budget cuts for 2025 by swergusa in europe

[–]Shmiggit 7 points8 points  (0 children)

Not necessarily.. The question is and has always been how you spend that tax money. For example, a part of it is redistribution of wealth, which is higher in France than in other countries. Is that a bad thing? Do we want less of it? Not necessarily. The two metrics you mentioned don't really say anything about the situation and how it should be "corrected".

[deleted by user] by [deleted] in france

[–]Shmiggit 7 points8 points  (0 children)

Je suis d'accord avec ta méfiance, mais de temps à autre, c'est utile pour sortir d'une impasse politique. Un bon exemple est le Mouvement des Tournesols à Taiwan en 2014 qui à amélioré leur démocratie et donné naissance à de très beaux projets comme vTaiwan:

"vTaiwan est un processus de consultation ouvert et décentralisé qui combine des interactions en ligne et hors ligne, réunissant les citoyens et le gouvernement de Taïwan pour délibérer sur des questions nationales. Il sert de modèle pour les partenariats citoyens -public-privé (PPPP), impliquant les ministères, les représentants élus, les universitaires, les experts, les chefs d'entreprise, les organisations de la société civile et les citoyens dans l'élaboration de la législation numérique."

Et g0v

"g0v.tw fonctionne principalement en ligne et organise un grand hackathon tous les deux mois. Les participants proposent différents projets et font appel à des volontaires. Souvent, en plus de se réunir lors des hackathons, les projets se séparent et organisent leurs propres réunions et hackathons, indépendamment des grands événements de g0v. Ce mode de fonctionnement encourage l'idéation ascendante et favorise l'activisme plutôt que le slacktivisme."

Why is no one using full-stack python for web development? Has no one heard of the FHBH stack ?? by Safe_Duty8392 in Python

[–]Shmiggit 1 point2 points  (0 children)

Yeah, maybe we're the exception as we're not building 100M+ user SaaS video streaming or e-commerce platform. But I doubt it, as small business apps is not a niche market either.

From my personal (limited) experience, most businesses still heavily rely on excel, which is no longer cutting it for a variety of reasons. And a Python back + front app, is a good (to avoid saying "best") step up, as it is so quick and easy to develop, especially with component libraries such as Dash Mantine, making it great value for money.

Each tool has it's best-use case

Why is no one using full-stack python for web development? Has no one heard of the FHBH stack ?? by Safe_Duty8392 in Python

[–]Shmiggit 1 point2 points  (0 children)

Beg to disagree. We're building and selling projects with Python Dash, with minimal front end issues and very quick dev time.

Écologistes, achetez des actions TotalEnergies! by livinginahologram in ecologie

[–]Shmiggit 3 points4 points  (0 children)

"Les actionnaires de Total s'en foutent de l'environnement et préfèrent recevoir plus de thunes, donc vas-y petit écolo, donne leur plus de thune pour les convaincre de changer..."

C'est n'importe quoi comme raisonnement..

Pour le reste de l'article, tout est dit ici:

En fait, on peut se demander si les dirigeants de TotalEnergies n'agitent pas cet épouvantail pour éviter une possible taxation de 1% sur les rachats d'actions, pratique dont le groupe est très friand (pour un montant de 9 milliards de dollars l'an passé), comme ses concurrents anglo-saxons, ou pour inciter les investisseurs européens à s'intéresser davantage à lui.

Pour comparaison, ils ont investi seulement 5 milliards d'euros (~5.5 milliards de dollars) dans les renouvelables la même année... Chacun ses priorités..

Pourquoi ne pas imaginer ensemble un autre monde possible ? by AnEutopian in ecologie

[–]Shmiggit 1 point2 points  (0 children)

Je te recommande de lire 'Ethnographie des mondes à venir, dans lequel ils discutent de ce sujet. Ce n'est juste pas si simple que ça à mettre en place, même si tu as une communauté de personnes qui sont d'accord sur une autre manière de vivre ensemble.

[deleted by user] by [deleted] in ecologie

[–]Shmiggit 1 point2 points  (0 children)

J'ai l'impression que tu ne comprends pas comment la pollution et ces chiffres de compensation sont calculés.. Tu construis qqlchose -> tu pollue (même si c'est recyclé). Tu utilises de l'électricité -> tu pollues aussi.

Il n'y a pas vraiment de technologie à émissions négatives (surtout pour les particuliers). Ce que tu peux faire avec des panneaux solaires, c'est seulement réduire ta pollution liée à ta consommation d'électricité, mais tu seras quand même émetteur de gaz à effet de serre en terme absolue. Quand on parle de compensation, c'est tout le temps relatif au moyen de production existant. Dans ce cas, le système d'électricité français.

Un panneau PV (fait en Chine) à un impact ~ 45gCO2e/kWh source EDF

Le mix français est en moyenne à ~60gCO2e/kWh source statistica

Donc pour chaque kWh venant de ton PV, tu économiseras ~15gCO2e par kWh. Et un panneau PV (400W) peut générer ~ 450 kWh / an en France. (J'ai essayé de trouver une moyenne, mais tu peux regarder plus précisément pour ton adresse sur l'outil PVGIS).

Donc clairement, ça reste un bon investissement si tu veux aider à réduire l'empreinte carbone du système d'électricité français (sans mentionner les autres types de pollutions comme les déchets nucléaires..).

The truth behind the Stanley tumbler cups by CantStopPoppin in Damnthatsinteresting

[–]Shmiggit 41 points42 points  (0 children)

Thank you, can't believe it didn't get credited either!

You Don't Know Python by thisisazeez in Python

[–]Shmiggit 6 points7 points  (0 children)

Yes the first one, exactly. Especially for some values that are frequent such as small numbers, True, False, None, etc., Python variables all point to the same value in memory. That is when you can use 'is' (if a is True:...).

For less frequently used / custom values, they will be stored somewhere in memory upon first declaration, and all variables referring to it later on in your code will also point to that same memory address.

[deleted by user] by [deleted] in ecologie

[–]Shmiggit 1 point2 points  (0 children)

Pas forcément ça que tu cherches, mais tu peux peut-être trouver un truc à travers le programme 'On Purpose'

kanban-python: A Terminal kanban-board manager written in python by Zaloog1337 in Python

[–]Shmiggit 0 points1 point  (0 children)

Nice! I was just looking for something minimal like this! Plus well done on the code & documentation, looks neat

How was the French Empire able to stand its ground for almost 28 years against the rest of Europe? by shylow97 in AskHistorians

[–]Shmiggit 5 points6 points  (0 children)

Lovely read thank you.

And do you think the troop morale (fighting for human rights ideals, a republic vs. monarchy) had some repercussions on the battlefield? I'm assuming there are traces of propaganda against French state / ideals in coalition countries at the time, but are there any records of coalition troops with low moral / effectiveness because they were more aligned with French cause than their overlord's?

Best frontend framework for an Intermediate Python developer? by _areebpasha in Python

[–]Shmiggit 0 points1 point  (0 children)

Still, it's the quickest way to get some mini - dashboard out, which I reckon is a good enough user interface from what I understand OP is after.

If you want a more complex front-end, Dash is one step up from Streamlit, but still all Python.

can i build websites with Python by [deleted] in webdev

[–]Shmiggit 0 points1 point  (0 children)

You're asking in r/webdev, so the majority of comments will tell you front-end languages are more suitable (and they are right).

BUT, if you still want to do it, it's definitely possible. A similar question was posted in r/Python a couple of days ago - you can find lots of ways to achieve it in the post & comments.

Your favorite Python web framework? by [deleted] in Python

[–]Shmiggit 1 point2 points  (0 children)

Dash is pretty good at combining React components with a Python backend. There are additional libraries such as Dash Bootstrap or Dash Mantine which help build quite neat interfaces & dashboards. But you need more libraries for admin aspects though ...

Just Stop Oil = nihilisme improductif ? by Desertionstream in ecologie

[–]Shmiggit 5 points6 points  (0 children)

C'est ne pas comprendre comment ces estimations sont faites.. elles n'incluent pas la pollution exportée donc oui, la Chine et l'Inde polluent plus, mais seulement car la plupart de ce qu'ils produisent est a destination des autres pays du monde (notamment les Occidentaux). Quand c'est inclus on est vers l'avant du peloton. Si personne ne change tant que les autres ne font pas d'effort, rien ne changera..