May 23 2011

Retweet April 2011

From time to time I just blast tweets about software development, project planning, team dynamics, or whatever else comes to mind. Here is a synopsis of recent tweets and rants. If you want to follow the conversation follow me at techknow and/or juixe.

Software Development

  • Thread.sleep(28800000);
  • You don’t need a PHD in PHP to be a great Web Developer.
  • Not Another Expression Language. There should be one expression language to rule them all.
  • I am not afraid of rolling up my sleeves and debugger.
  • It’s a thin line between feature and bug.
  • Code is a blunt instrument.
  • We ain’t afraid of no code block.
  • Web designers are modern day alchemists.
  • If developers are a dime a dozen, then product idea people are a silver dollar a dozen.
  • I don’t read romance novels or non-fiction before going to bed, I read programming language technical specifications.
  • New Name For Rock Band: Death By SQL Injection
  • Let there be code.
  • Just code it.
  • Code the future.
  • Crack the code.
  • Don’t be a code donkey.

Team Dynamics

  • Are you a value creator, subtractor, divider, or multiplier?
  • AWS failure is the perfect storm to the cloud.
  • Stress is excess, we don’t need it in our lives.
  • You can’t buy the scrappy mentality.
  • Scale your thought process.
  • The right time is right now.
  • Strive to do what you do well better.
  • People don’t scale and multi-task as well as computers do.
  • Give a man a thought, and he will think for a day. Teach a man to think, and he will think for himself.
  • You don’t want someone to reinvent the wheel, you need someone that makes it turn!
  • Everyone has great ideas, what is needed is great execution of great ideas.

Product Placement

  • Is Automattic, the company behind WordPress, working on an ad network? With millions of WP blogs out there, maybe it should.
  • Jiffy Lube peeps are great at up selling you on add-on services.
  • Forget HAL 3000, I’m afraid of my iPhone 3000. “I’m sorry Dave, but I’m afraid you can’t do that and I’ve notified the authorities.
  • Google announcing that better ads are coming to GMail is like the power company announcing that a better billing system is coming.
  • I feel like I get more snail mail spam than email spam. I wonder if GMail can also filter out my snail mail spam.
  • If you add up all the zero-day holes in Adobe products, you get a lot of days spent patching and upgrading buggy software.

The Valley

  • Welcome to the Blubble 2.0.
  • The trouble with the blubble.
  • I think we are in a #bubble when a website for listing free crap is valued at multiple millions of dollars.
  • Don’t pivot while you pitch.
  • How do you monetize the bubble?
  • Ah, Silicon Valley, the land of vanity startups, founders with ADD, fan boi VCs, me-to products, one trick apps, companies on pivot mode…
  • Bubbles are like snow flakes, there are no two alike, so we can conclude that this tech bubble I’d different from previous ones.

General Technologist

  • If Arthur Miller were alive today he would have written a sequel to Death of a Salesman called Death of a Social Media Marketing Ninja.
  • You know your service or product is successful if GOOG wants to buy you for a billion dollars, FB copies you, and if MSFT doesn’t get it.
  • Any lawmaker who proposes any bill related to technology should be able to correctly setup a wifi router, Facebook privacy settings, …
  • My iPhone knows too much about me. I think I want a dumb phone, instead of a scheming evil genius phone that is tracking my every move.
  • If TinyUrl was a utilities company it would force upgrade everybody to use smart grid meter and charge us extra to use green friendly links.
  • Twitter management seem to play musical chairs with titles. It seems like everyone at the company has had a turn at being CEO.
  • There are different degrees of open in open platforms, from marketing buzzword open to data portability open.
  • What I learned by reading Rework by 37signals: Emulate drug dealing celebrity chefs and up sale the by-products of what you do.

Apr 27 2011

How To Print The Alphabet in Java?

In Java, the primitive value of type char can be converted to the primitive int. An an integer within the range of a character can be converted to a char. For example, the ASCII character code for the character A is 65, for B is 66, etc. Because of a char value can be interchanged with the integer value that represents its character code I can create a loop that starts from the letter A and stops at the character Z and I increment one character at a time. Here is the code snippet to print each letter of the alphabet in a loop.

for(char c = 'A'; c <= 'Z'; c++) {
    System.out.print(c);
}

Apr 25 2011

Java String Conversion Puzzlers

In Java, object coercion from one type to another can led to interesting results, and possible bugs when done implicitly. For example, a common type conversion bug is when you have a method that accepts a primitive boolean but pass it an an object of type Boolean. If the object is null, the conversion from a Boolean object to a boolean primitive will cause a NullPointerException.

But mixing between Strings, characters, and integers can result in an interesting mix of results. For example, I think that any Java developer would have some doubt in describing the output from the following Java code.

System.out.println("Hello, "+(char)('A'+1));
System.out.println("Hello, "+('A'+1));
System.out.println("Hello, "+'A'+1);

