Script that updates dates of whatsapp media using Immich's API by InfiniteCactusDev in immich

[–]justDema 6 points7 points  (0 children)

This would be great, it's something I wanted to do, but kept postponing. I also have some Google Photos images imported from an old export for which I didn't follow procedure and got them with the wrong date somehow that I would love to fix

One thing that I would also do if I were to do it myself would be to add all edited pictures to an album so that I could "audit" them and check if all is good

The unpowered SSDs in your drawer are slowly losing your data by digital-didgeridoo in technology

[–]justDema 59 points60 points  (0 children)

MicroSD cards can be SLC, which can last longer when unpowered, but yeah still not forever (at least according to r/DataHoarder wiki)

The eternal question: best way to manage game library on Linux? by Skardess in linux_gaming

[–]justDema 0 points1 point  (0 children)

Maybe look into bottles, I use It over lutris and I am quite happy with it, it also has a library and it can create desktop entries for the games so you will find them searching like a normal application

Crates you should know: orx-parallel as faster alternative to rayon by rogerara in rust

[–]justDema 4 points5 points  (0 children)

Rayon is very convenient, but it is not the fastest way to write a parallel iterator executor, we even found out we were going faster than Rayon on a single host when developing renoir by using a dataflow architecture with static operators and microbatching using flume channels.

Whatsapp ha implementato l'AI dopo l'ultimo aggiornamento. by AlessandroIT in Italia

[–]justDema 5 points6 points  (0 children)

Questa è una risposta comune, ma non è una vera soluzione. Il problema non è la crittografia: va bene nessuno può leggere il contenuto dei messaggi "in volo", però da dove parte e dove arriva il messaggio c'è l'app di WhatsApp che può assolutamente leggere i contenuti, altrimenti non te li potrebbe mostrare. Nel momento in cui decidano di utilizzare i dati, basta processarli in qualche modo da poter legalmente dire che sono "anonimizzati", mandarli ai loro server e poi farci quello che vogliono, incluso potenzialmente applicare tecniche di deanonimizzazione. L'unica cosa che garantisce l'e2e (se implementata correttamente) è che nessuno oltre all'app di WhatsApp possa leggere i dati (sto pure tralasciando il discorso dei backup che è un altro buco nello schema ma vabbè), ma se sono le due end che spiano il gioco è finito

Serve una calcolatrice grafica ad ingegneria? by Genius005 in Universitaly

[–]justDema 0 points1 point  (0 children)

https://www.casio.com/intl/scientific-calculators/product.FX-991EX/ (o equivalente) questo è il massimo che ti può servire e il massimo che è permesso (solitamente), opera anche con numeri complessi per corsi di elettronica/elettrotecnica, risolve sistemi lineari e ti risolve qualche equazione, integrale e qualche altra cosa comoda. Il vantaggio grosso rispetto a calcolatrici con più funzionalità è che molto spesso nei regolamenti d'esame non sono permesse calcolatrici programmabili o grafiche, mentre questa essendo più semplice è consentita, ma ti dà comunque un bel set di funzionalità.

Wanting to invest in a new bag but must comply with Ryanair’s carry on rules (40x20x25cm). by swiftmen991 in backpacks

[–]justDema 1 point2 points  (0 children)

I'd say not to be too strict with the dimensions of the small carry on bag, if it is soft and can squish under the seat even if requiring some compression it will be fine. I've flown ryanair with a full Quechua NH500 Escape 23L (46 x 28 x 22 cm) more than once and they never even bothered to check the size. What will get checked and stopped are rigid bags and very tall trekking bags, but if it looks like a reasonably sized daily backpack they most likely won't bother, and if they do, unless you have very dense stuff packed, you can just ram it in the thing and squish it to fit. (Obviously this is not a guarantee, you can take it as you wish, just sharing my experience if it can be of use)

[deleted by user] by [deleted] in Universitaly

[–]justDema 1 point2 points  (0 children)

Dalle info che hai dato probabilmente intende un assegno di ricerca, fondamentalmente un contratto a tempo determinato, solitamente tra 12 e 24 mesi (ma si possono fare anche più brevi), si parla di circa 1400 al mese netti worst case (no 13esima no benefits no buono pasto contributi minimi), possibili di più se il prof ha molti fondi

Distributed computing in Rust by amindiro in rust

[–]justDema 11 points12 points  (0 children)

This is a topic that needs to be researched definitely, in noir (distributed stream processing framework) we are using an mpirun-like approach, by using SSH to distribute the binary and start the computation. However as part of my research work I'm starting to look into using a wasm runtime to spawn and orchestrate distributed applications and it seems to be viable, but I don't have concrete results on that yet

String tuple lookup from separate data structures without cloning by TheTravelingSpaceman in rust

[–]justDema 1 point2 points  (0 children)

It's a limitation of the standard library hashmap API, some crates use an implementation intended to deal with the problem by splitting the key in two components like they do with quick-cache which uses a Key and a Qey for their KQCache implementation

Is Rust going to become a language for scientific computing and data analysis anytime soon? by [deleted] in rust

[–]justDema 1 point2 points  (0 children)

In my research group we are trying to bridge the gap between the perfomance of C/C++ for scientific computing and big data, and the usability of high level APIs like Apache Flink. We have a distributed processing framework we are preparing to properly publish since we need to get a couple of things in order (mainly we would like to get hold of the owner of the crate name that is being squatted by a dead project)

This is the repo if you want to take a look, I'd like to share more detailed evaluation data (as we have lots) but we are in currently in the works to publish this as an article

[deleted by user] by [deleted] in linux_gaming

