Posts

Showing posts from January, 2007

File exists writing SMstore file — throttling

Ooops, I switched on my machine and was abt to acces my NNTP from my mail client. This greek , latin error came up as alert; The popular NNTP package, does not like it when it is shut down uncleanly, e.g. by a power failure. One of the popular messages you may receive is: Server throttled File exists writing SMstore file — throttling I tried to get the google thathaaa this is what you see when you google the phrase Server throttled File exists writing SMstore file — throttling .

Xml Publisher -- Iterate through a string in XSL

http://forums.oracle.com/forums/thread.jspa?threadID=467375&tstart=0 <xsl:template name="add-X"> <xsl:param name="string" select="." /> <xsl:if test="$string"> <xsl:text>X</xsl:text> <xsl:value-of select="substring($string, 1,1)"/> <xsl:call-template name="add-X"> <xsl:with-param name="string" select="substring($string, 2)" /> </xsl:call-template> </xsl:if> </xsl:template> </xsl:stylesheet>

How to Guess Your and Other's Birthday !

Here's a fun trick to show a friend, a group, or an entire class of people. Tell the person (or class) to think of their birthday...and that you are going to guess it. Step 1) Have them take the month number from their birthday: January = 1, Feb = 2 etc. Step 2) Multiply that by 5 Step 3) Then add 6 Step 4) Then multiply that total by four Step 5) Then add 9 Step 6) Then multiply this total by 5 once again Step 7) Finally, have them add to that total the day they were born on. If they were born on the 18th, they add 18, etc. Have them give you the total. In your head, subtract 165, and you will have the month and day they were born on! How It Works: Let M be the month number and D will be the day number. After the seven steps the expression for their calculation is: 5 (4 (5 M + 6 ) + 9 ) + D = 100 M + D + 165 Thus, if you subtract off the 165, what will remain will be the month in hundreds plus the day!

The Software Development Cycle!

A funny way the software dev cycle has been described, Has it happen to you ? or atleast have seen it ? I'm sure , you would have ;) Dont fool urself by saying "No". 1. Programmer produces code he believes is bug-free. 2. Product is tested. 20 bugs are found. 3. Programmer fixes 10 of the bugs and explains to the testing department that the other 10 aren’t really bugs. 4. Testing department finds that five of the fixes didn’t work and discovers 15 new bugs. 5. Repeat three times steps 3 and 4. 6. Due to marketing pressure and an extremely premature product announcement based on overly-optimistic programming schedule, the product is released. 7. Users find 137 new bugs. 8. Original programmer, having cashed his royalty check, is nowhere to be found. 9. Newly-assembled programming team fixes almost all of the 137 bugs, but introduce 456 new ones. 10. Original programmer sends underpaid testing department a postcard from Fiji. Entire testing department quits. 11. Company is

XML Publisher -- Conditional formating making the line CTRL + B

conditional formating - making text BOLD and add coloring How to do that in RTF template ? Add these attributes in the cell with the IF condition you wanted. <xsl:attribute xdofo:ctx="block" name="background-color">blue</xsl:attribute> <xsl:attribute xdofo:ctx="block" name="font-weight">bold</xsl:attribute>

Xml Publisher Can i use like this if:fo:page_number=3? ....

The template has no knowledge of what is going to appear on what page,till the report is rendered fully, as the template does not know how many lines are going to appear on a each page, alternatively you can do it by limiting the number of lines on a page, that way you can know exactly how many rows can appear per page. So using like this wont work the way you were expecting.

XML Publisher -- Can you limit returned rows in a loop ?

Yes Using the XSL command you can <?for-each:ROW[position()<6]?> Where 6 is the no of rows you want to display in each page, suppose your XML contain 30 rows, you wanted to display 6 rows in each page. you can do the for loop for 6 rows, then you can also add the command to page break when the position reaches 6 :) <?if:position() mod 3 =0?> <xsl:attribute name="break-before">page</xsl:attribute> <?end if?>

XML Publisher -- Page Break

Use the Syntax <xsl:attribute name="break-before"> page </xsl:attribute> or <?split-by-page-break:?>

New Yahoo “Dot” Email Addresses

Now Yahoo opens “dot” email addresses for your old email address. Yahoo dot email address today by using a simple firstname.lastname@yahoo.com.

Never Over-protect or Never put Limits

Wanna See an RT example ? Here it is
http://www.youtube.com/watch?v=AZOcHoIrlOM

RSS

What is RSS? RSS is technology - a simple software program - that allows you to access web and blog content automatically. The acronym's most popular translation is "Really Simple Syndication. Once your browser or computer has an RSS reader on board, you can subscribe to any number of RSS "feeds." A feed is simply a way in which a reader may subscribe to website content - most commonly blogs or news sites. A news site, for example, may list their latest headlines or entire articles in their feed every time a new article is published. A blog would publish this feed as a series of recent posts. Feeds are published by millions of publishers, from small individuals to large organizations like Newsweek. The value of a feed is that it brings the most current site content to you in a format that is easily scanned; further, you are spared the task of visiting each source site each day. This is typically done through the use of what is called an 'aggregator' or 'f

Coolest Baby Huh ?

http://www.youtube.com/watch?v=K2jqnwY3H1Y