The one rule to remember about coercion is that if you are performing a calculation with two different types, the least accurate type will be coerced or converted to the more accurate. In this case, adding a character and an integer will result in converting the character to the corresponding integer value before performing the addition operation. Because the integer equivalent of the char value ‘A’ is 65, then ‘A’+1 = 66. When adding between a string, character, and integer the character and integer are converted to strings because concatenating the values into a new string.

"Hello, "+(char)('A'+1); // Hello, B
"Hello, "+('A'+1); // Hello, 66
"Hello, "+'A'+1; // Hello, A1

Apr 18 2011

Retweet March 2011

From time to time I just blast tweets about software development, project planning, team dynamics, or whatever else comes to mind. Here is a synopsis of recent tweets and rants. If you want to follow the conversation follow me at techknow and/or juixe and I’ll be sure to follow back.

Software Development

  • Worst than coder’s block is coder’s shiny tech infinite loop.
  • I got 99 problems and a bug ain’t one.
  • I’m a rockstar ninja guru mofo byte code copy editor.
  • If you could Myers-Briggs test your code what type would your code be and what type of developer would that make you?
  • Are you test driven or bug driven development?
  • Spiderman had his spidey sense and I have my buggy sense and it is tingling.
  • Software bugs can byte my shiny metal ass.
  • Code is a continuum.
  • Mo data, mo problems.
  • Let there be APIs.
  • “Hello, World” is a programmer’s first program. Blog engine is a web developer’s first web app. Consultant’s first product, time management application.
  • Duh, #debugging.
  • Code is never complete.
  • Code less, debug less.
  • I’m a bandwagon programmer!
  • This is not the code you are looking for.
  • I break for bugs.
  • My code runs more than you.

Team Dynamics

  • Passion is not a fruit, it’s a seed.
  • Pitch your passion.
  • Self help gurus first help themselves.
  • If you are waiting for tomorrow you will always be waiting.
  • In the evening be exhausted, in the morning exhilarated.
  • Great ideas don’t join country clubs.
  • Inside a large risk is a large reward, you just need to know how to unwrap it and then monetize it.
  • Meetings begets meetings
  • It’s not how the ball is pitched to you, it’s how you hit the ball, duh #winning.
  • Replace “what if” with “when and how.”
  • The way you think of a problem affects the way you think of the solution.
  • Everybody lives in there own bubble, expand yours.

Product Placement

  • I’m confused as to which photo service we are all supposed to use this month, flickr, picasa, twitpic, instangram, picplz, plixi, color, etc
  • Color app seems like Bump for pictures.
  • Why is the director of the FBI emailing my AOL email account from a io domain?
  • 3G forecast: partly spotty with chances of AT&T fail.
  • Out of all of Apple’s products, Jobs’ best revenue generating product must be the iPhone earbuds. At $30, it has $.50 of material.
  • I’ve lost count, would Google Circles be Google’s third or fourth social networking attempt?
  • Outlook should have a Save As option to save as a Word document.
  • What Google giveth Google taketh away with one change in their algo.
  • Ikea has made a killing by selling designer cardboard.

Quotes

  • Standards are paper. I use paper to wipe my butt every day. That’s how much that paper is worth. – Linus Torvalds
  • Seeing companies promote their Facebook fan page in advertisements reminds me of when companies promoted their AOL keyword. – @bencasnocha
  • Every software package expands until it can send email. – Zawinski’s Law
  • One great rock show can change the world. – School of Rock

Questions

  • How many tweets does it take change a light bulb and start trending?
  • Do you live in the moment or in a hurry to get to the next moment?
  • Is #SXSW the equivalent to #Woodstock but for social media experts and tech hipsters?
  • Forget Scientology, what Hollywood religion is Charlie Sheen practicing where he is a warlock and lives with goddesses?
  • If William of Occam worked at Gillette how many blades would Occam’s razor have?
  • Is Chris Brown the next Dennis Rodman?

The Valley

  • There is a “lifestyle business” bubble.
  • To VCs, startup founders are like dogs to be sorted by pedigree.
  • Is it a bubble if you can’t afford to invest in a seed round?
  • Everybody is scared of a little bubble.
  • Forget about building a better mouse trap, think about building a better people trap.
  • Some party like a rock star, I party like a VC.

Technologist

  • Single sign-on is something that should be native in the browser.
  • Love thy neighbors, like thy Facebook friends, and retweet they twitter followers.
  • People like liking.
  • Tell me what smart phone you have and I’ll tell you everything about you, especially of you have it unlocked.
  • Terms of Service do not void your constitutional rights.
  • Love thy neighbors, like thy Facebook friends, and retweet they twitter followers.
  • If there ever is a a zombie attack just remember that the Googleplex has the biggest brains, Hollywood and Washington not so big.

