Oct
28
Linkedin Announces Business Application Platform
Filed Under Software, business, technology | Leave a Comment
Linkedin just minutes ago announced they’ve thrown their hat in the “social application platform” ring! This is exciting news for people who are poised to bring innovative and interesting applications to the business and professional network.
Read more about the press release here at TechCrunch. As of today, there is no documentation or word on how exactly one creates an application for the new platform, but you can contact them to recieve more information!
Oct
13
Need a Friendly, Experienced, Web Developer?
Filed Under Software, Uncategorized, business, life, ruby | Leave a Comment
I have been rolling around the idea of starting up more freelancing to try to bolster my savings for the coming years, so I’ve decided to take on more consulting work. For an indepth look at my work experience and skills, please visit my linkedin profile, here are some highlights.
- 5 years relevant web development experience
I’ve worked a ton with the web, I’ve done everything from ColdFusion to my current favorite, Ruby (and Rails). I have a lot of experience working with JavaScript and XHTML/CSS, very comfortable doing frontend and backend development, as well as database work (although, I don’t want to use the term DBA). If you’d like to see my portfolio, contact me directly.
- Did I mention I love Ruby?
I have done a lot of work with Ruby in the past couple of years, I was highlighted on the RailsEnvy podcast a few weeks ago for a modest open source contribution I made called SmartMonth. I’ve worked on some medium-sized rails deployments, and am looking to grow my portfolio.
- Plays well with others
I love working on small, motivated teams. I always enjoy adding (and learning) from the synergy of a great team. I also test all of my code (quite thoroughly) and won’t break “the build”.
- UNIX Aficionado
I love UNIX, and its my deployment environment of choice, I’ve got a lot of experience working with Capistrano, and am very adamant about automating things wherever possible, and documenting things thoroughly.
- Entrepreneurial-Minded
I have a passion for growing things, I am a very dedicated team member, and am also very aware of the needs of startup-oriented businesses, I’ve worked with a few startups at this point, and have gathered a decent amount of relevant experience helping companies and products grow.
If I sound at all interesting to you, please don’t hesitate to drop me a line, or if you know someone who might be interested in hiring me, please forward my information along and I’ll send you a Christmas card.
Thanks everyone!
Sep
23
Programmatic Migrations for Rails Plugins
Filed Under Software, apple, ruby | Leave a Comment
Today I was faced with an interesting dilemma, how does one programmatically define migrations into a plugin so you can essentially “plug-n-play”. I did a little bit of research into Rails Engines, and I wasn’t too terribly excited about the notion of having a dependency for such a small plugin, if this were something more integrated…I’d probably use it, but for this, I really only need to have these migrations run once you’ve installed the plugin, and be on my way.
So, I decided to do a little bit of research on the ActiveRecord::Migrator class to see how I could approach programmatically executing the migration outside of the standard rake task, so I could build my own custom migration rake task for my plugin.
It turns out, there are a bunch of functions you can utilize to build your own custom migration tasks for your plugin, that I wasn’t immediately aware of. Here is how I did it:
namespace :myplugin do desc "migrates my plugin's migration files into the database." task :migrate => :environment do ActiveRecord::Migrator.migrate(File.expand_path(File.dirname(__FILE__) + "/../db/migrate")) Rake::Task["db:schema:dump"].invoke if ActiveRecord::Base.schema_format == :ruby end end
I simply saved that block of code into my plugin’s /tasks folder and named it custom_migration.rake. Next, I went to the root of my application and ran rake myplugin:migrate, and huzzah! it worked!
Nothing too amazing, and I actually based this entirely on the vanilla db:migrate function. The first line of the task essentially tells the ActiveRecord Migrator to search through my plugin’s db/migrate folder for any migration files it can find, and then brings all of them up! It would be nice if the vanilla db:migrate supported a MIGRATIONS_PATH constant so we could just use the same mechanics and build on top of them, rather than essentially re-write them just to do this.
OR better yet, wouldn’t it be nice if rails db:migrate actually scanned our plugins directory for migration files as well? That sounds like the best option to me.
Now, I am not sure if this is “the ruby way” to handle this problem, and as I stated earlier, Rails Engines is probably the way to go if you have a much larger plugin you are designing, but for me, this seemed to work just fine.
Limitations
There are some limitations to that custom task. For instance, if you were to run db:rollback, it would not be aware of the migration files that I have previously run that live within my plugin, you’d have to build another custom task to manage revoking the migrations you installed. Also, if they end up changing the way you actually migrate migrations, you might be screwed. But, alas, here is hoping for that MIGRATIONS_PATH constant!
Sep
15
Drop IE6 Support.
Filed Under Software, business, life, technology | 10 Comments
Ask yourself, why are we still supporting Internet Explorer 6? Not as developers, but as people who use the Internet. If you are a web developer, you are one of the first people who will scream “I F#$@ this browser!”
So I ask the question, why are we still supporting this browser, 7 years later?
Everyone who is still using IE6 does so because we allow them to. We still add “degraded” support for the browser, we still make alternate stylesheets, we still make a ton of hacks that only work for the redheaded step browser. I dare you, tell me one time you said the word “happy” and “IE6″ in the same sentence! Enough is enough.
The Line in the Sand
I am proposing we set a day to “turn off the lights” for IE6. Much like our government has decided that on a specific day, over-the-air analog broadcasting will go away. Why not do the same? That glorious day, everyone who supports the “lights out” concept, will actively limit IE6 users from accessing their sites and applications. Now, I am not saying lets just let things degrade and look unprofessional, I am saying turn it off completely. Its a rash move right? Does that potential user base you are shutting out scare you? Not really. It doesn’t scare me. Take a look at the global statistics for its use, we are talking about a very small minority of people. But it is still enough to count, and for some reason we still support this aged code.
How can we ever hope to as a community of engineers hope to better ourselves and the things people are using if we have to worry about this sort of legacy. There is nothing beautiful about what it takes to support even the simplest of CSS techniques in IE6, and it just doesn’t make sense for us to keep wasting important dollars on it.
Now, the irrational part of me says, as soon as I hit publish, I am going to block IE6 traffic from ever viewing my blog again. But lets face it, that is not a solution that is going to help people understand the reasons they need to move, nor is it going to make you as a person look very wise. I want to set a date far in advance for existing websites, and for all new and upcoming websites and services, already have it off. Lets say, 10 months from now? That gives us a long time to be able to warn and let people know that they need to upgrade or move to a different browser. I mean hell, by the time that 10 months is up, we should be seeing IE8 in the wild, isn’t that a good enough reason?
Ramifications
Okay, lets be more realistic, the only people who are really stuck with IE6 are the people suffering in cubicles run by IT departments that are either lazy, stuck with legacy issues, or just uneducated about the real reasons to upgrade their company.
Well to that I say, too bad. You have had 7 years to decide what to do about this problem, and I think its unfair for developers to have to pay the price. Why should be have to bastardize our software, and invest a large sum of our time and money into something that has not even been updated since 2004?
I am definitely impressed by companies like 37signals and Apple who are putting their foots down when it comes to their products. Don’t think of it as an exclusive, elitist club, but a very important reason to educate and explain to people (well in advance) why it actually hurts their experience of the web today to be stuck in the past. Going forward our company is going to be following this mantra, educate and upgrade. I am entering a market demographic that will most likely be stale and out of date, but I still say its unacceptable, we as the developers need to help people understand.
Am I crazy? How do you feel about it.
Sep
10
Lifting The Cone of Secrecy
Filed Under Software, business, life, technology | 2 Comments
I am going to avoid using the word “stealth mode” for my startup and our product. Whenever I hear someone say their product is in “stealth mode” I interpret that as “I don’t have anything worth showing to anyone, therefore I pretend its more important….mode”. If you are involved in my extended network, you know what I have been doing, roughly. I have not been afraid to brainstorm and discuss this product with people I know and respect because that is how great products are born.
November marks an entire year of incorporated business for my company, Panoctagon. It has been an absolutely amazing ride, I wouldn’t trade any of the past experiences I’ve had for the world. I have worked with a lot of extremely talented people, I have learned and done a lot of things that have nothing to do with software engineering (which has been a lot of fun), and I can say we survived the first year.
We spent a lot of time honing our skills as a group, defining some pragmatic approaches to not only software but our business practices, and have become a pretty efficient group. I am happy about this.
So, what have we been doing? Today I am proud to announce the launch of our first software product, Happening. We have not officially released it into the wild yet, its still got some rough edges and polish that needs to be applied, but its nearly there. Happening is an event management and publishing solution for education. What do I mean by that? Technology in education often is crap. Talk to people who use it, they never have anything good to say about their tools. Ridiculous overhead, costs way too much, and requires a lot of hands on training.
We decided to build an affordable, easy to use, hosted service that attacks the age old problem of managing and communicating events for schools; event calendaring, if you will.
Happening is more than that, though. There are two very important markets for us, the first is the administrative people inside the institutions who have to do all the monotonous data entry, using the advances in technology that we in the consumer web take for granted, we hope to provide an unparalleled experience that is robust and intuitive. Might I also add, you won’t be needing weeks of training, that is our #1 goal. I spoke with a few different schools we are working with on this project and they all pretty much responded “how much training will you be offering us”, and I responded “I a product that hasn’t even been completed yet, is going to have a huge learning curve and weeks of training attached to it, we’ve failed”, and that has been our mantra, from day one.
Happening is not just about the administrators though, its also about the parents and students, and redefining how they interact with the event information that they care about. Happening is going to change the way parents and students consume event information through their schools, and I am excited to see how things changes things for them.
Lastly, I have to ask this, If you know someone who works for a school who might be interested in a service like ours, please feel free to contact me or forward me information to contact them. We are very excited about what we’ve been up to and want to get schools just as excited.
Also, I’d like to thank my team, our advisory board, and my family and friends for their continous support and advice. We would not have made it this far without you all, and I hope we can make this into something great for education.
Aug
26
Making AppleTV Better
Filed Under Software, apple, life, recommendations, technology | 1 Comment
I love my AppleTV. One of the coolest home entertainment systems I’ve played with, but unfortunately it does lack some pretty important functionality like being able to play DivX/XVid, any sort of file storage capabilities, and no way to surf the web or anything cool like that.
Well, it turns out, The good people over at Apple Core, LLC agree that these things were important and have created a nice utility for making these dreams a reality! Here are some of my favourite features:
- access AppleTV hard drive via FTP (woohoo!)
- ability to play DivX movies
- ability to surf the web with safari
- integration with IMDB
- integrates with iPhone “Remote” application seamlessly!
- does not void my warranty!
It was easily one of the best $50 I’ve spent in a while. It creates a nice bootable USB stick, just restart the device and go! It has also not conflicted in any way with the other core functions of AppleTV, and yes, it works with the very latest firmware (2.1).
If you have an AppleTV, I definitely recommend this upgrade.
Aug
21
A Little Publicity For My Little Plugin!
Filed Under Software, life, ruby, technology | 1 Comment
Thanks to the fellows over at Rails Envy for doing a quick spot on my SmartMonth plugin! I actually had never heard of Chronic until they had mentioned it. I could see how this would actually go very well with a gem like that!
Speaking of SmartMonth, I have a couple of cool optimizations I plan to make in the new week, so stay tuned if you are interested!
Aug
14
My First Ruby/Rails Contribution: SmartMonth
Filed Under Software, business, ruby, technology | 8 Comments
Our big project at Panoctagon has a lot to do with time and dates, so we’ve been developing a series of Rails plugins that make our jobs easier. I had a lot of fun building this one, and I could see other people finding this interesting, so we decided to open source this one. I think it’d make a great addition to Rails core (if I do say so myself :P), but I am not really up to all the effort involved. Instead I created a simple to use, documented, and tested plugin that works with Rails!
So what does it do? Basically, it makes date month values more meaningful by adding a new Month class that can do complex(ish) calculations against the days of the month for you. It also allows you to treat a Month as an enumerable container, allowing you to iterate through the days of the month like an array.
Lets peek at some example snippets:
Getting The First Tuesday of September 2009
1 2 | Month.september(2009).first_tuesday #=> Date object Month.new(9,2009).first(:tuesday) #=> Date object |
Getting Every Friday in August 2008
1 2 | Month.august.every_friday #=> Array of Date objects Month.new("August").every(:friday) #=> Array of Date objects |
Getting Every Thursday and Saturday in June 2007
1 2 | Month.june(2007).every_thursday_and_saturday #=> Hash of Arrays of Date objects Month.new("June",2007).every(:thursday,:friday) #=> Hash of Arrays of Date objects |
Getting The Last Monday in April 2005
1 2 | Month.april(2005).last_monday #=> Date object Month.new("April",2005).last(:monday) #=> Date object |
Enumerating Through the Month of August 2008
1 2 3 4 5 | month = Time.now.month #=> Month object of the current time requested month.each do |day| day.to_s #=> Week day name ie: Saturday, Sunday, etc. day.to_i #=> Date value in context of the month ie: 1..31 end |
Other Odds and Ends
1 2 3 4 5 | Month.april.size #=> total number of days in that month Month.august.next #=> returns a month object populated with August Time.now.month #=> returns the current month in context to the #now response Month[5] #=> May Month object access as array index Month[:april] #=> April month object access as hash key |
So, as you can see, it saves a lot of time and calculations and keeps it easy for you to treat months as essentially a container! Really useful for doing complex calculations against dates.
If you would like to use my plugin, feel free, I’ve released it under MIT, and its located at my github account. Please give me some props if you do, or send me a line.
If you are interested in my rdoc documentation, check our company’s documentation server. Let me know what you guys think!