Blog

Install Android USB drivers windows 7 64/32-bit

Posted by Luis Majano
11 Aug 2010 03:51 PM

I am now happy doing some cool Android development and doing it on the MAC is amazingly simple, just connect the device to the USB port and enable USB debugging by doing the following on your device:

  • Settings > Applications > Development > Enable USB Debugging

The problem, as with the majority of things, is windows #fail.  To get your Android phone to work on windows 7 so you can debug it and install apps is a pain in the buttocks.  Anyways, after much loosing time and hair, the easiest solution was to use PDANet.  So just download PDANet and follow the instructions, it really solves all the nasty issues in Windows 7 to get the pesky USB drivers to work and as an added bonus, you can use it to tether your phone!

Cheers from Android Land!

ColdBox Platform 3.0.0 M6 is out

Posted by Luis Majano
09 Aug 2010 05:35 PM

Just a reminder that the latest milestone release is now out and available. Read all about it in the ColdBox blog.  This includes tons of fixes and updates to the core, but the best thing about it is the release of CacheBox.

Reverting Eclipse Configurations Ohh My!!

Posted by Luis Majano
03 Aug 2010 11:25 AM

This has been a true life saver I had no idea about if it where not for my friend Aaron Roberson.  My issue was that I suffered a crash on my box and eclipse was open.  The configuration got messed up and it could not load ColdFusion Builder or Flash Builder.  I have an Eclipse JEE install with CF and Flash builder as plugins on top.  For some strange reason the Eclipse installer reported the plugins as installed, but no perspectives available.  So what do I do?  Reinistall everything again?

Well, this little gem is hidden. So click on Help > Install Software… and look at the following:

eclipse_already_installed

Click on the already installed link and you will get another dialog, where click on the configuration tab.  Look for a stable configuration you remember running on and then hit the “Revert” button and voila!! Eclipse configuration restored.  What a life saver!!

eclipse_configuration_revert

URL Prefix + CFBuilder + Nested Applications

Posted by Luis Majano
30 Jul 2010 11:26 AM
One little caveat when working with CFBuilder is that I was not getting the file preview working on the IDE because it was complaining that my project was not the root of the selected server as you can see below:

 

The problem is that Builder knows the root of the server but my application project is not on the root of server but on a folder embedded in it.  So in order to make this work, just add a URL prefix to the project.  Right click on the project and click on  "SET URL Prefix":



Click on it and you will get the following dialog and fill out the FULL URL, I tried just the directory, but it did not work, maybe a bug in Builder. So put the FULL URL.



Hope this helps, enjoy!

CFunited Next Week + ColdBox Books

Posted by Luis Majano
19 Jul 2010 02:43 PM
Next week is CFUnited 2010 and I am super excited about it.  I have always enjoyed CFUnited and this year I am staying for the whole thing, so I am happy.  I will also be taking several books with me (ColdBox Books) that is.  So if you want to buy-win a hard copy ColdBox Definitive Guide, then look for me, ping me via twitter @lmajano or just shout at the conference. 

Upgrading RAM on a MacBook Pro Unibody

Posted by Luis Majano
15 Jul 2010 02:51 PM

With my friend Josh Highland we decided to upgrade my MacBook Pro Unibody style with 8 GB of sweet sweet RAM.  Of course, geeks that we are, we video taped the whole journey!

pre-CFUnited ColdBox Training in 16 days

Posted by Luis Majano
09 Jul 2010 08:41 AM
Just a reminder that our registration for our ColdBox training closes in a few days and you don't want to miss out. So here is a super duper discount code: superweek. Take advantage and register now, we will be covering the up and coming 3.0.0 release and some great goodies.

New ColdBox eBook prices!

Posted by Luis Majano
07 Jul 2010 10:08 AM

Just a quick announcement that we have slashed the prices for the ColdBox eBooks and you can now purchase them for only $29.99.  The new eBook also is an enhanced PDF that is more portable and printable.  We are also working hard on the iPad/iBooks version, so stay tuned!