Tweeple

  • Mr. Zuckerberg, tear down this walled garden.
  • Mr. Jobs, fix my iPhone.
  • I think Aaron Sorkin should write a treatment for a movie based on Stuxnet.
  • Jeff Bezos to serialize his brain and store it Amazon’s cloud and allow developers to access it via an API.

Japanese Earthquake

  • My heart goes out to the Fukushima 50 and all the search and rescue workers.
  • I have the same feeling, level of disbelief and sense of magnitude, about Japan now as I did about New York after September 11.
  • Earthquake + Tsunami + Nuclear + Meltdown = (Me Praying for the People of Japan)^8.7
  • Wow, the Japan quake at 8.9 is 700x stronger than the Haiti earthquake.
  • There is no match to the “shock and awe” that Mother Nature can produce in matter of minutes.
  • I <3 Japan
  • Stay strong Japan! If there is any country that can recover from two nuclear bombs, multiple Godzilla attacks, and a 8.9 quake Japan can.

Jan 7 2011

Retweet December 2010

From time to time I just blast tweets about software development, project planning, team dynamics, or whatever else comes to mind. Here is a synopsis of recent tweets and rants. If you want to follow the conversation follow me at techknow and/or juixe and I’ll be sure to follow back.

Software Development

  • I wish I could Ctrl+Alt+Delete out of everything.
  • The recommendation engine is the new search engine.
  • Loop. Break. Null. Exception.
  • How do you explain a feature is often as important as how you implement it.
  • The implications of a code change are often much larger than the code change itself.
  • There Will Be Bugs
  • Don’t trust the cloud.
  • This is my debugger. There are many like it, but this one is mine. My debugger is my best friend. It is my life. I must master it as I …
  • Code fist and test later is like shooting first and asking questions later.
  • I program with pen and paper.
  • The debugger is my best friend.

Team Leadership

  • Whining is not trying.
  • Doing nothing is doing something.
  • Don’t compound your problems by manifesting new problem.
  • A great team chooses a great leader and great leaders builds a great team.
  • Making good choices leads to better choices.
  • The most narrow minded perspective is that “We Versus Them” attitude. There is no them, only we.
  • If you have it, bring it, and if you brought it, don’t hide it!
  • You are not who you used to be or who you will become.
  • I am an idea artist, making you think is my master piece.
  • Productize your expertise.
  • Cheat off your own hard work.
  • Instead of making the effort, sometimes people make excuses.
  • If you can’t find reception don’t CALL ME.
  • In search of a triple rainbow.

Product Placement

  • Steve Jobs is one third innovator, one third imitator, and one third black shirt and jeans.
  • If Yahoo were to close down Flickr, there would be blood in the streets.
  • I got my hands on a Google CR-48 yesterday. It’s just a laptop with one single app, a browser. It’s a thin client for cloud computing.
  • I CAN HAZ CR-48!
  • I wouldn’t mind testing a Google CAR-48, their self driving car, for free.
  • Atlassian should buy corporate twitter clone Yammer.
  • I would like the hotel check-in process to be as easy as Foursquare check-in.
  • Taco Bell is Moctezuma’s Revenge.
  • I just had the yuckiest drink, Gatorade Recover Strawberry Kiwi. Claims to be a post game protein recovery beverage. Tastes like recovered gym shorts.
  • This day will go down in history as the Great Skype Fail Whale of 2010, when people had to remember how to use a phone to call someone…

Quote

  • It’s easier to invent the future than to predict it. – Alan Kay
  • I aspire to inspire before I expire – Alina Morelli
  • It is fun to do things others call impossible. – Emile Baudot
  • I’m a hope fiend. – Frankie/Celebrity Rehab
  • We now know that Visa, Mastercard and Paypal are instruments of US foreign policy. It’s not something we knew before. – Julian Assange
  • Guantanamo is used for laundering people to an offshore haven that does not follow the rule of law. – Julian Assagne
  • Assange had a lot of help making Sweden look like the last place on Earth that you would want to take your penis. – Scott Adams

Holiday

  • Happy Shopmas Season!!!
  • Jingle bells, cashiers ring, websites clicked.
  • Let it snow, let it snow, let it snow… cash.
  • Finishing up with xmas shopping.
  • Santa is welcomed in my house any time.
  • I think I developed carpal tunnel from opening all those gifts. Thank you santa.
  • My new year’s resolution is to double surface area of my comfort zone.
  • I’m gonna party like it’s 3999!
  • We are going to one up 2010 in 2011.
  • Getting ready for 2010++!
  • 2011 > 2010!

Nov 9 2010

The Programmer’s Triforce

I don’t remember where I read it or hear it, but the idea that a computer program is a combination of code and data has stuck with me. I would only add that a great computer program is designed with the user experience in mind. There is a design pattern that embodies this idea of code, data, and user experience is Model-View-Controller. This combination of programming and design elements forms a foundation of any program I’ve designed that it manifests in The Programmer’s Triforce.

The Programmer's Triforce

The Programmer's Triforce