Searching txt.sour.is

Twts matching #c
Sort by: Newest, Oldest, Most Relevant

Allez les gueux, il faut payer maintenant !
Heureusement que nous avons avec Emmanuel Macron un expert de la finance Ă  la tĂȘte de l’État ! Heureusement que l’économie du pays est gĂ©rĂ©e de main de maĂźtre par des cadors comme Bruno Le Maire ! Sans ceux-lĂ , quelle sombre direction le pays prendrait-il ? C’est probablement grĂące Ă  cette Ă©quipe de choc affĂ»tĂ©e comme une lame [
] ⌘ Read more

​ Read More

Immobilier : une tempĂȘte parfaite ?
C’est bien connu : quand le bĂątiment va, tout va. DĂšs lors, tout va bien en France, n’est-ce pas ? Eh bien Ă  vrai dire, pas tout Ă  fait. Il semble bien qu’aprĂšs des annĂ©es, voire des dĂ©cennies d’une euphorie que certains, chafouins, qualifiaient d’irrationnelle, les choses sont en train de prendre une tournure un peu moins [
] ⌘ Read more

​ Read More

Immobilier, startups, hydrogùne : les profiteurs d’illusions
Un article de Henry Bonner Les dirigeants et les politiciens passent leur temps Ă  inventer des prĂ©textes pour la dĂ©formation des prix dans l’économie. En gĂ©nĂ©ral, ils induisent ainsi plus d’agitation dans l’économie, c’est-Ă -dire plus de transactions, d’investissements, et de consommation qu’ils croient ĂȘtre de l’activitĂ© Ă©conomique. Selon les modĂšles et croyances de ces dirigeants, [
] ⌘ Read more

​ Read More

L’horizon de confiance se rĂ©duit franchement
C’était pourtant assurĂ©, promis jurĂ© craché : l’étĂ© 2023 devait ĂȘtre le plus chaud bouillant jamais enregistrĂ©. Cependant, malgrĂ© l’utilisation de couleurs cramoisies pour les cartes mĂ©tĂ©os dans tous les mĂ©dias europĂ©ens, les autoritĂ©s ont eu bien du mal Ă  faire oublier la canicule humide et la violente sĂ©cheresse asymptomatique qui a frappĂ© l’essentiel de l’Europe [
] ⌘ Read more

​ Read More

Les leçons d’un concert en campagne
Un article de Henry Bonner Les gens ont tendance à accaparer les ressources dont ils ont envie et ce afin de poursuivre les projets ou plaisirs qui leur tiennent à cƓur, et c’est d’autant plus vrai lorsqu’il s’agit des ressources des autres : ils trouvent ainsi presque toujours le moyen de justifier l’usage de l’argent des [
] ⌘ Read more

​ Read More
In-reply-to » I need to do a big rewrite on how the yarn desktop client handles the status widgets, this is because I want links and such, and to do that I have to rewrite the status message code, it takes a bit if time to do it, but I kinda know what to do - I just need to dive in and get it done. Been thinking about it for a while, I think it's time to get started on it. Also makes the code much cleaner then what it is now.

@prologic@twtxt.net I think the API is is fine :). But to be honest - one thing that would help me is a commandline curl example on how to upload a image, I take these curl commands through a converter that makes it into libcurl c++ code which I then use :) If you could help me with such a image upload curl example then I’d appreciate it! (I’m currently missing media upload).. And having that feature would be great! :)

​ Read More

Isode: M-Guard 1.5 – New Capabilities
M-Guard is an XML guard that is used at a network boundary to control traffic. An M-Guard instance is an application level data diode, with traffic flowing in one direction only. Commonly, M-Guard instances will be deployed in pairs, one controlling flow in each direction. The following is a list of the new capabilties introduced in version 1.5.

Image

**M-Guard C 
 ⌘ Read more

​ Read More

Erlang Solutions: Effortlessly Extract Data from Websites with Crawly YML

The workflow

So in our ideal world scenario, it should work in the following way:

  1. Pull Crawly Docker image from DockerHub.
  2. Create a simple configuration file.
  3. Start it!
  4. Create a spider via the YML interface.

