Sicurezza e disinformazione – 19

Sempre meno sicuro ma di sicuro una nuova lista 🧐

rjXLeeph

Italian prosecutors announce investigation into eSurv, the spyware company that infected almost 1,000 people with 25 malicious Google Play Store apps
privacy, sicurezza, spionaggio, virus
::: lorenzofb

Inferring someone’s religion from fitness tracker data
dati, raccolta
::: JohnDCook

WhatsApp said in a statement it was working with local startup Proto to classify messages sent to the service by users as true, false, misleading or disputed. They will also build a database of such content to better understand misinformation
disinformazione, fake news, bufale
::: fabiochiusi

In arrivo una brutta notizia per Casaleggio e il m5s da parte del garante della privacy: gli esiti delle votazioni su Rousseau sono vulnerabili, esposti ad accessi ed elaborazioni di vario tipo che vanno dalla semplice consultazione a possibili alterazioni
privacy, sicurezza, spionaggio, virus
::: claudiocerasa ::: jacopo_iacoboni ::: AntonioNicita

la spaventosa frontiera attuale delle disinfo ops sono le chat (whatsapp e telegram le principali), e Instagram. Su Facebook resiste la disinformazione e manipolazione degli anziani
disinformazione, fake news, bufale
::: jacopo_iacoboni

Facebook, Twitter sucked into India-Pakistan information war
social media
::: maurertim

French ISPs Ordered To Block Sci-Hub, LibGen
censura
::: Slashdot

Singapore to introduce anti-fake news law, allowing removal of articles. // no government should have the power to decide which news are true and which ones are false
censura
::: ChaToX

A woman from China carrying 4 cell phones and a malware-infected thumb drive gained access to Mar-a-Lago during President Trump’s recent visit
privacy, sicurezza, spionaggio, virus
::: nytimes

Twitter now lets users appeal violations within its app
privacy, sicurezza, spionaggio, virus
::: fabiochiusi

Un inganno chiamato Casaleggio. Ma quale mago dell’innovazione! Così il Garante mette a nudo anche l’incompetenza del capo del M5s
disinformazione, fake news, bufale
::: lucianocapone

Millions of Facebook Records Found on Amazon Cloud Servers
privacy, sicurezza, spionaggio, virus
::: Slashdot ::: dvIpr ::: zerohedge

Why did Google’s Digital News Innovation Fund offer up to €50,000 to a mouthpiece of Hungary’s authoritarian government?
Google
::: NewsbySchmidt

52422147_2251544705090104_507728704198148096_n

Amazon Plans To Take on Roku By Vastly Expanding Its Free Ad-Supported Streaming Services: Report
ad, pubblicità
::: Slashdot

Is a well-organized and potentially large network of individuals creating and operating multiple Twitter accounts in order to promote political content? Updated research from @r0zetta shows that is this happening “directly under our noses”
Twitter | politica
::: FSecure

Elizabeth Warren Introduces Bill That Could Hold Tech Execs Responsible For Data Breaches
privacy, sicurezza, spionaggio, virus
::: Slashdot

Huawei Laptop ‘Backdoor’ Flaw Raises Concerns
privacy, sicurezza, spionaggio, virus
::: Slashdot

Amazon Quietly Removes Promo Spots That Gave Special Treatment To Its Own Products
ad, pubblicità
::: Slashdot

A misinformation tip line WhatsApp announced yesterday turns out to be primarily for research, not to help users who come across suspicious information
disinformazione, fake news, bufale
::: CraigSilverman

Già fatto in Cina, ovviamente
privacy, sicurezza, spionaggio, virus
::: signorelli82

That time I got really mad and decided to kill an industry
privacy, sicurezza, spionaggio, virus
::: evacide ::: fabiochiusi

The entire surveillance industry: stalkware, hacking, tracking, tracing tools targeting journalists, dissidents, it is out of control
privacy, sicurezza, spionaggio, virus
::: MarietjeSchaake

MIT Cuts Funding Ties With Huawei, ZTE Citing US National Security Concerns
privacy, sicurezza, spionaggio, virus
::: Slashdot

People Changing Jobs Too Often Could Be Punished by China’s Social Credit System
economia, lavoro
::: Slashdot

L’assenza di reazioni significative in casa 5 Stelle si spiega per … la mancanza dell’effetto sorpresa
privacy, sicurezza, spionaggio, virus
::: pestapere ::: jacopo_iacoboni ::: jacopo_iacoboni

US Conducted Secret Surveillance of China’s Huawei, Prosecutors Say
privacy, sicurezza, spionaggio, virus
::: Slashdot

D3i0mciXoAIU4Yo

Android TV Update Puts Home-Screen Ads On Multi-Thousand-Dollar Sony Smart TVs
ad, pubblicità
::: Slashdot

Why solely focusing on the bias or accuracy of facial recognition misses the big picture
privacy, sicurezza, spionaggio, virus
::: Matt_Cagle

We all have a right to live our lives without the threat of illegal surveillance
privacy, sicurezza, spionaggio, virus
::: fabiochiusi

This is unfortunate, but we have identified the video’s portion which triggered the YouTube’s copyright filter and we’re working to close the dispute soon
censura
::: journalismfest

Facebook, Google, Twitter To Face US Lawmakers About Tech ‘Censorship’
social media | politica
::: Slashdot

I see few covering the rumors of Ecuador’s intention to unilaterally revoke Julian Assange’s asylum refer to the formal rulings of the United Nations
privacy, sicurezza, spionaggio, virus
::: Snowden

Former Senate Staffer Admits To Doxxing Five Senators On Wikipedia
forse sono solo io ma doxx non sapevo cosa vuol dire e sembra non così standard; per fortuna c’è Urban Dictionary
privacy, sicurezza, spionaggio, virus
::: Slashdot ::: Urban Dictionary

Non smetterò mai di dirlo, le fake che pubblica lo staff di Salvini, profumatamente pagato dai contribuenti,non sono gaffe,sono strategia politica, perché anche se dovesse arrivare la smentita, non arriverà mai a tutti quelli che hanno condiviso.
Un’interrogazione parlamentare?
disinformazione, fake news, bufale | politica
::: Nonha_stata

#Microsoft chiude il suo bookstore e tutti i volumi diventano illeggibili. Formati proprietari e #DRM: ecco perché le nostre librerie digitali possono cancellarsi
censura
::: WikimediaItalia

A Russian court fined Twitter 3,000 roubles ($46) on Friday for failing to supply information to Russia’s authorities on where it stores its Russian users’
personal data
social media
::: Info_Activism