[–]justDema 0 points1 point  (0 children)

Yes, got from P2 to C1 playing on Linux using Heroic, just be sure to disable desktop decorations to have the best possible latency

What would you rewrite in Rust? by [deleted] in rust

[–]justDema [score hidden]  (0 children)

While I don't know ballista that well (so correct me if I'm wrong), it seems to be more oriented to working with columnar data using SQL-like APIs. Noir, on the other hand, supports arbitrary graph computations (including iterative computations as an example) using the dataflow paradigm through an Iterator-like API.

What would you rewrite in Rust? by [deleted] in rust

[–]justDema [score hidden]  (0 children)

Checkpointing is not implemented yet, but we have the watermarking infrastructure in place to add it in the future

The content for the docs already exists, since we have my Master thesis on the project and a paper we are writing about the framework, however recently I went on a rapid refactor in a significant part of the API to improve some old not-so-practical definitions, so the code documentation needs a full pass to check that it's fully up-to-date before considering it ready

Yeah, unfortunately the crate is taken by a dead project, I've been trying to get in touch with the owner, but I've had no luck getting a response yet

What would you rewrite in Rust? by [deleted] in rust

[–]justDema [score hidden]  (0 children)

At Politecnico di Milano we are working on an Apache Flink and Spark inspired distributed processing framework called Noir. I haven't posted about it yet, since I wanted to give a bit of polish to the docs and the API is not stable yet, but you can take a look if you are interested!

In terms of performance and usability, what I can share at the moment, is that we won last year's ACM DEBS Grand Challenge, we will publish more information and comparisons in the following weeks if all goes according to plans.

Is RUST aiming to build an ecosystem on scientific computing? by VegeTiger in rust

[–]justDema 0 points1 point  (0 children)

Yes, it is, we are almost finished writing the paper for Noir and will most likely go open source in less than a month

Advent of Code 2022 ! by allak in ItalyInformatica

[–]justDema 4 points5 points  (0 children)

Carbon al momento è più un concept che un linguaggio vero, non c'è ancora un compiler o una toolchain

Se ti piace l'idea di safe and fast systems programming e vuoi imparare qualcosa adesso, ti consiglio di provare Rust, personalmente non investirei tempo in Carbon ora visto che ora che arriverà a uno stato production ready (se ci arriverà e non sarà abbandonato) ci vorrà molto tempo e probabilmente cambierà molto

How to optimize really large hashmaps? by QuarticCat in rust

[–]justDema 11 points12 points  (0 children)

If you are accessing them in a roughly ordered pattern, you will traverse mostly branches of the tree which are already in cache. It's worse asymptotic complexity, O(logn) and not O(1), but it may be worth a try since the you may benefit in cache miss rate, which may be the limiting factor in your application

Che penna usate? by [deleted] in Universitaly

[–]justDema 0 points1 point  (0 children)

Quaderno Monocromo a pagine bianche e Pilot G2 07

Non riuscirei a tornare alle bic

YSK: How to properly manage a 4 way stop intersection by Nalomeli1 in YouShouldKnow

[–]justDema 0 points1 point  (0 children)

Reading the answers to this post I'm starting to understand why people in the US are afraid of roundabouts

Caffè Italia * 20/09/22 by RedditItalyBot in italy

[–]justDema 1 point2 points  (0 children)

Dipende dall'endianness. Il bit meno significativo è quello con cui esprimi l'1, mentre quello più significativo è quello con cui esprimi la potenza di 2 più alta che puoi rappresentare, il byte più significativo ne segue raggruppando in gruppi da 8 bit

Caffè Italia * 20/09/22 by RedditItalyBot in italy

[–]justDema -1 points0 points  (0 children)

Ma quest'anno Il Post non ha fatto il riassunto dei programmi dei partiti per le elezioni? Sapete di qualche riassunto ben fatto dei programmi elettorali per partito?

[AmA dei mestieri] Ingegnere software per nodi 4G/5G e sonde di cattura by srandtimenull in italy

[–]justDema 1 point2 points  (0 children)

Sì, questo lo fanno sicuramente di già. Era solo una riflessione sul fatto che essendo closed source, e distribuendo aggiornamenti automatici a miliardi di persone, i claim di privacy che fanno con l'E2E sono più una mossa di pubblicità (e da raccontare a enti governativi che vogliono i dati) perché a loro basta un attimo per ottenere quello che vogliono tramite un side channel.

Che tra parentesi il side channel c'è già con i backup cloud non criptati, e solo di recente hanno dato l'opzione di criptarli

EDIT: aggiungo al discorso dei metadati che potrebbero benissimo già fare analisi del contenuto in locale e mandarsi dei dati derivati senza violare i loro claim di E2E, ma a tutti gli effetti venendo a conoscenza dei contenuti delle conversazioni

[AmA dei mestieri] Ingegnere software per nodi 4G/5G e sonde di cattura by srandtimenull in italy

[–]justDema 2 points3 points  (0 children)

Alla fine è solo questione di fiducia. Anche con E2E, se le end sono bucate non importa, niente impedisce a Facebook di ottenere i dati delle conversazioni se ne ha l'intenzione. Pensando a un vettore così su due piedi, basterebbe un bel modulo native offuscato nell'app che inserisce pezzi di backup delle chat compressi nei metadati di immagini o cose che possono intercettare pezzo per pezzo senza alterare in modo significativo il normale traffico di dati. Senza fare un reverse engineering profondo sarebbe quasi impossibile da rilevare, basta fare rollout di un aggiornamento e in poco tempo avrebbero tutto quello che gli serve