31 ottobre, 2019

Visto nel Web - 444

Edizione speciale, un anticipo di cosa vi aspetta:

#Marattin immagino che legge potrà partorire un simile esperto

Ebbene sì si censura il Web: esci la Carta d'Identità (puoi mandarla con il fax). Ma per intanto ecco cos'altro ho wisto nel Web (chissà se dura, finché dura).


When you code, you consider many potential audiencesprogramming, codice, snippet
::: stauffermatt

I have always thought that whatever the issue, Facebook is the most compromised company I have ever covered, always willing to try to pretend all things were equal: Opinion | Why Will Breitbart Be Included in ‘Facebook News’?
Facebook | politica
::: karaswisher ::: fchollet

Different ways to fix bugs
umorismo
::: MIT_CSAIL

This is still quantum David vs classical Goliath, in the extreme
quantum computing | Google
::: IEEESpectrum

Interesting as US Senators voiced concerns about ⁦TikTok & Huawei for data going to Chinese govt >> Also pierces arguments like ‘don’t regulate tech companies as it will inspire China to do the same’
Facebook | Cina
::: MarietjeSchaake

Gnu rant
umorismo
::: aglaja_g

One thing I've been obsessed with lately: situations where the more abstract form of a program (which can handle more cases) is *simpler* then a version that's specialized for one case or subset of cases
programming, codice, snippet
::: fchollet

Does The Green Economy Create More Jobs Than The Fossil Fuel Industry?
economia, lavoro | ambiente, ecologia
::: Slashdot

Conte: “Ora norme contro l’odio sui social”
social media | politica
::: jacopo_iacoboni

Anche Gesù ha iniziato
umorismo
::: Semreh10

In Cina entra in funzione la rete #5G della Huawei: Wuzhen la prima città "smart"
5G | Cina
::: sputnik_italia

'Ocean Cleanup' Project Unveils New Solar-Powered Robot That Collects Plastic From Rivers
robots, automazione | ambiente, ecologia
::: Slashdot

La NASA sta preparando HAVOC, High Altitude Venus Operational Concept, una missione con equipaggio per insediarsi su Venere a circa 55 chilometri di quota usando dei grandi aerostati
spazio, esplorazione
::: hronir


Most of what we're calling AI is really using large computational capabilities combined with a lot of data, to unpick statistical correlations
artificial intelligence
::: FrankPasquale

Russian Cyberattackers Stole Iranian Tools, Then Attacked 35 Countries
frodi
::: Slashdot

Se un politico posta una fake news, ora Facebook ti avverte
Facebook | disinformazione, fake news, bufale
::: Dio

So many nice educational illustrations with @geogebra and similar software
matematica | scuola, educazione, cultura
::: mathematicsprof

If you want to know when iOS 13.2 is coming out
umorismo
::: TimothyCookothy

Study Identifies the 'Top 7 Programming Languages That Employers Really Want
linguaggi di programmazione
::: Slashdot

Every statistics student knows about linear (and nonlinear) regression but not so much about LOGIC REGRESSION, which estimates a BINARY VARIABLE from a DISJUNCTIVE (or CONJUNCTIVE) normal form of BOOLEAN VARIABLES
matematica
::: mathematicsprof

Is Microsoft Being Weighed Down By the Ghosts of Its Past?
riporto anche se...
ditte
::: Slashdot

2.35 Million Lose Power In California As State Faces Extreme Weather and Wildfires
ambiente, ecologia
::: Slashdot

Sprawling debate here among @mosseri, @boztank, @matthewstoller, @cwarzel +others about Facebook, fairness, the ad model, antitrust, why Apple doesn’t get the same scrutiny, etc etc etc
Facebook | Apple
::: dseetharaman

Facebook is deleting pro-vaccine information from health departments and medical providers, while letting anti-vaccine conspiracy theories stay up
Facebook | disinformazione, fake news, bufale
::: RVAwonk


nd I guess this "third-party fact-checking" process is still useful even when it only takes a politician to utter the same lie to actually get it through the system with no fact-checking at all? 🤔
Facebook | politica
::: fabiochiusi

Poco fa al #TG5, in diretta da #Linate, l’elogio del riconoscimento facciale che entrerà in funzione nel 2021: “potremo imbarcarci senza tirar fuori il passaporto”
riconoscimento facciale
::: ebobferraris

Should JavaScript Be Renamed?
linguaggi di programmazione
::: Slashdot

Tutti i video del #LinuxDay 2019 al Consorzio Universitario di #Pordenone. #PNLUG
Linux
::: sdallagata

Collapse OS, An OS For When The Unthinkable Happens
sistemi operativi
::: hackaday

Bitfury CEO shares 6 important ways blockchain is changing the tech world in Europe
blockchain e crypto*
::: valeryvavilov

For political leaders and business people, we think it is important for you to know that it’s extremely unlikely that scientists are exaggerating the threat of the climate crisis. It is far more likely that things are worse than scientists have said
ambiente, ecologia
::: JPvanYpersele

Scott "Shtetl-Optimized" Aaronson on the Google’s quantum supremacy paper
questo dovrebbe chiarire il mystero
quantum computing
::: hronir

È stata davvero raggiunta la supremazia quantistica? Un commento di Massimo Bernaschi
quantum computing
::: maddmaths

It’s not the crime, it’s the cover-up...always, always, always. This week @aoc brought the 🔥🔥🔥. And here’s why I think there’s trouble ahead for Zuck. This isn’t the end of the Cambridge Analytica scandal, it’s the beginning
Facebook | frodi
::: carolecadwalla

Can anybody explain @unclebobmartin's sentence saying that "The ideal numbers of arguments for a function is zero (niladic)"? In other words, according to him the perfect function is the one that either does nothing or just produces side-effects? 🤔
uh! no, proprio no, secondo me
programming, codice, snippet
::: mariofusco