White Hat Hackers Cracked 50 UK Universities’ Computer Systems In 2 Hours
privacy, sicurezza, spionaggio, virus
::: Slashdot

Passare per idiota agli occhi di un imbecille
è una cosa seria; riusciremo a fermare i giggini? (cioè il loro burattinaio)
privacy, sicurezza, spionaggio, virus
::: raistolo

‘Cambridge Analytica quickly grew into one of the world’s leading political data firms… & Alexander was included in WIRED Magazine’s Next List as one of the world’s top 25 geniuses’ The ad industry reveals itself to be even more toxic & deluded than we thought. What a match
privacy, sicurezza, spionaggio, virus
::: carolecadwalla

D3fdlamXoAI_mrA

Centinaia di utenti italiani spiati a loro insaputa via app? Il caso “Exodus”
privacy, sicurezza, spionaggio, virus
::: Genjuro75

Dozens of UK business owners are using artificial intelligence to scrutinise staff behaviour minute-to-minute by harvesting data on who emails whom and when, who accesses and edits files and who meets whom and when
privacy, sicurezza, spionaggio, virus
::: fabiochiusi

Google Helps Government Conduct Warrantless Searches, Alleges EPIC
privacy, sicurezza, spionaggio, virus
::: Slashdot

Why Social Media Users Have Trouble Reclaiming Hijacked Accounts
privacy, sicurezza, spionaggio, virus
::: Slashdot

Several Major Browsers to Prevent Disabling of Click-Tracking ‘Hyperlink Auditing’
privacy, sicurezza, spionaggio, virus
::: Slashdot

Cheat sheets series for all vulnerabilities
privacy, sicurezza, spionaggio, virus
::: Alra3ees

Dieci, cento, mille @r0gue_0, perché davvero non se ne può più di sti quattro scemi che vanno in giro a parlare di Blockchain e AI
disinformazione, fake news, bufale | privacy, sicurezza, spionaggio, virus
::: edoardopigaiani

Heartbleed bug was discovered by Finnish engineers. How it happened
privacy, sicurezza, spionaggio, virus
::: dcorbacho

I assume the UK, with their new social media laws, will also block tabloid newspapers from publishing the same content? I mean, more people probably saw the terror videos clips on The Daily Mail than on Facebook. No? … oh, so it’s just political populism then?
media | disinformazione, fake news, bufale
::: baekdal

British officials are calling for the creation of a mandatory “duty of care” standard intended “to make companies take responsibility for the safety of their users and to tackle harm caused by content or activity on their services
privacy, sicurezza, spionaggio, virus | politica
::: fabiochiusi

Due studenti hanno truffato Apple per quasi un milione di dollari
frodi
::: ilpost

While well-meaning, proposals such as these contain serious risks, such as requiring or incentivising removal of lawful and innocuous content
censura
::: IndexCensorship

méliès

mou: non funziona, non so il perché e allora la faccio funzionare; senza sapere il perché

art-ma-3

Tutto parte da questo tweet che rimanda a questo post.

Uh! semplice, non so se possa servire ma è sexy lo provo:

$ history | awk '{print $2}' | awk 'BEGIN {FS="|"}{print $1}' | sort | uniq -c | sort -n | tail | sort -nr
    103 spo
    100 mtw
     94 stw
     53 history
     47 _j
     46 _e
     42 sx
     39 cd
     33 bash
     29 gen
$

OK! ma mica devo scrivere ogni volta tutto questo; lo meto in uno script ed ecco:

$ cat m0
history | awk '{print $2}' | awk 'BEGIN {FS="|"}{print $1}' | sort | uniq -c | sort -n | tail | sort -nr
$ bash m0
$

OOPS! NO! non va.

