Using SMS in a mobile app system

sms I have recently been working on using SMS for a mobile site I am building. I wanted a simple way to send out SMS messages in order to spread a url. The trouble was (before the sms) that emailing my mobile link would only sometimes end up on the phone it was suppose too. Instead we (Poros Ventures) decided to implement a free forwarding service via SMS; that way the recipient would get the URL directly to their phone. Read More »

Posted in Work | Tagged , , | Leave a comment

New Bolts for CB360T – Upgrade

I just got my bolts from z1Enterprise. They are all the visible bolts for my the CB360T I am working on. You can find them here. These bolts also work on most (I can’t protest to all) Honda CB350 motorcycles.

They seems great. The allen setup is much easier to work on and much harder too strip.

I actually found and bought these because I had to deal with the annoyance of getting stripped bolts out of the bike already. Now we should be in good shape for the next 37 years.

Posted in General | Tagged | Leave a comment

My take – RoR vs PHP

Rails This is a constant and ongoing debate among the “technophiles” and “technotrolls”. People like to yell and moan, and bitch, and take all sorts of sides. Based on my extensive reading on the subject and my own experiences I would have to say that the technotrolls make more noise and are on the side of Ruby on Rails. But real technologists are fairly obviously on the side of PHP. The majority of websites worldwide run PHP. The reasons for this are easily visible too someone who has worked on both.

PHP is easier to set up, easier to learn, easier to code, runs faster, and is wide spread. Image Read More »

Posted in Work | Tagged , , , , , | Leave a comment

Managing your Joomla Site

Images Joomla is a very effective, secure, efficient way to get CMS into your site. Unless you are a developer you will need one to get it set up. Though there are lots of articles online on how too, it would be best to let someone do it for you. This is not about that though. This is just how to manage your site once you are set up. Read More »

Posted in Work | Tagged , | Leave a comment

How to work at home.

Home iconI have been working from home for the past 3 months and it has had some ups and downs. Today was a good day, and I have been trying to quantify what makes up a good day. A day where I get what I would like to get done actually do get done and feel good doing it. I think I have it narrowed down to some specific points that make the biggest differences. Read More »

Posted in Work | Tagged , , | Leave a comment

Phonegap

Phonegap has been talked about a lot lately. It is an exciting new move for web developers into the mobile space.

The general gist

The general gist is this. Phonegap is a alternative browser framework app wrapped up in some special sauce for mobile operating systems. It allows you to build native applications for a bunch of OS’s with one code base – HTML5 and Javascript.

What you do is start with the framework and have it access your HTML code. It then renders it and adds the extra functions that it has access to as a native application. This means you can have access to camera features, file management features, accelerometer, GPS etc that you can’t access via the default browsers.

Supported Features

What you do with that

AS a developer it should be pretty self explanatory. You can make a REAL iPhone app in the languages that you are comfortable with! Build a backend in Ruby on Rails or PHP or ASP (if you have too) and then use it on any of the support operating systems. The my first use of the PhoneGap was for a new application I am launching with the Beta name “LocAware”. It started as a website with a mobile version, but too add too the offerings I have created an iPhone App.

The iPhone app is native. It then loads simple HTML5 webpages and Javascript does the local processing.

IMG 3301
You can see the pages start off pretty much empty.
IMG 3305
But then the javascript loads the JSON and fills in the page.
IMG 3304

Here you can see the submission forms doing the same thing with the dynamic data.
IMG 3306
IMG 3307

This part is fairly simple. You load up the page and then make the requests and process them in javascript. I used jQuery to simplify handling the JSON and page rewriting. My website responds to JSON requests with the required data. It looks something like

([{
    "id": "1",
    "user_id": "1",
    "name": "RI Places",
    "desc": "Thasdfasdfasdfasdfese are my places in Providence.  I am going to mark all the places i like."
},
{
    "id": "2",
    "user_id": "2",
    "name": "Benns Worldwide Places",
    "desc": "These are the worldwide places i have visited"
},
{
    "id": "3",
    "user_id": "1",
    "name": "Vermont School",
    "desc": "These are the vermont School"
}]);

Then we process that into the HTML like this.

