Robert Schultz

  • Archive
  • RSS

Best commercial ever.

  • 8 months ago
  • Comments
  • Permalink
  • Share
    Tweet

MongoDB: Intro

A while back I started reading into some of the NoSQL options for quick and dirty data storage. While there are plenty of them out there now days, I really liked MongoDB which serves as a document based NoSQL data store.

The beauty of this is that instead of thinking in a relational model, you store your data on a document level which is much more friendly to a programming if you ask me. For example, say you have an object like so:

var user = {
    “name”: “robert”,
    “age”:     31
};

First thing you notice is the syntax looks exactly like JavaScript, well that’s because it is. MongoDB document engine is built on top of JavaScript with a JSON type syntax called BSON; very cool. So that means you can already elverage your existing skill set at this point. Anyway, back to my point.

The awesome thing about this is instead of thinking in a relational mindset where if you had relational storage like a user and address you normally would have to create two tables. Since MongoDb uses a dynamic (or schema free) design there is absolutely no need to define this. Check out how easy this is:

var user = db.users.findOne({ “name”: “robert” });
user.address = {
    “street”: “1234 Street”,
    “city”   : “San Francisco”,
    “state” : “CA”
};
db.users.update({ “name”: “robert”}, user);

And that’s it. No modification of schema, no dropping tables and re-creating, nothing. Obviously this is a short example of the power of MongoDB but really shows the power of this sort of schema-less design.

I’m in no rush to run out and attempt to migrate all of our databases to a NoSQL approach but for things like logging, simple storage, statistics and so forth why not. By the way MongoDB supports replication sets and sharding automatically out of the box which makes scaling out horizontally a breeze.

One of the biggest advantages as far as performance goes is that MongoDB writes really, really fast. When doing writes to the database it’s basically an instantaneous write, where the client doesn’t wait from the server for a response, the response is essentially an “OK”. In my opinion this is why MongoDB is perfect for things that don’t need to have high availability with their data like when charging a credit card with the need for transactional support. It does support safe writes but this is another topic.

Since this is my new fascination I predict some more posts based on Mongo, my new love child.

    • #MongoDB
    • #NoSQL
  • 9 months ago
  • 26
  • Comments
  • Permalink
  • Share
    Tweet

Twitter Bootstrap

I love discovering new css and development frameworks, and today Twitter has released their own called Bootstrap. It provides you with a nice grid framework, layouts, lists, tables, forms, buttons, navigation, you name it.

The probability of me using something like this is pretty high, as it really encompasses many elements other frameworks don’t provide.

It also uses Less which is a powerful CSS preprocessor. Check it out!

    • #Twitter
    • #Bootstrap
  • 9 months ago
  • 18
  • Comments
  • Permalink
  • Share
    Tweet

Now your grandma can code

Check out this nifty little site that teaches you the basics of programming. I definitely think it’s a great little tool to show your nieces, nephews or heck event grandma the basics of programming.

  • 9 months ago
  • Comments
  • Permalink
  • Share
    Tweet

Patently Stupid

Being a software engineer, I tend to stay up to date on latest tech news especially in my industry. Over the past year it seems as if the amount of patent lawsuits in the tech industry have skyrocketed. This is a scary thing, since in my opinion most technology patents do more harm than good.

Some recent examples can be found here, here, here and here.

Among these are numerous other examples of companies becoming patent trolls which is completely killing off innovation within companies. This needs to change. If companies continue at this rate, anyone attempting to start a small business will be more scared of being sued into the ground because of some obscure patent purchased by a company from twenty years ago. If the government was to protect small businesses and innovation within this company they would reform this whole process from the ground up. It does nothing and it’s completely damaging.

I believe patents are the wrong answer to protect intellectual property. Copyrights allow a much more flexible model to protect intellectual property from ones work, and would allow new companies to develop simliar, although completely different business models.

But hopefully some of this is going to change. Google has recently called for patent reform now that the patent wars have heated up dramatically. Also, recent discussions on patent reform have stalled due to the debt ceiling crisis.

I’d like to look back in ten years and hope all dreams of having the creative freedom and innovation of a software engineer is not crushed by patent trolls.

    • #Patent
    • #Patent Reform
    • #Google
    • #Apple
  • 10 months ago
  • 16
  • Comments
  • Permalink
  • Share
    Tweet

