<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8083226521282694116</id><updated>2011-04-21T22:07:34.129-06:00</updated><category term='Java'/><category term='Linux'/><category term='Time Wasting'/><title type='text'>SubDude Tech</title><subtitle type='html'>Wasting my time so you don't have to.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://subdudetech.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8083226521282694116/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://subdudetech.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>SubDude</name><uri>http://www.blogger.com/profile/15876410436136135162</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8083226521282694116.post-1382542598473388390</id><published>2007-03-01T23:26:00.000-07:00</published><updated>2007-03-02T00:21:15.427-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Time Wasting'/><title type='text'>Manifestly Dashing</title><content type='html'>DashO is a code obfuscator for Java. Today it wasted my time. It will happily read in a jar file and use the manifest to find the entrypoint. It also gives you the option of writing its output to a jar file. I made the mistake of thinking that this new jar would also contain a manifest. It doesn't.&lt;br /&gt;So it's probably easier to get DashO to output to a directory and ask Ant to package the files how you want them.&lt;br /&gt;&lt;br /&gt;Going over the docs, it looks like you can specify a manifest in the config file, but I didn't see anything in the GUI.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8083226521282694116-1382542598473388390?l=subdudetech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://subdudetech.blogspot.com/feeds/1382542598473388390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8083226521282694116&amp;postID=1382542598473388390' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8083226521282694116/posts/default/1382542598473388390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8083226521282694116/posts/default/1382542598473388390'/><link rel='alternate' type='text/html' href='http://subdudetech.blogspot.com/2007/03/manifestly-dashing.html' title='Manifestly Dashing'/><author><name>SubDude</name><uri>http://www.blogger.com/profile/15876410436136135162</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8083226521282694116.post-1958475317366566248</id><published>2007-03-01T22:28:00.000-07:00</published><updated>2007-03-01T23:26:51.628-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Overcommitted to the old kernel</title><content type='html'>If you want to make sure your Linux kernel does not over commit memory you can run this:&lt;br /&gt;&lt;pre class="PROGRAMLISTING"&gt;&lt;span style="font-family:monospace;"&gt; &lt;/span&gt;sysctl -w vm.overcommit_memory=2&lt;/pre&gt;and edit &lt;tt class="FILENAME"&gt;/etc/sysctl.conf &lt;/tt&gt;to make the change survive a reboot. After all, you think, how rude would it be if some greedy process asks for RAM killing your well-behaved process in the confusion. How rude indeed.&lt;br /&gt;&lt;br /&gt;Now let's just say you're in some sleep-addled state and you've done this not realizing that the server you are logged into is running Linux 2.4 where this setting is undefined. Let's also say that this is a production server with over 250 people logged in. For effect, we should add that it's after-hours and the server is over 1000 miles away.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;Now that the kernel refuses to allocate any RAM at all, what do you do? You can't run 'sysctl' again and even if you could run a friendly 'shutdown -r now', the machine probably wouldn't get very far. You feel crippled–'vi' is right out and even your 'cat' needs RAM. Luckily your trusty shell is still open and already has all the RAM it needs. This will save you:&lt;br /&gt;&lt;/div&gt;&lt;pre class="PROGRAMLISTING"&gt; echo 0 &gt; /proc/sys/vm/overcommit_memory&lt;br /&gt;&lt;/pre&gt; Now go home before you do anything else stupid.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8083226521282694116-1958475317366566248?l=subdudetech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://subdudetech.blogspot.com/feeds/1958475317366566248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8083226521282694116&amp;postID=1958475317366566248' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8083226521282694116/posts/default/1958475317366566248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8083226521282694116/posts/default/1958475317366566248'/><link rel='alternate' type='text/html' href='http://subdudetech.blogspot.com/2007/03/overcommitted-to-old-kernel.html' title='Overcommitted to the old kernel'/><author><name>SubDude</name><uri>http://www.blogger.com/profile/15876410436136135162</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
