Developing a large project in python.
All very cool, we have type annotations that solve a lot of problems.
But interfaces, I'd really like to have interfaces. No, abstract classes don't do the job. I want compile time reminding me I fucked up.
We have good news though. One million rows should take "just" about 5GB from these initial results.
That is not too bad. With 5 tera I can store a billion. Should be good enough. I probably do not have enough computational power to get to a billion in any reasonable amount of time.
Batching substantially improved my computation time.
Now I should maybe address the recomputation of already computed values. I do fetch results from the DB when fetching entities. But I do not fetch the results when generating new ones which happen to have been previously generated.
Will it be better if I fetch the DB or worse?
I want a software engineer to setup some good performance metrics!
Come ti manipolo l'opinione pubblica in funzione bellicista 😬
Stavo leggendo le notizie del giorno e mi imbatto in questo titolo dell'Ansa. Vado a leggere e scopro che la Russia minaccia pesantemente la Lituania dopo non ben precisate dichiarazioni del presidente Lituano. Vado ad approfondire altrove e vedo che la stampa italiana come al solito rilancia questa alquanto lacunosa notizia Ansa come fosse la linea ufficiale. Solo dopo svariati articoli riesco a.. 1/n
👋 My name's Alex, I design #papercrafts and £5+ members of my Patreȍn get a new craft to print and build every month
✂️ 𝐉𝐨𝐢𝐧 𝐦𝐲 '𝐅𝐨𝐥𝐝 𝐔𝐩 𝐂𝐥𝐮𝐛' and lose your head over this great printable Guillotine 🔪
link : https://www.patreon.com/folduptoys
#papercrafts #illustration #art #toys #designertoys #mastoart
L'altro giorno ho visto su YouTube un talk show in cui Bersani e Travaglio discutevano su cose.
La Meloni è più Trump o più Orban?
La sinistra vuole aiutare la gente.
Il PD non è di sinistra.
Ma cos'è la sinistra? (20 minuti esatta replica della canzone di Gaber)
Si Ucraina però magari dovremmo aiutare i palestinesi (non che se ne sia discusso, proprio una frase così e basta)
La politica dovrebbe cominciare ad informarsi su come funzionano i social network. (Che sono una cosa nuovissima e magari tra una decina di anni saranno rilevanti nella società, non so se ne avete sentito parlare)
Ma se invece di ripetere gli stessi slogan degli ultimi 30 anni si proponessero le proprie idee su come risolvere certi problemi reali, magari mi si dà pure un motivo per votarvi.
Zio Bonino, non vi piace la Meloni? Va benissimo, ma ancora non avete spiegato concretamente quali sono le decisioni che ha preso che non vi piacciono. Non avete proposto alternative valide. La critica che più ho visto è che è di destra e dunque dato che siamo di sinistra non dovremmo votarla, talvolta ridotto anche a dire che è fascista e autoritaria.
Qual'è il piano di sviluppo tecnologico ed economico della sinistra? Quali sono i problemi sociali che dobbiamo risolvere? Come miglioriamo il giornalismo italiano? Come spingiamo la cultura? Come miglioriamo educazione e sanità? Quali infrastrutture pubbliche dovrebbero essere costruite? Come miglioriamo la nostra burocrazia? Come facciamo si che persone qualificate non credano di avere più opportunità all'estero? Come facciamo sì che i sindacati servano a qualcosa? Come diminuiamo il lavoro in nero? Come diminuiamo l'evasione? Come combattiamo la mafia? Come gestiamo la nostra politica estera? Come gestiamo l'immigrazione, a parte dire che insomma li dobbiamo aiutare perché vengono comunque? Alle ultime elezioni io ho letto i programmi elettorali di tutti i partiti candidati. Almeno quelli dei vari partiti di destra argomentavano qualcosa. (Ammetto di non aver letto interamente quello del PD, perché zio canino non mi puoi dare un mattone di 250 pagine in cui non si capisce nulla).
Perché soprattutto ultimamente la sinistra non fa altro che ripetere che noi vogliamo aiutare la gente più discriminata ed in difficoltà, il che mi pare molto bene. Ma di programmi concreti per fare ciò ne ho visti abbastanza pochi. Infatti molta gente in difficoltà tende a votare a destra.
Operai, funzionari, pensionati, si che molti votano certi partiti di sinistra - ma molti e sempre più votano a destra. Sarà mica che la destra si preoccupa un po' di più per loro ed offre soluzioni concrete ad alcuni loro problemi?
Poi, sarà che io non vivo in Italia e leggo molto poco i giornali italiani. Ma ancora non ho capito cosa vuole fare la Schlein e quali sono i piani per migliorare il nostro paese.
Percentage of people who think their culture is superior to others.
https://mapsontheweb.zoom-maps.com/post/705967658657529856/percentage-of-people-who-think-their-culture-is
How OpenAI’s bot crushed this seven-person company’s website ‘like a DDoS attack’
It could have been prevented by using robots.txt (https://en.wikipedia.org/wiki/Robots.txt), BUT:
- It is an OPT-IN system. All undesired AI scrappers would need to be manually added. New ones appear every hour, so good luck keeping them all at bay.
- You rely on them to respect robots.txt. Will they always do it?
When users downloaded movies from Torrent sites, it was piracy and was prosecuted. When Silicon Valley large AI corpos download copyrighted materials, it's economy and we must just tolerate it. The irony.
Great (and scary) visualization of 2024 daily temperatures compared to prior years by the BBC today. Evocative of the iconic Joy Division album cover from 1979: https://www.bbc.com/news/articles/cd7575x8yq5o
This is so cool. It fetches information about articles from wikidata and allows you to filter it in various ways.
https://scholia.toolforge.org/
Can this be used to have up to date lists of articles on a certain specific topic? Should it be used to do that? Could it be used to make reviews? Does it even make sense?
No idea, but very very cool. I need to take a deeper look at it, may add a few articles from my field and experiment how it works...
Is it just me or in the past few years there has been an increase in marketing protein powders and greek yogurt?
I guess protein powders are the industrial waste of greek yogurt production. But was protein powder commercialised because people want greek yogurt or the other way around?
I guess also milk prices dropping may have had an effect.
GDP Growth in Balkan countries, 2000-2023.
https://mapsontheweb.zoom-maps.com/post/741025801933307904/gdp-growth-in-balkan-countries-2000-2023-by
Italian, MSc in chemistry specialized in cheminformatics and QSAR.
I'm interested in cooking and building stuff.
I love traveling, I lived in India, China, Slovenia, Poland and Spain.
Currently working in Spain in the field of genomics; and doing a PhD in Drug Development using Quantum Mechanics and Artificial Intelligence.
Don't take what I say as an insult, I have no bad intentions and I'm open to talk about it.
Don't star my toots, I find that often useless: if you liked it send a reply.
Consider boosting the toots, it's the only real way in which stuff is propagated through mastodon.