TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #335 · 29 мар.

В Linux стандартными средствами можно использовать часть оперативной памяти как диск. Для этого требуется указать тип монтирования tmpfs в команде mount mount -t tmpfs -o size=5G tmpfs /mnt/ram Теперь путь /mnt/ram можно использовать как обычный каталог. Для чего это может быть нужно? ▫️ Скорость работы с таким каталогом выше чем многие SSD и тем более HDD. ▫️ Если у вас очень быстрый SSD на NVMe M.2 то такой способ особо не прибавит вам скорости, но поможет сохранить ресурс SSD когда требуется обрабатывать очень много мелких файлов и оперативка позволяет выделить нужный объем. ▫️ Оперативка это энергозависимая память, поэтому выключении питания все файлы безвозвратно теряются. Такой "non persistent" каталог гарантирует удаление временных файлов. Я написал небольшой скрипт для условного теста и сравнения скорости копирования файлов между SSD и RAM. Вот мои результаты: Single File Size: 30.0Gb ssd > ssd: 0:00:12.850 / 2.3Gb/s sdd > ram: 0:00:06.453 / 4.6Gb/s ram > ram: 0:00:06.995 / 4.3Gb/s ram > sdd: 0:00:06.217 / 4.8Gb/s Dir size: 32.7Gb, File count: 11127 ssd > ssd: 0:00:15.063 / 2.2Gb/s sdd > ram: 0:00:08.486 / 3.9Gb/s ram > ram: 0:00:08.032 / 4.1Gb/s ram > sdd: 0:00:07.026 / 4.7Gb/s Скрипт для теста ↗️ На моём железе прирост скорости ~2x. Плюс экономия ресурса SSD. В Windows такой фишки по умолчанию нет, но обязательно найдутся аналогичные решения #linux#triks

Hashtags

Резултати

Пронајдени 7 слични објави

Пребарај: #greenpass

当前筛选 #greenpass清除筛选
Covid-19

@Covid19 · Post #3368 · 07.06.2023 г., 09:34

UE e OMS hanno sottoscritto un partenariato per un #GreenPass mondiale. Servirà a dimostrare, tramite banca dati digitale, di essersi sottoposti alla profilassi prevista per l’ingresso in Paesi dove alcune malattie sono endemiche, invece di presentare certificati cartacei. @UltimoraPolitics24

Hashtags

Il valore della giustizia⚖️

@giurisprudentia · Post #323 · 17.09.2021 г., 12:00

#GREENPASS Il nuovo Dl GreenPass dispone l’estensione della misura a tutti i lavoratori, sia nel pubblico che nel privato. Ciò ha suscitato un dibattito in merito al termine a partire dal quale possa scattare la sospensione dalla retribuzione. Con un proprio comunicato, il Consiglio dei Ministri ha chiarito cosa succederà con lo stipendio: «La retribuzione non è dovuta dal primo giorno di assenza». In serata era circolata la voce che lo stop allo stipendio sarebbe arrivato solo dopo il quinto giorno. Questa è l’unica misura che entrerà in vigore per i lavoratori senza Green pass: al momento non è prevista né una sanzione né il licenziamento. 👉@giurisprudentia

Hashtags

Reuters: World

@reutersworldchannel · Post #149368 · 14.10.2021 г., 18:15

Italian factory workers start Green Pass checks A factory in Italy is checking the COVID-19 Green Pass documentation of its employees as the country is set to make them mandatory to accelerate vaccinations and stamp out infections. #News#Reuters#Italy#GreenPass Subscribe: http://smarturl.it/reuterssubscribe Reuters brings you the latest business, finance and breaking news video from around the globe. Our reputation for accuracy and impartiality is unparalleled. Get the latest news on: http://reuters.com/ Follow Reuters on Facebook: https://www.facebook.com/Reuters Follow Reuters on Twitter: https://twitter.com/Reuters Follow Reuters on Instagram: https://www.instagram.com/reuters/?hl=en ➖@reutersworldchannel➖

Reuters: World

@reutersworldchannel · Post #149358 · 14.10.2021 г., 14:41

Italian workplaces prepare for worker 'Green Pass' Employees in Italy will need a so-called 'Green Pass' health certificate to go to work, but fears are growing in some parts of the country that the measure could cause staff shortages. #News#Reuters#Italy#GreenPass Subscribe: http://smarturl.it/reuterssubscribe Reuters brings you the latest business, finance and breaking news video from around the globe. Our reputation for accuracy and impartiality is unparalleled. Get the latest news on: http://reuters.com/ Follow Reuters on Facebook: https://www.facebook.com/Reuters Follow Reuters on Twitter: https://twitter.com/Reuters Follow Reuters on Instagram: https://www.instagram.com/reuters/?hl=en ➖@reutersworldchannel➖

Reuters: World

@reutersworldchannel · Post #149400 · 15.10.2021 г., 11:46

Italy makes health pass mandatory for workers COVID-19 health passes became mandatory for all workers in Italy #News#Reuters#Italy#GreenPass#HealthPass Subscribe: http://smarturl.it/reuterssubscribe Reuters brings you the latest business, finance and breaking news video from around the globe. Our reputation for accuracy and impartiality is unparalleled. Get the latest news on: http://reuters.com/ Follow Reuters on Facebook: https://www.facebook.com/Reuters Follow Reuters on Twitter: https://twitter.com/Reuters Follow Reuters on Instagram: https://www.instagram.com/reuters/?hl=en ➖@reutersworldchannel➖

