Searching txt.sour.is

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

**RT by @mind_booster: 🧰 5 changes to fix the EC’s #RightToRepair proposal 🛠️

1️⃣ No contractual overrides
2️⃣ No digital locks
3️⃣ Go beyond just fixing things
4️⃣ Don’t limit who can repair
5️⃣ Broaden the scope of what can be repaired

Blog 👉 https://www.knowledgerights21.org/news-story/still-time-to-repair-the-commission-proposal-on-the-right-to-repair/
Response 👉 https://kr21.info/r2r**
🧰 5 changes to fix the EC’s #RightToRepair proposal 🛠️

1️⃣ No contractual ov … ⌘ Read more

⤋ Read More

RT by @mind_booster: so went and dig around to find out that Portugal is investing 77m in AI, from EU funds - that’s settled then - but it goes to 1 consortium of an AI company based in the States and to 1 other company. both of them are proud of their investors and investments
so went and dig around to find out that Portugal is investing 77m in AI, from EU funds - that’s settled then - but it goes to 1 consortium of an AI company based in the States and to 1 other company. both of them are proud of their investors a … ⌘ Read more

⤋ Read More

QOA Benchmark Results and File Format Specification
The specification for the Quite OK Audio Format,
announced in a previous blog post,
is now finalized. QOA is a lossy audio compression format. Typical audio
signals (44100hz, stereo) are encoded into 278 kbits/s, or more precisely 3.2
bits per sample – exactly 1/5 of the bits needed for an uncompressed WAV.

Image

The QOA-Specification [fits on a single … ⌘ Read more

⤋ Read More

**RT by @mind_booster: 1/3 🚨Recent @POLITICOEurope leak revealed that US & EU officials have agreed to cooperate on measures to turn public opinion against #encryption.

Experts’ statements by @edri & @globalencrypt have called out against this plan

➡️https://edri.org/our-work/eu-us-plan-offensive-to-legitimise-police-access-to-data-civil-society-responds-amid-growing-fears-press-release/
➡️https://www.globalencryption.org/2023/04/statement-on-eu-us-cooperation-against-encryption/**
1/3 🚨Recent [@POLITICOEurope](https … ⌘ Read more

⤋ Read More

Started with

Image


a concept sketch of a full body end-time factory worker on a distant planet, cyberpunk light brown suite, (badass), looking up at the viewer, 2d, line drawing, (pencil sketch:0.3), (caricature:0.2), watercolor city sketch,
Negative prompt: EasyNegativ, bad-hands-5, 3d, photo, naked, sexy, disproportionate, ugly
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 2479087078, Face restoration: GFPGAN, Size: 512x768, Model hash: 2ee2a2bf90, Model: mimic_v10, Denoising strength: 0.7, Hires upscale: 1.5, Hires upscaler: Latent

⤋ Read More

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

Building GitHub with Ruby and Rails
Since the beginning, GitHub.com has been a Ruby on Rails monolith. Today, the application is nearly two million lines of code and more than 1,000 engineers collaborate on it daily. We deploy as often as 20 times a day, and nearly every week one of those deploys is a Rails upgrade. Upgrading Rails weekly Every […] ⌘ Read more

⤋ Read More

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