Latest Entries

Regular Expressions

I have been getting better and better at using regular expressions in my C#, PHP, and JavaScript work.

I love the AIR version of this tool which helps you easily test your expressions.

I recently created this expression for a phone number search.

[0-9]{10}|[^0-9]{1}[0-9]{3}[^0-9]{1,3}?[0-9]{3}[^0-9]{1,3}?[0-9]{4}

It first looks for a string of 10 numbers or it looks for groups of numbers separated by non-numbers totaling 10 numbers.

The Ultimate Showdown (of Ultimate Destiny)

Awesomeness.

Originally posted on Newgrounds.

Killing music.

I often play albums over and over again until I am sick of them. When I listen to music I search for something new that hits me the way that Entroducing… hit me.

Jaydiohead, a mashup of Jay-Z & Radiohead, got pretty close. It got me re-interested in Jay-Z.

Like Chinese food, I am not a huge rap/hip hop fan but if it is good I love it.

Checkout Max Tannone’s (DJ Minty Fresh Beats) other remixes: mosdub, doublecheckyourhead.

Jaydiohead Ignorant Swan Medley from SUBVOYANT on Vimeo.

jQuery / Google API Plugins

I needed to use Google maps for a job a few months ago.

I found gMap, a great jQuery plugin created by a Cedric Kastner, a german jQuery master.

Shortly after that job I need to do some work with the Google Search API and was so inspired by gMap that I decided to make a jQuery plugin for the Google Search API.

It is called gSearch and it is a lightweight jQuery plugin that helps you embed Google web search results into your website.

I am now doing more intensive work with the Google Maps API and am probably either going to write my own version of gMap implementing more features using the API’s 3rd version now launched.

Nature & Modern Man

We often forget that WE ARE NATURE.

Nature is not something separate from us.

So when we say that we have lost our connection to nature we have lost our connection with ourselves.

-synapticstimuli.com

Iceland, Eyjafjallajökull – May 1st and 2nd, 2010 from Sean Stiegemeier on Vimeo.

Fired? sort of.

As I quickly approach the anniversary of my first ever firing; I thought it would be prudent to write a post about it.

First let me start out by saying I enjoyed and respected (still do) the people I worked with while at DallaVilla Design Group. Melissa Baumann is an extremely professional copywriter and project manager. Joe Werner is an incredible and inspired visual designer, illustrator and creative director. Joe Taylor is an excellent web, print, and graphic designer.

When I was brought into DallaVilla Design I was promised the following by Mr. Chris DallaVilla in an email dated 4/11/2008.

The performance compensation component works like this… It’s a Partner Associate plan and pays out bonuses 3 times a year on top of your base. Typically I would put a 2 year runway in place to be considered for participation. Considering, however, that the base is a little bit under your current scenario we can put you on the fast track and make it 90 days from start. If you’ve ever wanted to own your own design firm this is an opportunity to essentially do exactly that with a really great team already in place. And, the upside in the first year will likely surpass your current scenario. And, moving forward I wouldn’t be surprised if it well surpassed that.

After some haggling we settled on a higher base salary and a 120 day hold on bonuses. I roughly calculated based off of the change in base pay and bonus hold days what the bonuses should be. Considering the last two sentences from the email above I accepted the offer thinking that bonuses would be a significant part of my compensation.

I started work on April 28, 2008. I expected a bonus September 1, 2008. This was not so. I expected a bonus December 1, 2008. This never arrived. I asked Mr. DallaVilla on several occasions about the bonus program to which he promised they would be forthcoming.

On January 12, 2009 the “associate partners,” Joe Werner and I, had a meeting with Mr. DallaVilla. Basically in the meeting he informed me that the ‘bonuses’ were a fraction of what was originally promised and they wouldn’t be paid until an indefinite time in the future.

Immediately after this rather shocking presentation I sent an email to Mr. DallaVilla expressing my concerns. I then packed up all my personal belongings from my desk area and left the building around 4:45 pm.

At this point I doubted the honesty of Mr. DallaVilla and told him I was greatly concerned.

From January 12th to late April 2009 I had a series of meetings with Mr. DallaVilla concerning the difference in promised and actual compensation. Talking about money was extremely hard for me, but I had to do it. I had a family to support. Mr. DallaVilla made several misleading statements in an effort to gain my trust and to keep me working. None of these promises made in these meetings were kept.

In one meeting he alluded that the letting go of Joe Taylor for financial reasons was in order to fulfill the promises made to me. I felt really, really bad about this.

Eventually we settled on a higher base pay and no bonuses in late April of 2009. At this point in time my trust in his ability to provide steady employment was completely shattered. I applied for other jobs and started interviewing.

I had a surplus of vacation time and was threatened with losing  it so I took vacation from June 1st to the 5th of 2009. During this time period I accepted a position on the Web Team for the City of Virginia Beach, where I was to start work July 1st.

I hadn’t yet decided how to notify Mr. DallaVilla about my resignation as I was afraid he would fire me upon receiving a two week notice. I didn’t have to decide my next course of action as on that Monday upon returning to work, June 8th, I was called into Mr. DallaVilla’s office. I was told I was not meeting expectations and I was let go. Fired.

I went home, changed into my board shorts gathered up the family and went to the beach. It was a beautiful day the waves were high and I got a little sunburn, but I didn’t mind.

§

Fisher–Yates Shuffle of SPListCollection in C#

I like working with c# when not with PHP as it helps me learn deeper ways to do things. Also it constantly makes me grateful for PHP where the following is as easy as shuffle($numbers); in PHP.

C#

public static int[] shuffle(int[] array)
{
Random rng = new Random();  // System.Random
// n is the number of items remaining to be shuffled.
for (int n = array.Length; n > 1; n--)
{
// Pick a random element to swap with the nth element.
int k = rng.Next(n);  // 0 <= k <= n-1 (0-based array)
// Swap array elements.
int tmp = array[k];
array[k] = array[n - 1];
array[n - 1] = tmp;
}
return array;
}

I Am Quotable?

Google search for ‘design quotes’ http://www.google.com/search?q=design+quotes

Click the second link. http://designwashere.com/80-inspiring-quotes-about-design/

Look who made the second quote on that page, crazy huh?

Now Google search for that quote exactly. http://www.google.com/search?q=%22Everything+is+designed.+Few+things+are+designed+well.%22

My quote is found repeated 1,370 times verbatim. Holy crap for crap. (- StrongBad)

I wonder if people know this quote is talking about a central ‘God’ creator, macro vs. micro evolution, and man’s attempt to design anything of value apart from an understanding of a designed world around them?

Disable Chrome in C# Sharepoint 2007 Webparts

I create a lot of custom webparts for SharePoint 2007. One slightly annoying thing is remembering to turn of the Chrome when adding webparts to pages. It can also be a problem when your advanced clients who are adding webparts forget to to disable the Chrome.

In your c# webpart class slap in the following code to automatically disable Chrome. You can’t even select anything other than Chrome so be careful.

public override PartChromeType ChromeType
{
get {
return base.ChromeType;
}
set {
base.ChromeType = PartChromeType.None;
}
}

Generational Humor

I love that my 8 year old laughed at this as hard as I did. I grew up with the TMNT, she Disney Princesses. Credit to Chris.



Copyright © 2004–2009. All rights reserved.

RSS Feed. This blog is proudly powered by Wordpress and uses Modern Clix, a theme by Rodrigo Galindez.