gmg

@gmg@beehaw.org

This profile is from a federated server and may be incomplete. Browse more on the original instance.

leviticoh, to informatica

@informatica
Ai dischi serve davvero la cache?

È una curiosità che mi è venuta recentemente quando stavo facendo spesa,
Vedo che la maggior parte dei "dischi" (sia HDD che SSD) che vedo presentano una certa quantità di "cache DRAM",
Da quel che so serve a migliorare le prestazioni, mantenendo blocchi utilizzati di frequente in una memoria più veloce, e, per gli SSD, a ridurre i cicli di scrittura sulla memoria flash.

Ma qualcosa di simile se non mi sbaglio lo fanno anche sistemi operativi come linux e windows, mantenendo in memoria file letti e scritti di recente, quindi mi chiedo, fa davvero molta differenza avere o no una cache anche sul "disco" al di fuori di benchmark, come crystaldiskmark, che disabilitano esplicitamente la cache del sistema operativo?

gmg,

Ci provo - sarà un po’ lungo :)

Siccome le celle di memoria degli SSD si possono sovrascrivere solo un certo numero di volte, quando modifichi un blocco di dati (un file o un pezzo di file se è grande) l’SSD invece di sovrascrive il vecchio blocco ne scrive uno nuovo da qualche altra parte. Qquesta cosa si chiama “wear leveling” ed è anche il motivo per cui è difficile assicurarsi di aver cancellato qualcosa da un SSD.

La cosa succede senza che il sistema operativo ne sappia nulla: per quanto lo riguarda, l’indirizzo del file è sempre lo stesso, e quindi è responsabilità dell’SSD sapere quale blocco “fisico” corrisponda a quale blocco “logico” (inoltre deve anche sapere quante volte ha sovrascritto le varie parti del disco).

L’SSD ha quindi bisogno di mantenere delle tabelle con questi dati e deve leggere queste tabelle prima di ogni altra operazione.

La RAM dell’SSD viene usata per velocizzare la consultazione di queste tabelle, ma ci sono anche SSD che usano la RAM del computer per la stessa cosa (IIUC sono comunque più lenti di quelli con RAM dedicata) e pure dischi che non hanno la cache e leggono ogni volta le tabelle dai chip su cui vengono scritte.

Insomma: la cache dell’SSD non replica la funzionalità replica di quella del sistema operativo… non è che non sarebbe possibile fare un SSD con cache per i dati (per quanto ne so magari esistono), ma il sistema operativo ha molte più informazioni per decidere quali dati tenere in cache (eg. sa se il processo che ha letto i dati sta ancora girando o se è morto) ed è quindi più sensato che se ne occupi lui.

informapirata, to Signal Italian
@informapirata@mastodon.uno avatar

Trojan su Android: allerta cyber spionaggio cinese per Telegram e Signal

@informatica

Sono due le app dannose, e Plus Messenger, distribuite attraverso store ufficiali e siti web fraudolenti, che hanno permesso agli aggressori del gruppo filocinese di esfiltrare dati sensibili e persino di spiare i messaggi su Signal. Ecco tutto quello che c’è da sapere

Di @nuke su

https://www.cybersecurity360.it/nuove-minacce/trojan-su-android-allerta-cyber-spionaggio-cinese-per-telegram-e-signal/

gmg,

Non “Telegram e Signal”, ma “FlyGram e Signal Plus Messenger”. Ecchecazzo.

cybersecurity, to informatica Italian

