Tagged with

JustMigrated

ImageMagick and rmagic install HELL

I’m mainly writing this post for myself because like so many before me that are running OS X / Rails environment …… Installing imagemagick and rmagic gem is pure HELL. Here are the steps that fixed it for me.

1. Install imagemagick via homebrew 

brew install imagemagick -f

 

2. Follow steps for creating symlinks like so. be sure to pay attention to the version number in the cd line of code and change it to whatever version you are currently running. 

cd /usr/local/Cellar/imagemagick/6.8.0-10/lib
ln -s libMagick++-Q16.7.dylib   libMagick++.dylib
ln -s libMagickCore-Q16.7.dylib libMagickCore.dylib
ln -s libMagickWand-Q16.7.dylib libMagickWand.dylib

3. Install the gem via the command line with the following code. I made sure I was in the directory of my rails app but I’m not sure if that matters. In my case the rails app needed rmagick version 2.12.2 so I made sure to specify the version number below. 

PKG_CONFIG_PATH=/usr/local/Cellar/imagemagick/6.8.0-10/lib/pkgconfig C_INCLUDE_PATH=/usr/local/Cellar/imagemagick/6.8.0-10/include/ImageMagick gem install rmagick -v '2.12.2'

 

I know a good IOS / Objective-c developer

Yep, this is a shameless self promoting post, but hey that’s what my site is for. Rather than getting into technical details about stuff over a series of posts about Objective-C, and things I’m learning about the bla bla bla bla bla technical, bla bla bla, I figured I would just come right out and say it. I’m now looking for and taking on objective-c projects. I’m a couple of weeks away from posting my first completed app to the app store and it’s really exciting to be able to say that.

Recently I took on a project and it was to build an iPad app for NMSU (New Mexico State University). I did my usual “lets build it with Actionscript shpeel” because it’s multi-platform and we can deploy to ios, android, desktop and so on. WELL in this case it worked great until I got to one feature that needed to be native for performance reasons. The application required using some sort of Map api in order to draw polygons. Long story short, there was not a good solution via actionscript that preformed very well aside from building a Native Extension in objective-c. The application slowed to a crawl and even crashed sometimes when asking it to draw some of these complex shapes on an actual iPad. 

I took the opportunity to create the exact same app using Objective-C. This of course allowed me to use the built in MapView that comes with iOS. Needless to say it preformed perfectly and the client is super happy with the performance. Recoding took around 2-3 weeks and wasn’t really that difficult. It was just a matter of me understanding some of the fundamental differences in the syntax but honestly now that I’m a month or so in I’m enjoying Objective-C and looking forward to doing more work with it. 

So, if you are looking for an Objective-C developer, look no further than right here.

Contact: Matthew Wallace
m: 615-400-4773
e:m at mattwallace.me 

Venueblast makes the cut for Spark Nashville | SouthernAlpha

Spark is quickly approaching and SouthernAlpha has carefully selected and finalized 10 teams that will be competing in Pitch, a contest with a $1,000 prize for the best startup in the area. Judges for Spark Nashville include Vic Gatto, Michael Burcham, Christopher Rand, Byron Smith, Landon Gibbs, and Joe Cook, as well as an audience vote for a people’s choice giving teams a chance to win an iPad.

The teams are as follows:

Everly
Everly is a socially responsible startup that creates drink powders by blending natural ingredients to provide a healthy hydration system for those with limited access to nutrients and clean water.  http://www.goeverly.com/

GreenPal 
Greenpal is a startup out of Murfreesboro started by several veteran entrepreneurs. These crazy guys have come up with solution that enables users to order lawncare services right from their computer or smartphone. Check out a video on their website to learn more. http://yourgreenpal.com/

GameWisp
This startup is what happens when you put a couple Vanderbilt Ph.D students with a passion for video games together. They’re preparing to launch an application that is somewhat like a dropbox for video games. Signup to be part of their beta here http://gamewisp.com/

Sucratrend 
Sucratrend is a frictionless glucose tracking tool for diabetics across all demographics, with a focus on simplifying tracking, reminding when measurements are due and auto compiling trending reports which allow diabetics to react accordingly and better interact with their medical providers.https://sucratrend.com/

PictureBooth
PictureBooth creates interactive social media content for brands and events through the use of custom photo booths.  They are focused on high quality content that not only benefits the brand; but also the user. www.picturebooth.co

VenueBlast  
Venueblast is a live event platform that is mainly centered around video content. Tools and features of the platform include virtual event attendance, easily deployed marketing, microanaylitics for video, and crowdsourced content. http://venueblast.com/

DineTouch
DineTouch is a mobile application that allows a restaurant’s guests to order and pay on their smartphone directly from their table. With DineTouch, guests have access to ordering off the menu and paying with server interaction when they need it. http://dinetouch.com/

PT Kinect 
PT Kinect is designed to help physical therapists actively engage, monitor, and assist their patients by utilizing emerging video technology.

Listen Up
Listen Up helps artists monetize their fan base through streaming music platforms such as Spotify and Pandora. Fans provide data to the app and in return, fans get rewarded for the information they provide to artists. Listen Up is a great platform to find new music as well. http://beta.listenup.fm/signup

WaffleMe

WaffleMe is a social media aggregator that combines information from each social network into one place. With WaffleMe, users can quickly see what their friends are doing on any social platform at any given time. The system’s simple interface and brilliant visual design sets it apart from every other content management system. It also provides valuable information and data from others that is much easier to track using the platform. http://waffleme.com/

 

