Podcasts about 3gb

  • 76PODCASTS
  • 149EPISODES
  • 35mAVG DURATION
  • 1MONTHLY NEW EPISODE
  • May 3, 2025LATEST

POPULARITY

20172018201920202021202220232024


Best podcasts about 3gb

Latest podcast episodes about 3gb

PC Perspective Podcast
Podcast #821: 3GB GDDR7 Modules Have SUPER Implications, Intel Foundry News, GPU Sag Tech, bye Hyte, and Flurp

PC Perspective Podcast

Play Episode Listen Later May 3, 2025 79:44


The latest episode of the podcast features the musings of J. Hellstrom, background art by J. Hellstrom, and several segments written - in large part - by J. Hellstrom.  In a way, we are all Jeremy now.  Also within, find us talking about gyroscopes, no more Hyte, Copilot popularity and even 12VHPWR! As if.Timestamps:00:00 Intro01:03 Food with Josh02:30 Too early for RTX 50 Series SUPER rumors? 3GB modules say no!07:53 Intel Foundry Direct Connect 202517:18 The 40th anniversary of the Acorn RISC Machine (ARM)21:22 The tech we need to fight GPU sag23:10 HYTE pauses shipments to USA28:31 Copilot is so hot right now32:28 MSI's yellow 12VHPWR connectors turn black when they burn34:12 Yet another Project Kuiper update40:39 (in)Security Corner51:07 Gaming Quick Hits1:02:16 Picks of the Week1:16:06 Outro1:17:04 Jeremy did it ★ Support this podcast on Patreon ★

Hacker Public Radio
HPR4341: Transferring Large Data Sets

Hacker Public Radio

Play Episode Listen Later Mar 24, 2025


This show has been flagged as Clean by the host. Transferring Large Data Sets Very large data sets present their own problems. Not everyone has directories with hundreds of gigabytes of project files, but I do, and I assume I'm not the only one. For instance, I have a directory with over 700 radio shows, many of these directories also have a podcast, and they also have pictures and text files. Doing a properties check on the directory I see 450 gigabytes of data. When I started envisioning Libre Indie Archive I wanted to move the directories into archival storage using optical drives. My first attempt at this didn't work because I lost metadata when I wrote the optical drives since optical drives are read only. After further work and study I learned that tar files can preserve meta data if they are created and uncompressed as root. In fact, if you are running tar as root preserving file ownership and permissions is the default. So this means that optical drives are an option if you write tar archives onto the optical drives. I have better success rates with 25 GB Blue Ray Discs than with the 50 GB discs. So, if your directory breaks up into projects that fit on 25 GB discs, that's great. My data did not do this easily but tar does have an option to write a data set to multiple tar files each with a maximum size, labelling them -0 -1, etc. When using this multi volume feature you cannot use compression. So you will get tar files, not tar.gz files. It's better to break the file sets up in more reasonable sizes so I decided to divide the shows up alphabetically by title, so all the shows starting with the letter a would be one data set and then down the alphabet, one letter at a time. Most of the letters would result in a single tar file labeled -0 that would fit on the 25 GB disc. Many letters, however, took two or even three tar files that would have to be written on different disks and then concatenated on the primary system before they are extracted to the correct location in primaryfiles. There is a companion program to tar, called tarcat, that I used to combine 2 or 3 tar files split by length into a single tar file that could be extracted. I ran engrampa as root to extract the files. So, I used a tar command on the working system where my Something Blue radio shows are stored. Then I used K3b to burn these files onto a 25 GB Blu Ray Disc carefully labeling the discs and writing a text file that I used to keep up with which files I had already copied to Disc. Then on the Libre Indie Archive primary system I copied from the Blu Ray to the boot drive the file or files for that data set. Then I would use tarcat to combine the files if there was more than one file for that data set. And finally I would extract the files to primaryfiles by running engrampa as root. Now I'm going to go into details on each of these steps. First make sure that the Libre Indie Archive program, prep.sh, is in your home directory on your workstation. Then from the data directory to be archived, in my case the something_blue directory run prep.sh like this. ~/prep.sh This will create a file named IA_Origin.txt that lists the date, the computer and directory being archived, and the users and userids on that system. All very helpful information to have if at some time in the future you need to do a restore. Next create a tar data set for each letter of the alphabet. (You may want to divide your data set in a different way.) Open a terminal in the same directory as the data directory, my something_blue directory, so that ls displays something_blue (your data directory). I keep the Something Blue shows and podcasts in subdirectories in the something_blue directory. Here's the tar command. Example a: sudo tar -cv --tape-length=20000000 --file=somethingblue-a-{0..50}.tar /home/larry/delta/something_blue/a* This is for the letter a so the --file parameter includes the letter a. The numbers 0..50 in the squirelly brackets are the sequence numbers for the files. I only had one file for the letter a, somethingblue-a-0.tar. The last parameter is the source for the tar files, in this case /home/larry/delta/something_blue/a* All of the files and directories in the something_blue directory that start with the letter a. You may want to change the --tape-length parameter. As listed it stores up to 19.1 GB. The maximum capacity of a 25 GB Blu-ray is 23.3GB for data storage. Example b: For the letter b, I ended up with three tar files. somethingblue-b-0.tarsomethingblue-b-1.tarsomethingblue-b-2.tar I will use these files in the example below using tarcat to combine the files. I use K3b to burn Blu-Ray data discs. Besides installing K3b you have to install some other programs and then there is a particular setup that needs to be done including selecting cdrecord and no multisession. Here's an excellent article that will go step by step through the installation and setup. How to burn Blu-ray discs on Ubuntu and derivatives using K3b? https://en.ubunlog.com/how-to-burn-blu-ray-discs-on-ubuntu-and-derivatives-using-k3b/ I also always check Verify data and I use the Linux/Unix file system, not windows which will rename your files if the filenames are too long. I installed a Blu-Ray reader into the primary system and I used thunar to copy the files from the Blu-Ray Disc to the boot drive. In the primaryfiles directory I make a subdirectory, something_blue, to hold the archived shows. If there is only one file, like in example a above, you can skip the concatenation step. If there is more than one file, like Example b above, you use tarcat to concatenate these files into one tar file. You have to do this. If you try to extract from just one of the numbered files when there is more than one you will get an error. So if I try to extract from somethingblue-b-0.tar and I get an error it doesn't mean that there's anything wrong with that file. It just has to be concatenated with the other b files before it can be extracted. There is a companion program to tar called tarcat that should be used to concatenate the tar files. Here's the command I used for example b, above. tarcat somethingblue-b-0.tar somethingblue-b-1.tar somethingblue-b-2.tar > sb-b.tar This will concatenate the three smaller tar files into one bigger tar file named sb-b.tar In order to preserve the meta data you have to extract the files as root. In order to make it easier to select the files to be extracted and where to store them I use the GUI archive manager, engrampa. To run engrampa as root open a terminal with CTRL-ALT t and use this command sudo -H engrampa Click Open and select the tar file to extract. Then follow the path until you are in the something_blue directory and you are seeing the folders and files you want to extract. Type Ctrl a to select them all. (instead of the something_blue directory you will go to your_data directory) Then click Extract at the top of the window. Open the directory where you want the files to go. In my case, primaryfiles/something_blue Then click Extract again in the lower right. After the files are extracted go to your data directory in primaryfiles and check that the directories and files are where you expect them to be. You can also open a terminal in that directory and type ls -l to review the meta data. When dealing with data chunks sized 20 GB or more each one of these steps takes time. The reason I like using an optical disk backup to transfer the files from the working system to Libre Indie Archive is because it gives me an easy to store backup that is not on a spinning drive and that cannot be overwritten. Still optical disk storage is not perfect either. It's just another belt to go with your suspenders. Another way to transfer directories into the primaryfiles directory is with ssh over the network. This is not as safe as using optical disks and it also does not provide the extra snapshot backup. It also takes a long time but it is not as labor intensive. After I spend some more time thinking about this and testing I will do a podcast about transferring large data sets with ssh. Although I am transferring large data sets to move them into archival storage using Libre Indie Archive there are many other situations where you might want to move a large data set while preserving the meta data. So what I have written about tar files, optical discs, and running thunar and engrampa as root is generally applicable. As always comments are appreciated. You can comment on Hacker Public Radio or on Mastodon. Visit my blog at home.gamerplus.org where I will post the show notes and embed the Mastodon thread for comments about thie podcast. Thanks Provide feedback on this episode.

ITmedia Mobile
楽天モバイル、ネットとスマホがセットで毎月1000ポイント還元の「最強おうちプログラム」提供 3GBまで実質無料に

ITmedia Mobile

Play Episode Listen Later Mar 4, 2025 0:27


楽天モバイル、ネットとスマホがセットで毎月1000ポイント還元の「最強おうちプログラム」提供 3GBまで実質無料に。 楽天モバイルは、3月4日に「最強おうちプログラム」を提供開始。「Rakuten最強プラン」を利用かつ5G対応ホームルーターの料金プラン「Rakuten Turbo」またはインターネット回線サービス「楽天ひかり」を初めて申し込んだユーザーが対象となる。

ITmedia Mobile
楽天モバイル、最大1万4000ポイント還元で3GBまでが1年間実質無料に 若年層向けキャンペーン展開

ITmedia Mobile

Play Episode Listen Later Feb 14, 2025 0:18


楽天モバイル、最大1万4000ポイント還元で3GBまでが1年間実質無料に 若年層向けキャンペーン展開。 楽天モバイルが2月14日、若年層に受けた「春の応援」キャンペーンを発表した。いずれも同日から提供する。

ITmedia Mobile
サービス利用で未公開株を取得できる「カブアンド」 モバイルは月3GBで月額1078円から

ITmedia Mobile

Play Episode Listen Later Nov 20, 2024 0:18


サービス利用で未公開株を取得できる「カブアンド」 モバイルは月3GBで月額1078円から。 前澤友作氏が代表を務めるカブ&ピースは、11月20日に生活インフラ関連サービス「カブアンド」を提供開始した。

Kaplan and Crew
The Padres & D'Backs are coming for the Dodgers | Noah Lyles finishes 3rd, has COVID

Kaplan and Crew

Play Episode Listen Later Aug 8, 2024 101:53


The Padres and D'Backs are the hottest teams in baseball and they're both now just 3GB from the Dodgers. NFL preseason kicks off tonight. Noah Lyles goes for the double. Team USA vs. Serbia coming up. Mark Loretta joins the show. Support the show: http://Kaplanandcrew.comSee omnystudio.com/listener for privacy information.

Scott and BR - Interviews
The Padres & D'Backs are coming for the Dodgers | Noah Lyles finishes 3rd, has COVID

Scott and BR - Interviews

Play Episode Listen Later Aug 8, 2024 101:53


The Padres and D'Backs are the hottest teams in baseball and they're both now just 3GB from the Dodgers. NFL preseason kicks off tonight. Noah Lyles goes for the double. Team USA vs. Serbia coming up. Mark Loretta joins the show. Support the show: http://Kaplanandcrew.comSee omnystudio.com/listener for privacy information.

Darren Smith / Scott & BR Crossover
The Padres & D'Backs are coming for the Dodgers | Noah Lyles finishes 3rd, has COVID

Darren Smith / Scott & BR Crossover

Play Episode Listen Later Aug 8, 2024 101:53


The Padres and D'Backs are the hottest teams in baseball and they're both now just 3GB from the Dodgers. NFL preseason kicks off tonight. Noah Lyles goes for the double. Team USA vs. Serbia coming up. Mark Loretta joins the show. Support the show: http://Kaplanandcrew.comSee omnystudio.com/listener for privacy information.

ITmedia Mobile
povo、「からあげクン」のセットトッピング提供 0.3GBが実質無料に

ITmedia Mobile

Play Episode Listen Later Jun 6, 2024 0:24


povo、「からあげクン」のセットトッピング提供 0.3GBが実質無料に。 KDDIと沖縄セルラーは、6月30日までローソンの「からあげクン(248円相当)」とpovoの「0.3GB(24時間)」がセットになったトッピングを提供する。価格は1回248円(税込み、以下同)。

FNN.jpプライムオンライン
楽天モバイル 子ども向け新プラン 12歳以下実質月額480円

FNN.jpプライムオンライン

Play Episode Listen Later May 2, 2024 0:47


「楽天モバイル 子ども向け新プラン 12歳以下実質月額480円」 楽天モバイルが、子ども向けの月額480円プランで、家族での契約数拡大を狙う。楽天モバイルが2日から導入する「最強こどもプログラム」は、「Rakuten最強プラン」を利用する12歳以下が対象。1カ月のデータ使用量が3GB以下の場合、家族割による割引や楽天ポイントの還元で月額が実質480円(税別)になる。3月に導入した“学割プラン”で22歳以下の新規申込数が約2倍になったということで、楽天モバイルは今回の新プランでスマホデビュー需要を取り込み、家族での契約につなげたい考え。

ITmedia Mobile
楽天モバイル、12歳以下に最大440ポイント還元の「最強こどもプログラム」提供 3GB以下だと実質528円に

ITmedia Mobile

Play Episode Listen Later May 2, 2024 0:21


楽天モバイル、12歳以下に最大440ポイント還元の「最強こどもプログラム」提供 3GB以下だと実質528円に。 楽天モバイルが5月2日、12歳以下のユーザーを対象とした新たなプログラム「最強こどもプログラム」を発表。同日から提供する。

Hírstart Robot Podcast
100 millió Celsius-fokos poklot hoztak létre a Földön

Hírstart Robot Podcast

Play Episode Listen Later Apr 4, 2024 4:28


100 millió Celsius-fokos poklot hoztak létre a Földön Player     2024-04-04 04:54:04     Infotech Energia Egy lépéssel közelebb kerültünk ahhoz, hogy egyszer majd tiszta energiával tudjuk ellátni a világot. Bemutatkozik a Samsung Extra széles alulfagyasztós hűtőszekrénye Digital Hungary     2024-04-04 08:21:00     Infotech Párizs Samsung Hűtőgép A Samsung bejelentette az új Extra széles alulfagyasztós hűtőszekrényének európai bevezetését. A hűtőszekrényt a párizsi „Welcome to Bespoke AI” (Elérkezett a Bespoke AI korszaka) nemzetközi rendezvényen mutatták be 2024. április 3-án a Les Pavillon des Étangs-ban. Érkezhet a Nothing Ear (3) Android Portál     2024-04-04 09:43:03     Mobiltech A múlt héten a Nothing egy teaserrel utalt az Ear (3) TWS fülhallgatók hamarosan történő megjelenésére, ma pedig egy újabb teasert kaptunk, amelyhez egy bemutatási dátum is kapcsolódik. Bármi is történik, az április 18-án fog megtörténni. Az Ear (3) még mindig a legvalószínűbb termék, ami ezen a bemutatón megjelenhet, úgyhogy ne fűzzünk nagy remény A mai napig hordozzuk egy ősi járvány nyomait 24.hu     2024-04-04 13:38:31     Tudomány Járvány Az ERV-Fc nincs hatással a mai ember egészségére: genetikai anyagának egy töredéke azonban még mindig bennünk szunnyad. Héjától a Gripenig – Magyar harcjárművek a Ii. világháborúban és ma Tudás.hu     2024-04-04 05:34:55     Infotech Ukrajna háború Trianon Gripen Az orosz-ukrán háború árnyékában meglódult a hazai fegyverkezés. De a magyar hadsereg a II. világháború előtt is komoly haderőfejlesztésbe kezdett. Azonban a trianoni béke korlátozásai és a gazdasági helyzet miatt a fegyverkezést későn kezdte el, és a beszerzett eszközök általában nem a legmodernebb külföldi fegyverek hazai módosításaként születtek Demenciára figyel az okostelefon ITBusiness     2024-04-04 05:09:05     Mobiltech Telefon Okostelefon Demencia Új eszközzel deríthető fel akár már igen korai szakaszában a fejlett társadalmak rettegett betegsége, a demencia. A legfrissebb becslések szerint 2050-re már Magyarországon is 300 ezer embert érinthet a betegség – így ha az okostelefon is segít a harcban, az komoly segítséget jelenthet. Az okostelefonokon futtatható alkalmazás segíthet felderíteni Kozmikusmüon-detektálás: új kutatócsoport a Wigner FK-ban Mínuszos     2024-04-04 06:33:38     Tudomány Vulkán Kozmikusmüon-detektáláshoz kapcsolódó földtudományi és geotechnikai alkalmazások fejlesztésén dolgozó új kutatócsoportot alapított Oláh László a Wigner Fizikai Kutatóközpontban (Wigner FK). Oláh Nagyenergiás Geofizika Kutatócsoportjának kutatásai többek között a vulkáni és légköri veszélyek értékelése, a bányák feltárása, az épített infrastruktúrák Megújítja mobil tarifacsomagjait a Vodafone PCW     2024-04-04 14:33:01     Mobiltech Vodafone 5G Mobilinternet Minden szinten elérhető 5G, legalább 3GB mobilnet, garantált készülékkedvezmény - áprilistól átalakulnak a Vodafone ajánlatai. Nem divat már a telefonálás, ezt teszik a fiatalok First Class     2024-04-04 07:39:47     Mobiltech Telefon Nem kopott ki teljesen a hanghívás a fiatalok kommunikációs szokásai közül, ám egyre kevésbé hagyatkoznak már a hagyományos telefonhálózatra. Egy lépéssel közelebb hozhatta a Microsoft a gyakorlatban is használható kvantumszámítógépet Telex     2024-04-04 06:06:52     Infotech Microsoft A cég állítása szerint a saját módszerükkel 800-szor kevesebb hibával működik a rendszer, amellyel 14 ezer kísérletet végeztek el hiba nélkül. Európában kezdik tesztelni Elon Musk álmát, amely új korszakot indíthat el a közlekedésben NRGreport     2024-04-04 05:35:09     Cégvilág Közlekedés Hollandia Elon Musk Egy 420 méter hosszú, fehér acélcső, amely egy vasútvonal mellett fut Hollandia északi részén, új korszakot indíthat el a személy- és teherszállításban. Míg a kritikusok azt állítják, hogy ez csak újabb példa arra, hogy a politikai döntéshozók illúziókat kergetnek, a támogatók úgy vélik, hogy a hiperhurok (hyperloop) a jövő utazásának egyik alapköv A mesterséges intelligencia, ami civileket ölethetett Gázában - mi az igazság a Lavenderrel kapcsolatban? ATV     2024-04-04 05:13:00     Külföld háború Izrael Palesztina Mesterséges intelligencia Gázai övezet Titkosszolgálat Izraeli hírszerzési források felfedik a Lavender rendszer használatát a gázai háborúban, és azt állítják, hogy engedélyt adtak civilek megölésére az alacsony rangú harcosok üldözése során. Az IDF szerint az információs rendszerek "csupán eszközök az elemzők számára a célpontok azonosítása során". Robot, a szamóca teljesen autonóm betakarítására GépMax     2024-04-04 08:11:00     Mezőgazdaság Cégvilág Robot Az új, autonóm szamócabetakarító robot karjának fogó ujjai az emberi kézhez hasonlóan körbefogják az epret. A további adásainkat keresd a podcast.hirstart.hu oldalunkon.

Hírstart Robot Podcast - Tech hírek
100 millió Celsius-fokos poklot hoztak létre a Földön

Hírstart Robot Podcast - Tech hírek

Play Episode Listen Later Apr 4, 2024 4:28


100 millió Celsius-fokos poklot hoztak létre a Földön Player     2024-04-04 04:54:04     Infotech Energia Egy lépéssel közelebb kerültünk ahhoz, hogy egyszer majd tiszta energiával tudjuk ellátni a világot. Bemutatkozik a Samsung Extra széles alulfagyasztós hűtőszekrénye Digital Hungary     2024-04-04 08:21:00     Infotech Párizs Samsung Hűtőgép A Samsung bejelentette az új Extra széles alulfagyasztós hűtőszekrényének európai bevezetését. A hűtőszekrényt a párizsi „Welcome to Bespoke AI” (Elérkezett a Bespoke AI korszaka) nemzetközi rendezvényen mutatták be 2024. április 3-án a Les Pavillon des Étangs-ban. Érkezhet a Nothing Ear (3) Android Portál     2024-04-04 09:43:03     Mobiltech A múlt héten a Nothing egy teaserrel utalt az Ear (3) TWS fülhallgatók hamarosan történő megjelenésére, ma pedig egy újabb teasert kaptunk, amelyhez egy bemutatási dátum is kapcsolódik. Bármi is történik, az április 18-án fog megtörténni. Az Ear (3) még mindig a legvalószínűbb termék, ami ezen a bemutatón megjelenhet, úgyhogy ne fűzzünk nagy remény A mai napig hordozzuk egy ősi járvány nyomait 24.hu     2024-04-04 13:38:31     Tudomány Járvány Az ERV-Fc nincs hatással a mai ember egészségére: genetikai anyagának egy töredéke azonban még mindig bennünk szunnyad. Héjától a Gripenig – Magyar harcjárművek a Ii. világháborúban és ma Tudás.hu     2024-04-04 05:34:55     Infotech Ukrajna háború Trianon Gripen Az orosz-ukrán háború árnyékában meglódult a hazai fegyverkezés. De a magyar hadsereg a II. világháború előtt is komoly haderőfejlesztésbe kezdett. Azonban a trianoni béke korlátozásai és a gazdasági helyzet miatt a fegyverkezést későn kezdte el, és a beszerzett eszközök általában nem a legmodernebb külföldi fegyverek hazai módosításaként születtek Demenciára figyel az okostelefon ITBusiness     2024-04-04 05:09:05     Mobiltech Telefon Okostelefon Demencia Új eszközzel deríthető fel akár már igen korai szakaszában a fejlett társadalmak rettegett betegsége, a demencia. A legfrissebb becslések szerint 2050-re már Magyarországon is 300 ezer embert érinthet a betegség – így ha az okostelefon is segít a harcban, az komoly segítséget jelenthet. Az okostelefonokon futtatható alkalmazás segíthet felderíteni Kozmikusmüon-detektálás: új kutatócsoport a Wigner FK-ban Mínuszos     2024-04-04 06:33:38     Tudomány Vulkán Kozmikusmüon-detektáláshoz kapcsolódó földtudományi és geotechnikai alkalmazások fejlesztésén dolgozó új kutatócsoportot alapított Oláh László a Wigner Fizikai Kutatóközpontban (Wigner FK). Oláh Nagyenergiás Geofizika Kutatócsoportjának kutatásai többek között a vulkáni és légköri veszélyek értékelése, a bányák feltárása, az épített infrastruktúrák Megújítja mobil tarifacsomagjait a Vodafone PCW     2024-04-04 14:33:01     Mobiltech Vodafone 5G Mobilinternet Minden szinten elérhető 5G, legalább 3GB mobilnet, garantált készülékkedvezmény - áprilistól átalakulnak a Vodafone ajánlatai. Nem divat már a telefonálás, ezt teszik a fiatalok First Class     2024-04-04 07:39:47     Mobiltech Telefon Nem kopott ki teljesen a hanghívás a fiatalok kommunikációs szokásai közül, ám egyre kevésbé hagyatkoznak már a hagyományos telefonhálózatra. Egy lépéssel közelebb hozhatta a Microsoft a gyakorlatban is használható kvantumszámítógépet Telex     2024-04-04 06:06:52     Infotech Microsoft A cég állítása szerint a saját módszerükkel 800-szor kevesebb hibával működik a rendszer, amellyel 14 ezer kísérletet végeztek el hiba nélkül. Európában kezdik tesztelni Elon Musk álmát, amely új korszakot indíthat el a közlekedésben NRGreport     2024-04-04 05:35:09     Cégvilág Közlekedés Hollandia Elon Musk Egy 420 méter hosszú, fehér acélcső, amely egy vasútvonal mellett fut Hollandia északi részén, új korszakot indíthat el a személy- és teherszállításban. Míg a kritikusok azt állítják, hogy ez csak újabb példa arra, hogy a politikai döntéshozók illúziókat kergetnek, a támogatók úgy vélik, hogy a hiperhurok (hyperloop) a jövő utazásának egyik alapköv A mesterséges intelligencia, ami civileket ölethetett Gázában - mi az igazság a Lavenderrel kapcsolatban? ATV     2024-04-04 05:13:00     Külföld háború Izrael Palesztina Mesterséges intelligencia Gázai övezet Titkosszolgálat Izraeli hírszerzési források felfedik a Lavender rendszer használatát a gázai háborúban, és azt állítják, hogy engedélyt adtak civilek megölésére az alacsony rangú harcosok üldözése során. Az IDF szerint az információs rendszerek "csupán eszközök az elemzők számára a célpontok azonosítása során". Robot, a szamóca teljesen autonóm betakarítására GépMax     2024-04-04 08:11:00     Mezőgazdaság Cégvilág Robot Az új, autonóm szamócabetakarító robot karjának fogó ujjai az emberi kézhez hasonlóan körbefogják az epret. A további adásainkat keresd a podcast.hirstart.hu oldalunkon.

