Tag Archives: bile

Some features are important…

Like… 

As a user I want to fully delete my account from eventful so that I’m sure my details are safe

Unfortunately there’s no delete account functionality in eventful, in the FAQ they explain:

How do I cancel/delete my account?
Unfortunately, we don’t have the functionality in place to delete or cancel accounts. You can unsubscribe from any emails you’re receiving, however.

Currently, the best solution to this problem is to do the following yourself:

  1. Log in to Eventful.com and click on your username (upper right corner). This brings you to your profile page.
  2. Click on every event, performer, venue, group and calendar which you have created, joined, favorited, friended, or commented on.
  3. Delete comments, withdraw demands, events, performers, calendars, leave groups, and unfriend users.
  4. Go to your user’s preferences and change your email address to something unrecognizable
  5. Delete any saved locations inside your preferences as well.
  6. Remove any description or interests from your public profile section in the user’s preferences.

This lengthy process effectively removes any activity you’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.

If you would like, you can then re-join under a different username. (back to top)

 

That’s terrible! 

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!

the fit* stuff

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’s a mistake on the html… Fit is TDD? Sounds blaspheme to me.

I don’t like all the fit stuff and I never liked.

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’t object oriented?

I hate fitnesse. I am so sorry but I deeply hate it.

Especially if people pretend to have code coverage with it. Especially if I have to wait hours for some integration tests made with it.

I’m for unit tests, with some mocks maybe sometimes. It’s faster, easier to understand, easier to refactor, to change.

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’s get the party started with some unit tests?

Problem in WebSphere 6.0 ejbdeploy

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…) dependent, second cos you can always have problems with error codes and the build can be successful even if something bad happens there…

There are 2 correct responses in this thread:

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’s JVM to do the job. Another thing is, in build script, I need to define property “wasinstall” as websphere install home. This property will be used as ejb deploy task’s attribute “wasHome”‘s value.

The first is this, so I’ll roll back my changes. The .bat file is plenty of SET blabla=blabla/bla so I have no choice.

The second is the best one but unfortunately I can’t do that:

There is one fix, delete WAS and never install it :-P.

Indeed, WAS is an antipattern.

SQL 2005 as an antipattern

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 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’s shipped with that kind of RDBMS. Is very nice the code, Action=Auto_Fix.

How much easier and safer is to backup a MySql server(*)?

This problem was just the last one, and I need to yell out a bit.

STG Forums :: View topic – SQL login problems after a backup/restore
To fix this problem, run the following SQL commands:
Code:
Exec sp_change_users_login @Action = ‘Auto_Fix’, @UserNamePattern = ‘tsmith’

That’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’s SQLserver two thousand five and someone still write shit code like this:

– ERROR IF NOT AUTO_FIX –
if @Action ‘AUTO_FIX’
begin
raiserror(15286,-1,-1,@ActionIn)
return (1)
end

– HANDLE AUTO_FIX –
– CHECK PERMISSIONS –
if not is_srvrolemember(‘sysadmin’) = 1
begin
dbcc auditevent (130, 14, 0, NULL, @UserNamePattern, NULL, NULL, NULL, NULL, NULL)
raiserror(15247,-1,-1)
return (1)
end
else
begin
dbcc auditevent (130, 14, 1, NULL, @UserNamePattern, NULL, NULL, NULL, NULL, NULL)
end

– VALIDATE PARAMS –
if @UserNamePattern IS Null or @LoginName IS NOT Null
begin
raiserror(15600,-1,-1,’sys.sp_change_users_login’)
return (1)
end

– LOOP THRU ORPHANED USERS –
select @exec_stmt = ‘declare ms_crs_110_Users cursor global for
select name from sysusers
where name = N’ + quotename( @UserNamePattern , ””)+ ‘
and   issqluser = 1
and   sid is not NULL
and   len(sid) 0 or suser_sid(@110name) is null
begin
raiserror(15497,16,1,@110name)
deallocate ms_crs_110_Users
return (1)
end
select @FixMode = ’1AddL’
raiserror(15293,-1,-1,@110name)
end
else
begin
– REPORT ERROR & CONTINUE IF DUPLICATE SID IN DB –
select @FixMode = ’2UpdU’
raiserror(15292,-1,-1,@110name)
end

select @loginsid = suser_sid(@110name)
if not exists (select * from sysusers where sid = @loginsid)
begin
– LOCK USER –
BEGIN TRANSACTION
EXEC %%Owner(Name = @110name).Lock(Exclusive = 1)
– UPDATE SYSUSERS ROW –
if @@error = 0
begin
EXEC %%UserOrGroup(Name = @110name).SetSID(SID = @loginsid,
IsExternal = 0, IsGroup = 0) — may fail
if @@error 0
begin
ROLLBACK TRANSACTION
deallocate ms_crs_110_Users
raiserror(15063,-1,-1)
return (1)
end
end
COMMIT TRANSACTION

if @FixMode = ’1AddL’
select @cfixesaddlogin = @cfixesaddlogin + 1
else
select @cfixesupdate = @cfixesupdate + 1
end
else
raiserror(15331,-1,-1,@110name)

fetch next from ms_crs_110_Users into @110name
end — loop
close ms_crs_110_Users
deallocate ms_crs_110_Users

– REPORT AND RETURN SUCCESS –
raiserror(15295,-1,-1,@cfixesupdate)
raiserror(15294,-1,-1,@cfixesaddlogin)
return (0) — sp_change_users_login

(*) Go here if you don’t confide in me, I did that many times, with cron, from ant, never had ANY problems.