Searching We.Love.Privacy.Club

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

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

**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

GitHub Enterprise Server 3.8 is now generally available
With updates to GitHub Actions, repositories, and GitHub Advanced Security, this new version of GitHub Enterprise Server is focused on bringing the best developer experience to companies. ⌘ Read more

⤋ Read More

How to use your own domain as your BlueSky handle
I recently got access to the BlueSky beta, and decided to poke around to see what it’s all about. I will save the details of what it is and how I feel about it for a different post. However, one of the first things you do when you sign up is choose a username that exists under the bsky.app domain. I have zero interest in another name rush where everyone tries to claim the shortest username possible, so I went with aaronpk.bsky.app rather than trying to get a … ⌘ Read more

⤋ Read More

Erlang Solutions: Se explican las colas de Quorum de RabbitMQ: lo que necesita saber.
Este tipo de cola es importante cuando RabbitMQ se usa en una instalación de clúster. Descubre más en este blog.

Introducción a las Colas de Quorum

En RabbitMQ 3.8.0, una de las nuevas características más significativas fue la introducción de las Colas de Quorum. La Cola de Quorum es un nuevo tipo de cola que se espera que reemplace … ⌘ 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

3 ways to meet compliance needs without slowing down agility
Learn how to enable developer productivity and collaboration while staying secure and compliant. Stay compliant without slowing down your business. From security to CI/CD, automate every step of your software workflow—so your developers can stay focused on what matters most: building. ⌘ 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

Prosodical Thoughts: Prosody 0.12.3 released
We are pleased to announce a new minor release from our stable branch.

This is a bugfix release for our stable 0.12 series. Most notably, it fixes a
regression for SQL users introduced in 0.12.2, and a separate long-standing
compatibility issue with archive stores on certain MySQL/MariaDB versions.

It also fixes an issue with websockets discovered by the Jitsi team, some
issues with our internal HTTP client API, and we’ve improved the accuracy of
‘prosodyctl check dns’ in … ⌘ Read more

⤋ Read More

Isode: Cobalt 1.3 Release Features
Cobalt 1.3 depends on M-Vault 19.0 or subsequent versions

M-Vault Management Supporties
  • M-Vault Bootstrap.   Enables operation in conjunction with M-Vault 19.0 to support headless bootstrap.
  • Managing users in M-Vault groups, such as Directory Server Administrators  and Messaging Configuration Read/Write.  This enables Cobalt to control user and operator rights to access M-Vault.
  • AD/LDAP passthrough support
    • Allow users (per domain) to support mand … ⌘ Read more

⤋ Read More

Isode: Icon-5066 3.0 – New Capabilities
We are thrilled to announce the latest update to our STANAG 5066 server, Icon-5066. With this new release, we’ve incorporated a host of exciting features and enhancements, designed to not only add new functionality to your deployment but also increase the performance of your HF Radio Network.

The below is a list of the changes, and updates that can be found within Icon-5066 v3.0.

ALE Management

This major new feature enables management of ALE conf … ⌘ Read more

⤋ Read More

Time Domain Audio Compression at 3.2 bits per Sample
Audio formats typically fall into one of three categories: “lossless”,
“complicated” or “bad”. After developing a
simple image format
last year, I tried to come up with an audio format that fits neither of these
categories.

In other words: a format that is lossy, simple and quite ok.
Naturally, it’s called QOA — the Quite OK Audio Format.

![Comparison of Audio Codecs](/content/assets/qoa-comparison-char … ⌘ Read more

⤋ Read More

**Sondagem (comparação com os últimos resultados):

PSD 30.6 (+2.9), PS 26.9 (-14.5), CH 14.3 (+7.1), IL 8 (+3.1), BE 5.6 (+1.2), CDU 2.2 (-2.1), L 1.9 (+0.6), PAN 0.9 (-0.7)**
Sondagem (comparação com os últimos resultados):

PSD 30.6 (+2.9), PS 26.9 (-14.5), CH 14.3 (+7.1), IL 8 (+3.1), BE 5.6 (+1.2), CDU 2.2 (-2.1), L 1.9 (+0.6), PAN 0.9 (-0.7)

nitter.net/Eva1Helena/status/1618341289552154624#mRead more

⤋ Read More

RT by @mind_booster: A @AssembleiaRepub aprovou hoje a autorização para o @govpt fazer sozinho a transposição da diretiva de direitos de autor.
A favor: PS, PSD, CH
Contra: IL, BE, PCP, Livre, PAN
Declarações de voto: Emília Cerqueira (PSD) e Rodrigo Saraiva (IL)
#copyright #Artigo17 #Article17
1/3

A @AssembleiaRepub aprovou hoje a autorização para o @govpt fazer sozinho a transposição da direti … ⌘ Read more

⤋ Read More

**Talvez útil saber a quem está a ouvir falar sobre gás na @RTPNoticias - em particular sobre o futuro com biometano e hidrogénio:

https://euobserver.com/opinion/155975**
Talvez útil saber a quem está a ouvir falar sobre gás na @RTPNoticias - em particular sobre o futuro com biometano e hidrogénio:

euobserver.com/opinion/15597…

![](https://nitter.net/pic/card_img%2F1617974289680171014%2FBDVKOGh_%3Fformat%3Djpg%26name%3 … ⌘ Read more

⤋ Read More

R to @mind_booster: E parece que o valor de ref. para o CSI vai subir para 488€. Mais importante, o “objetivo é, ao longo desta legislatura, até 2026, procurar que haja uma convergência com o referencial do limiar de pobreza”, ainda que eu não seja fã desta linguagem cheia de escapatórias… 2/3
E parece que o valor de ref. para o CSI vai subir para 488€. Mais importante, o “objetivo é, ao longo desta legislatura, até 2026, procurar que haja uma convergência com o referencial do limiar de pobreza”, ainda qu … ⌘ Read more

⤋ Read More

R to @mind_booster: Faça-se justiça, isto é “tapado” pelo facto de quem recebe pensão social de velhice recebe também um complemento extraordinário de solidariedade (19.52 a quem tem até 70 anos), e é ainda elegível ao complemento solidário para idosos. 1/3
Faça-se justiça, isto é “tapado” pelo facto de quem recebe pensão social de velhice recebe também um complemento extraordinário de solidariedade (19.52 a quem tem até 70 anos), e é ainda elegível ao complemento solidário para idosos. 1/3 ⌘ Read more

⤋ Read More

ProcessOne: ejabberd 23.01

Image

Almost three months after the previous release, ejabberd 23.01 includes many bug fixes, several improvements and some new features.

A new module, mod_mqtt_bridge, can be used to replicate changes to MQTT topics between local and remote servers.

A more detailed explanation of those topics and other features:

Erlang/OTP 19.3 discouraged

Remember that support for Erlang/OTP 19.3 is discouraged, and will b … ⌘ Read more

⤋ Read More