• Explore Vox
  • Culture
  • Entertainment
  • Life
  • Music
  • News & Politics
  • Technology
  • Join Vox
  • Take a Tour
  • Already a Member? Sign in
osbornm

Matthew M. Osborn

Web Developer & Graphic Artist

  • osbornm’s Blog
  • Profile
  • Neighbors
  • Photos
  • More 
    • Audio
    • Videos
    • Books
    • Links
    • Collections

LINQ Presentation

  • Aug 10, 2007
  • Post a comment

I recently gave a presentation on LINQ at the Utah DNUG.  I will be be posting parts of the presentation of the next little while as well as some stuff that i was unable to cover due to the time limitations.  So keep a look out for it. 

Post a comment

Onslaught

  • Aug 4, 2007
  • 3 comments
Onslaught
Onslaught

For those of you who know me i don't really play very many video games.  I do however get addicted to little flash games.  One of these games is called onslaught, its simply another tower defense game.  The word on the street is that to get very high in the game you have to use a lazer chain.  Well today i got to level 381 with out one.

3 comments

Some Simple Samples

  • Jul 5, 2007
  • Post a comment

I have been playing with the new .NET 3.5 framework.  Several people asked to see that samples that I was writing just to try stuff out so I decided to make a little post.  This is just some simple code I wrote to teach myself the basics so its nothing special.  I should have some LINQ samples up later. If you have any questions feel free to ask.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sample
{
    class Program
    {
        static void Main(string[] args)
        {
            //create some sample objects
            var p1 = new Person { firstName = "Matthew", lastName = "Osborn" };
            var p2 = new Person { firstName = "Mark", lastName = "Osborn" };
            var p3 = new Person { firstName = "Karen", lastName = "Osborn" };
            var d1 = new Dog { Breed = "Shetland Sheep Dog", Name = "Baxtor", Owner="Matthew" };
            var d2 = new Dog { Breed = "Shetland Sheep Dog", Name = "Rip", Owner = "Matthew" };
            //add these objects to two different collections
            var people = new List<Person>();
            people.Add(p1);
            people.Add(p2);
            people.Add(p3);
            var dogs = new List<Dog>();
            dogs.Add(d1);
            dogs.Add(d2);
            //join people and dogs on owner first name
            var test =
                people.Join(dogs, p => p.firstName, d => d.Owner, (p,d) => new { p, d });
            //print out results
            foreach (object o in test)
                o.print();
        }
    }

    public class Person
    {
        public string firstName { get; set; }
        public string lastName { get; set; }

        public override string ToString()
        {
            return firstName + " " + lastName;
        }
    }

    public class Dog
    {
        public string Name { get; set; }
        public string Breed { get; set; }
        //referances a persons first name
        public string Owner { get; set; }

        public override string ToString()
        {
            return Name + " is a " + Breed;
        }
    }

    /// <summary>
    /// Static class to hold all my extension methods
    /// </summary>
    public static class Extensions
    {
        //generic extension method to print items to the console
        //This can easily be used for debuging
        public static void print<T>(this T obj)
        {
            Console.WriteLine(obj.ToString());
        }
    }
}

Post a comment Tags: .net3.5

Software Developers as UDOT workers?

  • Jul 2, 2007
  • Post a comment
Cone
Cone

Are my two Bosses moonlighting as UDOT workers in there spare time.  They come to work with bright orange shirts on just like UDOT works...  My guess is that they are moonlighting as UDOT workers, what other explanations could there be?  Why else would anyone wear a bright orange shirt? Lets take a vote.

Post a comment

iPhone == iDisappointment; //release day thoughts

  • Jun 30, 2007
  • Post a comment


Introduction

Having been following the iPhone for some time now I had considered more than once the thought of buying one.  I currently have AT&T and have the HTC 8525 (not a bad phone) so I was in no real hurry to get one. After getting off work I decided drive down to The Gateway (where the apple store is) and see just how bad the line was.  I got the right after 6:00pm, some where around 6:05pm. 

Iphone
Iphone
The line was rather long say around 200 people.  Not sure if I really wanted to get an iPhone I decide that it would be to much trouble so I went on my way and shopped at some of the other stores then ate dinner.  On my way back to my car the around 8:30pm the line at the apple store was gone so I thought I would at least go take a look at the iPhone either though I thought they were surely sold out.  When I walked in I was greeted by an employee who toldme there was still plenty of iPhone to go around.  WHAT!!!! My understanding was that it was going to available in limited numbers.  O'welll maybe I can get one I thought to myself, so I went and took a look at it.  After just a few short minutes I was convinced.  The iPhone is the iDisappointment.  Here is a list of the things i hated about the iPhone.

