Skip to the posts
Buffalo's neighborhood journals since 2003 🍀 Patrick Spicy Devil Logan🌭 Sahlen🥨 Weber Spank🥟 Pierogi🐸 Scaj🍺 Labatt Utica Pink Cherio❄️ Snow Murder

paul’s journal

🏷️ programming

48 posts

Surebert 3.1 is here!

· · 🌡️ 78°F

I significantly improved the codebase in this last release of surebert adding some fixes for safari now that I have a mac, in addition to a CSS selector compliant updated sb.$, an extended sb.element, a few new array prototypes emulating javascript 1.8 and more. See the changelog

image

Programming for the iphone

· · 🌡️ 72°F

This is crazy. I revamped the old email based posting system because @jim and @jenks 's iphones cannot do file uploads in mobile safari. This just blows my mind, it reminds me of my sidekick 1. I used to have the email posting system expressly for that phone. Why no file upload? They could easily just spoof it and allow you to only upload from your photo gallery instead of browsing the file system.

So anyways it gets worse. Not only can you only email photos via email. You can email only one photo per email. Basically, this translated to one picture per mobile entry from the iphone. And to make it even more ridiculous every attachment is named photo.jpg so that when they arrive the new ones were replacing the old ones.

I ended up writing a script that would take the file name and add part of the title after talking with @jim about it. But as he pointed out, although I was able to script around it - what about all the grandmothers saving pictures of there grandkids all named photo.jpg. They will end up just replacing all the old photos.

Who the fucks decision was this. I think they should be fired.

Surebert 3.0

· · 🌡️ 59°F

But for those that care, surebert 3.0 is here. I revamped the docs and the changelog. This version had many significant changes to the main file so that it switched versions to 3.0.

image

For those of you that are javascripty you can play with it. I didn't notate all the source yet but I a at like 90%.

I'm down with PHP, ya you know me

· · 🌡️ 32°F

I never thought of targeting this market. I should write an OOP javascript and AJAX book for teens.

image

But why the pretty-boy? Maybe there are more girls programming nowadays but I have to say I never see them in the computer programming section in the bookstore. Maybe they are so smart they don't need books.

Maybe it's for gay programmers. I looked at the book because of him but I still think they would do better with a cute girl on the front or even a spaceship or a race car.

If I was straight I would be embarassed to have the book lying around the house.

Long Day

· · 🌡️ 0°F

I spent a lot of today retrofitting old code. I love the feeling of refactoring old code. It is quite exciting like getting a haircut.

Anyways, I was visiting the smoothy demo for surebert when I came across this collage. if you remember, smoothy basically takes a web address, eats all the pics from the page and then displays it as a gallery. It also gives you the code to display the gallery on your own site.

The default view is cnn.com and for some reason there was the picture of a woman with a crown on at the far right. What can that possibly be about.

image

I have this insane desire to earn more money but I am stuck with not enough hours in the day to manage anything. I wish I had an investor with connections as I have several good ideas which just need funding.

Fun Kind Of Programming Day

· · 🌡️ 0°F

I had a much better day programming today. At work I met with the Human Resources guy who I am working for and we were able to clarify a lot of questions I had about the employee evaluation system. I still had to wait to make some changes because the database guy had the day off today and I do not have privileges to change anything.

Almost no one was at work today. It felt weird being there alone in the evening but it was pretty productive. I got a lot of programming done and the system seems promising after all.

I also came home and added a whole lot of new features to surebert including multi file upload via the mini surebert flash file but exposed as a javascript service. I wish I had bothered doing that before. I should be done with the new version this weekend and then I will add it to estrip. Soon you will no longer need to upload one file at a time, thank god.

I am also excited because tomorrow I am getting my new Wifi camera that will speak to my journal. It is the Nikon s7c I love the idea of high resolution wifi communication between my new fancy camera and my journal.

image

Email, nerd style, and surebert

· · 🌡️ 52°F

Email
Don't bother sending any more email to my old address. The only way to email me is throught the little envelope under my userpic, when you are logged in or if I gave you my address. If I email anyone with my new address and find out they gave out my email to anyone else I will break their arms.

The other option is to simply send me a postit.

Nerd Style
So yesterday before work I noticed that my shirt was inside out. The tag out the back, the seams on the outside, etc. The sad part is today I didn't notice. Then when I came home from work at 10:30PM (ya I know, damn that's a twelve hour day) @terry and @lilho started laughing at me because my shirt was on inside out. It makes me wonder if anyone else noticed or not. I met with so many people at work today. I am sure someone noticed. They probably just thought, "oh he is a super programmer nerd and left it at that."

As soon as I have some money ( I guess that was my old excuse) patience with shopping - I should buy all new clothes and start dressing up for work.

surebert
I also released surebert 1.45 and updated a bunch of the docs. I think it is really a great javascript toolkit with lots of useful features but I don't include a forum or wiki on the site because I don't want to deal with people asking for features and asking for help. Since I quit teaching I kind of hate those things. That is why I don't promote lots of things I do. Speaking of which, tell me if you notice anything weird after the upgrade to surebertCo 1.45 on estrip today.

image

Duct Tape Programming

· · 🌡️ 69°F

I spent the afternoon doing what I like to refer to as duct tape programming. I was given the task of taking a web interface that is created by a propriatary commercial server side application, whose code I do not have access to, and tacking on a new interface and functionality by forcefully unloading their design and DOM and replacing it with my own while retaining the data using surebert javascript toolkit.

image

I wish the asbestos issues would just go away. I am hiring an EPA certified asbestos abatement professional to come access the situation on friday. I also talked with the lawyer about it seeing as we have still not closed on the freaking house. She said to give her an official esti9mate from the contractor and she will see what she can do. I hope we can work something out or maybe the insurance will cover it. We really have no option because the asbestos is exposed within the ducts and we can't turn the furnace on until it's done.

Curing Cancer One Pixel at a Time

· · 🌡️ 70°F

I was working on an adjustable web meaurement tool for a little bit today. I have decided to move onto flash now that javascript is boring me again. First drag the ends of the red line to what you consider one unit, of whatever you measurement standard is, then hit tare. Fro then on whereever you drag the red line to it give you that distance in the nuber of units you tared to. One unit is represented by the yellow line.

Download .swf