<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>Linux &#8211; Greg Laden&#039;s Blog</title>
	<atom:link href="https://gregladen.com/blog/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://gregladen.com/blog</link>
	<description></description>
	<lastBuildDate>Thu, 22 Jun 2023 15:17:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.8</generator>

<image>
	<url>https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2017/10/Greg_Ladens_Blog_Favicon_black_GLb.png?fit=32%2C32&#038;ssl=1</url>
	<title>Linux &#8211; Greg Laden&#039;s Blog</title>
	<link>https://gregladen.com/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">77525483</site>	<item>
		<title>Linux Context Menu Image Manipulation (KDE)</title>
		<link>https://gregladen.com/blog/2023/05/18/linux-context-menu-image-manipulation-kde/</link>
					<comments>https://gregladen.com/blog/2023/05/18/linux-context-menu-image-manipulation-kde/#respond</comments>
		
		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Thu, 18 May 2023 12:20:13 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Context Menu]]></category>
		<category><![CDATA[Image Resize]]></category>
		<category><![CDATA[Image Rotate]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[right click]]></category>
		<guid isPermaLink="false">https://gregladen.com/blog/?p=35114</guid>

					<description><![CDATA[Having recently revived and updated my KDE Linux install, I went looking for the context menu to manipulate images. This tool makes life easier. Like when you want to toss an image into your blog post, but WordPress complains it is too large, it is nice to be able to simply right click on the &#8230; <a href="https://gregladen.com/blog/2023/05/18/linux-context-menu-image-manipulation-kde/" class="more-link">Continue reading <span class="screen-reader-text">Linux Context Menu Image Manipulation (KDE)</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Having recently revived and updated my KDE Linux install, I went looking for the context menu to manipulate images.  This tool makes life easier. Like when you want to toss an image into your blog post, but WordPress complains it is too large, it is nice to be able to simply right click on the image and in a click or two resize it (or rotate it, or maybe do other things to it).  Historically there was a tool called KIM (KDE Image Management) that did this, but this seems to be no longer maintained and is not that easy to install. <a href="https://www.egregorion.net/">Instead, install &#8220;ReImage&#8221; from KDE Services Menu.</a> Look for the &#8220;deb&#8221; link on that page if deb is your preferred install method. There is also a tar file there for other architectures.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://gregladen.com/blog/2023/05/18/linux-context-menu-image-manipulation-kde/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">35114</post-id>	</item>
		<item>
		<title>NOAA Gets Cool New Computers</title>
		<link>https://gregladen.com/blog/2020/02/20/noaa-gets-cool-new-computers/</link>
					<comments>https://gregladen.com/blog/2020/02/20/noaa-gets-cool-new-computers/#respond</comments>
		
		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Thu, 20 Feb 2020 22:24:03 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[modeling]]></category>
		<category><![CDATA[NOAA]]></category>
		<category><![CDATA[Weather]]></category>
		<guid isPermaLink="false">https://gregladen.com/blog/?p=32684</guid>

					<description><![CDATA[NOAA will be adding two new Cray computers (one operational and one backup) to replace existing hardware used in weather forecasting. According to a press release, &#8220;the computers — each with a 12 petaflop capacity — will be operational and ready to implement model upgrades by early 2022 after a period of code migration and &#8230; <a href="https://gregladen.com/blog/2020/02/20/noaa-gets-cool-new-computers/" class="more-link">Continue reading <span class="screen-reader-text">NOAA Gets Cool New Computers</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>NOAA will be adding two new Cray computers (one operational and one backup) to replace existing hardware used in weather forecasting.  According to a press release, &#8220;the computers — each with a 12 petaflop capacity — will be operational and ready to implement model upgrades by early 2022 after a period of code migration and testing. They will replace the existing Cray and Dell systems, &#8220;Luna&#8221; and &#8220;Mars&#8221; in Reston, Virginia, and &#8220;Surge&#8221; and &#8220;Venus&#8221; in Orlando, Florida.&#8221;</p>
<p>When combined with other hardware that will remain in use, the total capacity will rise to 40 petaflops.  (A petaflop is a measure of computing speed equal to one thousand million million (10<sup>15</sup>) floating-point operations per second.)  Given upgrades in storage and connectivity, and this increasing computing power, there will be a noticeable increase in resolution  and other features of NOAA&#8217;s modeling of earth systems.</p>
<p><img fetchpriority="high" decoding="async" data-attachment-id="32685" data-permalink="https://gregladen.com/blog/2020/02/20/noaa-gets-cool-new-computers/0006869-retractable-sharpie-pen-black/" data-orig-file="https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2020/02/0006869-retractable-sharpie-pen-black.jpg?fit=1280%2C1280&amp;ssl=1" data-orig-size="1280,1280" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="0006869-retractable-sharpie-pen-black" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2020/02/0006869-retractable-sharpie-pen-black.jpg?fit=300%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2020/02/0006869-retractable-sharpie-pen-black.jpg?fit=604%2C604&amp;ssl=1" src="https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2020/02/0006869-retractable-sharpie-pen-black-300x300.jpg?resize=300%2C300" alt="" width="300" height="300" class="alignright size-medium wp-image-32685" srcset="https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2020/02/0006869-retractable-sharpie-pen-black.jpg?resize=300%2C300&amp;ssl=1 300w, https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2020/02/0006869-retractable-sharpie-pen-black.jpg?resize=650%2C650&amp;ssl=1 650w, https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2020/02/0006869-retractable-sharpie-pen-black.jpg?resize=500%2C500&amp;ssl=1 500w, https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2020/02/0006869-retractable-sharpie-pen-black.jpg?resize=768%2C768&amp;ssl=1 768w, https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2020/02/0006869-retractable-sharpie-pen-black.jpg?w=1280&amp;ssl=1 1280w, https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2020/02/0006869-retractable-sharpie-pen-black.jpg?w=1208&amp;ssl=1 1208w" sizes="(max-width: 300px) 100vw, 300px" data-recalc-dims="1" />There is a rumor that the Trump Whitehouse plans to sell off the hardware to some friends who live out near the airport in Queens, and replace it with lower grade equipment that Trump claims works just as well (see illustration).</p>
<p>Though the press release does not give details, a spokesperson for NOAA just informed me that these computers will run the Linux operating system.  I had assumed so, but wanted to check.  Linux is the standard operating system for super computers, because it is a super operating system.  Nobody wants to see the Blue Screen of Death in the middle of their tornado warning.</p>
<p>Specifically, the computers will run the Cray Shasta Linux Environment.   This is a high performance suit designed to run large and complex applications on more than a half a million cores, with docker container support, and the robust Cray system management support including staged upgrading capabilities and the low overhead Cray system snapshot analyze.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://gregladen.com/blog/2020/02/20/noaa-gets-cool-new-computers/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">32684</post-id>	</item>
		<item>
		<title>Things To Do After Installing Xubuntu or XFCE</title>
		<link>https://gregladen.com/blog/2019/10/24/things-to-do-after-installing-xubuntu-or-xfce/</link>
					<comments>https://gregladen.com/blog/2019/10/24/things-to-do-after-installing-xubuntu-or-xfce/#comments</comments>
		
		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Thu, 24 Oct 2019 21:55:14 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[desktops]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Xfce]]></category>
		<guid isPermaLink="false">https://gregladen.com/blog/?p=32424</guid>

					<description><![CDATA[One: set up Dropbox and, as it syncs your files from the cloud, go outside and mow your lawn or rake your leaves. Two: Start using your computer. Three: Cancel the order for the new laptop because your old laptop is faster now. You may have been expecting one of those posts that tell you &#8230; <a href="https://gregladen.com/blog/2019/10/24/things-to-do-after-installing-xubuntu-or-xfce/" class="more-link">Continue reading <span class="screen-reader-text">Things To Do After Installing Xubuntu or XFCE</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p><strong>One:</strong> set up Dropbox and, as it syncs your files from the cloud, go outside and mow your lawn or rake your leaves.</p>
<p><strong>Two:</strong> Start using your computer.</p>
<p><strong>Three:</strong> Cancel the order for the new laptop because your old laptop is faster now.</p>
<p>You may have been expecting one of those posts that tell you the &#8220;ten things to do after installing [Linux Distribution]&#8221; but this ain&#8217;t it. In fact, for the most part, those posts have become fairly useless. Consider these &#8220;things to do&#8221;:<span id="more-32424"></span></p>
<p><em>Update your system.</p>
<p>Turn on &#8220;install third party yadada&#8221;</p>
<p>Install the software you like</em></p>
<p>For the most part, anyone installing some version of Linux knows about updating, the part about &#8220;third party drivers&#8221; is in the install sequence as a checkbox in every distribution known to humankind, and why does anyone have to be told to install the software they like?</p>
<p>But, now that I&#8217;ve got your attention, I want to put in a plug for XFCE, and for your trouble, I&#8217;ll give you a really cool tip or two.</p>
<p>You&#8217;ve heard of the &#8220;<a target="_blank" href="https://www.amazon.com/gp/product/1555582737/ref=as_li_tl?ie=UTF8&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1555582737&#038;linkCode=as2&#038;tag=grlasbl0a-20&#038;linkId=36e258af292c34165674fea04223b9b0" rel="noopener noreferrer">Linux and the Unix Philosophy</a><img decoding="async" src="//ir-na.amazon-adsystem.com/e/ir?t=grlasbl0a-20&#038;l=am2&#038;o=1&#038;a=1555582737" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />&#8220;.  Let me tell you my Linux Philosophy. Use any updated Linux system you want, to get an efficient, reliable, and secure operating system.  But, at the local, &#8220;<a href="https://gregladen.com/blog/2018/06/28/computer-terms-definitions-d/">desktop</a>&#8221; level here is what I want: I want workspaces (usually four) with a workspace pager that shows me a thumbnail of the workspace, and ctrl-alt arrow switching between workspaces and alt-tab switching between apps on a desktop.</p>
<p>That is how all the original Linux desktops worked in the old days, or mostly anyway.  But Ubuntu with its strange ways and Unity desktop gave permission for other desktops, including Gnome, to destroy these features.  Mate (pronounced &#8220;Matt eh&#8221;) has it, and it can be configured with a little work in KDE. Gnome 3.X not only does not have these features, but trying to simulate them is impossible even with the gazillion enhancements you can get for Gnome, and if you find some way to do it in Gnome, there is an 80% chance that way will break before long because Gnome Extensions generally disappear or become so badly maintained that they become bugs and have to be turned off.</p>
<p>I stopped using Mate when I found out that the maintainers are unmitigated assholes, and have no real interest in making sure their desktop works. KDE is nice, and I used it for a long time, but then I discovered that it is a little too cute for its pants in relation to, possibly, how Java works with some of it, and the moment the KDE experts suggested that I fix a certain problem by re-installing the OS (one of the reasons I left Windows &#8230; that need NEVER be an option) I got rid of KDE as well. (I still recommend it, and frankly, I still recommend Mate, I just feel personally bad about it.)</p>
<p>Several years ago, I used Xfce on several computers, and often on older laptops. But it was a distribution that couldn&#8217;t always be trusted to be installed without a lot of tweaking.  Last time I installed it on a laptop, about three or four years ago, the installation would not recognize my network, and in order to get the network going, I needed to install something from the network. A true Linux expert could have worked around that, but I&#8217;m one of those dilettantes who has to look up half the cli commands I use every time. That was about the time I switched to Matt-eh.</p>
<p>But then, Xfce released its latest desktop, the first major revision in, literally, years.</p>
<p>Replacing KDE on my old laptop cut boot time from just over three minutes to just over two minutes.  Replacing Gnome 3.5 on my desktop made me stop throwing my shoes at the computer. It sings, and it acts like a good Linux desktop is supposed to act.</p>
<p>So, I recommend you give Xfce a try.  Simple, no frills, highly efficient, works.</p>
<p>I recommend the Greybird theme because it handles mouse dragging better than the other themes and is not dark. If you like a dark theme, I&#8217;m sure you&#8217;ll find what you need out there, bring a flashlight.</p>
<p>Here&#8217;s a trick: Put a picture in a folder and name it folder.jpg. That picture will become the picture used as the icon for the folder. (These all work: folder.jpg, cover.jpg, albumart.jpg, or fanart.jpg.)</p>
<p>Find and discover Catfish, the Xfce file finding program. It is pretty good.</p>
<p>Finally, I should mention this.  Xfce as a desktop uses less in the way of computer resources than KDE as a desktop. But, Xubutnu (the Ubuntu flavor that has Xfce as its desktop) does not necessarily do so.  They use about the same in that comparison.  Putting SFCE or KDE on top of an efficient distro uses fewer resources than the same desktops on any Ubuntu base, since Ubuntu is inherently less efficient for reasons that I can&#8217;t explain.  For the most efficient desktop, maybe install Debian with Xfce.  But, you will need to tweak, most likely.</p>
<p><a href="https://xubuntu.org/download/">Here is where you get xubuntu.</a></p>
<p><a href="https://xfce.org/">The main web page for Xfce is here. </a></p>
<p>The name &#8220;Xfce&#8221; comes from &#8220;Common Desktop Environment:&#8221; an ancient Linux concept dating to 1996.  CDE was proprietary and for use with early Unix systems. Xfce forked off and was originally for &#8220;XForms COmmon Environment&#8221; (XForms was an early GUI toolkit for X window systems.)  Now, Xfcd does not stand for anything formally, but unofficially means &#8220;X Freakin&#8217; Cool Environment&#8221; or Cholesterol Free Desktop Environment, which makes, obviously, no sense.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://gregladen.com/blog/2019/10/24/things-to-do-after-installing-xubuntu-or-xfce/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">32424</post-id>	</item>
		<item>
		<title>How to extract pages from a PDF file</title>
		<link>https://gregladen.com/blog/2019/03/03/how-to-extract-pages-from-a-pdf-file/</link>
					<comments>https://gregladen.com/blog/2019/03/03/how-to-extract-pages-from-a-pdf-file/#respond</comments>
		
		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Sun, 03 Mar 2019 22:52:35 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[extract PDF]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PDF]]></category>
		<guid isPermaLink="false">https://gregladen.com/blog/?p=31690</guid>

					<description><![CDATA[If you have a PDF file and need to extract a subset of pages, creating a new PDF file with those pages in it, you can do that. I like PDF Lab&#8216;s PDFtk aka PDF toolkit. This is not OpenSource and there is both a non free pro and free version of it. I&#8217;ve tried &#8230; <a href="https://gregladen.com/blog/2019/03/03/how-to-extract-pages-from-a-pdf-file/" class="more-link">Continue reading <span class="screen-reader-text">How to extract pages from a PDF file</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>If you have a PDF file and need to extract a subset of pages, creating a new PDF file with those pages in it, you can do that.</p>
<p>I like <a href="https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/">PDF Lab</a>&#8216;s PDFtk aka PDF toolkit.  This is not OpenSource and there is both a non free pro and free version of it.  I&#8217;ve tried the free version (example below) and was impressed. Next time I need to do a lot of PDF work I&#8217;ll probably fork out the 399 for the pro version. (That&#8217;s 399 pennies, quite cheap. It is developed by Sid Steward, the author of <a target="_blank" href="https://www.amazon.com/gp/product/0596006551/ref=as_li_tl?ie=UTF8&#038;camp=1789&#038;creative=9325&#038;creativeASIN=0596006551&#038;linkCode=as2&#038;tag=grlasbl0a-20&#038;linkId=fb14cd018f281ac5b4c2d4f4cd08ecc5">PDF Hacks: 100 Industrial-Strength Tips &amp; Tools</a><img decoding="async" src="//ir-na.amazon-adsystem.com/e/ir?t=grlasbl0a-20&#038;l=am2&#038;o=1&#038;a=0596006551" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />.</p>
<p>So, for example, I can get pages 11-20 of a larger file called big.pdf extracted into a smaller file called extracted.pdf like this:</p>
<p><code>pdftk A=bigpdf cat A11-20 output extracted.pdf</code></p>
<p>That line of code makes almost no sense to me, but it works.</p>
<p>I learned about this tip at a <a href="https://www.linuxjournal.com/content/tech-tip-extract-pages-pdf">Linux Journal Tech Tip page on extracting pages from a PDF</a>, where you will find several other approaches.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://gregladen.com/blog/2019/03/03/how-to-extract-pages-from-a-pdf-file/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">31690</post-id>	</item>
		<item>
		<title>A Guide To Using Command Line Tools</title>
		<link>https://gregladen.com/blog/2019/02/16/a-guide-to-using-command-line-tools/</link>
					<comments>https://gregladen.com/blog/2019/02/16/a-guide-to-using-command-line-tools/#respond</comments>
		
		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Sat, 16 Feb 2019 19:55:19 +0000</pubDate>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Book review]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">https://gregladen.com/blog/?p=31607</guid>

					<description><![CDATA[There are a lot of books out there to help you learn command line tools, and of course, they mostly cover the same things because there is a fixed number of things you need to learn to get started down this interesting and powerful path. Small, Sharp, Software Tools: Harness the Combinatoric Power of Command-Line &#8230; <a href="https://gregladen.com/blog/2019/02/16/a-guide-to-using-command-line-tools/" class="more-link">Continue reading <span class="screen-reader-text">A Guide To Using Command Line Tools</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>There are a lot of books out there to help you learn command line tools, and of course, they mostly cover the same things because there is a fixed number of things you need to learn to get started down this interesting and powerful path.</p>
<p><strong><a target="_blank" href="https://www.amazon.com/gp/product/1680502964/ref=as_li_tl?ie=UTF8&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1680502964&#038;linkCode=as2&#038;tag=grlasbl0a-20&#038;linkId=ab07e90c06b92b8c7c702fc0b1e1dc01">Small, Sharp, Software Tools: Harness the Combinatoric Power of Command-Line Tools and Utilities</a><img loading="lazy" decoding="async" src="//ir-na.amazon-adsystem.com/e/ir?t=grlasbl0a-20&#038;l=am2&#038;o=1&#038;a=1680502964" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></strong> by Brian P. Hogan is the latest iteration (not quite in press yet but any second now) of one such book.</p>
<p>I really like Hogan&#8217;s book.  Here&#8217;s what you need to know about it.</p>
<p>First, and this will only matter to some but is important, the book does cover using CLI tools across platforms (Linux, Mac, Windows) in the sense that it helps get you set up to use the bash command line system on all three.</p>
<p>Second, this book is does a much better than average job as a tutorial, rather than just as a reference manual, than most other books I&#8217;ve seen. You can work from start to finish, with zero knowledge at the start, follow the examples (using the provided files that you are guided to download using command line tools!) and become proficient very comfortably and reasonably quickly.  The topic are organized in such a way that you can probably skip chapters that interest you less (but don&#8217;t skip the first few).</p>
<p>Third, the book does give interesting esoteric details here and there, but the author seems not compelled to obsessively fill your brain with entirely useless knowledge such as how many arguments the POSIX standard hypothetically allows on a command line (is it 512 or 640? No one seems to remember) as some other books do.</p>
<p>I found <a target="_blank" href="https://www.amazon.com/gp/product/1680502964/ref=as_li_tl?ie=UTF8&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1680502964&#038;linkCode=as2&#038;tag=grlasbl0a-20&#038;linkId=b9822505e3d67378846255fe73736871">Small, Sharp, Software Tools</a><img loading="lazy" decoding="async" src="//ir-na.amazon-adsystem.com/e/ir?t=grlasbl0a-20&#038;l=am2&#038;o=1&#038;a=1680502964" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> a very comfortable, straight forward, well organized, accurate read from Pragmatic.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://gregladen.com/blog/2019/02/16/a-guide-to-using-command-line-tools/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">31607</post-id>	</item>
		<item>
		<title>Writing Secure Shell Scripts</title>
		<link>https://gregladen.com/blog/2019/02/14/writing-secure-shell-scripts/</link>
					<comments>https://gregladen.com/blog/2019/02/14/writing-secure-shell-scripts/#respond</comments>
		
		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Fri, 15 Feb 2019 02:15:27 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[shell scripts]]></category>
		<guid isPermaLink="false">https://gregladen.com/blog/?p=31599</guid>

					<description><![CDATA[If you write shell scrips, you should check out Dave Taylor&#8217;s latest article in Linux Journal. He gives key examples of what can go wrong if you don&#8217;t pay attention to certain things. For example, if you have a dot in (especially at the start of) your PATH variable, you risk running a Trojan horse &#8230; <a href="https://gregladen.com/blog/2019/02/14/writing-secure-shell-scripts/" class="more-link">Continue reading <span class="screen-reader-text">Writing Secure Shell Scripts</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>If you write shell scrips, you should check out Dave Taylor&#8217;s latest article in Linux Journal.</p>
<p>He gives key examples of what can go wrong if you don&#8217;t pay attention to certain things.</p>
<p>For example, if you have a dot in (especially at the start of) your PATH variable, you risk running a Trojan horse that snuck sneakily into your /tmp directory.  If you want the dot, put it last.</p>
<p>Anyway, a simple straight forward article with a few pieces of good advice: <a href="https://www.linuxjournal.com/content/writing-secure-shell-scripts"><strong>Writing Secure Shell Scripts</strong></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://gregladen.com/blog/2019/02/14/writing-secure-shell-scripts/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">31599</post-id>	</item>
		<item>
		<title>Practical Binary Analysis: Book Review</title>
		<link>https://gregladen.com/blog/2019/01/25/practical-binary-analysis-book-review/</link>
					<comments>https://gregladen.com/blog/2019/01/25/practical-binary-analysis-book-review/#respond</comments>
		
		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Sat, 26 Jan 2019 01:51:05 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Binary Analysis]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[programming]]></category>
		<guid isPermaLink="false">https://gregladen.com/blog/?p=31419</guid>

					<description><![CDATA[A computer program is like a memo. Often, a vague memo. You are the boss. You want a pile of files to be put away. You could do it yourself, but instead you instruct someone else to do it. There are a lot of them and they are all mixed up. So you write a &#8230; <a href="https://gregladen.com/blog/2019/01/25/practical-binary-analysis-book-review/" class="more-link">Continue reading <span class="screen-reader-text">Practical Binary Analysis: Book Review</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>A computer program is like a memo.  Often, a vague memo.</p>
<p>You are the boss. You want a pile of files to be put away. You could do it yourself, but instead you instruct someone else to do it.  There are a lot of them and they are all mixed up. So you write a memo to an employee that says &#8220;put the files away&#8221; and sis-bam-boom you&#8217;re all set.</p>
<p>Or are you? <span id="more-31419"></span></p>
<p>It turns out that the files fall into four categories, each associated with a different set of file cabinets.  All the files have labels with words and numbers on them.  One set is filed alphabetically.  Two sets are filed by the number that is on the label. The fourth set are stacked in an outbox in any order where they are to be processed by someone else at a later time.</p>
<p>So, if you just say, &#8220;file these&#8221; a lot of things can go wrong, unless he person who gets the memo knows what to do.</p>
<p>Your memo could read &#8220;Find the person who knows how to file stuff. Then have that person file these files properly.&#8221; In a computer language, that is a little like loading a library then using instructions from that library to carryout a task in a specific way.</p>
<p><code># file.py<br />
import alpha-numeric-filing as fileit</p>
<p>def main():<br />
     files.fileit(file)</code></p>
<p>&#8230; or code to that effect.</p>
<p>The point is, telling your underlings to do something only works if the underlings do it correctly.  This is also true with computers, where a line of code seems to be instructing the processor, way down deep in the hardware, to do a certain thing, but it may or may not be actually doing that thing.</p>
<p>Computers are famous for making strange and unexpected (to the non-expert) calculations.  For example, a computer will calculate the base 10 log of 2 as 0.000029995663981195 off of the actual number because of the way numbers are represented and manipulated inside the machine. So when you ask for that value in a computer program, you are making an incorrect assumption if you think it is being done correctly.</p>
<p><img loading="lazy" decoding="async" data-attachment-id="31422" data-permalink="https://gregladen.com/blog/2019/01/25/practical-binary-analysis-book-review/practicalbinaryanalysis_full/" data-orig-file="https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2019/01/PracticalBinaryAnalysis_full.png?fit=226%2C409&amp;ssl=1" data-orig-size="226,409" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="PracticalBinaryAnalysis_full" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2019/01/PracticalBinaryAnalysis_full.png?fit=166%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2019/01/PracticalBinaryAnalysis_full.png?fit=226%2C409&amp;ssl=1" src="https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2019/01/PracticalBinaryAnalysis_full.png?resize=226%2C409" alt="" width="226" height="409" class="alignright size-full wp-image-31422" srcset="https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2019/01/PracticalBinaryAnalysis_full.png?w=226&amp;ssl=1 226w, https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2019/01/PracticalBinaryAnalysis_full.png?resize=166%2C300&amp;ssl=1 166w" sizes="(max-width: 226px) 100vw, 226px" data-recalc-dims="1" />That is a known mathematical phenomenon and not of consequence to most people or most programs, but there may be other issues that are more important and even less predicted. Like the filing problem mentioned above, there may be assumptions built into the deeper level operation of a computer program or script once it is complied or interpreted, linked up with other software it works with, and deployed on this or that machine.  This is the difference between working in the area of written code including uncompiled programs or scripts and the deeper binary code that is created by the software that interprets or complies your program.</p>
<p><a target="_blank" href="https://www.amazon.com/gp/product/1593279124/ref=as_li_tl?ie=UTF8&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1593279124&#038;linkCode=as2&#038;tag=grlasbl0a-20&#038;linkId=e588fe2566dac583745dd23aa94ee955">Practical Binary Analysis: Build Your Own Linux Tools for Binary Instrumentation, Analysis, and Disassembly</a><img loading="lazy" decoding="async" src="//ir-na.amazon-adsystem.com/e/ir?t=grlasbl0a-20&#038;l=am2&#038;o=1&#038;a=1593279124" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> by Dennis Andriesse (with a foreword by Herbert Bos) is a guide to looking into the binaries created by application-making software. This is a set of approaches to delve into the space in which malware may lurk, bugs may flourish almost invisibly, and inefficiencies may wreak their slow and ponderous havoc.</p>
<p>The book teaches how to:</p>
<li>Parse ELF and PE binaries and build a binary loader with libbfd</li>
<li>Use data-flow analysis techniques like program tracing, slicing, and reaching definitions analysis to reason about runtime flow of your programs</li>
<li>Modify ELF binaries with techniques like parasitic code injection and hex editing</li>
<li>Build custom disassembly tools with Capstone</li>
<li>Use binary instrumentation to circumvent anti-analysis tricks commonly used by malware</li>
<li>Apply taint analysis to detect control hijacking and data leak attacks</li>
<li>Use symbolic execution to build automatic exploitation tools</li>
<p>The most important way in which this book will change your life is that it will allow you to analyze binaries more automatically and with less manual work.</p>
<p>I can not truly evaluate this book because this is way beyond, or maybe, way below (as in down deep in the abyss of computer science where I assume small gnomes still write all the assembler language) my understanding of thing. But the book gains great praise from others, and is a brand new edition.</p>
<p>Dennis Andriesse has a Ph.D. in system and network security and uses binary analysis daily in his research. He is one of the main contributors to PathArmor, a Control-Flow Integrity system that defends against control-flow hijacking attacks such as ROP. Andriesse was also one of the attack developers involved in the takedown of the GameOver Zeus P2P botnet.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://gregladen.com/blog/2019/01/25/practical-binary-analysis-book-review/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">31419</post-id>	</item>
		<item>
		<title>How do I tell what version of everything I&#8217;m running (Linux)</title>
		<link>https://gregladen.com/blog/2018/12/20/how-do-i-tell-what-version-of-everything-im-running-linux/</link>
					<comments>https://gregladen.com/blog/2018/12/20/how-do-i-tell-what-version-of-everything-im-running-linux/#comments</comments>
		
		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Fri, 21 Dec 2018 01:18:21 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[version]]></category>
		<guid isPermaLink="false">https://gregladen.com/blog/?p=31247</guid>

					<description><![CDATA[Linux has a kernel, there is a desktop manager, a desktop environment, a distribution, and a whole bunch of other stuff. All these things and other things have version numbers and similar information associated with them. If you are a casual user, you probably don&#8217;t know the exact version of any or all of these &#8230; <a href="https://gregladen.com/blog/2018/12/20/how-do-i-tell-what-version-of-everything-im-running-linux/" class="more-link">Continue reading <span class="screen-reader-text">How do I tell what version of everything I&#8217;m running (Linux)</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Linux has a kernel, there is a desktop manager, a desktop environment, a distribution, and a whole bunch of other stuff. All these things and other things have version numbers and similar information associated with them. If you are a casual user, you probably don&#8217;t know the exact version of any or all of these things you are running at any one moment in time. Then, suddenly, you find out that &#8220;Version this-or-that of this thing-or-another is out, have you tried it?&#8221; or &#8220;The whatchamacalit version of the thingimijob is broken, if you have that upgrade or you will all die!!!&#8221; or similar.  So then, you want to know what version you are running.</p>
<p>Here are a few ways to find out that information.<span id="more-31247"></span></p>
<p>In KDE, go to the command line and run the command</p>
<p><code>kinfocenter</code></p>
<p>That will pop up a box with all sorts of information about what you are running, and about hardware, and all sorts of other things.  The current version of kinfocenter has the most annoying tool tips on the planet, but otherwise, is useful.</p>
<p>There is a similar thing in Gnome.  Go to the standard toolbar on the top and open up the thingie by that looks like an off on switch or audio level adjuster. That will open a spooky looking box that includes the actual audio volume control, an actual on switch, some other stuff, and a toolbox icon.  Open the toolbox icon, and in there, click on about.  You won&#8217;t get as much info as KDE gives you, but you&#8217;ll have the desktop name, version, your computer name, and some basic hardware information.</p>
<p>A lot of information is stored inside variables and system files on your computer.  There are therefore a large number of different command line ways to access this information. Here are some examples:</p>
<p>I&#8217;m running a current version of KDE, so I get this answer:</p>
<p><code>greg@cj:~$ echo $DESKTOP_SESSION<br />
plasma</code></p>
<p>The type of window manager is stored in the name of a file in a system directory, and you can get that like this:</p>
<p><code>greg@cj:~$ ls /usr/bin/*session<br />
/usr/bin/dbus-run-session </code></p>
<p>There is a command called &#8220;env&#8221; which invokes a long readout of way more information than you will ever want.  But you can grep it.  For example:</p>
<p><code>greg@cj:~$ env | grep DESKTOP<br />
DESKTOP_SESSION=plasma<br />
XDG_SESSION_DESKTOP=KDE<br />
XDG_CURRENT_DESKTOP=KDE</code></p>
<p>This is a command that prints out various system information data about the kernel, the machine, the processor, etc. With no options, or just the -s option, it prints out the kernel name, like this:</p>
<p><code>greg@cj:~$ uname -s<br />
Linux</code></p>
<p>But you can get much much more</p>
<p><code>greg@cj:~$ uname -srm<br />
Linux 4.15.0-42-generic x86_64</code></p>
<p>To see all the options, run &#8220;man uname&#8221; to see the man page.</p>
<p>The Linux command &#8220;cat&#8221; prints out a file.  There are a few cat tricks you can use.</p>
<p><code>greg@cj:~$ cat /etc/os-release<br />
NAME="Ubuntu"<br />
VERSION="18.04.1 LTS (Bionic Beaver)"<br />
ID=ubuntu<br />
ID_LIKE=debian<br />
PRETTY_NAME="Ubuntu 18.04.1 LTS"<br />
VERSION_ID="18.04"<br />
HOME_URL="https://www.ubuntu.com/"<br />
SUPPORT_URL="https://help.ubuntu.com/"<br />
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"<br />
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"<br />
VERSION_CODENAME=bionic<br />
UBUNTU_CODENAME=bionic</p>
<p>greg@cj:~$ cat /etc/issue<br />
Ubuntu 18.04.1 LTS \n \l</p>
<p></code></p>
<p>There is a command to print out distribution specific information, with the handy -a switch to dump it all to the screen.</p>
<p><code><br />
greg@cj:~$ lsb_release -a<br />
No LSB modules are available.<br />
Distributor ID: Ubuntu<br />
Description:    Ubuntu 18.04.1 LTS<br />
Release:        18.04<br />
Codename:       bionic</code></p>
<p>And finally, the command hostnamectl, which allows you to change the hostname (don&#8217;t do this if you don&#8217;t know what it is) or get information about the hose.</p>
<p><code>greg@cj:~$ hostnamectl<br />
   Static hostname: cj<br />
         Icon name: computer-desktop<br />
           Chassis: desktop<br />
        Machine ID: c9c8b3b223c34d14ae7fcabfbf1f2c1c1ba<br />
           Boot ID: 6dba797cc332bbababb58c7373dba9797c<br />
  Operating System: Ubuntu 18.04.1 LTS<br />
            Kernel: Linux 4.15.0-42-generic<br />
      Architecture: x86-64</code></p>
<p>So, now you know how to find out a whole bunch of information you almost never really need, but when you do &#8230;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://gregladen.com/blog/2018/12/20/how-do-i-tell-what-version-of-everything-im-running-linux/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">31247</post-id>	</item>
		<item>
		<title>This year&#8217;s biggest ripoff is also this year&#8217;s best gift idea</title>
		<link>https://gregladen.com/blog/2018/12/09/this-years-biggest-ripoff-is-also-this-years-best-gift-idea/</link>
					<comments>https://gregladen.com/blog/2018/12/09/this-years-biggest-ripoff-is-also-this-years-best-gift-idea/#comments</comments>
		
		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Sun, 09 Dec 2018 18:32:02 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Computer upgrade]]></category>
		<category><![CDATA[Holiday gift NOT]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">https://gregladen.com/blog/?p=31151</guid>

					<description><![CDATA[Here&#8217;s an idea. You have an old beat up computer running, say, Windows. You want to make it faster, crisper, more secure, and generally, better. What can you do short of buying a new computer? Well, install Linux. Linux is so much more efficient as an operating system, your computer will simply run better. Guaranteed. &#8230; <a href="https://gregladen.com/blog/2018/12/09/this-years-biggest-ripoff-is-also-this-years-best-gift-idea/" class="more-link">Continue reading <span class="screen-reader-text">This year&#8217;s biggest ripoff is also this year&#8217;s best gift idea</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Here&#8217;s an idea.  You have an old beat up computer running, say, Windows.  You want to make it faster, crisper, more secure, and generally, better. </p>
<p>What can you do short of buying a new computer? Well, install Linux. Linux is so much more efficient as an operating system, your computer will simply run better.  Guaranteed. <span id="more-31151"></span></p>
<p>How do you install Linux? Go to the Ubuntu site or somewhere like it, and download an &#8220;image&#8221; (as it is called), and use some software that may well already be on your computer to put the image onto a USB stick. Then, turn off your computer, put the disk in, and as the computer boots up, hit the correct function key. Maybe F12. Maybe F9. Maybe F12.  Don&#8217;t worry your computer will tell you &#8220;Hit FX for boot options.&#8221; Hit that key.</p>
<p>Now you get to chose the USB stick as the boot device. Do so. Your computer is now running Linux, literally. You now have a new operating system running your computer.  The old OS is not running any more, but you will still have access to the disk drive and stuff. </p>
<p>Now, the correct thing to so, ASSUMING YOU HAVE BACKED UP ALL YOUR DATA ON A DIFFERENT DRIVE SOMEWHERE ELSE, is to use that operating system to literally install Linux on your old computer. There is probably a icon you select. Whatever. This is not hard, just follow the instructions.</p>
<p>But you don&#8217;t have to. You can just run your computer off the stick. No problem. </p>
<p>This, by the way, is a great way to leverage the immense power of that nice new work laptop they gave you that runs Windows. But I digress.</p>
<p>So, that&#8217;s the best idea ever, but how does that relate to a huge rip-off holidayh gift? </p>
<p>Because some brilliant entrepreneur figured out that people are stupid, in a particular, extra stupid way.  Linux is free, and good. And you can install it using your own old and extra USB stick, so you need not spend a dime. But say you are stupid person, and you just don&#8217;t believe that something free can be good. Actually, that isn&#8217;t so stupid. Free stuff is usually crap. But there are very good reasons this does not apply to OpenSource software. If you are a stupid person, you think, &#8220;oh, I don&#8217;t want freeware on my computer&#8221; but that is like saying that you don&#8217;t want needed surgery at the Mayo because Jeeter and Justin down at the shop forgot to bolt your wheels back on after rotating your tires last week, which caused all kinds of havoc when you drove away from &#8220;Just Fine Tuned Auto Works Inc&#8221; and over that bridge with no guard rails on it &#8230; Linux is not Freeware. Freeware is a whole &#8216;nuther thing.  </p>
<p>Point is: The world of computers runs on Linux. 500 of the biggest supercomputers run on Linux.  Most servers serving the Internet run on Linux. Your cell phone probably runs on Linux.  Linux is good. It is also free. And you can put it on a USB and play with it on your computer.</p>
<p>Or, you can pay PrarieIT anywhere between $30 and $67 bucks for this product: <a target="_blank" href="https://www.amazon.com/gp/product/B01NCX03Z3/ref=as_li_tl?ie=UTF8&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B01NCX03Z3&#038;linkCode=as2&#038;tag=grlasbl0a-20&#038;linkId=71add4282c9f352920cfabf28b80e08c">Xtra-PC Turbo 16 &#8212; Turn your old, outdated, slow PC into a like-new PC, 16GB</a><img loading="lazy" decoding="async" src="//ir-na.amazon-adsystem.com/e/ir?t=grlasbl0a-20&#038;l=am2&#038;o=1&#038;a=B01NCX03Z3" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />.  Its a USB stick on which they&#8217;ve installed a Linux system, that you can do the above with.</p>
<p>Very enterprising. So enterprising, this product has actually gotten itself on to several &#8220;coolest gift&#8221; lists.  </p>
<p>And yes, go ahead and do that. If you feel better paying out some fifty bucks for a free operating system, if that make you feel like it will work better, do that. </p>
<p>Or, just get <a target="_blank" href="https://www.amazon.com/gp/product/B007YX9O9O/ref=as_li_tl?ie=UTF8&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B007YX9O9O&#038;linkCode=as2&#038;tag=grlasbl0a-20&#038;linkId=27e6f40fd94be42fa854b651df51e385">one of these</a><img loading="lazy" decoding="async" src="//ir-na.amazon-adsystem.com/e/ir?t=grlasbl0a-20&#038;l=am2&#038;o=1&#038;a=B007YX9O9O" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> if you don&#8217;t have one of them already, then go <a href="https://kubuntu.org/getkubuntu/">here</a> or <a href="https://www.ubuntu.com/download/desktop">here</a> or wherever, download the image, and use your system&#8217;s disk management software to make a bootable USB disk with that image on it.  Like <a href="https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-windows#0">this</a> if you use Windows. </p>
]]></content:encoded>
					
					<wfw:commentRss>https://gregladen.com/blog/2018/12/09/this-years-biggest-ripoff-is-also-this-years-best-gift-idea/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">31151</post-id>	</item>
		<item>
		<title>A really good computer setup</title>
		<link>https://gregladen.com/blog/2018/12/08/a-really-good-computer-setup/</link>
					<comments>https://gregladen.com/blog/2018/12/08/a-really-good-computer-setup/#comments</comments>
		
		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Sun, 09 Dec 2018 04:38:02 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Build computer]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[kde plasma]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">https://gregladen.com/blog/?p=31147</guid>

					<description><![CDATA[I&#8217;ve reached a very nice resting point in the ongoing effort to develop a very useful, powerful, stable, and cool computer setup. This started a while back when I built a computer. In particular, this computer. There are several advantages to building a computer. You can save money or get more bang for your buck &#8230; <a href="https://gregladen.com/blog/2018/12/08/a-really-good-computer-setup/" class="more-link">Continue reading <span class="screen-reader-text">A really good computer setup</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve reached a very nice resting point in the ongoing effort to develop a very useful, powerful, stable, and cool computer setup.</p>
<p>This started a while back when I built a computer. In particular,<a href="https://gregladen.com/blog/2017/08/09/how-to-build-your-own-computer/"> this computer</a>.  There are several advantages to building a computer.  You can save money or get more bang for your buck even if you don&#8217;t pay less.  On the saving money side, maybe you have components on hand that you don&#8217;t have to buy.  I did, mainly mass storage. The case I had, thinking I&#8217;d save money there, ended up not working out. You get more bang for the buck because the parts you buy will be better than the ones in the equivilant off the line but cheaper computer, and you&#8217;ll have more control over what happens in future upgrades.<span id="more-31147"></span></p>
<p>For example, say you build a compute from parts for $1,000 and buy an equivalent Dell computer for $800.  You save $200 with the Dell.</p>
<p>Then your motherboard burns out.  For the computer you built, you replace the motherboard. For the Dell, you may or may not be able to replace the motherboard. You won&#8217;t be able to buy the exact one that burned out. The other componants have been designed to work with the Dell OEM motherboard, maybe not with the one you replace it with. There is a good chance that you will even have trouble at the level of getting into and out of the highly optimized Dell case.  You can fix it, but it won&#8217;t be easy or cheap.</p>
<p>Meanwhile, Dell has designed the motherboard to be as efficacious as possible, meeting the specs at minimal cost. Chances are, the motherboard you bought, that cost you $45 more than Dell paid to put its motherboard in their machine, is sturdier and better performing, unless you are comparing your build to the Dell professional level computer. And the Dell professional level computer comparable to your build does not cost $800.  It cost $1750.</p>
<p>So, if you build your own computer, you will not save piles of money, but you might save some, and you probably built a better computer for that price than you&#8217;d get commercially, or equivalent. And, there is a very comforting level of comfortable comfort knowing that if something burns out, you just put the new one in, because you totally know how to do that and what part to get.  I know in advance more about how to fix a major problem with my hardware than any professional tech anywhere.</p>
<p>The other big advantage is that I get the computer I want. Also, I got to chose the upgrade path. For example, I did not get the most powerful processor available (though mine is quite nice). But, the motherboard I got can easily handle a major upgrade in processor. So, it will be trivial for me to buy a much more powerful processor, if I happen to have a few hundred bucks with nothing else to do with in, and install it in less than 20 minutes.  I know I can do this I know exactly what processors I can put in, and I know the exact procedure.</p>
<p>I also can build a second computer really fast. After building mine, I built one for my son. Different case, but otherwise almost exactly the same. His monitors are not as good as mine and he has way less RAM. But, it took me a couple of hours to build his.  I can do a third one in an hour, easily.  I don&#8217;t need a third one, but just in case, I&#8217;m ready!</p>
<p>After building this computer, I messed around a bit further with the hardware and ended up with my ideal mass storage system.</p>
<p>I had thought earlier that the ideal system was a very fast SSD with a second drive with data.  However, since I use cloud synchronization, it actually becomes slightly risky to have the storage media on a separate drive than the OS, because a rapidly deployed desktop will sometimes get ahead of the hardware, and the cloud becomes confused.  THis is easily fixed, but only in a reboot performance hit and with some tricks that then have to be maintained. So, I opted for a single giant SSD, using my smaller older SSD as a giant swap file (which is not needed because I have so much freakin&#8217; RAM), and a third drive, a traditional hard drive, on which I store some files I don&#8217;t want taking up cloud space (like downloads of an entire already backed up web site or three, that sort of thing) and to hold an on site backup.</p>
<p>I&#8217;m running and decided I totally like and will stick with KDE Plasma.  I&#8217;m not using it so much for he bells and whistles, but rather, because I can perfectly and nicely emulate a Gnome 2.0 environment on a desktop system that is currently very well maintained and not buggy.  If you were thinking KDE takes up a lot of resources compared to other systems, be informed: Not these days. They made it very efficient.</p>
<p>Plus, resources? I have lots of resources.</p>
<p>Finally, I just deployed emacs with my somewhat messy but very well personalized .<a href="https://gregladen.com/blog/2012/12/12/do-you-know-where-your-emacs-file-is/">emacs file.</a></p>
<p>I open emacs with a launcher that opens &#8220;blank.txt&#8221; which lives in my home folder. From there I rename, or it simply holds whatever I&#8217;m working on.  Someday I will improve that end of the process, but it is actually so simple, it is hard to imagine much going wrong.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://gregladen.com/blog/2018/12/08/a-really-good-computer-setup/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">31147</post-id>	</item>
	</channel>
</rss>