This is not real. It's a parody
umorismo
::: Abebab

A neural net solves the three-body problem 100 million times faster
artificial intelligence
::: NandoDF

🔴 Oggi in newsletter #GuerrediRete: speciale su lunga marcia vs elezioni Usa, la cybersicurezza, le operazioni di influenza, e intervista a @orenfalkowitz; poi giornalismo e (in)sicurezza; spyware e diritti umani; robot che potrebbero spiarti in hotel ecc
novità
::: carolafrediani

Facebook AI Can Now Alter Videos to 'Hide' People From Facial Recognition
Facebook | artificial intelligence
::: Slashdot

Samsung Satellite Crashes Into Family's Backyard
dubbiosassay 🤔
spazio, esplorazione
::: Slashdot

Eh no. Confondiamo difficoltà tecniche (che non esistono) con le difficoltà create ad arte da questa o quella lobby
politica
::: mariofusco

After Two Years The Air Force's X-37B Space Plane Finally Lands
spazio, esplorazione
::: Slashdot

The World's First Banner Ad Celebrates Its 25th Anniversary
storia | ad, pubblicità
::: Slashdot

New in Java 13: Text Blocks
linguaggi di programmazione
::: Slashdot

New AI Tool Knows Whether You're Nervous Or Confused
riconoscimento facciale
::: Slashdot

Gartner Predictions Reveal How AI Will Change Our World
innovazioni, futuro
::: Slashdot

The Price of Bitcoin Spiked 40% Friday Night
blockchain e crypto*
::: Slashdot


whenever the Haskell gets rough, remembering that I haven’t had to write for (int i = 0; i < arr.length; i++)
programmazione funzionale
::: lexi_lambda ::: lexi_lambda

Last year you could not even use the world blockchain in a meetup name, now this
blockchain e crypto* | Cina
::: Alexintosh

I keep suspecting that the key ability for programming is not intelligence, it’s not giving up
umorismo
::: rauschma

È possibile contrastare l'odio in rete senza intaccare i diritti degli utenti? Per @davidakaye sì: adottare le norme sui diritti umani come base delle scelte di moderazione dei contenuti
odio, razzismo, discriminazioni
::: fabiochiusi

Have you been looking for any easy way to explain the harms of face recognition to friends and family?
riconoscimento facciale
::: EFF

Are Remote Workers More Productive Because Asynchronous Communication Just Works Better?
lavoro
::: Slashdot

La complessità delle transizioni tecnologiche
innovazioni, futuro
::: cobrampi

We've been asking a way to edit tweets forever, but I kinda think if instead there was a way to preview a tweet, before sending it, it would help mitigating the need for edit. Specially helpful also when you don't know, if you posted more than one link, which one will be shown.
Twitter
::: WebReflection

“la normativa internazionale sui diritti umani” fornisce già gli “standard” di cui “Stati e aziende” hanno bisogno per gestire al meglio questioni riguardanti la libertà di espressione online”. Un’ottima analisi di @fabiochiusi per @valigiablu che traccia un metodo e soluzioni
Web, Internet | odio, razzismo, discriminazioni
::: gba_mm

Israeli Tech Pioneer Who Made It Possible to Talk on Skype and Watch YouTube Dies
protagonisti
::: barbaracarfagna

asyncio — Asynchronous I/O, event loop, and concurrency tools
Python
::: pymotw

Huang Qifan, the former mayor of Chongqing, has joined the chorus of voices questioning Facebook’s Libra coin, saying the digital token is set to fail
Facebook | blockchain e crypto*
::: simopieranni


"It seems that facial recognition is being promoted as a solution for a problem that does not exist"
riconoscimento facciale
::: accessnow

Google owner Alphabet in bid to buy Fitbit - sources
Google | economia, lavoro
::: emenietti

Apple, Your Developer Documentation Is Garbage
programming, codice, snippet | Apple
::: Slashdot

Even some of Facebook's own employees are not on board with the company's policy to be hands-off and not fact check political ads
Facebook | ad, pubblicità | politica
::: puiwingtam

Facebook is as nihilistic as an oil company and just as willing to dump its pollution on all of us. That it has come to so thoroughly dominate our public sphere is a tragic indictment of American civic life and American techno-capitalism
Facebook
::: FrankPasquale

This is the first in my six-part series for @IEEESpectrum about the long history of natural language processing. It begins in Medieval Spain, with a Kabbalistic mystic permuting the Hebrew alphabet in search of prophetic truth
natural language processing
::: scarschwartz

Here’s five things we just learned from the @Windows 10X leaks
privacy, sicurezza, spionaggio, virus
::: DigitalTrends

Esistono bufale anche interne all'accademia, ovvero notizie false che però gli scienziati o altri accademici diffondono all'interno della propria disciplina
disinformazione, fake news, bufale
::: massimosandal

acebook is pushing into preventative health, creating a tool to remind US users to get their tests, scans and shots. Just like with Libra, it seems an odd time for Facebook to push into a sensitive area like finance or health
Facebook
::: hannahkuchler

Interesting thoughts from the acting European Data Protection Supervisor on facial recognition
riconoscimento facciale
::: NicholasVinocur

Most System Administrators Prefer Firewall GUIs Over CLIs
privacy, sicurezza, spionaggio, virus
::: Slashdot


Ne parla pure Nature: l'#archivio di stato di #Venezia ha bloccato una collaborazione con Losanna (#EPFL) dopo un diverbio sulle licenze. 8 TB di #digitalizzazioni e 5 anni di lavoro su 160.000 documenti andranno cestinati?
dati, raccolta
::: WikimediaItalia

Super-precise new CRISPR tool could tackle a plethora of genetic diseases
innovazioni, futuro
::: RadioProzac

