Category Archives: coding

What have I been doing lately

This post is in regards to what I’ve been playing with or thinking about playing with in no particular order:

  1. Learning Haskell
  2. Postgrest is written in Haskell which is a server based application that exposes Postgres Schema as Rest Service.  It support oAuth security, CRUD, stored procedures and querying)
  3. Leaning Elm
  4. Visual Studio Code
  5. Visual Studio 2015 cross platform support for iOS, Android, Clang, etc
  6. Compiling C++ or anything to optimized Javascript.
  7. C++ Certification (I know C and Java so this should be easy)
  8. Google
  9. Progress Web Apps
  10. Firebase
  11. Game Maker / Enigma Development Environment
  12. Heroku 
  13. Hackaton / Hackdays
  14. IOT (ActiveMQ, Mosquitto message broker)

-br

GoLang and Heroku

I know it has been long time since you seen anything from me on this Blog.  If your a follower I apologize for that.

Things have been somewhat busy here at B.G.R Consulting doing  the Design, Development and I.T support of a subsidiary company (Riverboat Media) that we started up back in December 2015.  The technologies used, which are mentioned in the this Blog title have most likely been the most used these days by start-ups and enterprise.  Who knows maybe even the technologies I’m using for this blog may change also (Ghost).

For sometime I’ve been looking at the Go language and trying to determine if I could add it to the slew of technologies we are already levering here at B.G.R Consulting.  Just recently an opportunity has arisen for me to seek out an alternate to Node.js.  Unfortunately the Node.js plugin or npm module would build on Heroku cloud because of native SWIG interface to a C++ module (libRets).

So looking at the options, open source client modules available I finally determined that the best one to leverage was one written in GoLang (gorets).  After some challenges with getting my local environment setup (VS Code, GoLang extensionGo debugger) and the CI working with Heroku vendor dependencies (GoDeps).

Post a comment any time if you have a question.  I will try to respond as soon as possible.

-br

 

 

 

 

 

 

Ruby on Rails

I’ve be using a Ruby open source application call Reckon.  It is application that parses your PFS csv file and write out to command line ledger file.  I wanted to try to debug it and realized fairly quick that I needed a crash course on Ruby on Rails.  I found a couple of good learning material Rails Crash Course: A No-Nonsense Guide to Rails Development and Ruby on Rails Tutorial.  The learning material is very current, it shows how to deploy to the Heroku cloud and the other actual uses cloud ide (Cloud9).

I guess the thing that I was most impressed with was the Convention over Configuration development style or paradigm that Ruby on Rails uses.  This paradigm leverage the naming in general way in order to solve the data mapping and other conventions.   I can definitely say the this approach will save time, I’ve seen it reduce time frame by as much as two weeks.

I was equally impressed with Cloud9, what could be better then doing your development on the Cloud environment (Linux) and through a browser.

-br

iOS 8 and Swift

Like 330,000+ other on the day apple announced the new iOS 8 and Swift language I download the book and the the beta.  I been breezing through the book fairly rapidly and everything appears fairly straight forward.  It would be nice to see some real world examples with extensive UI and Core Data along with Rest calls integrated in the application.  Again I will try a little harder to keep this blog updated.

-br

Spring Framework

I just finished taking training course for Spring Framework V3 and I have to say I was impressed.  I can understand why IT shop invest heavily in this product.  In a lot of implementations spring is working really hard behind the scenes and developer don’t actually realize how much spring is intertwined in their system.  Spring is not just server side anymore, they have spring for Android now.  They have Spring MVC and Spring Rest which uses the standard Jersey Framework.  They have Spring Batch. The Spring Tool Suite is also one of the best Java IDE I have seen in a long time.

-br

Mac Air Upgrade Required

Well it’s looks like I won’t be able to do iOS 7 development until I get a new Mac.  Right now my original MAC Air is no longer supported.  Thats quite sad since I’ve really enjoyed this machine over the past 5 years.  It hard to believe that I’ve been able to keep developing on the same machine for this.  I can’t actually recall if any of my windows desktops lasted this long before needing an update or upgrade.  Oh well I guess I will have a few months of iOS development left.

-br

FB API

I’ve recently having a look at FB (FaceBook) API for iPhone.  It really shows a lot of great examples for using the API. The SDK offers tutorials, references, documentation and helper code for calling there restful services from Object-C.  FB is providing native dialogues for sharing, profiles and friends.

Using FB as your authentication provider does make a lot of sense.  They have the infrastructure and they are more then happy to let mobile app developer use it.  I’m still trying to figure out an app to use the FB API.  Once I have something I will certainly share it with everyone.

-br

 

PlayN

Well I was introduced to a interesting write once game technology solution using j2se and then deploy to HTML5, android, flash, iOS and OSX by Google called PlayN (PlayN). I really like all of the difference options.

-br

Native VS HTML

I have been thinking a lot lately about Native vs HTML5 and what is the best approach.  As indicated in previous articles I would be more concerned about the Web API you are providing first rather then Native  or Web.  It really depends on the application you are creating.

If it is fairly basic and simple displays then all web may be the best solutions.  If you want a store present then at minimum you will need to do the hybrid approach (Phonegap) approach.  If your require a lot of the Native features for accessing camera, voice, complicated then then I think the Native approach should be considered.   

Another reason to consider Native over Hybrid is device support.  If you are developing native you are developing for a specific platform / OS.  This means you won’t get any surprise unlike developing web based.  Different platform / OS have different browser implementations some even for Browser and Embedded Browser.  This in turn makes supporting web based applications very difficult.

I found a very interesting iPad Web Development Site.  You have emulators, iPad web development tools etc.  It is amazing how much information is out there for beginners and experienced iOS developers and designers.

Of course when it comes to development for Native iOS application the selections list becomes a little smaller.  What else do you need but xcode4, interface builder, simulator and actual test iOS devices.   Some design templates, wire frame tool kits would also be very useful for both types of development.

-br

 

 

 

Development Contest

I’ve been thinking about how much would it take to get involved with technology coding contest. I checked out Google Jam which was insane. It was really cool writing the same test in C but you have to be a math or physics major in order to do well in code jam. Signed up for the Ford open / Xc project, order the USB cable and then realized that my 2003 ford focus was not compatible. The good thing I found is the site it was hosted on challenge post.com. This is a website dedicated to challenges. Based on what I have read there does not appear to be anything unusual about the contest posted.