iDisappointment

  1. The Keyboard Sucks!!! there is no way to type using your thumbs, the keys are too small.  No way to be able to use the keyboard without looking at it.  Keyboard takes up half the screen and does not work in landscape mode.
  2. No file explorer.  All file organization has to be done inside of other applications
  3. Internet access was extremely slow!
  4. You can't take videos. (I knew this before)
  5. No speed or voice dial.
  6. When switching to landscape mode it took several seconds for it to recognize the changes.
  7. Overall the iPhone seemed very laggy and unresponsive.
  8. No expandable storage
  9. Most 3rd party headphones will NOT work because of the sunk in jack.
  10. Can't highlight, cut, copy, or paste text from a website.
  11. Can not sync with Exchange Server for email
Final Thoughts
In the end I think the iPhone is nothing more than a novelty for people that like to look cool or apple FanBoys.  There is no way the iPhone will become the phone that apple wanted it to.  It lacks to many simple features  that a cell phone/PDA/mp3 player should have.   This is simple not a phone for anyone who wants to do more than make calls and listen to music.  In short if you want to be productive on the go DO NOT buy an iPhone. 

Post a comment Tags: iphone

DIVs & Viewports: The Good, The Bad, & the Ugly

  • Oct 12, 2006
  • Post a comment

PROBLEM:

The new CSS 2.0 standard contains a new interesting feature called viewports. I am not sure yet why they have introduced them but I do understand some problems with them.  Recently I was working on a website that had a three column layout with a dynamically sized centered column.  Basically the right and left column are only borders nothing special.  I’m a fan of all DIV layouts and that’s how I laid out the website, I’m not going to go into why I use DIV as apposed to TABLE that’s a whole other blog.  The problem I was running into was that my right border would not continue down the page when a scrollbar was present in firefox but worked fine in IE. In fact the border was only the height of the current window.

Ok so after a little bit of research ok well a lot of research I found that the height of 100% was being pulled from the viewport rather than the page.  The viewport is basically an object that is the size of the current viewable area on the browser.  I haven’t had time to play with it and figure out what they are good for or not so good for.  The reason as to why it worked fine in IE is that IE does not fully support the CSS 2.0 standard and viewports apparently aren’t something they viewed as important. 

CODE:
    HTML:
       <body>

  <div id="divRightBorder">
        <div id="divContent">
            <form id="form1" runat="server">
                <asp:ContentPlaceHolder ID="Content" runat="server">
                </asp:ContentPlaceHolder>
            </form>
        </div>
    </div>
</body>

    CSS:
    body

{
    min-width: 725px;
    background-color: #FFF;
    background-image: url(images/background-left.gif);
    background-repeat: repeat-y;
    background-position: left;
}

#divRightBorder
{
    background-image: url(images/background-right.gif);
    background-repeat: repeat-y;
    background-position: right;
    height:100%;
}
#divContent
{
    margin: 0px 50px 0px 50px;
    background: #fff;
    clear: both;
}

PICTURE:
Problem
Problem
SOLUTION:

So heres the solution to get this layout to work in weather or not the browser fully supports the CSS 2.0 standard.  If you put the DIVs inside a set of containing DIVs it will work perfectly.  Basically I believe that the reason for this is that the height is pulled from the viewport only for the first set of DIVs this allows the inner DIVs to overflow and function as normal.  I know this isn’t a very good explanation but to be honest I haven’t had a whole lot of time to research it.  Here is a copy of the working code and a picture of it working in firefox. 

CODE:
    HTML:
    <body>
    <div id="rightborder">
        <div id="innercontainer">
            <div id="rightborder2">
                <div id="innercontainer2">
                    <div id="text">
                        <form id="form1" runat="server">
                            <asp:ContentPlaceHolder ID="Content" runat="server">
                            </asp:ContentPlaceHolder>
                        </form>
                    </div>
                 </div>
             </div>
         </div>
      </div>
      </body>

    CSS:
    body

{
    min-width: 725px;
    background-color: #373737;
}

#rightborder
{
    background-color: #FFF;
    background-image: url(images/Background-Right.gif);
    background-position: right;
    background-repeat: repeat-y;
    height: 100%;
}