The detailed documentation and the example can be found on HexDocs here: [https://hexdocs.pm/crawly/spiders_in_yml.html#content](https://hexdocs.pm/crawly/spiders_in_yml.html#c 
 ⌘ Read more

​ Read More

Les impĂŽts s’envolent et la France s’écrase.
Pas de doute : la France est un paradis fiscal. C’est-Ă -dire que pour le fisc et les taxopathes compulsifs, la France est un vrai paradis. Ceci n’est pas une exagĂ©ration. À ce sujet, l’actualitĂ© offre souvent d’intĂ©ressantes collisions d’informations que nos mĂ©dias s’empressent gĂ©nĂ©ralement de ne pas rassembler, ces derniers n’aimant ni les coĂŻncidences, ni les [
] ⌘ Read more

​ Read More

Ces coĂŻncidences statistiques dont on ne veut surtout pas parler
C’est avec un peu d’étonnement qu’on apprend dans une presse globalement discrĂšte que, dĂ©cidĂ©ment et malgrĂ© tout, l’annĂ©e 2022 aura vu s’installer une surmortalitĂ© de plusieurs dizaines de milliers de morts en France. VoilĂ  qui est peu commun : autant pour l’annĂ©e 2020 et l’annĂ©e 2021, on s’attendait Ă  cette surmortalitĂ© Ă©videmment causĂ©e par la pandĂ©mie [
] ⌘ Read more

​ Read More
In-reply-to » Just ordered a new phone, making the switch from Samsung Android to Iphone. Been a while since I've been excited about getting a new phone. Looking forward to it!

@prologic@twtxt.net it’ll be nice to get away from google for a while. also moved all my cloud files to proton drive (got tired of self-hosting). I want a mac too, the m2 laptop. But that will be later. but Im unsure how software development is done on it, if its easy to for example code your own stuff (c++), and also I have no idea how gui realted things are handled. but that makes it fun as well - figuring out all that stuff.

​ Read More

**RT by @mind_booster: [1/3]
MĂĄs notĂ­cias para Portugal đŸ›„ïž

Estudo divulgado hoje pela ZERO refere que Portugal mantĂ©m o 6.Âș lugar entre os paĂ­ses europeus c/ maiores nĂ­veis de poluição de Ăłxidos de enxofre emitido (SOx) pelos navios de cruzeiro depois de ItĂĄlia, Espanha, GrĂ©cia, Noruega e França.**
[1/3]

MĂĄs notĂ­cias para Portugal đŸ›„ïž

Estudo divulgado hoje pela ZERO refere que Portugal mantĂ©m o 6.Âș lugar entre os paĂ­ses europeus c/ maiores nĂ­veis de poluição de Ăłxidos de enxofre emitido (SOx) pelos navios de cruz 
 ⌘ Read more

​ Read More

AprÚs la sécheresse asymptomatique, les restrictions et les taxes éclair
Mettez-vous bien ça dans le crĂąne : l’abondance, c’est fini ! On va maintenant entrer dans l’ùre des pĂ©nuries : pĂ©nurie d’énergie, les moulins Ă  vent et les miroirs magiques ne parvenant pas Ă  combler les besoins, pĂ©nurie de viande, dĂ©cidĂ©e d’en haut, pour Ă©viter le mĂ©thane, le dioxyde de carbone et une trop bonne santĂ© du cheptel [
] ⌘ Read more

​ Read More

Grùce à une app dédiée, évitez le fusilladothon de Nantes
On l’oublie parfois, mais la RĂ©publique du Bisounoursland, ce n’est pas seulement Paris, ses lumiĂšres, ses manifestations, ses agressions, ses surmulots et son Ă©quipe municipale au taquet pour prĂ©parer des Jeux Olympiques dantesques (le mot n’est pas trop fort). C’est aussi toute une province riche de ses particularismes et de ses spĂ©cialitĂ©s culinaires comme, par [
] ⌘ Read more

​ Read More

Vous crĂšverez de faim et vous serez heureux ?
Tout se dĂ©roule donc comme prĂ©vu, c’est-Ă -dire assez mal et avec une croissance alarmante des idĂ©es plus dĂ©biles les unes que les autres : puisque la pandĂ©mie n’a pas fait assez peur pour permettre un asservissement efficace de toute la population, il Ă©tait entendu, dĂšs l’annĂ©e derniĂšre, que les hystĂ©ries climatiques prendraient le relais. GrĂące aux [
] ⌘ Read more

​ Read More

I need to add multithreading to the desktop client, I have not done that before in c++ - so that’ll be fun to figure out. I need it for the fetching of the timeline so that it happens in a separate thread. That way the GUI does not freeze while fetching the timeline. Also need to add a status bar that can show what the application is working on.

​ Read More
In-reply-to » I want to try NixOS again, and then get the yarn desktop client built on that, and then see if I can get the client into their repo. That would be fun to do. If I have time tonight I'll start on that.

So, I kinda regret installing NixOS, I had forgotten why I did not use it for c++ stuff last time. But I learned about ‘flakes’ so Im checking into that now to see if I can use that to my advantage to make it easier. So I’ll give it some more time to see if I can learn what I need to build yarn desktop client on it.

​ Read More

Le rift entre le peuple et ses dirigeants continue de croĂźtre
Que c’est beau, une RĂ©publique en marche Ă  pas cadencĂ©s, vers un futur qu’on imagine plein d’avenir et de discours aĂ©riens pour ne pas dire venteux d’Emmanuel Macron ! Chaque jour qui passe est l’occasion pour le pouvoir en place de mettre de nouvelles pierres Ă  l’édifice de progrĂšs bigarrĂ© qu’il entend construire, mĂȘme et surtout [
] ⌘ Read more

​ Read More

Em entrevista Ă  @RTPNoticias, o “Ministro do Ambiente e da Acção ClimĂĄtica” do @ambiente_pt, quanto questionado sobre a energia,sobre gĂĄs sĂł fala das preocupaçÔes quanto ao seu custo, sem nenhuma palavra a dizer sobre a Ăłbvia necessidade da redução do seu uso c/ a crise climĂĄtica
Em entrevista à @RTPNoticias, o “Ministro do Ambiente e da Acção Climática” do @ambiente_pt, quanto questionado sobre 
 ⌘ Read more

​ Read More

Les fines interventions étatiques dans le déploiement de la fibre
Depuis 2013, le fier et puissant gouvernement français et toute l’administration Hollande derriĂšre a vigoureusement lancĂ© un grand Plan TrĂšs Haut DĂ©bit qui vise Ă  apporter le plus rapidement possible la fibre optique aux foyers français : les enfants, c’est dĂ©cidĂ©, d’ici 2025, tout le monde devra ĂȘtre sĂ©vĂšrement fibré ! Et force est de constater que, [
] ⌘ Read more

​ Read More

Les Ă©lites occidentales n’en peuvent plus de cette odieuse libertĂ© d’expression
En France, pays de la LibertĂ© et des Droits de l’Homme, on peut tout dire Ă  condition de chuchoter ce qui pourrait agacer, et seulement Ă  des oreilles qui l’acceptent. Sinon, on s’attire de gros problĂšmes : la LibertĂ© et les Droits de l’Homme, c’est trĂšs bien tout ça, mais faut pas pousser. C’est ainsi qu’apostropher [
] ⌘ Read more

​ Read More

Et maintenant, la Taxe Carbone pour tous
VoilĂ , c’est dit ! Dans les prochains mois, dans la joie, la bonne humeur et l’écoresponsabilitĂ© frĂ©tillante, les foyers europĂ©ens (et français en particulier) vont enfin participer Ă  la grande lutte contre le mĂ©chant dioxyde de carbone qui ne fait rien que de nous garantir du climat tout dĂ©rĂ©glé : par le truchement d’une Union europĂ©enne en [
] ⌘ Read more

​ Read More

Les gesticulations gouvernementales pour sauver la France de la faillite
Surprise totale ! Alors que le Tour de France Ă  Casseroles Tintinnabulantes de Macron se poursuit sous les bravos d’une foule en dĂ©lire, les rĂ©centes dĂ©clarations de plusieurs membres du gouvernement laissent entendre que des efforts allaient ĂȘtre vigoureusement entrepris pour Ă©plucher les comptes publics. C’est ainsi qu’on apprend que le gouvernement prĂ©tend Ă  prĂ©sent s’inspirer [
] ⌘ Read more

​ Read More

Cette surpopulation qui n’en finit pas de ne pas arriver
On vous l’a dit, on vous l’a rĂ©pĂ©tĂ© et c’est donc forcĂ©ment vrai : la croissance dĂ©mographique dĂ©lirante de l’Afrique va entraĂźner la ruine de ce continent puis, inĂ©vitablement, celle de l’Europe, ce qui nous impose d’ores et dĂ©jĂ  de rouler en vĂ©lo, de manger des insectes et de vivre chichement dans des appartements-boĂźtes. C’est donc [
] ⌘ Read more

​ Read More

En s’appauvrissant, la France met le larcin Ă  portĂ©e des bourgeois
C’est LA tendance mode du moment, la fast-fashion Ă©co-hype au rayon frais de votre supermarché : l’antivol massif sur le steak Charal et l’entrecĂŽte dans une boĂźte en plastique transparent qui ne s’ouvre qu’en caisse
 DĂ©cidĂ©ment, la France de 2023 explore de nouveaux espaces incongrus et des latĂ©ralitĂ©s carrĂ©ment glucoses ! On l’aura compris : on assiste Ă  [
] ⌘ Read more

​ Read More

Improvements to CodeQL’s data flow library for C++
These changes will improve the experience for custom query authors and enable better precision in some of our standard queries. Learn how to enable them for your custom queries. ⌘ Read more

​ Read More

Guichet unique, échecs multiples
Depuis le 1er janvier 2023, la RĂ©publique Française a basculĂ© dans le domaine sucrĂ© du Guichet Unique NumĂ©rique Pour Les Entreprise : ce site web technofuturiste est donc devenu, youpi youpi, l’unique point d’entrĂ©e des entreprises pour rĂ©aliser leurs tracasseries formalitĂ©s administratives. Depuis, tout se dĂ©roule comme prĂ©vu : c’est un Ă©chec total. Pour garantir ce plantage [
] ⌘ Read more

​ Read More

**RT by @mind_booster: Highlights from IPCC report:

  • The world’s on track to hit above 3°C of warming by 2100.
  • Emissions must peak by 2025 and nearly halve by 2030 to keep warming to 1.5°C
  • 3-bil people likely to suffer water scarcity at 2°C.
  • No gov has a credible plan to keep warming in target.**
    Highlights from IPCC report:

- The world’s on track to hit above 3°C of warming by 2100.

- Emissions must peak by 2025 and nearly halve by 2030 to keep warming to 1.5°C

- 3-bil people likely to suffer w 
 ⌘ Read more

​ Read More
In-reply-to » Posting from c++, fltk GUI.

A lot of more work needs to be done, but at least now I got the basic timeline stuff done, took a good while to figure out how to solve it, but now I know. The reason why the statuses are cut short on some is because of html tags and stuff like that - c++ is a bit picky with strings and stuff like that. but I’ll get that sorted as well.
At least I can show the first screenshot. Keep in mind the GUI is not at all finished, I’m working on the basics first, implement all the features, then I work on finishing touches.

Image

​ Read More

Formidable, la sécu de Macron rembourse les protections périodiques mais plus les cathéters !
Il y a parfois d’amusantes collisions d’actualitĂ©, parfois fortuites, parfois non et parfois on se demande. Et alors que le gouvernement est actuellement trĂšs occupĂ© par un peuple plus remuant que prĂ©vu, le voilĂ  qui tente, envers et contre tout, d’intĂ©ressantes cabrioles avec les remboursements de sĂ©curitĂ© sociale. C’est ainsi qu’on apprend, quelqu 
 ⌘ Read more

​ Read More
In-reply-to » Test from ftlk in rust.

So, progress is going smooth!
No I have compiled libcurl with openssl, and I fetch token already.
so next is creating three functions - one for posting, one for the login and fetching token (now I have just testing login when application starts), and the fetch the timeline. Then I need the gui.
Progressed faster in 2 hours in c++ then days with rust


​ Read More
In-reply-to » Test from ftlk in rust.

Okay, so I spent about one hour setting up cmake, fltk and libcurl for c++, got all that running now.
I still need to fix the cmake script a bit, but I have a working verison now with this.
I will now add the same curl stuff I had in rust in c++, then work on the gui and all that.
So I will drop rust, and go for c++ instead, much easier for me. Was worth a try in rust, but for now that’s not for me to be honest, I much faster and better in c++.

​ Read More
In-reply-to » Test from ftlk in rust.

Im very close to making the decision to just rewrite what I have in c++ instead. I feel I would have done this much faster with that. I’ll think about it until tomorrow. I’ll probably do that anyways just to see. just start with cmake and get started with it.

​ Read More
In-reply-to » Test from ftlk in rust.

Found what I needed finally.. I now created a struct with this crate:
https://crates.io/crates/arraystring
That works for what I need, damn this has been annoying to find a solution too.
I can now store the strings I need in the struct, and use that in all the functions.
Also works with the GUI callback stuff, so it solves the Issue I’ve been having.
I have now added gui elements for server url, username, password.
And functions for fetching the timeline with the supplied info.
So now I can finally start working on the timeline GUI.

It’s been in a way easier then expected, but also somethings are a bit tricky.
I could easily have done the same in c++ much faster, but the whole point here was to learn more rust.
And for that it’s been going well.

​ Read More
In-reply-to » Test from ftlk in rust.

Also, I’m struggling a bit with some basic stuff, for example variables, does not work the same way as I’m used to with c++ it seems, so it’s a bit confusing, re-using variables as input to several functions does not seem to be as straight forward as I’m used too - so I need to find some more info about stuff like that.
Also the callback stuff for buttons and such is really weird to me. But I’ll stick with it.

​ Read More

La catastrophe immobiliĂšre commence Ă  prendre forme
Youpi, tralala, le gouvernement – butĂ© comme un Ayatollah – continue dans sa dĂ©marche idĂ©ologique de transition Ă©nergĂ©tique vers un monde plus vert, dĂ©carbonĂ© (c’est-Ă -dire sans tous ces gueux couinant pour vivre dĂ©cemment) et donc nettement moins peuplé : rĂ©jouissez-vous, la guerre contre l’énergie et donc contre vous, sous toutes ses formes, a Ă©tĂ© lancĂ©e. Et [
] ⌘ Read more

​ Read More

Vers une Europe de la défense ?
Kiev serait-elle la nouvelle destination diplomatique Ă  la mode ? En tout cas, les dignitaires occidentaux s’y relaient avec application et aprĂšs Biden ou Von Der Leyen, c’est au tour du Premier ministre espagnol de s’y rendre. Apparemment, la capitale ukrainienne serait l’endroit indispensable oĂč se montrer pour espĂ©rer avoir droit Ă  une photo dans les [
] ⌘ Read more

​ Read More

I will try and write a small cli example project in rust, that will let you post a message on yarn through a server url. Once I have that - I will then try and write a client with GUI and all that. I have not used rust much - but I really want to learn it more. I usually stick with c++. Not sure how much time it’ll take to get started, but I’ll give it a try.

​ Read More

L’Etat macronien, en mĂȘme temps, veut refaire du nuclĂ©aire avec votre argent
Rappelez-vous, c’était il y a quelques annĂ©es : en tant que citoyen français, vous pouviez quasiment faire ce que vous vouliez de vos finances aprĂšs les indispensables ponctions fiscales et sociales qui permettaient au pays de disposer d’un systĂšme social que le monde entier nous enviait (sans nous copier, pas fou). Mais ça, c’était il y [
] ⌘ Read more

​ Read More

On the topic of Programming Languages and Telemetry. I’m kind of curious
 Do any of these programming language and their toolchains collect telemetry on their usage and effectively “spy” on your development?

  • Python
  • C
  • C++
  • Java
  • C#
  • Visual Basic
  • Javascript
  • SQL
  • Assembly Language
  • PHP

​ Read More

RT by @mind_booster: One of the world’s biggest polluters, #Shell, just announced obscene annual profit of $40bn. Shell accounts for close to 1.6% of the global 1.5°C carbon budget. We must prioritize people and planet over profit and #ActInTime. https://www.theguardian.com/business/2023/feb/02/shell-profits-2022-surging-oil-prices-gas-ukraine
One of the world’s biggest polluters, #Shell, just announced obscene annual profit of $40bn. Shell accounts for close to 1. 
 ⌘ Read more

​ Read More

**This is how every news program should start, what political interviews first question should be about, the first impact assessment to every decision that is made.

The world knows how disastrous >1.5C is, pretends to be doing what is needed to avoid it, but we’re heading to 2°C.**
This is how every news program should start, what political interviews first question should be about, the first impact assessment to every decision that is made.

The world knows how disastrous >1.5C is, pretends to be doing what i 
 ⌘ Read more

​ Read More

2023 : fin de l’hĂ©gĂ©monie du dollar amĂ©ricain ?
Si l’Histoire nous enseigne quelque chose, c’est qu’un empire ne peut tenir dans la durĂ©e que grĂące Ă  deux Ă©lĂ©ments clĂ©s : son armĂ©e et sa monnaie. Son armĂ©e, car l’empire doit ĂȘtre capable de protĂ©ger son territoire et de conquĂ©rir de nouvelles terres pour s’étendre ; et sa monnaie, car c’est avec celle-lĂ  qu’elle [
] ⌘ Read more

​ Read More

**R to @mind_booster: “2045 nĂŁo Ă© bom?”

Não: tendo em conta o carbon budget de 2022, precisamos de atingir net-zero carbónico o mais tardar em 2040 para atingir mas não ultrapassar os 1.5°C.**
“2045 nĂŁo Ă© bom?”

Não: tendo em conta o carbon budget de 2022, precisamos de atingir net-zero carbónico o mais tardar em 2040 para atingir mas não ultrapassar os 1.5°C. ⌘ Read more

​ Read More
In-reply-to » @prologic @movq this is the default behavior of pass on my machine:

@abucci@anthony.buc.ci So.. The issue is that its showing the password by default? Would making an alias to always include the -c help? We can probably engage Jason with a PR to enable a more hardened approach when desired. I’ve spoken to him before and is generally a pretty open to ideas.

I found this app that was created by the gopass author that does copy by default and has a tui or GUI mode https://github.com/cortex/ripasso

​ Read More
In-reply-to » @prologic @movq this is the default behavior of pass on my machine:

@abucci@anthony.buc.ci So.. The issue is that its showing the password by default? Would making an alias to always include the -c help? We can probably engage Jason with a PR to enable a more hardened approach when desired. I’ve spoken to him before and is generally a pretty open to ideas.

I found this app that was created by the gopass author that does copy by default and has a tui or GUI mode https://github.com/cortex/ripasso

​ Read More

Salto, fini les galipettes : le contribuable français se fracasse sur Netflix
Ce vendredi, drame : le contribuable va devoir verser une petite larme car il ne pourra plus faire de petites cabrioles, devra faire une croix sur les galipettes et surtout, c’en est fini de Salto. Pour le rappel, Salto n’est pas ce mouvement gymnastique que le contribuable devrait effectuer pour rĂ©cupĂ©rer son argent (tant le fisc [
] ⌘ Read more

​ Read More

2024 devient 1984 : des médias de propagande et un corps médical sous surveillance
L’annĂ©e 2023 vient Ă  peine de commencer que, dĂ©jĂ , de multiples signes s’accumulent dans la presse de grand chemin qui montrent que jamais la libertĂ© d’expression n’aura Ă©tĂ© autant attaquĂ©e. C’est, sans surprise, le deux-poids deux-mesures dĂ©jĂ  Ă©voquĂ© dans un prĂ©cĂ©dent article qui permet aux journalistes de s’époumoner en outrages courroucĂ©s lorsqu’un des leurs est [
] ⌘ Read more

​ Read More

Une sobriĂ©tĂ© qui s’appelle famine
Pour paraphraser un petit poulet un peu trop gonflĂ© de sa propre importance, “l’abondance, c’est fini”. Apparemment, il va falloir tenir compte d’une rĂ©alitĂ© de terrain quelque peu bousculĂ©e : lorsqu’on regarde certains indicateurs avancĂ©s, on se rend compte qu’effectivement, la sobriĂ©tĂ© va s’abattre sur le monde, plus ou moins mollement selon les rĂ©gions. Bien Ă©videmment, [
] ⌘ Read more

​ Read More

Pourquoi ChatGPT n’est pas qu’une intĂ©ressante curiositĂ©
Le 30 novembre 2022 est une date Ă  garder en tĂȘte : c’est ce jour que ChatGPT est officiellement devenu accessible Ă  tous. ChatGPT a Ă©tĂ© produit par OpenAI, une sociĂ©tĂ© créée en 2015 et qui s’est lancĂ©e dans l’intelligence artificielle. En janvier 2021, elle proposait dĂ©jĂ  Dall-E, un modĂšle de traitement du langage entraĂźnĂ© sur [
] ⌘ Read more

​ Read More

**RT by @mind_booster: Remember:

  1. We’re at 1.25/1.75°C of global warming and rising fast.

  2. Fossil fuel emissions should have peaked in 2022 to avoid 2.5°C, but they didn’t.

  3. Forest degradation is getting worse.

  4. Capitalism has put world-ending 2.25/2.75°C by 2045- 2090 in the pipelines. đŸ§”**
    Remember:

1. We’re at 1.25/1.75°C of global warming and rising fast.

2. Fossil fuel emissions should have peaked in 2022 to avoid 2.5°C, but they didn’t.

3. Forest degradation is getting worse.

4. Capitalis 
 ⌘ Read more

​ Read More

C’est bon, dĂ©tendez-vous, on passe l’hiver !
Si les tempĂ©ratures ne sont pas trĂšs Ă©levĂ©es, reconnaissons au moins Ă  certains amateurs de ballon rond de savoir dĂ©geler plus que l’ambiance dans les rues françaises. Pendant que l’homoncule en charge du ministĂšre de l’IntĂ©rieur fait semblant de s’agiter Ă  rĂ©duire un peu l’empreinte carbone de ces fĂȘtards Ă©motifs dans les rues de Paris, [
] ⌘ Read more

​ Read More

**RT by @mind_booster: 1.

‘equilibrium climate sensitivity is at least ~4°C with a likely range of 3.5-5.5°C.

global warming in the pipeline is greater than prior estimates.’

James Hansen and colleagues release new work for discussion.

This should be front page news.

https://arxiv.org/abs/2212.04474**
1.

‘equilibrium climate sensitivity is at least ~4°C with a likely range of 3.5-5.5°C.

global warming in the pipeline is greater than prior estimates.’

James Hansen and colleagues release new work for discus 
 ⌘ Read more

​ Read More

Une transition Ă©nergique vers le pas d’énergie du tout
Jadis, les fiers Gaulois (dont certains extrĂ©mistes chuchotent qu’ils seraient nos ancĂȘtres) avaient peur que le ciel ne leur tombe malencontreusement sur la tĂȘte. Quelques millĂ©naires plus tard, la Scienceℱ aidant, ces superstitions Ă©videmment ridicules se sont Ă©vaporĂ©es et ne reste plus que la douce rĂ©alitĂ© de la programmation gouvernementale rigoureuse. C’est d’ailleurs grĂące Ă  [
] ⌘ Read more

​ Read More

BientĂŽt Paris sous tutelle ? Puis ensuite, la France ?
Le vendredi, c’est poisson et la morue en est un excellent qu’on peut par exemple dĂ©guster en brandade. Sans rapport aucun, signalons qu’Anne Hidalgo fait actuellement parler d’elle alors que la ville dont elle a la charge serait en trĂšs fĂącheuse posture budgĂ©taire. Il est vrai que la situation Ă©conomique du pays et l’inflation galopante [
] ⌘ Read more

​ Read More

DĂ©rives sectaires : n’oubliez pas la plus grandes des sectes
La stupĂ©faction est totale : on apprenait il y a quelques jours que la France, pourtant pays du miel et du lait, serait le terreau fertile Ă  l’apparition de certaines sectes et autres groupuscules louches Ă  “caractĂšre sectaire”. C’est en tout cas ce que s’est Ă©poumonĂ© Ă  dire la mission interministĂ©rielle dĂ©diĂ©e, la Miviludes, dans un [
] ⌘ Read more

​ Read More
In-reply-to » @movq yeah.. i rewrote it a few times because i thought there was something breaking.. but was mistaken though now i am seeing a weird cache corruption.. that seems to come and go. Media

I have found the issue with this very subtle bug.. the cache was returning a slice that would be mutated. The mutation involved appending an item and then sorting. because the returned slice is just a pointer+length the sort would modify the same memory.

          CACHE         Returned slice          
original: [A B C D]     [A B C D]
add:      [A B C D] E   [A B C D E]
sort:     [E A B C] D   [A B C D E]

fix found here:
https://git.mills.io/yarnsocial/yarn/pulls/1072

​ Read More
In-reply-to » @movq yeah.. i rewrote it a few times because i thought there was something breaking.. but was mistaken though now i am seeing a weird cache corruption.. that seems to come and go. Media

I have found the issue with this very subtle bug.. the cache was returning a slice that would be mutated. The mutation involved appending an item and then sorting. because the returned slice is just a pointer+length the sort would modify the same memory.

          CACHE         Returned slice          
original: [A B C D]     [A B C D]
add:      [A B C D] E   [A B C D E]
sort:     [E A B C] D   [A B C D E]

fix found here:
https://git.mills.io/yarnsocial/yarn/pulls/1072

​ Read More

Le suicide par écologisme
Il faut que les choses soient claires : l’empreinte carbone qu’il s’agit de rĂ©duire, c’est vous ! Et c’est tellement vrai, tellement Ă©vident qu’une rĂ©cente tribune du Monde revient sur ce qui est maintenant un but affichĂ© de l’écologie de combat, Ă  savoir la rĂ©duction active de l’HumanitĂ©. Peu importe que les derniĂšres projections raisonnables montrent une [
] ⌘ Read more

​ Read More

Panier-Runacher : Sobriété bien ordonnée commence par les autres
Le vendredi, c’est traditionnellement poisson. Ce jour-ci, ce sera du OrdralfabĂ©tix, c’est-Ă -dire pourri, et par la tĂȘte comme il se doit. La surprise est totale : on apprend par deux sources, Investigate et Disclose, que l’actuelle ministre de la transition Ă©nergĂ©tique, AgnĂšs Pannier-Runacher, est directement liĂ©e par des intĂ©rĂȘts financiers et familiaux avec la seconde compagnie [
] ⌘ Read more

​ Read More

Comment continuer Ă  voir Rumble en France ?
Encore une fois, l’État français sombre dans le ridicule et la tentative de censure la plus vile. On apprend que le site de vidĂ©o en lignes Rumble n’affiche plus qu’un petit panneau laconique pour les visiteurs provenant de la France. C’était une Ă©tape sinon prĂ©visible du moins logique aprĂšs les derniers articles de la presse [
] ⌘ Read more

​ Read More

RT by @mind_booster: Dear public bodies, business, & politicians: “incremental change is no longer an option: broad-based economy-wide transformations are required to avoid closing the window of opportunity to limit global warming to well below 2°C, pref. 1.5°C. Every fraction of a degree matters.”
Dear public bodies, business, & politicians: “incremental change is no longer an option: broad-based economy-wide transformations are required to avoid closing the window of opportunity to limit global warming to w 
 ⌘ Read more

​ Read More

Au moins Sandrine Rousseau Ă©chappera au sentiment d’insĂ©curitĂ©
Ce sont des tombereaux de menaces par internet qui s’abattent sur une Ă©lue de la RĂ©publique. « C’est hyper-violent, on ne sait pas comment elle tient » aurait dĂ©clarĂ© l’entourage de l’inĂ©narrable Sandrine Rousseau, dont le mandat de dĂ©putĂ© EELV semble lui avoir donnĂ© une tribune permanente pour le militantisme Ă©cofĂ©ministe le plus dĂ©bridĂ©, ce qui aurait [
] ⌘ Read more

​ Read More

Et un chargeur unique pour les gouverner tous
Vous ne l’avez probablement pas entendu (ou pas assez) mais tout un continent vient de pousser un « ouf » de soulagement : enfin, les chargeurs de smartphone vont ĂȘtre standardisĂ©s en Union EuropĂ©enne ! C’est une vĂ©ritable victoire que vient ici de signer le Parlement europĂ©en en imposant le chargeur unique pour smartphones d’ici l’automne 2024 : partant du [
] ⌘ Read more

​ Read More

ÉlectricitĂ© : « ChĂ©rie, je crois que ça va couper ! »
Les clowneries de nos ministres s’étaient largement dĂ©ployĂ©es pendant la crise sanitaire, et n’avaient commencĂ© Ă  se calmer qu’avec l’agacement visible des foules devant la multiplication artificielle du nombre de vagues, de cas et maintenant de picouses magiques. Avec la crise Ă©nergĂ©tique, c’est le retour de la clownerie industrielle et planifiĂ©e, dont le cĂŽtĂ© grotesque [
] ⌘ Read more

​ Read More

“Para Portugal, [
] seria necessĂĄrio garantir uma redução de emissĂ”es de pelo menos 61% atĂ© 2030 relativamente aos nĂ­veis de 2005, em vez dos atuais 55% na Lei de bases do Clima, para alinhar o paĂ­s com a meta de 1,5°C”
“Para Portugal, [
] seria necessĂĄrio garantir uma redução de emissĂ”es de pelo menos 61% atĂ© 2030 relativamente aos nĂ­veis de 2005, em vez dos atuais 55% na Lei de bases do Clima, para alinhar o paĂ­s com a meta de 1,5°C”

[nitter.net/ZEROasts/status/1575415098352586760#m](https://nitter.n 
 ⌘ Read more

​ Read More

MĂȘme squattĂ©, entretenez votre bien et oubliez vos droits de propriĂ©taire
La façon dont le droit de propriĂ©tĂ© est interprĂ©tĂ© par les diffĂ©rentes cours de justice de la RĂ©publique française ne cessent d’amuser la galerie et c’est sans surprise que des affaires dĂ©frayent rĂ©guliĂšrement la chronique. Ainsi, derniĂšrement, on apprend que mĂȘme occupĂ© illĂ©galement, votre logement doit ĂȘtre entretenu. Eh oui m’ame Ginette, mĂȘme lorsque votre [
] ⌘ Read more

​ Read More

Élisabeth Borne lance un nouveau (rantan)plan vĂ©lo !
Le temps passe vite mais pas assez pour tout oublier. C’est ainsi qu’on se souvient d’il y a un peu plus d’un an, une certaine Elisabeth Borne lançait avec brio un premier plan vĂ©lo qui permettait enfin Ă  chaque Français d’entrer – en pĂ©dalant – dans le XXIĂšme siĂšcle. Pour parfaire les rĂ©sultats dĂ©jĂ  flamboyants [
] ⌘ Read more

​ Read More

Réforme des retraites ou rafistolage de circonstances ?
Mais puisqu’on vous dit que Macron, c’est Le Grand RĂ©formateur ! Puisqu’on vous dit qu’il n’a pas arrĂȘtĂ© de rĂ©former, d’affĂ»ter avec habiletĂ© la France pour la prochaine dĂ©cennie ! Les petits dĂ©rapages budgĂ©taires n’y changeront rien : les rĂ©formes sont sur des rails, elles passeront. Quoi qu’il en coĂ»te. C’est sans doute dans cet esprit que l’actuel [
] ⌘ Read more

​ Read More

working with c++, windows, cmake and wxwidgets reminded me on why I want to learn more rust. rust and crates makes it really easy to get up and running, crossplatform. scrapping what I did today, I’ll start over and force my self to learn rust.

​ Read More

Économisez, Ă©conomisez, Ă©conomisez, il en restera bien quelque chose !
Le gouvernement est un petit malin et comme d’habitude, il a tout prĂ©vu : alors mĂȘme que les tempĂ©ratures extĂ©rieures ne sont pas encore problĂ©matiques, il sent bien que les prochaines semaines pourraient poser quelques soucis. C’est pour cela qu’il a dĂ©pĂȘchĂ© la plus affĂ»tĂ©e de ses membres pour lancer une belle campagne de propag d’information [
] ⌘ Read more

​ Read More

Le plan se dĂ©roule comme prĂ©vu, c’est-Ă -dire mal pour le peuple
Comme le disait rĂ©guliĂšrement Hannibal Smith, il n’y a rien de tel qu’un plan qui se dĂ©roule sans accrocs et celui qui consiste Ă  transformer Ă  grands coups de pieds au derriĂšre la riche sociĂ©tĂ© occidentale en sociĂ©tĂ© pauvre et dĂ©sorganisĂ©e semble porter ses fruits : ça se transforme de plus en plus. Dans cette « grande [
] ⌘ Read more

​ Read More

L’absolue nĂ©cessitĂ© de la peur
Alors que l’automne n’est mĂȘme pas encore entamĂ©, tout le monde semble vouloir parler dĂ©jĂ  d’hiver. À commencer bien sĂ»r par nos Ă©lites qui nous rappellent, par leur incroyable talent prĂ©visionniste, que gouverner c’est prĂ©voir, vous allez voir ce que vous allez voir. D’ailleurs, on a vu : ayant su prĂ©voir – avec un brio inĂ©galĂ© [
] ⌘ Read more

​ Read More

Une presse française lùche et paresseuse
Ah, finalement, qu’il est doux d’ĂȘtre journaliste en France dans un journal de rĂ©vĂ©rence ! Jadis, c’était un travail fatigant, voire stressant et parfois mĂȘme risqué : il fallait aller chercher l’information directement sur le terrain et la corroborer le carnet de notes Ă  la main. Certains Ă©vĂ©nements pouvaient impliquer de mettre sa vie en danger ; et [
] ⌘ Read more

​ Read More

C’est la rentrĂ©e, alors faites confiance au gouvernement !
VoilĂ , c’est dit ! Cet hiver sera rude : on va se cailler les miches mais finalement, cela permettra Ă  tous de prendre de bonnes rĂ©solutions sur le chemin de la SobriĂ©tĂ© ÉnergĂ©tique, de goĂ»ter au plaisir des douches froides, des repas crus et des longs trajets en vĂ©lo sous la pluie, la neige et les missiles [
] ⌘ Read more

​ Read More
In-reply-to » Progress! so i have moved into working on aggregates. Which are a grouping of events that replayed on an object set the current state of the object. I came up with this little bit of generic wonder.

(cont.)

Just to give some context on some of the components around the code structure.. I wrote this up around an earlier version of aggregate code. This generic bit simplifies things by removing the need of the Crud functions for each aggregate.

Domain Objects

A domain object can be used as an aggregate by adding the event.AggregateRoot struct and finish implementing event.Aggregate. The AggregateRoot implements logic for adding events after they are either Raised by a command or Appended by the eventstore Load or service ApplyFn methods. It also tracks the uncommitted events that are saved using the eventstore Save method.

type User struct {
  Identity string ```json:"identity"`

  CreatedAt time.Time

  event.AggregateRoot
}

// StreamID for the aggregate when stored or loaded from ES.
func (a *User) StreamID() string {
	return "user-" + a.Identity
}
// ApplyEvent to the aggregate state.
func (a *User) ApplyEvent(lis ...event.Event) {
	for _, e := range lis {
		switch e := e.(type) {
		case *UserCreated:
			a.Identity = e.Identity
			a.CreatedAt = e.EventMeta().CreatedDate
        /* ... */
		}
	}
}
Events

Events are applied to the aggregate. They are defined by adding the event.Meta and implementing the getter/setters for event.Event

type UserCreated struct {
	eventMeta event.Meta

	Identity string
}

func (c *UserCreated) EventMeta() (m event.Meta) {
	if c != nil {
		m = c.eventMeta
	}
	return m
}
func (c *UserCreated) SetEventMeta(m event.Meta) {
	if c != nil {
		c.eventMeta = m
	}
}
Reading Events from EventStore

With a domain object that implements the event.Aggregate the event store client can load events and apply them using the Load(ctx, agg) method.

// GetUser populates an user from event store.
func (rw *User) GetUser(ctx context.Context, userID string) (*domain.User, error) {
	user := &domain.User{Identity: userID}

	err := rw.es.Load(ctx, user)
	if err != nil {
		if err != nil {
			if errors.Is(err, eventstore.ErrStreamNotFound) {
				return user, ErrNotFound
			}
			return user, err
		}
		return nil, err
	}
	return user, err
}
OnX Commands

An OnX command will validate the state of the domain object can have the command performed on it. If it can be applied it raises the event using event.Raise() Otherwise it returns an error.

// OnCreate raises an UserCreated event to create the user.
// Note: The handler will check that the user does not already exsist.
func (a *User) OnCreate(identity string) error {
    event.Raise(a, &UserCreated{Identity: identity})
    return nil
}

// OnScored will attempt to score a task.
// If the task is not in a Created state it will fail.
func (a *Task) OnScored(taskID string, score int64, attributes Attributes) error {
	if a.State != TaskStateCreated {
		return fmt.Errorf("task expected created, got %s", a.State)
	}
	event.Raise(a, &TaskScored{TaskID: taskID, Attributes: attributes, Score: score})
	return nil
}
Crud Operations for OnX Commands

The following functions in the aggregate service can be used to perform creation and updating of aggregates. The Update function will ensure the aggregate exists, where the Create is intended for non-existent aggregates. These can probably be combined into one function.

// Create is used when the stream does not yet exist.
func (rw *User) Create(
  ctx context.Context,
  identity string,
  fn func(*domain.User) error,
) (*domain.User, error) {
	session, err := rw.GetUser(ctx, identity)
	if err != nil && !errors.Is(err, ErrNotFound) {
		return nil, err
	}

	if err = fn(session); err != nil {
		return nil, err
	}

	_, err = rw.es.Save(ctx, session)

	return session, err
}

// Update is used when the stream already exists.
func (rw *User) Update(
  ctx context.Context,
  identity string,
  fn func(*domain.User) error,
) (*domain.User, error) {
	session, err := rw.GetUser(ctx, identity)
	if err != nil {
		return nil, err
	}

	if err = fn(session); err != nil {
		return nil, err
	}

	_, err = rw.es.Save(ctx, session)
	return session, err
}

​ Read More
In-reply-to » Progress! so i have moved into working on aggregates. Which are a grouping of events that replayed on an object set the current state of the object. I came up with this little bit of generic wonder.

(cont.)

Just to give some context on some of the components around the code structure.. I wrote this up around an earlier version of aggregate code. This generic bit simplifies things by removing the need of the Crud functions for each aggregate.

Domain Objects

A domain object can be used as an aggregate by adding the event.AggregateRoot struct and finish implementing event.Aggregate. The AggregateRoot implements logic for adding events after they are either Raised by a command or Appended by the eventstore Load or service ApplyFn methods. It also tracks the uncommitted events that are saved using the eventstore Save method.

type User struct {
  Identity string ```json:"identity"`

  CreatedAt time.Time

  event.AggregateRoot
}

// StreamID for the aggregate when stored or loaded from ES.
func (a *User) StreamID() string {
	return "user-" + a.Identity
}
// ApplyEvent to the aggregate state.
func (a *User) ApplyEvent(lis ...event.Event) {
	for _, e := range lis {
		switch e := e.(type) {
		case *UserCreated:
			a.Identity = e.Identity
			a.CreatedAt = e.EventMeta().CreatedDate
        /* ... */
		}
	}
}
Events

Events are applied to the aggregate. They are defined by adding the event.Meta and implementing the getter/setters for event.Event

type UserCreated struct {
	eventMeta event.Meta

	Identity string
}

func (c *UserCreated) EventMeta() (m event.Meta) {
	if c != nil {
		m = c.eventMeta
	}
	return m
}
func (c *UserCreated) SetEventMeta(m event.Meta) {
	if c != nil {
		c.eventMeta = m
	}
}
Reading Events from EventStore

With a domain object that implements the event.Aggregate the event store client can load events and apply them using the Load(ctx, agg) method.

// GetUser populates an user from event store.
func (rw *User) GetUser(ctx context.Context, userID string) (*domain.User, error) {
	user := &domain.User{Identity: userID}

	err := rw.es.Load(ctx, user)
	if err != nil {
		if err != nil {
			if errors.Is(err, eventstore.ErrStreamNotFound) {
				return user, ErrNotFound
			}
			return user, err
		}
		return nil, err
	}
	return user, err
}
OnX Commands

An OnX command will validate the state of the domain object can have the command performed on it. If it can be applied it raises the event using event.Raise() Otherwise it returns an error.

// OnCreate raises an UserCreated event to create the user.
// Note: The handler will check that the user does not already exsist.
func (a *User) OnCreate(identity string) error {
    event.Raise(a, &UserCreated{Identity: identity})
    return nil
}

// OnScored will attempt to score a task.
// If the task is not in a Created state it will fail.
func (a *Task) OnScored(taskID string, score int64, attributes Attributes) error {
	if a.State != TaskStateCreated {
		return fmt.Errorf("task expected created, got %s", a.State)
	}
	event.Raise(a, &TaskScored{TaskID: taskID, Attributes: attributes, Score: score})
	return nil
}
Crud Operations for OnX Commands

The following functions in the aggregate service can be used to perform creation and updating of aggregates. The Update function will ensure the aggregate exists, where the Create is intended for non-existent aggregates. These can probably be combined into one function.

// Create is used when the stream does not yet exist.
func (rw *User) Create(
  ctx context.Context,
  identity string,
  fn func(*domain.User) error,
) (*domain.User, error) {
	session, err := rw.GetUser(ctx, identity)
	if err != nil && !errors.Is(err, ErrNotFound) {
		return nil, err
	}

	if err = fn(session); err != nil {
		return nil, err
	}

	_, err = rw.es.Save(ctx, session)

	return session, err
}

// Update is used when the stream already exists.
func (rw *User) Update(
  ctx context.Context,
  identity string,
  fn func(*domain.User) error,
) (*domain.User, error) {
	session, err := rw.GetUser(ctx, identity)
	if err != nil {
		return nil, err
	}

	if err = fn(session); err != nil {
		return nil, err
	}

	_, err = rw.es.Save(ctx, session)
	return session, err
}

​ Read More