Mostly, I Write
2.06K subscribers
489 photos
6 videos
3 files
9.33K links
Storie e pensieri suoi e di altri, raccolti da Antonio Dini http://www.antoniodini.com
Per contatti su Telegram: @antoniodini
Per iscriversi alla newsletter Mostly Weekly: https://antoniodini.com/iscrizione/
Download Telegram
Il mio uso di git è poco più che ricreativo (non mi serve per il codice, ma per il testo) e decisamente non collaborativo (scrivo da solo). Però trovo git utile e molto efficace. Basta allontanarsi un giorno dalla riga di comando e ti giochi quasi tutta la memoria delle opzioni anche solo di base.

La cosa speciale è che questo libro sintetico e potente è fatto dalla ottima Julia Evans in collaborazione con Katie Sylor-Miller, una vera esperta. Non lo regalano (12 dollari) ma li vale tutti.

Money quote: "If you find git confusing, don't worry! You're not alone.

People who've been using it every day for years still make mistakes and aren't sure how to fix them. A lot of git commands are confusingly named (why do you create new branches with git checkout?) and there are 20 million different ways to do everything.

This zine explains git fundamentals (what's a SHA?) and how to fix a lot of common git mistakes (I committed to the wrong branch!!)."

https://gumroad.com/l/dangit-git
Ne ho scritto anche io nel mio piccolo: la Ue ha multato Google che adesso ha deciso di mettere a pagamento le sue app e servizi Android per i produttori di smartphone che vendano in Europa (finora era tutto gratuito). La cosa più probabile è che succeda come in Cina: fioriranno un mare di nuovi negozi.

Money quote: "In China, each app store has a different rating system and a different community of users reviewing an app. Different stores also present apps in a different order, with their own ways of prioritizing which apps to highlight or show in search results. For example, Tencent’s Myapp and the 360 Mobile Assistant contain sections that list the most popular apps among men and women. The immense fragmentation of Android in China, which varies across different smartphone makers, means that the average Chinese user uses nearly 40 apps on their phone a month and about 11 a day, according to App Annie. These numbers are slightly higher than ones for users in the US and Europe. They’re also more likely to have 100 apps on their phones in total.

In 2013, 25 percent of Chinese users said that the most important feature on a smartphone was that it had a wide variety of apps, reports Nielsen. The need for more apps has even driven Chinese smartphone companies to be among the first to offer a whopping 1TB of storage."

https://www.theverge.com/2018/10/17/17984976/android-europe-future-china-play-store-european-commission-antitrust
E questo invece è il gioco social dell’estate...
Forwarded from Fumettologica
Uno dei manga più emozionanti di sempre. Oggi è il giorno giusto per ricordare (e rileggere) Gen di Hiroshima, che racconta a fumetti la bomba atomica sganciata su Hiroshima il 6 agosto del 1945.

https://www.fumettologica.it/2015/08/hiroshima-gen/
La trasformazione dall’analogico al digitale non è un processo “1/0”. Ci sono fasi intermedie. Uno è il passaggio dal digitale tradizionale al cloud. Quando i prodotti diventano servizi a cui ci si abbona: la musica, ad esempio. Ecco cosa succede quando un servizio di musica in streaming fallisce e viene chiuso (in questo caso si tratta di Google Music). Soprattutto, cosa succede ai file di musica che avete caricato voi nel cloud e che sono altrimenti introvabili.

Money quote: “A copy of your files isn't hard to get, either. The Google Music Manager is a Windows and Mac application that can upload music or download your entire music collection with a few clicks, but like Google said, it will stop working soon. The other option is Google Takeout, which will wrap your entire music collection in a zip file and send you a download link. The processing for this can take hours. Whichever option you choose, make sure you do something before December because, after that, there will be no way to recover your music.”

https://arstechnica.com/gadgets/2020/08/google-music-shutdown-starts-this-month-music-deleted-in-december/
Nonostante lo scetticismo di mio suocero, che è medico, è dalla nascita dell’Apple Watch che penso che Apple stia facendo qualcosa di profondamente diverso dal resto dei produttori di apparecchi digitali e gestori di dati nel cloud. Apple sta lavorando al piano della salute digitale in maniera creativa e secondo me convincente. Perché l’idea di raccogliere tanti, tantissimi dati da una fetta della popolazione che non è un campione statistico ma una percentuale convincente consente di trovare correlazioni inedite: sono le conoscenze emergenti grazie ai big data.

Oppure, come in questo caso, fare degli studi con le università sfruttando un pool molto più ampio e variegato dei soliti campioni di studenti universitari che si prestano a fare da cavia di laboratorio. Credo che, se le cose vanno avanti così, nei prossimi cinque-dieci anni vedremo emergere delle conoscenze inusitate. Il che mi fa un po’ dispiacere, con le mie piccole ansie e patologie minime, perché ne riuscirò a vedere gli sviluppi solo parzialmente e da una prospettiva limitata.

Money quote: “UCLA has launched a major new study, sponsored by and in collaboration with Apple, designed to help revolutionize detection and treatment of depression.

The three-year study, which begins this week, was co-designed by researchers at UCLA and Apple to obtain objective measures of factors such as sleep, physical activity, heart rate and daily routines to illuminate the relationship between these factors and symptoms of depression and anxiety.”

https://newsroom.ucla.edu/releases/ucla-launches-major-mental-health-study-to-discover-insights-about-depression
Icone open source (cioè, non solo gratuite) per tutti. Sia per i computer che anche per il web

Money quote: "Eva Icons is a pack of more than 480 beautifully crafted Open Source icons for common actions and items.

Download our set on the desktop to use them in your digital products for Web, iOS and Android."

https://akveo.github.io/eva-icons/#/
“Dello scrivere cose lunghe”: Un po’ perché d’estate uno ha più tempo e dice “mi riposo, scrivo giusto due righe per distrarmi” e poi ci passa la giornata, e un po’ perché sto provando la nuova Magic Keyboard dell’iPad Pro e quindi devo macinare battute su battute, spazi inclusi, ho tirato fuori un altro papiello.

Doveva essere una cosina veloce veloce su una app (Workflowy) con la quale organizzo le cose lunghe che scrivo, e poi è cresciuta, cresciuta, fino a diventare questo cosa lunga lunga. Ma ci tengo, perché è anche un po’ un esperimento: ho scritto questo articolo per il Post direttamente dentro Workflowy e ho cercato di embeddarlo in WordPress con risultati miseri (il link in uscita)(se vi viene in mente come fare, scrivetemi, s’il vous plait). Se volete vedere, trovate un gran bel semilavorato e puntinato, con rientri a destra e a sinistra che non parla di nulla (al solito). Come non cedere alla tentazione?

https://www.ilpost.it/antoniodini/2020/08/07/dello-scrivere-cose-lunghe/
Se in settimana siete a Tribeca, passate a prendere un migliaio di palle di gomma germicide? Le usavano per uno spettacolo teatrale. Le danno via gratuitamente.

Money quote: “The ball pit in some ways is the cleanest place to be in the room, because the theater chairs had the germs from the last 50 performances, but the balls actually don’t. Of course, now everyone’s cleaning their chairs too. But now everything’s shut down, so it doesn’t matter.”

https://champ.gothamist.com/champ/gothamist/arts-entertainment/free-stuff-alert-75000-ball-pit-balls-only-used-bit-during-peak-pandemic
Se macinate dati, forse utilizzate i notebook Jupyter. Ma ci sono anche altri, validi avversari in questo settore.

Money quote "Although Jupyter is a Python application, it can run kernels of non-Python languages, such as R.

Over the years, there have a been a few new competitors in the reproducible data analysis field, such as Beaker Notebook and, for heavy-duty business problems, Apache Zeppelin. However, today we’ll look at the relatively new R Notebooks, and how they help improve the workflows of common data analysis in ways Jupyter Notebooks can’t without third-party extensions."

https://minimaxir.com/2017/06/r-notebooks/
Anche se è estate, Mostly Weekly non molla ed esce (più o meno) nel fine settimana. Se volete essere sicuri che vi arrivi, dovete abbonarvi prima però:

https://tinyletter.com/MostlyIWrite

Per farsi un'idea, qui c'è l'archivio dei numeri precedenti:

http://tinyletter.com/MostlyIWrite/archive
Centodieci e lode alla triennale di filosofia a 96 anni e l’ambizione di fare anche la magistrale. Che dire? Chapeau

Money quote: ““I’d wake up at seven to study,” he said. “I’d use an old typewriter to complete my assignments. I’d rest in the afternoon and in the evening I’d study until midnight. My neighbours used to ask, ‘why all this trouble at your age?’ But they couldn’t understand the importance of reaching a dream, regardless of my age.”

https://www.theguardian.com/world/2020/aug/05/realised-dream-italy-oldest-graduate-top-of-the-class-at-96
Questa è una cosa molto, molto interessante oltre che divertente. Con il suo iPhone XS questo dottorando di informatica teorica (metodi formali) è riesciuto a far girare una app fatta in casa per l'elaborazione di una classe di problemi decisionali (satisfiability modulo theories o SMT) che va molto, molto meglio dei migliori processori Intel a 64 Bit. Da paura. C'è anche il grafico che fa vedere come i processori Ax di Apple migliorino del 30% ogni anno.

Money quote: "As a formal methods researcher, the only real compute-intensive workload I run regularly is SMT solving, usually the Z3 SMT solver. At this point I’ve spent a lot of time learning about Z3’s performance characteristics, and it also has some peculiarities benchmark suites won’t capture (Z3 is generally single threaded). I recently bought a new iPhone XS featuring Apple’s latest A12 processor. So, in a fit of procrastination, I decided to cross-compile Z3 to iOS, and see just how fast my new phone (or hypothetical future Mac) is."

https://homes.cs.washington.edu/~bornholt/post/z3-iphone.html
Ci sono molte cose sull'effetto placebo che non sappiamo, e soprattutto delle quali non ci siamo ben resi conto. Ma dietro, c'è molto di più. Uno spettacolare articolo del New York Times.

Money quote: "“What makes our research believable to doctors?” asks Ted Kaptchuk, head of Harvard Medical School’s Program in Placebo Studies and the Therapeutic Encounter. “It’s the molecules. They love that stuff.” As of now, there are no molecules for conditioning or expectancy — or, indeed, for Kaptchuk’s own pet theory, which holds that the placebo effect is a result of the complex conscious and nonconscious processes embedded in the practitioner-patient relationship — and without them, placebo researchers are hard-pressed to gain purchase in mainstream medicine."

https://www.nytimes.com/2018/11/07/magazine/placebo-effect-medicine.html
Creare un QR Code, passo dopo passo

Money quote: "This JavaScript demo application visualizes in detailed steps, how a text string is encoded into a QR Code barcode symbol. The content of this page essentially explains and justifies how my QR Code generator library works internally."

https://www.nayuki.io/page/creating-a-qr-code-step-by-step
La poesia, la vita e il togliersela. Si è suicidato a 24 anni in una fabbrica cinese della Foxconn dove assemblava apparecchi che compriamo pagando un occhio della testa. Lui ha pagato con la vita l'alienazione del lavoro. Era un poeta, veniva da un villaggio molto povero al quale non poteva tornare perché non c'era più niente a cui tornare. Si chiamava Xu Lizhi. Se fossi Wu Ming scriverei un libro su di lui e sulla vita nelle fabbriche come la sua.

Money quote:
"A Kind of Prophecy"

Village elders say
I resemble my grandfather in his youth
I didn’t recognize it
But listening to them time and again
Won me over
My grandfather and I share
Facial expressions
Temperaments, hobbies
Almost as if we came from the same womb
They nicknamed him “bamboo pole”
And me, “clothes hanger”
He often swallowed his feelings
I'm often obsequious
He liked guessing riddles
I like premonitions
In the autumn of 1943, the Japanese devils invaded
and burned my grandfather alive
at the age of 23.
This year i turn 23.

-- 18 June 2013"

https://libcom.org/blog/xulizhi-foxconn-suicide-poetry
Se la pandemia e il lavoro da casa vi hanno convinto che sia arrivato il momento finalmente di chiudere baracca e burattini e andare a vivere altrove, lavorando solo dal proprio computer (tanto il cloud di Google e i pacchi di Amazon arrivano ovunque) le isole Barbados potrebbero essere una destinazione interessante. Dal primo luglio c’è il visto per nomadi digitali. Occhio però, che ci sono dei requisiti anche di reddito da soddisfare.

Money quote: ““We set the bar at about US$50,000 annual income, and that is a minimum. So the individual who expresses an interest in this 12-month programme demonstrates first of all, that they earn US$50,000 a year, they have a valid passport obviously, and they must present with an arrangement for health insurance. They can either walk with their own health insurance or, because we do not want them to be a burden on the state, they can source health insurance here,” said Symmonds, as he shared some of the criteria for the new work visa.

“In addition to that there will be a background character check and assessment on the individuals who present themselves as potential beneficiaries under this programme so we do not get the scum of the earth, but decent and upstanding types of people to come here,” he said.”

https://barbadostoday.bb/2020/07/16/remote-work-tourist-plan-detailed/
C'è movimento nella gabbia degli amanti delle teorie della cospirazione. L'idea che gli incendi in California siano provocati da armi a raggi azionate da agenti del governo, ad esempio. E poi, c'è sempre una parentesi che non ti aspetti e ti sorprende anche quando si parla di teorie della cospirazione.

Money quote: "(QAnon, for the uninitiated, is the conspiracy theory that Donald Trump is secretly doing a really good job, and is this close to uncovering and disarming various evil forces working against him within the government.)"

https://earther.gizmodo.com/californias-wildfires-have-spawned-a-truly-wild-new-con-1830418656
Credo che il giudizio che la storia darà di Donald Trump sarà sempre eccessivo: troppo o troppo poco. In compenso, vivendo in questo momento storico (e tra pochi mesi rischiando altri quattro anni di presidenza Trump), leggere cose come queste fanno veramente rabbrividire. Quale animale è mai Trump? E quali animali si aggregano immediatamente attorno a lui? Perché gente come la governatrice del South Dakota sono pure peggio: sono il motivo stesso per cui Trump esiste.

Money quote: “Since the first days after she was elected governor of South Dakota in 2018, Kristi Noem had been working to ensure that President Trump would come to Mount Rushmore for a fireworks-filled July 4 extravaganza.

After all, the president had told her in the Oval Office that he aspired to have his image etched on the monument. And last year, a White House aide reached out to the governor’s office with a question, according to a Republican official familiar with the conversation: What’s the process to add additional presidents to Mount Rushmore? […]

In private, the efforts to charm Mr. Trump were more pointed, according to a person familiar with the episode: Ms. Noem greeted him with a four-foot replica of Mount Rushmore that included a fifth presidential likeness: his.”

https://www.nytimes.com/2020/08/08/us/politics/kristi-noem-pence-trump.html