ITmedia Mobile
povoにデータ専用プラン 330円の「データ使い放題(24時間)」と「データ追加0.3GB(365日)」

ITmedia Mobile

Play Episode Listen Later Mar 27, 2024 0:20


povoにデータ専用プラン 330円の「データ使い放題(24時間)」と「データ追加0.3GB(365日)」。 KDDIと沖縄セルラーは、3月27日にデータ通信のみ利用可能な料金プラン「povo2.0 データ専用」を提供開始した。

Pixelbits con Cerveza
Pixelbits con cerveza 204: Los mejores juegos de 2023 con Asher (de BRCDEvg) y Ezequiel (de 3GB)

Pixelbits con Cerveza

Play Episode Listen Later Dec 14, 2023 141:13


En este episodio de Pixelbits con cerveza hablamos de los mejores juegos del año de 2023. Invitados: - Asher de BRCDEvg https://www.youtube.com/brcdevg - Ezequiel de 3GB https://www.youtube.com/@3GordosB Los juegos: - Baldur's Gate 3 - Resident Evil 4 Remake - A Space for the Unbound - Slay the Princess - Little Goody Two Shoes - Street Fighter 6 - Paranormasight: The Seven Mysteries of Honjo - The Legend of Zelda: Tears of the Kingdom - Pikmin 4 - Octopath Traveler 2 - Bayonetta Origins - Jedi Survivor - Hi Fi Rush - Super Mario Wonder - Armored Core 6 - DLC Horizon Forbidden West: Burning Shores - Laika: Aged Through Blood Todos los jueves por la noche, hacemos un talk show en el que hablamos de noticias de videojuegos y otros temas de entretenimiento y tecnología. Recuerda que nuestros streamings son: Martes, Miércoles y Jueves (9PM) http://www.pixelbits.mx​​​​ http://www.twitch.com/pixelbitsmx​​​​ Podcast: http://bit.ly/PodcastPixelbits​​​​ /// http://bit.ly/iTunesPixelbits​​​​ Discord: http://www.discord.me/pixelbits​​​​ Patreon: https://www.patreon.com/pixelbitsmx​​

TechLinked
Apple M3 Macs, AI-generated polls, Social Media hearing + more!

TechLinked

Play Episode Listen Later Nov 2, 2023 7:44


Timestamps: 0:00 pencils down! 0:05 Apple M3 Pro, Max have ray tracing + more 1:50 Microsoft's AI-generated news polls 2:56 Supreme Court hearing on social media 4:02 The Ridge Wallet 4:34 QUICK BITS 4:42 YouTube blocking ad blockers harder 5:17 EU blocks Meta from targeted advertising 5:51 Google readies devs for RISC-V, .ing domains 6:29 Windows CE loses support, 3.3GB install 6:67 'Mega Beast' electric school bus News Sources: https://lmg.gg/HU3qw --- Send in a voice message: https://podcasters.spotify.com/pod/show/techlinkedyt/message

Pixelbits con Cerveza
Pixelbits con cerveza 195: Mejores juegos de 2023 (por ahora) con Adrian de 3GB y Tierra de Brcdevg

Pixelbits con Cerveza

Play Episode Listen Later Jul 20, 2023 149:54


En este Pixelbits con cerveza hablamos con Adrian (de 3GB) y Tierra (Brcdevg) de los mejores juegos de 2023 (por ahora) Acá los mencionados: - Bayonetta Origins - Octopath Traveler 2 - The Legend of Zelda: Tears of the Kingdom - Fire Emblem Engage - Final Fantasy XVI - Resident Evil 4 Remake - Warhammer 40K: Boltgun - Street Fighter VI Los juegos que más estamos esperando para la siguiente mitad del año Starfield Super Mario Bros Wonder Baldur's Gate 3 Super Mario RPG Armored Core 6 City Skylines 2 Todos los jueves por la noche, hacemos un talk show en el que hablamos de noticias de videojuegos y otros temas de entretenimiento y tecnología. Recuerda que nuestros streamings son: Martes, Miércoles y Jueves (9PM) http://www.pixelbits.mx​​​​ http://www.twitch.com/pixelbitsmx​​​​ Podcast: http://bit.ly/PodcastPixelbits​​​​ … /// http://bit.ly/iTunesPixelbits​​​​ Discord: http://www.discord.me/pixelbits​​​​ Patreon: https://www.patreon.com/pixelbitsmx​​

The Nonlinear Library
LW - Jailbreaking GPT-4's code interpreter by nikolaisalreadytaken

The Nonlinear Library

Play Episode Listen Later Jul 13, 2023 9:39


Welcome to The Nonlinear Library, where we use Text-to-Speech software to convert the best writing from the Rationalist and EA communities into audio. This is: Jailbreaking GPT-4's code interpreter, published by nikolaisalreadytaken on July 13, 2023 on LessWrong. Disclaimer: I don't know much about cybersecurity. Much of my knowledge comes from asking GPT-3.5 and GPT-4 for advice. These are some results from around 20 hours of playing around with the code interpreter plugin in early-mid May, when most of this was written. I contacted OpenAI about these jailbreaks in mid May and they mostly seem to still be there. Thank you to Max Nadeau, Trevor Levin, aL xin, Pranav Gade, and Alexandra Bates for feedback on this post! Summary GPT-4's code interpreter plugin has been rolled out to some users. It works by running on a virtual machine that is isolated from the internet and other machines, except for the commands sent in from the API and the results sent back to the API. GPT-4 seems to follow a set of rules that are either enforced through hard access restrictions or through GPT-4 refusing to do things for the user. Here, I highlight 6 rules that GPT-4 claims to be following, but which are easily breakable, alongside some best practices in cybersecurity that have been neglected. In short: GPT-4 claims that it is only supposed to read, modify, or delete files in two designated folders ("sandbox" and "mnt"). However, it is able to read basically any file on the system (including sensitive system files), and it is able to write and delete files outside of its designated folders. This seems to reveal information that the user isn't supposed to see. There are ways to find out information about the hardware that the VM is being run on, including: Information about the way OpenAI logs data, including what libraries and IP address they assign to virtual machines. A rough estimate of the number of VMs that OpenAI can run at maximum at any moment (from the way the IP addresses are allocated). A rough idea of what storage hardware is used (from write speed), alongside some info on other hardware. There is a file in the virtual machine (in a folder labeled "internal") that users can download that details how web requests are handled. As ChatGPT would say: "By exposing your source code, you make it easier for potential attackers to analyze the code and identify security vulnerabilities. This can lead to an increased risk of exploitation if there are any flaws in your implementation." GPT-4 claims that conversations with the model do not have a memory. However, files are routinely saved between conversations with the same user. Later in this post, I present an example of two different conversations with GPT-4 where I write a file in one conversation and read the file in another conversation. GPT-4 claims that there are resource limits in place to prevent users from using too much CPU or memory. However, it is possible to write >80GB of files onto OpenAI's VM within minutes. The rough rate at which I managed to write files is 0.3GB/second. There's a maximum Python runtime of 120 seconds per process, and 25 messages every 3 hours. This can be circumvented using simple workarounds (you can increase usage by at least a factor of 2). GPT-4 claims it cannot execute system commands. However, GPT-4 can and will run (innocuous) system commands and run internet-related commands (such as "ping") despite measures put in place to prevent this. However, OpenAI seems at least partly aware of this. They seem to tell GPT-4 that it has a strict set of rules (as it reliably repeats the rules when asked), and GPT-4 seems to believe these rules in some contexts (most of the time it refuses to do things that go against the rules), but they also left a README file for those curious enough to look at the VM's files that says: You might think that all is well because OpenAI was aware that the system was not secure. I don't think the existence of this README file inv...

The Nonlinear Library: LessWrong
LW - Jailbreaking GPT-4's code interpreter by nikolaisalreadytaken

The Nonlinear Library: LessWrong

Play Episode Listen Later Jul 13, 2023 9:39


Link to original articleWelcome to The Nonlinear Library, where we use Text-to-Speech software to convert the best writing from the Rationalist and EA communities into audio. This is: Jailbreaking GPT-4's code interpreter, published by nikolaisalreadytaken on July 13, 2023 on LessWrong. Disclaimer: I don't know much about cybersecurity. Much of my knowledge comes from asking GPT-3.5 and GPT-4 for advice. These are some results from around 20 hours of playing around with the code interpreter plugin in early-mid May, when most of this was written. I contacted OpenAI about these jailbreaks in mid May and they mostly seem to still be there. Thank you to Max Nadeau, Trevor Levin, aL xin, Pranav Gade, and Alexandra Bates for feedback on this post! Summary GPT-4's code interpreter plugin has been rolled out to some users. It works by running on a virtual machine that is isolated from the internet and other machines, except for the commands sent in from the API and the results sent back to the API. GPT-4 seems to follow a set of rules that are either enforced through hard access restrictions or through GPT-4 refusing to do things for the user. Here, I highlight 6 rules that GPT-4 claims to be following, but which are easily breakable, alongside some best practices in cybersecurity that have been neglected. In short: GPT-4 claims that it is only supposed to read, modify, or delete files in two designated folders ("sandbox" and "mnt"). However, it is able to read basically any file on the system (including sensitive system files), and it is able to write and delete files outside of its designated folders. This seems to reveal information that the user isn't supposed to see. There are ways to find out information about the hardware that the VM is being run on, including: Information about the way OpenAI logs data, including what libraries and IP address they assign to virtual machines. A rough estimate of the number of VMs that OpenAI can run at maximum at any moment (from the way the IP addresses are allocated). A rough idea of what storage hardware is used (from write speed), alongside some info on other hardware. There is a file in the virtual machine (in a folder labeled "internal") that users can download that details how web requests are handled. As ChatGPT would say: "By exposing your source code, you make it easier for potential attackers to analyze the code and identify security vulnerabilities. This can lead to an increased risk of exploitation if there are any flaws in your implementation." GPT-4 claims that conversations with the model do not have a memory. However, files are routinely saved between conversations with the same user. Later in this post, I present an example of two different conversations with GPT-4 where I write a file in one conversation and read the file in another conversation. GPT-4 claims that there are resource limits in place to prevent users from using too much CPU or memory. However, it is possible to write >80GB of files onto OpenAI's VM within minutes. The rough rate at which I managed to write files is 0.3GB/second. There's a maximum Python runtime of 120 seconds per process, and 25 messages every 3 hours. This can be circumvented using simple workarounds (you can increase usage by at least a factor of 2). GPT-4 claims it cannot execute system commands. However, GPT-4 can and will run (innocuous) system commands and run internet-related commands (such as "ping") despite measures put in place to prevent this. However, OpenAI seems at least partly aware of this. They seem to tell GPT-4 that it has a strict set of rules (as it reliably repeats the rules when asked), and GPT-4 seems to believe these rules in some contexts (most of the time it refuses to do things that go against the rules), but they also left a README file for those curious enough to look at the VM's files that says: You might think that all is well because OpenAI was aware that the system was not secure. I don't think the existence of this README file inv...

The Just Baseball Show
491 | Mailbag Wednesday!

The Just Baseball Show

Play Episode Listen Later Jun 28, 2023 59:04


Peter and Jack rip open the envelopes for this week's mailbag: If the cubs maintain where they are in the NL Central right around 3GB, do they add at the deadline? In my opinion they are the most complete team in the division and the numbers suggest they have been unlucky (p.s. it pains me to admit that as a cards fan) - @dut_barrs on Twitter In your guys' years in watching baseball, who's been your favorite or the best example of someone like Bryce Elder who plays “better than the bubbles.” Someone who has bad underlying metrics but performs well regardless. - @Monday_ethan on Twitter If he stays at this pace for a few years, do you think Shohei Ohtani will be considered the greatest athlete of all time surpassing players like MJ, Bolt, Michael Phelps, Serena Williams, etc - @isaac_z14 on Instagram If you were in Chaim Bloom's position would you buy, sell or just stay put? - @joeyskehan04 on Instagram If the pirates decide to sell at the deadline is Andrew McCuthen possibly going to get traded with others like a Rich Hill and a Carlos Santana or is this going to be a farewell tour since it could be his last season - @naokibaseballnerd on Instagram Rays, Orioles, Reds, and marlins are all succeeding at high levels with low pay rolls and great development and organizational help while none of the top 7 payrolls are in the top 2 of there division. Could we see a regress towards the mean with the 300M contracts and see more of that invested in coaching and team development? Obviously sign your best players but it's not shocking that a 40 year old and 38 year old are struggling leading a rotation no matter how great they were. - @benwickizer on Instagram Who do you guys view as the sleeping giant of the MLB right now? I.e. think 2021 Atlanta Braves - @DaisiesDingos on Twitter Check out our LinkTree! Join our Fantasy League at Sorare! Use Code "JUSTBASEBALL" when signing up on BetMGM Check out Homage Apparel! Get Peter's Plays Texted to You! FOLLOW OUR TWITTER ACCOUNT! Use Code "JustBaseball" for Deposit Match on Prize Picks Check out our website: https://www.justbaseball.com/ Personal Twitters: @peterappel23, @jack_mcmullen11, @aramleighton8 Learn more about your ad choices. Visit megaphone.fm/adchoices

The Just Baseball Show
491 | Mailbag Wednesday!

The Just Baseball Show

Play Episode Listen Later Jun 28, 2023 56:04


Peter and Jack rip open the envelopes for this week's mailbag: If the cubs maintain where they are in the NL Central right around 3GB, do they add at the deadline? In my opinion they are the most complete team in the division and the numbers suggest they have been unlucky (p.s. it pains me to admit that as a cards fan) - @dut_barrs on Twitter In your guys' years in watching baseball, who's been your favorite or the best example of someone like Bryce Elder who plays “better than the bubbles.” Someone who has bad underlying metrics but performs well regardless. - @Monday_ethan on Twitter If he stays at this pace for a few years, do you think Shohei Ohtani will be considered the greatest athlete of all time surpassing players like MJ, Bolt, Michael Phelps, Serena Williams, etc - @isaac_z14 on Instagram If you were in Chaim Bloom's position would you buy, sell or just stay put? - @joeyskehan04 on Instagram If the pirates decide to sell at the deadline is Andrew McCuthen possibly going to get traded with others like a Rich Hill and a Carlos Santana or is this going to be a farewell tour since it could be his last season - @naokibaseballnerd on Instagram Rays, Orioles, Reds, and marlins are all succeeding at high levels with low pay rolls and great development and organizational help while none of the top 7 payrolls are in the top 2 of there division. Could we see a regress towards the mean with the 300M contracts and see more of that invested in coaching and team development? Obviously sign your best players but it's not shocking that a 40 year old and 38 year old are struggling leading a rotation no matter how great they were. - @benwickizer on Instagram Who do you guys view as the sleeping giant of the MLB right now? I.e. think 2021 Atlanta Braves - @DaisiesDingos on Twitter Check out our LinkTree! Join our Fantasy League at Sorare! Use Code "JUSTBASEBALL" when signing up on BetMGM Check out Homage Apparel! Get Peter's Plays Texted to You! FOLLOW OUR TWITTER ACCOUNT! Use Code "JustBaseball" for Deposit Match on Prize Picks Check out our website: https://www.justbaseball.com/ Personal Twitters: @peterappel23, @jack_mcmullen11, @aramleighton8 Our Sponsors:* Check out Factor 75 and use my code justbaseball50 for a great deal: https://www.factor75.comAdvertising Inquiries: https://redcircle.com/brandsPrivacy & Opt-Out: https://redcircle.com/privacy

Pixelbits con Cerveza
Pixelbits con cerveza 188: Análisis de Andor con Adrian de los 3GB

Pixelbits con Cerveza

Play Episode Listen Later May 5, 2023 161:08


En este Pixelbits con cerveza hablamos de la serie de TV, Andor. #4demayo Invitado: Adrian de 3GB. Noticias de videojuegos Los usuarios en discord van a cambiar Va a salir un nuevo Double Dragon Se filtró Tears of the Kingdom Juegos que salen en mayo Entrevista con Phil Spencer sobre la CMA / Redfall Le pusieron voces a Hollow Knight Los sets de LEGO de Donkey Kong salen en agosto Habrá un showcase de Xbox en Junio PlayStation está trabajando en un juego como servicio que saldrá en PS5 y PC Noticias de cine y TV El mensaje de Oda sobre el show de One Piece Ya salió Visions Ya hay nuevo tráiler de Dune Kizazi Moto se ve genial. Antología de 10 historias animadas de ciencia ficción, creadas por estudios en 6 países africanos. Sale en verano La huelga de escritores La película de Mario ya pasó mil millones de dólares en taquilla Habrá una serie animada de Vampire Survivors Lo que estamos jugando Jedi Survivor Dead Island 2 Park Beyond

DRINNIES
Secrets of Marrakesch

DRINNIES

Play Episode Listen Later May 1, 2023 53:48


Heute erwartet euch eine Reise in ferne Welten, zum Beispiel zum Bäcker nebenan. Ansonsten ist alles wie immer: Chris offenbart seine Neuinterpretation des Heimlichmanövers und es gibt ENDLICH Neuigkeiten von der Tantra-Innung: Giulia packt das gesamte Gedächtnisprotokoll der legendären ‚Das perfekte Dinner‘ Folge aus, dir es in der Mediathek nicht mehr zu sehen gibt. Lasst euch verzaubern von einer sinnlichen Yoni-Dattel, einem Koriander-Massaker und halbrohem Brot. Wohl bekomms!HIER für DRINNIES beim Deutschen Podcastpreis abstimmen: DRINNIES – Deutscher Podcast PreisDRINNIES Merch ShopInstagram ChrisInstagram Giuliafraenk – der Vorreiter für digitalen Mobilfunk, der einfach funktioniert. Schnapp dir einen Kundencode auf fraenk.de/drinnies und sicher dir +3GB bis zum 6.6.23 Hosted on Acast. See acast.com/privacy for more information.

DRINNIES
Großer Bollerwagen-Ausverkauf!

DRINNIES

Play Episode Listen Later Apr 10, 2023 36:11


Klingelingelingelingeling! Jemand da? Nein? Auch gut! Diesen Drinnie-Dienstag werden Teilchen nicht abgeholt und das Wochenende zu früh eingeläutet. Giulia eröffnet im Vorbeigehen eine Fine Dining-Drogenküche wird und Chris stößt ein lukratives nachösterliches Brainstorming an. Enchanté!DRINNIES Merch ShopInstagram ChrisInstagram Giuliafraenk – der Vorreiter für digitalen Mobilfunk, der einfach funktioniert. Schnapp dir einen Kundencode auf fraenk.de/drinnies und sicher dir +3GB bis zum 6.6.23 Hosted on Acast. See acast.com/privacy for more information.

Boston Celtics Game Day Recap
Embiid's 52PTs Drowns Celtics

Boston Celtics Game Day Recap

Play Episode Listen Later Apr 5, 2023 20:31