NME 3.5.5, WebGL and More | NME :: Blog

NME 3.5.5, WebGL and More

Today we are releasing NME 3.5.5, which is a maintenance release to continue to improve the solidity of our existing features, plus we have some new ones.

OpenGLView was introduced in NME 3.5, and now we add support for HTML5, using WebGL. You can check out the new “HerokuShaders” sample to a great cross-platform illustration of GLSL shaders at work. The sample will run on Windows, Mac, Linux, BlackBerry and HTML5, and will run on other mobile platforms when GLES2 support is official.

We have improved support for fullscreen, so you can more easily start your application fullscreen, toggle between windowed and fullscreen modes, have full hardware acceleration in either windowed or fullscreen mode and we now handle Alt + Enter and Alt + F4 on Windows and Linux, by default.

HTML5 has received improvements to z-ordering and TextField handling. We have added Event.ACTIVATE/DEACTIVATE and FocusEvent.FOCUS_IN/FOCUS_OUT events from the stage, to handle when users navigate away from your page or minimize and restore a web version of your application. We integrated WebWorks compatibility in the command-line tools, so you can also test web content as BlackBerry 10 application, making it easier to test HTML5 output for mobile.

We altered the keyCode values for A-Z, so that they return an uppercase character code value, instead of lowercase. This makes the behavior consistent between Flash, native and HTML5.

There have been a number of small improvements to make the command-line tools better, there are three new samples, ActuateExample, SimpleOpenGLView and HerokuShaders, and we have a FlashDevelop project template to projects created using “nme create project”

We are now working on NME 3.6. In the forums, please continue to provide feedback and testing as we make NME an even better framework. Thank you for all of your support, and please enjoy this new release.

via nme.io

How to Embed assets in Haxe, like in ActionScript

Sometimes trying to find a simple thing is really hard when you are learning a new language. Something most of us have to do for every project that is writen in Actionscript is to embed assets. 

The Actionscript way

[Embed(source=“myimage.png”)]

private var MyImageBM:Class;

Here is the Haxe way

@:bitmap(“myimage.png”)class MyImageBM extends BitmapData {}

var bm = new Bitmap(new MyImageBM(100,100));

BareBones MVC

An extremely light MVC framework built in Haxe.

A quick history: In late 2012 I was on a project building some games for IR5. It was a really good experiance because it was my first go at using the Starling framework for Actionscript.
The client had build the framework we where using to build the games around using Parsley. Parsley has been my MVC framework of choose for the past few years. I came to like IOC and Injection, however we found that the games themself ran faster and more smooth if we went for a simple “handrolled” MVC of our own and stay away from the Event driven nature of Flash.
Starling works so well that we found that responce to changes in data for the game where much faster by using a plain old publish subscribe method and allow our views to “register” with the data model and allow our data model to call “update” on any views that are subscribed to it. Old School plain Jane MVC if you will.
I have Steff Kelsey, the lead developer on the project to thank for coming up with the simple sturcture and conventions we used.
BBMVC is a direct result of the work that we did on these games. I liked it so much that I started using in on all my projects and figured the best thing I could do is create a reusable lib that is cross platform via a haxelib
More to come on BBMVC and examples soon. Stay tuned. If you have any qustions in the mean time please feel free to hit me up. @matthewswallace on twitter.

 

Haxe Introduction

Haxe (pronounced as hex) is an open source programming language

While most other languages are bound to their own platform (Java to the JVM, C# to .Net, ActionScript to the Flash Player), Haxe is a multiplatform language.

It means that you can use Haxe to target the following platforms :

  • Javascript : You can compile a Haxe program to a single .js file. You can access the typed browser DOM APIs with autocompletion support, and all the dependencies are resolved at compilation time.
  • Flash : You can compile a Haxe program to a .swf file. Haxe is compatible with Flash Players 6 to 11. Haxe offers very good performance and language features to develop Flash content.
  • NekoVM : You can compile a Haxe program to NekoVM bytecode. This can be used for server-side programming such as dynamic webpages (using mod_neko for Apache) and also for command-line or desktop applications, since NekoVM can be embedded and extended with some other DLL.
  • PHP : You can compile a Haxe program to .php files. This enables you to use a high level strictly-typed language such as Haxe while keeping full compatibility with your existing server platform and libraries.
  • C++ : You can generate C++ code from your Haxe source code, with the required Makefiles. This is very useful for creating native applications. The NME library uses this to run Haxe code on iOS, Android, etc. As of 2.10 it also includes debugging.
  • C# and Java: You can generate source code for these targets new as of 2.10 (note this is still experimental, with better support coming in Haxe 3.0.

The idea behind Haxe is to let the developer choose the best platform for a given job. In general, this is not easy to do, because every new platform comes with its own programming language. What Haxe provides you with is:

  • a standardized language with many good features
  • a standard library (including Date, Xml, Math…) that works the same on all platforms
  • platform-specific libraries : the full APIs for a given platform are accessible from Haxe

Haxe is useful for many different reasons. You might be wondering why use Haxe?

Want to learn more about Haxe ? Access the documentation.

oh-my-zsh makes your os x terminal awesome

A community-driven framework for managing your zsh configuration. Includes 40+ optional plugins (rails, git, OSX, hub, capistrano, brew, ant, macports, etc), over 80 terminal themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community. Read more

Make sure you install the plugins=(git osx)