Recently changed documents

Ingredients as they turned out

2 to 3 large onions, sweeter the better
1 potato
A can of peas and carrots
half a can of tomato sauce
hot water
Oil and south indian condiments

Prepare the oil

If you know south indian cooking, you know what to do here. Otherwise, heat the oil and chenna dal until the dal is reddish. Add mustard seeds and fennel seeds (I think) and curry leaves.

Add onions

With in a few seconds add cut onions. Use more onions for sweetness and content. Let them brown

Add potato

Peel, Cut and add the potato. Fry it until it softens.

Add the can of peas

Add the can of peas after draining the water. Fry them for a 5 minutes or so

Add the tomato sauce

Add the tomato sauce and hot water. Boil on medium for 10 to 15 minutes. Add turmeric, salt and pepper.

More stuff

I suppose you can add a couple of fresh peppers for spice

Eat with

Tastes very good with long grained basmati rice. Roti would be my second choice

General introduction to server side java patterns

More documents like this are at:  OSCON-2004

7-Jul-04

Most of today's web is driven by server side programming. PHP, ColdFusion, J2EE, Asp.Net, are all frameworks that allow server side programming. To say that server side programming is multi-disciplinary is an understatement. It is more like skating on a field of spikes. The spikes are many. There are tiers to cross, there are protocols to follow, there are multiple programming languages to learn, there are sessions to deal with, there are transactions to manage, security to worry about, scalability to plan for. The goal of the server side programming practice is to deliver a smooth platform on top of these spikes so a developer may perform a programming ballet with freedom.

Server side programming practice is increasingly converging on a set of similar patterns for solving these problems. Although there are distinctions in the provided solutions, it is possible to slice the techniques into recognizable, identifiable patterns. Understanding these patterns will benefit a developer in the following ways:

  • Ease the transition between ever changing and numerous server side frameworks
  • Enhance an existing framework with the additional patterns for a much smoother ride
  • Understand the problem space of server side programming better

Most of the presented patterns here came from developing a server side declarative framework and a tool. I believe these patterns have a value of their own irrespective of the tool in which they are nurtured.

I have divided the patterns in to the following 5 catgories

  • Applicaton Patterns
  • Data Access Patterns
  • Business Logic Patterns
  • Presentation Patterns
  • http/html patterns

Not too dry, not too soggy: A decent trail mix

More documents like this are at:  Recipes

3-Jul-04

It is hard to find a good snack that is reasonably healthy and at the same time edible.

"Fruit & Nut Almond, raising, peanut & cranberry" snack bars from Nature valley is pretty decent.

An easy way to fill a combo box or a list box from an enum.

More documents like this are at:  CS-dotnet

2-Jul-04

Credits: Paul Montgomery

To set a combo box ( or list box ) to all of the values in an enum, do the following.


this.ComboBox1.DataSource 
   = Enum.GetNames( typeof ( YourEnum ));

Then to get it back out.


YourEnum val 
   = (YourEnum) Enum.Parse(typeof(YourEnum)
          ,comboBox1.SelectedItem.ToString());

My notes on file upload size limits in Dotnet

More documents like this are at:  CS-dotnet

2-Jul-04


HttpPostedFile postedFile		= Request.Files["fieldname"];
if (posterFile != null)
    fileUpload.SaveAs(filePath);

Read the full story for limitations and work arounds for file sizes greater than 4M.

qnext: online collaboration

More documents like this are at:  00.15-Research

29-Jun-04

JDesktop Integration Components

More documents like this are at:  00.15-Research

29-Jun-04

https://jdic.dev.java.net/

What can be done with it?

JDNC: JDesktop Network Components

More documents like this are at:  00.15-Research

29-Jun-04

https://jdnc.dev.java.net/

Is it significant

How does the mark up compare to xaml?

Richard Corliss is a very good writer. Here are some excerpts from what he said about Katharine Hepburn:

"Film stars typically possess a glamorous version of the common touch; they are of earth. Hebburn was apart and above ...."

"Her emotional intelligence was too prickly. She blew hot and cold in the same breadth-her fire had Freon in it."

On a similar vein somewhere I have read a sentiment that

"Her sulk brightens the room"

I couldn't remember where and who said that.

On naming a software pattern

More documents like this are at:  Software Architecture

25-Jun-04

