<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="https://hightechsorcery.com/wordpress/xmlrpc.php" />
<!--[if lt IE 9]>
<script src="https://hightechsorcery.com/wordpress/wp-content/themes/f2/js/html5.js" type="text/javascript"></script>
<![endif]-->

<title>High Tech Sorcery &#8211; Technology Indistinguishable From Magic</title>
<meta name='robots' content='max-image-preview:large' />
<link rel='dns-prefetch' href='//fonts.googleapis.com' />
<link rel='dns-prefetch' href='//s.w.org' />
<link rel="alternate" type="application/rss+xml" title="High Tech Sorcery &raquo; Feed" href="https://hightechsorcery.com/feed/" />
<link rel="alternate" type="application/rss+xml" title="High Tech Sorcery &raquo; Comments Feed" href="https://hightechsorcery.com/comments/feed/" />

<script>
var MP3jPLAYLISTS = [];
var MP3jPLAYERS = [];
</script>
		<script type="text/javascript">
			window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.0.1\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.0.1\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/hightechsorcery.com\/wordpress\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.7"}};
			!function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode;p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0);e=i.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(!p||!p.fillText)return!1;switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])?!1:!s([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!s([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]);case"emoji":return!s([55357,56424,8205,55356,57212],[55357,56424,8203,55356,57212])}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(n=t.source||{}).concatemoji?c(n.concatemoji):n.wpemoji&&n.twemoji&&(c(n.twemoji),c(n.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<style type="text/css">
img.wp-smiley,
img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 .07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
}
</style>
	<link rel='stylesheet' id='wp-block-library-css'  href='https://hightechsorcery.com/wordpress/wp-includes/css/dist/block-library/style.min.css?ver=5.7' type='text/css' media='all' />
<link rel='stylesheet' id='columns-css'  href='https://hightechsorcery.com/wordpress/wp-content/plugins/columns/columns.css?ver=5.7' type='text/css' media='all' />
<link rel='stylesheet' id='webfonts-css'  href='https://fonts.googleapis.com/css?family=Bitter:700|Gudea:400,700,400italic' type='text/css' media='all' />
<link rel='stylesheet' id='style-css'  href='https://hightechsorcery.com/wordpress/wp-content/themes/f2/style.css?ver=2.2.3' type='text/css' media='screen, projection' />
<link rel='stylesheet' id='print-css'  href='https://hightechsorcery.com/wordpress/wp-content/themes/f2/print.css?ver=2.2.3' type='text/css' media='print' />
<!--[if lt IE 9]>
<link rel='stylesheet' id='ie-style-css'  href='https://hightechsorcery.com/wordpress/wp-content/themes/f2/ie.css?ver=2.2.3' type='text/css' media='screen, projection' />
<![endif]-->
<!--[if lt IE 8]>
<link rel='stylesheet' id='ie7-style-css'  href='https://hightechsorcery.com/wordpress/wp-content/themes/f2/ie7.css?ver=2.2.3' type='text/css' media='screen, projection' />
<![endif]-->
<link rel='stylesheet' id='mp3-jplayer-css'  href='https://hightechsorcery.com/wordpress/wp-content/plugins/mp3-jplayer/css/dark.css?ver=2.7.3' type='text/css' media='all' />
<script type='text/javascript' src='https://hightechsorcery.com/wordpress/wp-includes/js/jquery/jquery.min.js?ver=3.5.1' id='jquery-core-js'></script>
<script type='text/javascript' src='https://hightechsorcery.com/wordpress/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.3.2' id='jquery-migrate-js'></script>
<link rel="https://api.w.org/" href="https://hightechsorcery.com/wp-json/" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://hightechsorcery.com/wordpress/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://hightechsorcery.com/wordpress/wp-includes/wlwmanifest.xml" /> 
<meta name="generator" content="WordPress 5.7" />
<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style></head>

<body class="home blog one-sidebar-right medium-sidebar small-font-sidebar large-font-content">
<div id="page" class="hfeed site">
		<header id="masthead" class="site-header" role="banner">
		<div class="site-branding">
			<h1 class="site-title"><a href="https://hightechsorcery.com/" title="High Tech Sorcery" rel="home">High Tech Sorcery</a></h1>
			<h2 class="site-description">Technology Indistinguishable From Magic</h2>
					</div><!-- .site-branding -->

				<nav role="navigation" class="site-navigation main-navigation">
			<h1 class="assistive-text">Menu</h1>
			<div class="assistive-text skip-link"><a href="#content" title="Skip to content">Skip to content</a></div>

			<div class="menu"><ul>
<li class="page_item page-item-5"><a href="https://hightechsorcery.com/about/">About</a></li>
<li class="page_item page-item-57"><a href="https://hightechsorcery.com/ruby-reference/">Ruby Reference</a></li>
</ul></div>
		</nav><!-- .site-navigation .main-navigation -->
			
		
	</header><!-- #masthead .site-header -->

	<div id="main" class="site-main">	<div id="primary" class="content-area">
		<div id="content" class="site-content" role="main">

			
								
					
<article id="post-738" class="post-738 post type-post status-publish format-standard hentry category-linux category-virtualization">
	<header class="entry-header">

		<h1 class="entry-title"><a href="https://hightechsorcery.com/2020/11/18/xen-clocksource/" title="Permanent Link to Xen Clocksource" rel="bookmark">Xen Clocksource</a></h1>

				<div class="entry-meta">
			Posted by <span class="author vcard"><a class="url fn n" href="https://hightechsorcery.com/author/jesse/" title="View all posts by Jesse Johnson" rel="author">Jesse Johnson</a></span> on <a href="https://hightechsorcery.com/2020/11/18/xen-clocksource/" title="" rel="bookmark"><time class="entry-date" datetime="2020-11-18T20:17:34+00:00">18 November 2020, 8:17 pm</time></a>					</div><!-- .entry-meta -->
			</header><!-- .entry-header -->

			
		<div class="entry-content">
						<p>In older versions of Xemn, each DomU could effectively use the system time of the Dom0. That was remove after Xen 4 or so. In versions after that issues of clock drift need to be addressed. I was investigating this and came across a discussion of best practices about setting the Limux clocksource on DomU&#8217;s. It seems there has been some performance issues with using &#8220;xen&#8221; and a recommendation to use &#8220;tsc&#8221; but it&#8217;s not entirely straightforward.</p>
<ul>
<li><a href="https://xenbits.xen.org/docs/4.2-testing/misc/tscmode.txt">Xen 4.2 TSC_MODE HOW-TO</a>
<ul>
<li>gives this handy code: xm debug-key s; xm dmesg | tail</li>
<li>which I improved as: sudo xl debug-key s; sudo xl dmesg | grep mode=</li>
</ul>
</li>
<li><a href="https://www.slideshare.net/AmazonWebServices/cmp402-amazon-ec2-instances-deep-dive/24">(CMP402) Amazon EC2 Instances Deep Dive</a> (2015)
<ul>
<li>recommends &#8220;TSC as clocksource&#8221;</li>
</ul>
</li>
<li><a href="https://www.slideshare.net/brendangregg/performance-tuning-ec2-instances/42">Performance Tuning EC2 Instances</a> (2014)
<ul>
<li>recommends &#8220;tuning clocksource to TSC&#8221;</li>
</ul>
</li>
<li><a href="https://blog.packagecloud.io/eng/2017/03/08/system-calls-are-much-slower-on-ec2/">Two frequently used system calls are ~77% slower on AWS EC2</a> (2017)
<ul>
<li>raises concerns about unexpected backward clock drift</li>
</ul>
</li>
<li><a href="https://heap.io/blog/engineering/clocksource-aws-ec2-vdso">Running a database on EC2? Your clock could be slowing you down.</a> (2018)
<ul>
<li>helpful for getting Xen hypervisor version from inside guest: sudo dmesg | grep -i &#8216;xen version&#8217;</li>
<li>testing for clocksource acceleration: strace -e gettimeofday,clock_gettime &#8212; date &gt;/dev/null</li>
<li>getting current clocksource: cat /sys/devices/system/clocksource/clocksource0/current_clocksource</li>
<li>setting clocksource to tsc: echo tsc | sudo tee /sys/devices/system/clocksource/clocksource0/current_clocksource</li>
</ul>
</li>
<li><a href="https://aws.amazon.com/premiumsupport/knowledge-center/manage-ec2-linux-clock-source/"> How do I manage the clock source for EC2 instances running Linux?</a> (2020)
<ul>
<li>&#8220;For EC2 instances launched on the AWS Xen Hypervisor, it&#8217;s a best practice to use the <b>tsc </b>clock source. Other EC2 instance types, such as C5 or M5, use the AWS Nitro Hypervisor. The recommended clock source for the AWS Nitro Hypervisor is <b>kvm-clock</b>.&#8221;</li>
<li>recommends setting <b>GRUB_CMDLINE_LINUX</b> in grub2: &#8220;clocksource=tsc tsc=reliable&#8221;</li>
</ul>
</li>
</ul>
					</div><!-- .entry-content -->
	
	
	<footer class="entry-meta">
								<span class="cat-links">
				Filed under&nbsp;<a href="https://hightechsorcery.com/category/linux/" rel="category tag">Linux</a>, <a href="https://hightechsorcery.com/category/virtualization/" rel="category tag">virtualization</a>			</span>
			
					
				<span class="sep"> | </span>
		<span class="comments-link"><a href="https://hightechsorcery.com/2020/11/18/xen-clocksource/#respond">Comment</a></span>
		
			</footer><!-- .entry-meta -->
</article><!-- #post-738 -->

				
					
<article id="post-732" class="post-732 post type-post status-publish format-standard hentry category-development">
	<header class="entry-header">

		<h1 class="entry-title"><a href="https://hightechsorcery.com/2020/10/01/embedded-procedural-programming-inside-sql-server-databases/" title="Permanent Link to Embedded procedural programming inside SQL Server Databases" rel="bookmark">Embedded procedural programming inside SQL Server Databases</a></h1>

				<div class="entry-meta">
			Posted by <span class="author vcard"><a class="url fn n" href="https://hightechsorcery.com/author/jesse/" title="View all posts by Jesse Johnson" rel="author">Jesse Johnson</a></span> on <a href="https://hightechsorcery.com/2020/10/01/embedded-procedural-programming-inside-sql-server-databases/" title="" rel="bookmark"><time class="entry-date" datetime="2020-10-01T19:53:38+00:00">1 October 2020, 7:53 pm</time></a>					</div><!-- .entry-meta -->
			</header><!-- .entry-header -->

			
		<div class="entry-content">
						<p>Let&#8217;s suppose one is tasked with a complex set of calculations where the input data loads from a database and the output data saves to a database. This has come up a number of times in my consulting work. There are 2 approaches:</p>
<ol>
<li>Use language of choice, read data, perform calculations, write data</li>
<li>Work entirely within the database</li>
</ol>
<p>This latter has the obvious benefits of skipping the data transfer times. This is also where it&#8217;s easy to use the first approach, only to run into problems as the amount of data is increased.</p>
<p>Now for simpler tasks I&#8217;ve often chosen approach 2. A simpler task, in this case, is when the computation is question can be expressed as an INSERT or UPDATE query. This works when one needs to produce statistics like mean and standard deviation that can be easily expressed as aggregates on the input data. And when something is more complicated than that I have chosen option 1.</p>
<p>One issue with more complicated programming within a database is that there is no agreed upon common portable language. I have client whose databases include MariaDB and SQL Server and thus there is no way to develop code that will work on both of those platforms. I was thinking the other day, wouldn&#8217;t it be great if there was an agreed upon embedded language, in addition to whatever legacy languages are support(PL/SQL, T-SQL). Maybe Lua would be a good choice. It&#8217;s already available to Postgresql as <a href="https://github.com/pllua/pllua-ng">pllua-ng</a>. Perhaps Python would be good as well.</p>
<p>MariaDB can understand a subset of PL/SQL and (currently small) T-SQL which is nice. Postgresql can understand a subset of PL/SQL. Although I don&#8217;t expect Oracle or SQL Server to make changes in this regard, it would be nice if a team created a language that could be added to both that could be used to write portable procedural code.</p>
					</div><!-- .entry-content -->
	
	
	<footer class="entry-meta">
								<span class="cat-links">
				Filed under&nbsp;<a href="https://hightechsorcery.com/category/development/" rel="category tag">Development</a>			</span>
			
					
				<span class="sep"> | </span>
		<span class="comments-link"><a href="https://hightechsorcery.com/2020/10/01/embedded-procedural-programming-inside-sql-server-databases/#respond">Comment</a></span>
		
			</footer><!-- .entry-meta -->
</article><!-- #post-732 -->

				
					
<article id="post-727" class="post-727 post type-post status-publish format-standard hentry category-development">
	<header class="entry-header">

		<h1 class="entry-title"><a href="https://hightechsorcery.com/2020/04/07/interchange-formats/" title="Permanent Link to Interchange formats" rel="bookmark">Interchange formats</a></h1>

				<div class="entry-meta">
			Posted by <span class="author vcard"><a class="url fn n" href="https://hightechsorcery.com/author/jesse/" title="View all posts by Jesse Johnson" rel="author">Jesse Johnson</a></span> on <a href="https://hightechsorcery.com/2020/04/07/interchange-formats/" title="" rel="bookmark"><time class="entry-date" datetime="2020-04-07T18:48:48+00:00">7 April 2020, 6:48 pm</time></a>					</div><!-- .entry-meta -->
			</header><!-- .entry-header -->

			
		<div class="entry-content">
						<p>I don&#8217;t like JSON, or YAML. Moving on.</p>
<p>Actually I&#8217;ve been exploring binary interchange formats. I am not the first to note that converting data from binary, to text, and back, is often suboptimal, especially for the not-uncommon use case of floating point numbers. With some projects I&#8217;ve been working with there is a lot of interchange with delimited files (CSV, TSV, PSV) and JSON. These suffer from the creation of the text stream only to have it parsed back into binary formats. These formats can be useful because they are human readable so being able to inspect them is helpful in a development stage but for interchange they are suboptimal.</p>
<p>Here are some alternatives I&#8217;ve been investigating:</p>
<ul>
<li><a href="https://msgpack.org/">MessagePack</a> &#8211; lots of language support</li>
<li><a href="https://cbor.io/">CBOR</a> &#8211; lots of language support</li>
<li><a href="http://tutorials.jenkov.com/rion/index.html">RION</a> &#8211; good design goals, only available for JAVA</li>
<li><a href="http://bsonspec.org/">BSON</a> &#8211; used by MongoDB and not much else</li>
</ul>
					</div><!-- .entry-content -->
	
	
	<footer class="entry-meta">
								<span class="cat-links">
				Filed under&nbsp;<a href="https://hightechsorcery.com/category/development/" rel="category tag">Development</a>			</span>
			
					
				<span class="sep"> | </span>
		<span class="comments-link"><a href="https://hightechsorcery.com/2020/04/07/interchange-formats/#respond">Comment</a></span>
		
			</footer><!-- .entry-meta -->
</article><!-- #post-727 -->

				
					
<article id="post-723" class="post-723 post type-post status-publish format-standard hentry category-development">
	<header class="entry-header">

		<h1 class="entry-title"><a href="https://hightechsorcery.com/2020/01/17/irt-cat-and-related-packages-in-r/" title="Permanent Link to IRT, CAT, and related Packages In R" rel="bookmark">IRT, CAT, and related Packages In R</a></h1>

				<div class="entry-meta">
			Posted by <span class="author vcard"><a class="url fn n" href="https://hightechsorcery.com/author/jesse/" title="View all posts by Jesse Johnson" rel="author">Jesse Johnson</a></span> on <a href="https://hightechsorcery.com/2020/01/17/irt-cat-and-related-packages-in-r/" title="" rel="bookmark"><time class="entry-date" datetime="2020-01-17T23:05:26+00:00">17 January 2020, 11:05 pm</time></a>					</div><!-- .entry-meta -->
			</header><!-- .entry-header -->

			
		<div class="entry-content">
						<p>I&#8217;ve been using some of these a lot for some psychometrics software developmont work.</p>
<ul>
<li><a href="https://cran.r-project.org/package=TAM">TAM: Test Analysis Modules</a> (3.3-10 released 2019-08-23)</li>
<li><a href="https://cran.r-project.org/package=sirt">sirt: Supplementary Item Response Theory Models</a> (3.7-40 released 2019-11-04)</li>
<li><a href="https://cran.r-project.org/package=mirt">mirt: Multidimensional Item Response Theory</a> (1.31 released 2019-09-15)</li>
<li><a href="https://cran.r-project.org/package=eRm">eRm: Extended Rasch Modeling</a> (1.0-0 released 2019-06-06)</li>
<li><a href="https://cran.r-project.org/package=catR">catR: Generation of IRT Response Patterns under Computerized Adaptive Testing</a> (3.16 released 2018-07-28)</li>
<li><a href="https://cran.r-project.org/package=mirtCAT">mirtCAT: Computerized Adaptive Testing with Multidimensional Item Response Theory</a> (1.9.3 released 2019-06-28)</li>
</ul>
					</div><!-- .entry-content -->
	
	
	<footer class="entry-meta">
								<span class="cat-links">
				Filed under&nbsp;<a href="https://hightechsorcery.com/category/development/" rel="category tag">Development</a>			</span>
			
					
				<span class="sep"> | </span>
		<span class="comments-link"><a href="https://hightechsorcery.com/2020/01/17/irt-cat-and-related-packages-in-r/#respond">Comment</a></span>
		
			</footer><!-- .entry-meta -->
</article><!-- #post-723 -->

				
					
<article id="post-720" class="post-720 post type-post status-publish format-standard hentry category-uncategorized">
	<header class="entry-header">

		<h1 class="entry-title"><a href="https://hightechsorcery.com/2019/10/02/reminder-facebook-still-terrible/" title="Permanent Link to Reminder: Facebook: Still Terrible" rel="bookmark">Reminder: Facebook: Still Terrible</a></h1>

				<div class="entry-meta">
			Posted by <span class="author vcard"><a class="url fn n" href="https://hightechsorcery.com/author/jesse/" title="View all posts by Jesse Johnson" rel="author">Jesse Johnson</a></span> on <a href="https://hightechsorcery.com/2019/10/02/reminder-facebook-still-terrible/" title="" rel="bookmark"><time class="entry-date" datetime="2019-10-02T06:04:33+00:00">2 October 2019, 6:04 am</time></a>					</div><!-- .entry-meta -->
			</header><!-- .entry-header -->

			
		<div class="entry-content">
						<ul>
<li><a href="https://www.theverge.com/2019/10/1/20892354/mark-zuckerberg-full-transcript-leaked-facebook-meetings">Read the full transcript of Mark Zuckerberg’s leaked internal Facebook meetings</a></li>
<li><a href="https://techcrunch.com/2019/09/24/pawn-not-platform/">Facebook promises not to stop politicians’ lies &amp; hate</a></li>
<li><a href="https://techcrunch.com/2019/10/01/no-you-suck/">Elizabeth Warren bites back at Zuckerberg’s leaked threat to K.O. the government</a></li>
<li><a href="https://talkingpointsmemo.com/news/dnc-criticize-facebook-rule-exemption-fact-check-trump-ads">DNC Blasts Facebook For Allowing Trump Ad Blitz To Spread False Claims</a></li>
</ul>
					</div><!-- .entry-content -->
	
	
	<footer class="entry-meta">
								<span class="cat-links">
				Filed under&nbsp;<a href="https://hightechsorcery.com/category/uncategorized/" rel="category tag">Uncategorized</a>			</span>
			
					
				<span class="sep"> | </span>
		<span class="comments-link"><a href="https://hightechsorcery.com/2019/10/02/reminder-facebook-still-terrible/#respond">Comment</a></span>
		
			</footer><!-- .entry-meta -->
</article><!-- #post-720 -->

				
					
<article id="post-717" class="post-717 post type-post status-publish format-standard hentry category-sysadmin">
	<header class="entry-header">

		<h1 class="entry-title"><a href="https://hightechsorcery.com/2019/06/09/enabling-dnssec-on-debian-and-ubuntu-with-systemd-resolved/" title="Permanent Link to Enabling DNSSEC on Debian and Ubuntu (with systemd-resolved)" rel="bookmark">Enabling DNSSEC on Debian and Ubuntu (with systemd-resolved)</a></h1>

				<div class="entry-meta">
			Posted by <span class="author vcard"><a class="url fn n" href="https://hightechsorcery.com/author/jesse/" title="View all posts by Jesse Johnson" rel="author">Jesse Johnson</a></span> on <a href="https://hightechsorcery.com/2019/06/09/enabling-dnssec-on-debian-and-ubuntu-with-systemd-resolved/" title="" rel="bookmark"><time class="entry-date" datetime="2019-06-09T01:10:18+00:00">9 June 2019, 1:10 am</time></a>					</div><!-- .entry-meta -->
			</header><!-- .entry-header -->

			
		<div class="entry-content">
						<p>Using systemd-resolved opens up some options that may be easier to configure then in the past.</p>
<p>Enabling DNSSEC:</p>
<ul>
<li>systemd-resolve &#8211;status
<ul>
<li>look for &#8220;DNSSEC setting: no&#8221;</li>
</ul>
</li>
<li>sudo mkdir -p /etc/systemd/resolved.conf.d</li>
<li>sudo nano /etc/systemd/resolved.conf.d/dnssec.conf
<ul>
<li>enter:
<ul>
<li>[Resolve]<br />
DNSSEC=true</li>
</ul>
</li>
</ul>
</li>
<li>sudo systemctl restart systemd-resolved</li>
<li>systemd-resolve &#8211;status
<ul>
<li>look for &#8220;DNSSEC setting: yes&#8221;</li>
</ul>
</li>
</ul>
					</div><!-- .entry-content -->
	
	
	<footer class="entry-meta">
								<span class="cat-links">
				Filed under&nbsp;<a href="https://hightechsorcery.com/category/sysadmin/" rel="category tag">Sysadmin</a>			</span>
			
					
				<span class="sep"> | </span>
		<span class="comments-link"><a href="https://hightechsorcery.com/2019/06/09/enabling-dnssec-on-debian-and-ubuntu-with-systemd-resolved/#respond">Comment</a></span>
		
			</footer><!-- .entry-meta -->
</article><!-- #post-717 -->

				
					
<article id="post-712" class="post-712 post type-post status-publish format-standard hentry category-sysadmin">
	<header class="entry-header">

		<h1 class="entry-title"><a href="https://hightechsorcery.com/2019/06/09/what-dns-servers-is-my-ubuntu-system-using/" title="Permanent Link to What DNS Servers is my Ubuntu system using?" rel="bookmark">What DNS Servers is my Ubuntu system using?</a></h1>

				<div class="entry-meta">
			Posted by <span class="author vcard"><a class="url fn n" href="https://hightechsorcery.com/author/jesse/" title="View all posts by Jesse Johnson" rel="author">Jesse Johnson</a></span> on <a href="https://hightechsorcery.com/2019/06/09/what-dns-servers-is-my-ubuntu-system-using/" title="" rel="bookmark"><time class="entry-date" datetime="2019-06-09T00:33:40+00:00">9 June 2019, 12:33 am</time></a>					</div><!-- .entry-meta -->
			</header><!-- .entry-header -->

			
		<div class="entry-content">
						<p>It&#8217;s not so simple as &#8220;cat /etc/resolv.conf&#8221; anymore. DNS is now handled by systemd-resolved in Ubuntu and Debian and their derivatives. This is easy to spot if you do check resolv.conf and it contains &#8220;nameserver 127.0.0.53&#8221;. The correct command now is &#8220;systemd-resolve &#8211;status&#8221;.</p>
<p>&nbsp;</p>
					</div><!-- .entry-content -->
	
	
	<footer class="entry-meta">
								<span class="cat-links">
				Filed under&nbsp;<a href="https://hightechsorcery.com/category/sysadmin/" rel="category tag">Sysadmin</a>			</span>
			
					
				<span class="sep"> | </span>
		<span class="comments-link"><a href="https://hightechsorcery.com/2019/06/09/what-dns-servers-is-my-ubuntu-system-using/#respond">Comment</a></span>
		
			</footer><!-- .entry-meta -->
</article><!-- #post-712 -->

				
					
<article id="post-704" class="post-704 post type-post status-publish format-standard hentry category-linux category-sysadmin">
	<header class="entry-header">

		<h1 class="entry-title"><a href="https://hightechsorcery.com/2019/02/13/some-ubuntu-18-04-problems-fixed-today/" title="Permanent Link to Some Ubuntu 18.04 problems fixed today" rel="bookmark">Some Ubuntu 18.04 problems fixed today</a></h1>

				<div class="entry-meta">
			Posted by <span class="author vcard"><a class="url fn n" href="https://hightechsorcery.com/author/jesse/" title="View all posts by Jesse Johnson" rel="author">Jesse Johnson</a></span> on <a href="https://hightechsorcery.com/2019/02/13/some-ubuntu-18-04-problems-fixed-today/" title="" rel="bookmark"><time class="entry-date" datetime="2019-02-13T20:00:55+00:00">13 February 2019, 8:00 pm</time></a>					</div><!-- .entry-meta -->
			</header><!-- .entry-header -->

			
		<div class="entry-content">
						<p>I&#8217;ve drafted but not published a long list of problems I&#8217;ve experienced with Ubuntu 18.04. In short it&#8217;s been one of the worst desktop releases of Ubuntu I&#8217;ve used. My experience on servers has been fine. Anyway I haven&#8217;t looked into the details of these patches but:</p>
<ul>
<li>libwebkit2gtk-4.0-37:amd64 (2.22.6-0ubuntu0.18.04.1)</li>
<li>libjavascriptcoregtk-4.0-18:amd64 (2.22.6-0ubuntu0.18.04.1)</li>
</ul>
<p>These package releases seem to have fixed some of my issues that have been present since May 2018. In particular Liferea has been broken on my desktop for that long. Better late than never I guess.</p>
					</div><!-- .entry-content -->
	
	
	<footer class="entry-meta">
								<span class="cat-links">
				Filed under&nbsp;<a href="https://hightechsorcery.com/category/linux/" rel="category tag">Linux</a>, <a href="https://hightechsorcery.com/category/sysadmin/" rel="category tag">Sysadmin</a>			</span>
			
					
				<span class="sep"> | </span>
		<span class="comments-link"><a href="https://hightechsorcery.com/2019/02/13/some-ubuntu-18-04-problems-fixed-today/#respond">Comment</a></span>
		
			</footer><!-- .entry-meta -->
</article><!-- #post-704 -->

				
					
<article id="post-697" class="post-697 post type-post status-publish format-standard hentry category-hardware">
	<header class="entry-header">

		<h1 class="entry-title"><a href="https://hightechsorcery.com/2019/02/09/shopping-for-a-wired-router/" title="Permanent Link to Shopping for a wired router" rel="bookmark">Shopping for a wired router</a></h1>

				<div class="entry-meta">
			Posted by <span class="author vcard"><a class="url fn n" href="https://hightechsorcery.com/author/jesse/" title="View all posts by Jesse Johnson" rel="author">Jesse Johnson</a></span> on <a href="https://hightechsorcery.com/2019/02/09/shopping-for-a-wired-router/" title="" rel="bookmark"><time class="entry-date" datetime="2019-02-09T21:08:54+00:00">9 February 2019, 9:08 pm</time></a>					</div><!-- .entry-meta -->
			</header><!-- .entry-header -->

			
		<div class="entry-content">
						<p>I&#8217;ve often run a wired router at the front of my network (well immediately behind the modem). The only other topology has been a linux server at the front of the network. Then I like a network behind that where a wireless router can live. I keep my wireless router turned off when not in use, which is an uncommon setup it seems. Anyway, for 1 network I&#8217;m managing I&#8217;m considering replacing the linux system with a wired router. Wired routers are not super popular for SOHO uses as mos tpeople seem to prefer a wireless router to do everything. Because there is not a huge market options can be limited. Here are some products I&#8217;ve investigated.</p>
<ul>
<li>Specs:
<ul>
<li>4 gigabit ethernet ports</li>
<li>cost &lt;= $100</li>
</ul>
</li>
<li><a href="https://www.tp-link.com/us/products/details/cat-4909_TL-R600VPN.html">TP-Link TL-R600VPN </a>
<ul>
<li>I&#8217;ve had good experiences with TP-Link wired routers in the past. However, this router is believed to be vulnerable to VPNFilter malware so that makes it too risky at this time.</li>
<li><a href="https://community.tp-link.com/us/home/forum/topic/108222">TPLink routers affected by VPNfilter malware?</a></li>
</ul>
</li>
<li><a href="https://community.tp-link.com/us/home/forum/topic/108222">Ubiquiti ER-X</a>
<ul>
<li>I&#8217;ve had no first-hand experiences with Ubuquiti products.</li>
<li>POE passthrough support.</li>
</ul>
</li>
<li><a href="https://www.cisco.com/c/en/us/products/routers/rv042g-dual-gigabit-wan-vpn-router/index.html">Cisco RV042G</a></li>
<li>Grandstream GS-GWN7000</li>
<li>Cisco RV130</li>
<li>Research
<ul>
<li><a href="https://en.wikipedia.org/wiki/VPNFilter#Devices_at_Risk">VPNFilter Devices at risk</a></li>
<li><a href="https://blog.talosintelligence.com/2018/06/vpnfilter-update.html">VPNFilter Update &#8211; VPNFilter exploits endpoints, targets new devices</a></li>
<li><a href="https://blog.trendmicro.com/trendlabs-security-intelligence/vpnfilter-affected-devices-still-riddled-with-19-vulnerabilities/">VPNFilter-affected Devices Still Riddled with 19 Vulnerabilities</a></li>
<li><a href="https://www.trendmicro.com/vinfo/us/security/news/cybercrime-and-digital-threats/over-200-000-mikrotik-routers-compromised-in-cryptojacking-campaign">Over 200,000 MikroTik Routers Compromised in Cryptojacking Campaign</a></li>
<li><a href="https://krebsonsecurity.com/2018/05/fbi-kindly-reboot-your-router-now-please/#more-44020">FBI: Kindly Reboot Your Router Now, Please</a></li>
</ul>
</li>
<li>Networking Companies Country of Operation
<ul>
<li>TP_Link &#8211; China</li>
<li>MicroTik &#8211; Latvia</li>
<li>Cisco &#8211; United States</li>
<li>Ubiquiti &#8211; United States</li>
<li>GrandStream &#8211; United States</li>
<li>TrendNet &#8211; United States</li>
</ul>
</li>
<li>Other Products
<ul>
<li>TRENDnet TW100-S4W1CA &#8211; 10/100 only</li>
<li>D-Link &#8211; no gigabit products in price range</li>
<li>Netgear &#8211; no gigabit products in price range</li>
<li>Linksys LRT214 &#8211; outside price range</li>
</ul>
</li>
<li>Further research
<ul>
<li>There are many more options above $100.</li>
</ul>
</li>
</ul>
					</div><!-- .entry-content -->
	
	
	<footer class="entry-meta">
								<span class="cat-links">
				Filed under&nbsp;<a href="https://hightechsorcery.com/category/hardware/" rel="category tag">Hardware</a>			</span>
			
					
				<span class="sep"> | </span>
		<span class="comments-link"><a href="https://hightechsorcery.com/2019/02/09/shopping-for-a-wired-router/#respond">Comment</a></span>
		
			</footer><!-- .entry-meta -->
</article><!-- #post-697 -->

				
					
<article id="post-687" class="post-687 post type-post status-publish format-standard hentry category-uncategorized">
	<header class="entry-header">

		<h1 class="entry-title"><a href="https://hightechsorcery.com/2018/11/15/even-more-facebook-awfulness/" title="Permanent Link to Even More Facebook Awfulness" rel="bookmark">Even More Facebook Awfulness</a></h1>

				<div class="entry-meta">
			Posted by <span class="author vcard"><a class="url fn n" href="https://hightechsorcery.com/author/jesse/" title="View all posts by Jesse Johnson" rel="author">Jesse Johnson</a></span> on <a href="https://hightechsorcery.com/2018/11/15/even-more-facebook-awfulness/" title="" rel="bookmark"><time class="entry-date" datetime="2018-11-15T03:54:26+00:00">15 November 2018, 3:54 am</time></a>					</div><!-- .entry-meta -->
			</header><!-- .entry-header -->

			
		<div class="entry-content">
						<ul>
<li><a href="https://boingboing.net/2018/11/14/facebook-hired-oppo-firm-to-sm.html">Facebook hired GOP oppo firm to smear protesters by linking them to George Soros, an anti-Semitic trope: NYT</a></li>
<li><a href="https://www.nytimes.com/2018/11/14/technology/facebook-data-russia-election-racism.html">Delay, Deny and Deflect: How Facebook’s Leaders Fought Through Crisis</a></li>
</ul>
					</div><!-- .entry-content -->
	
	
	<footer class="entry-meta">
								<span class="cat-links">
				Filed under&nbsp;<a href="https://hightechsorcery.com/category/uncategorized/" rel="category tag">Uncategorized</a>			</span>
			
					
				<span class="sep"> | </span>
		<span class="comments-link"><a href="https://hightechsorcery.com/2018/11/15/even-more-facebook-awfulness/#respond">Comment</a></span>
		
			</footer><!-- .entry-meta -->
</article><!-- #post-687 -->

				
					<nav role="navigation" id="nav-below" class="site-navigation paging-navigation">
		<h1 class="assistive-text">Post navigation</h1>

	
				<div class="nav-previous"><a href="https://hightechsorcery.com/page/2/" >&laquo; Older Entries</a></div>
		
		
	
	</nav><!-- #nav-below -->
	
			
		</div><!-- #content .site-content -->
	</div>
	<div id="secondary" class="widget-area">
					<div id="sidebar-1" class="sidebar" role="complementary">
								<aside id="search-2" class="widget widget_search">	<form method="get" id="searchform" action="https://hightechsorcery.com/" role="search">
		<label for="s" class="assistive-text">Search</label>
		<input type="text" class="field" name="s" value="" id="s" placeholder="Search &hellip;" />
		<input type="submit" class="submit" name="submit" id="searchsubmit" value="Search" />
	</form>
</aside>
		<aside id="recent-posts-2" class="widget widget_recent_entries">
		<h1 class="widget-title">Recent Posts</h1>
		<ul>
											<li>
					<a href="https://hightechsorcery.com/2020/11/18/xen-clocksource/">Xen Clocksource</a>
									</li>
											<li>
					<a href="https://hightechsorcery.com/2020/10/01/embedded-procedural-programming-inside-sql-server-databases/">Embedded procedural programming inside SQL Server Databases</a>
									</li>
											<li>
					<a href="https://hightechsorcery.com/2020/04/07/interchange-formats/">Interchange formats</a>
									</li>
											<li>
					<a href="https://hightechsorcery.com/2020/01/17/irt-cat-and-related-packages-in-r/">IRT, CAT, and related Packages In R</a>
									</li>
											<li>
					<a href="https://hightechsorcery.com/2019/10/02/reminder-facebook-still-terrible/">Reminder: Facebook: Still Terrible</a>
									</li>
					</ul>

		</aside><aside id="recent-comments-2" class="widget widget_recent_comments"><h1 class="widget-title">Recent Comments</h1><ul id="recentcomments"><li class="recentcomments"><span class="comment-author-link">vishnu</span> on <a href="https://hightechsorcery.com/2016/01/20/reducing-memory-usage-of-rsyslog/#comment-22720">Reducing memory usage of rsyslog</a></li><li class="recentcomments"><span class="comment-author-link"><a href='http://hempa.hu' rel='external nofollow ugc' class='url'>Andras Budai</a></span> on <a href="https://hightechsorcery.com/2011/03/15/resetting-postfixadmin-password/#comment-3938">Resetting postfixadmin password</a></li><li class="recentcomments"><span class="comment-author-link">Rodrigo Botafogo</span> on <a href="https://hightechsorcery.com/2015/04/14/integrating-r-and-ruby/#comment-2813">Integrating R and Ruby</a></li><li class="recentcomments"><span class="comment-author-link"><a href='http://www.hostingfever.in/' rel='external nofollow ugc' class='url'>Hosting Fever</a></span> on <a href="https://hightechsorcery.com/2011/04/05/comparing-piwik-vs-open-web-analytics/#comment-1849">Comparing Piwik vs Open Web Analytics</a></li><li class="recentcomments"><span class="comment-author-link">allg</span> on <a href="https://hightechsorcery.com/2013/02/07/building-xen-4-2-1-packages-on-ubuntu-12-04/#comment-58">Building xen-4.2.1 packages on Ubuntu 12.04</a></li></ul></aside><aside id="archives-2" class="widget widget_archive"><h1 class="widget-title">Archives</h1>
			<ul>
					<li><a href='https://hightechsorcery.com/2020/11/'>November 2020</a></li>
	<li><a href='https://hightechsorcery.com/2020/10/'>October 2020</a></li>
	<li><a href='https://hightechsorcery.com/2020/04/'>April 2020</a></li>
	<li><a href='https://hightechsorcery.com/2020/01/'>January 2020</a></li>
	<li><a href='https://hightechsorcery.com/2019/10/'>October 2019</a></li>
	<li><a href='https://hightechsorcery.com/2019/06/'>June 2019</a></li>
	<li><a href='https://hightechsorcery.com/2019/02/'>February 2019</a></li>
	<li><a href='https://hightechsorcery.com/2018/11/'>November 2018</a></li>
	<li><a href='https://hightechsorcery.com/2018/10/'>October 2018</a></li>
	<li><a href='https://hightechsorcery.com/2018/09/'>September 2018</a></li>
	<li><a href='https://hightechsorcery.com/2018/08/'>August 2018</a></li>
	<li><a href='https://hightechsorcery.com/2018/07/'>July 2018</a></li>
	<li><a href='https://hightechsorcery.com/2018/06/'>June 2018</a></li>
	<li><a href='https://hightechsorcery.com/2018/05/'>May 2018</a></li>
	<li><a href='https://hightechsorcery.com/2018/03/'>March 2018</a></li>
	<li><a href='https://hightechsorcery.com/2018/02/'>February 2018</a></li>
	<li><a href='https://hightechsorcery.com/2016/12/'>December 2016</a></li>
	<li><a href='https://hightechsorcery.com/2016/03/'>March 2016</a></li>
	<li><a href='https://hightechsorcery.com/2016/01/'>January 2016</a></li>
	<li><a href='https://hightechsorcery.com/2015/09/'>September 2015</a></li>
	<li><a href='https://hightechsorcery.com/2015/07/'>July 2015</a></li>
	<li><a href='https://hightechsorcery.com/2015/06/'>June 2015</a></li>
	<li><a href='https://hightechsorcery.com/2015/05/'>May 2015</a></li>
	<li><a href='https://hightechsorcery.com/2015/04/'>April 2015</a></li>
	<li><a href='https://hightechsorcery.com/2013/12/'>December 2013</a></li>
	<li><a href='https://hightechsorcery.com/2013/06/'>June 2013</a></li>
	<li><a href='https://hightechsorcery.com/2013/04/'>April 2013</a></li>
	<li><a href='https://hightechsorcery.com/2013/03/'>March 2013</a></li>
	<li><a href='https://hightechsorcery.com/2013/02/'>February 2013</a></li>
	<li><a href='https://hightechsorcery.com/2013/01/'>January 2013</a></li>
	<li><a href='https://hightechsorcery.com/2012/05/'>May 2012</a></li>
	<li><a href='https://hightechsorcery.com/2012/01/'>January 2012</a></li>
	<li><a href='https://hightechsorcery.com/2011/12/'>December 2011</a></li>
	<li><a href='https://hightechsorcery.com/2011/11/'>November 2011</a></li>
	<li><a href='https://hightechsorcery.com/2011/09/'>September 2011</a></li>
	<li><a href='https://hightechsorcery.com/2011/08/'>August 2011</a></li>
	<li><a href='https://hightechsorcery.com/2011/07/'>July 2011</a></li>
	<li><a href='https://hightechsorcery.com/2011/06/'>June 2011</a></li>
	<li><a href='https://hightechsorcery.com/2011/05/'>May 2011</a></li>
	<li><a href='https://hightechsorcery.com/2011/04/'>April 2011</a></li>
	<li><a href='https://hightechsorcery.com/2011/03/'>March 2011</a></li>
	<li><a href='https://hightechsorcery.com/2011/02/'>February 2011</a></li>
	<li><a href='https://hightechsorcery.com/2011/01/'>January 2011</a></li>
	<li><a href='https://hightechsorcery.com/2010/12/'>December 2010</a></li>
	<li><a href='https://hightechsorcery.com/2010/08/'>August 2010</a></li>
	<li><a href='https://hightechsorcery.com/2010/07/'>July 2010</a></li>
	<li><a href='https://hightechsorcery.com/2010/06/'>June 2010</a></li>
	<li><a href='https://hightechsorcery.com/2010/05/'>May 2010</a></li>
	<li><a href='https://hightechsorcery.com/2010/04/'>April 2010</a></li>
	<li><a href='https://hightechsorcery.com/2010/03/'>March 2010</a></li>
	<li><a href='https://hightechsorcery.com/2010/02/'>February 2010</a></li>
	<li><a href='https://hightechsorcery.com/2010/01/'>January 2010</a></li>
			</ul>

			</aside><aside id="categories-2" class="widget widget_categories"><h1 class="widget-title">Categories</h1>
			<ul>
					<li class="cat-item cat-item-2"><a href="https://hightechsorcery.com/category/development/">Development</a>
</li>
	<li class="cat-item cat-item-3"><a href="https://hightechsorcery.com/category/hardware/">Hardware</a>
</li>
	<li class="cat-item cat-item-4"><a href="https://hightechsorcery.com/category/linux/">Linux</a>
</li>
	<li class="cat-item cat-item-5"><a href="https://hightechsorcery.com/category/ruby-on-rails/">Ruby On Rails</a>
</li>
	<li class="cat-item cat-item-6"><a href="https://hightechsorcery.com/category/sysadmin/">Sysadmin</a>
</li>
	<li class="cat-item cat-item-1"><a href="https://hightechsorcery.com/category/uncategorized/">Uncategorized</a>
</li>
	<li class="cat-item cat-item-7"><a href="https://hightechsorcery.com/category/virtualization/">virtualization</a>
</li>
	<li class="cat-item cat-item-8"><a href="https://hightechsorcery.com/category/web-development/">Web Development</a>
</li>
			</ul>

			</aside><aside id="meta-2" class="widget widget_meta"><h1 class="widget-title">Meta</h1>
		<ul>
						<li><a href="https://hightechsorcery.com/wordpress/wp-login.php">Log in</a></li>
			<li><a href="https://hightechsorcery.com/feed/">Entries feed</a></li>
			<li><a href="https://hightechsorcery.com/comments/feed/">Comments feed</a></li>

			<li><a href="https://wordpress.org/">WordPress.org</a></li>
		</ul>

		</aside>			</div><!-- #sidebar-right -->
		
			</div>

	</div><!-- #main .site-main -->

	<footer id="colophon" class="site-footer" role="contentinfo">
		<div class="site-info">
			<div>&copy; 2026 High Tech Sorcery</div>		</div>
					<div class="f2-credits">
								<a href="http://wordpress.org/" title="A Semantic Personal Publishing Platform" rel="generator">Powered by WordPress</a>
				<span class="sep"> | </span>
				<a href="http://srinig.com/wordpress/themes/f2/">Theme F2.</a>
			</div><!-- .f2-credits -->
			</footer><!-- #colophon .site-footer -->
</div><!-- #page .hfeed .site -->

<script type='text/javascript' src='https://hightechsorcery.com/wordpress/wp-content/themes/f2/js/jquery.fitvids.min.js?ver=2.2.3' id='fitvids-js'></script>
<script type='text/javascript' src='https://hightechsorcery.com/wordpress/wp-content/themes/f2/js/small-menu.js?ver=2.2.3' id='small-menu-js'></script>
<script type='text/javascript' src='https://hightechsorcery.com/wordpress/wp-includes/js/wp-embed.min.js?ver=5.7' id='wp-embed-js'></script>

</body>
</html>