Journaling on estrip is easy and free. sign up here

Paul's Journal

paul
My Podcast Link

10/07/2008 22:37 #45984

Adobe and Safari I hate you tonight
Category: programming
Spent a lot of today working with one of my new co-workers James. He seems like a fun guy. Apparently, he read my journal. I suggested he start one of his own. If you are reading this, start one.

On another note, I can't believe I am still at work. I am trying to finish this video uploading site for a contest they are hosting. Unfortunately, the magic that is my surebert multi file unloader is about to die as Flash Player 10 changed the way you can call the FileReference browse method and calling it from javascript is no longer an option. They want it to have a flash interface. Adobe says it makes it safer, I say it just makes it flashier and makes me mad.

I plan on creating a new multi file uploader widget based on my previous work but I won't have time tonight and they needed a solution now. I decided to just use traditional file uploads seeing as they are only uploading one file.

Cool enough, but sadly you don't get the progress which is really the fun part of the surebert uploader. Luckily, there is a php extension that allows you not only track how much of the file has been uploaded but how long it expects to take, the current speed, etc. Its really so easy and you can quickly get the data back via json. You add an extra random ID attribute to your form and it uses that as a key to track the file upload. Then you can make requests back to the server to get updates on the time remaining, etc. You make the requests via ajax which is really simple and great.

Sadly, after testing in IE6 and firefox and everything working, I tested it in Safari which refuses to receive ajax responses after it has initiated a file upload. I send them, it just won't process any responses. I hate you safari. Seriously, its always you that has to make everything fucked up.

Anyways, so I re-factored and ended up going with an iframe solution as safari was happy with that and so were the other browsers. Its cool to get an estimated finish time.

image
image
tinypliny - 10/07/08 23:21
wow, so that's what all these things - silverlight, flash, ubiquity etc. do - provide an extension of the browser capabilities that could someday be part of the browser itself or just the extension of the language the webpages are written in. I never realized. That's fascinating.
paul - 10/07/08 23:13
That type of feature owuld have to be implemented at the browser level. I really think they need to start updating that part of the browser/HTML spec soon. Multi-file upload, progress feedback, file masking, partial uploads, etc should all be implemented cross-platform, cross-browser, without flash or silverlight.
tinypliny - 10/07/08 22:50
Wow. You are (e:imk2) for tonight! :( Good luck and hope you get to go home soon!!

BTW, I just have a random thought about uploading. What if you upload a file and somehow your connection breaks. Can the server that is hosting the upload, store part of the file and do a resume on your upload as soon as your connection is re-established/or you start the upload again? I have never seen this feature on uploads although a vast majority of downloads on many clients have a resume capability.
fing - 10/07/08 22:42
Go home Paul! Good to see that you are a dedicated worker while your boss is on vacation :)

10/05/2008 12:42 #45944

Bad Boy Bill at the strip club
Category: music
In Buffalo. Who is going to go with me? (e:imk2)? The last time I saw him play was a at a club in Phoenix back in 1999 and it was a great show. He is doing a tour for his latest CD

image
mike - 10/08/08 12:34
i would totally go but i will be in Florida!
metalpeter - 10/06/08 18:08
Am I correct in assuming that the strippers will strip to that music. A also wonder if they will have an area for people do dance. Hey can the People strip also. Sounds like an amazing event if the strippers strip, I wonder if maybe they will strip in the crowd? Does anyone have answers I need answers.
vincent - 10/05/08 23:33
Actually will there be strippers during the show? It is listed from 9pm-4am on a Saturday night. Even with a down economy people need to get their sex type thing.

I would go but I'll be out of town for my birthday.
imk2 - 10/05/08 20:14
are there going to be strippers afterwards?

10/05/2008 11:55 #45943

Where Jesus meets glow
Category: toys
I may be wrong but I think this is the first time I have seen a children's vending machine catering to a religious group. It seems like a great way to reduce your profits. Either that's the case other they just refilled because it was full to the top. In case you want one they are at Wegman's on Amherst. Alterniately, you could just buy the 250ct refill for the vending machine for $48.00. I never realized what a huge markup this stuff has.

image
tinypliny - 10/05/08 12:13
Hey, that seems a swell accessory for rave parties. :)

10/05/2008 10:32 #45941

Micorosoft Search Perks for Live Search
Category: web
Microsoft is so desperate for people to use their Live Search search engine that they started offering reward points for using it I thought, okay I will give it a try just to see. I mean you get free books, magazines, music, etc.

Then when I got there to sign up I was stopped with this.

image

Well, fuck you micorosft, I won't use it afterall. Who tries to beg people to use their stuff and then makes it at all restricted or difficult. They really need to learn this lesson. If you want your search engine reward points to draw the most people, make it work from any browser.



tinypliny - 10/05/08 11:04
IE Ew.

10/04/2008 18:47 #45933

Nick and Norah's Infinite Adventure
Category: movies
I really enjoyed this movie. For a brief moment it made me feel like I had friends and some spontaneous adventure going on.

It was also one of the first movies I saw that had gay characters I could identify with.

They did such a good job capturing the first night of meeting someone too.
mike - 10/05/08 14:02
I am so jealous! I want to see this movie so bad but don't think i can go until wednesday! GRR!
metalpeter - 10/05/08 11:22
I admit that I'm not really a fan of the romantic Comedies unless they are the kind with nudity and are in that other kind of comedy like the American Pie films, that being said this movie is one of a bunch (not sure if they are currently out anymore) that I want(ed) to see.
tinypliny - 10/05/08 11:08
I need to see this movie. I am a sucker for music-woveb romantic comedies :)