function getPublicListing() {
	var full_url = serviceURL + 'get_public?jsoncallback=?';

	$.getJSON(full_url,
	{
	    format: "jsonp"
	  },

	 function(data) {
		public_listing = data;

		$.each(public_listing, function(index, public_listing) {

			$('#public_listings').append('<li><a class="noeffect" href="applet.html?jsoncallback=?&id=' + public_listing.url + '"><span class="number">' + (index + 1) + '</span><span class="name">' + public_listing.name + '</span><span class="arrow"></span></a></li>');

		});

	});
}

Once we have this data we can really start moving. Javascript is an incredible tool and you really have to push yourself to use it successfully here. Parsing lots and lots of JSON can make the app seems to be full integrated, data is both available and usable. For things like directory listings, displaying data this is plenty. But you can get into some trouble when you want to make the data bi-directional. Submitting from Phonegap seems to be limited too AJAX and as you probably know you cannot always make AJAX calls cross domain. You have to do it in the JSONP methods.

I am going to release the app within the next few weeks for public usage. We want to start giving Location Aware app too the public to start recording locations for use in anything from Public service issues, pot holes, etc.

The data will then be available for Public Service and municipalities to work from.

Visit LocAware. Also if you have a better name for the application post it in the comments.

Posted in Work | Tagged , , , , , | Leave a comment

Cornflake trout and greens

Another wonderful meal!

This was trout crusted in corn flakes. Cornflakes are like the poor mans panko. Wonderfully crunchy and nicely textured for fish. All we did was the standard breading except with cornflakes. We ate it with the regular greens i referenced in an earlier recipe.

Photo  4

Posted in General, Personal | Tagged , , , | Leave a comment

Blue Cheese Buffalo Burgers

I made really tasty buffalo burgers last night.

IMG 0279

They are so easy (as are all burgers) but I will give you the general approach

To Make:

  1. Take 1 lbs buffalo burger.
  2. Add half cup to a cup of oatmeal.
  3. Add half cup minced onions
  4. Add one egg
  5. Add Salt and Pepper
  6. Mix up good.
  7. Make quarter pound patties (just a forth of the available burger… you can modify this however you like)
  8. Through in a semi hot cast iron pan and cover
  9. Cook on one side until the burger has browned half way up the side of the burgers and flip.
  10. Cook until the side is fully browned and flip once more.
  11. Top with cheese (if desired) and just let the cheese melt a bit.
  12. Eat.

Last night I had the burgers on a bed of spinach, topped with Gorgonzola Cheese, and some cous cous on the side.

Posted in General, Personal | Tagged , , , | Leave a comment

The CB360T Project.

I have started working with my brother on an exciting new project. We are fixing up an old motorcycle.

Getting the bike

We bought a 1974 CB360T From a guy in Mass right before we left for the DR. We didn’t even get a chance to try to get it running before we left.

When we got home we took too it.

IMG 3268

We first took it out and tried to get it going (having crossed our fingers incredible hard that the project bike might not be much of a project). It didn’t go. It runs fine, but there was something wrong with the clutch. We couldn’t get it to engage enough to let us put it in first and start moving. Everytime we put it in first it jumped and killed the bike. I thought it might just be too loose. I tightened the minute adjuster on the handle bar and tried again. This time it made a popping noise and went slack. Ugh.
Read More »

Posted in Personal | Tagged , , | Leave a comment

Parmesan Crusted Pork Loin

Another pork dish I really like is Parmesan Crusted Pork loin.

IMG 0275

To make:

  1. First mix parmesan cheese with salt and pepper and put on plate.
  2. Rub all over Tenderloin patting it on so it sticks.
  3. Then mix one egg and rub that over the tenderloin and bread. Now there are two layers of crust. Cheese and bread.
  4. Then it is almost the same as my previous pork recipe (coriander and cumin). Just sear in hot pan and bake.

Nice to have with this:

Polenta Cakes

I like having polenta cakes with this. These are so easy, just follow the directions and then pan fry them a bit for crispness. I topped the polenta with a Tahini fig sauce for some added flavor.

Sautéed Greens

We have this probably with the most meals. All you need to do is Sauté up some ham, cranberries, mushrooms, nuts in a hot pan. Then set that aside. Wilt on medium the greens (good options are ANY good green – Kale, Collards, Chard) with some wine/balsamic vinegar and then add the mixture back in a finish off. This is SUPER healthy and super tasty.

And that is it

Posted in General, Personal | Tagged , , , | Leave a comment