Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

I am awarded a gold medal by the Royal Swedish Academy of Sciences for my work on #curl

Uncategorized
3 2 12

Gli ultimi otto messaggi ricevuti dalla Federazione
  • I would like to hear from at least some people who said "much better Biden", though. That seems like a hard case to make.

    read more

  • Anyways, I'm sorry to ask hard questions. This is the world we live in.

    read more

  • Trasferimenti di dati UE-USA: è tempo di prepararsi a nuovi problemi in arrivo

    La maggior parte dei trasferimenti di dati tra UE e USA si basa sul "Quadro Transatlantico sulla Privacy dei Dati" (TAFPF) o sulle cosiddette "Clausole Contrattuali Tipo" (SCC). Entrambi gli strumenti si basano su leggi statunitensi fragili, regolamenti non vincolanti e una giurisprudenza che è sotto attacco e che probabilmente verrà smantellata nei prossimi mesi. Mentre l'instabilità del sistema legale statunitense diventa innegabile e gli Stati Uniti mostrano evidenti segnali di ostilità nei confronti dell'UE, è tempo di riconsiderare dove fluiscono i nostri dati e per quanto tempo reggerà il "castello di carte" legale costruito dall'UE.

    noyb.eu/en/eu-us-data-transfer…
    @privacypride

    read more

  • I don't know what this means for US politics. Should Arab Americans and pro-Palestinian allies vote blue no matter who next year?

    Should they STFU and avoid putting pressure on Democratic candidates to commit to an arms embargo, recognition of the State of Palestine, or other controversial pro-Palestinian, anti-genocide positions?

    Or, conversely, should they use this opportunity and their leverage to pull the party in the direction to actively oppose crimes against humanity?

    read more

  • Under these circumstances, if I press myself, I'd say that the genocide has been horrific under both administrations but slightly less intense under Trump.

    read more

  • One big difference between the two is that the Biden Administration stuck to the Oslo consensus on a two state solution within the pre-1967 borders, and opposed at least publicly annexation, expulsion and extermination. The Trump Administration does not oppose any of these crimes in principle, and for a while eradication was Trump's preferred policy choice. The ceasefire agreement from October does not entertain these as an option, though.

    read more

  • Also, there was about 1 week of a ceasefire under Biden, and about 10 weeks in the 2 ceasefires, poorly observed, under Trump.

    read more

  • That is some disgusting meat grinder math, and I'm sorry I did it.

    read more
Post suggeriti
  • 0 Votes
    1 Posts
    5 Views
    Twenty-nine years ago on this day, #httpget 0.1 was released.I found the tool a few days later and within a few months I became the maintainer. We later renamed it. Twice. The last name it got is #curl. It stuck.httpget was my first insight and lesson into HTTP and since then I have kept learning it.httpget 0.1 was written by Rafael Sagula, who unfortunately is not with us anymore.
  • 0 Votes
    1 Posts
    9 Views
    More than half of #curl's source code lines have been changed within the last four years. 1,101 lines from before year 2000 still remain "untouched".
  • 0 Votes
    1 Posts
    12 Views
    Non tutti sanno che... E' semplicissimo fare un post (toot) sul proprio profilo #mastodon con un semplice comando, ad esempio utilizzando #curl. Vediamo come fare. Abilitazione e creazione token Accedere, con il vostro account, al l'istanza mastodon di riferimento. Andare su Preferenze (menù a destra) Andare su Sviluppo (menù a sinistra) Fare click su Nuova applòicazione Compilare tutti i campi e concedere almeno i permessi di scrittura post. Salvare in un luogo sicuro (password manager) quanto generato. Comando curl di esempio curl -s -X POST https://mastodon.uno/api/v1/statuses \ -H "Authorization: Bearer TOKEN_DI_ACCESSO" \ -d "status=Ciao mondo" \ -d "visibility=public" \ Semplice Script di invio A questo punto possiamo farci un semplice script che prende in input, come parametro, del testo e lo invia per noi. cat toot.sh #!/bin/bash # Verifica che sia stato passato almeno un argomento if [ -z "$1" ]; then echo "Errore: devi passare il testo del toot come parametro." echo "Uso: $0 \"Testo del toot\"" exit 1 fi # Salva il parametro in una variabile TOOT="$1" # Esegui la richiesta POST curl -s -X POST https://mastodon.uno/api/v1/statuses \ -H "Authorization: Bearer TOKEN_DI_ACCESSO" \ -d "status=$TOOT" \ -d "visibility=public" \ -H "Authorization: Bearer TOKEN_DI_ACCESSO" \ | jq '.uri' Ho inserito #jq in fondo con un filtro (che possiamo modificare a nostro piacimento), perché l'output in formato json è abbastanza prolisso Perché? A parte che è bello fare il nerd è usare #mastodon da command line, ma la cosa può essere molto utile se la usiamo in abbinata ad altre azioni/comandi. Pensiamo ad esempio ad un integraszione con #forgejo, ad esempio potremmo fare un post (tramite #webook) al termine del nostro workflow. Un altro esempio è il collegare l'account ad un servizio di monitoraggio come #uptimekuma in questo modo si avrà una pagina che indica ai follower lo stato dei nostri servizi. Oppure usarlo al termine di un nostro script che preleva i prossimi appuntamenti da un caledario ics. Insomma, potete integrare l'invio di un toot alla fine di un vostro script custom, il limite a questo punto è solo la fantasia! E voi come lo usate? Seguimi su mastodon: @magostinelli@mastodon.uno Articolo pubblicato con licenza CC BY-NC-SA
  • 0 Votes
    1 Posts
    11 Views
    In this interview, Daniel Stenberg, lead developer of #cURL, discusses how the widely used tool remains secure across billions of devices, from cloud services to IoT. He shares insights into cURL’s decades-long journey of testing, reviewing, and refining its code to minimize risks.Stenberg also explains the team’s approach to handling vulnerabilities, ensuring transparency, and maintaining trust in the open-source ecosystem.https://www.helpnetsecurity.com/2025/09/18/daniel-stenberg-running-curl-project/