The Celtics fall to the 76ers 103-101 in a game with no JB and no Timelord and Embiid needed 50pts to pull it off. This is exactly why I am not worried about Philly come playoff time. Our game plan against Phill is very simple. Let Embiid cook and shut everyone else down. We held Harden to just 20pts and besides them, Tucker was the only one who had double digit pts with 11. The issue tonight wasn't the defense but the offense. With no JB, I was fully excpecting Tatum to step up and score 30+ but that was simply not the case tonight. He scored just 19pts on 7-20 from the field and 2-8 from 3 while also missing 2 of his 5 FTs. On top of his poor shooting night, his shot selection was bad in this one as well reverting back to a lot of iso ball in moments where the Celtics offense looked great. White and Brogdon were spectacular once again in this one. White was clearly the alpha tonight scoring 26pts to go alongside 7reb 4ast and 2 blks on 50/40/100 shooting splits. He also had 15 of his 26pts in the 4th quarter so stepped up when it mattered most. Brogdon also played really well adding 18pts 4reb 3ast. Outside of them, I think Grant played a solid game up until his technical giving Harden to extend the lead to 7 with 2:00 left but then he made up for it with a huge offensive foul drawn on Embiid giving the Celtics a chance to tie/win it with :02 left. Smart made a couple dumb plays but also added 17pts 4reb 4ast including a huge And 1 where he got his own missed FT that led to a huge White 3 making it 103-101. Some guys stepped up and some didn't but in a game where we played without JB and Timelord while also giving up 50pts to Embiid, only losing by 2 isn't the worst thing in the world. The Celtics are now 3GB the Bucks for the 1 seed and have a 2 game lead over Philly for the 2 seed with only 3 games left. Seeing as we own the tiebreaker with Philly, the Celtics are now pretty much locked into the 2 seed. This page is also brought to you by George Dimis at PD Properties. PD Properties Motto is - "Sell with us and pay no more than a flat 3% commission. Buy with us and we'll help you find the home of your dreams." Contact George at gwdimis@yahoo.com or at 781-913-2290. Do you love food and never want to sacrifice flavor? Dan-O's Seasoning is the official seasoning of this page and the Boston Celtics Game Day Recap. To check out the best seasoning in the world, go to https://danosseasoning.com/ref/boston… This podcast is brought to you by Hopewell Hemp Farms. Hopewell Hemp Farms is your only source for the highest quality, American grown Hemp products. If you're like me and love to be active whether that is playing in an adult softball or basketball league or your level of activity is limited to yard work, one thing is for certain. As you get older, joints start to hurt. Well I turn to Hopewell Hemp Farms Body Butter to relax those joints and their amazing tinctures to help me fall asleep. Check them out at HopewellHempFarms.com today and stock your nightstand the only way I know how. --- Support this podcast: https://podcasters.spotify.com/pod/show/guy-deplacido/support

N4TX
Your shit mobile phone guide

N4TX

Play Episode Listen Later Dec 13, 2022 47:17


Do not buy anything at 2 or 3GB ram, listen and understand and you will save money!

Soccer Down Here
Soccer Down Here 10/24: ReactionMonday on MLS, NWSL, and Playoffs, Bart Keeler

Soccer Down Here

Play Episode Listen Later Oct 24, 2022 124:01


Jarrett and Jon had a busy show this morning... it started with the call of the weekend in NWSL for "Opening Kickoff" and went everywhere else from there...Bart Keeler of the SoccerForUS pod was SUPPOSED to talk about the Women's World Cup draw, but it went off the rails...It was talk about playoffs, postseasons, and who should take over for 3GB...

Soccer Down Here
Bart Keeler on SDH 10/24: Bart Down Here on CFB, MLS, and USMNT

Soccer Down Here

Play Episode Listen Later Oct 24, 2022 37:44


Bart Keeler of the SoccerForUS pod was SUPPOSED to talk about the Women's World Cup draw, but it went off the rails...It was talk about playoffs, postseasons, and who should take over for 3GB...

Gamekings
GK Journaal over het verhaal achter de GTA 6 leak

Gamekings

Play Episode Listen Later Sep 20, 2022 24:50


Opgenomen en geupload. Een gloednieuwe editie van het GK Journaal. Iedere week bespreken we in deze rubriek het meest belangrijke nieuws en de meest pregnante geruchten van de afgelopen dagen. Met vandaag feitelijk een special. Een speciale aflevering over de GTA 6 leak. Want zoals iedereen inmiddels wel weet (anders leef je als gamer onder een steen) is Rockstar het afgelopen weekend het slachtoffer geweest van een fikse hack. Maar liefst 3 GB aan beeldmateriaal, waaronder 90 filmpjes, werden door een hacker op social media gezet. Met alle desastreuze gevolgen van dien. In deze editie van het GK Journaal gaan we chronologisch de gebeurtenissen van het afgelopen weekend na. Wat is er gebeurd, wie was er verantwoordelijk, wat wilde de hacker bereiken en wat gaan de gevolgen van de leak van GTA 6 voor Rockstar zijn? Na de hack ligt er 3GB aan GTA VI materiaal op straat De hacker plaatste de beelden afgelopen zaterdagnacht, Nederlandse tijd, op GTAForums. Na aanvankelijke scepsis was de meerderheid van de kijkers het er al snel over eens dat het hier een legit hack betrof. Het Fort Knox van de gamesindustrie, Rockstar, was echt gehackt. Gameplaybeelden van GTA 6 stonden online en gingen razendsnel viral. Het betrof een testing build van GTA VI plus broncode en assets van GTA V en 6. GTA 6 lea grootste ooit in de geschiedenis van de gamesindustrie Wie is deze hacker die verantwoordelijk lijkt te zijn voor de grootste hack in de geschiedenis van de gamesindustrie? Wat was zijn of haar doel? Betrof het een professionele aanval en hoe ging de hacker te werk? Wat wil hij of zijn met de hack bereiken? Fame? Geld? Hoe reageert Rockstar? En wat zijn de gevolgen van de hack voor het bedrijf en GFTA 6 zelf? Je vindt de antwoorden op al deze vragen in het GK Journaal van dinsdag 20 september.

Notorious Mass Effect
"GTA 6 ALL LEAKED GAMEPLAY FOOTAGE (GRAND THEFT AUTO VI)" *SPOTIFY EXCLUSIVE VIDEO VERSION*

Notorious Mass Effect

Play Episode Listen Later Sep 18, 2022 24:03


Footage of Grand Theft Auto VI, Rockstar's next entry in its open-world franchise, appears to have leaked online. PC Gamer reports that a user on the GTA Forums has posted a 3GB file full of 90 videos of GTA VI footage. It's not exactly clear how the footage was obtained, but the “teapotuberhacker” poster claims to be behind the unrelated Uber hack late last week, and says they may “leak more data soon” source: GTA 6 gameplay leaks online in 90 videos (msn.com) --- Support this podcast: https://anchor.fm/masseffect/support

Jagran HiTech: Your weekly Tech and Auto News podcast Podcast
Jagran-Hi-Tech : 3GB डेटा और अनलिमिटिड कॉलिंग वाला Jio का सबसे सस्ता प्लान

Jagran HiTech: Your weekly Tech and Auto News podcast Podcast

Play Episode Listen Later Aug 25, 2022 6:14


1. 28 दिनों तक डेली 3GB डेटा और अनलिमिटिड कॉलिंग वाला Jio का सबसे सस्ता प्लान!2. Truke का Buds Pro ANC इयरबड्स लॉन्च3. इंस्टाग्राम जल्द ही लाने वाला है टेस्टिंग कैंडिडेट चैलेंज फीचर4. जल्द ही Android TV पर आ सकता है Youtube Shorts5. Twitter Spaces क्रिएट और जॉइन कैसे करें? जानें पूरा तरीकाSee omnystudio.com/listener for privacy information.

AppsMac en 8 minutos
A8M #897 - Un iPad LTE es un Win

AppsMac en 8 minutos

Play Episode Listen Later Aug 23, 2022 17:46


Workoutdoors Power - 5,99€ Stryd - 229€ iPad como centro de todo Musica, Spotify y letras de las canciones Fotos, edición y albums Router portátil, (100gb de Pepephone) Control de bolsa portátil Edición rápida de vídeos Entretenimiento, YouTube, Netflix, plex Batería gigante iPad Tarifas de datos - Ajustes, Datos móviles GigSky 190 paises USA - 60$ 5Gb, USA - 1Gb - 10$, 3Gb - 25€, 10Gb 75$ World Plan - (125 Paises) - 5Gb 60$, No China RedteaGO España - 1Gb - 1$ USA - 1GB - 1$ - 1día. // 1GB - 31días - 4$ USA - 5Gb - 30 días - 23$ World - No tiene Truphone España, 1Gb - 30 días, 5€ España 10Gb - 30 días - 20€ Global (60 países) 1Gb - 1 día, 14€ 2 Gb, 30 días, 30€ // 5Gb, 30 días , 45€ Cambio de Tarifa de Pepephone Fibra 300Mbs 29 Gb acumulables Llamadas ilimitadas Estación de Carga Inalambrica 3 en 1 - 36€ Comenta sobre el contenido del podcast en: Canal de Telegram - Appsmac en 8 Minutos Por privado en Telegram - @patuflinx Twitter: @patuflinx Encontrarás todos los enlaces a todo lo mencionado en este capítulo en nuestra web: Appsmac.com Web de AppsMac alojada, creada y mantenida por fidelcarrera

JD Talkin Sports
JD TALKIN SPORTS #1059

JD Talkin Sports

Play Episode Listen Later Jun 30, 2022 46:01


Caden Cox @kickinitwithcaden congrats on a great season with @hockingcollege football team.  Keep breaking barriers.  #emonibates good luck @easternmichigan next season. #shoheiohtani 21 2/3 scoreless innings improved to 7-4 on the mound yesterday in @angels 4-1 win over @whitesox @yankees 56-20 and now 57 #homeruns @mlb record for month of June. #aaronjudge 29th of season. Also tied 1961 Yanks with 22 wins for most in June in franchise history and their MLB leading 24th comeback win in 5-3 win last night over @losatleticos Props to @phillies #markappel the #1 pick in 2013 made his MLB debut last night and pitched a scoreless inning in 4-1 loss to @braves who are now only 3GB of @mets in AL East. Braves 21-5 in June.  @nba free agency at 6pm tonight.  Will the @atlhawks have a big year with the acquisition of #dejountemurray from the @spurs to team with #traeyoung who still has a sour taste from the #nbaplayoffs Props to #jamesharden who turned down $47M because he wants to win a ring with the @sixers @bigten getting two new members it's being reported @usc_athletics & @ucla did not see that coming.

Press Start Daily Gaming News
Horizon Forbidden West Is Going To Take Up A Massive Chunk Of PS5 Storage Space

Press Start Daily Gaming News

Play Episode Listen Later Jan 25, 2022 3:27


The Twitter account PlayStation Game Size has noted that Horizon Forbidden West has been uploaded to the PlayStation database and it's going to take up the largest amount of space that any first-party PS5 game has yet. According to the Twitter account, the game will take up roughly 96.3GB here in Australia, which is more than 15% of your entire PS5 storage. Horizon Forbidden West is less than a month away. It releases on February 18th for PS5/PS4.See omnystudio.com/listener for privacy information.

Appleるんるん
Appleるんるん_20211205

Appleるんるん

Play Episode Listen Later Dec 4, 2021


exFATとHDDを"どぅーん"する国王には気をつけろ マタギさんるんるん BJは海の民 熊本県名の由来 cf: 九州観光の情報サイト | 九観どっとねっと | 誇り 熊本県 PC関連るんるん 廉価8TB HDDの新たな選択肢「WD Blue WD80EAZZ」が登場、相場全体ではNAS用などの大容量品に値下がりの動き - AKIBA PC Hotline! WD、20TB HDDをサンプル出荷。9枚プラッタで「OptiNAND」搭載 - PC Watch Seagate、最大容量20TBのNAS/エンタープライズ向けHDD 2機種 - PC Watch Windows 11 初期設定でロカールアカウントが作成できない対処法-パソブル 『デッドバイデイライト』本日より無料配信開始。PC持ってなくてもとりあえず購入すべし | AppBank エンタープライズ版およびグループ版のストレージを 1 TB にアップグレード 音楽機器のズームが米Zoomを提訴 商標権侵害で日本代理店に続き - ITmedia NEWS Appleるんるん iPad(第10世代)が10.5インチディスプレイを搭載し、ホームボタン廃止? - iPhone Mania 2023年モデルのMacBook Airには「M3」を搭載か〜40コア? - iPhone Mania BJるんるん 「この時間だけデータ使い放題」が可能に、110円から ソフトバンクのデータ専用3GBプランで - ITmedia NEWS データ通信専用3GBプラン | スマートフォン・携帯電話 | ソフトバンク Macbook Pro到着 感想は『M1のコスパが良い・ノッチがうざい・ファンクションキーが違う・熱くない・厚い・65点・結局俺ってMagSafe使ってないんだ』 一部の16インチMacBook Proで正常にMagSafe充電できない不具合 - iPhone Mania exFATには気をつけろ SynologyのNASのHDDを6TBから8TBに変えました『Synology凄ぇ』 【告知】 YouTubeチャンネル登録お願いします BJ: くりらじチャンネル BJ: サイクリングch タロケン: タロケン鉄道 タロケン: タロケンIT タロケン: タロケン裏 タロケン: 鉄道ライブカメラ静岡 Shinkansen Live Camera 鐵尾: 鐵尾の動画 - YouTube audiobook有料番組登録をお願いします ヴォイニッチの科学書 | audiobook.jp 新型コロナウィルス感染症(COVID-19)最新情報 | audiobook.jp

RNIB Connect
986: New Version of Fully Accessible Smart Device Real Sam Pocket Launches This November

RNIB Connect

Play Episode Listen Later Oct 22, 2021 7:19


A new version of the fantastic smart device for blind and partially sighted people, Real Sam Pocket, which neatly fits into your pocket and is completely controlled by your voice will be launching this November. RNIB Connect Radio's Toby Davey caught up with Louise Humphrys from Real Sam Pocket to find out more about the new version of Real Sam Pocket.  Louise began by telling Toby that the new version of Real Sam Pocket will be based on the new high tech version of the Samsung X Cover 5S phone, a faster phone with better battery life and a camera that will provide sharper pictures through the magnifier app in Real Sam Pocket. Louise also shared with Toby some of the great feedback they receive  from blind and partially sighted users and testers of Real Sam Pocket, as well as hinting on some new features that are coming to the device in the next few months including Spotify, a new feature for finding your Real Sam Pocket if you have lost the device around the home, and an object recognition feature too. The new versions of Real Sam Pocket that will be launching in November include a contract free version for a one off payment so that customers can insert any mobile phone SIM card of their choice into Real Sam Pocket, as well as the popular monthly O2 subscription of Real Sam Pocket starting at £26.99 per month including unlimited calls and text with 3GB of data per month. For more details about the new and existing versions of Real Sam Pocket do visit the following website - https://realsam.co.uk (Image shows RNIB logo. 'RNIB' written in black capital letters over a white background and underlined with a bold pink line, with the words 'See differently' underneath)

Jagran HiTech: Your weekly Tech and Auto News podcast Podcast
Jagran-Hi-Tech : BSNL ने 3 शानदार प्लान किए लॉन्च, 100 रुपये से कम में 3GB डेटा

Jagran HiTech: Your weekly Tech and Auto News podcast Podcast

Play Episode Listen Later Jul 8, 2021 5:58


Jagran-Hi-Tech : BSNL ने 3 शानदार प्लान किए लॉन्च, 100 रुपये से कम में 3GB डेटा दुनिया का पहला 3D Printed School बना 50 से ज्यादा अनचाहे कॉल और SMS करने पर लगेगा 10 हजार रुपए तक का जुर्माना Daiwa ने लॉन्च किया 4K स्मार्ट टीवी 10000 रुपये से कम कीमत में Realme लॉन्च करेगी 5G स्मार्टफोन Boat Watch Xtend स्मार्टवॉच हुई लॉन्च Phone खो जाने पर वापस पाएं सारे Contact Numbers See omnystudio.com/listener for privacy information.

Pixelbits con Cerveza
Lo que más nos gustó y lo que no de #E32021 con 3GB

Pixelbits con Cerveza

Play Episode Listen Later Jun 21, 2021 139:15


Adrián, Eze y Rafita, de 3GB nos acompañan para platicar de lo mejor y lo peor de esta edición de E3. Visita a 3GB: https://www.youtube.com/3gordosb Todos los miércoles por la noche, hacemos un talk show en el que hablamos de noticias de videojuegos y otros temas de entretenimiento y tecnología. Recuerda que nuestros streamings son: Miércoles y Jueves (9PM) http://www.pixelbits.mx​​​​ http://www.twitch.com/pixelbitsmx​​​​ Podcast: http://bit.ly/PodcastPixelbits​​​​ … /// http://bit.ly/iTunesPixelbits​​​​ Discord: http://www.discord.me/pixelbits​​​​ Patreon: https://www.patreon.com/pixelbitsmx​​ Visita nuestra página: www.pixelbits.mx Encuéntranos en Twitter: @catpow3r y @icep4ck =) Síguenos en Twitch.tv/pixelbitsmx

Pamela Cerdeira
Publican llaves para quitar el ransomware en víctimas, incluida la Lotería Nacional

Pamela Cerdeira

Play Episode Listen Later Jun 12, 2021 9:17


Para MVS Noticias, Pamela Cerdeira entrevistó a Ivonne Muñoz, abogada especialista en ciberseguridad, sobre la filtración de 3GB de información de la Lotería Nacional. See omnystudio.com/listener for privacy information.

Double Tap Canada
Episode 183: Using Windows on Mac & iPad, Facebook Audio & The Diaper Experiment

Double Tap Canada

Play Episode Listen Later Apr 30, 2021 52:28


Marc returns to a slightly chaotic Double Tap Canada this week as no one is quite sure how long the show should be. A quick call to the boss should clear things up. What could possibly go wrong… After a quick discussion about Steven's new watercooler, Marc's refurbished iPhones and testing if Facebook is listening to our diaper conversations, it's on to the first tech story of the week, Amazon's new line of Fire tablets. Starting with the Fire Tablet 10 - which features a more powerful 8-core processor, a brighter 10-inch HD display & 3GB of RAM which is a definite improvement over previous models - there is also the Fire Tablet 10 Plus, which ups the RAM to 4GB and includes wireless charging. Amazon is also offering a productivity bundle, which includes the Fire Plus tablet along with an attachable keyboard and 1-year subscription to Office 365. Everyone agrees that, for the price, these are great tablets. So why is it Shaun has two that he never uses? Also new this week is a new range of laptops from Samsung. The Galaxy Book range feature a choice of Intel CPU's, full-sized keyboards, both wi-fi and mobile connectivity, and the Galaxy Book 360 has a versatile display allowing you to use the laptop like a tablet, including touchscreen and S-Pen support. Speakinging of laptops, Steven tells us why he's replaced his new M1 MacBook Pro with the M1 MacBook Air. Spoiler alert: it's all about the Touch bar. In software and services news, Steven has been trying out the recently-updated Microsoft Remote Desktop Client software, which allows him to remotely control his Windows computers from his M1 Macs. All the audio from the remote computer can be streamed back to the computer you are using, meaning that it's totally accessible for screen reader users. Steven is impressed, but can he get it to work on an iPad? Finally, it's on to Facebook Audio. With yet another platform jumping onto the Club House bandwagon, is there any reason to get excited by Facebook's offering? Shaun thinks so. Also, Spotify has announced that they are going to be offering a pay to subscribe podcast service similar to Apple's recent announcement. Does this signal a complete change to the way we listen to podcasts and are people really prepared to pay?

The Daily Crunch – Spoken Edition
Amazon announces new Fire tablets and kids editions

The Daily Crunch – Spoken Edition

Play Episode Listen Later Apr 28, 2021 2:52


There's a bunch of tablet news coming from Amazon this morning. Leading the way is the release of two new 10-inch devices: the Fire HD 10 and Fire HD 10 Plus. The former features a 1080p display with a bump in brightness, an unnamed eight-core processor and 3GB of RAM — a 50% jump over […]

タイラデン
タイラデン102「UQモバイル」

タイラデン

Play Episode Listen Later Mar 25, 2021 18:37


月3GBで3280円/キャリア何使ってる??/来月から月15GBの新世界/podcastを聴こう/オフトピックと傘が無い/楽天モバイルは凄い

Triunfa con tu blog | Vive de tu pasión
95: Mi día a día como Blogger Profesional

Triunfa con tu blog | Vive de tu pasión

Play Episode Listen Later Jun 1, 2020 20:29


Rutinas - Hábitos. Me despierto sin despertador. 8-11 am. Miro el móvil en la cama, respondo emails, saco ideas para nuevos episodios, vídeos, posts. Entre 30 minutos y 2h al día Puedo sacar nuevas tareas para mi asistente virtual que escribe en otro blog, comparte en redes, edita, crea vídeos... Los añado a los Excel de Google. Hago la cama Medito 5 min. Pongo lavadora, ordeno, limpio... Grabo tutoriales para cursos posts o redes sociales, escribo o actualizo posts (o mi libro), grabo podcasts (a veces en el coche), optimizo mi blog o triunfacontublog.com (esto puedo hacerlo por la noche también según me apetezca o surja) Entre 2h y 4h al día Mientras voy haciendo abdominales, flexiones, lumbares y pesas de forma intensiva. Curso de guitarra con laescuelademusica.net Entre 5 minutos y 20 al día. Curso mecanografía. Unos 5 minutos al día. Algunos días cambio la mañana por surf, kitesurf, golf, playa. En verano más. No suelo desayunar últimamente porque ceno tarde. Como menos ultraprocesados. Si desayuno es tortilla. Como sobre las 15:00 Me echo siesta 30 min. sobre las 16:00 Ceno sobre las 23:00 Voy a clases de baile sobre las 18h hasta las 21h. 2 días a la semana tengo partido de fútbol A veces hago directos y los comparto en redes y creo la imagen con canva.com Una vez a la semana hago la compra. Voy intercalando mucho las cosas durante la mañana. Algunas mañanas voy a correr. Suelo comer muy rápido y casi no cocino. Todo en el calendario de mi móvil que voy haciendo cada día aunque se mis tareas importantes (escribir libro, optimizar ventas y hago pruebas, envío emails) Reviso evolución Bitcoins Cuando conduzco escucho podcasts Resuelvo problemas del día a día. Episodios de podcast duplicados, repondo emails de dudas y los añado a podcast. Me acuesto sobre las 3 am. Veo una serie desde las 12, escucho podcasts, o trabajo escribo posts, creo vídeos... Antes de dormir leo unos 5 minutos con mi kindle paperwhite. De vez en cuando viaje para master de emprendedores o a Madrid. 1 mes al año viaje más grande. EEUU, Vietnam, Mallorca 4 meses. Sólo con móvil. Congreso de bachata algún fin de semana. Desde jueves por la noche salgo a bailar y puedo llegar a la 1 am o 6 am. Productividad. Algunos posts me llevan 10h o 20h entre actualizaciones. Vivo en Conil. Cómo he llegado a esto? Parándome a pensar cada cierto tiempo qué estaba haciendo. Uso Internet en el móvil. Engorroso. Estoy intentando tener un duplicado de tarjeta. Tengo 30 Gb. Si tengo que ampliar los últimos días con Digi lo hago. 3Gb por 5€. Minimalismo en mi casa. Intento que no haya nada encima de armarios o mesas.

