Searching We Love Privacy Club

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

**RT by @mind_booster: Há 2 semanas, a Universidade Lusíada do Porto realizou um debate sobre #VotoEletrónico

Opiniões dos intervenientes: 🧶
1/
https://www.porto.pt/pt/noticia/voto-eletronico-e-uma-inevitabilidade-mas-tem-muito-caminho-para-andar**
Há 2 semanas, a Universidade Lusíada do Porto realizou um debate sobre #VotoEletrónico

Opiniões dos intervenientes: 🧶

1/

[porto.pt/pt/noticia/voto-ele…](https://www.porto.pt/pt/noticia/voto-eletronico-e-uma-inevitab … ⌘ Read more

⤋ Read More
In-reply-to » The original twt is unavailable. It may have been edited or deleted, or is from an unknown or muted feed.

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

Low-tech Magazine: The Comic
This is a test to check the margin alignment This is a test to check the margin alignment This is a test to check the margin alignment This is a test to check the margin alignment

Image

![Page 2 of the Comic “Back to the future of technology” by Guillaume Lion] … ⌘ 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