AmarOk boosted

Les données personnelles de millions d’Equatoriens exposées sur Internet

L’Equateur a ouvert une enquête après la découverte, sur un serveur non sécurisé, d’informations sur l’identité ou le régime fiscal d’une grande partie de sa population.

Noms, prénoms, liens familiaux, numéros de compte bancaire, montant du salaire ou nom de l’employeur : la découverte d’une base de données de 18 gigaoctets contenant les données personnelles de (...)
etraces.constantvzw.org/inform

Ce dimanche après midi à Montréal pour la Sqil : ciné libre, projection de 3 films :
- Les batailles du libre
- LOL, une affaire sérieuse
- HAK_MTL

agendadulibre.qc.ca/events/203

Bouffe 

Bomberust

Serialized map received by the client, some map diffs too. Still some modifications to do on the TlsServer object. But the next step is to do a CLI game with multiple clients connected.

question. What is your preferred approach to serialize (serde) a struct which contains a Vec<Box<dyn MyTrait>>?

Actually, I have two solutions but not perfect.
1. Implementing Serialize for Box<dyn Trait>, getting the Any object, downcast to structs implementing the Trait and serialize them.
2. Preferred approach for now: github.com/dtolnay/typetag

AmarOk boosted

Le calendrier des activités de la Semaine québécoise de l’informatique libre (SQiL) est en ligne ! ==> facil.qc.ca/sqil2019-calendrie

Joignez-vous à nous du 21 au 29 septembre ! 🙂

#sqil2019 #facilqc #libreqc #numqc #libre #logiciellibre #matériellibre #savoirlibre #culturelibre #communs #vieprivée

github.com/rust-embedded/cross a "zero-setup" cross-compilation tool for . Seems like cqfd, pretty simple to use and works well.

Bomberust status:

The connection between the client and the server is working (rustls + tokio). Messages are sent in a RTP packet (manual parsing) and (de)serialized via msgpack.
For now, a player can create a room, launch a game and put a bomb.

Next step: move the player. Then send the serialized map (or diffs) to the client.

@qwerty @Clem_ZDS s'est réveillé y a quelques heures, j'avais oublié ce bot, s'est passé un truc pour la remettre ?

AmarOk boosted

Dian Fossey, Gorilla Girl
Few people sacrifice themselves as completely as Dian Fossey did for the mountain gorillas of Africa. She fought tirelessly to protect them from poachers, cattle herders, zoo kidnappers, corrupt governments, and tourists. Dian … hackaday.com/2019/09/03/dian-f

Original tweet : twitter.com/hackaday/status/11

La Cucaracha:

The Beaglebone is finally ready (debian 9 on the emmc + 64 Gb SD). And the first servo is moving.

Next step, doing a little to control servo + LEDs (GPIO + PWM)

Arf le rasp qui ne boot plus avec des erreurs de lecture de secteurs. Plus qu'à attendre une nouvelle SDcard...


What's your favorite way to pick a random element from an enum? iter().collect().choose() or implementing rand::random() like:

```
impl Distribution<Foo> for Standard {
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Foo {}
}
```
?

At least the second one is fully customizable (i.e. changing probabilities, skipping elements from the enum) eg.

play.rust-lang.org/?version=st

AmarOk boosted
AmarOk boosted
Show more
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!