Enums from Hell

When I read articles like this I just cringe, then laugh. Some people just don’t deserve to be in the business of software. I can’t say I haven’t seen worse in my own personal experiences of reading others’ code.

    • #WTF
    • #Programming
    • #Enums
  • 10 months ago
  • 11
  • Comments
  • Permalink
  • Share
    Tweet

Dreams of a Startup

While sitting idle tonight I started to think about if I was to launch my own startup from a fresh clean slate, what technologies and stacks would I use? Most people don’t get this opportunity so it’s actually a really interesting question to think about.

My first thought is being from a Microsoft background, would I want to go this route or learn something new. Using something like Python or Ruby would be fun don’t get me wrong, but in reality I’m wanting to launch a startup not spend my time learning new languages.  Even then, after being out of a super stealth mode this is completely appropriate and probably applauded.

So here’s my ideal architecture. I actually have some ideas brewing in my head so these are based on the needs of these ideas.

Fx

  • ASP.NET MVC3
  • C#
  • jQuery
  • Backbone

Storage

  • Redis for Session State
  • MongoDb for structured document data storage

Services

  • WCF

Events

  • NodeJs

Cloud

  • Amazon EC2
  • Amazon S3
  • Amazon SQS

IoC

  • Unity

Testing

  • nUnit
  • Selenium or Visual Studio Test Suite

In a nutshell the above is probably what I would begin focusing on and working with. It’s definitely a mixture of both Microsoft and non Microsoft technologies but I think that’s what makes things great; you shouldn’t lock yourself into one technology and should be flexible enough to adopt what’s best. I’m still probably need to update a few items here and expand reasoning but it’s a start. Also, I’m torn on the testing tools because honestly I think Microsoft’s suite of test tools that you can get with Visual Studio 2010 are not bad. It allows really nice integration but then again from what I understand, you need to use all of their tools to really make use of these components.

    • #Startup
    • #ASP.NET
    • #MVC
    • #MongoDb
    • #Backbone
    • #Redis
    • #WCF
    • #NodeJS
    • #AWS
    • #Unity
    • #nUnit
  • 10 months ago
  • 23
  • Comments
  • Permalink
  • Share
    Tweet
[Flash 9 is required to listen to audio.]
'\x3cscript type=\x22text/javascript\x22 language=\x22javascript\x22 src=\x22http://assets.tumblr.com/javascript/tumblelog.js?936\x22\x3e\x3c/script\x3e\x3cspan id=\x22audio_player_8419964956\x22\x3e[\x3ca href=\x22http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\x22 target=\x22_blank\x22\x3eFlash 9\x3c/a\x3e is required to listen to audio.]\x3c/span\x3e\x3cscript type=\x22text/javascript\x22\x3ereplaceIfFlash(9,\x22audio_player_8419964956\x22,\'\\x3cdiv class=\\x22audio_player\\x22\\x3e\x3cembed type=\x22application/x-shockwave-flash\x22 src=\x22http://assets.tumblr.com/swf/audio_player.swf?audio_file=http://www.tumblr.com/audio_file/8419964956/tumblr_lpcb4apvRt1qbs5rd\x26color=FFFFFF\x26logo=soundcloud\x22 height=\x2227\x22 width=\x22207\x22 quality=\x22best\x22 wmode=\x22opaque\x22\x3e\x3c/embed\x3e\\x3c/div\\x3e\')\x3c/script\x3e'
  • 128 Plays
  • Witching Hour Podcast: Week 16 feat. Robert Schultz

This is a new mix I put together after about seven months.

Source: SoundCloud / robertschultz

  • 10 months ago
  • Comments
  • Permalink
  • Share
    Tweet

Spotify

So Spotify finally launched in the United States after much anticipated wait. This is something a lot of us have been waiting for because the issues here in the US regarding streaming music is a mess. We have a few options, such as Pandora, Last.fm, Slacker and so forth for our free, streaming options. But it’s time to graduate from being cheap and get real with our streaming music options. Gone are the days of having to pay $0.99 for that one song that I want out of a whole album which really detours me from even buying music. The fact that music has gotten so bad is my excuse of why I refuse to hand over any money to most of these artists these days.