A "pattern" in software refers to an approach, a method, a technique or a way to solve a software problem. Then why not call it one of those instead of calling it a pattern. When will a technique become a pattern? A "pattern" is a promotion of the above to a more formal level. First thing a pattern forces is to come up with a name. This name is intended to be fairly unique in the field so that it will uniquely identify the subject and its surrounding context. It is almost like you are submitting the "technique" to a library of techniques with a formalized name.

Like all names, a pattern's name should be as "specific" as possible. Invoking its name should bring the whole meaning and context of the pattern to surface. The name is not necessarily named after the patterns feature, usage, or implementation, or advantage. The only obligation of the name is that it should try to evoke this pattern as unequivocally as possible in a collection of similar features, usages, or implementations.

Server side Java patterns - My session at OSCON 2004

More documents like this are at:  OSCON-2003

24-Jun-04

http://conferences.oreillynet.com/cs/os2004/view/e_sess/4995

Application patterns
Transformation patterns
Data Access patterns

When an internet explorer control is embedded in a power builder window, the internet explorer seem to loose session cookies for popups. Obviously this is not desirable for a reason. This drawback prevents from embedding fully functional web applications inside of a client server systems such as those built powerbuilder, delphi, or home grown.

While searching for the related material in google it might interest the reader to note the following key words in their order of narrowness/importance descending.

NewWindow2 powerbuilder
NewWindow2
184876
311282
IWebBrowser2
ie new window session cookies

Incorporating the WebBrowser Control into Your Program

More documents like this are at:  CS-dotnet

24-Jun-04

http://www.microsoft.com/mind/0798/webbrowser.asp

A formal article. Quite old though. 1998.

Programming and reusing ie from msdn

More documents like this are at:  CS-dotnet

24-Jun-04

Structure of a programming pattern

More documents like this are at:  Software Architecture

23-Jun-04

Name
Description
Context
Applicability
Structure
Interactions
Consequences
Implementation Strategies
Usage/Samplecode
Related technology
Everytime I come across this statement, it affects me a great deal.

Do some research on 2 health items

More documents like this are at:  Health

22-Jun-04

Antiphospholipid syndrome
Carotinemia

Workspace and eclipse: Running eclipse

More documents like this are at:  Eclipse

21-Jun-04

Find more about before and after psuedo tags

More documents like this are at:  CSS

21-Jun-04

Search google

css content url :before

Encoding/decoding in javascript

More documents like this are at:  CS-JavaScript

17-Jun-04

Good article on Singletons

More documents like this are at:  Paul's Links

17-Jun-04

http://www.yoda.arachsys.com/csharp/singleton.html

Also, look up a level or two for some interesting other links.

Longhorn

More documents like this are at:  00.15-Research

12-Jun-04

Ideas in web navigation - MSDN

More documents like this are at:  CSS

12-Jun-04

http://msdn.microsoft.com/letters/default.asp

2001 article
Menus on top or side
Case for side menus
DHTML side menus
Good for master pages

http://support.microsoft.com/default.aspx?scid=kb;en-us;199243

Hide/show html divisions
Good for menus
Good for master pages
More content can be shown

XP: The customer bill of rights

More documents like this are at:  Software Architecture

11-Jun-04

Description to be entered

XP: The developer bill of rights

More documents like this are at:  Software Architecture

11-Jun-04

Description to be entered

The 12 principles of XP

More documents like this are at:  Software Architecture

11-Jun-04

Description to be entered

The following letter, which John Quincy wrote at age 10 to his father while he was on state business in England.

Dear Sir,

I love to receive letters very well, much better than I love to write them. I make but a poor figure at composition; my head is much too fickle. My thoughts are running after birds' eggs, play, and trifles, till I get vexed with myself. I have but just entered the third volume of Smollett, though I had designed to have got half through it by this time. I have determined this week to be more diligent, as Mr. Thaxter will be absent at court and I cannot pursue my other studies. I have set myself a stint, and determine to read the third volume half out. If I can but keep my resolution I will write again at the end of the week, and give a better account of myself. I wish, sir, you would give me some instructions with regard to my time, and advise me how to proportion my studies and my play, in writing, and I will keep them by me and endeavor to follow them. I am, dear sir, with a present determination of growing better,

Yours,

John Quincy Adams

P.S. Sir, if you will be so good as to favor me with a blank book, I will transcribe the most remarkable occurrences I meet with in my reading, which will serve to fix them upon my mind.