#innercontainer
{
    background-image: url(images/Background-Left.gif);
    background-position: left;
    background-repeat: repeat-y;
    height: 100%;
}

#container2
{
    background-color: #b82f2f;
}

#rightborder2
{
    background-color: #FFF;
    background-image: url(images/Background-Right.gif);
    background-position: right;
    background-repeat: repeat-y;
}

#innercontainer2
{
    background-image: url(images/Background-Left.gif);
    background-position: left;
    background-repeat: repeat-y;
}

PICTURE:

Solution
Solution



Post a comment Tags: css, viewports

QotD: Written By Yours Truly

  • Sep 6, 2006
  • Post a comment

If you could write a book about anything, what would it be about?

In the highly unlikely event that I was to write a book it would probably be about something computer related.  At this moment since I am learning Atlas AJAX i would probably write a book about it because Atlas is pretty difficult to get working correctly in a production environment. 

Post a comment Tags: qotd, my book

Salt Lake Coffee Break

  • Sep 6, 2006
  • 1 comment

CoffeeBreak
CoffeeBreak

Well after awhile of searching I have found a coffee shop that is open late in Salt Lake City. John, Katie, Dustin, and myself all decided to go down to hang out and do some work there last night. It is a nice place has a great atmosphere and decent coffee.  The problem was about an hour into the ordeal some douche bag decided he was going to make an ad-hoc computer-to-computer network with the same ssid.  My guess is that he was trying to steal some people’s passwords.  So, john decided to play along he added a share to his computer that asked who the guy was and connected to his network.  Long story short the person is a douche bag and did not stop and or play along so we left.  Tonight it is back to the coffee shop with some tools and this person is going to get pwned if he is there.

1 comment Tags: roommates, coffee break

speling

  • Sep 5, 2006
  • Post a comment

apparntly i hve ben told tht i cant spel at all.

Post a comment

QotD: Can't Get You Out of My Head

  • Aug 31, 2006
  • Post a comment

What song or lyrics are stuck in your head at the moment?  What album is it from?
Submitted by Lox Ly. 

I really can't get my muppits song outa my head its kinda amazing

Post a comment Tags: qotd, song lyrics

Read more from osbornm »

osbornm

About Me

osbornm
United States
View my profile
Google Talk:
osbornm@gmail.com

Neighborhood

  • Matthew Kruskamp
    Matthew Kruskamp Updated: 3 days ago
  • Team Vox
    Team Vox Updated: Jun 17, 2009
  • dusda
    dusda Updated: May 6, 2009
  • Thomas Holloway
    Thomas Holloway Updated: Apr 28, 2009
  • vancottt
    vancottt Updated: Dec 19, 2008

Explore friends, family, friends & family, or entire neighborhood.

View my neighbors

Tags

  • .net3.5
  • coffee break
  • css
  • default home
  • earth sandwich
  • iphone
  • mwxpl
  • my book
  • neumont
  • paintball
  • qotd
  • roommates
  • song lyrics
  • t.a.g.
  • the assassin game
  • viewports

View my tags

Subscribe

  • Subscribe to a feed of these posts
  • Powered by Vox
  • Theme designed by Lilia Ahner
  • Use this theme

Photos

  • Onslaught
  • Cone
  • Iphone
  • Solution
  • Problem
  • CoffeeBreak
  • Me
  • Gangster Gear
  • Tag

View more of my photos

  • Home
  • Explore
  • Tour Vox
  • Start a Vox Blog
Already a member? Sign in

Back to top

View Vox in your language: English | Español | Français | 日本語

Brought to you by Six Apart, creators of Movable Type, Vox and TypePad.
Six Apart Services: Blogs | Free Blogs | Content Management | Advertising

Vox © 2003-2008 Six Apart, Ltd. All Rights Reserved.
Help | Learn More | Terms of Service | Privacy Policy | Copyright | Advertise | Get a Free Vox Blog

Loading…

Adding this item will make it viewable to everyone who has access to the group.

Adding this post, and any items in it, will make it viewable to everyone who has access to the group.

Create a link to a person
Search all of Vox
Your Neighborhood
People on Vox

(Select up to five users maximum)

Vox Login

You've been logged out, please sign in to Vox with your email and password to complete this action.

Email:
Password:
 
Embed a Widget
Widget Title: This is optional
Widget Code: Insert outside code here to share media, slideshows, etc. Get more info
OK Cancel

We allow most HTML/CSS, <object> and <embed> code

Processing...
Processing
Message
Confirm
Error
Remove this member