MockBox at the Inland Empire User Group

Posted by Luis Majano
23 Jun 2010 03:11 PM

Just a reminder that this Thursday I will be presenting about MockBox and Unit Testing at the inland empire user group.  You can read all about it here: http://iecfug.com/post.cfm/iecfug-meeting-moved-to-june-24th

 

We will have lots of raffles and software goodies!! See you there.

Why use a framework?

Posted by Luis Majano
16 Jun 2010 11:27 AM

Catchy title huh?? Well, I was doing some digging around today and found some fantastic things I would like to share and open for discussion.

Why are frameworks like ColdBox, Model-Glue, Mach-II, etc, important? In all reality, they are extremely important, because if they did not exist we would end up rewriting them in some shape or form.  Software is all about reusability and adapting to change.  Nowadays it is also about adapting faster and faster.  How many developers working on tight deadlines have the time to ponder and think about all the “magical” ways they can make their components be reused in the future? Or how to really build that SES engine better than anything out there.  These are great things to have, but they don’t happen often in reality.  We are tasked and need to get things going fast and deliver our business.  I like this quote:

And let's face it, business requirements change so quickly that by the time someone else comes along to reuse your stuff, it probably needs to be re-written anyway. By Elastic Path

I can honestly say that every project I worked before using a framework started very simple and with simple architecture.  Then as requirements change and grow, more features are needed, and I get cornered into some areas of resolution:

1. I can rewrite what I have in a “get it DONE” fashion just in time for a release.  This could result in buggy or hard to test code.  I still have not really adapted but just expanded.

2. Download that super duper library I found and just squish into my simple architecture.  Again, I am introducing things that are hard to test and could result also in new bugs of introducing a library into my environment.  I have not really adapted myself to change, again, just expanded.

3. I can begin to modularize what I have, apply OO analysis and design and create a pseudo-framework that can accept new components more easily without breaking what I already have and expand it.  Ok, now I start to adapt, but at what costs?

I might like number 3 but I end up creating a framework of my own or home grown frameworks tested in one environment only, by a small subset of applications and only being able to adapt to a small arena of evolution.  This is where proven libraries and frameworks come into play.  There is a wealth of value in these libraries as they are used world-wide, different loads, different requirements and their number one priority is how to adapt to change and make our development more efficient.  Now, I won’t go into how one is better than the other, etc.  Each framework delivers their own feature sets, implementations, etc, but that does not REMOVE the benefits of reusing these libraries.

I am a big proponent of reuse and open source (couldn’t you tell), and I truly believe in avoiding building anything from scratch if I can.  I know there are cases when things that I need do not exist or are not built yet, and then I would consider building them.  If not, reusing libraries such as ColdBox, just empower me to deliver my business needs faster, gives me a great platform to develop on, I can get help around the world, I can extend its functionality to adapt for change, and so much more.

I strongly believe in community reuse and collaboration, why reinvent the wheel so many times for so many projects just because I don’t want to use something that somebody else wrote, or because I think frameworks are just too complex to work with.  This is not a good business decision that could potentially bite you in the future.  Writing open source frameworks and libraries is hard work and it takes immense number of hours on research, testability, adaptability, modularity, reusability, etc.  The work of framework authors is something to be valued upon and certain trust on them has to be developed.  I truly admire my colleagues like Dan Wilson, Mark Mandel, Matt Woodward, Peter Ferrell, Sean Corfield, etc.  I know their devotion to helping our community and at the end of the day make our community business needs better.  Relying on open source professional frameworks is something engrained in so many communities like python, java, ruby, etc.  The benefits really outweigh the cons.

In conclusion, this commentary arises out of certain discussions of late with some developers on why the need of reusable frameworks.  I hope this can give insight into why use a framework or open source library.  Again, I welcome your thoughts and opinions.

Site Updates

Entries Search