Timothy C. Fanelli http://www.timfanelli.com/blog/ Tim Fanelli's personal and technical blog The nightmare of server migration http://www.timfanelli.com/item/2501 <p>Well this week began "re-registration" week at Clarkson, where they randomly and repeatedly delete MAC addresses from your NetReg registration list and make your life miserable.</p> <p>I leased a VPS from <a href="http://slicehost.com">SliceHost</a> and am in the process of moving all my sites there -- which is turning into quite the process... I've decided to clean things up a lot to make my life easier, as well.</p> <p>Unfortunately, that means my websites are only partially up at the moment... please bear with me as I work through this. It's difficult to migrate off a server, when you can only access it intermittently :-\.</p> <p>Meantime, I'd like to say "Thanks, OIT, for creating yet another debacle that just makes our lives more difficult. Aren't you supposed to <i>support</i> the faculty and staff? What the hell?"</p> oit fouroh77 server web Fri, 02 Oct 2009 16:41:59 GMT http://www.timfanelli.com/item/2501 tim@timfanelli.com 2009-10-02T16:41:59Z Entrepreneur Survival Guide - 10 Apps/Tools Every Entrepreneur Should be Using DAILY?|?Listropolis http://www.listropolis.com/2009/07/entrepreneur-survival-guide-10-appstools-every-entrepreneur-should-be-using-daily/ http://www.listropolis.com/2009/07/entrepreneur-survival-guide-10-appstools-every-entrepreneur-should-be-using-daily/ blog Sun, 30 Aug 2009 01:34:56 GMT http://www.listropolis.com/2009/07/entrepreneur-survival-guide-10-appstools-every-entrepreneur-should-be-using-daily/ timfanelli 2009-08-30T01:34:56Z Installing SystemC on Ubuntu 9.04 http://www.timfanelli.com/item/2302 <p>Spent some time today getting <a href="http://www.systemc.org">SystemC</a> setup on my workstation at Clarkson, for a course I am taking: <a href="http://www.clarkson.edu/~khonder/EE560_F2009.html">Hardware/Software System Design and Verification</a>. SystemC is, in short, a C++ class and macro library with a simulation kernel that allows you to describe a hardware system using C++ syntax and language features... or something.</p> <p>In any event, installation on Ubuntu 9.04 wasn't quite as straight forward as the instructions would have you think. Jaunty uses GCC 4.3, which is more strict in certain aspects than GCC 4.1, which is the version tested by the SystemC people. Compilation will fail, because the <code>src/sysc/utils/sc_utils_ids.cpp</code> doesn't have the proper includes. Simply add: <pre><code> #include &lt;cstdlib> #include &lt;cstring> using namespace std; </code></pre> to the file, right below the existing <code>#include "systemc.h"</code> directive, and everything will compile and install without problems.</p> <p>For detailed instructions, and a sample program to test with, check out: <a href="http://bishop.camp.clarkson.edu/wiki/en/Installing_SystemC_on_Ubuntu_9.04">Installing SystemC On Ubuntu 9.04</a> on phWikid (where the learnin's at).</p> gcc systemc clarkson.ee60 ubuntu Wed, 26 Aug 2009 20:54:17 GMT http://www.timfanelli.com/item/2302 tim@timfanelli.com 2009-08-26T20:54:17Z Fixed Atom and RSS Generation http://www.timfanelli.com/item/1903 <p>Just implemented a quick RSS and ATOM renderer in <a href="http://www.blosxonomy.com/main/HawkEye">HawkEye</a>... my feeds were being generated by some legacy code that used to host my website. Once I'd began hosting several other blogs, including my <a href="http://www.potsdamjo.com">girlfriend's yoga journal</a>, in the same database - everything got fed into the same generator.</p> <p>The error appears to be fixed, and as a consequence, Josephine's site now support's RSS and ATOM feeds as well!</p> <p>Thanks for bearing with me... keep the feedback coming!</p> atom cosi rss web blosxonomy hawkeye Thu, 20 Aug 2009 00:23:30 GMT http://www.timfanelli.com/item/1903 tim@timfanelli.com 2009-08-20T00:23:30Z Sorry Planet Cosi http://www.timfanelli.com/item/1902 <p>Sorry, <a href="http://planet.cosi.clarkson.edu">Planet COSI</a> and anyone else who pulls my RSS feeds.</p> <p>It just came to my attention that all of the blogs hosted in my database are being read into the same RSS feed... which is an unintended consequence of some design changes I've been going through.</p> <p>I'm going to reimplement my RSS support now, and should have this problem fixed shortly. Please bear with me!</p> cosi rss web Wed, 19 Aug 2009 23:57:38 GMT http://www.timfanelli.com/item/1902 tim@timfanelli.com 2009-08-19T23:57:38Z Importance of Legacy URL Support http://www.timfanelli.com/item/1702 <p>I've received several notifications over the past few weeks about dead URLs on <a href="http://www.timfanelli.com">my website</a>. Notably, from places where I have linked my own articles, such as in my <a href="http://www.timfanelli.com/item/16">Best of 2003</a> roundup. All the links in that article died suddenly, because I'd migrated my blog software from one system to another. Given the date on that post, I'd guess I migrated from <a href="http://pyblosxom.sourceforge.net">pyBlosxom</a> to <a href="http://www.blosxonomy.com">blosxonomy</a> back then.</p> <p>Anyway, I'm making an effort to resurrect those dead URL's using some apache re-write rules. Specifically, all the links on my Best of 2003 now work again.</p> <p>Note to web site maintainers: it's important to pick a URL scheme, and be consistent... it will bite you in the butt later.</p> apache web mod_rewrite url legacy Wed, 19 Aug 2009 00:31:46 GMT http://www.timfanelli.com/item/1702 tim@timfanelli.com 2009-08-19T00:31:46Z Mashed up website... http://www.timfanelli.com/item/1701 <p>Spent some time working on the website this afternoon... with <a href="http://www.unsure.org">Matt</a> and <a href="http://www.potsdamjo.com">Josephine</a> both interested in running the software, there's been a ton of development work going on.</p> <p>As of this afternoon, <a href="http://www.timfanelli.com">my website</a> runs a mashup of two versions of <a href="http://www.blosxonomy.com">Blosxonomy-J</a>... the version that drives the front page, tag searches, and item permalinks is the current development version. My old beta software still hosts my <a href="http://www.timfanelli.com/about">about page</a>, and the page that supports posting new entries.</p> <p><b>Note:</b> comment support is broken for the time being. It should be back up sometime this week. In the meantime, please e-mail me your feedback: <a href="mailto:tim@timfanelli.com">tim@timfanelli.com</a>.</p> <p>The new code is essentially a web-service mashup, called <a href="http://www.blosxonomy.com/main/HawkEye">HawkEye</a>. HawkEye pulls "stories" from any number of webservices - which right now includes <a href="http://www.blosxonomy.com/main/Radar">Radar</a>, the blogging engine behind HawkEye, and Twitter. Matt is developing a <a href="http://del.icio.us">del.icio.us</a> plugin, and <a href="http://www.flickr.com">flickr</a> plugin as well - though that code isn't checked into SVN yet. I also plan on developing a generic ATOM and RSS consumer, making HawkEye a consumer of virtually anything.</p> <p>My upcoming major undertakings include an event-notification system, allowing modules to react to events in HawkEye. An event would be anything new that posted in any of the story sources. This would allow you to things like tweet new blog posts; blog new tweets; udpate facebook with links to flickr photos; and any other such inter-operable nonsense that has become part of our daily routines -- all without thinking about it. HawkEye should become the basis around which your social networking life revolves.</p> <p>Ofcourse, every good piece of software needs a name, and all you children of the 80's and earlier will have picked up on the theme already. In fact, at Matt's request, the project's admin console will be called "Hotlips." So what we need now is a clever name that matches the theme. Suggestions are desperately needed!</p> <p>Also, if you are interested in using the code, or helping to advance it, please get in touch... the platform is growing quickly, but any help would be greatly appreciated.</p> jee5 java web blosxonomy Wed, 19 Aug 2009 00:15:34 GMT http://www.timfanelli.com/item/1701 tim@timfanelli.com 2009-08-19T00:15:34Z Replacing substrings in PostgreSQL text fields http://www.timfanelli.com/item/1402 <p>In my <a href="http://www.timfanelli.com/item/1401">previous post</a> I made a small typo. I used the word 'direction' instead of 'directory'. Since I'd already tweeted a link to the post, deleting the entry and recreating it wasn't an option. So I did some quick digging into the PostgreSQL reference and found this handy function:</p> <pre><code>replace(string text, from text, to text)</code></pre> <p>This replaces all occurrences in string of substring from with substring to.</p> <p>I used this to fix the typo in my blog post, by executing:</p> <p><pre><code>UPDATE entry SET content = replace(content, 'direction', 'directory) WHERE ID=1401;</code></pre></p> <p>In the event that the word 'direction' had occurred multiple times in the post, I could have used a larger substring, such as the whole sentence, to identify the specific occurrence I wanted.</p> sql postgresql database Mon, 10 Aug 2009 21:40:11 GMT http://www.timfanelli.com/item/1402 tim@timfanelli.com 2009-08-10T21:40:11Z Disable Security in WebSphere Application Server Deployment Manager http://www.timfanelli.com/item/1401 <p>Have you forgotten the password to, or messed up the security configuration of, your WebSphere Application Server's Deployment Manager? Here's a quick tip on how you can disable security, allowing you to log in again, and reconfigure.</p> <p>Log into the system that hosts your deployment manager, and change to the deployment manager's profile's bin directory. Then execute:</p> <p><pre><code>./wsadmin.sh -conntype NONE WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode. WASX7029I: For help, enter: "$Help help" wsadmin>securityoff LOCAL OS security is off now but you need to restart server1 to make it affected. wsadmin>exit </code></pre></p> <p>Then, shutdown and restart your deployment manager. It should come up with security disabled on the admin console.</p> ibm websphere security Mon, 10 Aug 2009 21:11:57 GMT http://www.timfanelli.com/item/1401 tim@timfanelli.com 2009-08-10T21:11:57Z An Elightened Zombie with a Plan http://www.timfanelli.com/item/1002 <p>I'm trying to rectify my personal feelings towards that statement, &quot;An enlightened zombie with a plan&quot;. Let me give you some context: Today I was <a href="http://twitter.com/lvrkmb/status/3198273714">accused of being an "Obama Zombie"</a> by an <a href="http://starttherevolution.ning.com/">anti-Obama activist</a>, in reference to my <a href="http://rfid.timfanelli.com">RFID implants</a>.</p> <p>While this made me laugh hysterically, I <a href="http://twitter.com/timfanelli/status/3199276376">replied</a> <a href="http://twitter.com/timfanelli/status/3199693606">back</a> nicely, providing <a href="http://rfid.timfanelli.com/RFID Implant Philisophy">my point of view</a> on the technology. I certainly <b>do not</b> think RFID chips are secure, safe, or should be tied in any way to anyone's personal information. I do not believe the government is planning to use RFID as a tracking technology -- not because it couldn't be, but only because they already can track us. Personally, I carry two GPS enabled cell-phones, tied to my personal information, and almost never use cash which means my every financial transaction is recorded. The government does not need to build any more infrastructure to track its citizens... they already can. However, I have joked several times that, when it comes time, I'll remove my implants and go underground knowing more than most people about the technology... joked in the morbid sense that it's a plausible, though unlikely, scenario.</p> <p>In any event, the final tweet in the conversation is duplicated here, for your enjoyment (<a href="http://twitter.com/lvrkmb/statuses/3200051205">link to actual tweet</a>): <div class="tweet"> <div class="tweet_title"><a href="http://www.twitter.com/lvrkmb">lvrkmb</a>I retract my statement saying <a href="http://www.twitter.com/timfanelli">@timfanelli</a> is a zombie- if he is one at least he is an enlightened one with a plan.... <div class="tweet_time">Tweeted Aug 08, 2009 at 08:36 PM</div> </div> </div> </p> <p>So now I'm stuck trying to rectify my political views, which can loosely be described as &quot;left&quot;, against being an &quot;Obama Zombie&quot;. A blind, mindless, braaaaaaaains-eating follower I am not! Sure, I voted for the man. Do I agree with his every move? Of course not. Do I object strongly to many of them? Not really. I guess I'm conflicted... but will say I'm glad he's doing <i>something</i>... even if in the end it may not be the right thing. I don't have the answers - but I know that no decisions would ever be made if the President wasn't the kind of person willing to make them. Not everyone is going to be happy with any one decision, but noone would be happy with no decisions. And that's all I've got to say about that.</p> politics twitter rfid life zmobie Sun, 09 Aug 2009 02:48:59 GMT http://www.timfanelli.com/item/1002 tim@timfanelli.com 2009-08-09T02:48:59Z Elevator Simulator http://www.timfanelli.com/item/801 <p>Blast from the past... Back in the day, during our time as undergraduates at <a href="http://www.clarkson.edu">Clarkson University</a>, <a href="http://www.petefreitag.com">Pete</a> and I used to be an unstoppable <a href="http://clarkson.edu/ece/undergrad/se_undergrad.html">software engineering</a> duo. When tasked with designing an elevator simulation for our algorithms course, we laughed and then went WAY overboard.</p> <p>Today, while going through some archives on <a href="http://www.archive.org">The Way Back Machine</a>, I found our elevator simulator - and thought I'd post it here.</p> <p>I haven't looked at the source too closely yet, keep in mind we wrote this in our early days of experimenting with event-driven programming, XML parsing, and API design. You can <a href="http://www.timfanelli.com/projects/elevator.tgz">download it here</a>. Enjoy!</p> elevator projects programming java algorithms clarkson Fri, 07 Aug 2009 19:28:56 GMT http://www.timfanelli.com/item/801 tim@timfanelli.com 2009-08-07T19:28:56Z