Our current policies on fact checking people in political office, or those running for office, are a threat to what FB stands for. We strongly object to this policy as it stands
Facebook
::: fabiochiusi

Me: Shell scripts are burning trash fires
umorismo
::: yonkeltron

Dopo il servizio TV sui "cerotti Detox", un altro servizio TV su un argomento (i sali colorati, rosa, nero, grigio,...) che avevo già trattato in un video molto visto. Sicuramente una coincidenza, ma mostra secondo me quanto ormai la TV sia in ritardo rispetto gli altri media
media
::: DarioBressanini

Stanno indottrinando la Gioventù Italiana del Littorio 2.0
Facebook | politica
::: OmoSalvadego

Impressions from IBM Data and AI Forum
artificial intelligence
::: redmonk

FCC Moves To Cut Off Huawei, ZTE From Subsidies
politica | Cina
::: Slashdot

Emulation
umorismo
::: xkcd

Microsoft Says Russia-Linked Hackers Target Sports Organizations
privacy, sicurezza, spionaggio, virus
::: Slashdot

iPadOS Discoverability Trouble - Slashdot
sistemi operativi
::: Slashdot


"Artificial intelligence" is a very bold label. In practice, I have yet to come across any technique -- at all -- that features even trace amounts of intelligence
artificial intelligence
::: fchollet

The FTC Fosters Fake Reviews, Its Own Commissioners Say
economia, lavoro | disinformazione, fake news, bufale
::: Slashdot

Top Linux Developer On Intel Chip Security Problems: 'They're Not Going Away'
privacy, sicurezza, spionaggio, virus | hardware
::: Slashdot

When I first learned about provable program correctness in college, it was *very* niche and few people were using it "for real." This makes it extra cool to see programming languages and formal methods research get applied to locking down infrastructure that runs *everything*!
privacy, sicurezza, spionaggio, virus
::: jeanqasaur

Netflix Plan To Test Varying Play Speeds Meets Filmmaker Backlash
innovazioni, futuro
::: Slashdot

Ancora? Dopo la marea di discussioni che sono state fatte su questo tema negli ultimi anni, per non dire lustri? #Marattin riscrive il significato della parola inetto ad ogni suo tweet: è senza dubbio tra gli eletti meno lucidi e preparati che io abbia mai visto
social media
::: v2Dark

++ È ufficiale: la Cina sarà la prima a lanciare la moneta digitale, l'annuncio ieri ++ Vice Chairman of #China Center for International Economic Exchanges said that China will be the first to release a #DCEP (digital currency electronic payment) system
blockchain e crypto* | Cina
::: LalaHu9

29 ottobre 1908, a ivrea nasce la Olivetti
storia
::: TomsHWItalia ::: Nereide

Political Astroturfing -- How to coordinate online disinformation campaigns
disinformazione, fake news, bufale
::: SebStier

Spero vi sia chiaro che non basterà una legge per sconfiggere la #disinformazione, le varie bestie, le fakenews. Quelle sono come un rumore di fondo, un refrain che entra nei cervelli e li condiziona. Si combatte con la cultura, la scuola, la politica. E con altri refrain giusti
disinformazione, fake news, bufale
::: janavel7

Il fascino dell’idrogeno
a volte però *boom!*
energia
::: lucadebiase

Facebook spieghi oscuramento pagine pro-curde
Facebook | censura
::: ilmanifesto


I'm ready! 🚀 Launch my personalized crypto! 😲📛🖌🎨🌍🌠 @cryptoraves #DropMyCrypto
blockchain e crypto*
::: Alexintosh

At 10:30 p.m., 29 October 1969, the 1st #ARPANET message was sent from @UCLA site to the Stanford Research Institute. From 1st node of ARPANET the #InternetRevolution was born
storia | Web, Internet
::: Nereide ::: timberners_lee ::: MIT_CSAIL

Marattinate fascio-cazzare di un politico in vena di censura
elenco solo i primi, sono legione, l'Onorevole si ritenga soddisfatto
censura
::: GabrieleMuccino ::: mazzettam ::: yoshi979 ::: _arianna ::: real_fabristol ::: mante ::: ebobferraris ::: simopieranni ::: giannigipi ::: chsever ::: real_fabristol ::: real_fabristol ::: alelomi ::: mbanzi ::: MadameVide ::: giannigipi ::: marcocanestrari ::: ilFolagra ::: evaristegal0is ::: Genjuro75 ::: micheleboldrin ::: zacchiro ::: Dio ::: mante ::: DavidPuente ::: Genjuro75

Motorola Is Building a New Kind of Walkie-Talkie For First Responders
hardware
::: Slashdot

China To Funnel $29 Billion Towards its Chip Ambitions
hardware | Cina
::: Slashdot

nel form dell'insulsa proposta contro "i profili falsi sui social network" e per una registrazione obbligatoria con nome e cognome, puoi sottoscrivere la petizione con un nome falso 🙃
censura | politica
::: emenietti

Kern in Hell
umorismo
::: codinghorror

Courageous workers at Facebook are now standing up to the corporation’s leadership, challenging Zuckerberg’s disturbing policy on allowing paid, targeted disinformation ads in the 2020 election
Facebook | politica
::: AOC

A California man has registered as a candidate for state governor purely to run false commercials on Facebook, as a protest against the social network’s policy to allow political misinformation in paid advertising
Facebook | disinformazione, fake news, bufale | politica
::: fabiochiusi

3 types of ‘intelligent apps’ that get investors excited
economia, lavoro
::: RichRogersIoT

Google brings its '.new' domains to the rest of the web, including to Spotify, Microsoft & others
Web, Internet | Google
::: emenietti

iPhone Emulation Company Sued by Apple Says It's Making iPhones Safer
copyright e brevetti | Apple
::: Slashdot