But why has it taken this long? Why did’t we have Spotify five or six years ago? Well we did. I used to be a huge fan of Yahoo! Music which had a decent collection of music for about $7/month. But the catalog wasn’t as big. We also had options with Napster and Rhapsody.

Honestly, I think people just haven’t been ready to understand the concept that the RIAA does not want anyone to own their music anymore. No one wanted to pay a month premium for music they don’t own physically or can’t touch. That’s always been the old mentality. People wanted to to be able to own that CD so they could rip it to their hardrive, make copies, whatever. It was theirs.

With the explosion of mobile, we can now still have our music when we want, how we want these days. If I want to listen to music on my computer at work, I just login to the app. At the gym? Just fire up the iPhone app. At home? You can purchase many of the speaker systems like Sonors that have these services integrated.

Now we’re at this state in the music industry where for a small premium we can have all our music when we want, how we want and where we want it’s here to stay and you can kiss your old music collection goodbye.

    • #Spotify
    • #Music
    • #RIAA
  • 10 months ago
  • 26
  • Comments
  • Permalink
  • Share
    Tweet

Google+

I’ve been away from blogging for a few days because I’ve been playing with the new Google+ social stream.

I have to admit I really dig it and loving the set of features Google has introduced. The fact I immediately define a circle that a user belongs to upon adding them is a nice touch, which is opposite of how Facebook interacts with Lists.

In my opinion Facebook has really lost a lot of value as far as the useful information I absorb from those on my friends list. The updates are very one sided and typical are just rants or complaints. I feel I’m getting a much higher level of context with Google+.

Google+

    • #Google+
    • #Google
  • 11 months ago
  • 24
  • Comments
  • Permalink
  • Share
    Tweet

MoviePass Netflix for Theaters

I wonder if this will catch on. Basically pay $50/month to watch any movie whenever you want. I’m not sure that I even want to see enough movies a month to warrant $50 but lower price options are definitely something I’m interested in.

    • #moviepass
  • 11 months ago
  • 4
  • Comments
  • Permalink
  • Share
    Tweet

Television Networks Are So Fail

These TV networks don’t get it. Imagine if to hear a song on the web you have to provide proof that you originally bought the CD. This is what TV networks want. INstead of providing alternative means of getting access to content even in a paid way they would rather people still cattle through traditional methods such as a cable box or satellite dish and pay for 90% of the content they do not want. This makes me even more frustrated and unwilling to pay for cable.

When will they ever get it.

    • #hulu
  • 11 months ago
  • Comments
  • Permalink
  • Share
    Tweet

PizzaHacker

This is one of the reasons I love living in San Francisco. There is a guy here who calls himself the PizzaHacker, who considers himself an official pie slinger. Using only the freshest and organic ingredients he shows up at specific designated spots throughout the city during a time frame and creates pizza masterpieces for you to buy.

Apparently these pizzas are the real deal. According to fellow Yelpers, the pizzas are amazing. He cooks them in this mobile oven called the FrankenWeber which is a 22.5” Weber Charcoal Grill that was converted into a mini mobile wood burning pizza oven.

This week he’s going to be at Bloodhound which is one block away from me so I’m definitely giving him a shot.

    • #san francisco
    • #food
  • 11 months ago
  • Comments
  • Permalink
  • Share
    Tweet

Turntables in Your Browser

The guy who wrote the original audio library that other sites such as Soundcloud and so forth use for web based audio came up with a really awesome concept of turntables in the browser. Uses HTML5 as well, nifty!

    • #music
    • #html5
  • 11 months ago
  • 1
  • Comments
  • Permalink
  • Share
    Tweet
Outdoor lunch in South Park with the team. (Taken with Instagram at South Park)
Pop-upView Separately

Outdoor lunch in South Park with the team. (Taken with Instagram at South Park)

  • 11 months ago
  • Comments
  • Permalink
  • Share
    Tweet
← Newer • Older →
Page 2 of 3

Portrait/Logo

About

I'm a software engineer at heart and living the dream. Currently a development manager at Ancestry.com working with an awesome team trying to build the next generation of web apps.

Me, Elsewhere

  • @robertschultz on Twitter
  • robertschultz on Soundcloud
  • robertschultz on Rdio
  • Google
  • Linkedin Profile
  • robertschultz on github

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr