<?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>Tech Debug</title>
	<atom:link href="https://techdebug.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://techdebug.com</link>
	<description>Technical analysis of various topics</description>
	<lastBuildDate>Mon, 17 Feb 2020 08:01:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.2.2</generator>
	<item>
		<title>AWS PowerShell Lambda Build Environment for Docker</title>
		<link>https://techdebug.com/blog/2020/02/17/aws-powershell-lambda-build-environment-for-docker/</link>
					<comments>https://techdebug.com/blog/2020/02/17/aws-powershell-lambda-build-environment-for-docker/#respond</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Mon, 17 Feb 2020 08:00:21 +0000</pubDate>
				<category><![CDATA[2012]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[buildkite]]></category>
		<category><![CDATA[docker]]></category>
		<category><![CDATA[dotnet core]]></category>
		<category><![CDATA[lambda]]></category>
		<category><![CDATA[powershell]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=1245</guid>

					<description><![CDATA[If you&#8217;re deploying an AWS PowerShell Lambda (which is PowerShell Core 6.0) in a build pipeline, you&#8217;ll likely come across the fact that the older PowerShell docker images don&#8217;t have Dotnet Core installed. The .NET Core 3.0 .NET Core 3.0 SDK Docker images now contain PowerShell Core, but since AWS still uses .NET Core 2.1 [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>If you&#8217;re deploying an AWS PowerShell Lambda (which is PowerShell Core 6.0) in a build pipeline, you&#8217;ll likely come across the fact that the older PowerShell docker images don&#8217;t have Dotnet Core installed.</p>



<p>The .NET Core 3.0 .NET Core 3.0 SDK Docker images now contain PowerShell Core, but since AWS still uses .NET Core 2.1 which is in Long Term Support, you&#8217;re out of luck.</p>



<p>Therefore if you&#8217;re deploying your lambda from your CI pipeline using docker, then you need a build environment which has:</p>



<ul><li>PowerShell Core 6</li><li>.NET Core 2.1</li><li>AWS Tools for PowerShell</li></ul>



<p>You&#8217;ve come to the right place. Here is a DockerFile you can use to build your Lambda deployment environment. Make sure you choose the <a href="https://docs.aws.amazon.com/powershell/latest/reference/Index.html">AWS PowerShell Tools module</a> you need in the last line:</p>


<script src="https://gist.github.com/1c0b23813213973857c276392eee74d1.js"></script>


<p>An example of how you can build and use this image in a pipeline is below. I use <a href="https://buildkite.com/">Buildkite</a>, so YMMV:</p>


<script src="https://gist.github.com/535cb3048cb85e40212867914dda101b.js"></script>]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2020/02/17/aws-powershell-lambda-build-environment-for-docker/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Sunscreen &#8211; Does it really help?</title>
		<link>https://techdebug.com/blog/2019/07/14/sunscreen-does-it-really-help/</link>
					<comments>https://techdebug.com/blog/2019/07/14/sunscreen-does-it-really-help/#respond</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Sun, 14 Jul 2019 09:42:52 +0000</pubDate>
				<category><![CDATA[health]]></category>
		<category><![CDATA[cancer]]></category>
		<category><![CDATA[chemical]]></category>
		<category><![CDATA[melanoma]]></category>
		<category><![CDATA[octyl methoxycinnamate]]></category>
		<category><![CDATA[sunscreen]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=340</guid>

					<description><![CDATA[A large increase in melanoma has been experienced in countries where chemical sunscreens are in use. This has been seen in the last decade in places such as Australia where promotion of sunscreens has been ongoing. In 1992 Queensland had more incidences of melanoma per capita than any other place on Earth. [11] Not to [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>A large increase in melanoma has been experienced in countries where chemical sunscreens are in use. This has been seen in the last decade in places such as Australia where promotion of sunscreens has been ongoing. In 1992 Queensland had more incidences of melanoma per capita than any other place on Earth. <sup id="cite_note11"><a href="#cite_ref11">[11]</a></sup><br />
<span id="more-340"></span></p>
<p>Not to be joked about is the result of applying sunscreen to your skin, which as an organ absorbs chemicals. How else does a Nicotine patch work?! A study in the April 2004 Journal of Chromatography found that there is &#8220;&#8230; significant penetration of all sunscreen agents into the skin, and oxybenzone and metabolites across the skin&#8221;. <sup id="cite_note12"><a href="#cite_ref12">[12]</a></sup> A randomized clinical trial published results this year in the Journal of the American Medical Association found that found that several active ingredients, including oxybenzone, enter the bloodstream at levels that far exceed the agency’s recommended threshold for requiring additional safety tests. This was with application of four commercially available sunscreens according to current sunscreen labeling (apply at least every 2 hours). <sup id="cite_note18"><a href="#cite_ref18">[18]</a></sup></p>
<h2>Chemical Sunscreens Include:</h2>
<ul>
<li>Benzophenones (dixoybenzone, oxybenzone &#8211; a <a href="https://www.niehs.nih.gov/health/topics/agents/endocrine/">potential hormone disruptor</a>) &#8211; rapidly oxidise in the presence of light and inactivates important antioxidant systems in the skin (the skin&#8217;s natural protection system) <sup id="cite_note5"><a href="#cite_ref5">[5]</a></sup></li>
<li>Titanium dioxide &#8211; causes DNA damage (the cells genetic material) due to superoxide radicals, active oxygen radicals and hydroxyl radicals when exposed to light <sup id="cite_note2"><a href="#cite_ref2">[2]</a></sup><sup id="cite_note3"><a href="#cite_ref3">[3]</a></sup><sup id="cite_note4"><a href="#cite_ref4">[4]</a></sup></li>
<li>PABA and PABA esters:
<ul>
<li>ethyl dihydroxy propyl PAB</li>
<li>glyceryl PABA</li>
<li>p-aminobenzoic acid</li>
<li>padimate-O &#8211; produces free radicals in presence of light (singlet molecular oxygen) and substantially increase indirect damage (strand breaks in DNA) when in contact with cells <sup id="cite_note1"><a href="#cite_ref1">[1]</a></sup><sup id="cite_note7"><a href="#cite_ref7">[7]</a></sup></li>
<li>octyl dimethyl PABA &#8211; produces free radicals in the presence of light <sup><a href="#cite_ref1">[1]</a></sup></li>
</ul>
</li>
<li>Cinnamates:
<ul>
<li>cinoxate causes DNA damage (sister chromatid exchanges) <sup id="cite_note6"><a href="#cite_ref6">[6]</a></sup></li>
<li>ethylhexyl p-methoxycinnamate</li>
<li>octocrylene</li>
<li>octyl methoxycinnamate &#8211; produces free radicals (singlet molecular oxygen) known to be toxic to cells <sup id="cite_note1"><a href="#cite_ref1">[1]</a></sup></li>
</ul>
</li>
<li>Salicylates (ethylhexyl salicylate, homosalate, octyl salicylate)</li>
<li>Digalloyl trioleate</li>
<li>Menthyl anthranilate</li>
<li><a href="http://en.wikipedia.org/wiki/Avobenzone">Avobenzone</a> [butyl-methyoxydibenzoylmethane; Parsol 1789] &#8211; This is the only chemical sunscreen currently allowed by the European Community. However, its safety is still questionable since it easily penetrates the skin and is a strong free radical generator.</li>
<li>Dibenzoylmethane &#8211; produces free radicals responsible for direct DNA damage (strand breaks) <sup id="cite_note8"><a href="#cite_ref8">[8]</a></sup></li>
<li>Methyl sinapate &#8211; causes DNA damage (chromosome aberrations and sister chromatid exchanges) <sup id="cite_note9"><a href="#cite_ref9">[9]</a></sup></li>
<li>Phenylbenzimidazole sulphonic acid and 2-phenylbenzimidazole &#8211; acts as photosensitisers of DNA damage when exposed to sunlight or UV-B radiation <sup id="cite_note10"><a href="#cite_ref10">[10]</a></sup></li>
</ul>
<h2>What about Free Radicals?</h2>
<p>Many of the ingredients found in commercially sold sunscreens (as listed above) can have free radical generating properties which <em>MAY</em> increase cellular damage and changes that may lead to cancer. Details on why:</p>
<ul>
<li>Oxygen-free radicals are more generally known as reactive oxygen species (ROS). The cumulative production of ROS is termed oxidative stress.</li>
<li>Oxidative stress induces a cellular redox imbalance which has been found to be present in various cancer cells compared with normal cells; the redox imbalance thus may be related to oncogenic stimulation (tending to cause or give rise to tumors).</li>
<li>DNA mutation is a critical step in carcinogenesis and elevated levels of oxidative DNA lesions (8-OH-G) have been noted in various tumours, strongly implicating such damage in the study of causation of cancer.</li>
<li>UV rays absorbed by the skin can generate harmful compounds called reactive oxygen species (ROS), which as detailed above can be related to skin cancer. Once the filters (Some of the chemical blockers listed above) soak into the lower layers of skin, they react with UV light to create more damaging ROS. Research indicates that sunscreen filters become damaging when they are soaked into the skin and another layer of sunscreen is not applied.
<ul>
<li>A team of researchers from the <a href="https://newsroom.ucr.edu/1399">University of California found</a> that three commonly used ultraviolet (UV) filters in sunscreen &#8211; octyl methoxycinnamate, benzophenone 3 and octocrylene &#8211; eventually soak into the deeper layers of the skin after application, leaving the top skin layers vulnerable to sun damage. <sup id="cite_note17"><a href="#cite_ref17">[17]</a></sup></li>
</ul>
</li>
</ul>
<p>After visiting Hawaii in 2018 I saw a movement there to ban chemical based sunscreens, not only due to health concerns but due to <a href="https://en.wikipedia.org/wiki/Oxybenzone#Effects_on_coral">environmental concerns</a>. The outcome has been that beginning Jan 1, 2021, Hawaii is one of the first places in the world to legislate banning chemical sunscreens including <a href="https://en.wikipedia.org/wiki/Octyl_methoxycinnamate#Ecological_impact">octyl methoxycinnamate</a> and oxybenzone.  <sup id="cite_note16"><a href="#cite_ref16">[16]</a></sup></p>
<p>Lastly &#8211; food for thought &#8211; <a href="http://www.NaturalNews.com/z021903.html">The sunscreen myth</a>?</p>
<h2>Conclusion</h2>
<p>I&#8217;m not a medical professional of any kind, and you should not rely on my information in any way shape or form. However the referenced material is sound, solid medical research in peer reviewed journals. As such you should read the references yourself and come to your own conclusion about what you are putting on your skin, and the motives behind the manufacturers.</p>
<p>UVA and UVB rays are still a danger if one is genetically predisposed to cancer and has over-exposure to the Sun. Maybe you should consider <a href="https://www.drnathanjenner.com.au/single-post/2018/11/13/Supplementing-with-Fish-Oil-Reduces-Sun-Burn-Skin-Inflammation-and-Risk-of-Skin-Cancer">suplementation of Fish Oil</a> for reduction of Sunburn and Risk of Cancer? <sup id="cite_note13"><a href="#cite_ref13">[13]</a></sup><sup id="cite_note14"><a href="#cite_ref14">[14]</a></sup> There is even promising recent research indicating that the natural production of Vitamin D3 from natural sun exposure may also protect your skin. <sup id="cite_note15"><a href="#cite_ref15">[15]</a></sup></p>
<p>From reading all the medical journals and references, I&#8217;ll be sticking to a healthy level of natural sun exposure, or where that can not be achieved (for longer periods of time) a zinc based sunscreen, long sleeves, hats, sunglasses and shade from big trees. Fashion be damned.</p>
<h2>References:</h2>
<ol>
<li id="cite_ref1"><b><a href="#cite_note1">^</a></b> Chem Res Toxicol <a href="https://doi.org/10.1021/tx950197m">1996 Apr-May; 9(3):605-9</a> Photochemical Formation of Singlet Molecular Oxygen in Illuminated Aqueous Solutions of Several Commercially Available Sunscreen Active Ingredients</li>
<li id="cite_ref2"><b><a href="#cite_note2">^</a></b> Mutation Research 2000 <a href="https://doi.org/10.1016/S1383-5718(99)00228-4">3 March 2000, Pages 1-7</a> Effect of the photocatalytic activity of TiO<sub>2</sub> on plasmid DNA</li>
<li id="cite_ref3"><b><a href="#cite_note3">^</a></b> Free Radical Biology and Medicine <a href="https://doi.org/10.1016/S0891-5849(99)00050-7">Volume 27, Issues 3–4, August 1999, Pages 294-300</a> Irradiation of titanium dioxide generates both singlet oxygen and superoxide anion</li>
<li id="cite_ref4"><b><a href="#cite_note4">^</a></b> FEBS Letters <a href="https://doi.org/10.1016/S0014-5793(97)01356-2">Volume 418, Issues 1–2, 24 November 1997, Pages 87-90</a> Chemical oxidation and DNA damage catalysed by inorganic sunscreen ingredients</li>
<li id="cite_ref5"><b><a href="#cite_note5">^</a></b> Journal of Investigative Dermatology <a href="https://doi.org/10.1111/1523-1747.ep12344991">Volume 106, Issue 3, March 1996, Pages 583-586</a> Oxybenzone Oxidation Following Solar Irradiation of Skin: Photoprotection versus Antioxidant Inactivation</li>
<li id="cite_ref6"><b><a href="#cite_note6">^</a></b> Mutation Research <a href="https://doi.org/10.1016/0027-5107(89)90072-9">Volume 212, Issue 2, June 1989, Pages 213-221</a> Enhancing effects of cinoxate and methyl sinapate on the frequencies of sister-chromatid exchanges and chromosome aberrations in cultured mammalian cells</li>
<li id="cite_ref7"><b><a href="#cite_note7">^</a></b> Mutation Research <a href="https://doi.org/10.1016/S1383-5718(99)00091-1">Volume 444, Issue 1, 21 July 1999, Pages 49-60</a> Illumination of human keratinocytes in the presence of the sunscreen ingredient Padimate-O and through an SPF-15 sunscreen reduces direct photodamage to DNA but increases strand breaks</li>
<li id="cite_ref8"><b><a href="#cite_note8">^</a></b> Free Radical Biology and Medicine <a href="https://doi.org/10.1016/S0891-5849(98)00292-5">Volume 26, Issues 7–8, April 1999, Pages 809-816</a> Nitroxide radicals protect DNA from damage when illuminated in vitro in the presence of dibenzoylmethane and a common sunscreen ingredient</li>
<li id="cite_ref9"><b><a href="#cite_note9">^</a></b> Mutation Research <a href="https://doi.org/10.1016/0027-5107(89)90072-9">Volume 212, Issue 2, June 1989, Pages 213-221</a> Enhancing effects of cinoxate and methyl sinapate on the frequencies of sister-chromatid exchanges and chromosome aberrations in cultured mammalian cells</li>
<li id="cite_ref10"><b><a href="#cite_note10">^</a></b> Chem Res Toxichol <a href="https://doi.org/10.1021/tx980158l">1999 Jan; 12(1):38-45</a> Photosensitization of Guanine-Specific DNA Damage by 2-Phenylbenzimidazole and the Sunscreen Agent 2-Phenylbenzimidazole-5-sulfonic Acid</li>
<li id="cite_ref11"><b><a href="#cite_note11">^</a></b> American Journal of Public Health <a href="https://doi.org/10.2105/AJPH.82.4.614">82, no. 4 (April 1, 1992): pp. 614-615</a> C F Garland, F C Garland, and E D Gorham “Could sunscreens increase melanoma risk?”</li>
<li id="cite_ref12"><b><a href="#cite_note12">^</a></b> Journal of Chromatography B<a href="https://doi.org/10.1016/j.jchromb.2003.12.022">Volume 803, Issue 2, 25 April 2004, Pages 225-231</a> Liquid chromatographic assay for common sunscreen agents: application to in vivo assessment of skin penetration and systemic absorption in human volunteers</li>
<li id="cite_ref13"><b><a href="#cite_note13">^</a></b> Carcinogenesis <a href="https://doi.org/10.1093/carcin/bgg038">Volume 24, Issue 5, May 2003, Pages 919–925</a> Effect of eicosapentaenoic acid, an omega-3 polyunsaturated fatty acid, on UVR-related cancer risk in humans. An assessment of early genotoxic markers</li>
<li id="cite_ref14"><b><a href="#cite_note14">^</a></b> Journal of Investigative Dermatology <a href="https://doi.org/10.1111/j.0022-202X.2004.23543.x">Volume 124, Issue 1, January 2005, Pages 248-255</a> Eicosapentaenoic Acid and Docosahexaenoic Acid Reduce UVB- and TNF-α-induced IL-8 Secretion in Keratinocytes and UVB-induced IL-8 in Fibroblasts</li>
<li id="cite_ref15"><b><a href="#cite_note15">^</a></b> Journal of Investigative Dermatology <a href="https://doi.org/10.1016/j.jid.2017.07.816">Volume 137, Issue 12, December 2017, Pages 2469-2471</a> Skin-Derived Vitamin D3 Protects against Basal Cell Carcinoma</li>
<li id="cite_ref16"><b><a href="#cite_note16">^</a></b> The Lancet Planetary Health <a href="https://doi.org/10.1016/S2542-5196(18)30224-9">Volume 2, Issue 11, November 2018, Pages e465-e466</a> Sunscreens, cancer, and protecting our planet</li>
<li id="cite_ref17"><b><a href="#cite_note17">^</a></b> Free Radical Biology and Medicine <a href="https://doi.org/10.1016/j.freeradbiomed.2006.06.011">Volume 41, Issue 8, 15 October 2006, Pages 1205-1212</a> Sunscreen enhancement of UV-induced reactive oxygen species in the skin</li>
<li id="cite_ref18"><b><a href="#cite_note18">^</a></b> JAMA. <a href="https://doi.org/10.1001/jama.2019.5586"> Published online May 06, 2019321(21):2082–2091</a> Effect of Sunscreen Application Under Maximal Use Conditions on Plasma Concentration of Sunscreen Active Ingredients: A Randomized Clinical Trial</li>
</ol>
<h2>Other References:</h2>
<ul>
<li><a href="http://www.ncbi.nlm.nih.gov/pubmed/16430879">Free radicals, metals and antioxidants in oxidative stress-induced cancer</a></li>
<li><a href="http://www.ncbi.nlm.nih.gov/pubmed/16978905">Free radicals and antioxidants in normal physiological functions and human disease</a>.</li>
<li><a href="http://www.ncbi.nlm.nih.gov/pubmed/15646026">Role of oxygen radicals in DNA damage and cancer incidence</a></li>
</ul>
<div class="disclaimer">
<h3>Medical Disclaimer</h3>
<p>No warranty whatsoever is made that this article is accurate. There is absolutely no assurance that any statement contained or cited in this article touching on medical matters is true, correct, precise, or up-to-date. The overwhelming majority of this article is written, in part or in whole, by a medical nonprofessional. Even if a statement made about medicine is accurate, it may not apply to you or your symptoms.</p>
<p>The medical information provided on TechDebug is, at best, of a general nature and cannot substitute for the advice of a medical professional (for instance, a qualified doctor/physician, nurse, pharmacist/chemist, and so on). TechDebug is not a doctor.</p>
<p>None of the contributors, system operators, developers, or hosts of TechDebug nor anyone else connected to TechDebug can take any responsibility for the results or consequences of any attempt to use or adopt any of the information presented on this web site.</p>
<p>Nothing on TechDebug.com or included as part of any content of TechDebug, should be construed as an attempt to offer or render a medical opinion or otherwise engage in the practice of medicine.</p>
<p>Disclaimer <a href="http://en.wikipedia.org/wiki/Wikipedia:Medical_disclaimer">courtesy</a> of Wikipedia, used under <a href="http://en.wikipedia.org/wiki/Wikipedia:CC-BY-SA">CC-BY-SA</a> licence.</p>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2019/07/14/sunscreen-does-it-really-help/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Launch Windows Server 2016 Nano in AWS with Powershell</title>
		<link>https://techdebug.com/blog/2016/10/21/w2k16-nano-aws-ec2/</link>
					<comments>https://techdebug.com/blog/2016/10/21/w2k16-nano-aws-ec2/#respond</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Fri, 21 Oct 2016 04:15:51 +0000</pubDate>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[windows server]]></category>
		<category><![CDATA[nano]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[w2k16]]></category>
		<category><![CDATA[windows server 2016]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=1095</guid>

					<description><![CDATA[Amazon Web Services yesterday announced they now have Amazon Machine images available for Windows Server 2016. This includes Nano Server, a perfect solution for a roll your own IaaS server to host your .NET Core APIs. Windows Server 2016 Nano Server -A cloud-native, minimal install that takes up a modest amount of disk space and [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Amazon Web Services <a href="https://aws.amazon.com/blogs/aws/run-windows-server-2016-on-amazon-ec2/">yesterday announced</a> they now have Amazon Machine images available for Windows Server 2016. This includes Nano Server, a perfect solution for a roll your own IaaS server to host your .NET Core APIs.</p>
<blockquote><p><strong>Windows Server 2016 Nano Server </strong>-A cloud-native, minimal install that takes up a modest amount of disk space and boots more swiftly than the Datacenter version, while leaving more system resources (memory, storage, and CPU) available to run apps and services.</p></blockquote>
<p>One of the interesting things about Nano for existing Windows server users, is you can only access it via PowerShell/WinRM for managment of the server. You can quickly spin up a new instance of nano in your PowerShell console (<a href="https://docs.aws.amazon.com/powershell/latest/userguide/pstools-getting-set-up.html">already configured</a> for AWS):</p>
<p><script src="https://gist.github.com/bb189b252631cbf895e5ee8a59f5baa0.js"></script></p>
<p>Once the instance has started up, you can get the Admin credentials using your EC2 Key, and establish a remote PowerShell session:</p>
<p><script src="https://gist.github.com/fab4fe82828a3e94bf29d1eae5831aa8.js"></script></p>
<p>This leaves you with an established PowerShell session to the remote server, which can be shown as follows:<br />
<code>C:\> $session<br />
Id Name ComputerName ComputerType State ConfigurationName Availability<br />
-- ---- ------------ ------------ ----- ----------------- ------------<br />
2 Session2 172.19.1.67 RemoteMachine Opened Microsoft.PowerShell Available</code></p>
<p>&nbsp;</p>
<p>You are now able to invoke remote commands on your Nano server:<br />
<code>C:\&gt; Invoke-Command -Session $session -ScriptBlock { Get-Process | Select ProcessName, Id |ft }<br />
ProcessName Id<br />
----------- --<br />
amazon-ssm-agent 1792<br />
csrss 496<br />
EMT 1088<br />
Idle 0<br />
LiteAgent 828<br />
lsass 556<br />
services 544<br />
smss 360<br />
svchost 648<br />
svchost 692<br />
svchost 768<br />
System 4<br />
wininit 520<br />
WmiPrvSE 1236<br />
wsmprovhost 1468</code></p>
<p>&nbsp;</p>
<p>If you just want to jump onto the remote server, you can Enter the Session:<br />
<code>C:\> Enter-PSSession -Session $session<br />
[172.19.1.67]: PS C:\Users\Administrator\Documents&gt; $StartTime = (Get-Date) - (New-TimeSpan -Day 1)<br />
[172.19.1.67]: PS C:\Users\Administrator\Documents&gt; Get-WinEvent -FilterHashTable @{LogName='System'; Level=2; StartTime=$StartTime}<br />
| select TimeCreated, Message<br />
TimeCreated Message<br />
----------- -------<br />
10/21/2016 2:36:36 AM Task Scheduler service failed to start Task Compatibility module. Tasks m...<br />
10/21/2016 2:36:15 AM The Virtualization Based Security enablement policy check at phase 6 fail...<br />
10/21/2016 2:36:15 AM The Virtualization Based Security enablement policy check at phase 0 fail...<br />
10/20/2016 4:18:55 AM Task Scheduler service failed to start Task Compatibility module. Tasks m...<br />
10/20/2016 4:18:48 AM The Virtualization Based Security enablement policy check at phase 6 fail...<br />
10/20/2016 4:18:48 AM The Virtualization Based Security enablement policy check at phase 0 fail...<br />
10/20/2016 4:14:42 AM Task Scheduler service failed to start Task Compatibility module. Tasks m...<br />
10/20/2016 4:14:11 AM The Virtualization Based Security enablement policy check at phase 6 fail...<br />
10/20/2016 4:14:11 AM The Virtualization Based Security enablement policy check at phase 0 fail...<br />
10/20/2016 11:12:05 AM The Virtualization Based Security enablement policy check at phase 6 fail...<br />
10/20/2016 11:12:05 AM The Virtualization Based Security enablement policy check at phase 0 fail...</p>
<p>[172.19.1.67]: PS C:\Users\Administrator\Documents&gt; Exit-PSSession</code></p>
<p>&nbsp;</p>
<p>Don&#8217;t forget once you are finished to remove the session:<br />
<code>Remove-PSSession -Session $session</code><br />
&nbsp;</p>
<p>Given that this instance has no local console, you will have to maintain and access it fully using PowerShell. Time to skill up on your PowerShell skills. If you would like to read more on remotely managing the instance, Microsoft have documented <a href="https://technet.microsoft.com/en-us/windows-server-docs/get-started/manage-nano-server">how to manage</a> Nano Server. It&#8217;s a good next step to read.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2016/10/21/w2k16-nano-aws-ec2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Cloudformation stack creation &#8211; scripting via bash</title>
		<link>https://techdebug.com/blog/2016/07/29/bash-script-create-cloudformation-stacks/</link>
					<comments>https://techdebug.com/blog/2016/07/29/bash-script-create-cloudformation-stacks/#respond</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Fri, 29 Jul 2016 03:44:13 +0000</pubDate>
				<category><![CDATA[2012]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=1097</guid>

					<description><![CDATA[Find yourself creating the same AWS Cloudformation stack a lot during testing? Wasting too much time repeating typing in tags? A simple post today with a quick solution. Put your stack tags and parameters into json files and use this bash wrapper script to create the cloudformation stack. This script wraps the aws cloudformation create-stack [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Find yourself creating the same AWS Cloudformation stack a lot during testing?<br />
Wasting too much time repeating typing in tags?</p>
<p>A simple post today with a quick solution.</p>
<p>Put your stack tags and parameters into json files and use this bash wrapper script to create the cloudformation stack. This script wraps the <em>aws cloudformation create-stack</em> command, but lets you create the stacks again and again with different names. The benefit is the parameters and tags are pre-defined. Thus this script will save you time if you are doing this from the AWS console regularly.</p>
<p>An example of running the script with parameters (that are ordinal on purpose):</p>
<p><code>create-stack.sh MockStack3 deploy/MockServices.template stackParams.json stackTags.json</code></p>
<p>Provide your own template file, and modify the stackParams and stackTags to your own needs. Below you&#8217;ll find the <a href="https://gist.github.com/lantrix/8269da3e93ed6196541e86c160b82a07">GitHub gist of the script</a> and sample json files.</p>
<p><script src="https://gist.github.com/8269da3e93ed6196541e86c160b82a07.js"></script></p>
<p>Tested on Bash in Windows 10 insider preview <img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2016/07/29/bash-script-create-cloudformation-stacks/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Packer vmware-iso builder on ESXi without DHCP</title>
		<link>https://techdebug.com/blog/2015/09/16/packer-vmware-iso-builder-esxi-without-dhcp/</link>
					<comments>https://techdebug.com/blog/2015/09/16/packer-vmware-iso-builder-esxi-without-dhcp/#respond</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Wed, 16 Sep 2015 03:14:36 +0000</pubDate>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[windows server]]></category>
		<category><![CDATA[2012 R2]]></category>
		<category><![CDATA[autounattend.xml]]></category>
		<category><![CDATA[builder]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[DSC]]></category>
		<category><![CDATA[IaC]]></category>
		<category><![CDATA[internet access]]></category>
		<category><![CDATA[packer]]></category>
		<category><![CDATA[provisioing]]></category>
		<category><![CDATA[static IP]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vmware-iso]]></category>
		<category><![CDATA[vsphere]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=1080</guid>

					<description><![CDATA[When you are building Windows Server 2012 R2 base images (vSphere Templates) using packer on vSphere (using vmware-iso packer builder); the process usually relies on the windows server to get an IP address automatically via DHCP. This allows the packer builder to then communicate to the server over WinRM and complete the provisioning. What happens when [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>When you are building Windows Server 2012 R2 base images (vSphere Templates) using packer on vSphere (using <a href="https://seek.jiveon.com/external-link.jspa?url=https://www.packer.io/docs/builders/vmware-iso.html">vmware-iso packer builder</a>); the process usually relies on the windows server to get an IP address automatically via DHCP. This allows the packer <a href="https://seek.jiveon.com/external-link.jspa?url=https://www.packer.io/docs/templates/introduction.html#builders">builder</a> to then <a href="https://seek.jiveon.com/external-link.jspa?url=https://www.packer.io/docs/templates/communicator.html">communicate</a> to the server over WinRM and complete the <a href="https://seek.jiveon.com/external-link.jspa?url=https://www.packer.io/docs/templates/introduction.html#provisioners">provisioning</a>.</p>
<p><strong>What happens when there is no DHCP available in your vSphere VM Network?</strong></p>
<p>The easy solution is to have the bootstrap of the windows server set a static IP for the server.<br />
This would allow the packer builder to then communicate to the server over <a href="https://www.packer.io/docs/templates/communicator.html#ssh_bastion_private_key_file">WinRM</a> and complete the provisioning.<br />
I already provide an <em>Autounattend.xml</em> to the windows server via the packer <a href="https://www.packer.io/docs/builders/vmware-iso.html#floppy_files">floppy_files</a> stanza for the vmware-iso builder.</p>
<p><script src="https://gist.github.com/27de229b72e4d616ba96.js"></script></p>
<p>These user variables are populated with the environment specific floppy files:</p>
<p><script src="https://gist.github.com/e42c765ab297f49855be.js"></script></p>
<p>I pass the config json file into the packer build command as shown below. This allows us to pass in different config per environment to the same build template for packer.</p>
<p><code>packer.exe build -var-file=Config-VMWare.json .\PackerBaseWin2012R2-VMWare.json</code></p>
<p>The <em>Autounattend.xml</em> executes the file <em>a:\vmware-userdata.ps1</em> as the last step of the <a href="https://seek.jiveon.com/external-link.jspa?url=https://technet.microsoft.com/en-us/library/ff715886.aspx">FirstLogonCommands</a> setting of the Autounattend process.</p>
<p>The script for this particular environment then uses powershell cmdlets to configure the required static IP address allocated to the Packer Build VM:</p>
<p><script src="https://gist.github.com/ce9fb9f00675a01ecc15.js"></script></p>
<p><strong>Note:</strong> If you don&#8217;t wait long enough for the boot process to complete; the vmware-iso builder may detect the self assigned IP (169.x.x.x) prior to the userdata script setting the Static IP.<br />
To solve this you can set the <a href="https://seek.jiveon.com/external-link.jspa?url=https://www.packer.io/docs/builders/vmware-iso.html#boot_wait">vmware-iso builder boot_wait</a> to wait a bit longer, e.g. 10 mins.</p>
<p>This solves how to use packer on vSphere for Windows Server 2012 R2 bootstrapping where you don&#8217;t have a DHCP server on the subnet.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2015/09/16/packer-vmware-iso-builder-esxi-without-dhcp/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Setup Sublime Text for F# Development</title>
		<link>https://techdebug.com/blog/2015/09/04/setup-sublime-text-fsharp-development/</link>
					<comments>https://techdebug.com/blog/2015/09/04/setup-sublime-text-fsharp-development/#respond</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Fri, 04 Sep 2015 03:27:26 +0000</pubDate>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[fsharp]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[F Sharp]]></category>
		<category><![CDATA[F#]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[Mono]]></category>
		<category><![CDATA[package control]]></category>
		<category><![CDATA[REPL]]></category>
		<category><![CDATA[sublime]]></category>
		<category><![CDATA[sublime text 3]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=1068</guid>

					<description><![CDATA[After being asked to use Visual Studio 2015 for F# Development, I decided it&#8217;s way more lightweight to to develop it on my Mac using Sublime Text 3. Software you need installed: Install Mono on your Mac Of course Sublime Text 3 And the best package manager for Sublime, Package Control. Install (using package control) [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>After being asked to use Visual Studio 2015 for F<a href="http://search.twitter.com/search?q=%23" class="tweet-hashtag">#</a> Development, I decided it&#8217;s way more lightweight to to develop it on my Mac using Sublime Text 3.</p>
<p>Software you need installed:</p>
<ul>
<li>Install <a href="http://fsharp.org/use/mac/">Mono</a> on your Mac</li>
<li>Of course <a href="http://www.sublimetext.com">Sublime Text 3</a></li>
<li>And the best package manager for Sublime, <a href="https://packagecontrol.io/installation">Package Control</a>.</li>
</ul>
<p>Install (<a href="https://packagecontrol.io/docs/usage">using</a> package control) these packages with package control in Sublime Text:</p>
<ul>
<li><a href="https://packagecontrol.io/packages/F%23">F#</a> &#8211; Gives you syntax Highlighting</li>
<li><a href="https://packagecontrol.io/packages/FSharp">F-Sharp</a> &#8211; Autocomplete, tooltips, definitions, etc.</li>
<li><a href="https://packagecontrol.io/packages/SublimeREPL">SublimeREPL</a> &#8211; A multi language REPL including F#</li>
</ul>
<p>If you are used to Visual Studio for any F<a href="http://search.twitter.com/search?q=%23" class="tweet-hashtag">#</a> development; you can create some Sublime text keyboard shortcuts using your <a href="https://www.sublimetext.com/docs/3/settings.html">key bindings</a> settings:</p>
<ul>
<li>Open REPL : CTRL+ALT+F</li>
<li>Send selected code to REPL : CTRL+SHIFT+ENTER</li>
</ul>
<p>The bindings I use are shown below:<br />
<script src="https://gist.github.com/7f8457ea454eb20adffa.js"></script></p>
<p>You&#8217;ll want to configure Sublime 3 <a href="https://www.sublimetext.com/docs/3/indentation.html">indentation settings</a> to include these options to replace Tabs with spaces; as Sharp hates your tabs.<br />
<script src="https://gist.github.com/0789ea20d0435112a2cf.js"></script></p>
<p>This setup also works on Sublime for Windows, <a href="http://fsharp.org/use/windows/">but you need fsi.exe</a> in your path and working with all dependencies (Windows SKD, .NET Framework etc.).</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2015/09/04/setup-sublime-text-fsharp-development/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Windows 10 UEFI USB Boot in VMWare Fusion 7</title>
		<link>https://techdebug.com/blog/2015/08/03/windows10-vmware-fusion-uefi-usb/</link>
					<comments>https://techdebug.com/blog/2015/08/03/windows10-vmware-fusion-uefi-usb/#respond</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Mon, 03 Aug 2015 03:59:10 +0000</pubDate>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[EFI]]></category>
		<category><![CDATA[fusion]]></category>
		<category><![CDATA[ISO]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[UEFI]]></category>
		<category><![CDATA[USB]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[windows10]]></category>
		<category><![CDATA[Yosemite]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=1047</guid>

					<description><![CDATA[You&#8217;ve downloaded your purchased Windows 10 ISO from Microsoft, and you&#8217;ve managed to create a bootable UEFI USB stick. Now you&#8217;ve decided to run Windows 10 in VMWare Fusion Pro on your Mac. Yet the USB stick can NOT be booted from. There is a solution. VMWare fusion has some (unsupported) EFI options you can [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>You&#8217;ve downloaded your <a href="http://www.microsoftstore.com/store/msaus/en_AU/pdp/Windows-10-Pro/productID.320411600">purchased</a> Windows <a href="https://www.microsoft.com/en-us/software-download/windows10ISO">10 ISO</a> from Microsoft, and you&#8217;ve managed to <a href="http://www.intowindows.com/create-uefi-bootable-usb-of-windows-10/">create a bootable UEFI</a> USB stick.<br />
Now you&#8217;ve decided to run Windows 10 in VMWare Fusion Pro on your Mac. Yet the USB stick can <strong><em>NOT</em></strong> be booted from.<br />
There is a solution. VMWare fusion has some (unsupported) EFI options you can enable to effect a USB boot.<br />
First you&#8217;ll want to create a Windows 10 VM in VMWare Fusion.<br />
Create a new VM, and select the <em>more options</em> icon:<br />
<img decoding="async" loading="lazy" class="aligncenter size-medium wp-image-1057" src="https://techdebug.com/wp-content/uploads/2015/08/Setup-1-300x249.png" alt="Setup-1" width="300" height="249" srcset="https://techdebug.com/wp-content/uploads/2015/08/Setup-1-300x249.png 300w, https://techdebug.com/wp-content/uploads/2015/08/Setup-1.png 641w" sizes="(max-width: 300px) 100vw, 300px" /><br />
Select <em>Create a custom virtual machine</em> and select <em>Continue</em>:<br />
<img decoding="async" loading="lazy" class="aligncenter size-medium wp-image-1056" src="https://techdebug.com/wp-content/uploads/2015/08/Setup-2-300x249.png" alt="Setup-2" width="300" height="249" srcset="https://techdebug.com/wp-content/uploads/2015/08/Setup-2-300x249.png 300w, https://techdebug.com/wp-content/uploads/2015/08/Setup-2.png 640w" sizes="(max-width: 300px) 100vw, 300px" /><br />
Select <em>Windows 10</em> as the operating system, and select <em>Continue</em> &#8211; x64 is selected here as I&#8217;m 64 bit all the way:<br />
<img decoding="async" loading="lazy" class="aligncenter size-medium wp-image-1055" src="https://techdebug.com/wp-content/uploads/2015/08/Setup-3-300x249.png" alt="Setup-3" width="300" height="249" srcset="https://techdebug.com/wp-content/uploads/2015/08/Setup-3-300x249.png 300w, https://techdebug.com/wp-content/uploads/2015/08/Setup-3.png 641w" sizes="(max-width: 300px) 100vw, 300px" /><br />
Leave the virtual disk options and select <em>Continue</em>:<br />
<img decoding="async" loading="lazy" class="aligncenter size-medium wp-image-1054" src="https://techdebug.com/wp-content/uploads/2015/08/Setup-4-300x249.png" alt="Setup-4" width="300" height="249" srcset="https://techdebug.com/wp-content/uploads/2015/08/Setup-4-300x249.png 300w, https://techdebug.com/wp-content/uploads/2015/08/Setup-4.png 640w" sizes="(max-width: 300px) 100vw, 300px" /><br />
On the Summary Screen, you can use the Customize Settings button to change your VM defaults. I updated my RAM to 8GB, my CPU Cores to 2, and changed the VM Disk size to 100GB (60GB may be a bit small for most power users).<br />
<img decoding="async" loading="lazy" class="aligncenter size-medium wp-image-1053" src="https://techdebug.com/wp-content/uploads/2015/08/Setup-Summary-300x249.png" alt="Setup-Summary" width="300" height="249" srcset="https://techdebug.com/wp-content/uploads/2015/08/Setup-Summary-300x249.png 300w, https://techdebug.com/wp-content/uploads/2015/08/Setup-Summary.png 641w" sizes="(max-width: 300px) 100vw, 300px" /><br />
Before you start the VM; you&#8217;ll need to modify the <em>vmx</em> file directly.</p>
<ol>
<li>In the Virtual Machine Library, right click on the Windows 10 VM and select <em>Show in Finder</em>.</li>
<li>Right click on the vmwarevm container and select <em>Show Package Contents</em></li>
<li>Edit the *.vmx file using your favourite text editor</li>
<li>Append the following options to the configuration to enabled <a href="http://kb.vmware.com/kb/1032867">EFI booting</a>:</li>
</ol>
<p><code>firmware = "efi"<br />
efi.legacyBoot.enabled = "true"</code><br />
<a href="https://techdebug.com/wp-content/uploads/2015/08/Show-VMX.png"><img decoding="async" loading="lazy" class="aligncenter size-medium wp-image-1059" src="https://techdebug.com/wp-content/uploads/2015/08/Show-VMX-300x160.png" alt="Show-VMX" width="300" height="160" srcset="https://techdebug.com/wp-content/uploads/2015/08/Show-VMX-300x160.png 300w, https://techdebug.com/wp-content/uploads/2015/08/Show-VMX.png 377w" sizes="(max-width: 300px) 100vw, 300px" /></a><br />
<img decoding="async" loading="lazy" class="aligncenter size-medium wp-image-1052" src="https://techdebug.com/wp-content/uploads/2015/08/Edit-vmx-300x154.png" alt="Edit-vmx" width="300" height="154" srcset="https://techdebug.com/wp-content/uploads/2015/08/Edit-vmx-300x154.png 300w, https://techdebug.com/wp-content/uploads/2015/08/Edit-vmx.png 521w" sizes="(max-width: 300px) 100vw, 300px" /><br />
The Legacy boot option allows VMWare to see the USB device in some cases; and was required for me.<br />
Boot your new VM:<br />
<img decoding="async" loading="lazy" class="aligncenter size-medium wp-image-1051" src="https://techdebug.com/wp-content/uploads/2015/08/Start-VMWare-300x205.png" alt="Start-VMWare" width="300" height="205" srcset="https://techdebug.com/wp-content/uploads/2015/08/Start-VMWare-300x205.png 300w, https://techdebug.com/wp-content/uploads/2015/08/Start-VMWare.png 570w" sizes="(max-width: 300px) 100vw, 300px" /><br />
You&#8217;ll find that the new EFI boot loaders are picked up, but not yet the USB. Since you couldn&#8217;t attach a USB before starting, you can do it now. Open the VM preferences and attach the USB containing the EFI Boot files:<br />
<a href="https://techdebug.com/wp-content/uploads/2015/08/Connect-EFI-USB.png"><img decoding="async" loading="lazy" class="aligncenter size-medium wp-image-1049" src="https://techdebug.com/wp-content/uploads/2015/08/Connect-EFI-USB-300x155.png" alt="Connect-EFI-USB" width="300" height="155" srcset="https://techdebug.com/wp-content/uploads/2015/08/Connect-EFI-USB-300x155.png 300w, https://techdebug.com/wp-content/uploads/2015/08/Connect-EFI-USB.png 481w" sizes="(max-width: 300px) 100vw, 300px" /></a><br />
VMWare will now boot into the Windows 10 setup.<br />
<img decoding="async" loading="lazy" class="aligncenter size-medium wp-image-1050" src="https://techdebug.com/wp-content/uploads/2015/08/Restart-VMWare-Windows10-300x241.png" alt="Restart-VMWare-Windows10" width="300" height="241" srcset="https://techdebug.com/wp-content/uploads/2015/08/Restart-VMWare-Windows10-300x241.png 300w, https://techdebug.com/wp-content/uploads/2015/08/Restart-VMWare-Windows10.png 768w" sizes="(max-width: 300px) 100vw, 300px" /><br />
Thanks to a post by <a href="http://avirtualden.blogspot.com.au/2014/04/vmware-fusion-booting-vm-via-usb.html">A Virtual Den</a> for pointing me in the right direction for the VMX LegacyBoot option!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2015/08/03/windows10-vmware-fusion-uefi-usb/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Attempt to Deploy Netflix Edda on Wildfly 8.x</title>
		<link>https://techdebug.com/blog/2015/04/08/attempt-to-deploy-netflix-edda-on-wildfly-8-x/</link>
					<comments>https://techdebug.com/blog/2015/04/08/attempt-to-deploy-netflix-edda-on-wildfly-8-x/#respond</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Wed, 08 Apr 2015 09:32:45 +0000</pubDate>
				<category><![CDATA[java]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[edda]]></category>
		<category><![CDATA[gradle]]></category>
		<category><![CDATA[jboss]]></category>
		<category><![CDATA[jersey]]></category>
		<category><![CDATA[netflix]]></category>
		<category><![CDATA[resteasy]]></category>
		<category><![CDATA[wildfly]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=1033</guid>

					<description><![CDATA[I&#8217;ve been trying to find a production platform for Edda, the Netflix OSS app for tracking AWS resources. The application is written in Scala, which gets compiled as Java bytecode. The build toolset used by Netflix is gradle, and they deploy the application for testing into Jetty. Jetty can be used in a production environment, [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve been trying to find a production platform for <a href="https://github.com/Netflix/edda/wiki#What_is_Edda">Edda</a>, the Netflix OSS app for tracking AWS resources.</p>
<p>The application is written in Scala, which gets compiled as Java bytecode. The build toolset used by Netflix is <a href="http://gradle.org/">gradle</a>, and they deploy the application for testing into <a href="http://eclipse.org/jetty/">Jetty</a>. Jetty can be used in a production environment, but the setup that comes with the build set with Edda is not really designed with a production server in mind. That said, a lot of people just end up running Edda by manually running up Jetty as a background process on a Linux box. Since I&#8217;ve been using Java application servers for quite a number of years (Websphere AS, Tomcat, Glassfish); I understand the need to run compiled Java web apps in production infrastructure. Therefore, I have been trying to find a reliable, OpenSource Java Web Application Server (WAS) to host Edda.</p>
<p>I&#8217;ve been thinking of trying out JBoss in the past, and the 8th major release of Jboss is now known as Wildfly, it seemed like a likely target for deploying Edda to.</p>
<p>The gradle build of Edda produces a WAR file, ready for deployment to a WAS. However, the war file from the gradle build won&#8217;t deploy by default on Wildfly, as shown with this error:</p>
<p><code>01:12:50,021 ERROR [org.jboss.as.server] (XNIO-1 task-10) JBAS015870: Deploy of deployment "edda-2.1.war" was rolled back with the following failure message:<br />
{"JBAS014671: Failed services" => {"jboss.undertow.deployment.default-server.default-host.\"/edda-2.1\"" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host.\"/edda-2.1\": Failed to start service<br />
    Caused by: com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes."}}</code></p>
<p>Edda uses <a href="https://jersey.java.net/">Jersey</a> (a standard and portable JAX-RS API) for RESTful Web services, but the WAR file won&#8217;t deploy properly with the servlets configured to use Jersey. This is due to the fact that Jersey is no longer a (default) option for JAX-RS web services on Wildfly. It comes integrated with <a href="http://resteasy.jboss.org/">RestEasy</a> as the JAX-RS implementation instead.</p>
<p>Using RestEasy makes it necessary to change your Web.xml file because Jersey and RestEasy have different deployment configurations. This will likely to apply to any Wildfly 8.2 release, even though I&#8217;m using 8.2.0</p>
<p>The solution for Edda; is to <a href="http://docs.jboss.org/resteasy/docs/3.0.1.Final/userguide/html/Installation_Configuration.html#d4e111">modify</a> the web.xml that gets built into the WAR file. I&#8217;ve <a href="https://github.com/lantrix/edda/commit/dc7e8957d5fb828d59b96f8d7274cecea8c4a6ea">committed the modification for web.xml</a> to a branch on my fork of Edda. This solves the deployment issue when you try to deploy Edda as a WAR file into Wildfly.</p>
<p>Yet after all this; I can&#8217;t actually get Edda to work properly on Wildfly.</p>
<p>In the end I went for the good old Tomcat Java Web App Server, and Edda runs with an out of the box build.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2015/04/08/attempt-to-deploy-netflix-edda-on-wildfly-8-x/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>ADFS2 is not always SAML 2.0 standards compliant</title>
		<link>https://techdebug.com/blog/2015/02/10/adfs2-not-always-saml-2-0-standards-compliant/</link>
					<comments>https://techdebug.com/blog/2015/02/10/adfs2-not-always-saml-2-0-standards-compliant/#respond</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Tue, 10 Feb 2015 04:26:26 +0000</pubDate>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[SOAP]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[ADFS]]></category>
		<category><![CDATA[ADFS2]]></category>
		<category><![CDATA[amazon web services]]></category>
		<category><![CDATA[assertion]]></category>
		<category><![CDATA[Recipient]]></category>
		<category><![CDATA[SAML]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[SubjectConfirmationData]]></category>
		<category><![CDATA[WS-Trust]]></category>
		<category><![CDATA[WS-Trust 1.3]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=1023</guid>

					<description><![CDATA[Now the madness with ADFS2 SAML assertions via WS-Trust 1.3 &#8211; and how they are not valid for use with Amazon Web Services (AWS). lexx:saml$ aws sts assume-role-with-saml --role-arn $role --principal-arn $principal --saml-assertion $assertion A client error (InvalidIdentityToken) occurred when calling the AssumeRoleWithSAML operation: Responses must contain SubjectConfirmatonData with a Recipient and NotOnOrAfter This failed [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Now the madness with ADFS2 SAML assertions via WS-Trust 1.3 &#8211; and how they are not valid for use with Amazon Web Services (AWS).</p>
<p><code>lexx:saml$ aws sts assume-role-with-saml --role-arn $role --principal-arn $principal --saml-assertion $assertion<br />
A client error (InvalidIdentityToken) occurred when calling the AssumeRoleWithSAML operation: Responses must contain SubjectConfirmatonData with a Recipient and NotOnOrAfter</code></p>
<p>This failed due to a missing Recipient attribute on the SubjectConfirmationData element. Of course; I can&#8217;t modify the assertion to add the missing Recipient; as the SAML token is signed:</p>
<p><code>lexx:saml$ aws sts assume-role-with-saml --role-arn $role --principal-arn $principal --saml-assertion $assertion<br />
A client error (InvalidIdentityToken) occurred when calling the AssumeRoleWithSAML operation: Response signature invalid</code></p>
<p>Second fail is because I&#8217;ve modified the assertion to add the missing attribute; but now the signature is invalid.</p>
<p>When you get an assertion from the ADFS Identity Provider via the IdP Web Landing Page, for AWS, the assertion includes a “recipient”:<br />
<code><subjectconfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"><br />
	<subjectconfirmationdata NotOnOrAfter="2015-02-08T22:48:18.520Z" Recipient="https://signin.aws.amazon.com/saml"></subjectconfirmationdata><br />
</subjectconfirmation></code></p>
<p>When you ask for an assertion from the WS-Trust 1.3 endpoint; it is missing:<br />
<code><subjectconfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"><br />
	<subjectconfirmationdata NotOnOrAfter="2015-02-09T05:03:10.517Z"></subjectconfirmationdata><br />
</subjectconfirmation></code></p>
<p>Seems to be a common problem with ADFS2 whereby ADFS1 did it correctly. It&#8217;s <a href="http://stackoverflow.com/questions/24756504/how-to-get-from-adfs-a-non-empty-recipient-attribute-in-saml-assertion">not</a> <a href="https://social.msdn.microsoft.com/Forums/vstudio/en-US/a2ae7fdf-c7c4-49a7-8b4c-68b584af38ba/subjectconfirmationdata-is-missing-recipient?forum=Geneva">just</a> <a href="https://social.msdn.microsoft.com/Forums/en-US/1d958b99-780d-4135-a58c-13e6d8014885/adfs-1-has-recipient-adfs-2-has-not-receiving-saml-20-assertions-via-wstrust-?forum=Geneva">me</a>&#8230;</p>
<p>In the <a href="http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf">original</a> SAML 2.0 Core spec &#8211; Line 725 &#8211; Recipient is an optional attribute in the SubjectConfirmationData element. However in subsequent errata for the specification, <a href="http://docs.oasis-open.org/security/saml/v2.0/sstc-saml-approved-errata-2.0-cd-02.html">Errata 02</a> in May 2007, made it mandatory. <a href="http://docs.oasis-open.org/security/saml/v2.0/sstc-saml-approved-errata-2.0.html">Errata 05</a> still includes this requirement.</p>
<blockquote><p>At lease one bearer <subjectconfirmation> element MUST contain a <subjectconfirmationdata> element that itself MUST contain a Recipient attribute containing the service provider&#8217;s assertion consumer service URL</subjectconfirmationdata></subjectconfirmation></p></blockquote>
<p>Of course; Amazon adhere to the Standard:</p>
<blockquote><p>The value of the Recipient attribute inside the SubjectConfirmationData element must match the AWS endpoint (https://signin.aws.amazon.com/saml)</p></blockquote>
<p>It seems that ADFS2 doesn&#8217;t provide valid SAML 2.0 assertions issued via the WS-Trust 1.3 endpoint. Since this has been a standard since for almost 8 years, how does ADFS2 even claim to be standards based.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2015/02/10/adfs2-not-always-saml-2-0-standards-compliant/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SAML assertion from ADFS2 via SOAP endpoint</title>
		<link>https://techdebug.com/blog/2015/02/07/saml-assertion-adfs2-via-soap-endpoint/</link>
					<comments>https://techdebug.com/blog/2015/02/07/saml-assertion-adfs2-via-soap-endpoint/#respond</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Sat, 07 Feb 2015 06:14:35 +0000</pubDate>
				<category><![CDATA[integration]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[SOAP]]></category>
		<category><![CDATA[ADFS]]></category>
		<category><![CDATA[assertion]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[endpoint]]></category>
		<category><![CDATA[IdP]]></category>
		<category><![CDATA[mex]]></category>
		<category><![CDATA[SAML]]></category>
		<category><![CDATA[SSO]]></category>
		<category><![CDATA[usernamemixed]]></category>
		<category><![CDATA[WS-A]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=1015</guid>

					<description><![CDATA[According to Wikipedia, Microsoft Active Directory Federation Services (ADFS) is: &#8230; a software component developed by Microsoft that can be installed on Windows Server operating systems to provide users with single sign-on access to systems and applications located across organizational boundaries. It uses a claims-based access control authorization model to maintain application security and implement [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>According to Wikipedia, Microsoft Active Directory Federation Services (<a href="https://technet.microsoft.com/en-us/library/adfs2%28v=ws.10%29.aspx">ADFS</a>) is:</p>
<blockquote><p>&#8230; a software component developed by Microsoft that can be installed on Windows Server operating systems to provide users with single sign-on access to systems and applications located across organizational boundaries. It uses a claims-based access control authorization model to maintain application security and implement federated identity.</p></blockquote>
<p>ADFS can provide Single sign as an identity provider to users, but what if a developer needs the same sign on outside of &#8220;browser land&#8221;? One option is to scrape webpage responses, but a better option is receiving a SAML Assertion using SOAP endpoints exposed via Microsoft ADFS, as long as they are enabled. You can use SOAP 1.2 with WS-A Addressing and mixed message security with the username/password in the SOAP headers secured over HTTPS, and get a valid SAML assertion.</p>
<p>There is Mex Endpoint (Anonymous by default) provided by ADFS2 or greater (if not disabled) at<br />
<code>https://youradfsserver.com.au/adfs/services/trust/mex</code><br />
If you want to play with SOAP based claim requests, use a tool like <a href="http://www.soapui.org/">SoapUI</a> and consume the Mex endpoint as the WSDL. You can then construct Soap messages, and see if you get a valid response &#8211; which would contain an assertion.</p>
<p>The SOAP Endpoint for requesting a SAML token using WS-Trust 1.3 and mixed security would be<br />
<code>https://youradfsserver.com.au/adfs/services/trust/13/usernamemixed</code></p>
<p>The client credentials are included in the header of a SOAP message. Confidentiality is preserved at the transport layer (SSL/TLS); hence a <em>usernamemixed</em> endpoint.</p>
<p>Here is an example SOAP request for usernamemixed:<br />
<script src="https://gist.github.com/9954b7b70291cf357e3a.js"></script></p>
<p>You can also use curl to post the soap request as shown:<br />
<script src="https://gist.github.com/f7cceaaee90cf9a5dbe5.js"></script></p>
<p>Given all that; this actually won&#8217;t work for AWS; given ADFS2 actually breaks the SAML2.0 standards updated in 2012. Next post will detail this.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2015/02/07/saml-assertion-adfs2-via-soap-endpoint/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Is SNI viable?</title>
		<link>https://techdebug.com/blog/2014/12/05/is-sni-viable/</link>
					<comments>https://techdebug.com/blog/2014/12/05/is-sni-viable/#respond</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Thu, 04 Dec 2014 23:00:55 +0000</pubDate>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[SNI]]></category>
		<category><![CDATA[TLS]]></category>
		<category><![CDATA[vhost]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=817</guid>

					<description><![CDATA[Traditionally if one was to secure a web server using TLS (or previously, SSL) &#8211; then one would configure your web server to use TCP port 443 to listen for TLS requests from clients (browsers). When a browser connects to the web server using the HTTPS protocol, the server would encrypt the communications and all [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Traditionally if one was to secure a web server using TLS (or previously, SSL) &#8211; then one would configure your web server to use TCP port 443 to listen for TLS requests from clients (browsers). When a browser connects to the web server using the HTTPS protocol, the server would encrypt the communications and all would be well with the world.</p>
<p>A problem occurs when you use name based Virtual Hosting on your web server. If you need to determine the client request before providing content from a virtual host, e.g. blah.com vs. blahblah.com, then this couldn&#8217;t be done if you encrypted the communications using TLS. Enter stage left: <em>Server Name Indication</em>.</p>
<p>According to <a href="http://en.wikipedia.org/wiki/Server_Name_Indication">Wikipedia</a>:</p>
<blockquote><p>Server Name Indication is a feature that extends the SSL and TLS protocols. It permits the client to request the domain name before the certificate is committed to the server. This is essential for using TLS in virtual hosting mode.</p></blockquote>
<p>I&#8217;ve a need to use Server Name Indication (SNI) for <a href="http://alphapress.com.au">some</a> freelance IT work I perform, but colleagues shy away from SNI since Internet Explorer on Windows XP is unsupported.</p>
<p>Is this an issue? Are so many people still on Windows XP that it will diminish the security aspects of implementing SSL to secure input of personal data ?</p>
<p>One of the best places to determine OS usage trends in Australia would be from Google, but they don&#8217;t provide such data. Therefore I turn to another source of data: StatCounter. They have been <a href="http://statcounter.com/about/">providing stats</a> to websites and business for well over 10 years, so their data should be viable.</p>
<div id="desktop-os-AU-monthly-201401-201412" style="width: 600px; height: 400px;"></div>
<p><!-- You may change the values of width and height above to resize the chart --></p>
<p>Source: <a href="http://gs.statcounter.com/#desktop-os-AU-monthly-201401-201412">StatCounter Global Stats &#8211; OS Market Share</a></p>
<p><script src="http://www.statcounter.com/js/FusionCharts.js" type="text/javascript"></script><script src="http://gs.statcounter.com/chart.php?desktop-os-AU-monthly-201401-201412" type="text/javascript"></script><br />
The chart above shows Operating system usage for 2014 in Australia. Windows XP sits at 4 percent usage at the end of 2014. For an operating system that&#8217;s now unsupported and 4 Major versions old; it just shouldn&#8217;t be considered anymore.</p>
<div id="desktop-browser_version_partially_combined-AU-daily-20140101-20141201" style="width: 600px; height: 400px;"></div>
<p><!-- You may change the values of width and height above to resize the chart --></p>
<p>Source: <a href="http://gs.statcounter.com/#desktop-browser_version_partially_combined-AU-daily-20140101-20141201">StatCounter Global Stats &#8211; Combine Chrome (all versions) &amp; Firefox (5+) Market Share</a></p>
<p><script src="http://www.statcounter.com/js/FusionCharts.js" type="text/javascript"></script><script src="http://gs.statcounter.com/chart.php?desktop-browser_version_partially_combined-AU-daily-20140101-20141201" type="text/javascript"></script></p>
<p>The second chart shows browser usage statistics in 2014. Internet Explorer 6, which doesn&#8217;t support SNI, isn&#8217;t even on the chart anymore.</p>
<p>Knowing the actual statistics &#8211; the usage of Internet Explorer 6 (or a lesser version) and Windows XP seems to be <b>so minimal</b> that usage of SNI is a viable option; especially where it gives a rise to cost saving on implementation of x509 certificates on web front ends. What do you think?</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2014/12/05/is-sni-viable/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Jive for Office 2013 64bit</title>
		<link>https://techdebug.com/blog/2014/11/20/jive-office-2013-64bit/</link>
					<comments>https://techdebug.com/blog/2014/11/20/jive-office-2013-64bit/#respond</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Thu, 20 Nov 2014 09:13:16 +0000</pubDate>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[office]]></category>
		<category><![CDATA[64 bit]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[jive]]></category>
		<category><![CDATA[JiveOfficeInstaller.msi]]></category>
		<category><![CDATA[office 2013]]></category>
		<category><![CDATA[x64]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=1000</guid>

					<description><![CDATA[A client I&#8217;m consulting for is using Jive as their EDRMS of choice. It&#8217;s not bad; but after using Office 365 recently, Jive is not as integrated as you&#8217;d like with Office 2013. Working in the cloud (Jive is a cloud EDRMS) requires that another client you may connect from have the appropriate client plugin. In the [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>A client I&#8217;m consulting for is using Jive as their <a href="http://en.wikipedia.org/wiki/Electronic_document_and_records_management_system">EDRMS</a> of choice. It&#8217;s not bad; but after using <a href="http://blog.kloud.com.au/category/communication-and-collaboration/office-365/">Office 365</a> recently, Jive is not as integrated as you&#8217;d like with Office 2013.</p>
<p>Working in the cloud (Jive is a cloud EDRMS) requires that another client you may connect from have the appropriate client plugin. In the case of Office 2013, you need to install the Jive plugin from their community website. It&#8217;s not easy to find, but it <a href="https://community.jivesoftware.com/docs/DOC-80820">can be found</a>.</p>
<p>The first issue I hit after installing this is that the 64bit version of Office 2013 disabled the COM Add-In. This occurred using the Jive extension version 30.1.655.15760.</p>
<p>After digging around on the support community pages; there is a registry fix to make the plugin compatible with x64 office clients. The one provided was for Office 2011; so I&#8217;ve included here a modified registry file for Office 2013 64bit edition.</p>
<p>Steps to get the extension working are:</p>
<ul>
<li>Uninstall the Jive for Office extension.</li>
<li>Import this registry file for windows:
<p><script src="https://gist.github.com/b1c135ab387dedfddc5d.js"></script></li>
<li>Reinstall the JiveOfficeInstaller.msi</li>
</ul>
<p>After that; success!</p>
<p><div id="attachment_1001" style="width: 420px" class="wp-caption aligncenter"><a href="https://techdebug.com/wp-content/uploads/2014/11/Screenshot-2014-11-20-20.05.18.png"><img aria-describedby="caption-attachment-1001" decoding="async" loading="lazy" class="wp-image-1001 " src="https://techdebug.com/wp-content/uploads/2014/11/Screenshot-2014-11-20-20.05.18.png" alt="Jive extension now working in Office 2013 x64" width="410" height="466" srcset="https://techdebug.com/wp-content/uploads/2014/11/Screenshot-2014-11-20-20.05.18.png 894w, https://techdebug.com/wp-content/uploads/2014/11/Screenshot-2014-11-20-20.05.18-263x300.png 263w" sizes="(max-width: 410px) 100vw, 410px" /></a><p id="caption-attachment-1001" class="wp-caption-text">Jive extension now working in Office 2013 x64</p></div></p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2014/11/20/jive-office-2013-64bit/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Powershell: AWS and IAM policy retrieval</title>
		<link>https://techdebug.com/blog/2014/08/05/powershell-aws-and-iam-policy-retrieval/</link>
					<comments>https://techdebug.com/blog/2014/08/05/powershell-aws-and-iam-policy-retrieval/#comments</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Tue, 05 Aug 2014 07:19:43 +0000</pubDate>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[GroupName]]></category>
		<category><![CDATA[groups]]></category>
		<category><![CDATA[IAM]]></category>
		<category><![CDATA[policies]]></category>
		<category><![CDATA[PolicyDocument]]></category>
		<category><![CDATA[PolicyName]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[PS1]]></category>
		<category><![CDATA[windows]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=989</guid>

					<description><![CDATA[I&#8217;ve recently been working more day to day on Amazon Web Services, and I found it a little unwieldy to navigate around policy documents assigned to IAM groups. Sometimes you just want to have a local copy of the policies to edit/play with/look at. Therefore, I came up with a quick script to solve this. Enjoy&#8230; Of course, [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve recently been working more day to day on Amazon Web Services, and I found it a little unwieldy to navigate around policy documents assigned to IAM groups.</p>
<p>Sometimes you just want to have a local copy of the policies to edit/play with/look at.</p>
<p>Therefore, I came up with a quick script to solve this. Enjoy&#8230;<br />
Of course, the <a href="https://aws.amazon.com/powershell/">AWS SDK for Powershell </a>is required.</p>
<p><script src="https://gist.github.com/23a6de9d82fc31a6115b.js"></script></p>
]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2014/08/05/powershell-aws-and-iam-policy-retrieval/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Podcast RSS Feed (XML file) not working on WordPress Site</title>
		<link>https://techdebug.com/blog/2014/06/06/podcast-rss-feed-not-working/</link>
					<comments>https://techdebug.com/blog/2014/06/06/podcast-rss-feed-not-working/#respond</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Fri, 06 Jun 2014 07:05:55 +0000</pubDate>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[godaddy managed wordpress]]></category>
		<category><![CDATA[not found]]></category>
		<category><![CDATA[podcast]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[RSS feed]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[yoast]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=979</guid>

					<description><![CDATA[I host this blog in WordPress, and it&#8217;s a great micro CMS with all the bells and whistles. I also publish and host the XML file for a podcast of the Angry Human. It&#8217;s picked up by feed burner, and then iTunes takes the feed burner RSS feed and et voila! All the Apple listeners [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I host this blog in WordPress, and it&#8217;s a great micro CMS with all the bells and whistles. I also publish and host the XML file for a podcast of the <a href="http://www.rocklandworldradio.com/program/angryhuman">Angry Human</a>. It&#8217;s picked up by feed burner, and then iTunes takes the feed burner RSS feed and et voila! All the Apple listeners to the show Angry Human by David Biedny get their recent shows!</p>
<p>I recently had an issue where I&#8217;ve moved this site from Rackspace Cloud Sites to the Godaddy Managed WordPress sites. One of the things that was happening was the URI for the podcast XML RSS feed was returning as a 404 not found; even though it was there. Nothing I tried made this thing work, and nowhere could I find other people talking about RSS XML files published alongside wordpress not working. Even adding a new .htaccess file in the subfolder on the server to turn off URL rewrites did not work.</p>
<p>Another client I had recently worked with wanted some SEO optimisations, and we ended up implementing the awesome <a href="https://yoast.com/wordpress/plugins/seo/">WordPress SEO plugin</a> by Joost de Valk . One of the things I had noted about this plugin on the Godaddy hosting, was that the XML site map feature used to help bots index the site, was not working. We fixed this quite easily with a <a href="http://www.wpcub.com/sitemap-xml-404-found-yoast/">commonly known fix</a> in the .htaccess file on the WordPress host.</p>
<p>I had not groked this similar error until an &#8220;Aha&#8221; moment when I realised an XML file, whether it be sitemap.xml or angryhuman.xml had been invoking the same rewrite error causing a 404 not found on a valid URI for a hosted file. Double checking and I had indeed implemented WordPress SEO plugin on this site.</p>
<p>The root cause: any self published XML file outside of the standard wordpress folders on a GoDaddy Managed WordPress Site &#8211; will return a 404 not found if you are using WordPress 3.9 and WordPress SEO by Yoast.</p>
<p>Therefore the fix in this case for my self published XML feed for Angry Human was adding this to the .htaccess:</p>
<p><script src="https://gist.github.com/lantrix/d416f8c4078ba3b3df27.js"></script></p>
]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2014/06/06/podcast-rss-feed-not-working/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Disk space Usage</title>
		<link>https://techdebug.com/blog/2014/02/20/disk-space-usage/</link>
					<comments>https://techdebug.com/blog/2014/02/20/disk-space-usage/#respond</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Thu, 20 Feb 2014 03:41:44 +0000</pubDate>
				<category><![CDATA[unix]]></category>
		<category><![CDATA[alias]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[code]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=385</guid>

					<description><![CDATA[I came across a useful bash alias. I don&#8217;t know where. I&#8217;ll call it dureport. alias dureport='du -sdk * &#124; awk '\''{printf "%12d\t%s\n", $1, substr($0,index($0,$2),80)}'\'' &#124;sort -r']]></description>
										<content:encoded><![CDATA[<p>I came across a useful bash alias. I don&#8217;t know where. I&#8217;ll call it dureport.<br />
<code>alias dureport='du -sdk * | awk '\''{printf "%12d\t%s\n", $1, substr($0,index($0,$2),80)}'\'' |sort -r'</code></p>
]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2014/02/20/disk-space-usage/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>PowerShell to Configure BizTalk Server 2013 Host and Host Instances</title>
		<link>https://techdebug.com/blog/2014/01/21/powershell-to-configure-biztalk-server-2013-host-and-host-instances/</link>
					<comments>https://techdebug.com/blog/2014/01/21/powershell-to-configure-biztalk-server-2013-host-and-host-instances/#respond</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Tue, 21 Jan 2014 03:06:03 +0000</pubDate>
				<category><![CDATA[BizTalk2013]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[automate]]></category>
		<category><![CDATA[biztalk2013]]></category>
		<category><![CDATA[bts2013]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[SB-Messaging]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[WCF-BasicHttpRelay]]></category>
		<category><![CDATA[WCF-NetTcpRelay]]></category>
		<category><![CDATA[WCF-WebHttp]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=852</guid>

					<description><![CDATA[Everyone loves automated processes. With BizTalk 2013 if you want to provide a repeatable install; you need automation. PowerShell is where it&#8217;s at. Lucky for me, other very skilled people already have written PowerShell scripts providing the capability to create hosts and host instances. Sandro Pereira has written and published a PowerShell script to create [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Everyone loves automated processes.</p>
<p>With BizTalk 2013 if you want to provide a repeatable install; you need automation. PowerShell is where it&#8217;s at.<br />
Lucky for me, other very skilled people already have written PowerShell scripts providing the capability to create hosts and host instances. <a href="http://sandroaspbiztalkblog.wordpress.com/">Sandro Pereira</a> has written and published a PowerShell <a href="http://gallery.technet.microsoft.com/PowerShell-to-Configure-0cee83e8">script</a> to create your BizTalk host instances based upon the best practice of host separation. However, it&#8217;s only written for BizTalk 2010.</p>
<p>I&#8217;ve gone and modified it for BizTalk 2013. It provides the exact same capability, with BizTalk 2013 capabilities.<br />
This includes new Receive Port Handlers:</p>
<ul>
<li>SB-Messaging</li>
<li>SFTP</li>
<li>WCF-BasicHttpRelay</li>
<li>WCF-NetTcpRelay</li>
</ul>
<p>And New Send Port Handlers:</p>
<ul>
<li>SB-Messaging</li>
<li>SFTP</li>
<li>WCF-BasicHttpRelay</li>
<li>WCF-NetTcpRelay</li>
<li>WCF-WebHttp (the new adapter supporting <a href="http://en.wikipedia.org/wiki/Representational_state_transfer">REST</a>)</li>
</ul>
<p>The diff to the BTS2010 version from Sandro is:<br />
<script src="https://gist.github.com/8533818.js"></script></p>
<p>You can grab <a href="https://github.com/lantrix/BTS/blob/master/build/2013/ConfigureBizTalkServer2013EnvHostAndHostInstances.ps1">my updated BizTalk 2013 script</a> over at my BizTalk 2013 GitHub repository.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2014/01/21/powershell-to-configure-biztalk-server-2013-host-and-host-instances/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>End of Microsoft Development?</title>
		<link>https://techdebug.com/blog/2014/01/20/end-of-microsoft-development/</link>
					<comments>https://techdebug.com/blog/2014/01/20/end-of-microsoft-development/#comments</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Mon, 20 Jan 2014 04:21:58 +0000</pubDate>
				<category><![CDATA[Musings]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=861</guid>

					<description><![CDATA[It has been a year from not blogging at all, due to a hectic professional schedule. I&#8217;ve been busy dealing with BizTalk 2010, WCF services and all things SOA. One thing I&#8217;ve learnt is I&#8217;m not a hardcore developer. I&#8217;m much better at implementing technical solutions and server sysadmin. I think I&#8217;ll stick to that. [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>It has been a year from not blogging at all, due to a hectic professional schedule.</p>
<p>I&#8217;ve been busy dealing with BizTalk 2010, WCF services and all things SOA. One thing I&#8217;ve learnt is I&#8217;m not a hardcore developer. I&#8217;m much better at implementing technical solutions and server sysadmin. I think I&#8217;ll stick to that. In the meantime my knowledge and skill level with BizTalk has gone up now having almost 2 years experience developing, deploying and maintaining an ESB based around BizTalk 2010 and WCF services. It will be good to get back to Unix systems and Git source control instead of Wintel systems with TFS.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2014/01/20/end-of-microsoft-development/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Microsoft Development</title>
		<link>https://techdebug.com/blog/2012/01/07/microsoft-development/</link>
					<comments>https://techdebug.com/blog/2012/01/07/microsoft-development/#respond</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Sat, 07 Jan 2012 13:05:41 +0000</pubDate>
				<category><![CDATA[integration]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[TFS]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=856</guid>

					<description><![CDATA[I&#8217;ve started down the path of Darkness 🙂 In December 2011, I went on BizTalk training with @BizTalkBill and I&#8217;m now four weeks into the next stage of my career which is being an Microsoft &#8220;Integration Specialist&#8221;. You won&#8217;t find any open source in this realm, no ruby, nothing involving indie developers cracking out code [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve started down the path of Darkness <img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>In December 2011, I went on BizTalk training with <a href="http://biztalkbill.com">@BizTalkBill</a> and I&#8217;m now four weeks into the next stage of my career which is being an Microsoft &#8220;Integration Specialist&#8221;. You won&#8217;t find any open source in this realm, no ruby, nothing involving indie developers cracking out code until late at night.</p>
<p>What this change means is getting to know Visual Studio, BizTalk, SQL Server and all things Microsoft. It means using TFS, even though you really want to use Git. It means C<a href="http://search.twitter.com/search?q=%23" class="tweet-hashtag">#</a> coding when you are familiar with interpreted languages like Perl, PHP and Ruby (I won&#8217;t be doing an ASP work).</p>
<p>That means you can expect going forward less posts about Unix, Clearcase (finally!) and Open Source platforms, and more about Microsoft offerings; specifically integration products.</p>
<p>Welcome to 2012.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2012/01/07/microsoft-development/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Git on 10.04 Ubuntu LTS</title>
		<link>https://techdebug.com/blog/2011/12/06/git-on-10-04-ubuntu-lts/</link>
					<comments>https://techdebug.com/blog/2011/12/06/git-on-10-04-ubuntu-lts/#respond</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Tue, 06 Dec 2011 12:51:34 +0000</pubDate>
				<category><![CDATA[git]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rackspace]]></category>
		<category><![CDATA[SCM]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=848</guid>

					<description><![CDATA[This is more for me than you, however if you need Git on Ubuntu 10.04 (LTS) try this. The commands I ran get the pre-packaged PPA Git working on Ubuntu 10.04: sudo apt-get install python-software-properties sudo add-apt-repository ppa:git-core/ppa sudo aptitude update sudo aptitude safe-upgrade sudo aptitude install git]]></description>
										<content:encoded><![CDATA[<p>This is more for me than you, however if you need Git on Ubuntu 10.04 (LTS) try this. The commands I ran get the <a href="http://launchpad.net/git/">pre-packaged PPA Git</a> working on Ubuntu 10.04:<br />
<code>sudo apt-get install python-software-properties<br />
sudo add-apt-repository ppa:git-core/ppa<br />
sudo aptitude update<br />
sudo aptitude safe-upgrade<br />
sudo aptitude install git</code></p>
]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2011/12/06/git-on-10-04-ubuntu-lts/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Apple iTMS TV show quality review</title>
		<link>https://techdebug.com/blog/2011/09/03/apple-itms-tv-show-quality-review/</link>
					<comments>https://techdebug.com/blog/2011/09/03/apple-itms-tv-show-quality-review/#comments</comments>
		
		<dc:creator><![CDATA[Tech Debug]]></dc:creator>
		<pubDate>Sat, 03 Sep 2011 04:18:29 +0000</pubDate>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[Appletv]]></category>
		<category><![CDATA[episodes]]></category>
		<category><![CDATA[HD]]></category>
		<category><![CDATA[hdmi]]></category>
		<category><![CDATA[itms]]></category>
		<category><![CDATA[quality]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[SD]]></category>
		<category><![CDATA[shows]]></category>
		<category><![CDATA[sony]]></category>
		<category><![CDATA[tv]]></category>
		<guid isPermaLink="false">https://techdebug.com/?p=497</guid>

					<description><![CDATA[This is an old review I wrote and never posted, but it&#8217;s still relevant today. My conclusion is up to date for 2011. Having just purchased and watched seasons 1 and 2 of The Tudors from iTunes (I missed them on Showtime), I was searching the net for other peoples thoughts on the quality of [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>This is an old review I wrote and never posted, but it&#8217;s still relevant today. My conclusion is up to date for 2011.</p>
<p><img decoding="async" loading="lazy" style="float: right; margin-bottom: 10px; margin-left: 10px" src="https://techdebug.com/wp-content/uploads/2011/09/TudorsShowtimeposter-214x300.jpg" alt="" title="Tudors" width="214" height="300" class="alignright size-medium wp-image-840" srcset="https://techdebug.com/wp-content/uploads/2011/09/TudorsShowtimeposter-214x300.jpg 214w, https://techdebug.com/wp-content/uploads/2011/09/TudorsShowtimeposter.jpg 250w" sizes="(max-width: 214px) 100vw, 214px" /></p>
<p>Having just purchased and watched seasons 1 and 2 of The Tudors from iTunes (I missed them on Showtime), I was searching the net for other peoples thoughts on the quality of these TV shows. One review I came across was from <a href="http://allforces.com/2005/07/24/itunes-tv-shows-vs-bittorrent-2/">AllForces.com</a>, concering iTunes quality vs Bit Torrent. Since their blog post in 2005, Apple seems to have upped the standard of their TV show offerings.</p>
<p>I&#8217;m be the first to admit that I&#8217;m an Apple fan, with my Mac laptop the primary downloader of these TV Shows, syncing to my iPhone and also viewing the shows via front row on my Mac Mini. It&#8217;s the viewing of these on the Mac Mini I will review.</p>
<p><span id="more-497"></span></p>
<p>For the review I was watching iTunes video files using the following:</p>
<ul>
<li>2009 Model <a href="http://www.apple.com/macmini/specs.html">Mac Mini</a></li>
<li>Sony <a href="http://www.sony.com.au/product/kdl-46w4500/sku/kdl-46w4500+au5">KDL-46W4500</a> 1080p LCD Television</li>
<li>DVI to HDMI connection from Mac to TV, set at 720p resolution</li>
<li>Apples Front Row for playback, with the TV Shows sourced on a remote Mac Laptop over 54g WiFi</li>
</ul>
<h2>DRM</h2>
<p>One of the things All Forces addressed was the DRM vs Bit Torrent downloads. Apple has come a long way since 2005 with their music, having the majority of the catalogue as &#8220;iTunes Plus&#8221;. This has their musical offerings in 256Kbps DRM free AAC audio. It&#8217;s an advancement since 2005, even though <a href="https://techdebug.com/blog/2008/08/13/bigpond-telstra-start-selling-mp3-music/">others</a> offer better music quality.</p>
<p>There are still DRM restrictions in place for video, and I don&#8217;t see this abating any time soon. The TV and Movie industry is a lot less lenient to the removal of <a href="http://en.wikipedia.org/wiki/Digital_Rights_Management">Digital Rights Management</a>, and with Blu-ray winning the HD wars we wont see DRM removed from video any time soon.</p>
<h2>Video Quality</h2>
<p>One of the key points in the review by All Forces in 2005 was the low resolution of the iTunes video files. Quality of the TV episodes have increased since 2005, and Apple seem to be on a winner with H264 encoding. The files for The Tudors video files are 640&#215;360 H264 encoded <a href="http://en.wikipedia.org/wiki/Mp4">MPEG4</a> files, with an average size of 600MBytes per episode.</p>
<h2>Pricing</h2>
<p>In 2011 I also use an Apple TV. Pricing is a MAJOR sticking point with people using iTunes for TV Shows. In Australia they sell at AUD$2.99, only in standard definition, and only via the iTunes Store. In the US one can purchase HD versions for the same price or SD versions for USD$1.99. It&#8217;s ridiculous. You can&#8217;t even watch TV shows in Australia on Apple TV. Why?!</p>
<h2>Conclusion</h2>
<p>The quality of the iTunes show, as seen with The <a href="http://itunes.apple.com/au/tv-season/the-tudors-season-1/id285223028">Tudors Season 1</a> is great. Apple have come a long way over the last 4 years to be able to offer all major TV shows as electronic downloads. Ease of access, and a decent price point makes it viable for consumers to use Apple as their source of entertainment. However, the disparate pricing across markets and the lack of HD shows in some countries is the final blocker to making iTunes your <em>first and only</em> stop for watching TV shows.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techdebug.com/blog/2011/09/03/apple-itms-tv-show-quality-review/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
