why am i yelling?

myspace | comics | more comics | when cats are alone

email: sujatarao at gmail dot com

tizer soze blog | tizer soze comics | a special thing
ucb comedy | cute overload | icanhascheezburger | ihasahotdog | gamefly | my resume

Sep 24
Permalink

Silverlight File Upload Utility (min requirement SL 2)

download here

This file upload utility allows a user to select MULTIPLE files from the standard Windows OpenFileDialog. The user can preview the files selected (with thumbnail images for files with extensions .jpg, .jpeg, .gif, .png, .bmp, .tif). Then upload the files to a given folder.

In addition to adding an element to represent the .xaml file in the .aspx page, you need to do two things:

1 - Create an upload handler (either an .aspx page or an .ashx page). I ended up using an .aspx page because I needed access to the web cache/viewstate in order to have access to the file list after they’ve been uploaded. (See the UploadHandler.ashx and UploadHandler.aspx files in the zip file above - the page/handler basically writes the input stream of the http request to a particular directory on the web server)

2 - Set the InitParameters attribute in the Silverlight element in your .aspx page.

UploadHandlerURI - this is the fully qualified URL to the handler that you’ve created

UploadDirectory - this is the name of the directory the uploaded files are saved to. It is relative to the location of handler file.

[site root]
UploadHandler.[aspx or ashx]
UploadedFiles <— this is the directory - it is located on the same level as
the handler

InitParameters=”UploadHandlerURI=http://localhost:3914/UploadHandler.aspx,UploadDirectory=UploadedFiles

Comments (View)
Sep 10
Permalink

http://blunt.house.gov/Read.aspx?ID=1140

i love how the only mention of providing uninsured people with affordable coverage includes the words “encourages states to create a universal access program”.

if you’re going to oppose the president’s plan … propose a viable solution. empty promises like ‘universal access program’ don’t mean anything to the millions who can’t afford health care (or are blatantly denied it).

Comments (View)
Permalink

obama health plan cheat sheet

benonymous:

mikehudack:

soupsoup:

abbyjean:

Obama Health Care Plan cheat sheet with additional links for more background info.

If you have private health insurance, the plan would:
If you have Medicare, the plan would:
  • protect and preserve existing Medicare benefits;
  • make it easier to afford prescription drugs.
If you do not have health insurance, the plan would:
  • give tax credits to small businesses, families, and individuals to make it easier to buy insurance;
  • create a health care marketplace to let individuals and businesses bargain for coverage the way larger companies can do now;
  • create a public health insurance option for those who still cannot find affordable coverage.
If you have a pre-existing condition and don’t have health insurance, the plan would:
  • require insurance companies to sell you health insurance, regardless of your pre-existing condition (including your pregnancy);
  • create immediately available low-cost coverage to protect you until you can obtain alternate coverage.
How will all this get paid for?
  • The plan would not add to the deficit. It would be paid for through revenue including a fee on insurance companies and savings through health system reform and incentives for better quality long term care. If the projected savings are not realized, spending cuts are automatically triggers to ensure the plan cannot add to the deficit.
  • Those companies and individuals who can afford to cover their employees and themselves will be required to do so.
Comments (View)
Permalink
Comments (View)
Sep 09
Permalink
Comments (View)
Aug 21
Permalink
saw &#8216;thirst&#8217; last night. new chan wook park movie. it was crazy! not as good as &#8216;old boy&#8217; but a good mix of horror, comedy and romance.

saw ‘thirst’ last night. new chan wook park movie. it was crazy! not as good as ‘old boy’ but a good mix of horror, comedy and romance.

Comments (View)
Aug 20
Permalink

must see tomorrow.

Comments (View)
Aug 18
Permalink

someone buy the bengal kitten at Tawnie’s Pet Depot in Playa Vista so i don’t go insane thinking about him!!

Comments (View)
Aug 17
Permalink
&#8220;district 9&#8221; was AWESOME! can&#8217;t wait for the sequel where christopher and his son return with their bad ass alien species and wipe out humankind!!!

“district 9” was AWESOME! can’t wait for the sequel where christopher and his son return with their bad ass alien species and wipe out humankind!!!

Comments (View)
Permalink

azizisbored:

Student Reporter Damon Weaver Interviews President Barack Obama

So cool that this kid pulled this off. Damon is my hero. What’s he gonna do to top this??

Also, Damon, glad we both have the same stance on mangos. (watch Damon grill Barack about school lunches at the 4:25 mark).

Comments (View)