<?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>toniBlog &#187; bile</title>
	<atom:link href="http://www.the-arm.com/tag/bile/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.the-arm.com</link>
	<description>A weblog about Methodologies for Development</description>
	<lastBuildDate>Mon, 01 Mar 2010 07:22:39 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Some features are important&#8230;</title>
		<link>http://www.the-arm.com/2008/10/some-features-are-important/</link>
		<comments>http://www.the-arm.com/2008/10/some-features-are-important/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 16:48:51 +0000</pubDate>
		<dc:creator>toni</dc:creator>
				<category><![CDATA[General Stuff]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[bile]]></category>

		<guid isPermaLink="false">http://www.the-arm.com/?p=296</guid>
		<description><![CDATA[Like&#8230; 
As a user I want to fully delete my account from eventful so that I&#8217;m sure my details are safe
Unfortunately there&#8217;s no delete account functionality in eventful, in the FAQ they explain:
How do I cancel/delete my account?
Unfortunately, we don&#8217;t have the functionality in place to delete or cancel accounts. You can unsubscribe from any emails [...]]]></description>
			<content:encoded><![CDATA[<p>Like&#8230; </p>
<p>As a user I want to fully delete my account from <a href="http://eventful.com/">eventful</a> so that I&#8217;m sure my details are safe</p>
<p>Unfortunately there&#8217;s no delete account functionality in eventful, in the <a href="http://eventful.com/faq#acct-cancel">FAQ</a> they explain:</p>
<blockquote><dt id="acct-cancel">How do I cancel/delete my account?</dt>
<dd>Unfortunately, <strong>we don&#8217;t have the functionality in place to delete or cancel accounts</strong>. You can unsubscribe from any emails you&#8217;re receiving, however.</p>
<p>Currently, the best solution to this problem is to do the following yourself:</p>
<ol>
<li>Log in to Eventful.com and click on your username (upper right corner). This brings you to your profile page.</li>
<li>Click on every event, performer, venue, group and calendar which you have created, joined, favorited, friended, or commented on.</li>
<li>Delete comments, withdraw demands, events, performers, calendars, leave groups, and unfriend users.</li>
<li>Go to your user&#8217;s preferences and change your email address to something unrecognizable</li>
<li>Delete any saved locations inside your preferences as well.</li>
<li>Remove any description or interests from your public profile section in the user&#8217;s preferences.</li>
</ol>
<p>This lengthy process effectively removes any activity you&#8217;ve done throughout our system. There is still a small chance you may show up in certain situations, and your profile will still be accessable and visible.</p>
<p>If you would like, you can then re-join under a different username. (<a href="http://eventful.com/faq#top">back to top</a>)</p>
</dd>
</blockquote>
<p> </p>
<p>That&#8217;s terrible! </p>
<p>We always say that is the customer that has to prioritize the stories to implement, this story is clearly important but from a user point of view, never underestimate this!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.the-arm.com/2008/10/some-features-are-important/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>the fit* stuff</title>
		<link>http://www.the-arm.com/2007/04/the-fit-stuff/</link>
		<comments>http://www.the-arm.com/2007/04/the-fit-stuff/#comments</comments>
		<pubDate>Thu, 12 Apr 2007 08:29:17 +0000</pubDate>
		<dc:creator>toni</dc:creator>
				<category><![CDATA[agile]]></category>
		<category><![CDATA[antiagile]]></category>
		<category><![CDATA[bile]]></category>
		<category><![CDATA[build automation]]></category>

		<guid isPermaLink="false">http://blog.java2me.org/2007/04/12/the-fit-stuff/</guid>
		<description><![CDATA[Felix is right
In the point of programming is to create and clarify meaning. Not to obscure it.
in the Ward Cunningam page I read:
Framework for Integrated Test, my version of TDD.
Version of TDD? I hope that there&#8217;s a mistake on the html&#8230; Fit is TDD? Sounds blaspheme to me.
I don&#8217;t like all the fit stuff and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wuetender-junger-mann.de/wordpress/wp-trackback.php?p=455">Felix </a>is right</p>
<blockquote><p>In the point of programming is to create and clarify meaning. Not to obscure it.</p></blockquote>
<p>in the Ward Cunningam page I read:</p>
<blockquote><p><a href="http://fit.c2.com/">Framework for Integrated Test</a>, my version of TDD.</p></blockquote>
<p>Version of TDD? I hope that there&#8217;s a mistake on the html&#8230; Fit is TDD? Sounds blaspheme to me.</p>
<p>I don&#8217;t like all the fit stuff and I never liked.</p>
<p>I heard of testers frustrated writing tons of tables on its wiki. Tables? Where does come from the idea to have this world table oriented? Wasn&#8217;t object oriented?</p>
<p>I hate fitnesse. I am so sorry but I deeply hate it.</p>
<p>Especially if people pretend to have code coverage with it. Especially if I have to wait hours for some integration tests made with it.</p>
<p>I&#8217;m for unit tests, with some mocks maybe sometimes. It&#8217;s faster, easier to understand, easier to refactor, to change.</p>
<p>Testers spent a lot of time understanding/playing/bla bla bla with fitnesse, why not putting them with their pairingÂ  front of a good eclipse installation and let&#8217;s get the party started with some unit tests?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.the-arm.com/2007/04/the-fit-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problem in WebSphere 6.0 ejbdeploy</title>
		<link>http://www.the-arm.com/2007/03/problem-in-websphere-60-ejbdeploy/</link>
		<comments>http://www.the-arm.com/2007/03/problem-in-websphere-60-ejbdeploy/#comments</comments>
		<pubDate>Tue, 13 Mar 2007 07:54:01 +0000</pubDate>
		<dc:creator>toni</dc:creator>
				<category><![CDATA[bile]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://blog.java2me.org/2007/03/13/problem-in-websphere-60-ejbdeploy/</guid>
		<description><![CDATA[JavaRanch Big Moose Saloon: Problem in WebSphere 6.0 ejbdeploy
Unable to parse setupCmdLine: null\bin\setupCmdLine.bat (The system cannot find the path specified)
I was trying to avoid to call bat files from ant. I hate that. First cos are platform (and what a platform&#8230;) dependent, second cos you can always have problems with error codes and the build [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><a href="http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&#038;f=46&#038;t=007716">JavaRanch Big Moose Saloon: Problem in WebSphere 6.0 ejbdeploy</a><br />
Unable to parse setupCmdLine: null\bin\setupCmdLine.bat (The system cannot find the path specified)</p></blockquote>
<p>I was trying to avoid to call bat files from ant. I hate that. First cos are platform (and what a platform&#8230;) dependent, second cos you can always have problems with error codes and the build can be successful even if something bad happens there&#8230;</p>
<p>There are 2 correct responses in this thread:</p>
<blockquote><p>I had the same problem last month, and struggled for a while. I found the point is, we have to use \profiles\AppSrv01\bin\ws_ant.bat to call ant, instead of calling ant directly. By using ws_ant.bat, it will initialize some env variables, and using IBM&#8217;s JVM to do the job. Another thing is, in build script, I need to define property &#8220;wasinstall&#8221; as websphere install home. This property will be used as ejb deploy task&#8217;s attribute &#8220;wasHome&#8221;&#8217;s value.</p></blockquote>
<p>The first is this, so I&#8217;ll roll back my changes. The .bat file is plenty of SET blabla=blabla/bla so I have no choice.</p>
<p>The second is the best one but unfortunately I can&#8217;t do that:</p>
<div align="left">
<blockquote><p><font size="2" face="Verdana, Arial"> There is one fix, delete WAS and never install it <img src='http://www.the-arm.com/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> .</font></p></blockquote>
</div>
<p>Indeed, WAS is an antipattern.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.the-arm.com/2007/03/problem-in-websphere-60-ejbdeploy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL 2005 as an antipattern</title>
		<link>http://www.the-arm.com/2007/02/sql-2005-as-an-antipattern/</link>
		<comments>http://www.the-arm.com/2007/02/sql-2005-as-an-antipattern/#comments</comments>
		<pubDate>Wed, 28 Feb 2007 10:07:51 +0000</pubDate>
		<dc:creator>toni</dc:creator>
				<category><![CDATA[bile]]></category>

		<guid isPermaLink="false">http://blog.java2me.org/2007/02/28/sql-2005-as-an-antipattern/</guid>
		<description><![CDATA[After 1 month and an half working on the strange combination of EJBs and SQL 2005 I can say that not only EJBs are an antipattern but also the bloody SQL server of Microsoft.
We had so many troubles doing an automated backup and restore of a database, the last one was a permission problem that [...]]]></description>
			<content:encoded><![CDATA[<p>After 1 month and an half working on the strange combination of EJBs and SQL 2005 I can say that not only EJBs are an antipattern but also the bloody SQL server of Microsoft.</p>
<p>We had so many troubles doing an automated backup and restore of a database, the last one was a permission problem that you can fix using a stored procedure (oh my God I wrote that I am using a stored procedure from Microsoft running onÂ  Microsoft RDBMS!) that it&#8217;s shipped with that kind of RDBMS. Is very nice the code, Action=Auto_Fix.</p>
<p>How much easier and safer is to backup a MySql server(*)?</p>
<p>This problem was just the last one, and I need to yell out a bit.</p>
<blockquote><p><a href="http://forums.seattletech.com/viewtopic.php?p=333&#038;sid=9bf0a2797b1ff982fde06a985e78d1fe">STG Forums :: View topic &#8211; SQL login problems after a backup/restore</a><br />
To fix this problem, run the following SQL commands:<br />
Code:<br />
Exec sp_change_users_login @Action = &#8216;Auto_Fix&#8217;, @UserNamePattern = &#8216;tsmith&#8217;</p></blockquote>
<p>That&#8217;s what happens with some folks without knowledge of what are good programming practices write a RDMS. I just wanna paste here the code (part of) of the Stored Procedure. It&#8217;s SQLserver two thousand five and someone still write shit code like this:</p>
<blockquote><p>&#8211; ERROR IF NOT AUTO_FIX &#8211;<br />
if @Action <> &#8216;AUTO_FIX&#8217;<br />
begin<br />
raiserror(15286,-1,-1,@ActionIn)<br />
return (1)<br />
end</p>
<p>&#8211; HANDLE AUTO_FIX &#8211;<br />
&#8211; CHECK PERMISSIONS &#8211;<br />
if not is_srvrolemember(&#8217;sysadmin&#8217;) = 1<br />
begin<br />
dbcc auditevent (130, 14, 0, NULL, @UserNamePattern, NULL, NULL, NULL, NULL, NULL)<br />
raiserror(15247,-1,-1)<br />
return (1)<br />
end<br />
else<br />
begin<br />
dbcc auditevent (130, 14, 1, NULL, @UserNamePattern, NULL, NULL, NULL, NULL, NULL)<br />
end</p>
<p>&#8211; VALIDATE PARAMS &#8211;<br />
if @UserNamePattern IS Null or @LoginName IS NOT Null<br />
begin<br />
raiserror(15600,-1,-1,&#8217;sys.sp_change_users_login&#8217;)<br />
return (1)<br />
end</p>
<p>&#8211; LOOP THRU ORPHANED USERS &#8211;<br />
select @exec_stmt = &#8216;declare ms_crs_110_Users cursor global for<br />
select name from sysusers<br />
where name = N&#8217; + quotename( @UserNamePattern , &#8221;&#8221;)+ &#8216;<br />
andÂ Â  issqluser = 1<br />
andÂ Â  sid is not NULL<br />
andÂ Â  len(sid) < = 16<br />
andÂ Â  suser_sname(sid) is null'<br />
EXEC (@exec_stmt)<br />
open ms_crs_110_Users<br />
fetch next from ms_crs_110_Users into @110name</p>
<p>while (@@fetch_status = 0)<br />
begin<br />
if exists (select * from sys.server_principals where<br />
name = @110nameÂ Â Â Â Â Â Â Â Â Â Â Â Â  -- match login name<br />
and type in ('C', 'K'))Â Â Â Â Â Â Â Â Â Â Â  -- check if it is a certificate or asymmetric key login<br />
begin<br />
raiserror(15291,-1,-1, 'login', @110name)<br />
deallocate ms_crs_110_Users<br />
return (1)<br />
end</p>
<p>-- IS NAME ALREADY IN USE? --<br />
if not exists(select * from master.dbo.syslogins where loginname = @110name)<br />
begin<br />
-- VALIDATE PARAMS --<br />
if @Password IS Null<br />
begin<br />
raiserror(15600,-1,-1,'sys.sp_change_users_login')<br />
deallocate ms_crs_110_Users<br />
return (1)<br />
end</p>
<p>-- ADD LOGIN --<br />
EXEC @ret = sys.sp_addlogin @110name, @Password, @dbname<br />
if @ret <> 0 or suser_sid(@110name) is null<br />
begin<br />
raiserror(15497,16,1,@110name)<br />
deallocate ms_crs_110_Users<br />
return (1)<br />
end<br />
select @FixMode = &#8216;1AddL&#8217;<br />
raiserror(15293,-1,-1,@110name)<br />
end<br />
else<br />
begin<br />
&#8211; REPORT ERROR &#038; CONTINUE IF DUPLICATE SID IN DB &#8211;<br />
select @FixMode = &#8216;2UpdU&#8217;<br />
raiserror(15292,-1,-1,@110name)<br />
end</p>
<p>select @loginsid = suser_sid(@110name)<br />
if not exists (select * from sysusers where sid = @loginsid)<br />
begin<br />
&#8211; LOCK USER &#8211;<br />
BEGIN TRANSACTION<br />
EXEC %%Owner(Name = @110name).Lock(Exclusive = 1)<br />
&#8211; UPDATE SYSUSERS ROW &#8211;<br />
if @@error = 0<br />
begin<br />
EXEC %%UserOrGroup(Name = @110name).SetSID(SID = @loginsid,<br />
IsExternal = 0, IsGroup = 0) &#8212; may fail<br />
if @@error <> 0<br />
begin<br />
ROLLBACK TRANSACTION<br />
deallocate ms_crs_110_Users<br />
raiserror(15063,-1,-1)<br />
return (1)<br />
end<br />
end<br />
COMMIT TRANSACTION</p>
<p>if @FixMode = &#8216;1AddL&#8217;<br />
select @cfixesaddlogin = @cfixesaddlogin + 1<br />
else<br />
select @cfixesupdate = @cfixesupdate + 1<br />
end<br />
else<br />
raiserror(15331,-1,-1,@110name)</p>
<p>fetch next from ms_crs_110_Users into @110name<br />
end &#8212; loop<br />
close ms_crs_110_Users<br />
deallocate ms_crs_110_Users</p>
<p>&#8211; REPORT AND RETURN SUCCESS &#8211;<br />
raiserror(15295,-1,-1,@cfixesupdate)<br />
raiserror(15294,-1,-1,@cfixesaddlogin)<br />
return (0) &#8212; sp_change_users_login</p></blockquote>
<p>(*) Go <a href="http://dev.mysql.com/doc/refman/5.0/en/backup.html">here </a>if you don&#8217;t confide in me, I did that many times, with cron, from ant, never had ANY problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.the-arm.com/2007/02/sql-2005-as-an-antipattern/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
