• chevron_right

      Mark Zuckerberg Stumps for ‘Open Source’ A.I.

      news.movim.eu / TheNewYorkTimes · 4 days ago - 15:21


    The chief executive of Meta said in an open letter that it was important that the technology was not controlled by a handful of giant companies — including his own.
    • chevron_right

      Imperfect, Linux-powered, DIY smart TV is the embodiment of ad fatigue

      news.movim.eu / ArsTechnica · 5 days ago - 21:10 · 1 minute

    earlgreytv DIY smart TV homescreen

    Enlarge (credit: Carl the Person/YouTube )

    Smart TV owners have been subjected to a growing amount of ads and tracking. Ad fatigue, only worsened by a trend that sees streaming providers trying to force customers into subscriptions with commercials , is understandable. We’re at the point where someone would rather use a broken laptop dangling off a TV than be subjected to the watchful eye of the TV's native operating system.

    Earlier this month, as spotted by Tom’s Hardware , a blogger named Carl Riis, who says he’s a software engineer, shared his DIY project, a Linux-based “smart TV.” Riis’ project doesn’t stand out because it’s the most unique, clever, or clean. In fact, if you’re the type of person willing to pay a lot for TVs with strong aesthetic appeal, like TVs that can look like artwork or appear transparent , you’ll be put off by the EarlGreyTV. The system uses an old Lenovo laptop that has a broken keyboard and is attached to a TV by a string. As Riis wrote: “This may look a little insane, but it has been a great way to keep things neat while retaining access to the laptop."

    The laptop is broken because Riis spilled tea onto the keyboard years ago. The keyboard stopped working, making it hard to turn the laptop on and off. “I have to short two specific pins where the keyboard connects to the motherboard. For this reason, I have the back removed, which probably also helps it run less hot,” Riis wrote.

    Read 10 remaining paragraphs | Comments

    • chevron_right

      “Immensely disappointing”: Nike killing app for $350 self-tying sneakers

      news.movim.eu / ArsTechnica · Monday, 8 July - 18:47

    Nike Adapt BB sneaker

    Enlarge / Nike announced the Adapt BB as "a Self-Lacing Basketball Shoe" with app-controllable LEDs. (credit: Nike)

    In 2019, Nike got closer than ever to its dreams of popularizing self-tying sneakers by releasing the Adapt BB. Using Bluetooth, the sneakers paired to the Adapt app that let users do things like tighten or loosen the shoes' laces and control its LED lights. However, Nike has announced that it's "retiring" the app on August 6, when it will no longer be downloadable from Apple's App Store or the Google Play Store; nor will it be updated.

    In an announcement recently spotted by The Verge , Nike's brief explanation for discontinuing the app is that Nike "is no longer creating new versions of Adapt shoes.” The company started informing owners about the app's retirement about four months ago.

    Those who already bought the shoes can still use the app after August 6, but it's expected that iOS or Android updates will eventually make the app unusable. Also, those who get a new device won't be able to download Adapt after August 6.

    Read 12 remaining paragraphs | Comments

    • chevron_right

      Lightening the load: AI helps exoskeleton work with different strides

      news.movim.eu / ArsTechnica · Monday, 1 July - 17:31 · 1 minute

    Image of two people using powered exoskeletons to move heavy items around, as seen in the movie Aliens.

    Enlarge / Right now, the software doesn't do arms, so don't go taking on any aliens with it. (credit: 20th Century Fox)

    Exoskeletons today look like something straight out of sci-fi. But the reality is they are nowhere near as robust as their fictional counterparts. They’re quite wobbly, and it takes long hours of handcrafting software policies, which regulate how they work—a process that has to be repeated for each individual user.

    To bring the technology a bit closer to Avatar ’s Skel Suits or Warhammer 40k power armor, a team at North Carolina University’s Lab of Biomechatronics and Intelligent Robotics used AI to build the first one-size-fits-all exoskeleton that supports walking, running, and stair-climbing. Critically, its software adapts itself to new users with no need for any user-specific adjustments. “You just wear it and it works,” says Hao Su, an associate professor and co-author of the study.

    Tailor-made robots

    An exoskeleton is a robot you wear to aid your movements—it makes walking, running, and other activities less taxing, the same way an e-bike adds extra watts on top of those you generate yourself, making pedaling easier. “The problem is, exoskeletons have a hard time understanding human intentions, whether you want to run or walk or climb stairs. It’s solved with locomotion recognition: systems that recognize human locomotion intentions,” says Su.

    Read 11 remaining paragraphs | Comments

    Cos'è DOSbox

    È un emulatore di DOS, sintetizzando: emula, nella versione base, il sistema operativo MS-DOS, Microsoft Disk Operating System, in modo da poter eseguire software specifico per quell'ambiente, che non girerebbe sui computer moderni.
    Avete presente i vecchi schermi CRT di una volta, lo schermo tutto nero e C:>_ in bianco, a sinistra? Ecco, quella barriera oscura, oggi impenetrabile per l'utente abituato da decenni alle interfacce grafiche, è il DOS, in una delle sue versioni: l'ultima release autonoma è stata la 6.22, quelle successive vennero inglobate da Windows.

    Cosa emuliamo col DOSBox?

    I giochi, direi: lo scopo primario di questo software è permetterne, appunto, l'esecuzione su macchine moderne possedute da utilizzatori "antichi", tra i quali credo di rientrare. Difficilmente lo si utilizzerà per far girare altri tipi di software dell'epoca, se non per curiosità o studio.

    Potendo emulare i giochi, invece, si può attingere a un catalogo molto ampio e ricco di perle del passato; titoli che, ancora dopo 30 anni circa, sono in grado rivaleggiare con le produzioni recenti, in molti aspetti.
    Non tecnicamente, certo: il divario tecnologico è spropositatamente ampio, ma certe narrazioni non invecchiano e certa grafica 2D/in pixel art può essere eterna.

    E poi c'è la nostalgia.

    Cosa serve per far girare DOSBox

    Un computer qualsiasi, in linea di massima, e DOSBox in una delle sue incarnazioni.
    Come spesso accade nel mondo nel mondo open source, assistiamo a modifiche del codice originale, miglioramenti e funzionalità aggiuntive, fork.
    Un fork, semplificando, usando una terminologia che anche io posso capire, è la modifica di un software che ne indirizza lo sviluppo su un'altra strada, parallela o meno.

    DOSBox non fa eccezione: tra i fork più importanti e attivi, DOSBox Staging e [DOSBox-X](https://dosbox-x.com). Quest'ultima è la versione che ho installato io su una mia macchinetta Linux, per testarla prima di installarla sul PC principale (sempre con Linux). Le differenze più evidenti con la versione originale: una sorta di interfaccia grafica per le impostazioni e la possibilità di eseguire codice scritto per **Windows 3.x, 9x, Me, DOS/V e NEC PC-98.
    Tuttavia, dato lo scarso approfondimento di questo articolo, la versione di DOSBox è ininfluente.

    Installazione

    DOSBox è disponibile per Windows, Linux, Mac e DOS (sì, funziona pure all'interno di un'altra istanza DOS). Per quanto riguarda i pacchetti disponibili, fate riferimento alla documentazione ufficiale. Per le varie versioni di Windows, disponibili i vari installer e la versione portable, ovvero una cartella che contiene tutto il necessario, evitando la necessità di un'installazione.
    Per Linux, invece, disponibile in versione DEB, AUR e RPM, oltre che in Flatpak, quindi indipendente dalla distro. Ho scelto Flatpak.

    Ultimi ritocchi

    Quale che sia la vostra scelta, una volta installato, bisognerà sistemare qualche cosuccia: DOSBox funziona già così, ma probabilmente non come vorremmo.
    Intanto, le impostazioni sono salvate in un file di testo, dosbox*.conf (dosbox-x.conf per DOSBox-X): tutto quel che serve per la personalizzazione è lì.
    Ho aggiunto un asterisco al nome del file perché è possibile che abbia un nome diverso, magari inclusivo della versione dell'emulatore.

    La prima cosa che noterete è il layout "strano" della tastiera: è un qualche layout USA che non contempla neanche il tastierino numerico, probabilmente vorrete cambiarlo per spostarvi, innanzitutto, agevolmente tra le cartelle col classico comando dir. Per far ciò, in DOSBox liscio possiamo aprire, appunto, quel file dosbox.conf e aggiungere, in calce, la riga keyb it 437, col comando per impostare una tastiera italiana perfettamente funzionante, col tastierino numerico e tutto.
    Le versioni con le interfacce grafiche permettono di inserire questi comandi nella sezione AUTOEXEC.BAT, senza dover aprire manualmente il file, cosa che preferisco comunque.

    Altra cosa da fare quanto prima, secondo me, è creare una cartella da qualche parte, per salvarvi il software che vorremo usare, e montarla come disco C:, in modo da ritrovarsi nel posto giusto, in uno pseudo disco C:, all'avvio.
    Mi son creato una struttura del genere:

    dos

    cdrom
    floppy
    hd

    La sintassi generica, da aggiungere sempre in calce al file dosbox.conf, è mount c Cartella di destinazione, quindi esempio nel caso di Windows:
    mount c C:\DOS.
    In caso di installazione da Flatpak, è possibile che la cartella designata venga segnalata come non presente o non accessibile da DOSBox: ciò è dovuto alle limitazioni all'accesso del file system tipiche di questo formato.
    Come risolvere? Installando Flatseal, un programma in grado di modificare singolarmente le autorizzazioni di ogni Flatpak presente sul sistema.

    Usando io Linux, in conclusione, queste sono le mie righe aggiuntive:

    @echo off
    keyb it 437
    #mount a /mnt/Archivio/dos/floppy - floppy
    mount c /mnt/Archivio/dos/hd
    #mount d /mnt/Archivio/dos/cdrom -t cdrom -usecd 0 -iotctl 
    c:
    

    Vediamo il comando per impostare la tastiera italiana, tre righe per montare disco rigido, floppy e cd: sugli ultimi due ci devo ancora lavorare, infatti le relative righe sono commentate. Già solo montare l'unità C è sufficiente per coprire gran parte dei possibili utilizzi e, nel caso vogliate proprio montare immagini di floppy e cd nella maniera più sicura, potete farlo graficamente dal menu di DOSbox-X.
    @echo off serve a nascondere parte dei messaggi a video.
    L'ultimo comando, c:, entra direttamente nella cartella appropriata alla fine dell'avvio.

    TLDR

    Installate DOSBox, la versione che più vi aggrada, come vi pare; fatto ciò, trovate e aprite il file dal nome simile a dosbox.conf e aggiungete in calce le seguenti righe, sostituendo Percorso\hd col percorso della cartella che volete usare come disco virtuale:

    @echo off
    keyb it 437
    mount c Percorso\hd
    c:
    

    Conclusioni

    Questa è giusto un'infarinatura sulla configurazione, i parametri modificabili sono tanti e in grado di modificare pesantemente l'emulazione. Non mi ci addentro perché non sono adeguatamente ferrato da poterlo fare in maniera soddisfacente e, in ogni caso, quando si parla di emulazione, spesso è più divertente configurare il giocattolo che farlo effettivamente funzionare.

    Nel caso sia scoccata in voi la scintilla della curiosità, vi consiglio di partire dalla Wiki di DOSbox e dai video sull'argomento del canale Youtube PhilsComputerLab.

    Intro

    La maggior parte del web si basa, nel 2023, su CMS (Content Management System, strumenti e interfacce per gestire siti anche senza scrivere una linea di codice): Wordpress domina, seguono in qualche ordine Joomla, Drupal e altre incarnazioni meno diffuse.
    Sono perfettamente in grado di soddisfare determinate richieste, permettendo la creazione di siti di alto livello, in grado di offrire un ampio numero di funzionalità.

    Wordpress, l'unico che abbia provato, è pure facilmente utilizzabile senza conoscenze di codice, semplicemente componendo il sito coi blocchi predefiniti , offerti dall'editor interno o dal celeberrimo plugin Elementor. Esistono, infatti, plugin per tutti i gusti, capaci di espandere il pacchetto base in maniera impressionante. Discorso totalmente differente la creazione di un sito cucito professionalmente sulle esigenze del committente: in tal caso, bisogna mettere mano al codice.

    Il rovescio della medaglia è dato dalla complessità intrinseca di queste soluzioni, per di più basate su un database. Le pagine del sito sono, detto in maniera molto basilare (in linea con le mie competenze), elaborate al momento, assemblando i dati contenuti del database, quindi servite. Una complessità inutile in molti casi. Sicuramente, inutile per questo sito.

    I siti statici

    Sono quelli che servono pagine già fatte e finite, senza doverle estrapolare da un database. Sono siti tendenzialmente molto veloci e meno impegnativi, sia per il server che per i browser.
    Certo, con dispositivi sufficientemente moderni e linee molto veloci non è detto che tale differenza sia immediatamente percepibile, ma su un vecchio pc/telefonino, con poca banda a disposizione, questa differenza è evidente.

    Cosa serve per realizzare un sito statico, in ordine?

    Un editor di testo qualsiasi, competenze base di codice (MarkDown, nel mio caso)

    Un mago del codice, probabilmente, potrebbe realizzare un sito complicatissimo in maniera pregevole usando il solo editor di testo di default del sistema operativo, ma un mago del codice sicuramente non starà qui a leggermi, quindi posso permettermi qualche leggerezza.

    Il programma di default sui sistemi Windows è il classico, attempato notepad.exe: sarebbe sufficiente, come dicevo, ma è meglio dotarsi di sistemi più moderni e dotati delle funzioni necessarie a velocizzare la procedura.
    Non uso praticamente più Windows, se non per finalità molto specifiche: in ogni caso, il mio editor di default per questo sistema è Notepad++

    Su Linux, invece, ahimé non esiste nativamente, bisognerebbe avviarlo con Wine; ho ripiegato, quindi, su un alternativa molto leggera, seppure dalle funzionalità molto più limitate: Geany. Non essendo un utente evoluto di Notepad++, Geany si è rivelato un sostituto quasi perfetto, con un piacevole bonus: la possibilità di tenere aperto un terminale all'interno del programma stesso, molto pratico per testare il codice al volo.

    Uso MarkDown, tanto semplice quanto efficace. Semplici file di testo con una sintassi di base davvero facile da memorizzare, ma in grado di offrire ampie possibilità di formattazione delle pagine. Se non conoscete, date un'occhiata al link in calce, pochi minuti e sarete operativi.

    Bene, una volta capito come dar forma alle nostre pagine, che farne? Semplice: darle in pasto a un generatore di siti statici.

    Hugo

    Eccone uno, tra i più usati, pure l'unico che abbia provato: Hugo soddisfa le mie esigenze attuali. Sul funzionamento trovate miriadi di tutorial in rete, quindi non starò a spiegarne indegnamente il funzionamento: mi limiterò a una infarinatura sul concetto alla base di questi sistemi.

    Hugo permette di generare, da linea di comando, lo scheletro di un sito a cui dare un'apparenza grazie ai numerosi temi disponibili in rete. Questi temi contengono le definizioni visive di tutte le componenti del sito finito e possono essere modificati a piacimento,sapendo metterci le mani; diversamente, basta modificare un file di configurazione nella cartella principale del sito e aggiungere dei contenuti, come dicevamo prima in formato .md, MarkDown, nelle cartelle designate.

    Fatti ciò, sempre da riga di comando avviamo Hugo in modalità server, in modo da poter visualizzare nel browser il sito come sarà una volta pubblicato in rete. Aggiunti i contenuti, terminate le modifiche, possiamo generare il codice finale del sito: html, eventuali css e js, insomma tutto quello che vede il browser e che noi vediamo come sito pubblicato.

    Pubblicato, bene... ma dove pubblicare, appunto, questo codice? Tenercelo in locale non ci servirà a nulla, abbiamo bisogno di una infrastruttura che lo ospiti e lo renda disponibile all'esterno, con un indirizzo raggiungibile dai potenziali visitatori. Certo, potremmo anche ospitarlo su una nostra macchina, ma andremmo fuori tema.

    Netlify

    Come per Hugo, Netlify è la prima e unica piattaforma che abbia provato: funziona, è abbastanza intuitiva e il piano free soddisfa perfettamente le mie esigenze. Specialmente per quanto riguarda la banda disponibile, è impossibile che riesca a saturarla: i miei siti sono quasi interamente testuali e totalizzeranno due visualizzazioni all'anno. Mie, o di qualcuno che abbia sbagliato indirizzo.

    Su Netlify potete usare il codice generato da Hugo e accaparrarvi un dominio di terzo livello, del tipo miodominio.netlify.app; nel caso disponiate di un dominio personale, potete associarlo liberamente. Netlify si occuperà dei certificati su Let's Encrypt, per l'attivazione della modalità https.

    Potrete caricare il codice semplicemente trascinandolo nel browser,in una specifica sezione del pannello di controllo di Netlify; : in questo caso, l'articolo potrebbe chiudersi qui.

    Diversamente, si può ricorrere a un software di controllo di versione distribuito... che paroloni!

    Opzionale: Github, Gitlab e simili

    Git è lo standard. Ancora una volta, è uno strumento che uso in maniera decisamente primitiva, sfruttandone una frazione infinitesimale delle possibilità. È pur vero che non ho davvero bisogno di altro. Git è un servizio mirato principalmente agli sviluppatori, che condividono il loro codice affinché altri utenti possano visualizzarlo e metterci mano.

    Github] è il più popolato servizio di hosting, purtroppo rilevato da Microsoft nel 2018; non volendo dipendere dai giganti del web, è possibile anche appoggiarsi ad altri gestori. Netlify supporta nativamente, oltre a Github, anche Azure DevOps (sempre di Microsoft), GitLab e BitBucket.

    Seguendo questa via, caricherete il codice nei vostri repository su uno di questi servizi e Netlify provvederà ad aggiornare il sito in maniera più o meno automatizzata, nel caso abbiate appunto apportato delle modifiche.

    Riassumendo

    In chiusura, ecco quindi i passaggi per la creazione di un sito web statico:

    1. Imparare le fondamenta del MarkDown
    2. Installare Hugo
    3. Scegliere e installare un tema
    4. Personalizzare il tema in maniera più o meno approfondita, caricare qualche contenuto in formato .md
    5. Generare il codice con Hugo
    6. Caricarlo su Netlify
    7. (Opzionale) Utilizzare un dominio personalizzato

    Se proprio siete curiosi, potete caricare il codice su Git e associarlo al sito su Netlify.

    Ecco: ho scritto moltissimo, ma è molto più facile di quanto possa sembrare, a patto di avere una conoscenza almeno medio-bassa dei PC.

    • chevron_right

      ‘UFC Ripper’ Tool Can Download UFC Fight Pass Streams

      news.movim.eu / TorrentFreak · Friday, 24 May - 20:04 · 3 minutes

    ufc-ripper The Ultimate Fighting Championship ( UFC ) has promoted mixed martial arts fights for three decades, turning the sport into a billion-dollar industry.

    At the same time, the company has been fighting a battle against online piracy . Pirated livestreams and downloads are frequently used to bypass the monthly subscription fee for UFC Fight Pass , something the company is clearly not happy with.

    While UFC fans can legally access fights in most countries, not all paying subscribers are entirely happy with the UFC Fight Pass service. One key issue is the lack of offline viewing support, that would allow people to rewatch streams without wasting bandwidth, or to view fights without an Internet connection.

    UFC Ripper

    To solve this issue, Mahesh Wijerathna, an open-source developer from Sri Lanka, created a dedicated tool that does just that. With “ UFC Ripper “, Fight Pass subscribers can download fights to their devices, so they can watch them at their own convenience.

    Mahesh is not a newcomer to ‘offline’ access. The developer previously released an offline version of The Pirate Bay , which gained a lot of traction when the torrent site suffered extended downtime.

    UFC ripper is not intended to be used as a piracy tool, however. On the contrary, it can only be used by people who already have a paid Fight Pass subscription, purely to make the fights available for offline viewing. While UFC could see this as a violation of the DMCA’s “anti-circumvention” provision, the developer hopes it will be allowed to exist.

    UFC Ripper

    In a letter to UFC President Dana White , who is known for his tough stance on piracy , Mahesh stresses that his intentions are good.

    “This isn’t a tool created for pirating your copyrighted content. This tool requires a PAID FIGHT PASS SUBSCRIPTION to function. This merely eliminates the need to stream a massive amount of data through metered connections every time you want to go back and watch your favorite fighters,” the developer writes.

    Saving Bandwidth

    UFC Ripper allows users to watch UFC fights without an Internet connection, while traveling, for example. In addition, it’s also a bandwidth saver, as users are not required to ‘waste’ any to rewatch a fight. That’s very welcome in countries such as Sri Lanka, where the costs are significant.

    These bandwidth savings are also the main reason why the developer created the tool.

    “The whole reason for me to create this tool is for my own need. I live in a third-world country that was destroyed by politicians. That made internet services more of a luxury than a right for the people of this country,” Mahesh notes in his letter to Dana White.

    “Our internet connections are very spotty and extremely limited. 1GB of data here costs more than a meal. Imagine that.”

    Dear Dana White…

    dear dana

    While UFC Ripper is intended for personal use, the developer made it available publicly a while ago. Recently, it was completely rewritten in the programming language Rust and several people have been using it since. The developer hopes that UFC’s President will understand his motivation and allow it to stay online.

    No Fight

    Speaking with TorrentFreak, Mahesh makes it clear that he’s not looking for legal trouble. If UFC comes knocking, asking him to discontinue the software, he doesn’t plan to put up a fight.

    “If that happens, I’m gonna have to oblige because as we all know from previous incidents, Zuffa is an extremely litigious company and Dana White is ruthless. I would not get into a battle with those people.”

    The developer believes, however, that UFC ripper ‘should’ be legal as it requires a paid subscription to function. UFC ripper only makes legally-accessed streams available for viewing without an Internet connection.

    “I think it should be legal since we should be allowed to consume the content we pay for, offline. As long as nobody redistributes the content they download, it should be allowed,” Mahesh says.

    How UFC will view this matter is not clear. The company does have various anti-piracy measures in place and may view the software as a circumvention tool under the DMCA, much like the music industry views YouTube rippers.

    Then again, there are always technical and motivational nuances that can make a difference. All in all, the developer simply doesn’t know how UFC will see the app, but he hopes that it won’t be knocked out right away.

    From: TF , for the latest news on copyright battles, piracy and more.

    • Sl chevron_right

      Contact publication

      pubsub.blastersklan.com / slashdot · Wednesday, 17 April - 13:28 edit · 1 minute

    An anonymous reader quotes a report from The Register: In a Monday post, Broadcom CEO Hock Tan restated his belief that VMware's portfolio was too complex, and too poorly integrated, for the virtualization giant to represent true competition for hyperscale clouds. Broadcom's injection of R&D cash, he insisted, will see VMware's flagship Cloud Foundation suite evolve to become more powerful and easy to operate. He also admitted that customers aren't enjoying the ride. "As we roll out this strategy, we continue to learn from our customers on how best to prepare them for success by ensuring they always have the transition time and support they need," he wrote. "In particular, the subscription pricing model does involve a change in the timing of customers' expenditures and the balance of those expenditures between capital and operating spending." Customers also told Tan that "fast-moving change may require more time, so we have given support extensions to many customers who came up for renewal while these changes were rolling out." That's one of the changes -- Broadcom has previously not publicly suggested such extensions would be possible. "We have always been and remain ready to work with our customers on their specific concerns," Tan wrote. The other change is providing some ongoing security patches for VMware customers who persist with their perpetual licenses instead of shifting to Broadcom's subs. "We are announcing free access to zero-day security patches for supported versions of vSphere, and we'll add other VMware products over time," Tan wrote, describing the measure as aimed at ensuring that customers "whose maintenance and support contracts have expired and choose to not continue on one of our subscription offerings." The change means such customers "are able to use perpetual licenses in a safe and secure fashion."

    Read more of this story at Slashdot.

    Broadcom Throws VMware Customers On Perpetual Licenses a Lifeline
    • wifi_tethering open_in_new

      This post is public

      tech.slashdot.org /story/24/04/17/0329253/broadcom-throws-vmware-customers-on-perpetual-licenses-a-lifeline

    • chevron_right

      German state gov. ditching Windows for Linux, 30K workers migrating

      news.movim.eu / ArsTechnica · Friday, 5 April - 19:03

    many penguins

    Enlarge (credit: Getty )

    Schleswig-Holstein, one of Germany’s 16 states, on Wednesday confirmed plans to move tens of thousands of systems from Microsoft Windows to Linux. The announcement follows previously established plans to migrate the state government off Microsoft Office in favor of open source LibreOffice.

    As spotted by The Document Foundation , the government has apparently finished its pilot run of LibreOffice and is now announcing plans to expand to more open source offerings.

    In 2021, the state government announced plans to move 25,000 computers to LibreOffice by 2026. At the time, Schleswig-Holstein said it had already been testing LibreOffice for two years.

    Read 19 remaining paragraphs | Comments