Reuters: World

@reutersworldchannel · Post #149414 · 15.10.2021 г., 15:14

LIVE: Anti-vax protesters gather in Rome as Italy imposes mandatory COVID health pass for workers ‘No-vax’ protesters gather in Rome's Circus Maximus as the Italian government makes the Green Pass COVID-19 certificate mandatory for all workers. #News#Reuters#Live#Italy#GreenPass#science#politics Subscribe: http://smarturl.it/reuterssubscribe Reuters brings you the latest business, finance and breaking news video from around the globe. Our reputation for accuracy and impartiality is unparalleled. Get the latest news on: http://reuters.com/ Follow Reuters on Facebook: https://www.facebook.com/Reuters Follow Reuters on Twitter: https://twitter.com/Reuters Follow Reuters on Instagram: https://www.instagram.com/reuters/?hl=en ➖@reutersworldchannel➖

Savino Balzano

@savinobalzano · Post #844 · 17.12.2024 г., 09:51

https://x.com/SavinoBalzano/status/1868955755107271155?t=DnSRyzb5frMEdUA3MzmTig&s=19 Ieri c'è stata una mezza zuffa a #OttoEMezzo, tra #Gruber e #Sechi, colpevole di aver attribuito un ruolo politico a #Saviano. Penso che il Direttore di #Libero avesse ragione: #RobertoSaviano è perfettamente collocabile nelle vesti di un attore politico in senso stretto; i suoi attacchi sono unilaterali, gli argomenti adottati spesso sovrapponibili a quelli dell'opposizione di #sinistrucola e, dunque, il suo è un ruolo politico, funzionale all'opposizione. Avete mai sentito #RobertoSaviano muovere una critica seria al #PD, evidenziarne le infinite contraddizioni? avete mai assistito a un Saviano feroce col Sinsacato, che ne denunciasse le profondissime incoerenze e le misere strumentalizzazioni? io non ricordo nulla di tutto ciò. Il suo è un ruolo politico, ha ragione Sechi. Come un ruolo politico svolgono alcuni giornalisti, dei quali peraltro non apprezzo minimamente (forse per mio limite) la qualità: cosa c'è di apprezzabile nel pedinare il Presidente del Senato #Larussa e nel domandargli ossessivmente, pappagallescamente, se è #antifascista? Dove sarebbe l'inchiesta? dove la rilevanza pubblica per chi legge? Peraltro il tutto fatto provocatoriamente ad #Atreju2024, nella speranza di una reazione forte da parte di qualcuno che gli consentisse di presentarsi al mondo come vittima del regime. La banalità del male. Si, insomma, mettiamo che Larussa si fosse rivolto a #Tommasi rispondendogli: «lo ammetto, sono fascista». Cosa sarebbe accaduto? quale sarebbe stata la reazione nell'opinione pubblica? come avrebbe reagito la gente? Francamente, e lo dico da fervente antifascista per nulla orgoglioso di chi ricopre il ruolo della seconda carica dello Stato, penso che la gente se ne sarebbe completamente sbattuta di un epilogo del genere, perché la gente è stufa dell'#antifascismo politicamente corretto e salottiero di cui questi sono l'espressione. Io trovo offensivo che una roba seria come l'antifascismo sia nelle mani di certa gente, che certi soggetti possano davvero considerarsi eredi e depositari di quella cultura. I valori della nostra Costituzione sono stati traditi da chi ha svenduto il Paese affamando la gente: perché non evidenziare queste gravissime contraddizioni, laddove ad animarle sono stati proprio quelli che oggi cantano Bella Ciao in piazza? ci hanno scippato quella canzone, con tutta la memoria della Resistenza, per farne un vessillo scialbo e ormai insignificante, da sbandierare irrispettosamente e strumentalmente contro l'avversario non gradito, nel teatrino che è diventato il dibattito pubblico italiano. Davvero qualche cretino può pensare che i valori dell'antifascismo possano essere incarnati da chi si vantava di fottere il tavolino esterno di un bar a chi non possedeva il #GreenPass? che l'antifascismo sia coerente col negare il diritto a qualcuno di prendere un caffè? nel divertimento sorridente sbattuto in faccia a chi veniva escluso dal godimento di diritti fondamentali? e non mi riferisco solo al caffè, evidentemente. Certe nefandezze non saranno mai dimenticate e mai perdonate: resteranno marchiate a fuoco, come uno stigma morale, sulla pelle di chi se ne è reso responsabile, alimentando un odio sociale ingiustificato e vessatorio del quale paghiamo il prezzo ancora adesso. Che categoria decaduta è quella degli intellettuali! #Pasolini era un intellettuale, non #Saviano, non #Valerio, non #Murgia («Può durare un altro po' questo virus? se il risultato è la vivibilità delle strade, io ci metterei la firma»). L'intellettuale è spietato, non guarda in faccia nessuno, ha un solo faro: le proprie idee, espresse con la massima onestà intellettuale possibile. #Pasolini era un comunista e le critiche più feroci le ha rivolte proprio al partito che rappresentava l'ideologia che sentiva più vicina. Questi fanno lo stesso? (...) CONTINUA SU X