Ancora Marattin - paura per cosa possono fare i politici e gli incapaci; ma ci sono anche considerazioni serie, nèh!
#cens #:soc #:pol
::: tobdea ::: masstrovato ::: evaristegal0is ::: umanesimo ::: Loustrong ::: raistolo ::: AlfonsoFuggetta ::: Oblomov ::: luigimarattin ::: buonostomeme ::: luigimarattin ::: AlfonsoFuggetta ::: riventheripper ::: ORARiccardo ::: mante ::: simopieranni ::: stefanoepifani ::: mazzettam ::: mazzettam ::: IlMist ::: Giulia_B ::: luigimarattin ::: zacchiro ::: janavel7 ::: annamasera ::: janavel7 ::: maurovanetti ::: bermat ::: real_fabristol ::: MilaSpicola ::: maurovanetti

Software is the invisible writing that whispers
cit.
::: Grady_Booch

When engaging in a disagreement on twitter I try and abide by one rule
Twitter
::: laurieontech

China and India are the top contributors to #opensource after the US. More than 40 million developers on GitHub and 80% from outside the US
open source
::: nithyaruff

Google Ex-CEO Eric Schmidt Says Curbs on Chinese Hiring Hurts Tech
politica | Cina
::: Slashdot

Sony is Closing Vue, Its Pay TV Streaming Service You Never Used
Web, Internet
::: Slashdot

Sogno un sito di informazione che mi dica
ottima idea; da fare subito se qualcuno ascolta; ma lo so che sono nessuno e nessuno mi spia
Web, Internet
::: ivosilvestro

My advisor's advisor, advisor, advisor, advisor, advisor was Leonhard Euler
matematica
::: mathematicsprof

Mark Zuckerberg Needs to Shut Up | Opinion | Communications of the ACM
protagonisti | Facebook
::: CACMmag

Facebook Sues Israel's NSO Group Over Alleged WhatsApp Hack
privacy, sicurezza, spionaggio, virus
::: Slashdot ::: TheHackersNews

New 'Unremovable' XHelper Malware Has Infected 45,000 Android Devices
privacy, sicurezza, spionaggio, virus
::: Slashdot


Programmers have to fight against the two most destructive forces in the universe
umorismo
::: RichRogersIoT

Indian Nuke Plant's Network Reportedly Hit By Malware Tied To North Korea
privacy, sicurezza, spionaggio, virus
::: Slashdot

US Court Shields Internet Subscribers From Futile Piracy Complaints - Slashdot
privacy, sicurezza, spionaggio, virus
::: Slashdot

MIT Taught Self-Driving Cars To See Around Corners With Shadows
artificial intelligence | automazione
::: Slashdot

Southern Vietnam could all but disappear. Mumbai is at risk of being wiped out. 150 million people now live on land that will be below the high tide line by midcentury, according to new research based on more accurate calculations of land elevation
ambiente, ecologia
::: nytclimate

Fedora 31 is officially here!
Linux distro
::: killyourfm

Useful summary of the legal & ethical issues, incl. this critical point: A person’s face is a precious & fragile element [of] her identity & sense of uniqueness... Turning the human face into another object for measurement by automated processes touches the right to human dignity
riconoscimento facciale
::: carlykind_

“Data Voids” by Michael Golebiewski & @zephoria demonstrates how manipulators expose people to problematic content on search-engines by exploiting #DataVoids
dati, raccolta | privacy, sicurezza, spionaggio, virus
::: datasociety

Anyone who thinks Facebook should decide which claims by politicians are acceptable might ask themselves this question: Why do you want us to have so much power?
Facebook
::: fabiochiusi

French data protection regulator declares #FacialRecognition in school illegal. What a victory for the #privacy of the kids over there!
riconoscimento facciale
::: Kirst3nF

Research has shown that people tend to be unaware of their own cognitive biases and underestimate the influence of algorithms on their social media behaviour
social media | algoritmi, codice
::: MediaEu


Tools can lead the culture change
tool, componente software | innovazioni, futuro
::: fluxroll

The surveillance dystopia can be stopped
privacy, sicurezza, spionaggio, virus
::: torproject

"...Irrational Exuberance is in full bloom today with ... smartphones, algorithms, Big Data, the Internet of Things, artificial intelligence (AI), blockchain, driverless vehicles, and robotics." What from Ag could be added to the list?
innovazioni, futuro | economia, lavoro
::: agronomistag

E se si rompe #Internet? #scienza #Tecnologia
Web, Internet
::: Scientificast

La proposta di identificare gli utenti social rilanciata in questi giorni ha rimesso l'inciviltà online al centro del dibattito politico. Nel nuovo thread sulla ricerca ci chiediamo quale sia l’effetto dell’inciviltà online e dell'anonimato sulla fiducia
thread lungo e mooolto OK
social media
::: FabbioSabatini

I've reflected a lot on why I'm hating Twitter more and more since a few years. I came up with a partial answer, at least for the developers/technology Twitter community which I mostly follow: the nerd/Linux culture of 20 years ago became the Apple/hipster developers of today
Twitter | programming, codice, snippet
::: Gianlucadfiore

Country of Georgia Hit By Massive Cyberattack
privacy, sicurezza, spionaggio, virus
::: Slashdot

It's bittersweet: I'm leaving @dropbox, and am now retired. I've learned a lot during my time as an engineer here -- e.g. type annotations came from this experience -- and I'll miss working here
protagonisti | Python
::: gvanrossum

Nokia's Collapse Turned a Sleepy Town in Finland Into an Internet Wonderland
economia, lavoro | ambiente, ecologia | ditte

Apple Just Killed Google's Killer Phone Feature
dispositivi mobili
::: Slashdot

