<?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/"
	>

<channel>
	<title>BonesMoses.org</title>
	<atom:link href="http://bonesmoses.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://bonesmoses.org</link>
	<description>(The Crazy Antics of Shaun M. Thomas)</description>
	<lastBuildDate>Fri, 10 May 2013 15:02:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Make pg_hba.conf Redundant by Using pg_hba.conf</title>
		<link>http://bonesmoses.org/2013/05/10/make-pg_hba-conf-redundant-by-using-pg_hba-conf/</link>
		<comments>http://bonesmoses.org/2013/05/10/make-pg_hba-conf-redundant-by-using-pg_hba-conf/#comments</comments>
		<pubDate>Fri, 10 May 2013 15:02:07 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Tech Talk]]></category>
		<category><![CDATA[Postgres]]></category>
		<category><![CDATA[Postgres Feed]]></category>

		<guid isPermaLink="false">http://bonesmoses.org/?p=840</guid>
		<description><![CDATA[Let's face it, the pg_hba.conf file is a pain in the ass to use regularly. Sure, reloading the database will cause it to re-read this file, but with a lot of active users and frequent changes, this isn't really tenable.

Luckily lurking deep within its bowels, PostgreSQL has a little-known feature that can easily be overlooked because it's so humbly stated.]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s face it, the pg_hba.conf file is a pain in the ass to use regularly. Sure, reloading the database will cause it to re-read this file, but with a lot of active users and frequent changes, this isn&#8217;t really tenable.</p>

<p>Luckily lurking deep within its bowels, PostgreSQL has a little-known feature that can easily be overlooked because it&#8217;s so humbly stated. Here&#8217;s the manual entry for pg_hba.conf for the <strong>user</strong> section:</p>

<blockquote>
  <p>Specifies which database user name(s) this record matches. The value all specifies that it matches all users. Otherwise, this is either the name of a specific database user, or a group name preceded by +. (Recall that there is no real distinction between users and groups in PostgreSQL; a + mark really means &#8220;match any of the roles that are directly or indirectly members of this role&#8221;, while a name without a + mark matches only that specific role.) Multiple user names can be supplied by separating them with commas. A separate file containing user names can be specified by preceding the file name with @.</p>
</blockquote>

<p>The implications of this are staggering and should be shouted from the rooftops frequently and with much fanfare. But what part of that paragraph is the feature that has me raving about its awesomeness? The + decorator for a specified role.</p>

<p>Initially, it might occur to a DBA to simply take advantage of this ability to use existing roles and segregate access by implementing a few well-placed group lines into the file. Say we wanted to allow all DB developers to connect, and our local subnet had a range for desktop systems. We could do this:</p>

<pre><code># TYPE  DATABASE    USER          CIDR-ADDRESS        METHOD
host    all         +developer    10.10.0.0/16        md5
</code></pre>

<p>And viola! Instead of granting access to each individual person, anyone in the developer group could connect provided they had a password. Neat, eh?</p>

<p>Ah, but it goes much deeper than that.</p>

<p>What happens when we apply this to the entire file, and completely purge all individual user entries entirely? Even for automated or batch systems? We get the opportunity to build a connection policy enforceable by in-database methods. Instead of modifying the access file and reloading the database, GRANT and REVOKE become the only commands we&#8217;ll ever need.</p>

<p>Imagine we have our production environment and we&#8217;ve locked down the entire pg_hba.conf file from external access with this single line for our internal VPN:</p>

<pre><code># TYPE  DATABASE    USER          CIDR-ADDRESS        METHOD
host    all         +prod_env     10.0.0.0/8          md5
</code></pre>

<p>Now, being quite this permissive is probably not a good idea. In a real setup, the production system should only accessible from a very limited range of addresses. However, for the purposes of this discussion, it&#8217;s fine. Next, let&#8217;s create the <code>prod_env</code> group, and a user to grant it to:</p>

<pre><code>CREATE ROLE prod_env WITH NOLOGIN;
CREATE USER foobar WITH PASSWORD 'testing';
GRANT prod_env TO foobar;
</code></pre>

<p>Now our <code>foobar</code> user can connect as often as he likes, and we didn&#8217;t have to touch anything external to the database after the initial configuration. Here&#8217;s where it gets fun. The <code>foobar</code> user has been naughty, and we&#8217;re kicking him out of production. Our prod environment is regularly copied into stage in redacted form, so it&#8217;s still OK for him to connect there. Let&#8217;s save ourselves some effort and add a <code>stage_env</code> group.</p>

<pre><code>REVOKE prod_env FROM foobar;
CREATE ROLE stage_env WITH NOLOGIN;
GRANT stage_env TO foobar;
</code></pre>

<p>And in our stage environment, it would have a pg_hba.conf similar to what we have in production:</p>

<pre><code># TYPE  DATABASE    USER          CIDR-ADDRESS        METHOD
host    all         +stage_env    10.0.0.0/8          md5
</code></pre>

<p>Now the same user can exist in both environments, but only be able to connect to one. This kind of interleaving is easy to accomplish and the controls can be as fine or coarse as your imagination demands.</p>

<p>But it actually gets better!</p>

<p>Suppose our organization has a support team, who we clearly don&#8217;t want to give superuser access, but they want to regularly modify user rights. Well, we could grant them every group <code>WITH GRANT OPTION</code> for later distribution, but that&#8217;s not really ideal. How about a function they can use instead?</p>

<pre><code>CREATE OR REPLACE FUNCTION grant_conn_role(
  username VARCHAR, rolename VARCHAR
)
RETURNS BOOLEAN AS
$BODY$
BEGIN

  -- Only allow 'env' roles to be granted this way. That extension is
  -- reserved for connection restrictions.

  IF rolename !~ E'\_env' THEN
    RETURN False;
  END IF;

  -- Don't allow the use of this function to grant superuser access!

  PERFORM (WITH RECURSIVE rolecheck AS (
    SELECT rolname
      FROM pg_authid
     WHERE rolsuper
    UNION 
    SELECT r.rolname
      FROM pg_authid a
      JOIN rolecheck c ON (c.rolname = a.rolname)
      JOIN pg_auth_members m ON (m.roleid = a.oid)
      JOIN pg_authid r on (m.member = r.oid)
  )
  SELECT 1
     FROM rolecheck
    WHERE rolname = rolename);

  IF FOUND THEN
    RETURN False;
  END IF;

  -- It's now safe to do the grant.

  EXECUTE 'GRANT ' || quote_ident(rolename) || ' TO ' ||
          quote_ident(username);

  RETURN (SELECT pg_has_role(username, rolename, 'MEMBER'));
END;
$BODY$ LANGUAGE plpgsql SECURITY DEFINER;

REVOKE EXECUTE ON FUNCTION grant_conn_role(VARCHAR, VARCHAR) FROM PUBLIC;
GRANT EXECUTE ON FUNCTION grant_conn_role(VARCHAR, VARCHAR) TO support;
</code></pre>

<p>Now anyone in the <code>support</code> group can modify user rights as if they were a superuser. Of course, we plugged the obvious hole so support users can&#8217;t grant themselves a superuser capable role. But we also want this to only work with roles that fit a certain naming scheme. In this case, anything ending in <code>_env</code> is set aside for connection wrangling. You could just as easily use <code>conn_</code> as a prefix instead, or any preferable nomenclature. Just modify the function to reflect the standard.</p>

<p>As DBAs, we want to do as little work as possible while simultaneously providing a secure and reliable system. Reloading database configs unnecessarily and doing all user management personally doesn&#8217;t really reflect that goal. We might as well use the tools the database provides to be lazy but still protect the environment.</p>

<p>With PostgreSQL, this is both easy and surprisingly powerful, all thanks to <code>pg_hba.conf</code> making itself redundant.</p>
]]></content:encoded>
			<wfw:commentRss>http://bonesmoses.org/2013/05/10/make-pg_hba-conf-redundant-by-using-pg_hba-conf/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Free PostgreSQL Backup Book? Yes Please!</title>
		<link>http://bonesmoses.org/2013/04/26/free-postgresql-backup-book-yes-please/</link>
		<comments>http://bonesmoses.org/2013/04/26/free-postgresql-backup-book-yes-please/#comments</comments>
		<pubDate>Fri, 26 Apr 2013 15:53:04 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Tech Talk]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Book]]></category>
		<category><![CDATA[Contest]]></category>
		<category><![CDATA[Giveaway]]></category>
		<category><![CDATA[Postgres]]></category>
		<category><![CDATA[Postgres Feed]]></category>

		<guid isPermaLink="false">http://bonesmoses.org/?p=836</guid>
		<description><![CDATA[A little while ago, I wrote to the PostgreSQL general mailing list that I'd been approached by <a href="http://www.packtpub.com/">Packt Publishing</a> to contribute a quick manual on doing PostgreSQL backups: Instant PostgreSQL Backup and Restore How-to. They're the same guys who published Greg Smith's PostgreSQL 9.0 High Performance book which everyone seems to swear by.]]></description>
			<content:encoded><![CDATA[<p>A little while ago, I wrote to the PostgreSQL general mailing list that I&#8217;d been approached by <a href="http://www.packtpub.com/">Packt Publishing</a> to contribute a quick manual on doing PostgreSQL backups: Instant PostgreSQL Backup and Restore How-to. They&#8217;re the same guys who published Greg Smith&#8217;s PostgreSQL 9.0 High Performance book which everyone seems to swear by.</p>

<p>The goal of the backup book was to distill the PostgreSQL documentation, tools, and Wiki down to a collection of short step-by-step guides much like the O&#8217;Reilly nutshell series. A lot of the backup recipes we DBAs trade back and forth as a matter of course may not be so obvious, and I threw a couple tricks in for advanced users, to boot.</p>

<p>Well, here&#8217;s your chance to spring a free copy! The marketing folks have given the go-ahead to hold a giveaway, and have set aside four copies for lucky winners. A longer description of the How-to is <a href="http://www.packtpub.com/how-to-postgresql-backup-and-restore/book">on their site</a>.</p>

<p>All they want to know is what you, as a prospective reader, find most interesting or potentially useful about the book. My comment section will be open until May 8th for replies along these lines. If you are selected, Packt will email you with information on how to get your free digital copy. If your comment catches our attention, you&#8217;re one step closer. If you want a print copy, they&#8217;re available <a href="http://www.amazon.com/Instant-PostgreSQL-Backup-Restore-How-/dp/1782169105">from Amazon</a> separately.</p>

<p>So remember:</p>

<ul>
<li>Free book</li>
<li>What interests you about it?</li>
<li>Submit a comment</li>
<li>You&#8217;re entered</li>
</ul>

<p>I look forward to forcing Packt to do some community service by handing out free copies of the book, and you should too. <img src='http://bonesmoses.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://bonesmoses.org/2013/04/26/free-postgresql-backup-book-yes-please/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Phone, Phone on the Range</title>
		<link>http://bonesmoses.org/2013/03/15/phone-phone-on-the-range-2/</link>
		<comments>http://bonesmoses.org/2013/03/15/phone-phone-on-the-range-2/#comments</comments>
		<pubDate>Sat, 16 Mar 2013 01:21:34 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[Rant]]></category>
		<category><![CDATA[Tech Talk]]></category>
		<category><![CDATA[HTC]]></category>
		<category><![CDATA[HTC One]]></category>
		<category><![CDATA[Samsung]]></category>
		<category><![CDATA[Samsung Galaxy S4]]></category>
		<category><![CDATA[smartphones]]></category>
		<category><![CDATA[Sony]]></category>
		<category><![CDATA[Sony Xperia]]></category>

		<guid isPermaLink="false">http://bonesmoses.org/?p=826</guid>
		<description><![CDATA[Mid March is an interesting time of year in 2013. Now that the Galaxy S4 has been announced, there are really three major contenders for my itchy spending finger. Well, technically there are four, but one of them doesn't really count, for reasons I'll expound upon shortly.]]></description>
			<content:encoded><![CDATA[<p>Mid March is an interesting time of year in 2013. Now that the Galaxy S4 has been announced, there are really three major contenders for my itchy spending finger. Well, technically there are four, but one of them doesn&#8217;t really count, for reasons I&#8217;ll expound upon shortly.</p>

<h3>Google Nexus IV</h3>

<p>This is the phone that doesn&#8217;t count. One major benefit it has over all of the others, is that it gets updates directly from Google. Any Android advances are adopted in very short order, without any of the usual US carrier shenanigans. Unfortunately Google seems to believe 16GB ought be enough for anybody. Not only is 16GB the largest amount of memory in this particular phone, but since it doesn&#8217;t have an SD-card slot, it&#8217;s the most anyone will ever have.</p>

<p>Google believes The Cloud can supplant the need for large amounts of storage. It is wrong. Not only are some games on Google Play over 2GB in size, but carrier reception is hardly ubiquitous, and bandwidth is anything but generous. Anyone depending entirely on The Cloud for their entertainment will quickly find themselves tune-less or over their (likely 2GB) bandwidth cap in short order.</p>

<p>In a few years this may no longer be an issue, but now, in 2013, it is very much relevant and a limiting factor. Phones need at least 32GB of storage, and the ability to add more is often appreciated.</p>

<p>There are many&#8212;possibly millions&#8212;of people that can ignore this shortcoming, and the sales of the Nexus 4 have been booming. I however, do not count among their number. The other relative strengths or weaknesses of this device are heavily outweighed by this one missing feature, so I won&#8217;t even mention them. This phone doesn&#8217;t count in my list, and it&#8217;s a shame.</p>

<p>Sorry Google.</p>

<h3>Sony Xperia Z</h3>

<p>Sony? What? When did Sony make a good smart phone? Apparently they&#8217;ve woken up and decided they want to actually compete in the arena, and delivered what many agree is a very strong entry. 1080p screen, quad-core Snapdragon, 13 megapixel camera, a big 2330 mAh battery, SD-card slot, NFC chip, it&#8217;s mostly all there. Amusingly, they also made it waterproof, which is a big plus for all those accidental drops into puddles and the occasional toilet.</p>

<p>What&#8217;s not so great is that they didn&#8217;t include wireless charging, a strange thing to omit in a waterproof device. Needlessly opening up the USB port cover for charging could eventually wear it out. And though they actually have an SD-card slot, the phone itself only includes 16GB; there are no 32GB or 64GB versions. Oddly, it&#8217;s also only compatible with SD-cards up to 32GB. Again, 64GB cards are old news these days, and a strange thing to leave out.</p>

<p>The phone is also hilariously expensive at $850 off contract, and for all that, most reviews ding the screen for its relatively bad viewing angles. Anyone who watches media on the 5-inch screen while it&#8217;s on a kickstand may find that unacceptable. The battery life is also reportedly on the low end.</p>

<p>Yet a few gripes are what anyone would expect. All in all, it&#8217;s a device I could live with. That&#8217;s more than I could say about the Nexus 4.</p>

<h3>HTC One</h3>

<p>Go home HTC, you&#8217;re drunk. You&#8217;ve already had a One S, a One X, and possibly everything in between. Whoever is in charge of your marketing and branding division should be dragged out into the street and shot. Why?</p>

<p>Because this phone is <a href="http://www.engadget.com/2013/03/12/htc-one-review/">fucking beautiful</a>, that&#8217;s why. It is hands-down the best looking Android phone I have ever laid eyes upon. The 4.7 inch-screen isn&#8217;t quite as large as Sony&#8217;s 5-inches, but it&#8217;s still 1080p. The two-tone machined aluminum shell with black accents is breathtaking, but it&#8217;s also functional. The top speaker grill obscures the notification LED so it isn&#8217;t so obtrusive. The stereo speakers are prominently on the front of the phone, and reviewers have gushed at how amazing they sound.</p>

<p>The power button on top? Ok, that&#8217;s somewhat odd. But it also doubles as an IR-blaster. Finally, a phone I could use as a TV remote! Jesus, why has it taken this long to add this? A couple well-designed universal remote apps could render remote juggling a thing of the past. It also has 802.11ac, the newest (draft) standard in wireless. Not really essential until compatible routers are more ubiquitous, but it&#8217;s a nice touch. They also opted for a <em>larger</em> camera sensor instead of simply higher resolution. The pictures totally blow away those from other recent phones. That said, they probably went too low with 4MP. What looks great on a phone may not look so well when printed or zoomed for editing. Anything larger than a 3&#215;5 print will look grainy. Not really a problem for me, but some might be unpleasantly surprised when at the copy shop.</p>

<p>Like the Sony Xperia it has no wireless charging. No induction coil will really work effectively through the aluminum shell. And while it comes in a 32GB flavor, unlike the Nexus 4, it has no expandable storage. What may be worse: it can&#8217;t be disassembled to replace the battery if it goes bad. That aluminum shell with polycarbonate injection molding is effectively a beautiful, inaccessible slab.</p>

<p>Why do I care? The battery in my Galaxy S2 went bad. Not only did it not hold a charge, but the phone acted very oddly regardless of the reported power level. Eventually I returned the bloated ruin and received a replacement. With an HTC One, they&#8217;re most likely going to offer a replacement <em>phone</em>, and take the old one for refurbishing because it has to go back to a factory for a new battery. That, or I throw it away and buy a new phone. That kind of disposable planned obsolescence makes me exceptionally angry, especially considering how much the One is likely to cost off contract. At least the Nexus 4 is only a few screws away from a new battery.</p>

<p>So the awesome is tempered with some very real annoyances. And worse, even those who could forgive the permanent battery may never even know about the phone at all. HTC&#8217;s marketing budget was actually cut by 15% this year, and like I said, most people would naturally assume the One is an <em>older</em> version of the One X or some other HTC variant. HTC failed big-time in this regard, unless they start a new trend like what we see in the automotive industry. I mean, a Hyundai Sonata can vary greatly between model years, but its name never changes.</p>

<p>If that&#8217;s the direction they&#8217;re going, I wish them all the luck in the world. This endless stream of sequential numbering and nonsensical buzzword-rich names is long since tiresome and idiotic.</p>

<h3>Samsung Galaxy S4</h3>

<p>And finally, the most recently revealed entry in the Galaxy series. I could say a lot about Samsung, but their phone division is some kind of magical beast straight out of ancient mythology. It has every feature from all the phones I just mentioned, and then adds a few just for good measure.</p>

<p>Five inch screen? Yep. 1080p? Of course. 13MP camera? Why not? NFC chip? Duh. 2600 mAh battery? Holy crap! Wireless charging? It would be stupid not to. Barometer? Sure. SD-card? Is 64GB enough for ya? Internal memory? Up to 64GB, because Fuck You, every other phone. 802.11ac? No contest. A dual quad-core Exynos 5? You better believe it. 2GB RAM? Why use less. IR-blaster? Suck it, HTC. Less than 8mm thick? Anything thicker is only suitable to pave sidewalks. Replaceable battery? Only if you think a trunk is an essential feature in your car (it is).</p>

<p>And it goes on and on like that. The only real problem with the S4, is that it&#8217;s as ugly as balls. Seriously. I can hardly believe this is the same company that made the S2, which was as functional as it was good-looking. The S3 was a hideous Lovecraftian writhing horror by comparison. It&#8217;s sad to see Samsung continue that trend by only slightly revising that revolting design, especially after witnessing the ethereal perfection that is the HTC One. But we can&#8217;t have everything we want, and I&#8217;d rather have features I&#8217;d use than a phone to attract the drool of filthy passers-by.</p>

<p>It&#8217;s too soon to say how well the battery performs, but it&#8217;s bigger than what they put in the original Galaxy Note, a much larger device. And since it was just announced yesterday, there aren&#8217;t a lot of long-term reviews out there, but it looks like this is the top of the heap for people who don&#8217;t mind that it resembles regurgitated anus. While I would prefer something as classy as the HTC One, the S4 stomps all over it in terms of features. Provided it isn&#8217;t a buggy mess and the dev community provides some good ROMs, it&#8217;s very likely this will be my next device when it&#8217;s finally available in the US.</p>

<h3>Final Thoughts</h3>

<p><em>This</em> is why Samsung sells a ton of phones and has become the top grossing Android manufacturer. It&#8217;s not just the endless buckets of cash they spend on marketing, but the fact they somehow cram every iota of functionality into their devices. People aren&#8217;t blind to that. HTC can make <a href="http://www.engadget.com/2013/03/15/htc-cmo-ben-ho-galaxy-s-4/">snide comments</a> about it all day long, but until they can give us all the features Samsung does, they can shut the hell up.</p>

<p>And I&#8217;m sorry Sony, you really tried this time. I&#8217;m honestly shocked at how well the new Xperia compares to the S4. The fact they made a waterproof phone and <em>still</em> managed to add an SD-card slot is commendable. See that HTC and LG? It&#8217;s not impossible. But the Galaxy is just&#8230; more. Somehow, it always is. How? I have no clue. It should be impossible to be so consistently ahead of everyone else.</p>

<p>Honestly, HTC should be glad Samsung apparently hires drunken orangutans to design its phones. Does HTC actually want a <em>good looking</em> Galaxy device to compete with? Fuck no. How would HTC compete then? Still, HTC almost had me with the One. If not for the battery being firmly embedded in about five acres of aluminum, I may have even bought it despite having fewer features. It&#8217;s <em>that</em> enticing. Seriously, just fucking <a href="http://www.androidpolice.com/2013/02/19/hands-on-with-the-htc-one-great-build-quality-great-screen-odd-buttons-video/">look at it</a>. Why, Samsung?!</p>

<p>Oh well, the consumers are the winners here no matter what. I for one, love the competition. Come April, my S2 is going to be on Craigslist, and I&#8217;ll have to re-train my thumb for another half inch of real-estate.</p>
]]></content:encoded>
			<wfw:commentRss>http://bonesmoses.org/2013/03/15/phone-phone-on-the-range-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Little Bit of Wondering</title>
		<link>http://bonesmoses.org/2012/12/27/a-little-bit-of-wondering/</link>
		<comments>http://bonesmoses.org/2012/12/27/a-little-bit-of-wondering/#comments</comments>
		<pubDate>Fri, 28 Dec 2012 01:35:00 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[Contemplation]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Anxiety]]></category>
		<category><![CDATA[Depression]]></category>
		<category><![CDATA[Dreams]]></category>
		<category><![CDATA[Lexapro]]></category>

		<guid isPermaLink="false">http://bonesmoses.org/?p=821</guid>
		<description><![CDATA[About a week ago, I was prescribed Lexapro. While this may not be the stuff I'm on long-term, it's still long overdue for reasons obvious to anyone who knows me.]]></description>
			<content:encoded><![CDATA[<p>About a week ago, I was prescribed Lexapro. While this may not be the stuff I&#8217;m on long-term, it&#8217;s still long overdue for reasons obvious to anyone who knows me.</p>

<p>What I currently find most interesting about it however, is actually related to a dream I had last night. My dreams tend to be very vivid and numerous, though sometimes they follow a theme or storyline. Last night, there was one particular scene I recall with such clarity, it&#8217;s almost difficult to accept I wasn&#8217;t awake. Clearly I was asleep, and obviously it didn&#8217;t happen, but the fact it&#8217;s burned into my long-term memory is very strange.</p>

<p>In this portion of the dream, I was about to take some of my Lexapro. For the first few days, the doctor wanted me to take half doses, and my sleeping brain still had a firm grasp of this constraint. But alas! Upon pouring the pills into my hand, I accidentally dropped them all on the floor. Did I mention I was at work? And for some reason, work in my dream had shag carpeting? While bent over and putting all the pills back into the bottle, I was worried I wouldn&#8217;t get them all. So worried in fact, I was basically just shoving various floor detritus into the bottle. I even picked carpet fibers from one of the split tablets; I didn&#8217;t want to lose any!</p>

<p>This included some rotten vegetables (why?) that were also tangled up in the carpet. Realizing my mistake, I carefully extracted the vegetables from the bottle, but then noticed the pills were gone! What happened to them? They were dissolved by the juices of the rotten produce, which was now all over my hands. Somehow the tablets I had cut in half&#8212;the whole reason I had to pour them into my hand&#8212;had become capsules and also dissolved into the goo. The new worry of course, was that I had overdosed by osmosis.</p>

<p>Work was having a big party that night, but of course I had to leave because I needed to get my prescription replaced. Leaving the party was partially a relief, because of course I hate large gatherings of people. And wouldn&#8217;t you know it? I forgot the bottle, so I had to go back into work and retrieve it before I could actually leave.</p>

<p>Now, the dream itself had a few other elements I somewhat recall, but details are sketchy and I&#8217;d be too tempted to fill in missing pieces. The part about dropping everything, picking through the carpet, and then having Lexapro-infused veggie goo all over my hands was extremely vivid. I didn&#8217;t sleep well last night in general, waking up a couple times and then just being awake for no reason, so it&#8217;s good to know I got <em>some</em> sleep. But the fact my dreams centered on a bunch of worrisome BS is hardly relaxing.</p>

<p>I now realize I do that quite often. Some of my dreams are grand adventures, but another portion of them are just a bunch of worrying about things. It&#8217;s ridiculous, really. My only real hope is that the Lexapro isn&#8217;t contributing to my periodic insomnia. That&#8217;s really the last thing I need right now.</p>

<p>Until Tomorrow</p>
]]></content:encoded>
			<wfw:commentRss>http://bonesmoses.org/2012/12/27/a-little-bit-of-wondering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Letter to Technology Companies Utilizing Patents to Stifle Competitors</title>
		<link>http://bonesmoses.org/2012/05/19/a-letter-to-technology-companies-utilizing-patents-to-stifle-competitors/</link>
		<comments>http://bonesmoses.org/2012/05/19/a-letter-to-technology-companies-utilizing-patents-to-stifle-competitors/#comments</comments>
		<pubDate>Sat, 19 May 2012 19:04:40 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[Rant]]></category>
		<category><![CDATA[patents]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://bonesmoses.org/?p=815</guid>
		<description><![CDATA[Stop it.

Seriously, just stop. All of you are acting like children. Not merely children, but spoiled little selfish brats, and it's embarrassing to everyone. You should be ashamed of yourselves.]]></description>
			<content:encoded><![CDATA[<p>Stop it.</p>

<p>Seriously, just stop. All of you are acting like children. Not merely children, but spoiled little selfish brats, and it&#8217;s embarrassing to everyone. You should be ashamed of yourselves.</p>

<p>Why?</p>

<p>I&#8217;ll tell you, and it&#8217;s not what you might expect to hear. It isn&#8217;t about fanboys or fangirls, theft of intellectual property, laughably vague patents on generic concepts which could feasibly apply to practically anything, jealousy, innovation, or even the almighty dollar. It&#8217;s all of these things, yet none of them, for which you should avert your attention to the ground and sheepishly beg our forgiveness.</p>

<p>The first person you should address is Sir Isaac Newton, one of the greatest mathematicians and scientists who helped define our modern world. He once wrote in a letter of his achievements, &#8220;If I have seen further it is by standing on ye sholders of Giants.&#8221; Without his work, there would be no software to copy.</p>

<p>Then you can turn your attention to Nikola Tesla, whose inventions make mobile communication and electronics possible. Tell him how you&#8217;ve patented not clever engineering you&#8217;ve created, but shapes and styles, colors and words. Say to his face, how your patents on end results are just as legitimate as his for demonstrated methodology. If he acted as you have, there would be no computers at all.</p>

<p>I could go on, but then this rant would be effectively endless. In your world, there would be no cars, just &#8220;Conveyance devices constructed of metal, equipped with an engine capable of turning one or more wheels to provide propulsion in any direction.&#8221; That would cover everything from motorcycles to trains, and they&#8217;d all owe royalties to whomever had their name on that particular patent.</p>

<p>But why do you even have that patent? It&#8217;s because Mr. Tesla made radio possible. It&#8217;s because Newton figured out the physics and math to describe and define it in such a way it was repeatable and logically sound. You would have nothing, all of you, without the hundreds and thousands of inventors and designers throughout history who made your existence possible. Yet in your greed, instead of thanking these men and women for their contributions, you claim for yourselves the fruits of their labor. As if it was only through your effort that your ridiculous assertions have merit.</p>

<p>You have no sense of perspective. You&#8217;re poisoning the very industry you claim to represent, and it&#8217;s reprehensible. The vicious momentum that wrenched us from the industrial revolution to the age of the internet is literally being violated by your frivolous attempts to keep the profits of these advancements for yourselves. You have transformed yourselves from leaders and innovators into pustules upon the technology sector, wretched and cantankerous old men, jealously hoarding the spoils of your endeavors and attacking anyone who dares look upon you.</p>

<p>When time has moved on and your influence finally wanes, you will not be remembered as giants who propelled us forward, but contemptible fonts of greed and avarice that stifled technological progress for decades. Your name will be a curse upon the lips of mankind, and your leaders as whispered threats meant to scare children to behave. You are pathetic and everyone can see it as you righteously assert yourselves over competitors large and small, with no regard for those of us caught in the crossfire who must endure your ignorance.</p>

<p>That is the future and perception you have chosen for yourself. I hope you enjoy your current success, because it shall turn to ashes in your mouth, and evoke only hate from everyone you&#8217;ve alienated along the way.</p>
]]></content:encoded>
			<wfw:commentRss>http://bonesmoses.org/2012/05/19/a-letter-to-technology-companies-utilizing-patents-to-stifle-competitors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