Qui –no, non so spiegarmi il perché– ho dato la colpa a awk e l’ho sostituito con sed. sed è più semplice, o ci sono più abituato, anche se quando sono finito su Unix mi sono procurato subito le fotocopie della shell (di SisV), di vi (un articolo scritto da Bill Joy per Hewlett-Packard) e awk (sì perché sembrava intrigante, assay.

La mia versione:

$ history | sed 's/[ 0-9]*//' | sed 's/[ ].*//' | sort | uniq -c | sort -n | tail | sort -nr
    103 spo
     98 mtw
     93 stw
     54 history
     47 _j
     46 _e
     42 sx
     39 cd
     34 bash
     30 gen
$

OK! sì lo so che si potrebbe approfittare che history scrive il nome del programma sepre in colonna 7 ma già vengo spesso accusato di fortranismo residuo…

Provo a scriptarlo e

$ cat m1
history | sed 's/[ 0-9]*//' | sed 's/[ ].*//' | sort | uniq -c | sort -n | tail | sort -nr
$ bash m1
$

NO! come prima. Ho sentito Stack Overflow,  googlato  duck-duck-go-ato; visto che anche altri chiede a riguardo per operazioni simili riguardanti history ma senza risultati. Allora ho cancellato tutto, in fondo a chi interessa una cosa così.

Poi capita che di notte, avete presente (sensa comparision (pron. sensa cumparisiun) dicono qui in Piemonte) Srinivasa Ramanujan e la dea Lakshmi di Namagiri? Ecco a me lo stesso ma seguo la Vera Fede e allora vengo ispirato da Sua Pastosità il Prodigioso FSM –sempre sia condito, RAmen– subito nella prima notte utile.

Fortuna che quando cancelli il ‘puter sa che gli umani a volte non sanno quello che fanno o poi cambiano idea e allora si può ripristinare il cancellato.

Se il problema è history lo si può tener fuori dallo script e eseguire con una pipe. (Nota OT, qui: non so mai che genere usare, mi manca il neutro). Lo script (mou-r) diventa:

#!/bin/bash
sed 's/[ 0-9]*//' | sed 's/[ ].*//' | sort | uniq -c | sort -n | tail | sort -nr

che abilitato e copiato in ~/bin produce

$ history | mou-r
    102 spo
     98 mtw
     93 stw
     57 history
     46 _j
     46 _e
     42 sx
     39 cd
     35 bash
     30 gen
$

OK, ma è troppo lungo, creo un alias

$ alias mou='history | mou-r'
$ mou
    102 spo
     98 mtw
     92 stw
     57 history
     46 _j
     46 _e
     42 sx
     39 cd
     35 bash
     30 gen
$

Perfetto. L’alias ovviamente va messo in ~/.bash_aliases (o qualche altro file eseguito al boot. Ah! mou sta per most used. Resta il mistero di history ma frankly, my dear, I don’t give a damn (cit.) 🧐

Maxima – 255 – draw – 2

MFRO

Continuo da qui, copio dal Reference Manual, PDF scaricabile da qui, sono a p.784.

Funzioni e variabili per draw

gr2d (argument_1, ...)
Function gr2d builds an object describing a 2D scene. Arguments are graphic options, graphic objects, or lists containing both graphic options and objects. This scene is interpreted sequentially: graphic options affect those graphic objects placed on its right. Some graphic options affect the global appearance of the scene.

This is the list of graphic objects available for scenes in two dimensions: bars, ellipse, explicit, image, implicit, label, parametric, points, polar, polygon, quadrilateral, rectangle, triangle, vector and geomap (this one defined in package worldmap). See also draw and draw2d.

(%i1) draw(
        gr2d(
        key="sin (x)",grid=[2,2],
        explicit(
          sin(x),
          x,0,2*%pi
          )
      ),
        gr2d(
          key="cos (x)",grid=[2,2],
          explicit(
            cos(x),
            x,0,2*%pi
            )
        )
      );
(%o1)                  [gr2d(explicit), gr2d(explicit)]

255-0

gr3d (argument_1, ...)
Function gr3d builds an object describing a 3d scene. Arguments are graphic options, graphic objects, or lists containing both graphic options and objects. This scene is interpreted sequentially: graphic options affect those graphic objects placed on its right. Some graphic options affect the global appearance of the scene.

This is the list of graphic objects available for scenes in three dimensions: cylindrical, elevation_grid, explicit, implicit, label, mesh, parametric, parametric_surface, points, quadrilateral, spherical, triangle, tube, vector, and geomap (this one defined in package worldmap). See also draw and draw3d.

draw (arg_1, ...)
Plots a series of scenes; its arguments are gr2d and/or gr3d objects, together with some options, or lists of scenes and options. By default, the scenes are put together in one column.

Besides scenes the function draw accepts the following global options: terminal, columns, dimensions, file_name and delay.

Functions draw2d and draw3d shortcuts that can be used when only one scene is required, in two or three dimensions, respectively.

See also gr2d and gr3d.

(%i2) scene1: gr2d(title="Ellipse", nticks=300,
                   parametric(2*cos(t), 5*sin(t), t, 0, 2*%pi))$

(%i3) scene2: gr2d(title="Triangle",
                   polygon([4, 5, 7], [6, 4, 2]))$

(%i4) draw(scene1, scene2, columns = 2)$

255-1

(%i5) scene1: gr2d(title="A sinus", grid=true,
                   explicit(sin(t), t, 0, 2*%pi))$

(%i6) scene2: gr2d(title="A cosinus", grid=true,
                   explicit(cos(t), t, 0, 2*%pi))$

(%i7) draw(scene1, scene2)$

255-2

The following two draw sentences are equivalent:

(%i8) draw(gr3d(explicit(x^2+y^2, x, -1, 1, y, -1, 1)));
(%o8)                          [gr3d(explicit)]
(%i9) draw3d(explicit(x^2+y^2, x, -1, 1, y, -1, 1));
(%o9)                          [gr3d(explicit)]

255-3

Creating an animated gif file (crea zzz.gif):

(%i10) draw(
        delay
        = 100,
        file_name = "zzz",
        terminal = 'animated_gif,
        gr2d(explicit(x^2,x,-1,1)),
        gr2d(explicit(x^3,x,-1,1)),
        gr2d(explicit(x^4,x,-1,1)));
3 frames in animation sequence
(%o10)         [gr2d(explicit), gr2d(explicit), gr2d(explicit)]

zzz-r

See also gr2d, gr3d, draw2d and draw3d.

Maxima – 254 – draw – 1

makerfaire

Continuo da qui, copio dal Reference Manual, PDF scaricabile da qui, sono a p.783.

draw is a Maxima-Gnuplot and a Maxima-vtk interface.

There are three main functions to be used at Maxima level:

  • draw2d, draws a single 2D scene.
  • draw3d, draws a single 3D scene.
  • draw, can be filled with multiple gr2d and gr3d commands that each creates a draw scene all sharing the same window.

Each scene can contain any number of objects and key=value pairs with options for the scene or the following objects.

A selection of useful objects a scene can be made up from are:

  • explicit plots a function.
  • implicit plots all points an equation is true at.
  • points plots points that are connected by lines if the option points_joined was set to true in a previous line of the current scene.
  • parametric allows to specify separate expressions that calculate the x, y (and in 3d plots also for the z) variable.

A short description of all draw commands and options including example plots […] can be found [prossimanente].

More elaborated examples of this package can be found here and here.

Example:

(%i1) draw2d(
        title="Two simple plots",
        xlabel="x",ylabel="y",grid=true,
        color=red,key="A sinus",
        explicit(sin(x),x,1,10),
        color=blue,line_type=dots,key="A cosinus",
        explicit(cos(x),x,1,10)
      )$

254-0

You need Gnuplot 4.2 or newer to run draw; If you are using wxMaxima as a front end wxdraw, wxdraw2d and wxdraw3d are drop-in replacements for draw that do the same as draw, draw2d and draw3d but embed the resulting plot in the worksheet.

Visto nel Web – 387

Tante cose nuove ogni giorno; ecco quello che ho wisto nel Web 🧐

D3UVS15X4AYrbjx

Because in our times people cannot trust information published in media, I decided to create a separate page with basic facts about Sci-Hub and myself. I will add important information to this page and duplicate on Sci-Hub
Web, Internet | open source
::: Sci_Hub

Facebook – il solito
Facebook
::: mante ::: guardiantech ::: washingtonpost ::: hronir ::: mikko ::: jacopo_iacoboni ::: PerBylund ::: ellepuntopi ::: mikko ::: Recode ::: pkafka ::: marcelsalathe ::: mante ::: ObserverUK ::: jacopo_iacoboni ::: robaeprice ::: hypervisible ::: fabiochiusi ::: evgenymorozov ::: jacopo_iacoboni ::: Recode ::: Snowden ::: niftyc ::: can ::: fabiochiusi ::: Slashdot ::: Recode

Are We Experiencing a Burnout Epidemic?
novità
::: Slashdot

Hoping To Fix College Teaching, CMU Open-Sources Trove of Software
scuola, educazione | open source
::: Slashdot

Can an interpreter interpret its own code in “real time”
deve avere un senso ma non sono un filosofo, anzi aspirante niubbo me 😐
programming, codice, snippet
::: sigfpe ::: sigfpe

Apple’s new credit card means the tech giant is now battling the same banks that built Apple Pay
economia, lavoro | ditte
::: Recode

#TikTok, il tech giant cinese cattura i Zennial e, senza non poche perplessità, si appresta a diventare il social di riferimento per i giovanissimi
social media
::: SergioGridelli

EU-Copyright
censura
::: ORARiccardo ::: WikimediaItalia ::: anonimoconiglio ::: Senficon ::: MarietjeSchaake ::: cmnit ::: Senficon ::: arturodicorinto ::: Senficon ::: WikimediaItalia ::: lukOlejnik ::: arturodicorinto ::: Senficon ::: Senficon ::: Bennetto90 ::: edri ::: digitalcourage ::: fabiochiusi ::: fabiochiusi ::: fabiochiusi ::: dcavedon

Can Marc Andreessen Stop Technology From Eating Our Jobs?
protagonisti | economia, lavoro
::: Slashdot

Tanta roba nella mia newsletter #GuerrediRete di oggi
“oggi” è una settimana fa; ma OK
novità
::: carolafrediani

Python in Visual Studio Code – March 2019 Release
Python
::: ThePSF ::: SoftpediaLinux

like CMU’s Garnet project morphed into a C++ project (Amulet). Apple’s Interface Builder is a rewritten Lisp project. MCC was closed. Xerox PARC research moved on to other topics. TI left the AI business and the CLUE/CLIO/Pictures libraries were abandoned. There are many examples
storia | lisp(s)
::: RainerJoswig

Please enjoy my long overdue new post, in which I use the story of the BBC Micro and the Computer Literacy Project as a springboard to complain about Codecademy
storia
::: TwoBitHistory

Here they are, all 256 proofs of the Pythagorean theorem
matematica
::: mathematicsprof

since quitting facebook I’ve gotten more depressed about the fact that, while 97% of small businesses cannot run a decent web site, they can all run a decent facebook feed
sì; anch’io comunico con un paio di persone solo via FB
social media | Facebook
::: johnregehr

Twitter opening an office in a city that is 83% black and hiring nothing but white people might be the most on-brand move in tech history
social media | odio, razzismo, discriminazioni | Twitter
::: MikePMoffatt

DVYF643XUAEd-yX

This article claims that Lisp and SmallTalk developers are 10x more productive than developers using mainstream languages, but only in small teams. In other words, these languages don’t scale
da verificare; thread
lisp(s) | linguaggi di programmazione
::: djsmith42

I’ve been working on Google’s cryptography policy (for engineers). It fits in a tweet: Don’t invent your own algorithms, don’t design your own protocols, don’t code your own implementations, don’t manage your own keys, and do ask for advice
programming, codice, snippet
::: tdierks

Facebook announces “Why am I seeing this post?”, a feature to help users better understand and control what is seen from friends, Pages, and Groups in News Feed
Facebook
::: Techmeme

I giornali non sono morti affatto. Basta avere un piano, premiare la qualità, e non i compromessi al ribasso
media
::: jacopo_iacoboni

The challenges of being a FOSS maintainer
open source
::: _wilfredh

It’s our birthday. Celebrating 25 years of Linux Journal
media
::: linuxjournal ::: linuxjournal

PyPy v7.1 released; now uses utf-8 internally for unicode strings
Python
::: ThePSF

Facebook is about to reveal exactly how your News Feed works
social media
::: fabiochiusi

How the Tech Giants Make Their Billions
economia, lavoro
::: fugueish

Sony To Slash Smartphone Workforce 50% By 2020
dispositivi mobili
::: Slashdot

Grab your espresso for the day. Racket News 5 is here!
language Racket | novità
::: pocmatos

The main rhetoric used against Sci-Hub goes like: yes sharing knowledge is good, but Sci-Hub is bad, because it is illegal. Don’t buy it. Any country can easily make Sci-Hub legal by fixing the law, if they really want to support open knowledge
open source
::: Sci_Hub

Nel giorno della dipartita del (poco) compianto #GooglePlus, consoliamoci con #MeWE. È nuovo, è fresco e al momento c’è un gran silenzio 😉
social media
::: SergioGridelli

Happy 29th Birthday to everyone’s favorite functional statically typed non-strict pure referentially transparent programming language, #Haskell!!! 🎉🎈🎉🎈
uno dei pochi linguaggi che proprio non ci arrivo (dovrei provarci di più avendo tempo)
programmazione funzionale
::: mstk

D3D2dxqXgAAL0n-

We are launching a new call for applications for #WiFi4EU. Municipalities can apply for a voucher to set up free Wi-Fi networks in public spaces. After a very successful first call, the second call will grant 3,400 vouchers, covering all EU countries
Web, Internet | dispositivi mobili
::: EU_Commission

Another Lisp written in Haskell 🙂
programmazione funzionale | lisp(s)
::: HaskellLisp

Microsoft Stops Selling eBooks, Will Refund Customers For Previous Purchases
Web, Internet
::: Slashdot

Lego Education’s Newest Spike Prime Programmable Robots Aim For the Classroom
scuola, educazione
::: Slashdot ::: medialab

New Project Brings Android Apps to the Linux Desktop
dispositivi mobili
::: dcavedon

What is Amazon? | Zack’s notes
ditte
::: marcodelmastro

VS2019 marks the introduction of some fabulous new features for Python developers around the world
Python
::: PT4VS

Split, Merge, Rotate and Reorder PDF Files in #Linux with PDFArranger
applicazioni, programmi
::: itsfoss2

This is an amazing piece of history which actually helped frame some things I already sort of knew
storia | sistemi operativi
::: unix_ninja

mention of “software source code as heritage” call from UNESCO
programming, codice, snippet | storia
::: phoebe_ayers

Al @Corriere copincollano un nostro pezzo e lo firmano senza imbarazzo alcuno
media
::: cristianodemajo

A Suite of Digital Cryptography Tools, Released Today, Has Been Mathematically Proven To Be Completely Secure and Free of Bugs
programming, codice, snippet
::: Slashdot

Rich Already Answered That! – A list of commonly asked questions about #Clojure design decisions
linguaggi di programmazione | lisp(s)
::: saidone

Ora WhatsApp permette di non farsi aggiungere ai gruppi da chiunque
social media
::: ilpost

A lot has happened since I last made this chart. Disney bought 21st Century Fox, Apple came out with a new TV strategy and Oath lost its stupid name. Who owns everything in Big Media today
ditte | media
::: ranimolla ::: Recode

D3Ia4vzXQAApMq2

The Google MLIR team is happy to release MLIR Core as open source: a new multi-level IR compiler framework!
linguaggi di programmazione
::: JokerEph

I’ve written a naive – hopefully not biased – algorithm for generating graphs from the microcanonical configuration model (as us statistical physicists like to call the set of networks with a prescribed degree sequence)
programming, codice, snippet
::: PaoloBarucca

Three Things I Wish I Knew When I Started Designing Languages
linguaggi di programmazione
::: Lambda the Ultimate

Selective Functors
programmazione funzionale
::: Lambda the Ultimate

Linus Torvalds on Social Media: ‘It’s a Disease. It Seems To Encourage Bad Behavior’
social media
::: Slashdot

Downsides to Raspberry Pi Alternatives. Learn about some of the risks when choosing an alternative to a #RaspberryPi for your project
hardware
::: linuxjournal

YouTube’s Copyright Mess Is Stifling Music Education
copyright e brevetti
::: Gianlucadfiore

WE HAVE A WINNER! Blocking was first introduced on Twitter in May of 2007. Almost a full year after launching
social media
::: monteiro

shellcheck (a tool that gives warnings and suggestions for bash/sh shell scripts) is the best if you ever work on shell scripts
programming, codice, snippet
::: tdhopper

Superb post by @steveklabnik on open source projects, and how the openness of the project often matters more than how the license legally dictates distribution
open source
::: _wilfredh

One of the best parts about WASI existing is that we can now straightforwardly fuzz the Lucet toolchain using Csmith
linguaggi di programmazione
::: acfoltzer

Goldman Sachs Will Open-Source Some Of Its Trading Software
open source
::: Slashdot

Verizon Begins Rolling Out Its 5G Wireless Network In Chicago, Minneapolis
dispositivi mobili
::: Slashdot

‘SPURV’ Project Brings Windowed Android Apps To Desktop Linux
applicazioni, programmi | dispositivi mobili | Linux
::: Slashdot

I wrote a blog post about the reasons that can potentially make Elixir (and the Erlang platform) a business competitive advantage
programmazione funzionale
::: elviovicosa

D3PXuS9UUAAFe4b

Fastweb FTTH e Modem Libero
Web, Internet
::: gigitux

Amazon To Offer Broadband Access From Orbit With 3,236-Satellite ‘Project Kuiper’ Constellation
Web, Internet
::: Slashdot

Altair 3.0 will include a bunch of new features… here’s a plot made with Altair that might look familiar 😎
Python
::: jakevdp

Software structural engineers
programming, codice, snippet
::: CompSciFact

The End of the Desktop?
non m’interessa, sono vecchio
innovazioni, futuro
::: Slashdot

Mypy 0.700 is out: up to 4x faster type checking, now by default
Python
::: mypyproject

Windows 10 Will No Longer Auto Install Feature Updates Twice a Year
sistemi operativi
::: Slashdot

Exploding Frog
language Racket
::: greghendershott ::: greghendershott

Microsoft and Canonical Launch Visual Studio Code Snap For Linux
applicazioni, programmi
::: Slashdot

Cher Twitter, je cherche à lister les #logicielslibres produits ou améliorés par des laboratoires de recherche français, peux-tu m’aider avec des RT ?
open source
::: bzg2

What Every Computer Scientist Should Know About Floating-Point Arithmetic
programming, codice, snippet
::: CompSciFact

Google Play Artist Hub Shutting Down April 30 With Google No Longer Offering Direct Portal For Smaller Musicians
Google | social media
::: Slashdot

Print most used commands
uh! 😋 non funziona messa in uno script (e non so il perché)
linguaggi di programmazione
::: bashoneliners

WPS Office for Linux version 11 (2019) was released recently. @LinuxUprising reports that the new version of the office suite includes “support for high resolution screens, skin support, and interface updates”
applicazioni, programmi
::: linuxjournal

D3KPK-4X0AA059H

La vendetta dell’ignoranza
scuola, educazione
::: AugustoNovali

It was not a software malfunction that caused two 737 MAX airplanes to crash – the software did exactly what it was supposed to do. But does this mean that software engineers have no responsibility for safety?
programming, codice, snippet
::: mpoppendieck

You can build truly native iOS & Android apps with Vue.js
linguaggi di programmazione
::: NativeScript

This is really neat! You take a screenshot of an equation, it gives you the LaTeX code, you can directly modify in the taskbar, copy, paste, done
applicazioni, programmi
::: suzatweet

Ideomatic monads in Rust
linguaggi di programmazione | programmazione funzionale
::: FunctorFact

Dear #lazyweb, is it possible to use the native JavaCompiler with a provided ClassLoader?
linguaggi di programmazione
::: mariofusco

Facebook, Twitter, Instagram are ‘garbage,’ says Linux founder Torvalds
social media
::: linuxjournal

“An absolute nightmare.” “A gray blur of 24-hour days, seven days a week—never being home.” How IBMers described the manic push to build the System/360
storia
::: IEEESpectrum

Paul and Bill wrote a BASIC interpreter for the MITS Altair 8800 and within a decade Microsoft was the world’s largest software producer. Happy 44th Birthday, @Microsoft!
storia
::: VulcanInc

“In the Beginning was the Command Line” By Neal Stephenson
quando ero giovane lo raccomandavo; devo rileggerlo
storia | sistemi operativi | ditte
::: Cristal project

Read all about how we connect, and what happens behind the scenes in The Web This Week
novità
::: webfoundation

The Linux Vendor Firmware Service segna una tappa fondamentale
hardware | Linux
::: sdallagata

Samsung Begins Mass Production of Its Own 5G Chips
Web, Internet | dispositivi mobili
::: Slashdot

Quesito con la Susi n. 958
anche se Ada non è tanto mainstream… Volento, per un altro quesito c’è Maxima
linguaggi di programmazione
::: shintakezou_it ::: shintakezou_it

Science and Technology links (April 6th 2019)
novità
::: lemire

dinos

Maxima – 253 – distrib – 14

D1QZ3

Continuo da qui, copio dal Reference Manual, PDF scaricabile da qui, sono a p.780.

pdf_negative_binomial (x, n, p)
Returns the value at x of the probability function of a NegativeBinomial(n, p) random variable, with 0 < p ≤ 1 and n a positive number.

cdf_negative_binomial (x, n, p)
Returns the value at x of the distribution function of a NegativeBinomial(n, p) random variable, with 0 < p ≤ 1 and n a positive number.

(%i1) load ("distrib")$

(%i2) cdf_negative_binomial(3, 4, 1/8);
                                     3271
(%o2)                               ------
                                    524288

quantile_negative_binomial (q, n, p)
Returns the q-quantile of a NegativeBinomial(n, p) random variable, with 0 < p ≤ 1 and n a positive number; in other words, this is the inverse of cdf_negative_binomial. Argument q must be an element of [0, 1].

mean_negative_binomial (n, p)
Returns the mean of a NegativeBinomial(n, p) random variable, with 0 < p ≤ 1 and n a positive number.

var_negative_binomial (n, p)
Returns the variance of a NegativeBinomial(n, p) random variable, with 0 < p ≤ 1 and n a positive number.

std_negative_binomial (n, p)
Returns the standard deviation of a NegativeBinomial(n, p) random variable, with 0 < p ≤ 1 and n a positive number.

skewness_negative_binomial (n, p)
Returns the skewness coefficient of a NegativeBinomial(n, p) random variable, with 0 < p ≤ 1 and n a positive number.

kurtosis_negative_binomial (n, p)
Returns the kurtosis coefficient of a NegativeBinomial(n, p) random variable, with 0 < p ≤ 1 and n a positive number.

random_negative_binomial (n, p)
random_negative_binomial (n, p, m)
Returns a NegativeBinomial(n, p) random variate, with 0 < p ≤ 1 and n a positive number. Calling random_negative_binomial with a third argument m, a random sample of size m will be simulated.

Algorithm described in Devroye, L. (1986) Non-Uniform Random Variate Generation. Springer Verlag, p. 480.

OK, finito un argomento interessante ma –come dire– un pochino ripetitivo 🧐 Presto si cambia 🧐

Maxima – 252 – distrib – 13

D1j6n

Continuo da qui, copio dal Reference Manual, PDF scaricabile da qui, sono a p.776.

pdf_geometric (x, p)
Returns the value at x of the probability function of a Geometric(p) random variable, with 0 < p ≤ 1. The probability function is defined as p(1 − p)x. This is interpreted as the probability of x failures before the first success.

cdf_geometric (x, p)
Returns the value at x of the distribution function of a Geometric(p) random variable, with 0 < p ≤ 1.  The probability from which the distribution function is derived is defined as p(1 − p)x.

quantile_geometric (q, p)
Returns the q-quantile of a Geometric(p) random variable, with 0 < p ≤ 1; in other words, this is the inverse of cdf_geometric. Argument q must be an element of [0, 1]. The probability from which the quantile is derived is defined as p(1 − p)x.

mean_geometric (p)
Returns the mean of a Geometric(p) random variable, with 0 < p ≤ 1. The probability from which the mean is derived is defined as p(1 − p)x.

var_geometric (p)
Returns the variance of a Geometric(p) random variable, with 0 < p ≤ 1. The probability from which the variance is derived is defined as p(1 − p)x.

std_geometric (p)
Returns the standard deviation of a Geometric(p) random variable, with 0 < p ≤ 1. The probability from which the standard deviation is derived is defined as p(1 − p)x.

skewness_geometric (p)
Returns the skewness coefficient of a Geometric(p) random variable, with 0 < p ≤ 1. The probability from which the skewness is derived is defined as p(1 − p)x.

kurtosis_geometric (p)
Returns the kurtosis coefficient of a geometric random variable Geometric(p), with 0 < p ≤ 1. The probability from which the kurtosis is derived is defined as p(1 − p)x.

random_geometric (p)
random_geometric (p,n)
Returns the kurtosis coefficient of a geometric random variable Geometric(p), with 0 < p ≤ 1. The probability from which the kurtosis is derived is defined as p(1 − p)x.

pdf_discrete_uniform (x, n)
Returns the value at x of the probability function of a DiscreteUniform(n) random variable, with n a strictly positive integer.

cdf_discrete_uniform (x, n)
Returns the value at x of the distribution function of a DiscreteUniform(n) random variable, with n a strictly positive integer.

quantile_discrete_uniform (q, n)
Returns the q-quantile of a DiscreteUniform(n) random variable, with n a strictly positive integer; in other words, this is the inverse of cdf_discrete_uniform. Argument q must be an element of [0, 1].

mean_discrete_uniform (n)
Returns the mean of a DiscreteUniform(n) random variable, with n a strictly positive integer.

var_discrete_uniform (n)
Returns the variance of a DiscreteUniform(n) random variable, with n a strictly positive integer.

std_discrete_uniform (n)
Returns the standard deviation of a DiscreteUniform(n) random variable, with n a strictly positive integer.

skewness_discrete_uniform (n)
Returns the skewness coefficient of a DiscreteUniform(n) random variable, with n a strictly positive integer.

kurtosis_discrete_uniform (n)
Returns the kurtosis coefficient of a DiscreteUniform(n) random variable, with n a strictly positive integer.

random_discrete_uniform (n)
random_discrete_uniform (n, m)
Returns a DiscreteUniform(n) random variate, with n a strictly positive integer. Calling random_discrete_uniform with a second argument m, a random sample of size m will be simulated.

This is a direct application of the random built-in Maxima function.

pdf_hypergeometric (x, n1, n2, n)
Returns the value at x of the probability function of a Hypergeometric(n1, n2, n) random variable, with n1, n2 and n non negative integers and n <= n1 + n2. Being n1 the number of objects of class A, n2 the number of objects of class B, and n the size of the sample without replacement, this function returns the probability of event “exactly x objects are of class A“.

cdf_hypergeometric (x, n1, n2, n)
Returns the value at x of the distribution function of a Hypergeometric(n1, n2, n) random variable, with n1, n2 and n non negative integers and n <= n1 + n2. See pdf_hypergeometric for a more complete description.

quantile_hypergeometric (q, n1, n2, n)
Returns the q-quantile of a Hypergeometric(n1, n2, n) random variable, with n1, n2 and n non negative integers and n <= n1 + n2; in other words, this is the inverse of cdf_hypergeometric. Argument q must be an element of [0, 1].

mean_hypergeometric (n1, n2, n)
Returns the mean of a discrete uniform random variable Hypergeometric(n1, n2, n), with n1, n2 and n non negative integers and n <= n1 + n2.

var_hypergeometric (n1, n2, n)
Returns the variance of a discrete uniform random variable Hypergeometric(n1, n2, n), with n1, n2 and n non negative integers and n <= n1 + n2.

std_hypergeometric (n1, n2, n)
Returns the standard deviation of a discrete uniform random variable Hypergeometric(n1, n2, n), with n1, n2 and n non negative integers and n <= n1 + n2.

skewness_hypergeometric (n1, n2, n)
Returns the skewness coefficient of a discrete uniform random variable Hypergeometric(n1, n2, n), with n1, n2 and n non negative integers and n <= n1 + n2.

kurtosis_hypergeometric (n1, n2, n)
Returns the kurtosis coefficient of a discrete uniform random variable Hypergeometric(n1, n2, n), with n1, n2 and n non negative integers and n <= n1 + n2.

random_hypergeometric (n1, n2, n)
random_hypergeometric (n1, n2, n, m)
Returns a Hypergeometric(n1, n2, n) random variate, with n1, n2 and n non negative integers and n <= n1 + n2. Calling random_hypergeometric with a fourth argument m, a random sample of size m will be simulated.

Algorithm described in Kachitvichyanukul, V., Schmeiser, B.W. (1985) Computer
generation of hypergeometric random variates. Journal of Statistical Computation
and Simulation 22, 127-145.

AI, innovazioni e blockchain – 68

Intanto che sono sempre più in ritardo non devo perdere tempo, ecco qua le novità 🧐

D3S84HKW0AEFd2b

In futuro i pc fissi scompariranno del tutto e ci saranno questi minicubi ultrapotenti e con consumi energetici irrisori
hardware
::: evilripper

#TensorFlow just went full #Keras! (!!!!!) Here’s why that’s an earthquake for #AI and #DataScience
artificial intelligence
::: quaesita

Valve Reveals High-End VR Headset Called the Valve Index
virtual reality
::: Slashdot

As a “shit**le country” passport holder, crossing the US border is smoother with automation. Another reminder of how well deserved the Turing award to @geoffreyhinton/@ylecun & Bengio is
algoritmi, codice
::: L_badikho

Mars helicopter, hacker drones, and more. Watch the best robot videos of the week!
robots
::: IEEESpectrum

Machine learning cheat sheets
machine learning
::: MIT_CSAIL

Wonderful profile of Yoshua Bengio. He is both an intellectual leader and a moral leader of the field
protagonisti
::: tdietterich

Paper: Toward understanding the impact of artificial intelligence on labor
artificial intelligence | economia, lavoro
::: PJ_Muncaster

Does India’s Anti-Satellite Missile Test Mean The Weaponization of Space?
spazio, esplorazione
::: Slashdot

We know of at least 20 hacks, where at least 1,000,000 Bitcoins were stolen. That’s 7% of all the Bitcoin out there
blockchain e crypto*
::: Tr0llyTr0llFace

Why Hasn’t The Gig Economy Killed Traditional Work?
innovazioni, futuro | economia, lavoro
::: Slashdot

In #Cina non tira una bella aria. Il rallentamento pesa, le esportazioni calano. E questa situazione potrebbe pesare anche sulle tante (troppe?) startup tech (che sussidiate, spesso, non sono competitive sul mercato mondiale)
innovazioni, futuro
::: simopieranni

NadiaComaneci

“The Incompatible Incentives of Private Sector AI” is my draft contribution to the Oxford Handbook on the Ethics of AI
etica | artificial intelligence
::: whimsley

How Google, Amazon & Twitter could benefit from a new approach to … counting
machine learning
::: MIT_CSAIL

On adoption of blockchain technology and finding compelling use cases
blockchain e crypto*
::: _wilfredh

Early death of diesel and gasoline in Norway
energia
::: NicoChauvin74

when you think it’s over but you’re wrong
robots
::: mims

organizers of this petition say 1,322 Googlers have signed the letter since it was first circulated yesterday
artificial intelligence | etica
::: shiringhaffary ::: Slashdot ::: AntonioCasilli

Can We Stop AI Outsmarting Humanity?
artificial intelligence
::: Slashdot

Here’s why no one really knows how many jobs automation will replace
automazione
::: Recode

#AI #ethics is where discussions about socially just #technology begin, not where they end. Most people calling for ethical #AI agree on that. To push back against ethics-smokescreening, we must expand our vocab to AI #inequality
artificial intelligence | etica
::: mona_sloane

The method’s creators insist that people who fear an AI apocalypse need not worry. It’s meant to help human AI designers, not to enable AIs to build more powerful versions of themselves
artificial intelligence | privacy, sicurezza, spionaggio, virus
::: IEEESpectrum

DzwA8_qWwAAz36R

I’m still very angry about India’s anti-satellite test. Debris could be in elliptical orbits that reach the height of ISS, for example. A fleck of paint would put a hole in the station at orbital speeds. And this doesn’t even get into the political ramifications
spazio, esplorazione
::: BadAstronomer ::: andreabettini

Perché ci piace tanto #alexa e siamo affascinati dalle voci artificiali?
artificial intelligence
::: suxsonica

*This* is the essence of my big picture, systemic concern with using public blockchains as infrastructure before they have figured out something as fundamental as protocol governance. Weak foundations. #crypto #blockchain
blockchain e crypto*
::: angela_walch

A.I. Experts Question Amazon’s Facial-Recognition Technology
artificial intelligence | privacy, sicurezza, spionaggio, virus
::: natashanyt

Read how researchers at @Wikimedia are using machine learning to predict whether—and why— sentences on #Wikipedia need citations!
machine learning
::: WikiResearch

The future of agriculture is computerized
innovazioni, futuro
::: medialab

Instead of using a virus to deliver CRISPR-Cas9, this new technique relies on light-converting nanoparticles
innovazioni, futuro
::: IEEESpectrum

The Pi Calculus: Towards Global Computing
linguaggi di programmazione
::: CompSciFact

Ford, GM and Toyota Collaborate For Self-Driving Safety Rules
automazione
::: Slashdot

Machine Learning Is Making Pesto Even More Delicious
machine learning
::: Slashdot

Cryptocurrency transactions are irreversible—a boon for con-artists. Ponzi schemes are common, as is incompetence
blockchain e crypto*
::: TheEconomist

ClaraBow

Gestione di una coda in Python – 1

art-ma-2

Un post facile, didascalico, introduttivo alla valutazione per uno script che si comporta proprio come la fila allo sportello. Altamente sperimentale, nèh!

Si può fare con una lista. Ecco come crearla e inserire elementi:

>>> ls = []
>>> len(ls)
0
>>> ls.append(1)
>>> ls.append(2)
>>> ls.append('tre')
>>> ls
[1, 2, 'tre']
>>> len(ls)
3

Richiamare elementi:

>>> ls[2]
'tre'

Verificare se un elemento è presente:

>>> 2 in ls
True
>>> 8 in ls
False

Estrarre elementi:

>>> ls = [1, 2, 3, 4, 5, 6]
>>> ls.pop()
6
>>> ls
[1, 2, 3, 4, 5]

non come serve, funziona come una pila (stack). È però immediato rimediare, così:

>>> ls.pop(0)
1
>>> ls
[2, 3, 4, 5]
>>> ls.pop(0)
2
>>> ls
[3, 4, 5]

In previsione di un uso in qualche misura intensivo conviene costruire funzioni per semplificarne la gestione. Le funzioni che si costruiscono sono semplici e per quanto possibile conviene usare la sintassi lambda. Inoltre i nomi inizieranno tutti con q (come  coda  queue).

L’assegnazione è semplice, resta LS = [].

Inserimento

>>> qapp = lambda ls, dat : ls.append(dat)

la provo:

>>> LS = []
>>> qapp(LS, 'a')
>>> qapp(LS, 'b')
>>> qapp(LS, 'c')
>>> LS
['a', 'b', 'c']

Estrazione del primo dato, quello in testa il car del Lisp:

>>> qext = lambda ls : ls.pop(0)  # versione iniziale, migliorabile
>>> d = qext(LS)
>>> d
'a'
>>> e = qext(LS)
>>> e
'b'
>>> f = qext(LS)
>>> f
'c'
>>> g = qext(LS)
Traceback (most recent call last):
  File "", line 1, in 
  File "", line 1, in 
IndexError: pop from empty list

OOPS! funziona se la lista non è vuota; da correggere testanto la lista con un if che in lambda ha una sintassi sua:

>>> qext = lambda ls : ls.pop(0) if len(ls) > 0 else None
>>> LS = ['1', 'b', 'ultimo']
>>> qex(LS)
'1'
>>> qext(LS)
'b'
>>> d = qext(LS)
>>> d
'ultimo'
>>> e = qext(LS)
>>> print(e)
None

OK; per estrarre un dato che non è il primo

>>> qexnth = lambda ls, n : ls.pop(n) if len(ls) >= n else None
>>> LS = [1, 2, 3, 4]
>>> qexnth(LS, 2)
3
>>> LS
[1, 2, 4]
>>> d = qexnth(LS, 5)
>>> LS
[1, 2, 4]
>>> print(d)
None

Ma è più utile estrarre un dato in base an suo valore, non per l’indice

>>> qexd = lambda ls, dat : ls.pop(dat in ls) if dat in ls else None
>>> LS = [1, 10, 100]
>>> qexd(LS, 10)
10
>>> LS
[1, 100]
>>> qexd(LS, 1000)
>>> LS
[1, 100]

OK 😁 Continua, forse 😁

Maxima – 251 – distrib – 12

action-industry__red1

Continuo da qui, copio dal Reference Manual, PDF scaricabile da qui, sono a p.774.

pdf_poisson (x, m)
Returns the value at x of the probability function of a Poisson(m) random variable, with m > 0.

cdf_poisson (x, m)
Returns the value at x of the distribution function of a Poisson(m) random variable, with m > 0.

(%i1) load ("distrib")$

(%i2) cdf_poisson(3,5);
(%o2)                 gamma_incomplete_regularized(4, 5)
(%i3) float(%);
(%o3)                         0.2650259152973622

quantile_poisson (q, m)
Returns the q-quantile of a Poisson(m) random variable, with m > 0; in other words, this is the inverse of cdf_poisson. Argument q must be an element of [0, 1].

mean_poisson (m)
Returns the mean of a Poisson(m) random variable, with m > 0.

var_poisson (m)
Returns the variance of a Poisson(m) random variable, with m > 0.

std_poisson (m)
Returns the standard deviation of a Poisson(m) random variable, with m > 0.

skewness_poisson (m)
Returns the skewness coefficient of a Poisson(m) random variable, with m > 0.

kurtosis_poisson (m)
Returns the kurtosis coefficient of a Poisson(m) random variable, with m > 0.

random_poisson (m)
random_poisson (m, n)
Returns a Poisson(m) random variate, with m > 0. Calling random_poisson with a second argument n, a random sample of size n will be simulated.

The implemented algorithm is the one described in Ahrens, J.H. and Dieter, U. (1982) Computer Generation of Poisson Deviates From Modified Normal Distributions. ACM Trans. Math. Software, 8, 2, June,163-179.

pdf_bernoulli (x, p)
Returns the value at x of the probability function of a Bernoulli(p) random variable, with 0 ≤ p ≤ 1.

The Bernoulli(p) random variable is equivalent to the Binomial(1, p).

(%i4) pdf_bernoulli(1,p);
(%o4)                                  p

cdf_bernoulli (x, p)
Returns the value at x of the distribution function of a Bernoulli(p) random variable, with 0 ≤ p ≤ 1.

quantile_bernoulli (q, p)
Returns the q-quantile of a Bernoulli(p) random variable, with 0 ≤ p ≤ 1; in other words, this is the inverse of cdf_bernoulli. Argument q must be an element of [0, 1].

mean_bernoulli (p)
Returns the mean of a Bernoulli(p) random variable, with 0 ≤ p ≤ 1.

(%i5) mean_bernoulli(p);
(%o5)                                  p

var_bernoulli (p)
Returns the variance of a Bernoulli(p) random variable, with 0 ≤ p ≤ 1.

(%i6) var_bernoulli(p);
(%o6)                              (1 - p) p

std_bernoulli (p)
Returns the standard deviation of a Bernoulli(p) random variable, with 0 ≤ p ≤ 1.

(%i7) std_bernoulli(p);
(%o7)                           sqrt((1 - p) p)

skewness_bernoulli (p)
Returns the skewness coefficient of a Bernoulli(p) random variable, with 0 ≤ p ≤ 1.

(%i8) skewness_bernoulli(p);
                                    1 - 2 p
(%o8)                           ---------------
                                sqrt((1 - p) p)

kurtosis_bernoulli (p)
Returns the kurtosis coefficient of a Bernoulli(p) random variable, with 0 ≤ p ≤ 1.

(%i9) kurtosis_bernoulli(p);
                                1 - 6 (1 - p) p
(%o9)                           ---------------
                                   (1 - p) p

random_bernoulli (p)
random_bernoulli (p, n)
Returns a Bernoulli(p) random variate, with 0 ≤ p ≤ 1. Calling random_bernoulli with a second argument n, a random sample of size n will be simulated.

This is a direct application of the random built-in Maxima function.