I monopattini, le multe e i campanili
innovazioni, futuro
::: mante

Facebook says it suspends accounts tied to Putin ally for meddling in Africa
he campaigns used almost 200 fake and compromised accounts to target people in Madagascar, Central African Republic, Mozambique, Democratic Republic of Congo, Cote d'Ivoire, Cameroon, Sudan and Libya, Facebook said
Facebook | privacy, sicurezza, spionaggio, virus
::: fabiochiusi


30 ottobre, 2019

Bash scripts - cose che devo ricordarmi - 1


Capita ogni tanto che scopro (o riscopro) cose che poi dimentico. Adesso le scrivo per ricordarmele, forse.

Recentemente visto che continuavo a riscrivere lo stesso comando non proprio corto (diciamo più di una ventina di caratteri) mi sono convinto che era da scriptare. Con una sorpresa per me che dimentico come si fa; o forse è nuova, diciamo dopo il '90; anche perché allora niente Bash.

Non racconto per davvero lo script per ragioni di riservatezza (no, dai LOL!) faccio qualcosa di più semplice. Il problema è prendere nota della pensata momentanea prima di dimenticarla: appena viene la memorizzo con data e ora in un file (di testo, l'unico tipo sensato). La prima versione:

#!/bin/bash

if [ -z $1 ]; then
    echo 'ARRGGGHHHH!!!!!'
    exit 2
fi

nomefile=$1
shift
ora=$(date "+%e %b %Y - %H:%M")

echo "$ora -> $*" > $nomefile


lo rendo eseguibile e provo:

$ chmod +x nota-0
$ ./nota-0 memo prova di nota in locale
$ cat memo
29 ott 2019 - 14:00 -> prova di nota in locale
$


OK, funziona. Il problema è che le note vengono sparse per tutto il disco (e non solo) e poi devo andarle a cercare. Ah! inoltre se ripeto un nome la vecchia nota viene eliminata: l'idea è di mettere la data nel nome del file (io sono della vecchia scuola niente spazi nei nomi dei flies). Aggiorno lo script, tutte le note saranno memorizzate in una directory, per me ~/lab/note:

#!/bin/bash

if [ -z $1 ]; then
    echo 'ARRGGGHHHH!!!!!'
    exit 2
fi

dirnote=$HOME"/lab/note/"
nomefile=$1
shift
ora=$(date "+%e_%b_%Y-%H.%M")

echo "$ora -> $*" > $dirnote$ora-$nomefile


la provo ed ecco:

$ ./nota-1 test prova di nota nella dir delle note$ ls -l ~/lab/note
totale 4
-rw-r--r-- 1 juhan juhan 56 ott 29 14:10 29_ott_2019-14.10-test
$ cat ~/lab/note/29_ott_2019-14.10-test
29_ott_2019-14.10 -> prova di nota nella dir delle note

$
 
Funziona. Ma la riga

    echo "$ora -> $*" > $dirnote$ora-$nomefile

è stata giudicata poco chiara ("brutta" ha detto) da un mio valente collaboratore. Ha ragione, mi ha aperto Stack Overflow e ha cercato per "bash script braces" (o qualcosa di simile) e sì, la versione definitiva dello script:

#!/bin/bash

if [ -z $1 ]; then
    echo 'ARRGGGHHHH!!!!!'
    exit 2
fi

dirnote=$HOME"/lab/note/"
nomefile=$1
shift
ora=$(date "+%e_%b_%Y-%H.%M")

echo "$ora -> $*" > "${dirnote}${ora}-${nomefile}"


$ chmod +x nota$ ./nota ultimo-memo prova definitiva con lo script più bello$ ls -l ~/lab/note
totale 8
-rw-r--r-- 1 juhan juhan 56 ott 29 14:10 29_ott_2019-14.10-test
-rw-r--r-- 1 juhan juhan 63 ott 29 14:21 29_ott_2019-14.21-ultimo-memo
$ cat ~/lab/note/29_ott_2019-14.21-ultimo-memo
29_ott_2019-14.21 -> prova definitiva con lo script più bello

$
 
OK. Ma ancora una cosa, vecchia ma sempre attuale: RTFM (dovevo anzi pensarci prima). Il manuale è qui. Ci sono altre cose, per altri post.

In alternativa a Bash, specie se lo script diventa lungo o complesso, è possibile ricorrere a un linguaggio di scripting con il vantaggio che con qualche minima modifica funzionerebbe anche sotto Windows. Io propongo Python, JavaScript mi dice l'über-nerd del mio collaboratore. Opinioni contrastanti, da discuterne.

🔴

27 ottobre, 2019

Visto nel Web - 443

Mentre che il mondo va avanti, troppo veloce ecco cosa ho wisto nel Web.


Alphabet Exec Blames Media For Overhyping Self-driving Cars, Even Though Google Drove the Hype
automazione
::: Slashdot

Pearls Before Swine by Stephan Pastis for October 24, 2019
umorismo
::: GoComics

Amazing teamwork on our #blockchain interop stack
blockchain e crypto*
::: jaromil

Wow. Rep. Porter cites the rough conditions content moderators must work under. She asks if Zuck would spend "1 hr a day over the next year watching these videos... and only accessing the same benefits available to your workers" Zuck didn't say anything
Facebook
::: TonyRomm

Cinque cose da sapere sull'inchiesta del Foglio su #Huawei
Huawei
::: ilfoglio_it

Why iOS 13 and Catalina Are So Buggy
sistemi operativi | Apple | bug
::: Slashdot ::: mitsuhiko

Developed by @UofGlasgow researchers, Pepe is a simple and inexpensive #robot but it has an important job: It reminds children to wash their hands
robots, automazione
::: IEEESpectrum

The Florida chapter of the Society of Professional Journalists branch is seeking to trademark the term "fake news," "with the intended goal of curbing Trump’s frequent use of it to discredit stories he doesn’t like"
copyright e brevetti | politica
::: Mantzarlis

Ci siamo! Il paper del team Google et al è stato pubblicato
quantum computing | Google
::: cmnit ::: fabiochiusi ::: andcapocci ::: MauroV1968

Deep Learning is often used to hammer a screw
cit.
::: thek3nger

Earthquake Early Warnings
umorismo
::: xkcd

US Congress hearing, Mark Zuckerberg warns blocking #Libra scheme would favor China's tech leadership
blockchain e crypto* | Facebook | Cina
::: LalaHu9

I switched from #ZSH to #Fish and rewrote my config in about 30 minutes. It's now 50% the length and I understand it completely
linguaggi di programmazione
::: yonkeltron


Android Pie Passes 20% Adoption After 12 Months
dispositivi mobili | sistemi operativi
::: Slashdot

To achieve great things, two things are needed
cit.
::: RichRogersIoT

Sta capitando abbastanza spesso che persone che seguo vengano considerate non più seguite da me anche se non gli ho tolto il follow. Lo stesso capita nella direzione opposta. Cosa succede, @Twitter e @TwitterSupport?
Twitter
::: MauroV1968

EU Data Watchdog Raises Concerns Over Microsoft Contracts
privacy, sicurezza, spionaggio, virus
::: Slashdot

Correlation is not causation
umorismo
::: AmeetRKini

Google Accused of Creating Spy Tool To Squelch Worker Dissent
lavoro | Google
::: Slashdot

Open Database Leaked 179GB In Customer, US Government, and Military Records
privacy, sicurezza, spionaggio, virus
::: Slashdot

Frameworks and APIs change fast. Software design principles are evergreen. Learn principles that translate across language barriers
programming, codice, snippet
::: _ericelliott

If we don’t harness [AI] responsibly and share the gains equitably, it will lead to greater concentrations of wealth and power for the elite few... and poverty, powerlessness and a lost sense of purpose for the global majority
artificial intelligence
::: ebekiel

Another shameful decision by the British "justice" system. So it's ok that #Assange and all his visitors, including lawyers, journalists, artists @yanisvaroufakis @pamfoundation @avilarenata @aiww and many others were spied by the #CIA in midst of London?
Julian Assange | politica
::: HorvatSrecko

#OnThisDay: Oct 24 netizens celebrate programmer’s day in China, as you can write the date as 1024 -- the maximum number of computer memory addresses. In Chinese, 1GB (1024MB) shares the similar pronunciation as “#1 best,” so 1GB to all programmers!
programming, codice, snippet | Cina
::: PDChina

This! built with minimalism and s/EU/sovereign/ - it works with our without some institutions involved
privacy, sicurezza, spionaggio, virus
::: jaromil


Our latest hot of the press Fantastic collaboration with @GoogleAI, the labs of Jose Ramasco and Henry Kautz. A new way to understand cities. We study intra-city population flows in hundreds of cities worldwide...
ambiente, ecologia
::: Ghoshal_G

#Zte considera l’Italia un hub strategico per #5G. Il presidente per l’Italia sottolinea come la tecnologia sia neutra e necessiti di approccio scientifico, ricordando che dopo 30 anni globalizzazione, brevetti e tecnologie sono interdipendenti.
5G
::: fmaringio

Discutere costruttivamente su Twitter è un po' come
cit. | umorismo
::: Svagaia

This is why we are prioritizing mobile over a web-version at @Dexwallet
dispositivi mobili
::: Alexintosh

This Wednesday, the “data ethics commission” of the German government released a report that argues for more regulations in automated decision-making
artificial intelligence | etica
::: algorithmwatch ::: maria_axente

This article is hilarious for so many reasons
programming, codice, snippet
::: wilbowma

Just 6% of US Adults On Twitter Account For 73% of Political Tweets, Study Finds
Twitter | politica
::: Slashdot

AI Allows Paralyzed Person To 'Handwrite' With His Mind
artificial intelligence
::: Slashdot

Tesla Returns To Profitability, Smashes Analyst Estimates
economia, lavoro
::: Slashdot

To mark the #Unix50 anniversary, .@ComputerHistory has released some of the earliest Unix code. We identified it in the Dennis Ritchie papers for which we were recently entrusted to preserve
storia
::: dcbrock

Decorators in Go using embedded structs
linguaggi di programmazione
::: Gianlucadfiore

How DARPA Trucked Its Massive Radio-Frequency Testbed Across the United States
privacy, sicurezza, spionaggio, virus | politica
::: Slashdot


#BREAKING French media say they will report Google to the country's competition regulator over its refusal to pay news companies for displaying their content in defiance of a strict new EU copyright law
media | copyright e brevetti
::: AFP

ho sviluppato competenze nel mondo dei social media
umorismo
::: Gianlucadfiore

It's been nearly a year since the crash of Lion Air flight 610. Software developer and pilot Greg Travis looks at what went wrong with the Boeing #737Max
programming, codice, snippet
::: IEEESpectrum

Here's an idea for replacing airliner black boxes with "glass boxes" that transmit flight data in real time
innovazioni, futuro
::: IEEESpectrum

Wondering which percentage it is now
blockchain e crypto* | bug
::: Alexintosh

The work these gentlemen did is awesome. You can now compile Go apps to run on ARM without an OS but basically as the OS itself. This reduces the attack surface ridiculously. Hats off 👏
linguaggi di programmazione
::: evilsocket

There's a very special place in hell for those who
umorismo
::: phretor

Maybe It's Not YouTube's Algorithm That Radicalizes People
social media
::: Slashdot

Dash to Panel 24 Released with Vertical Option, New Update Mechanism
Ubuntu
::: dcavedon

Io sto con AOC: «Ecco perché, per prendere decisioni su Libra, dobbiamo scavare nel comportamento passato di Facebook riguardo al rispetto della democrazia»
Facebook | blockchain e crypto* | privacy, sicurezza, spionaggio, virus
::: _juhan ::: FredTJoseph ::: dana1981

Great thread
programming, codice, snippet | economia, lavoro
::: jeanqasaur

Twitter Says It's Better at Spotting Abusive Tweets Than Users
mah...
Twitter | privacy, sicurezza, spionaggio, virus
::: Slashdot


Thread sull'anonimato in rete. Periodicamente qualcuno tenta di creare un collegamento tra `insulti sui social` e `anonimato online`. E come soluzione viene spesso proposta l'associazione di un documento all'account. Provo ad argomentare perché imho non funziona
social media
::: evaristegal0is

Oscurata la pagina Facebook dei Giovani Democratici piemontesi
Facebook | censura
::: simopieranni

Da Marx a Mark: la filosofia della storia ai tempi di Facebook
Facebook
::: pandorarivista

os papers be like: "a high-level language like C", meanwhile, pl papers be like: "a low-level language like C"
linguaggi di programmazione
::: koronkebitch

The Iranian Developer Deadlock: Stuck Between Censorship and US Sanctions
politica
::: Slashdot

The Amazon Effect
ditte
::: redmonk

Nonstop coverage of propaganda efforts and speculation about their impact, without actual evidence to support that impact, feeds the loss of trust in our institutions to a greater extent than the facts warrant
disinformazione, fake news, bufale
::: BKCHarvard

Natscape 🤦‍♂️@repubblica dovreste controllare meglio quello che scrivete
avrebbero fatto meglio anche Toninelli o Gasparri
media | disinformazione, fake news, bufale
::: MauroV1968

Microsoft, Intel Draft 500,000+ JROTC Kids To Fight National CS Talent Shortage
cyberwar
::: Slashdot

3 Lessons for Startups from 40 Years in Manufacturing
programming, codice, snippet
::: RichRogersIoT

Sick of traffic? How about a ride on an air taxi?
innovazioni, futuro
::: tictoc

The same cycle that elevated the internet over intranets is happening in #bitcoin. Good tech is recognized on its merits, there are attempts to make private copies, and eventually we see a return to the original, powerful invention. Just a matter of time
blockchain e crypto*
::: valeryvavilov


BBC News Launches 'Dark Web' Tor Mirror
censura
::: Slashdot

US Military Could Collapse Within 20 Years Due To Climate Change, Report Commissioned By Pentagon Says
ambiente, ecologia
::: Slashdot

Facebook Is Launching a News Section -- and Will Pay Some Publishers Millions
Facebook | novità
::: Slashdot ::: fabiochiusi ::: Slashdot

Imagine an algorithm capable of generating a Wikipedia-like encyclopedia from raw sources (e.g. from the Internet minus Wikipedia), at the same level of factual accuracy, edition quality, scope, and resolution. When will this be feasible?
artificial intelligence
::: fchollet

Coderdojo Annual survey results 2018
scuola, educazione, cultura | programming, codice, snippet
::: dcavedon

professor: and what do we call 3⋅2⋅1 ?
umorismo
::: Mr_Nohmer

A health algorithm used in hospitals dramatically underestimated the medical needs of black patients, reducing the care they could get. "Correcting the bias would more than double the number of black patients flagged as at risk"
algoritmi, codice | odio, razzismo, discriminazioni
::: drewharwell ::: andcapocci

Zuckerberg’s “we need to succeed to beat China” argument is timed for this moment
Cina | social media
::: sarahfrier

Artificial Intelligence Research Needs Responsible Publication Norms
artificial intelligence | etica
::: fabiochiusi

Twitter really deserves more credit for publicly sharing raw content and metadata from known information operations. This leads to a disproportionate focus on Twitter but also to much greater public understanding of how these campaigns operate and their impact
Twitter | media
::: alexstamos ::: evelyndouek

#China, #AI starts at school
Cina | artificial intelligence | scuola, educazione, cultura
::: LalaHu9

da big mac a big tech
artificial intelligence
::: emenietti

Where do data scientists spend their time?
dati, raccolta
::: tdhopper


Get your own web site!
social media
::: zachleat

We talk a lot about speech and expression and we don’t talk about reach enough, and we don’t talk about amplification. And reach and amplification was not represented in that speech
Twitter
::: fabiochiusi

The Four Major Carriers Finally Agree To Replace SMS With a New RCS Standard
Web, Internet
::: Slashdot

I cinque stadi della viralità sul web
umorismo
::: thek3nger

Quando nei processi la prova è lo screenshot...😱
disinformazione, fake news, bufale
::: CBlengio

Our research team is using graph neural networks to predict the olfactory properties of molecules, expanding our understanding of smell & odor, with potential applications ranging from odorant synthesis to scent digitization
artificial intelligence
::: GoogleAI

In 1993, Vernor Vinge predicted the Singularity would occur before 2030. In 2011, Ray Kurzweil placed it in 2045. In 2016, Masayoshi Son predicted 2047. People nowadays seem more likely to quote 2050. The common point among these predictions: they're always 30-35 years away
innovazioni, futuro
::: fchollet

I piani lunari di Jeff Bezos si stanno complicando
andremo sulla luna, facciamo tutto noi!
spazio, esplorazione | protagonisti
::: emenietti

ARM Will Continue Supplying Huawei With Mobile Chip Designs
Huawei
::: Slashdot

Impegno della #Cina a portare la TV satellitare in diecimila villaggi di 25 paesi dell'Africa subsahariana. A distribuire e installare gli impianti alimentati a energia solare la compagnia privata cinese #Startitme #Africa
politica | energia
::: acirne

Organic Farming is Actually Worse For Climate Change
ambiente, ecologia
::: Slashdot

#otd in 1983 Microsoft Word was released
allora c'era WordStar; ricordo un posto dove gli utenti venivano obbligati a usare Word, installato sui nuovi PC e si arrivava allo scambio con i vecchi per continuare ad avere ws 🙂
storia
::: MIT_CSAIL


Investigation by IEEE Spectrum reveals MIT’s Media Lab’s food computers were never deployed to a refugee camp in Jordan as claimed by OpenAg scientist @calebgrowsfood in public appearances and emails to potential investors. #foodcomputer #indoorfarm
frodi
::: IEEESpectrum

Here’s Why Ubuntu Linux 19.10 Feels Insanely Fast And Responsive
Ubuntu
::: dcavedon ::: WebReflection

A #Bologna c'è l’archivio universale dei codici sorgente
storia | open source
::: zacchiro

Since Facebook has been in the news a lot, will Facebook’s news tab curation include articles about the company, even if critical? They say yes. “There is a clear separation with regards to the editorial team,” @campbell_brown says
Facebook | novità
::: sarahfrier ::: JoshConstine

It is well known that the only way to ship any software project
umorismo
::: fchollet

The FCC is Using Streaming Services as an Excuse To Raise Cable Rates
Web, Internet
::: Slashdot

Nearly 7.5 Million Adobe Creative Cloud Users Exposed To Hackers
privacy, sicurezza, spionaggio, virus
::: Slashdot

'Pwnagotchi' Is the Open Source Handheld That Eats Wi-Fi Handshakes
machine learning | open source
::: Slashdot

Lawmaker Kills Repair Bill Because 'Cellphones Are Throwaways'
dispositivi mobili
::: Slashdot

Full Circle Magazine #150
novità
::: fullcirclemag

By popular demand, you can now follow @machinepix on Facebook!
novità | Facebook
::: MachinePix

NASA Plans To Send Water-Hunting Robot To Moon Surface in 2022
spazio, esplorazione
::: Slashdot

Bombycilla garrulus

Machine learning is helping to solve challenging, real-world problems around the world. See how Tambua Health is using machine learning, powered by TensorFlow, to help doctors determine the likelihood of respiratory diseases
machine learning
::: TensorFlow

Which mobile operating system do you primarily use?
dispositivi mobili | sistemi operativi
::: slashdot

Call of Duty: Modern Warfare Arrives Amid China Controversy
games | Cina
::: Slashdot

Thus began one of the first big trials of a then-radical idea: Networking different kinds of computers together. The project was called ARPANET—an experimental network built by the US ARPA. It was designed to connect islands
storia
::: ComputerHistory

Hot take: Amy's comment about how "functional programming languages" are not in the area of "ideas that are valuable to people", not epistemology, is what demonstrates why PL researchers don't collaborate with HCI people
programmazione funzionale
::: samth

City of Johannesburg Hit by Ransomware, Again
frodi
::: Slashdot

Update And Restart
umorismo
::: LOLNEIN

Everyone please stop mocking Zuckerberg’s haircut. I am his stylist. The truth is he just won’t sit still in the race car chair, even if I give him a sucker. He just keeps saying “zucky dislikes that” and turning his head 360 degrees like a demon so that’s the best I can do
umorismo
::: TragicAllyHere

It might be appropriate to remind Zuckerberg that pluralism and *relativism* are two entirely different things
Facebook
::: fabiochiusi

2 Crucial Things Desktop Linux Must Do To Find A Larger Audience
Linux
::: killyourfm

Interessante esperimento a Taiwan - How a social network could save democracy from deadlock
social media
::: cobrampi

Have you ever imagine that @facebook is crawling links in your pdf files when you are sending them via messenger?
privacy, sicurezza, spionaggio, virus
::: vah_13

Piccadilly Circus 1910

The US nuclear forces’ Dr. Strangelove-era messaging system finally got rid of its floppy disks
hardware
::: emenietti

China on Saturday passed the Cryptography Law, which will take effect on Jan. 1, 2020, to better regulate the application of cryptography and guarantee cyber and information security
privacy, sicurezza, spionaggio, virus | Cina
::: PDChina

Why I made the switch from Mac to Linux
If you are a Web developer, you should do the same. All stereotypes are now, well, stereotypes, so why not? You'd end up with a much wider variety of hardware to chose from, and you'll use Open Source like you do on the Web
Linux
::: WebReflection

5G, Zte apre il dossier "aree rurali" e internet delle cose
5G | Cina
::: wireditalia

Quattro (possibili) ragioni della tristezza della politica digitale
Web, Internet
::: mante

“we’re setting strict standards for publishers to be eligible to appear in Facebook News. If a publisher posts misinformation, it will no longer appear in the product” - So politicians are allowed to lie and journalists are not? 🤔
Facebook | disinformazione, fake news, bufale
::: fabiochiusi

Già nel 2016 nel lancio del tredicesimo piano quinquennale la #Cina aveva inserito lo sviluppo del blockchain (pur bannando le criptovalute). #Pechino vuole svilupparlo in tutti gli ambiti ma con un occhio di riguardo alla sicurezza alimentare e finanziaria #XiJinping #blockchain
blockchain e crypto* | Cina
::: simopieranni ::: simopieranni

Google CEO, in leaked video, says company is ‘genuinely struggling’ with employee trust
Google | lavoro
::: michaelzimmer

Delightful (thanks, @NewYorker!)
umorismo
::: demartin

'interno svelato di una "Perottina" aka Olivetti Programma 101 (il primo PC della storia, anni '60)
storia
::: cmnit

Symantec Antivirus Crashed Chrome 78
bug
::: Slashdot