Searching txt.sour.is

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

RT by @mind_booster: Two ‘discourses of climate delay’ which are super prevalent right now
1⃣ “The solution is nuclear”. The Swiss Govt is pushing this one, via Energy, Climate & Transport Minister Rösti (also a fossil fuel lobbyist and climate denier) & lobby groups are advertising with billboards.

Two ‘discourses of climate delay’ which are super prevalent right now

1⃣ “The solution is nuclear”. The Swiss Govt is pushing this one, via Energy, Climate & Transport Minister Rösti (also a fossil fuel lobbyi … ⌘ Read more

⤋ Read More
In-reply-to » slides/go-generics.md at main - slides - Mills -- I'm presenting this tomorrow at work, something I do every Wednesday to teach colleagues about Go concepts, aptly called go mills() 😅

So. Some bits.

i := fIndex(xs, 5.6)

Can also be

i := Index(xs, 5.6)

The compiler can infer the type automatically. Looks like you mention that later.

Also the infer is super smart.. You can define functions that take functions with generic types in the arguments. This can be useful for a generic value mapper for a repository

func Map[U,V any](rows []U, fn func(U) V) []V {
  out := make([]V, len(rows))
  for i := range rows { out = fn(rows[i]) }
  return out
}


rows := []int{1,2,3}
out := Map(rows, func(v int) uint64 { return uint64(v) })

I am pretty sure the type parameters goes the other way with the type name first and constraint second.

func Foo[comparable T](xs T, s T) int

Should be


func Foo[T comparable](xs T, s T) int

⤋ Read More
In-reply-to » slides/go-generics.md at main - slides - Mills -- I'm presenting this tomorrow at work, something I do every Wednesday to teach colleagues about Go concepts, aptly called go mills() 😅

So. Some bits.

i := fIndex(xs, 5.6)

Can also be

i := Index(xs, 5.6)

The compiler can infer the type automatically. Looks like you mention that later.

Also the infer is super smart.. You can define functions that take functions with generic types in the arguments. This can be useful for a generic value mapper for a repository

func Map[U,V any](rows []U, fn func(U) V) []V {
  out := make([]V, len(rows))
  for i := range rows { out = fn(rows[i]) }
  return out
}


rows := []int{1,2,3}
out := Map(rows, func(v int) uint64 { return uint64(v) })

I am pretty sure the type parameters goes the other way with the type name first and constraint second.

func Foo[comparable T](xs T, s T) int

Should be


func Foo[T comparable](xs T, s T) int

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

Got some good progress on the GTK gui today, got the timeline to work!
Took some time to figure out how the UI layout stuff works, but it looks good now.
I will add the avatars next.

The way it is right now - I got this up and running in a couple of hours, instead of ‘days’ with FLTK.
So I’m glad I made the decision to switch to GTK,
Right now I’m doing all development on Trisquel OS, windows version will come later on.

Also - since I thought about the possibility that I wanted to switch early in the process the code that does all the work is UI independent, meaning this was easy to do. +1 for planning ahead.. :)
I will post a screenshot of the new UI soon, once it’s a bit polished.

⤋ Read More