deleted_by_author

  • Loading...
  • gmg,

    The only way to get rid of a temptation is to yield to it.

    Se solo fosse un pochino più piccolo (anche a scapito di gpio e ibutton) io mi sarei già liberato della tentazione.

    prealpinux, to informatica
    @prealpinux@mastodon.uno avatar

    deleted_by_author

  • Loading...
  • gmg,

    The 100-Year Plan ensures that your stories, achievements, and memories are preserved for generations to come. One payment. One hundred years of legacy. US$38,000.

    Secondo me l’avevano preparata per il prossimo primo d’aprile e l’hanno rilasciata adesso per sbaglio :)

    gmg,

    If really bots are being used for this, will that also contribute to the traffic metric like a normal user would?

    no: bots generally use the API and, even if they went through the web ui, bot traffic doesn't generally trigger tracking (you could write a bot that does that, but it would be extra work)

    gmg,

    Is the time to resolve domains that are not cached noticeable?

    informapirata, to informatica Italian
    @informapirata@mastodon.uno avatar

    Lo stato del digitale in Italia nel 2023

    @informatica

    • C'erano 50,78 milioni di utenti Internet in Italia all'inizio del 2023, quando la penetrazione di Internet era dell'86,1% .
    • L'Italia ospitava 43,90 milioni di utenti di social media nel gennaio 2023, pari al 74,5% della popolazione totale.
    • Un totale di 78,19 milioni di connessioni mobili cellulari erano attive in Italia all'inizio del 2023, con questa cifra pari al 132,6 per cento della popolazione totale.

    https://datareportal.com/reports/digital-2023-italy

    gmg,

    In compenso abbiamo il liceo del made in italy

    gmg,

    How much tea do you use and how long do you wait?

    I use around 1.5g tea per 100ml and make three infusions with Darjeeling (well, with most black teas really): 2mins, 3mins and "a very long time" (IDK if the third should be even considered tea... I leave it be and then drink the resulting beverage at room temp)

    gmg,

    I guarantee my method is way less scientific that it may sound :)

    The timer habit comes from me forgetting about my tea about 50% of the times and ending up with an undrinkable cup.

    As for weighting tea leaves... there's been a period when I felt particularly experimental and I was juggling some 8 different kinds of tea; I quickly got sick of remembering how many spoons of each kind I should use for my 300ml cup (density varies a lot depending on how much the leaves are rolled and how big they are) so I bought a 10€ "precision" scale and got into the habit of weighting my tea leaves.

    Nowadays I generally have just two kinds of tea around (plus sometimes a third one I'm trying out), so it's not like the scale is really needed... I do appreciate the consistency however (I get tea in rather big bags, and the leaves on the top are noticeably bigger than the ones towards the end of the bag), plus having one less thing to remember is always nice.

    gmg,

    Seems reasonable when you are on the offensive

    gmg,
    $ n=0; while read -r l; do n="$((n+1))" printf '    %d %sn' "$n" "$l"; done < /etc/os-release 
        0 NAME="openSUSE Tumbleweed"
        0 # VERSION="20230619"
        0 ID="opensuse-tumbleweed"
     [...]
    
    

    Uniformazione icone comunità? Italian

    Prendo spunto dalla meravigliosa e spontanea crescita che ha avuto negli ultimi giorni beehaw, una comunità statunitense che riesce a creare un'immagine coesa di sé grazie anche allo stile della propria presentazione. Mentre ci giravo un po' su, mi chiedevo se secondo voi una "uniformazione" di Feddit è possibile in questo...

    gmg,

    Se fare molti loghi dovesse risultare complicato (specie in futuro per le nuove community), si potrebbe usare un piccolo overlay (che so, una bandierina italiana) come segno distintivo dell'istanza

    gmg,

    The hdparm -B and -S options should allow you to have your drive automatically spin-down when inactive, but they don't work on all dives (eg. my NAS has two shucked WD white that seem to just ignore those settings). If those fail, you could schedule a hdparm -y to spin down the drive periodically.

    Make sure to read man hdparm as there are some dangerous options.

    PS: there's also https://github.com/adelolmo/hd-idle - I've not tried it out yet, but it seems promising

    gmg,

    I love how much effort they put in this every time!

    If you wanna listen to more of them, here's the full playlist from SUSE's channel on youtube.

    gmg,

    Per niente: chiamare qualcuno "negro" è sicuramente un insulto e, altrettanto sicuramente, avere la pelle scura non può essere considerata "una cosa brutta".

    Detto questo, concordo che Musk sia... una persona diversamente intelligente.

    gmg,

    It wasn't my intention to imply that it has no effect: the points I wanted to raise are that it takes a lot of work (that is, if you write a meaningful refutation: childish bickering of course requires very low effort) and that the effects it does have do not include making the original post/comment less visible (what I called "soft" moderation).

    gmg,

    With the people I've talked about privacy the issue seems to be that they perceive google/apple/whoever as somewhat abstract entities: when I try asking if they would allow their local supermarket/corner shop (let alone the government!) to know that much about them, they immediately reply "no way!"... but then (even after the conversation) they are still ok with google tracking their location 24x7.

    gmg,

    Lack of healthy competition. It's plain to see from the other side of the ocean where I live... Is it maybe one of those things you can only see from afar?

    gmg,

    OP was about data caps on landlines... yeah, at first glance I too thought it could only be mobile

    gmg,

    Let me add to that:

    There are utilities (eg. andrewbanchich/shreddit) and even third-party websites that allow you to delete all your posts and comments (it's of course way too impractical to do so via the reddit website/app).

    IIUC it is not possible to delete all one's posts/comments via the API alone (you can only delete the last thousand or so - IDK if repeating the process helps), so with most (all?) of these utilities one can provide a GDPR export of all comments/posts and they will then be able to delete everything.

    You can request a GDPR export at www.reddit.com/settings/data-request (IDK if this works regardless of where you live), but it will take several days/weeks (I requested mine last week and I'm still waiting).

    gmg,

    Well, FTP will only be faster if the CPU —rather than the network— is the bottleneck, which basically means it won't be any faster.

    informapirata, to informatica
    @informapirata@mastodon.uno avatar

    Il 37,5% dei tecnici informatici che riparano computer sbirciano tra files e dati personali e a volte se li copiano

    @informatica

    Come insegna la vicenda di Hunter Biden il tecnico ha fatto una copia di documenti con numeri di conto, carta di credito e 8.864 immagini, tra cui centinaia di foto imbarazzanti che ritraggono il figlio dell’uomo più potente del mondo mentre assume droghe e fa sesso con prostitute.

    https://nicolabernardi.nova100.ilsole24ore.com/2023/06/15/fidarsi-e-bene-ma-non-fidarsi-e-meglio-per-non-mandare-in-fumo-la-nostra-privacy/

    gmg,

    Per molte riparazioni potrebbero semplicemente smontare l'hard disk davanti a te e lasciartelo, ma, certo, per le "riparazioni" software questo non è possibile...

    Una soluzione (linux - IDK per gli altri OS) sarebbe quella di cifrare la home directory e dare al tecnico solo la password di root (l'utente amministratore). In questo modo lui potrebbe accendere il pc e smaneggiare in giro senza accesso ai tuoi dati (ma se poi il problema è nella home directory siamo punto e d'accapo e comunque se è root può installare backdoor e simili... "A lock does no more than keep an honest man honest").

    gmg,

    Ci sono i titoli clicbait e poi ci sono i titoli clicbait dove non ci si fan scrupolo di scrivere autentiche panzane tutte in maiuscole.

    OP, grazie per aver linkato invidious invece che youtube. Riesci a togliere la pubblicitià dalla descrizione facendo edit? (si, son sicuro che ce l'abbia messa lemmy e non tu)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • ethstaker
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • tester
  • khanakhh
  • everett
  • thenastyranch
  • Youngstown
  • slotface
  • tacticalgear
  • kavyap
  • osvaldo12
  • JUstTest
  • mdbf
  • GTA5RPClips
  • ngwrru68w68
  • provamag3
  • Durango
  • rosin
  • cisconetworking
  • normalnudes
  • modclub
  • megavids
  • cubers
  • Leos
  • lostlight
  • All magazines