Pixeles Rotos
ENTREVISTA RAFA (3 GORDOS BASTARDOS) - Pixeles Rotos

Pixeles Rotos

Play Episode Listen Later Dec 10, 2018 87:21


Entrevistamos a una tercera parte de los 3GB el ASOMBROSO Rafa! Nos cuenta sobre sus experiencias videojugadoras y sobre su nueva trabajo, así como sobre la vida y pasatiempos! No olvides apoyarme en Patreon! Este vídeo es posible gracias a sus aportes!

BSD Now
225: The one true OS

BSD Now

Play Episode Listen Later Dec 20, 2017 107:06


TrueOS stable 17.12 is out, we have an OpenBSD workstation guide for you, learnings from the PDP-11, FreeBSD 2017 Releng recap and Duo SSH. This episode was brought to you by Headlines TrueOS stable release 17.12 (https://www.trueos.org/blog/trueos-17-12-release/) We are pleased to announce a new release of the 6-month STABLE version of TrueOS! This release cycle focused on lots of cleanup and stabilization of the distinguishing features of TrueOS: OpenRC, boot speed, removable-device management, SysAdm API integrations, Lumina improvements, and more. We have also been working quite a bit on the server offering of TrueOS, and are pleased to provide new text-based server images with support for Virtualization systems such as bhyve! This allows for simple server deployments which also take advantage of the TrueOS improvements to FreeBSD such as: Sane service management and status reporting with OpenRC Reliable, non-interactive system update mechanism with fail-safe boot environment support. Graphical management of remote TrueOS servers through SysAdm (also provides a reliable API for administrating systems remotely). LibreSSL for all base SSL support. Base system managed via packages (allows for additional fine-tuning). Base system is smaller due to the removal of the old GCC version in base. Any compiler and/or version may be installed and used via packages as desired. Support for newer graphics drivers and chipsets (graphics, networking, wifi, and more) TrueOS Version 17.12 (2017, December) is now available for download from the TrueOS website. Both the STABLE and UNSTABLE package repositories have also been updated in-sync with each other, so current users only need to follow the prompts about updating their system to run the new release. We are also pleased to announce the availability of TrueOS Sponsorships! If you would like to help contribute to the project financially we now have the ability to accept both one-time donations as well as recurring monthly donations which wil help us advocate for TrueOS around the world. Thank you all for using and supporting TrueOS! Notable Changes: Over 1100 OpenRC services have been created for 3rd-party packages. This should ensure the functionality of nearly all available 3rd-party packages that install/use their own services. The OpenRC services for FreeBSD itself have been overhauled, resulting in significantly shorter boot times. Separate install images for desktops and servers (server image uses a text/console installer) Bhyve support for TrueOS Server Install FreeBSD base is synced with 12.0-CURRENT as of December 4th, 2017 (Github commit: 209d01f) FreeBSD ports tree is synced as of November 30th (pre-FLAVOR changes) Lumina Desktop has been updated/developed from 1.3.0 to 1.4.1 PCDM now supports multiple simultaneous graphical sessions Removable devices are now managed through the “automounter” service. Devices are “announced” as available to the system via *.desktop shortcuts in /media. These shortcuts also contain a variety of optional “Actions” that may be performed on the device. Devices are only mounted while they are being used (such as when browsing via the command line or a file manager). Devices are automatically unmounted as soon as they stop being accessed. Integrated support for all major filesystems (UFS, EXT, FAT, NTFS, ExFAT, etc..) NOTE: The Lumina desktop is the only one which supports this functionality at the present time. The TrueOS update system has moved to an “active” update backend. This means that the user will need to actually start the update process by clicking the “Update Now” button in SysAdm, Lumina, or PCDM (as well as the command-line option). The staging of the update files is still performed automatically by default but this (and many other options) can be easily changed in the “Update Manager” settings as desired. Known Errata: [VirtualBox] Running FreeBSD within a VirtualBox VM is known to occasionally receive non-existent mouse clicks – particularly when using a scroll wheel or two-finger scroll. Quick Links: TrueOS Forums (https://discourse.trueos.org/) TrueOS Bugs (https://github.com/trueos/trueos-core/issues) TrueOS Handbook (https://www.trueos.org/handbook/trueos.html) TrueOS Community Chat on Telegram (https://t.me/TrueOSCommunity) *** OpenBSD Workstation Guide (https://begriffs.com/posts/2017-05-17-linux-workstation-guide.html) Design Goals User actions should complete instantaneously. While I understand if compiling code and rendering videos takes time, opening programs and moving windows should have no observable delay. The system should use minimalist tools. Corollary: cache data offline when possible. Everything from OpenStreetMaps to StackExchange can be stored locally. No reason to repeatedly hit the internet to query them. This also improves privacy because the initial download is indiscriminate and doesn't reveal personal queries or patterns of computer activity. No idling program should use a perceptible amount of CPU. Why does CalendarAgent on my Macbook sometimes use 150% CPU for fifteen minutes? Who knows. Why are background ChromeHelpers chugging along at upper-single-digit CPU? I didn't realize that holding a rendered DOM could be so challenging. Avoid interpreted languages, web-based desktop apps, and JavaScript garbage. There, I said it. Take your Electron apps with you to /dev/null! Stability. Old fashioned programs on a conservative OS on quality mainstream hardware. There are enough challenges to tackle without a bleeding edge system being one of them. Delegate to quality hardware components. Why use a janky ncurses software audio mixer when you can use…an actual audio mixer? Hardware privacy. No cameras or microphones that I can't physically disconnect. Also real hardware protection for cryptographic keys. Software privacy. Commercial software and operating systems have gotten so terrible about this. I even catch Mac command line tools trying to call Google Analytics. Sorry homebrew, your cute emojis don't make up for the surveillance. The Hardware Core To get the best hardware for the money I'm opting for a desktop computer. Haven't had one since the early 2000s and it feels anachronistic, but it will outperform a laptop of similar cost. After much searching, I found the HP Z240 Tower Workstation. It's no-nonsense and supports exactly the customizations I was looking for: No operating system pre-loaded (Cut out the “Windows tax”) Intel Xeon E3-1270 v6 processor (Supports ECC ram) 16 GB (2x8 GB) DDR4-2400 ECC Unbuffered memory (2400Mhz is the full memory clock speed supported by the Xeon) 256 GB HP Z Turbo Drive G2 PCIe SSD (Uses NVMe rather than SATA for faster throughput, supported by nvme(4)) No graphics card (We'll add our own) Intel® Ethernet I210-T1 PCIe (Supported by em(4)) A modest discrete video card will enable 2D Glamor acceleration on X11. The Radeon HD 6450 (sold separately) is fanless and listed as supported by radeon(4). Why build a solid computer and not protect it? Externally, the APC BR1300G UPS will protect the system from power surges and abrupt shutdowns. Peripherals The Matias Ergo Pro uses mechanical switches for that old fashioned clicky sound. It also includes dedicated buttons along the side for copying and pasting. Why is that cool? Well, it improves secondary selection, a technique that Sun computers used but time forgot. Since we're talking about a home office workstation, you may want a printer. The higher quality printers speak PostScript and PDF natively. Unix machines connect to them on TCP port 9100 and send PostScript commands directly. (You can print via telnet if you know the commands!) The Brother HL-L5100DN is a duplex LaserJet which allows that “raw” TCP printing. Audio/Video I know a lot of people enjoy surrounding themselves with a wall of monitors like they're in the heart of NASA Mission Control, but I find multi-monitor setups slightly disorienting. It introduces an extra bit of cognitive overhead to determine which monitor is for what exactly. That's why I'd go with a modest, crisp Dell UltraSharp 24" U2417H. It's 1080p and yeah there are 4k monitors nowadays, but text and icons are small enough as it is for me! If I ever considered a second monitor it would be e-ink for comfortably reading electronic copies of books or long articles. The price is currently too high to justify the purchase, but the most promising monitor seems to be the Dasung Paperlike. In the other direction, video input, it's more flexible to use a general-purpose HDMI capture box like the Rongyuxuan than settle on a particular webcam. This allows hooking up a real camera, or any other video device. Although the motherboard for this system has built-in audio, we should use a card with better OpenBSD support. The WBTUO PCIe card uses a C-Media CMI8768 chipset, handled by cmpci(4). The card provides S/PDIFF in and out ports if you ever want to use an external DAC or ADC. The way to connect it with other things is with a dedicated hardware mixer. The Behringer Xenyx 802 has all the connections needed, and the ability to route audio to and from the computer and a variety of devices at once. The mixer may seem an odd peripheral, but I want to mix the computer with an old fashioned CD player, ham radio gear, and amplifier so this unifies the audio setup. When doing remote pair programming or video team meetings it's nice to have a quality microphone. The best ones for this kind of work are directional, with a cardioid reception pattern. The MXL 770 condenser mic is perfect, and uses a powered XLR connection supplied by the mixer. Backups We're going dead simple and old-school, back to tapes. There are a set of tape standards called LTO-n. As n increases the tape capacity gets bigger, but the tape drive gets more expensive. In my opinion the best balance these days for the home user is LTO-3. You can usually find an HP Ultrium 960 LTO-3 on eBay for 150 dollars. The cartridges hold 800GB and are about 15 dollars apiece. Hard drives keep coming down in price, but these tapes are very cheap and simpler than keeping a bunch of disk drives. Also tape has proven longevity, and good recoverability. To use old fashioned tech like this you need a SCSI host bus adapter like the Adaptec 29320LPE, supported by ahd(4). Cryptography You don't want to generate and store secret keys on a general purpose network attached computer. The attack surface is a mile wide. Generating or manipulating “offline” secret keys needs to happen on a separate computer with no network access. Little boards like the Raspberry Pi would be good except they use ARM processors (incompatible with Tails OS) and have wifi. The JaguarBoard is a small x86 machine with no wireless capability. Just switch the keyboard and monitor over to this machine for your “cleanroom.” jaguar board: Generating keys requires entropy. The Linux kernel on Tails samples system properties to generate randomness, but why not help it out with a dedicated true random number generator (TRNG)? Bit Babbler supplies pure randomness at a high bitrate through USB. (OneRNG works better on the OpenBSD main system, via uonerng(4).) bit babbler: This little computer will save its results onto a OpenPGP Smartcard V2.1. This card provides write-only access to keys, and computes cryptographic primitives internally to sign and encrypt messages. To use it with a regular computer, hook up a Cherry ST2000 card reader. This reader has a PIN pad built in, so no keylogger on the main computer could even obtain your decryption PIN. The Software We take the beefed up hardware above and pair it with ninja-fast software written in C. Some text-based, others raw X11 graphical apps unencumbered by ties to any specific window manager. I'd advise OpenBSD for the underlying operating system, not a Linux. OpenBSD has greater internal consistency, their man pages are impeccable, and they make it a priority to prune old code to keep the system minimal. What Have We Learned from the PDP-11? (https://dave.cheney.net/2017/12/04/what-have-we-learned-from-the-pdp-11) The paper I have chosen tonight is a retrospective on a computer design. It is one of a series of papers by Gordon Bell, and various co-authors, spanning the design, growth, and eventual replacement of the companies iconic line of PDP-11 mini computers. This year represents the 60th anniversary of the founding of the company that produced the PDP-11. It is also 40 years since this paper was written, so I thought it would be entertaining to review Bell's retrospective through the lens of our own 20/20 hindsight. To set the scene for this paper, first we should talk a little about the company that produced the PDP-11, the Digital Equipment Corporation of Maynard, Massachusetts. Better known as DEC. It's also worth noting that the name PDP is an acronym for “Programmed Data Processor”, as at the time, computers had a reputation of being large, complicated, and expensive machines, and DEC's venture capitalists would not support them if they built a “computer” A computer is not solely determined by its architecture; it reflects the technological, economic, and human aspects of the environment in which it was designed and built. […] The finished computer is a product of the total design environment. “Right from the get go, Bell is letting us know that the success of any computer project is not abstractly building the best computer but building the right computer, and that takes context.” It is the nature of computer engineering to be goal-oriented, with pressure to produce deliverable products. It is therefore difficult to plan for an extensive lifetime. Because of the open nature of the PDP-11, anything which interpreted the instructions according to the processor specification, was a PDP-11, so there had been a rush within DEC, once it was clear that the PDP-11 market was heating up, to build implementations; you had different groups building fast, expensive ones and cost reduced slower ones The first weakness of minicomputers was their limited addressing capability. The biggest (and most common) mistake that can be made in a computer design is that of not providing enough address bits for memory addressing and management. A second weakness of minicomputers was their tendency not to have enough registers. This was corrected for the PDP-11 by providing eight 16-bit registers. Later, six 32-bit registers were added for floating-point arithmetic. […] More registers would increase the multiprogramming context switch time and confuse the user. “It's also interesting to note Bell's concern that additional registers would confuse the user. In the early 1970's the assumption that the machine would be programmed directly in assembly was still the prevailing mindset.” A third weakness of minicomputers was their lack of hardware stack capability. In the PDP-11, this was solved with the autoincrement/autodecrement addressing mechanism. This solution is unique to the PDP-11 and has proven to be exceptionally useful. (In fact, it has been copied by other designers.) “Nowadays it's hard to imagine hardware that doesn't have a notion of a stack, but consider that a stack isn't important if you don't need recursion.” “The design for the PDP-11 was laid down in 1969 and if we look at the programming languages of the time, FORTRAN and COBOL, neither supported recursive function calls. The function call sequence would often store the return address at a blank word at the start of the procedure making recursion impossible.” A fourth weakness, limited interrupt capability and slow context switching, was essentially solved with the device of UNIBUS interrupt vectors, which direct device interrupts. The basic mechanism is very fast, requiring only four memory cycles from the time an interrupt request is issued until the first instruction of the interrupt routine begins execution. A fifth weakness of prior minicomputers, inadequate character-handling capability, was met in the PDP-11 by providing direct byte addressing capability. “Strings and character handling were of increasing importance during the 1960's as scientific and business computing converged. The predominant character encodings at the time were 6 bit character sets which provided just enough space for upper case letters, the digits 0 to 9, space, and a few punctuation characters sufficient for printing financial reports.” “Because memory was so expensive, placing one 6 bit character into a 12 or 18 bit word was simply unacceptable so characters would be packed into words. This proved efficient for storage, but complex for operations like move, compare, and concatenate, which had to account for a character appearing in the top or bottom of the word, expending valuable words of program storage to cope.” “The problem was addressed in the PDP-11 by allowing the machine to operate on memory as both a 16-bit word, and the increasingly popular 8-bit byte. The expenditure of 2 additional bits per character was felt to be worth it for simpler string handling, and also eased the adoption of the increasingly popular 7-bit ASCII standard of which DEC were a proponent at the time. Bell concludes this point with the throw away line:” Although string instructions are not yet provided in the hardware, the common string operations (move, compare, concatenate) can be programmed with very short loops. A sixth weakness, the inability to use read-only memories, was avoided in the PDP-11. Most code written for the PDP-11 tends to be pure and reentrant without special effort by the programmer, allowing a read-only memory (ROM) to be used directly. A seventh weakness, one common to many minicomputers, was primitive I/O capabilities. A ninth weakness of minicomputers was the high cost of programming them. Many users program in assembly language, without the comfortable environment of editors, file systems, and debuggers available on bigger systems. The PDP-11 does not seem to have overcome this weakness, although it appears that more complex systems are being built successfully with the PDP-11 than with its predecessors, the PDP-8 and PDP-15. The problems faced by computer designers can usually be attributed to one of two causes: inexperience or second-systemitis Before the PDP-11, there was no UNIX. Before the PDP-11, there was no C, this is the computer that C was designed on. If you want to know why the classical C int is 16 bits wide, it's because of the PDP-11. UNIX bought us ideas such as pipes, everything is a file, and interactive computing. UNIX, which had arrived at Berkley in 1974 aboard a tape carried by Ken Thompson, would evolve into the west coast flavoured Berkley Systems Distribution. Berkeley UNIX had been ported to the VAX by the start of the 1980's and was thriving as the counter cultural alternative to DEC's own VMS operating system. Berkeley UNIX spawned a new generation of hackers who would go on to form companies like Sun micro systems, and languages like Self, which lead directly to the development of Java. UNIX was ported to a bewildering array of computer systems during the 80's and the fallout from the UNIX wars gave us the various BSD operating systems who continue to this day. The article, and the papers it is summarizing, contain a lot more than we could possibly dig into even if we dedicated the entire show to the topic *** News Roundup Two-factor authentication SSH with Duo in FreeBSD 11 (https://www.teachnix.com/2017/11/29/configuring-two-factor-authentication-on-freebsd-with-duo/) This setup uses an SSH key as the first factor of authentication. Please watch Part 1 on setting up SSH keys and how to scp it to your server. Video guide (https://www.youtube.com/watch?v=E5EuvF-iaV0) Register for a free account at Duo.com Install the Duo package on your FreeBSD server pkg install -y duo Log into the Duo site > Applications > Protect an Application > Search for Unix application > Protect this Application This will generate the keys we need to configure Duo. Edit the Duo config file using the course notes template vi /usr/local/etc/pam_duo.conf Example config [duo] ; Duo integration key ikey = Integration key goes here ; Duo secret key skey = Secret key goes here ; Duo API host host = API hostname goes here Change the permissions of the Duo config file. If the permissions are not correct then the service will not function properly. chmod 600 /usr/local/etc/pam_duo.conf Edit the SSHD config file using the course notes template vi /etc/ssh/sshd_config Example config ListenAddress 0.0.0.0 Port 22 PasswordAuthentication no UsePAM yes ChallengeResponseAuthentication yes UseDNS no PermitRootLogin yes AuthenticationMethods publickey,keyboard-interactive Edit PAM to configure SSHD for Duo using the course notes template Example config ``` # auth auth sufficient pamopie.so nowarn nofakeprompts auth requisite pamopieaccess.so nowarn allowlocal auth required /usr/local/lib/security/pamduo.so # session # session optional pamssh.so wantagent session required pam_permit.so # password # password sufficient pamkrb5.so nowarn tryfirstpass password required pamunix.so nowarn tryfirstpass ``` Restart the sshd service service sshd restart SSH into your FreeBSD server and follow the link it outputs to enroll your phone with Duo. ssh server.example.com SSH into your server again ssh server.example.com Choose your preferred method and it should log you into your server. FreeBSD 2017 Release Engineering Recap (https://www.freebsdfoundation.org/blog/2017-release-engineering-recap/) This past year was undoubtedly a rather busy and successful year for the Release Engineering Team. Throughout the year, development snapshot builds for FreeBSD-CURRENT and supported FreeBSD-STABLE branches were continually provided. In addition, work to package the base system using pkg(8) continued throughout the year and remains ongoing. The FreeBSD Release Engineering Team worked on the FreeBSD 11.1-RELEASE, with the code slush starting mid-May. The FreeBSD 11.1-RELEASE cycle stayed on schedule, with the final release build starting July 21, and the final release announcement following on July 25, building upon the stability and reliability of 11.0-RELEASE. Milestones during the 11.1-RELEASE cycle can be found on the 11.1 schedule page (https://www.freebsd.org/releases/11.1R/schedule.html). The final announcement is available here (https://www.freebsd.org/releases/11.1R/announce.html). The FreeBSD Release Engineering Team started the FreeBSD 10.4-RELEASE cycle, led by Marius Strobl. The FreeBSD 10.4-RELEASE cycle continued on schedule, with the only adjustments to the schedule being the addition of BETA4 and the removal of RC3. FreeBSD 10.4-RELEASE builds upon the stability and reliability of FreeBSD 10.3-RELEASE, and is planned to be the final release from the stable/10 branch. Milestones during the 10.4-RELEASE cycle can be found on the 10.4 schedule page (https://www.freebsd.org/releases/10.4R/schedule.html). The final announcement is available here (https://www.freebsd.org/releases/10.4R/announce.html). In addition to these releases, support for additional arm single-board computer images were added, notably Raspberry Pi 3 and Pine64. Additionally, release-related documentation effective 12.0-RELEASE and later has been moved from the base system repository to the documentation repository, making it possible to update related documentation as necessary post-release. Additionally, the FreeBSD Release Engineering article in the Project Handbook had been rewritten to outline current practices used by the Release Engineering Team. For more information on the procedures and processes the FreeBSD Release Engineering Team follows, the new article is available here and continually updated as procedures change. Finally, following the availability of FreeBSD 11.1-RELEASE, Glen Barber attended the September Developer Summit hosted at vBSDCon in Reston, VA, USA, where he gave a brief talk comprising of several points relating directly to the 11.1-RELEASE cycle. In particular, some of the points covered included what he felt went well during the release cycle, what did not go as well as it could have, and what we, as a Project, could do better to improve the release process. The slides from the talk are available in the FreeBSD Wiki. During the question and answer time following the talk, some questions asked included: Q: Should developers use the ‘Relnotes' tag in the Subversion commit template more loosely, at risk of an increase in false positives. A: When asked when the tag in the template was initially added, the answer would have been “no”, however in hindsight it is easier to sift through the false positives, than to comb through months or years of commit logs. Q: What issues are present preventing moving release-related documentation to the documentation repository? A: There were some rendering issues last time it was investigated, but it is really nothing more than taking the time to fix those issues. (Note, that since this talk, the migration of the documentation in question had moved.) Q: Does it make sense to extend the timeframe between milestone builds during a release cycle from one week to two weeks, to allow more time for testing, for example, RC1 versus RC2? A: No. It would extend the length of the release cycle with no real benefit between milestones since as we draw nearer to the end of a given release cycle, the number of changes to that code base significantly reduce. FLIMP - GIMP Exploit on FreeBSD (https://flimp.fuzzing-project.org) In 2014, when starting the Fuzzing Project (https://fuzzing-project.org/), Hanno Böck did some primitive fuzzing on GIMP and reported two bugs. They weren't fixed and were forgotten in the public bug tracker. Recently Tobias Stöckmann found one of these bugs (https://bugzilla.gnome.org/show_bug.cgi?id=739133) (CVE-2017-17785) and figured out that it's easy to exploit. What kind of bug is that? It's a classic heap buffer overflow in the FLIC parser. FLIC is a file format for animations and was introduced by Autodesk Animator. How does the exploit work? Tobias has created a detailed writeup (https://flimp.fuzzing-project.org/exploit.html). The exploit doesn't work for me! We figured out it's unreliable and the memory addresses are depending on many circumstances. The exploit ZIP comes with two variations using different memory addresses. Try both of them. We also noticed putting the files in a subdirectory sometimes made the exploit work. Anything more to tell about the GIMP? There's a wide variety of graphics formats. GIMP tries to support many of them, including many legacy formats that nobody is using any more today. While this has obvious advantages - you can access the old images you may find on a backup CD from 1995 - it comes with risks. Support for many obscure file formats means many parsers that hardly anyone ever looks at. So... what about the other parsers? The second bug (https://bugzilla.gnome.org/show_bug.cgi?id=739134) (CVE-2017-17786), which is a simple overread, was in the TGA parser. Furthermore we found buffer overreads in the XCF parser (https://bugzilla.gnome.org/show_bug.cgi?id=790783) (CVE-2017-17788), the Gimp Brush (GBR) parser (https://bugzilla.gnome.org/show_bug.cgi?id=790784) (CVE-2017-17784) and the Paint Shop Pro (PSP) parser (https://bugzilla.gnome.org/show_bug.cgi?id=790849) (CVE-2017-17789). We found another Heap buffer overflow (https://bugzilla.gnome.org/show_bug.cgi?id=790849) in the Paint Shop Pro parser (CVE-2017-17787) which is probably also exploitable. In other words: The GIMP import parsers are full of memory safety bugs. What should happen? First of all obviously all known memory safety bugs should be fixed. Furthermore we believe the way GIMP plugins work is not ideal for security testing. The plug-ins are separate executables, however they can't be executed on their own, as they communicate with the main GIMP process. Ideally either these plug-ins should be changed in a way that allows running them directly from the command line or - even better - they should be turned into libraries. The latter would also have the advantage of making the parser code useable for other software projects. Finally it might be a good idea to sandbox the import parsers. Dell FS12-NV7 Review – Bargain FreeBSD/ZFS box (http://blog.frankleonhardt.com/2017/dell-fs12-nv7-review-bargain-freebsdzfs-box/) It seems just about everyone selling refurbished data centre kit has a load of Dell FS12-NV7's to flog. Dell FS-what? You won't find them in the Dell catalogue, that's for sure. They look a bit like C2100s of some vintage, and they have a lot in common. But on closer inspection they're obviously a “special” for an important customer. Given the number of them knocking around, it's obviously a customer with big data, centres stuffed full of servers with a lot of processing to do. Here's a hint: It's not Google or Amazon. So, should you be buying a weirdo box with no documentation whatsoever? I'd say yes, definitely. If you're interests are anything like mine. In a 2U box you can get twin 4-core CPUs and 64Gb of RAM for £150 or less. What's not to like? Ah yes, the complete lack of documentation. Over the next few weeks I intend to cover that. And to start off this is my first PC review for nearly twenty years. As I mentioned, it's a 2U full length heavy metal box on rails. On the back there are the usual I/O ports: a 9-way RS-232, VGA, two 1Gb Ethernet, two USB2 and a PS/2 keyboard and mouse. The front is taken up by twelve 3.5″ hard drive bays, with the status lights and power button on one of the mounting ears to make room. Unlike other Dell servers, all the connections are on the back, only. So, in summary, you're getting a lot for your money if its the kind of thing you want. It's ideal as a high-performance Unix box with plenty of drive bays (preferably running BSD and ZFS). In this configuration it really shifts. Major bang-per-buck. Another idea I've had is using it for a flight simulator. That's a lot of RAM and processors for the money. If you forego the SAS controllers in the PCIe slots and dump in a decent graphics card and sound board, it's hard to see what's could be better (and you get jet engine sound effects without a speaker). So who should buy one of these? BSD geeks is the obvious answer. With a bit of tweaking they're a dream. It can build-absolutely-everything in 20-30 minutes. For storage you can put fast SAS drives in and it goes like the wind, even at 3Gb bandwidth per drive. I don't know if it works with FreeNAS but I can't see why not – I'm using mostly FreeBSD 11.1 and the generic kernel is fine. And if you want to run a load of weird operating systems (like Windows XP) in VM format, it seems to work very well with the Xen hypervisor and Dom0 under FreeBSD. Or CentOS if you prefer. So I shall end this review in true PCW style: Pros: Cheap Lots of CPUs, Lots of RAM Lots of HD slots Great for BSD/ZFS or VMs Cons: Noisy no AES-NI SAS needs upgrading Limited PCI slots As I've mentioned, the noise and SAS are easy and relatively cheap to fix, and thanks to BitCoin miners, even the PCI slot problem can be sorted. I'll talk about this in a later post. Beastie Bits Reflections on Hackathons (https://undeadly.org/cgi?action=article;sid=20171126090055) 7-Part Video Crash Course on SaltStack For FreeBSD (https://www.youtube.com/watch?v=HijG0hWebZk&list=PL5yV8umka8YQOr1wm719In5LITdGzQMOF) The LLVM Thread Sanitizer has been ported to NetBSD (https://blog.netbsd.org/tnf/entry/the_llvm_thread_sanitizer_has) The First Unix Port (1998) (http://bitsavers.informatik.uni-stuttgart.de/bits/Interdata/32bit/unix/univWollongong_v6/miller.pdf) arm64 platform now officially supported [and has syspatch(8)] (https://undeadly.org/cgi?action=article;sid=20171208082238) BSDCan 2018 Call for Participation (https://www.freebsdfoundation.org/news-and-events/call-for-papers/bsdcan-2018-call-for-participation/) AsiaBSDCon 2018 Call for Papers (https://www.freebsdfoundation.org/news-and-events/call-for-papers/asiabsdcon-2018-call-for-papers/) *** Feedback/Questions Shawn - DragonFlyBSD vagrant images (http://dpaste.com/3PRPJHG#wrap) Ben - undermydesk (http://dpaste.com/0AZ32ZB#wrap) Ken - Conferences (http://dpaste.com/3E8FQC6#wrap) Ben - ssh keys (http://dpaste.com/0E4538Q#wrap) SSH Chaining (https://www.bsdnow.tv/tutorials/ssh-chaining) ***

BSD Now
219: We love the ARC

BSD Now

Play Episode Listen Later Nov 8, 2017 130:29


Papers we love: ARC by Bryan Cantrill, SSD caching adventures with ZFS, OpenBSD full disk encryption setup, and a Perl5 Slack Syslog BSD daemon. This episode was brought to you by Headlines Papers We Love: ARC: A Self-Tuning, Low Overhead Replacement Cache (https://www.youtube.com/watch?v=F8sZRBdmqc0&feature=youtu.be) Ever wondered how the ZFS ARC (Adaptive Replacement Cache) works? How about if Bryan Cantrill presented the original paper on its design? Today is that day. Slides (https://www.slideshare.net/bcantrill/papers-we-love-arc-after-dark) It starts by looking back at a fundamental paper from the 40s where the architecture of general-purpose computers are first laid out The main is the description of memory hierarchies, where you have a small amount of very fast memory, then the next level is slower but larger, and on and on. As we look at the various L1, L2, and L3 caches on a CPU, then RAM, then flash, then spinning disks, this still holds true today. The paper then does a survey of the existing caching policies and tries to explain the issues with each. This includes ‘MIN', which is the theoretically optimal policy, which requires future knowledge, but is useful for setting the upper bound, what is the best we could possibly do. The paper ends up showing that the ARC can end up being better than manually trying to pick the best number for the workload, because it adapts as the workload changes At about 1:25 into the video, Bryan start talking about the practical implementation of the ARC in ZFS, and some challenges they have run into recently at Joyent. A great discussion about some of the problems when ZFS needs to shrink the ARC. Not all of it applies 1:1 to FreeBSD because the kernel and the kmem implementation are different in a number of ways There were some interesting questions asked at the end as well *** How do I use man pages to learn how to use commands? (https://unix.stackexchange.com/a/193837) nwildner on StackExchange has a very thorough answer to the question how to interpret man pages to understand complicated commands (xargs in this case, but not specifically). Have in mind what you want to do. When doing your research about xargs you did it for a purpose, right? You had a specific need that was reading standard output and executing commands based on that output. But, when I don't know which command I want? Use man -k or apropos (they are equivalent). If I don't know how to find a file: man -k file | grep search. Read the descriptions and find one that will better fit your needs. Apropos works with regular expressions by default, (man apropos, read the description and find out what -r does), and on this example I'm looking for every manpage where the description starts with "report". Always read the DESCRIPTION before starting Take a time and read the description. By just reading the description of the xargs command we will learn that: xargs reads from STDIN and executes the command needed. This also means that you will need to have some knowledge of how standard input works, and how to manipulate it through pipes to chain commands The default behavior is to act like /bin/echo. This gives you a little tip that if you need to chain more than one xargs, you don't need to use echo to print. We have also learned that unix filenames can contain blank and newlines, that this could be a problem and the argument -0 is a way to prevent things explode by using null character separators. The description warns you that the command being used as input needs to support this feature too, and that GNU find support it. Great. We use a lot of find with xargs. xargs will stop if exit status 255 is reached. Some descriptions are very short and that is generally because the software works on a very simple way. Don't even think of skipping this part of the manpage ;) Other things to pay attention... You know that you can search for files using find. There is a ton of options and if you only look at the SYNOPSIS, you will get overwhelmed by those. It's just the tip of the iceberg. Excluding NAME, SYNOPSIS, and DESCRIPTION, you will have the following sections: When this method will not work so well... + Tips that apply to all commands Some options, mnemonics and "syntax style" travel through all commands making you buy some time by not having to open the manpage at all. Those are learned by practice and the most common are: Generally, -v means verbose. -vvv is a variation "very very verbose" on some software. Following the POSIX standard, generally one dash arguments can be stacked. Example: tar -xzvf, cp -Rv. Generally -R and/or -r means recursive. Almost all commands have a brief help with the --help option. --version shows the version of a software. -p, on copy or move utilities means "preserve permissions". -y means YES, or "proceed without confirmation" in most cases. Default values of commands. At the pager chunk of this answer, we saw that less -is is the pager of man. The default behavior of commands are not always shown at a separated section on manpages, or at the section that is most top placed. You will have to read the options to find out defaults, or if you are lucky, typing /pager will lead you to that info. This also requires you to know the concept of the pager(software that scrolls the manpage), and this is a thing you will only acquire after reading lots of manpages. And what about the SYNOPSIS syntax? After getting all the information needed to execute the command, you can combine options, option-arguments and operands inline to make your job done. Overview of concepts: Options are the switches that dictates a command behavior. "Do this" "don't do this" or "act this way". Often called switches. Check out the full answer and see if it helps you better grasp the meaning of a man page and thus the command. *** My adventure into SSD caching with ZFS (Home NAS) (https://robertputt.co.uk/my-adventure-into-ssd-caching-with-zfs-home-nas.html) Robert Putt as written about his adventure using SSDs for caching with ZFS on his home NAS. Recently I decided to throw away my old defunct 2009 MacBook Pro which was rotting in my cupboard and I decided to retrieve the only useful part before doing so, the 80GB Intel SSD I had installed a few years earlier. Initially I thought about simply adding it to my desktop as a bit of extra space but in 2017 80GB really wasn't worth it and then I had a brainwave… Lets see if we can squeeze some additional performance out of my HP Microserver Gen8 NAS running ZFS by installing it as a cache disk. I installed the SSD to the cdrom tray of the Microserver using a floppy disk power to SATA power converter and a SATA cable, unfortunately it seems the CD ROM SATA port on the motherboard is only a 3gbps port although this didn't matter so much as it was an older 3gbps SSD anyway. Next I booted up the machine and to my suprise the disk was not found in my FreeBSD install, then I realised that the SATA port for the CD drive is actually provided by the RAID controller, so I rebooted into intelligent provisioning and added an additional RAID0 array with just the 1 disk to act as my cache, in fact all of the disks in this machine are individual RAID0 arrays so it looks like just a bunch of disks (JBOD) as ZFS offers additional functionality over normal RAID (mainly scrubbing, deduplication and compression). Configuration Lets have a look at the zpool before adding the cache drive to make sure there are no errors or uglyness: Now lets prep the drive for use in the zpool using gpart. I want to split the SSD into two seperate partitions, one for L2ARC (read caching) and one for ZIL (write caching). I have decided to split the disk into 20GB for ZIL and 50GB for L2ARC. Be warned using 1 SSD like this is considered unsafe because it is a single point of failure in terms of delayed writes (a redundant configuration with 2 SSDs would be more appropriate) and the heavy write cycles on the SSD from the ZIL is likely to kill it over time. Now it's time to see if adding the cache has made much of a difference. I suspect not as my Home NAS sucks, it is a HP Microserver Gen8 with the crappy Celeron CPU and only 4GB RAM, anyway, lets test it and find out. First off lets throw fio at the mount point for this zpool and see what happens both with the ZIL and L2ARC enabled and disabled. Observations Ok, so the initial result is a little dissapointing, but hardly unexpected, my NAS sucks and there are lots of bottle necks, CPU, memory and the fact only 2 of the SATA ports are 6gbps. There is no real difference performance wise in comparison between the results, the IOPS, bandwidth and latency appear very similar. However lets bare in mind fio is a pretty hardcore disk benchmark utility, how about some real world use cases? Next I decided to test a few typical file transactions that this NAS is used for, Samba shares to my workstation. For the first test I wanted to test reading a 3GB file over the network with both the cache enabled and disabled, I would run this multiple times to ensure the data is hot in the L2ARC and to ensure the test is somewhat repeatable, the network itself is an uncongested 1gbit link and I am copying onto the secondary SSD in my workstation. The dataset for these tests has compression and deduplication disabled. Samba Read Test Not bad once the data becomes hot in the L2ARC cache reads appear to gain a decent advantage compared to reading from the disk directly. How does it perform when writing the same file back accross the network using the ZIL vs no ZIL. Samba Write Test Another good result in the real world test, this certainately helps the write transfer speed however I do wonder what would happen if you filled the ZIL transferring a very large file, however this is unlikely with my use case as I typically only deal with a couple of files of several hundred megabytes at any given time so a 20GB ZIL should suit me reasonably well. Is ZIL and L2ARC worth it? I would imagine with a big beefy ZFS server running in a company somewhere with a large disk pool and lots of users with multiple enterprise level SSD ZIL and L2ARC would be well worth the investment, however at home I am not so sure. Yes I did see an increase in read speeds with cached data and a general increase in write speeds however it is use case dependant. In my use case I rarely access the same file frequently, my NAS primarily serves as a backup and for archived data, and although the write speeds are cool I am not sure its a deal breaker. If I built a new home NAS today I'd probably concentrate the budget on a better CPU, more RAM (for ARC cache) and more disks. However if I had a use case where I frequently accessed the same files and needed to do so in a faster fashion then yes, I'd probably invest in an SSD for caching. I think if you have a spare SSD lying around and you want something fun todo with it, sure chuck it in your ZFS based NAS as a cache mechanism. If you were planning on buying an SSD for caching then I'd really consider your needs and decide if the money can be spent on alternative stuff which would improve your experience with your NAS. I know my NAS would benefit more from an extra stick of RAM and a more powerful CPU, but as a quick evening project with some parts I had hanging around adding some SSD cache was worth a go. More Viewer Interview Questions for Allan News Roundup Setup OpenBSD 6.2 with Full Disk Encryption (https://blog.cagedmonster.net/setup-openbsd-with-full-disk-encryption/) Here is a quick way to setup (in 7 steps) OpenBSD 6.2 with the encryption of the filesystem. First step: Boot and start the installation: (I)nstall: I Keyboard Layout: ENTER (I'm french so in my case I took the FR layout) Leave the installer with: ! Second step: Prepare your disk for encryption. Using a SSD, my disk is named : sd0, the name may vary, for example : wd0. Initiating the disk: Configure your volume: Now we'll use bioctl to encrypt the partition we created, in this case : sd0a (disk sd0 + partition « a »). Enter your passphrase. Third step: Let's resume the OpenBSD's installer. We follow the install procedure Fourth step: Partitioning of the encrypted volume. We select our new volume, in this case: sd1 The whole disk will be used: W(hole) Let's create our partitions: NB: You are more than welcome to create multiple partitions for your system. Fifth step: System installation It's time to choose how we'll install our system (network install by http in my case) Sixth step: Finalize the installation. Last step: Reboot and start your system. Put your passphrase. Welcome to OpenBSD 6.2 with a full encrypted file system. Optional: Disable the swap encryption. The swap is actually part of the encrypted filesystem, we don't need OpenBSD to encrypt it. Sysctl is giving us this possibility. Step-by-Step FreeBSD installation with ZFS and Full Disk Encryption (https://blog.cagedmonster.net/step-by-step-freebsd-installation-with-full-disk-encryption/) 1. What do I need? For this tutorial, the installation has been made on a Intel Core i7 - AMD64 architecture. On a USB key, you would probably use this link : ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/11.1/FreeBSD-11.1-RELEASE-amd64-mini-memstick.img If you can't do a network installation, you'd better use this image : ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/11.1/FreeBSD-11.1-RELEASE-amd64-memstick.img You can write the image file on your USB device (replace XXXX with the name of your device) using dd : # dd if=FreeBSD-11.1-RELEASE-amd64-mini-memstick.img of=/dev/XXXX bs=1m 2. Boot and install: Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F1.png) 3. Configure your keyboard layout: Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F2.png) & Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F3.png) 4. Hostname and system components configuration : Set the name of your machine: [Screenshot](https://blog.cagedmonster.net/content/images/2017/09/F4.png_ What components do you want to install? Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F5.png) 5. Network configuration: Select the network interface you want to configure. Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F6.png) First, we configure our IPv4 network. I used a static adress so you can see how it works, but you can use DHCP for an automated configuration, it depends of what you want to do with your system (desktop/server) Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F7.png) & Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F7-1.png) & Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F8.png) IPv6 network configuration. Same as for IPv4, you can use SLAAC for an automated configuration. Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F9.png) & Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F10-1.png) & Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F10-2.png) Here, you can configure your DNS servers, I used the Google DNS servers so you can use them too if needed. Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F11.png) 6. Select the server you want to use for the installation: I always use the IPv6 mirror to ensure that my IPv6 network configuration is good.Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F12.png) 7. Disk configuration: As we want to do an easy full disk encryption, we'll use ZFS. Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F13.png) Make sure to select the disk encryption :Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F14.png) Launch the disk configuration :Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F15.png) Here everything is normal, you have to select the disk you'll use :Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F16.png) I have only one SSD disk named da0 :Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F17.png) Last chance before erasing your disk :Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F18.png) Time to choose the password you'll use to start your system : Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F19.png) & Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F20.png) & Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F21.png) 8. Last steps to finish the installation: The installer will download what you need and what you selected previously (ports, src, etc.) to create your system: Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F22.png) 8.1. Root password: Enter your root password: Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F22-1.png) 8.2. Time and date: Set your timezone, in my case: Europe/France Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F22-2.png) & Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F23.png) & Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F23-1.png) Make sure the date and time are good, or you can change them :Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F24.png) & Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F25.png) 8.3. Services: Select the services you'll use at system startup depending again of what you want to do. In many cases powerd and ntpd will be useful, sshd if you're planning on using FreeBSD as a server. Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F26.png) 8.4. Security: Security options you want to enable. You'll still be able to change them after the installation with sysctl. Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F26-1.png) 8.5. Additionnal user: Create an unprivileged system user: Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F26-2.png) Make sure your user is in the wheel group so he can use the su command. Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F26-3.png) & Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F26-4.png) 8.6. The end: End of your configuration, you can still do some modifications if you want : Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F26-5.png) & Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F26-6.png) & Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F26-7.png) 9. First boot: Enter the passphrase you have chosen previously : Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F27.png) & Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F28.png) & Screenshot (https://blog.cagedmonster.net/content/images/2017/09/F29.png) Welcome to Freebsd 11.1 with full disk encryption! *** The anatomy of ldd program on OpenBSD (http://nanxiao.me/en/the-anatomy-of-ldd-program-on-openbsd/) In the past week, I read the ldd (https://github.com/openbsd/src/blob/master/libexec/ld.so/ldd/ldd.c) source code on OpenBSD to get a better understanding of how it works. And this post should also be a reference for other*NIX OSs. The ELF (https://en.wikipedia.org/wiki/Executable_and_Linkable_Format) file is divided into 4 categories: relocatable, executable, shared, and core. Only the executable and shared object files may have dynamic object dependencies, so the ldd only check these 2 kinds of ELF file: (1) Executable. ldd leverages the LD_TRACE_LOADED_OBJECTS environment variable in fact, and the code is as following: if (setenv("LD_TRACE_LOADED_OBJECTS", "true", 1) < 0) err(1, "setenv(LD_TRACE_LOADED_OBJECTS)"); When LDTRACELOADED_OBJECTS is set to 1 or true, running executable file will show shared objects needed instead of running it, so you even not needldd to check executable file. See the following outputs: $ /usr/bin/ldd usage: ldd program ... $ LD_TRACE_LOADED_OBJECTS=1 /usr/bin/ldd Start End Type Open Ref GrpRef Name 00000b6ac6e00000 00000b6ac7003000 exe 1 0 0 /usr/bin/ldd 00000b6dbc96c000 00000b6dbcc38000 rlib 0 1 0 /usr/lib/libc.so.89.3 00000b6d6ad00000 00000b6d6ad00000 rtld 0 1 0 /usr/libexec/ld.so (2) Shared object. The code to print dependencies of shared object is as following: if (ehdr.e_type == ET_DYN && !interp) { if (realpath(name, buf) == NULL) { printf("realpath(%s): %s", name, strerror(errno)); fflush(stdout); _exit(1); } dlhandle = dlopen(buf, RTLD_TRACE); if (dlhandle == NULL) { printf("%sn", dlerror()); fflush(stdout); _exit(1); } _exit(0); } Why the condition of checking a ELF file is shared object or not is like this: if (ehdr.e_type == ET_DYN && !interp) { ...... } That's because the file type of position-independent executable (PIE) is the same as shared object, but normally PIE contains a interpreter program header since it needs dynamic linker to load it while shared object lacks (refer this article). So the above condition will filter PIE file. The dlopen(buf, RTLD_TRACE) is used to print dynamic object information. And the actual code is like this: if (_dl_traceld) { _dl_show_objects(); _dl_unload_shlib(object); _dl_exit(0); } In fact, you can also implement a simple application which outputs dynamic object information for shared object yourself: # include int main(int argc, char **argv) { dlopen(argv[1], RTLD_TRACE); return 0; } Compile and use it to analyze /usr/lib/libssl.so.43.2: $ cc lddshared.c $ ./a.out /usr/lib/libssl.so.43.2 Start End Type Open Ref GrpRef Name 000010e2df1c5000 000010e2df41a000 dlib 1 0 0 /usr/lib/libssl.so.43.2 000010e311e3f000 000010e312209000 rlib 0 1 0 /usr/lib/libcrypto.so.41.1 The same as using ldd directly: $ ldd /usr/lib/libssl.so.43.2 /usr/lib/libssl.so.43.2: Start End Type Open Ref GrpRef Name 00001d9ffef08000 00001d9fff15d000 dlib 1 0 0 /usr/lib/libssl.so.43.2 00001d9ff1431000 00001d9ff17fb000 rlib 0 1 0 /usr/lib/libcrypto.so.41.1 Through the studying of ldd source code, I also get many by-products: such as knowledge of ELF file, linking and loading, etc. So diving into code is a really good method to learn *NIX deeper! Perl5 Slack Syslog BSD daemon (https://clinetworking.wordpress.com/2017/10/13/perl5-slack-syslog-bsd-daemon/) So I have been working on my little Perl daemon for a week now. It is a simple syslog daemon that listens on port 514 for incoming messages. It listens on a port so it can process log messages from my consumer Linux router as well as the messages from my server. Messages that are above alert are sent, as are messages that match the regex of SSH or DHCP (I want to keep track of new connections to my wifi). The rest of the messages are not sent to slack but appended to a log file. This is very handy as I can get access to info like failed ssh logins, disk failures, and new devices connecting to the network all on my Android phone when I am not home. Screenshot (https://clinetworking.files.wordpress.com/2017/10/screenshot_2017-10-13-23-00-26.png) The situation arose today that the internet went down and I thought to myself what would happen to all my important syslog messages when they couldn't be sent? Before the script only ran an eval block on the botsend() function. The error was returned, handled, but nothing was done and the unsent message was discarded. So I added a function that appended unsent messengers to an array that are later sent when the server is not busy sending messages to slack. Slack has a limit of one message per second. The new addition works well and means that if the internet fails my server will store these messages in memory and resend them at a rate of one message per second when the internet connectivity returns. It currently sends the newest ones first but I am not sure if this is a bug or a feature at this point! It currently works with my Linux based WiFi router and my FreeBSD server. It is easy to scale as all you need to do is send messages to syslog to get them sent to slack. You could sent CPU temp, logged in users etc. There is a github page: https://github.com/wilyarti/slackbot Lscpu for OpenBSD/FreeBSD (http://nanxiao.me/en/lscpu-for-openbsdfreebsd/) Github Link (https://github.com/NanXiao/lscpu) There is a neat command, lscpu, which is very handy to display CPU information on GNU/Linux OS: $ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 32 On-line CPU(s) list: 0-31 Thread(s) per core: 2 Core(s) per socket: 8 Socket(s): 2 But unfortunately, the BSD OSs lack this command, maybe one reason is lscpu relies heavily on /proc file system which BSD don't provide, :-). TakeOpenBSD as an example, if I want to know CPU information, dmesg should be one choice: $ dmesg | grep -i cpu cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz, 2527.35 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM, PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR cpu0: 3MB 64b/line 8-way L2 cache cpu0: apic clock running at 266MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2.1.3, IBE But the output makes me feeling messy, not very clear. As for dmidecode, it used to be another option, but now can't work out-of-box because it will access /dev/mem which for security reason, OpenBSD doesn't allow by default (You can refer this discussion): $ ./dmidecode $ dmidecode 3.1 Scanning /dev/mem for entry point. /dev/mem: Operation not permitted Based on above situation, I want a specified command for showing CPU information for my BSD box. So in the past 2 weeks, I developed a lscpu program for OpenBSD/FreeBSD, or more accurately, OpenBSD/FreeBSD on x86 architecture since I only have some Intel processors at hand. The application getsCPU metrics from 2 sources: (1) sysctl functions. The BSD OSs provide sysctl interface which I can use to get general CPU particulars, such as how many CPUs the system contains, the byte-order of CPU, etc. (2) CPUID instruction. For x86 architecture, CPUID instruction can obtain very detail information of CPU. This coding work is a little tedious and error-prone, not only because I need to reference both Intel and AMD specifications since these 2 vendors have minor distinctions, but also I need to parse the bits of register values. The code is here (https://github.com/NanXiao/lscpu), and if you run OpenBSD/FreeBSD on x86 processors, please try it. It will be better you can give some feedback or report the issues, and I appreciate it very much. In the future if I have other CPUs resource, such as ARM or SPARC64, maybe I will enrich this small program. *** Beastie Bits OpenBSD Porting Workshop - Brian Callahan will be running an OpenBSD porting workshop in NYC for NYC*BUG on December 6, 2017. (http://daemonforums.org/showthread.php?t=10429) Learn to tame OpenBSD quickly (http://www.openbsdjumpstart.org/#/) Detect the operating system using UDP stack corner cases (https://gist.github.com/sortie/94b302dd383df19237d1a04969f1a42b) *** Feedback/Questions Awesome Mike - ZFS Questions (http://dpaste.com/1H22BND#wrap) Michael - Expanding a file server with only one hard drive with ZFS (http://dpaste.com/1JRJ6T9) - information based on Allan's IRC response (http://dpaste.com/36M7M3E) Brian - Optimizing ZFS for a single disk (http://dpaste.com/3X0GXJR#wrap) ***

BSD Now
215: Turning FreeBSD up to 100 Gbps

BSD Now

Play Episode Listen Later Oct 11, 2017 93:35


We look at how Netflix serves 100 Gbps from an Open Connect Appliance, read through the 2nd quarter FreeBSD status report, show you a freebsd-update speedup via nginx reverse proxy, and customize your OpenBSD default shell. This episode was brought to you by Headlines Serving 100 Gbps from an Open Connect Appliance (https://medium.com/netflix-techblog/serving-100-gbps-from-an-open-connect-appliance-cdb51dda3b99) In the summer of 2015, the Netflix Open Connect CDN team decided to take on an ambitious project. The goal was to leverage the new 100GbE network interface technology just coming to market in order to be able to serve at 100 Gbps from a single FreeBSD-based Open Connect Appliance (OCA) using NVM Express (NVMe)-based storage. At the time, the bulk of our flash storage-based appliances were close to being CPU limited serving at 40 Gbps using single-socket Xeon E5–2697v2. The first step was to find the CPU bottlenecks in the existing platform while we waited for newer CPUs from Intel, newer motherboards with PCIe Gen3 x16 slots that could run the new Mellanox 100GbE NICs at full speed, and for systems with NVMe drives. Fake NUMA Normally, most of an OCA's content is served from disk, with only 10–20% of the most popular titles being served from memory (see our previous blog, Content Popularity for Open Connect (https://medium.com/@NetflixTechBlog/content-popularity-for-open-connect-b86d56f613b) for details). However, our early pre-NVMe prototypes were limited by disk bandwidth. So we set up a contrived experiment where we served only the very most popular content on a test server. This allowed all content to fit in RAM and therefore avoid the temporary disk bottleneck. Surprisingly, the performance actually dropped from being CPU limited at 40 Gbps to being CPU limited at only 22 Gbps! The ultimate solution we came up with is what we call “Fake NUMA”. This approach takes advantage of the fact that there is one set of page queues per NUMA domain. All we had to do was to lie to the system and tell it that we have one Fake NUMA domain for every 2 CPUs. After we did this, our lock contention nearly disappeared and we were able to serve at 52 Gbps (limited by the PCIe Gen3 x8 slot) with substantial CPU idle time. After we had newer prototype machines, with an Intel Xeon E5 2697v3 CPU, PCIe Gen3 x16 slots for 100GbE NIC, and more disk storage (4 NVMe or 44 SATA SSD drives), we hit another bottleneck, also related to a lock on a global list. We were stuck at around 60 Gbps on this new hardware, and we were constrained by pbufs. Our first problem was that the list was too small. We were spending a lot of time waiting for pbufs. This was easily fixed by increasing the number of pbufs allocated at boot time by increasing the kern.nswbuf tunable. However, this update revealed the next problem, which was lock contention on the global pbuf mutex. To solve this, we changed the vnode pager (which handles paging to files, rather than the swap partition, and hence handles all sendfile() I/O) to use the normal kernel zone allocator. This change removed the lock contention, and boosted our performance into the 70 Gbps range. As noted above, we make heavy use of the VM page queues, especially the inactive queue. Eventually, the system runs short of memory and these queues need to be scanned by the page daemon to free up memory. At full load, this was happening roughly twice per minute. When this happened, all NGINX processes would go to sleep in vm_wait() and the system would stop serving traffic while the pageout daemon worked to scan pages, often for several seconds. This problem is actually made progressively worse as one adds NUMA domains, because there is one pageout daemon per NUMA domain, but the page deficit that it is trying to clear is calculated globally. So if the vm pageout daemon decides to clean, say 1GB of memory and there are 16 domains, each of the 16 pageout daemons will individually attempt to clean 1GB of memory. To solve this problem, we decided to proactively scan the VM page queues. In the sendfile path, when allocating a page for I/O, we run the pageout code several times per second on each VM domain. The pageout code is run in its lightest-weight mode in the context of one unlucky NGINX process. Other NGINX processes continue to run and serve traffic while this is happening, so we can avoid bursts of pager activity that blocks traffic serving. Proactive scanning allowed us to serve at roughly 80 Gbps on the prototype hardware. Hans Petter Selasky, Mellanox's 100GbE driver developer, came up with an innovative solution to our problem. Most modern NICs will supply an Receive Side Scaling (RSS) hash result to the host. RSS is a standard developed by Microsoft wherein TCP/IP traffic is hashed by source and destination IP address and/or TCP source and destination ports. The RSS hash result will almost always uniquely identify a TCP connection. Hans' idea was that rather than just passing the packets to the LRO engine as they arrive from the network, we should hold the packets in a large batch, and then sort the batch of packets by RSS hash result (and original time of arrival, to keep them in order). After the packets are sorted, packets from the same connection are adjacent even when they arrive widely separated in time. Therefore, when the packets are passed to the FreeBSD LRO routine, it can aggregate them. With this new LRO code, we were able to achieve an LRO aggregation rate of over 2 packets per aggregation, and were able to serve at well over 90 Gbps for the first time on our prototype hardware for mostly unencrypted traffic. So the job was done. Or was it? The next goal was to achieve 100 Gbps while serving only TLS-encrypted streams. By this point, we were using hardware which closely resembles today's 100GbE flash storage-based OCAs: four NVMe PCIe Gen3 x4 drives, 100GbE ethernet, Xeon E5v4 2697A CPU. With the improvements described in the Protecting Netflix Viewing Privacy at Scale blog entry, we were able to serve TLS-only traffic at roughly 58 Gbps. In the lock contention problems we'd observed above, the cause of any increased CPU use was relatively apparent from normal system level tools like flame graphs, DTrace, or lockstat. The 58 Gbps limit was comparatively strange. As before, the CPU use would increase linearly as we approached the 58 Gbps limit, but then as we neared the limit, the CPU use would increase almost exponentially. Flame graphs just showed everything taking longer, with no apparent hotspots. We finally had a hunch that we were limited by our system's memory bandwidth. We used the Intel® Performance Counter Monitor Tools to measure the memory bandwidth we were consuming at peak load. We then wrote a simple memory thrashing benchmark that used one thread per core to copy between large memory chunks that did not fit into cache. According to the PCM tools, this benchmark consumed the same amount of memory bandwidth as our OCA's TLS-serving workload. So it was clear that we were memory limited. At this point, we became focused on reducing memory bandwidth usage. To assist with this, we began using the Intel VTune profiling tools to identify memory loads and stores, and to identify cache misses. Because we are using sendfile() to serve data, encryption is done from the virtual memory page cache into connection-specific encryption buffers. This preserves the normal FreeBSD page cache in order to allow serving of hot data from memory to many connections. One of the first things that stood out to us was that the ISA-L encryption library was using half again as much memory bandwidth for memory reads as it was for memory writes. From looking at VTune profiling information, we saw that ISA-L was somehow reading both the source and destination buffers, rather than just writing to the destination buffer. We realized that this was because the AVX instructions used by ISA-L for encryption on our CPUs worked on 256-bit (32-byte) quantities, whereas the cache line size was 512-bits (64 bytes)?—?thus triggering the system to do read-modify-writes when data was written. The problem is that the the CPU will normally access the memory system in 64 byte cache line-sized chunks, reading an entire 64 bytes to access even just a single byte. After a quick email exchange with the ISA-L team, they provided us with a new version of the library that used non-temporal instructions when storing encryption results. Non-temporals bypass the cache, and allow the CPU direct access to memory. This meant that the CPU was no longer reading from the destination buffers, and so this increased our bandwidth from 58 Gbps to 65 Gbps. At 100 Gbps, we're moving about 12.5 GB/s of 4K pages through our system unencrypted. Adding encryption doubles that to 25 GB/s worth of 4K pages. That's about 6.25 Million mbufs per second. When you add in the extra 2 mbufs used by the crypto code for TLS metadata at the beginning and end of each TLS record, that works out to another 1.6M mbufs/sec, for a total of about 8M mbufs/second. With roughly 2 cache line accesses per mbuf, that's 128 bytes * 8M, which is 1 GB/s (8 Gbps) of data that is accessed at multiple layers of the stack (alloc, free, crypto, TCP, socket buffers, drivers, etc). At this point, we're able to serve 100% TLS traffic comfortably at 90 Gbps using the default FreeBSD TCP stack. However, the goalposts keep moving. We've found that when we use more advanced TCP algorithms, such as RACK and BBR, we are still a bit short of our goal. We have several ideas that we are currently pursuing, which range from optimizing the new TCP code to increasing the efficiency of LRO to trying to do encryption closer to the transfer of the data (either from the disk, or to the NIC) so as to take better advantage of Intel's DDIO and save memory bandwidth. FreeBSD April to June 2017 Status Report (https://www.freebsd.org/news/status/report-2017-04-2017-06.html) FreeBSD Team Reports FreeBSD Release Engineering Team Ports Collection The FreeBSD Core Team The FreeBSD Foundation The Postmaster Team Projects 64-bit Inode Numbers Capability-Based Network Communication for Capsicum/CloudABI Ceph on FreeBSD DTS Updates Kernel Coda revival FreeBSD Driver for the Annapurna Labs ENA Intel 10G Driver Update pNFS Server Plan B Architectures FreeBSD on Marvell Armada38x FreeBSD/arm64 Userland Programs DTC Using LLVM's LLD Linker as FreeBSD's System Linker Ports A New USES Macro for Porting Cargo-Based Rust Applications GCC (GNU Compiler Collection) GNOME on FreeBSD KDE on FreeBSD New Port: FRRouting PHP Ports: Help Improving QA Rust sndio Support in the FreeBSD Ports Collection TensorFlow Updating Port Metadata for non-x86 Architectures Xfce on FreeBSD Documentation Absolute FreeBSD, 3rd Edition Doc Version Strings Improved by Their Absence New Xen Handbook Section Miscellaneous BSD Meetups at Rennes (France) Third-Party Projects HardenedBSD DPDK, VPP, and the future of pfSense @ the DPDK Summit (https://www.pscp.tv/DPDKProject/1dRKZnleWbmKB?t=5h1m0s) The DPDK (Data Plane Development Kit) conference included a short update from the pfSense project The video starts with a quick introduction to pfSense and the company behind it It covers the issues they ran into trying to scale to 10gbps and beyond, and some of the solutions they tried: libuinet, netmap, packet-journey Then they discovered VPP (Vector Packet Processing) The video then covers the architecture of the new pfSense pfSense has launched of EC2, on Azure soon, and will launch support for the new Atom C3000 and Xeon hardware with built-in QAT (Quick-Assist crypto offload) in November The future: 100gbps, MPLS, VXLANs, and ARM64 hardware support *** News Roundup Local nginx reverse proxy cache for freebsd-update (https://wiki.freebsd.org/VladimirKrstulja/Guides/FreeBSDUpdateReverseProxy) Vladimir Krstulja has created this interesting tutorial on the FreeBSD wiki about a freebsd-update reverse proxy cache Either because you're a good netizen and don't want to repeatedly hammer the FreeBSD mirrors to upgrade all your systems, or you want to benefit from the speed of having a local "mirror" (cache, more precisely), running a freebsd update reverse proxy cache with, say, nginx is dead simple. 1. Install nginx somewhere 2. Configure nginx for a subdomain, say, freebsd-update.example.com 3. On all your hosts, in all your jails, configure /etc/freebsd-update.conf for new ServerName And... that's it. Running freebsd-update will use the ServerName domain which is your reverse nginx proxy. Note the comment about using a "nearby" server is not quite true. FreeBSD update mirrors are frequently slow and running such a reverse proxy cache significantly speeds things up. Caveats: This is a simple cache. That means it doesn't consider the files as a whole repository, which in turn means updates to your cache are not atomic. It'd be advised to nuke your cache before your update run, as its point is only to retain the files in a local cache for some short period of time required for all your machines to be updated. ClonOS is a free, open-source FreeBSD-based platform for virtual environment creation and management (https://clonos.tekroutine.com/) The operating system uses FreeBSD's development branch (12.0-CURRENT) as its base. ClonOS uses ZFS as the default file system and includes web-based administration tools for managing virtual machines and jails. The project's website also mentions the availability of templates for quickly setting up new containers and web-based VNC access to jails. Puppet, we are told, can be used for configuration management. ClonOS can be downloaded as a disk image file (IMG) or as an optical media image (ISO). I downloaded the ISO file which is 1.6GB in size. Booting from ClonOS's media displays a text console asking us to select the type of text terminal we are using. There are four options and most people can probably safely take the default, xterm, option. The operating system, on the surface, appears to be a full installation of FreeBSD 12. The usual collection of FreeBSD packages are available, including manual pages, a compiler and the typical selection of UNIX command line utilities. The operating system uses ZFS as its file system and uses approximately 3.3GB of disk space. ClonOS requires about 50MB of active memory and 143MB of wired memory before any services or jails are created. Most of the key features of ClonOS, the parts which set it apart from vanilla FreeBSD, can be accessed through a web-based control panel. When we connect to this control panel, over a plain HTTP connection, using our web browser, we are not prompted for an account name or password. The web-based interface has a straight forward layout. Down the left side of the browser window we find categories of options and controls. Over on the right side of the window are the specific options or controls available in the selected category. At the top of the page there is a drop-down menu where we can toggle the displayed language between English and Russian, with English being the default. There are twelve option screens we can access in the ClonOS interface and I want to quickly give a summary of each one: Overview - this page shows a top-level status summary. The page lists the number of jails and nodes in the system. We are also shown the number of available CPU cores and available RAM on the system. Jail containers - this page allows us to create and delete jails. We can also change some basic jail settings on this page, adjusting the network configuration and hostname. Plus we can click a button to open a VNC window that allows us to access the jail's command line interface. Template for jails - provides a list of available jail templates. Each template is listed with its name and a brief description. For example, we have a Wordpress template and a bittorrent template. We can click a listed template to create a new jail with a vanilla installation of the selected software included. We cannot download or create new templates from this page. Bhyve VMs - this page is very much like the Jails containers page, but concerns the creation of new virtual machines and managing them. Virtual Private Network - allows for the management of subnets Authkeys - upload security keys for something, but it is not clear for what these keys will be used. Storage media - upload ISO files that will be used when creating virtual machines and installing an operating system in the new virtual environment. FreeBSD Bases - I think this page downloads and builds source code for alternative versions of FreeBSD, but I am unsure and could not find any associated documentation for this page. FreeBSD Sources - download source code for various versions of FreeBSD. TaskLog - browse logs of events, particularly actions concerning jails. SQLite admin - this page says it will open an interface for managing a SQLite database. Clicking link on the page gives a file not found error. Settings - this page simply displays a message saying the settings page has not been implemented yet. While playing with ClonOS, I wanted to perform a couple of simple tasks. I wanted to use the Wordpress template to set up a blog inside a jail. I wanted a generic, empty jail in which I could play and run commands without harming the rest of the operating system. I also wanted to try installing an operating system other than FreeBSD inside a Bhyve virtual environment. I thought this would give me a pretty good idea of how quick and easy ClonOS would make common tasks. Conclusions ClonOS appears to be in its early stages of development, more of a feature preview or proof-of-concept than a polished product. A few of the settings pages have not been finished yet, the web-based controls for jails are unable to create jails that connect to the network and I was unable to upload even small ISO files to create virtual machines. The project's website mentions working with Puppet to handle system configuration, but I did not encounter any Puppet options. There also does not appear to be any documentation on using Puppet on the ClonOS platform. One of the biggest concerns I had was the lack of security on ClonOS. The web-based control panel and terminal both automatically login as the root user. Passwords we create for our accounts are ignored and we cannot logout of the local terminal. This means anyone with physical access to the server automatically gains root access and, in addition, anyone on our local network gets access to the web-based admin panel. As it stands, it would not be safe to install ClonOS on a shared network. Some of the ideas present are good ones. I like the idea of jail templates and have used them on other systems. The graphical Bhyve tools could be useful too, if the limitations of the ISO manager are sorted out. But right now, ClonOS still has a way to go before it is likely to be safe or practical to use. Customize ksh display for OpenBSD (http://nanxiao.me/en/customize-ksh-display-for-openbsd/) The default shell for OpenBSD is ksh, and it looks a little monotonous. To make its user-experience more friendly, I need to do some customizations: (1) Modify the “Prompt String” to display the user name and current directory: PS1='$USER:$PWD# ' (2) Install colorls package: pkg_add colorls Use it to replace the shipped ls command: alias ls='colorls -G' (3) Change LSCOLORS environmental variable to make your favorite color. For example, I don't want the directory is displayed in default blue, change it to magenta: LSCOLORS=fxexcxdxbxegedabagacad For detailed explanation of LSCOLORS, please refer manual of colorls. This is my final modification of .profile: PS1='$USER:$PWD# ' export PS1 LSCOLORS=fxexcxdxbxegedabagacad export LSCOLORS alias ls='colorls -G' DragonFly 5 release candidate (https://www.dragonflydigest.com/2017/10/02/20295.html) Commit (http://lists.dragonflybsd.org/pipermail/commits/2017-September/626463.html) I tagged DragonFly 5.0 (commit message list in that link) over the weekend, and there's a 5.0 release candidate for download (http://mirror-master.dragonflybsd.org/iso-images/). It's RC2 because the recent Radeon changes had to be taken out. (http://lists.dragonflybsd.org/pipermail/commits/2017-September/626476.html) Beastie Bits Faster forwarding (http://www.grenadille.net/post/2017/08/21/Faster-forwarding) DRM-Next-Kmod hits the ports tree (http://www.freshports.org/graphics/drm-next-kmod/) OpenBSD Community Goes Platinum (https://undeadly.org/cgi?action=article;sid=20170829025446) Setting up iSCSI on TrueOS and FreeBSD12 (https://www.youtube.com/watch?v=4myESLZPXBU) *** Feedback/Questions Christopher - Virtualizing FreeNAS (http://dpaste.com/38G99CK#wrap) Van - Tar Question (http://dpaste.com/3MEPD3S#wrap) Joe - Book Reviews (http://dpaste.com/0T623Z6#wrap) ***

BSD Now
196: PostgreZFS

BSD Now

Play Episode Listen Later May 31, 2017 106:15


This week on BSD Now, we review the EuroBSDcon schedule, we explore the mysteries of Docker on OpenBSD, and show you how to run PostgreSQL on ZFS. This episode was brought to you by Headlines EuroBSDcon 2017 - Talks & Schedule published (https://2017.eurobsdcon.org/2017/05/26/talks-schedule-published/) The EuroBSDcon website was updated with the tutorial and talk schedule for the upcoming September conference in Paris, France. Tutorials on the 1st day: Kirk McKusick - An Introduction to the FreeBSD Open-Source Operating System, George Neville-Neil - DTrace for Developers, Taylor R Campbell - How to untangle your threads from a giant lock in a multiprocessor system Tutorials on the 2nd day: Kirk continues his Introduction lecture, Michael Lucas - Core concepts of ZFS (half day), Benedict Reuschling - Managing BSD systems with Ansible (half day), Peter Hessler - BGP for developers and sysadmins Talks include 3 keynotes (2 on the first day, beginning and end), another one at the end of the second day by Brendan Gregg Good mixture of talks of the various BSD projects Also, a good amount of new names and faces Check out the full talk schedule (https://2017.eurobsdcon.org/talks-schedule/). Registration is not open yet, but will be soon. *** OpenBSD on the Xiaomi Mi Air 12.5" (https://jcs.org/2017/05/22/xiaomiair) The Xiaomi Mi Air 12.5" (https://xiaomi-mi.com/notebooks/xiaomi-mi-notebook-air-125-silver/) is a basic fanless 12.5" Ultrabook with good build quality and decent hardware specs, especially for the money: while it can usually be had for about $600, I got mine for $489 shipped to the US during a sale about a month ago. Xiaomi offers this laptop in silver and gold. They also make a 13" version but it comes with an NVidia graphics chip. Since these laptops are only sold in China, they come with a Chinese language version of Windows 10 and only one or two distributors that carry them ship to the US. Unfortunately that also means they come with practically no warranty or support. Hardware > The Mi Air 12.5" has a fanless, 6th generation (Skylake) Intel Core m3 processor, 4Gb of soldered-on RAM, and a 128Gb SATA SSD (more on that later). It has a small footprint of 11.5" wide, 8" deep, and 0.5" thick, and weighs 2.3 pounds. > A single USB-C port on the right-hand side is used to charge the laptop and provide USB connectivity. A USB-C ethernet adapter I tried worked fine in OpenBSD. Whether intentional or not, a particular design touch I appreciated was that the USB-C port is placed directly to the right of the power button on the keyboard, so you don't have to look or feel around for the port when plugging in the power cable. > A single USB 3 type-A port is also available on the right side next to the USB-C port. A full-size HDMI port and a headphone jack are on the left-hand side. It has a soldered-on Intel 8260 wireless adapter and Bluetooth. The webcam in the screen bezel attaches internally over USB. > The chassis is all aluminum and has sufficient rigidity in the keyboard area. The 12.5" 1920x1080 glossy IPS screen has a fairly small bezel and while its hinge is properly weighted to allow opening the lid with one hand (if you care about that kind of thing), the screen does have a bit of top-end wobble when open, especially when typing on another laptop on the same desk. > The keyboard has a roomy layout and a nice clicky tactile with good travel. It is backlit, but with only one backlight level. When enabled via Fn+F10 (which is handled by the EC, so no OpenBSD support required), it will automatically shut off after not typing for a short while, automatically turning back once a key is pressed. Upgrades > An interesting feature of the Mi Air is that it comes with a 128Gb SATA SSD but also includes an open PCI-e slot ready to accept an NVMe SSD. > I upgraded mine with a Samsung PM961 256Gb NVMe SSD (left), and while it is possible to run with both drives in at the same time, I removed the Samsung CM871a 128Gb SATA (right) drive to save power. > The bottom case can be removed by removing the seven visible screws, in addition to the one under the foot in the middle back of the case, which just pries off. A spudger tool is needed to release all of the plastic attachment clips along the entire edge of the bottom cover. > Unfortunately this upgrade proved to be quite time consuming due to the combination of the limited UEFI firmware on the Mi Air and a bug in OpenBSD. A Detour into UEFI Firmware Variables > Unlike a traditional BIOS where one can boot into a menu and configure the boot order as well as enabling and disabling options such as "USB Hard Drive", the InsydeH2O UEFI firmware on the Xiaomi Air only provides the ability to adjust the boot order of existing devices. Any change or addition of boot devices must be done from the operating system, which is not possible under OpenBSD. > I booted to a USB key with OpenBSD on it and manually partitioned the new NVME SSD, then rsynced all of the data over from the old drive, but the laptop would not boot to the new NVME drive, instead showing an error message that there was no bootable OS. > Eventually I figured out that the GPT table that OpenBSD created on the NVMe disk was wrong due to a [one-off bug in the nvme driver](https://github.com/openbsd/src/commit/dc8298f669ea2d7e18c8a8efea509eed200cb989) which was causing the GPT table to be one sector too large, causing the backup GPT table to be written in the wrong location (and other utilities under Linux to write it over the OpenBSD area). I'm guessing the UEFI firmware would fail to read the bad GPT table on the disk that the boot variable pointed to, then declare that disk as missing, and then remove any variables that pointed to that disk. OpenBSD Support > The Mi Air's soldered-on Intel 8260 wireless adapter is supported by OpenBSD's iwm driver, including 802.11n support. The Intel sound chip is recognized by the azalia driver. > The Synaptics touchpad is connected via I2C, but is not yet supported. I am actively hacking on my dwiic driver to make this work and the touchpad will hopefully operate as a Windows Precision Touchpad via imt so I don't have to write an entirely new Synaptics driver. > Unfortunately since OpenBSD's inteldrm support that is ported from Linux is lagging quite a bit behind, there is no kernel support for Skylake and Kaby Lake video chips. Xorg works at 1920x1080 through efifb so the machine is at least usable, but X is not very fast and there is a noticeable delay when doing certain redrawing operations in xterm. Screen backlight can be adjusted through my OpenBSD port of intel_backlight. Since there is no hardware graphics support, this also means that suspend and resume do not work because nothing is available to re-POST the video after resume. Having to use efifb also makes it impossible to adjust the screen gamma, so for me, I can't use redshift for comfortable night-time hacking. Flaws > Especially taking into account the cheap price of the laptop, it's hard to find faults with the design. One minor gripe is that the edges of the case along the bottom are quite sharp, so when carrying the closed laptop, it can feel uncomfortable in one's hands. > While all of those things could be overlooked, unfortunately there is also a critical flaw in the rollover support in the keyboard/EC on the laptop. When typing certain combinations of keys quickly, such as holding Shift and typing "NULL", one's fingers may actually hold down the Shift, N, and U keys at the same time for a very brief moment before releasing N. Normally the keyboard/EC would recognize U being pressed after N is already down and send an interrupt for the U key. Unfortunately on this laptop, particular combinations of three keys do not interrupt for the third key at all until the second key is lifted, usually causing the third key not to register at all if typed quickly. I've been able to reproduce this problem in OpenBSD, Linux, and Windows, with the combinations of at least Shift+N+U and Shift+D+F. Holding Shift and typing the two characters in sequence quickly enough will usually fail to register the final character. Trying the combinations without Shift, using Control or Alt instead of Shift, or other character pairs does not trigger the problem. This might be a problem in the firmware on the Embedded Controller, or a defect in the keyboard circuitry itself. As I mentioned at the beginning, getting technical support for this machine is difficult because it's only sold in China. Docker on OpenBSD 6.1-current (https://medium.com/@dave_voutila/docker-on-openbsd-6-1-current-c620513b8110) Dave Voutila writes: So here's the thing. I'm normally a macOS user…all my hardware was designed in Cupertino, built in China. But I'm restless and have been toying with trying to switch my daily machine over to a non-macOS system sort of just for fun. I find Linux messy, FreeBSD not as Apple-laptop-friendly as it should be, and Windows a non-starter. Luckily, I found a friend in Puffy. Switching some of my Apple machines over to dual-boot OpenBSD left a gaping hole in my workflow. Luckily, all the hard work the OpenBSD team has done over the last year seems to have plugged it nicely! OpenBSD's hypervisor support officially made it into the 6.1 release, but after some experimentation it was rather time consuming and too fragile to get a Linux guest up and running (i.e. basically the per-requisite for Docker). Others had reported some success starting with QEMU and doing lots of tinkering, but after a wasted evening I figured I'd grab the latest OpenBSD snapshot and try what the openbsd-misc list suggested was improved Linux support in active development. 10 (11) Steps to docker are provided Step 0 — Install the latest OpenBSD 6.1 snapshot (-current) Step 1 — Configure VMM/VMD Step 2 — Grab an Alpine Linux ISO Step 3 — Make a new virtual disk image Step 4 — Boot Alpine's ISO Step 5 — Inhale that fresh Alpine air Step 6 — Boot Alpine for Reals Step 7 — Install Docker Step 8 — Make a User Step 9 — Ditch the Serial Console Step 10 — Test out your Docker instance I haven't done it yet, but I plan on installing docker-compose via Python's pip package manager. I prefer defining containers in the compose files. PostgreSQL + ZFS Best Practices and Standard Procedures (https://people.freebsd.org/~seanc/postgresql/scale15x-2017-postgresql_zfs_best_practices.pdf) Slides from Sean Chittenden's talk about PostgreSQL and ZFS at Scale 15x this spring Slides start with a good overview of Postgres and ZFS, and how to use them together To start, it walks through the basics of how PostgreSQL interacts with the filesystem (any filesystem) Then it shows the steps to take a good backup of PostgreSQL, then how to do it even better with ZFS Then an intro to ZFS, and how Copy-on-Write changes host PostgreSQL interacts with the filesystem Overview of how ZFS works ZFS Tuning tips: Compression, Recordsize, atime, when to use mostly ARC vs sharedbuffer, plus pgrepack Followed by a discussion of the reliability of SSDs, and their Bit Error Rate (BER) A good SSD has a 4%/year chance of returning the wrong data. A cheap SSD 34% If you put 20 SSDs in a database server, that means 58% (Good SSDs) to 99.975% (Lowest quality commercially viable SSD) chance of an error per year Luckily, ZFS can detect and correct these errors This applies to all storage, not just SSDs, every device fails More Advice: Use quotas and reservations to avoid running out of space Schedule Periodic Scrubs One dataset per database Backups: Live demo of rm -rf'ing the database and getting it back Using clones to test upgrades on real data Naming Conventions: Use a short prefix not on the root filesystem (e.g. /db) Encode the PostgreSQL major version into the dataset name Give each PostgreSQL cluster its own dataset (e.g. pgdb01) Optional but recommended: one database per cluster Optional but recommended: one app per database Optional but recommended: encode environment into DB name Optional but recommended: encode environment into DB username using ZFS Replication Check out the full detailed PDF and implement a similar setup for your database needs *** News Roundup TrueOS Evolving Its "Stable" Release Cycle (https://www.trueos.org/blog/housekeeping-update-infrastructure-trueos-changes/) TrueOS is reformulating its Stable branch based on feedback from users. The goal is to have a “release” of the stable branch every 6 months, for those who do not want to live on the edge with the rapid updates of the full rolling release Most of the TrueOS developers work for iX Systems in their Tennessee office. Last month, the Tennessee office was moved to a different location across town. As part of the move, we need to move all our servers. We're still getting some of the infrastructure sorted before moving the servers, so please bear with us as we continue this process. As we've continued working on TrueOS, we've heard a significant portion of the community asking for a more stable “STABLE” release of TrueOS, maybe something akin to an old PC-BSD version release. In order to meet that need, we're redefining the TrueOS STABLE branch a bit. STABLE releases are now expected to follow a six month schedule, with more testing and lots of polish between releases. This gives users the option to step back a little from the “cutting edge” of development, but still enjoy many of the benefits of the “rolling release” style and the useful elements of FreeBSD Current. Critical updates like emergency patches and utility bug fixes are still expected to be pushed to STABLE on a case-by-case basis, but again with more testing and polish. This also applies to version updates of the Lumina and SysAdm projects. New, released work from those projects will be tested and added to STABLE outside the 6 month window as well. The UNSTABLE branch continues to be our experimental “cutting edge” track, and users who want to follow along with our development and help us or FreeBSD test new features are still encouraged to follow the UNSTABLE track by checking that setting in their TrueOS Update Manager. With boot environments, it will be easy to switch back and forth, so you can have the best of both worlds. Use the latest bleeding edge features, but knowing you can fall back to the stable branch with just a reboot As TrueOS evolves, it is becoming clearer that one role of the system is to function as a “test platform” for FreeBSD. In order to better serve this role, TrueOS will support both OpenRC and the FreeBSD RC init systems, giving users the choice to use either system. While the full functionality isn't quite ready for the next STABLE update, it is planned for addition after the last bit of work and testing is complete. Stay tuned for an upcoming blog post with all the details of this change, along with instructions how to switch between RC and OpenRC. This is the most important change for me. I used TrueOS as an easy way to run the latest version of -CURRENT on my laptop, to use it as a user, but also to do development. When TrueOS deviates from FreeBSD too much, it lessens the power of my expertise, and complicates development and debugging. Being able to switch back to RC, even if it takes another minute to boot, will bring TrueOS back to being FreeBSD + GUI and more by default, instead of a science project. We need both of those things, so having the option, while more work for the TrueOS team, I think will be better for the entire community *** Logical Domains on SunFire T2000 with OpenBSD/sparc64 (http://www.h-i-r.net/2017/05/logical-domains-on-sunfire-t2000-with.html) A couple of years ago, I picked up a Sun Fire T2000. This is a 2U rack mount server. Mine came with four 146GB SAS drives, a 32-core UltraSPARC T1 CPU and 32GB of RAM. Sun Microsystems incorporated Logical Domains (LDOMs) on this class of hardware. You don't often need 32 threads and 32GB of RAM in a single server. LDOMs are a kind of virtualization technology that's a bit closer to bare metal than vmm, Hyper-V, VirtualBox or even Xen. It works a bit like Xen, though. You can allocate processor, memory, storage and other resources to virtual servers on-board, with a blend of firmware that supports the hardware allocation, and some software in userland (on the so-called primary or control domain, similar to Xen DomU) to control it. LDOMs are similar to what IBM calls Logical Partitions (LPARs) on its Mainframe and POWER series computers. My day job from 2006-2010 involved working with both of these virtualization technologies, and I've kind of missed it. While upgrading OpenBSD to 6.1 on my T2000, I decided to delve into LDOM support under OpenBSD. This was pretty easy to do, but let's walk through it Resources: The ldomctl(8) man page (http://man.openbsd.org/OpenBSD-current/man8/sparc64/ldomctl.8) tedu@'s write-up on Flak (for a different class of server) (http://www.tedunangst.com/flak/post/OpenBSD-on-a-Sun-T5120) A Google+ post by bmercer@ (https://plus.google.com/101694200911870273983/posts/jWh4rMKVq97) Once you get comfortable with the fact that there's a little-tiny computer (the ALOM) powered by VXWorks inside that's acting as the management system and console (there's no screen or keyboard/mouse input), Installing OpenBSD on the base server is pretty straightforward. The serial console is an RJ-45 jack, and, yes, the ubiquitous blue-colored serial console cables you find for certain kinds of popular routers will work fine. OpenBSD installs quite easily, with the same installer you find on amd64 and i386. I chose to install to /dev/sd0, the first SAS drive only, leaving the others unused. It's possible to set them up in a hardware RAID configuration using tools available only under Solaris, or use softraid(4) on OpenBSD, but I didn't do this. I set up the primary LDOM to use the first ethernet port, em0. I decided I wanted to bridge the logical domains to the second ethernet port. You could also use a bridge and vether interface, with pf and dhcpd to create a NAT environment, similar to how I networked the vmm(4) systems. Create an LDOM configuration file. You can put this anywhere that's convenient. All of this stuff was in a "vm" subdirectory of my home. I called it ldom.conf: domain primary { vcpu 8 memory 8G } domain puffy { vcpu 8 memory 4G vdisk "/home/axon/vm/ldom1" vnet } Make as many disk images as you want, and make as many additional domain clauses as you wish. Be mindful of system resources. I couldn't actually allocate a full 32GB of RAM across all the LDOMs I eventually provisioned seven LDOMs (in addition to the primary) on the T2000, each with 3GB of RAM and 4 vcpu cores. If you get creative with use of network interfaces, virtual ethernet, bridges and pf rules, you can run a pretty complex environment on a single chassis, with services that are only exposed to other VMs, a DMZ segment, and the internal LAN. A nice tutorial, and an interesting look at an alternative platform that was ahead of its time *** documentation is thoroughly hard (http://www.tedunangst.com/flak/post/documentation-is-thoroughly-hard) Ted Unangst has a new post this week about documentation: Documentation is good, so therefore more documentation must be better, right? A few examples where things may have gotten out of control A fine example is the old OpenBSD install instructions. Once you've installed OpenBSD once or twice, the process is quite simple, but you'd never know this based on reading the instructions. Compare the files for 4.8 INSTALL and 5.8 INSTALL. Both begin with a brief intro to the project. Then 4.8 has an enormous list of mirrors, which seems fairly redundant if you've already found the install file. Followed by an enormous list of every supported variant of every supported device. Including a table of IO port configurations for ISA devices. Finally, after 1600 lines of introduction we get to the actual installation instructions. (Compared to line 231 for 5.8.) This includes a full page of text about how to install from tape, which nobody ever does. It took some time to recognize that all this documentation was actually an impediment to new users. Attempting to answer every possible question floods the reader with information for questions they were never planning to ask. Part of the problem is how the information is organized. Theoretically it makes sense to list supported hardware before instructions. After all, you can't install anything if it's not supported, right? I'm sure that was considered when the device list was originally inserted above the install instructions. But as a practical matter, consulting a device list is neither the easiest nor fastest way to determine what actually works. In the FreeBSD docs tree, we have been doing a facelift project, trying to add ‘quick start' sections to each chapter to let you get to the more important information first. It is also helpful to move data in the forms of lists and tables to appendices or similar, where they can easily be references, but are not blocking your way to the information you are actually hunting for An example of nerdview signage (http://languagelog.ldc.upenn.edu/nll/?p=29866). “They have in effect provided a sign that will tell you exactly what the question is provided you can already supply the answer.” That is, the logical minds of technical people often decide to order information in an order that makes sense to them, rather than in the order that will be most useful to the reader In the end, I think “copy diskimage to USB and follow prompts” is all the instructions one should need, but it's hard to overcome the unease of actually making the jump. What if somebody is confused or uncertain? Why is this paragraph more redundant than that paragraph? (And if we delete both, are we cutting too much?) Sometimes we don't need to delete the information. Just hide it. The instructions to upgrade to 4.8 and upgrade to 5.8 are very similar, with a few differences because every release is a little bit different. The pages look very different, however, because the not at all recommended kernel free procedure, which takes up half the page, has been hidden from view behind some javascript and only expanded on demand. A casual browser will find the page and figure the upgrade process will be easy, as opposed to some long ordeal. This is important as well, it was my original motivation for working on the FreeBSD Handbook's ZFS chapter. The very first section of the chapter was the custom kernel configuration required to run ZFS on i386. That scared many users away. I moved that to the very end, and started with why you might want to use ZFS. Much more approachable. Sometimes it's just a tiny detail that's overspecified. The apmd manual used to explain exactly which CPU idle time thresholds were used to adjust frequency. Those parameters, and the algorithm itself, were adjusted occasionally in response to user feedback, but sometimes the man page lagged behind. The numbers are of no use to a user. They're not adjustable without recompiling. Knowing that the frequency would be reduced at 85% idle vs 90% idle doesn't really offer much guidance as to whether to enable auto scaling or not. Deleting this detail ensured the man page was always correct and spares the user the cognitive load of trying to solve an unnecessary math problem. For fun: For another humorous example, it was recently observed that the deja-dup package provides man page translations for Australia, Canada, and Great Britain. I checked, the pages are in fact not quite identical. Some contain typo fixes that didn't propagate to other translations. Project idea: attempt to identify which country has the most users, or most fastidious users, by bug fixes to localized man pages. lldb on BeagleBone Black (https://lists.freebsd.org/pipermail/freebsd-arm/2017-May/016260.html) I reliably managed to build (lldb + clang/lld) from the svn trunk of LLVM 5.0.0 on my Beaglebone Black running the latest snapshot (May 20th) of FreeBSD 12.0-CURRENT, and the lldb is working very well, and this includes single stepping and ncurses-GUI mode, while single stepping with the latest lldb 4.0.1 from the ports does not work. In order to reliably build LLVM 5.0.0 (svn), I set up a 1 GB swap partition for the BBB on a NFSv4 share on a FreeBSD fileserver in my network - I put a howto of the procedure on my BLog: https://obsigna.net/?p=659 The prerequesites on the Beaglebone are: ``` pkg install tmux pkg install cmake pkg install python pkg install libxml2 pkg install swig30 pkg install ninja pkg install subversion ``` On the FreeBSD fileserver: ``` /pathtothe/bbb_share svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm cd llvm/tools svn co http://llvm.org/svn/llvm-project/cfe/trunk clang svn co http://llvm.org/svn/llvm-project/lld/trunk lld svn co http://llvm.org/svn/llvm-project/lldb/trunk lldb ``` + On the Beaglebone Black: # mount_nfs -o noatime,readahead=4,intr,soft,nfsv4 server:/path_to_the/bbb_share /mnt # cd /mnt # mkdir build # cmake -DLLVM_TARGETS_TO_BUILD="ARM" -DCMAKE_BUILD_TYPE="MinSizeRel" -DLLVM_PARALLEL_COMPILE_JOBS="1" -DLLVM_PARALLEL_LINK_JOBS="1" -G Ninja .. I execute the actual build command from within a tmux session, so I may disconnect during the quite long (40 h) build: ``` tmux new "ninja lldb install" ``` When debugging in GUI mode using the newly build lldb 5.0.0-svn, I see only a minor issue, namely UTF8 strings are not displayed correctly. This happens in the ncurses-GUI only, and this is an ARM issue, since it does not occur on x86 machines. Perhaps this might be related to the signed/unsigned char mismatch between ARM and x86. Beastie Bits Triangle BSD Meetup on June 27th (https://www.meetup.com/Triangle-BSD-Users-Group/events/240247251/) Support for Controller Area Networks (CAN) in NetBSD (http://www.feyrer.de/NetBSD/bx/blosxom.cgi/nb_20170521_0113.html) Notes from Monday's meeting (http://mailman.uk.freebsd.org/pipermail/ukfreebsd/2017-May/014104.html) RunBSD - A site about the BSD family of operating systems (http://runbsd.info/) BSDCam(bridge) 2017 Travel Grant Application Now Open (https://www.freebsdfoundation.org/blog/bsdcam-2017-travel-grant-application-now-open/) New BSDMag has been released (https://bsdmag.org/download/nearly-online-zpool-switching-two-freebsd-machines/) *** Feedback/Questions Philipp - A show about byhve (http://dpaste.com/390F9JN#wrap) Jake - byhve Support on AMD (http://dpaste.com/0DYG5BD#wrap) CY - Pledge and Capsicum (http://dpaste.com/1YVBT12#wrap) CY - OpenSSL relicense Issue (http://dpaste.com/3RSYV23#wrap) Andy - Laptops (http://dpaste.com/0MM09EX#wrap) ***

BSD Now
191: I Know 64 & A Bunch More

BSD Now

Play Episode Listen Later Apr 26, 2017 126:58


We cover TrueOS/Lumina working to be less dependent on Linux, How the IllumOS network stack works, Throttling the password gropers & the 64 bit inode call for testing. This episode was brought to you by Headlines vBSDCon CFP closed April 29th (https://easychair.org/conferences/?conf=vbsdcon2017) EuroBSDCon CFP closes April 30th (https://2017.eurobsdcon.org/2017/03/13/call-for-proposals/) Developer Commentary: Philosophy, Evolution of TrueOS/Lumina, and Other Thoughts. (https://www.trueos.org/blog/developer-commentary-philosophy-evolution-trueoslumina-thoughts/) Philosophy of Development No project is an island. Every single project needs or uses some other external utility, library, communications format, standards compliance, and more in order to be useful. A static project is typically a dead project. A project needs regular upkeep and maintenance to ensure it continues to build and run with the current ecosystem of libraries and utilities, even if the project has no considerable changes to the code base or feature set. “Upstream” decisions can have drastic consequences on your project. Through no fault of yours, your project can be rendered obsolete or broken by changing standards in the global ecosystem that affect your project's dependencies. Operating system focus is key. What OS is the project originally designed for? This determines how the “upstream” dependencies list appears and which “heartbeat” to monitor. Evolution of PC-BSD, Lumina, and TrueOS. With these principles in mind – let's look at PC-BSD, Lumina, and TrueOS. PC-BSD : PC-BSD was largely designed around KDE on FreeBSD. KDE/Plasma5 has been available for Linux OS's for well over a year, but is still not generally available on FreeBSD. It is still tucked away in the experimental “area51” repository where people are trying to get it working first. Lumina : As a developer with PC-BSD for a long time, and a tester from nearly the beginning of the project, I was keenly aware the “winds of change” were blowing in the open-source ecosystem. TrueOS : All of these ecosystem changes finally came to a head for us near the beginning of 2016. KDE4 was starting to deteriorate underneath us, and the FreeBSD “Release” branch would never allow us to compete with the rate of graphics driver or standards changes coming out of the Linux camp. The Rename and Next Steps With all of these changes and the lack of a clear “upgrade” path from PC-BSD to the new systems, we decided it was necessary to change the project itself (name and all). To us, this was the only way to ensure people were aware of the differences, and that TrueOS really is a different kind of project from PC-BSD. Note this was not a “hostile takeover” of the PC-BSD project by rabid FreeBSD fanatics. This was more a refocusing of the PC-BSD project into something that could ensure longevity and reliability for the foreseeable future. Does TrueOS have bugs and issues? Of course! That is the nature of “rolling” with upstream changes all the time. Not only do you always get the latest version of something (a good thing), you also find yourself on the “front line” for finding and reporting bugs in those same applications (a bad thing if you like consistency or stability). What you are also seeing is just how much “churn” happens in the open-source ecosystem at any given time. We are devoted to providing our users (and ourselves – don't forget we use TrueOS every day too!) a stable, reliable, and secure experience. Please be patient as we continue striving toward this goal in the best way possible, not just doing what works for the moment, but the project's future too. Robert Mustacchi: Excerpts from The Soft Ring Cycle #1 (https://www.youtube.com/watch?v=vnD10WQ2930) The author of the “Turtles on the Wire” post we featured the other week, is back with a video. Joyent has started a new series of lunchtime technical discussions to share information as they grow their engineering team This video focuses on the network stack, how it works, and how it relates to virtualization and multi-tenancy Basically, how the network stack on IllumOS works when you have virtual tenants, be they virtual machines or zones The video describes the many layers of the network stack, how they work together, and how they can be made to work quickly It also talks about the trade-offs between high throughput and low latency How security is enforced, so virtual tenants cannot send packets into VLANs they are not members of, or receive traffic that they are not allowed to by the administrator How incoming packets are classified, and eventually delivered to the intended destination How the system decides if it has enough available resources to process the packet, or if it needs to be dropped How interface polling works on IllumOS (a lot different than on FreeBSD) Then the last 20 minutes are about how the qemu interface of the KVM hypervisor interfaces with the network stack We look forward to seeing more of these videos as they come out *** Forcing the password gropers through a smaller hole with OpenBSD's PF queues (http://bsdly.blogspot.com/2017/04/forcing-password-gropers-through.html) While preparing material for the upcoming BSDCan PF and networking tutorial (http://www.bsdcan.org/2017/schedule/events/805.en.html), I realized that the pop3 gropers were actually not much fun to watch anymore. So I used the traffic shaping features of my OpenBSD firewall to let the miscreants inflict some pain on themselves. Watching logs became fun again. The actual useful parts of this article follow - take this as a walkthrough of how to mitigate a wide range of threats and annoyances. First, analyze the behavior that you want to defend against. In our case that's fairly obvious: We have a service that's getting a volume of unwanted traffic, and looking at our logs the attempts come fairly quickly with a number of repeated attempts from each source address. I've written about the rapid-fire ssh bruteforce attacks and their mitigation before (and of course it's in The Book of PF) as well as the slower kind where those techniques actually come up short. The traditional approach to ssh bruteforcers has been to simply block their traffic, and the state-tracking features of PF let you set up overload criteria that add the source addresses to the table that holds the addresses you want to block. For the system that runs our pop3 service, we also have a PF ruleset in place with queues for traffic shaping. For some odd reason that ruleset is fairly close to the HFSC traffic shaper example in The Book of PF, and it contains a queue that I set up mainly as an experiment to annoy spammers (as in, the ones that are already for one reason or the other blacklisted by our spamd). The queue is defined like this: queue spamd parent rootq bandwidth 1K min 0K max 1K qlimit 300 yes, that's right. A queue with a maximum throughput of 1 kilobit per second. I have been warned that this is small enough that the code may be unable to strictly enforce that limit due to the timer resolution in the HFSC code. But that didn't keep me from trying. Now a few small additions to the ruleset are needed for the good to put the evil to the task. We start with a table to hold the addresses we want to mess with. Actually, I'll add two, for reasons that will become clear later: table persist counters table persist counters The rules that use those tables are: block drop log (all) quick from pass in quick log (all) on egress proto tcp from to port pop3 flags S/SA keep state (max-src-conn 2, max-src-conn-rate 3/3, overload flush global, pflow) set queue spamd pass in log (all) on egress proto tcp to port pop3 flags S/SA keep state (max-src-conn 5, max-src-conn-rate 6/3, overload flush global, pflow) The last one lets anybody connect to the pop3 service, but any one source address can have only open five simultaneous connections and at a rate of six over three seconds. The results were immediately visible. Monitoring the queues using pfctl -vvsq shows the tiny queue works as expected: queue spamd parent rootq bandwidth 1K, max 1K qlimit 300 [ pkts: 196136 bytes: 12157940 dropped pkts: 398350 bytes: 24692564 ] [ qlength: 300/300 ] [ measured: 2.0 packets/s, 999.13 b/s ] and looking at the pop3 daemon's log entries, a typical encounter looks like this: Apr 19 22:39:33 skapet spop3d[44875]: connect from 111.181.52.216 Apr 19 22:39:33 skapet spop3d[75112]: connect from 111.181.52.216 Apr 19 22:39:34 skapet spop3d[57116]: connect from 111.181.52.216 Apr 19 22:39:34 skapet spop3d[65982]: connect from 111.181.52.216 Apr 19 22:39:34 skapet spop3d[58964]: connect from 111.181.52.216 Apr 19 22:40:34 skapet spop3d[12410]: autologout time elapsed - 111.181.52.216 Apr 19 22:40:34 skapet spop3d[63573]: autologout time elapsed - 111.181.52.216 Apr 19 22:40:34 skapet spop3d[76113]: autologout time elapsed - 111.181.52.216 Apr 19 22:40:34 skapet spop3d[23524]: autologout time elapsed - 111.181.52.216 Apr 19 22:40:34 skapet spop3d[16916]: autologout time elapsed - 111.181.52.216 here the miscreant comes in way too fast and only manages to get five connections going before they're shunted to the tiny queue to fight it out with known spammers for a share of bandwidth. One important takeaway from this, and possibly the most important point of this article, is that it does not take a lot of imagination to retool this setup to watch for and protect against undesirable activity directed at essentially any network service. You pick the service and the ports it uses, then figure out what are the parameters that determine what is acceptable behavior. Once you have those parameters defined, you can choose to assign to a minimal queue like in this example, block outright, redirect to something unpleasant or even pass with a low probability. 64-bit inodes (ino64) Status Update and Call for Testing (https://lists.freebsd.org/pipermail/freebsd-fs/2017-April/024684.html) Inodes are data structures corresponding to objects in a file system, such as files and directories. FreeBSD has historically used 32-bit values to identify inodes, which limits file systems to somewhat under 2^32 objects. Many modern file systems internally use 64-bit identifiers and FreeBSD needs to follow suit to properly and fully support these file systems. The 64-bit inode project, also known as ino64, started life many years ago as a project by Gleb Kurtsou (gleb@). After that time several people have had a hand in updating it and addressing regressions, after mckusick@ picked up and updated the patch, and acted as a flag-waver. Overview : The ino64 branch extends the basic system types inot and devt from 32-bit to 64-bit, and nlink_t from 16-bit to 64-bit. Motivation : The main risk of the ino64 change is the uncontrolled ABI breakage. Quirks : We handled kinfo sysctl MIBs, but other MIBs which report structures depended on the changed type, are not handled in general. It was considered that the breakage is either in the management interfaces, where we usually allow ABI slip, or is not important. Testing procedure : The ino64 project can be tested by cloning the project branch from GitHub or by applying the patch to a working tree. New kernel, old world. New kernel, new world, old third-party applications. 32bit compat. Targeted tests. NFS server and client test Other filesystems Test accounting Ports Status with ino64 : A ports exp-run for ino64 is open in PR 218320. 5.1. LLVM : LLVM includes a component called Address Sanitizer or ASAN, which triesto intercept syscalls, and contains knowledge of the layout of many system structures. Since stat and lstat syscalls were removed and several types and structures changed, this has to be reflected in the ASAN hacks. 5.2. lang/ghc : The ghc compiler and parts of the runtime are written in Haskell, which means that to compile ghc, you need a working Haskell compiler for bootstrap. 5.3. lang/rust Rustc has a similar structure to GHC, and same issue. The same solution of patching the bootstrap was done. Next Steps : The tentative schedule for the ino64 project: 2017-04-20 Post wide call for testing : Investigate and address port failures with maintainer support 2017-05-05 Request second exp-run with initial patches applied : Investigate and address port failures with maintainer support 2017-05-19 Commit to HEAD : Address post-commit failures where feasible *** News Roundup Sing, beastie, sing! (http://meka.rs/blog/2017/01/25/sing-beastie-sing/) FreeBSD digital audio workstation, or DAW for short, is now possible. At this very moment it's not user friendly that much, but you'll manage. What I want to say is that I worked on porting some of the audio apps to FreeBSD, met some other people interested in porting audio stuff and became heavily involved with DrumGizmo - drum sampling engine. Let me start with the basic setup. FreeBSD doesn't have hard real-time support, but it's pretty close. For the needs of audio, FreeBSD's implementation of real-time is sufficient and, in my opinion, superior to the one you can get on Linux with RT path (which is ugly, not supported by distributions and breaks apps like VirtualBox). As default install of FreeBSD is concerned with real-time too much, we have to tweak sysctl a bit, so append this to your /etc/sysctl.conf: kern.timecounter.alloweddeviation=0 hw.usb.uaudio.buffer_ms=2 # only on -STABLE for now hw.snd.latency=0 kern.coredump=0 So let me go through the list. First item tells FreeBSD how many events it can aggregate (or wait for) before emitting them. The reason this is the default is because aggregating events saves power a bit, and currently more laptops are running FreeBSD than DAWs. Second one is the lowest possible buffer for USB audio driver. If you're not using USB audio, this won't change a thing. Third one has nothing to do with real-time, but dealing with programs that consume ~3GB of RAM, dumping cores around made a problem on my machine. Besides, core dumps are only useful if you know how to debug the problem, or someone is willing to do that for you. I like to not generate those files by default, but if some app is constantly crashing, I enable dumps, run the app, crash it, and disable dumps again. I lost 30GB in under a minute by examining 10 different drumkits of DrumGizmo and all of them gave me 3GB of core file, each. More setup instructions follow, including jackd setup and PulseAudio using virtual_oss. With this setup I can play OSS, JACK and PulseAudio sound all at the same time, which I was not able to do on Linux. FreeBSD 11 Unbound DNS server (https://itso.dk/?p=499) In FreeBSD, there is a built-in DNS server called Unbound. So why would run a local DNS server? I am in a region where internet traffic is still a bit expensive, that also implies slow, and high response times. To speed that a up a little, you can use own DNS server. It will speed up because for every homepage you visit, there will be several hooks to other domains: commercials, site components, and links to other sites. These, will now all be cached locally on your new DNS server. In my case I use an old PC-Engine Alix board for my home DNS server, but you can use almost everything, Raspberry Pi, old laptop/desktop and others. As long as it runs FreeBSD. Goes into more details about what commands to run and which services to start Try it out if you are in a similar situation *** Why it is important that documentation and tutorials be correct and carefully reviewed (https://arxiv.org/pdf/1704.02786.pdf) A group of researchers found that a lot of online web programming tutorials contain serious security flaws. They decided to do a research project to see how this impacts software that is written possibly based on those tutorials. They used a number of simple google search terms to make a list of tutorials, and manually audited them for common vulnerabilities. They then crawled GitHub to find projects with very similar code snippets that might have been taken from those tutorials. The Web is replete with tutorial-style content on how to accomplish programming tasks. Unfortunately, even top-ranked tutorials suffer from severe security vulnerabilities, such as cross-site scripting (XSS), and SQL injection (SQLi). Assuming that these tutorials influence real-world software development, we hypothesize that code snippets from popular tutorials can be used to bootstrap vulnerability discovery at scale. To validate our hypothesis, we propose a semi-automated approach to find recurring vulnerabilities starting from a handful of top-ranked tutorials that contain vulnerable code snippets. We evaluate our approach by performing an analysis of tens of thousands of open-source web applications to check if vulnerabilities originating in the selected tutorials recur. Our analysis framework has been running on a standard PC, analyzed 64,415 PHP codebases hosted on GitHub thus far, and found a total of 117 vulnerabilities that have a strong syntactic similarity to vulnerable code snippets present in popular tutorials. In addition to shedding light on the anecdotal belief that programmers reuse web tutorial code in an ad hoc manner, our study finds disconcerting evidence of insufficiently reviewed tutorials compromising the security of open-source projects. Moreover, our findings testify to the feasibility of large-scale vulnerability discovery using poorly written tutorials as a starting point The researchers found 117 vulnerabilities, of these, at least 8 appear to be nearly exact copy/pastes of the tutorials that were found to be vulnerable. *** 1.3.0 Development Preview: New icon themes (https://lumina-desktop.org/1-3-0-development-preview-new-icon-themes/) As version 1.3.0 of the Lumina desktop starts getting closer to release, I want to take a couple weeks and give you all some sneak peaks at some of the changes/updates that we have been working on (and are in the process of finishing up). New icon theme (https://lumina-desktop.org/1-3-0-development-preview-new-icon-themes/) Material Design Light/Dark There are a lot more icons available in the reference icon packs which we still have not gotten around to renaming yet, but this initial version satisfies all the XDG standards for an icon theme + all the extra icons needed for Lumina and it's utilities + a large number of additional icons for application use. This highlights one the big things that I love about Lumina: it gives you an interface that is custom-tailored to YOUR needs/wants – rather than expecting YOU to change your routines to accomodate how some random developer/designer across the world thinks everybody should use a computer. Lumina Media Player (https://lumina-desktop.org/1-3-0-development-preview-lumina-mediaplayer/) This is a small utility designed to provide the ability for the user to play audio and video files on the local system, as well as stream audio from online sources. For now, only the Pandora internet radio service is supported via the “pianobar” CLI utility, which is an optional runtime dependency. However, we hope to gradually add new streaming sources over time. For a long time I had been using another Pandora streaming client on my TrueOS desktop, but it was very fragile with respect to underlying changes: LibreSSL versions for example. The player would regularly stop functioning for a few update cycles until a version of LibreSSL which was “compatible” with the player was used. After enduring this for some time, I was finally frustrated enough to start looking for alternatives. A co-worker pointed me to a command-line utility called “pianobar“, which was also a small client for Pandora radio. After using pianobar for a couple weeks, I was impressed with how stable it was and how little “overhead” it required with regards to extra runtime dependencies. Of course, I started thinking “I could write a Qt5 GUI for that!”. Once I had a few free hours, I started writing what became lumina-mediaplayer. I started with the interface to pianobar itself to see how complicated it would be to interact with, but after a couple days of tinkering in my spare time, I realized I had a full client to Pandora radio basically finished. Beastie Bits vBSDCon CFP closes April 29th (https://easychair.org/conferences/?conf=vbsdcon2017) EuroBSDCon CFP closes April 30th (https://2017.eurobsdcon.org/2017/03/13/call-for-proposals/) clang(1) added to base on amd64 and i386 (http://undeadly.org/cgi?action=article&sid=20170421001933) Theo: “Most things come to an end, sorry.” (https://marc.info/?l=openbsd-misc&m=149232307018311&w=2) ASLR, PIE, NX, and other capital letters (https://www.dragonflydigest.com/2017/04/24/19609.html) How SSH got port number 22 (https://www.ssh.com/ssh/port) Netflix Serving 90Gb/s+ From Single Machines Using Tuned FreeBSD (https://news.ycombinator.com/item?id=14128637) Compressed zfs send / receive lands in FreeBSD HEAD (https://svnweb.freebsd.org/base?view=revision&revision=317414) *** Feedback/Questions Steve - FreeBSD Jobs (http://dpaste.com/3QSMYEH#wrap) Mike - CuBox i4Pro (http://dpaste.com/0NNYH22#wrap) Steve - Year of the BSD Desktop? (http://dpaste.com/1QRZBPD#wrap) Brad - Configuration Management (http://dpaste.com/2TFV8AJ#wrap) ***

Monos del Espacio
EPISODIO PILOTO en directo: Especial XIAOMI MI5 con ELCAMELLOGEEK

Monos del Espacio

Play Episode Listen Later Mar 13, 2016 30:01


Emilio nos ayuda a descubrir las bondades y puntos débiles del nuevo buque insignia de Xiaomi. El Xiaomi Mi5 que en éste caso se trata del modelo de 3Gb de RAM y 64 de almacenamiento. Se trata de nuestro primer episodio en directo así que esperamos que disculpéis nuestra inexperiencia. Esperamos vuestras opiniones. Gracias!