RT by @mind_booster: A tarde hoje vai ser ocupada com actividades práticas, vamos ter 1 hackthon; e oficinas de @wikipedia, @wikidata, @commons, cujo tema será JAZZ, em jeito de homenagem a José Duarte que faleceu esta semana. #rádioportuguesa #jazz #ameninadança href=”https://txt.sour.is/search?q=%235minutosdejazz”>#5minutosdejazz**
A tarde hoje vai ser ocupada com actividades práticas, vamos ter 1 hackthon; e oficinas de @wikipedia, @wikidata, [@commons](https://nitter.net/Com … ⌘ Read more

⤋ Read More

CodeQL zero to hero part 1: the fundamentals of static analysis for vulnerability research
Learn more about static analysis and how to use it for security research!
In this blog post series, we will take a closer look at static analysis concepts, present GitHub’s static analysis tool CodeQL, and teach you how to leverage static analysis for security research by writing custom CodeQL queries. ⌘ Read more

⤋ Read More

**RT by @mind_booster: O Director Nacional da Polícia Judiciária afirmou que espera que eu nunca venha a precisar da PJ, enquanto vítima, devido à minha opinião no tema dos metadados 😶

Uma expressão infeliz… espero eu.

Segue🧵

Podcast Soberania @dntwit @ValentinaM2015
1/
https://www.dn.pt/podcast/soberania/episodio/soberania-ep3-metatados-combate-ao-crime-e-o-direito-a-privacidade-16071953.html**
O Director Nacional da Polícia Judiciária afirmou que espera que eu nunca venha a precisar da PJ, enquanto víti … ⌘ 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

RT by @mind_booster: RT @fsf@fsf
LibrePlanet 2023: Charting the Course keynote “Education and the future of software freedom” by Erin Rose Glass (erinroseglass) will be starting soon in the Jupiter room. Check this talk out and more via: https://u.fsf.org/3yr (½)

RT @fsf@fsf

LibrePlanet 2023: Charting the Course keynote “Education and the future of software freedom” by Erin Rose Glass (erinroseglass) will be starting soon in the Jupiter room. Check this talk out and more via: [u.fsf.org/3yr … ⌘ Read more

⤋ Read More

Ignite Realtime Blog: Release v1.1.0 of the MUC Real-Time Block List plugin for Openfire
We are happy to announce the immediate availability of a new version of the MUC Real-Time Block List plugin for Openfire, our cross-platform real-time collaboration server based on the XMPP protocol! This plugin can help you moderate your chat rooms, especially when your service is part of a larger network of federate … ⌘ Read more

⤋ Read More

Erlang Solutions: Presentamos el soporte de transmisión en RabbitMQ
¿Quiere saber más sobre el soporte de transmisión en RabbitMQ? Arnaud Cogoluègnes, ingeniero de personal de VMware, desglosa todo lo que hay que saber en la Cumbre RabbitMQ de 2021.

En julio de 2021, se introdujeron streams a RabbitMQ, utilizando un nuevo protocolo extremadamente rápido que se puede utilizar junto con AMQP 0.9.1. Los [streams](https://www.erlang-solutions.com/blog/rabbitmq-quorum-queues-explaine … ⌘ Read more

⤋ Read More

Ignite Realtime Blog: Botz version 1.2.0 release
We have just released version 1.2.0 of the Botz framework for Openfire!

The Botz library adds to the already rich and extensible Openfire with the ability to create internal user bots.

In this release, a bug that prevented client sessions for bots from being created was fixed. Hat-tip to

Kris Iyer for working with us on a fix!

Download the latest version of the Botz framework from [its project page](https://www.igniterealtime.org/projects/botz/ … ⌘ Read more

⤋ Read More

Isode: M-Guard 1.4 New Capabilities
M-Guard 1.4 is a platform support update release for M-Guard Console and M-Guard Appliance. M-Guard Appliance has been updated to use UEFI instead of BIOS for key system services.

Platform Support

The M-Guard Appliance now supports running on Netgate 6100 and 6100 MAX appliance systems.

M-Guard Appliance on Hyper-V now uses Generation 2 virtual machines.

M-Guard Appliance on VirtualBox now uses EFI.

Use of BIOS for booting is deprecated in favor of UEF … ⌘ Read more

⤋ Read More

Ignite Realtime Blog: HTTP File Upload v1.2.2 released!
We’ve just released version 1.2.2 of the HTTP File Upload plugin for Openfire. This release includes Ukrainian language support, thanks to Yurii Savchuk (svais) and his son Vladislav Savchuk (Bruhmozavr), as well as a few updated translations for Portuguese, Russian and English.

Grab it from the plugins page in your Openfire Admin Console, or download manually from the HTTP File Upload archive page, [here](https://www.igniterealtime.o … ⌘ Read more

⤋ Read More

**RT by @mind_booster: «Metadados: O Tribunal Constitucional tem costas largas»

Artigo de opinião do presidente da D3 @EdSantos754, hoje, no @dntwit.
#DireitosDigitais #Metadados
1/3
https://www.dn.pt/opiniao/metadados-o-tribunal-constitucional-tem-costas-largas-15938285.html**
«Metadados: O Tribunal Constitucional tem costas largas»

Artigo de opinião do presidente da D3 @EdSantos754, hoje, no [@dntwit](https://nitter.net/dntwit “Diá … ⌘ Read more

⤋ Read More

JMP: Cheogram Android: Stickers
One feature people ask about from time to time is stickers.  Now, “stickers” isn’t really a feature, nor is it even universally agreed what it means, but we’ve been working on some improvements to Cheogram Android (and the Cheogram service) to make some sticker workflows better, released today in 2.12.1-3.  This post will mostly talk about those changes and the technical implications; if you just want to see a demo of som … ⌘ Read more

⤋ Read More

**RT by @mind_booster: [Workshop de Introdução ao Git]

📆 06/03
🕘 18 horas
📍 DETI - 4.1.19

A AETTUA em conjunto com o GLUA organizou um workshop de Introdução ao Git onde terás a oportunidade de ficar a conhecer esta plataforma e pôr alguns conceitos em prática.

Inscrições: https://workshop-git.aettua.pt/**
[Workshop de Introdução ao Git]

📆 06/03

🕘 18 horas

📍 DETI - 4.1.19

A AETTUA em conjunto com o GLUA organizou um workshop de Introdução ao Git onde terás a oportunidade de ficar a conhecer esta plataforma e pôr … ⌘ Read more

⤋ Read More

Ignite Realtime Blog: inVerse Openfire plugin 10.1.2-1 released!
Earlier today, version 10.1.2 release 1 of the Openfire inVerse plugin was released. This plugin allows you to easily deploy the third-party Converse client in Openfire. In this release, the version of the client that is bundled in the plugin is updated to 10.1.2!

The updated plugin should become available for download in your Openfire admin console in the course of the next few hours. Alte … ⌘ Read more

⤋ Read More

**Sondagem (e comparação com os resultados nas últimas eleições):

PS 32 (-9.4), PSD 31 (+3.3), CH 11 (+3.8), IL 8 (+3.1), BE 7 (+2.6), CDU (-0.3), PAN 2 (+0.4), L 2 (+0.7), CDS 1 (-0.6)**
Sondagem (e comparação com os resultados nas últimas eleições):

PS 32 (-9.4), PSD 31 (+3.3), CH 11 (+3.8), IL 8 (+3.1), BE 7 (+2.6), CDU (-0.3), PAN 2 (+0.4), L 2 (+0.7), CDS 1 (-0.6)

nitter.net/RuidoCorvo/status/1628501716843876356#mRead more

⤋ Read More

“New START limits Russia and the United States to 1,550 deployed nuclear weapons. By halting participation in the treaty, which expires in February 2026, Putin may mean that he will exceed its limits — or halt the US ability to monitor compliance.”
“New START limits Russia and the United States to 1,550 deployed nuclear weapons. By halting participation in the treaty, which expires in February 2026, Putin may mean that he will exceed its limits — or halt the US ability to monitor compliance.”

[nitter.net/n … ⌘ Read more

⤋ Read More

**RT by @mind_booster: A thread on @paulkrugman’s @nytopinion OpEd that we don’t need to give up the idea of “perpetual economic growth” in order to halt global heating.

TL/DR: Krugman is looking at tiny parts of our global system with a magnifying glass, which makes his argument deeply flawed.

1/n**
A thread on @paulkrugman’s @nytopinion OpEd that we don’t need to give up the idea of “perpetual economic … ⌘ Read more

⤋ Read More