Cover photo
Jacob Quinn
Attends Carnegie Mellon University
Lives in Pittsburgh, Pennsylvania
897 followers|244,308 views


Jacob Quinn

commented on a video on YouTube.
Shared publicly  - 
Look ma! I'm on the interwebs!! (1:45)
Add a comment...

Jacob Quinn

Shared publicly  - 
I've been needing a reason to do more regular posts and this Collections features seems like a good way to organize content streams. This collection is called "Julia Programming Tips" and I'll try to post fairly frequently with tips and tricks (since I spend at least some time every day coding, I should be able to find something to post about...).

*Note: If you don't care to see updates about programming/Julia, you can navigate to my profile page (by clicking on my picture), then click on "Collections" and then click "Following" on the "Julia Programming Tips" collection to not see these posts.

First tip!

As a package maintainer, how do I maintain a single code source instead of branching different versions (say for version 0.3 vs. 0.4)?

This is a great question with a relatively new answer. Originally there was the `VERSION` variable defined in Base that allowed one to put something like:

  if VERSION > v"0.4.0"
       # version 0.4 code
       # version 0.3 code

While this works, it's a little clunky because often times the new feature/syntax you want to use was introduced at a specific commit, so just specifying `v"0.4.0"` means anyone on 0.4, but that doesn't yet have the new commit will see errors. It then becomes a hassle to track down the exact commit relative to 0.4 to version off of (e.g. `v"0.4.0-dev+4928"`). What's worse is that new syntax may not even be parseable in the new commit.

Enter Compat.jl ( Compat.jl is a package that maintains compatibility changes between versions in Julia. It's a central repository for all packages to use to simplify the versioning process and provide an easy way to use new features/syntax in packages, while easily maintaining backwards compatibility. Like the new Dict syntax in 0.4? Try this:

    using Compat
    new_fancy_dict_of_lies =@compat Dict("money" => "happiness")

Boom! Code automatically compatible between versions of Julia. Super simple stuff.

Anyway, that's it for today's Julia tip, feel free to ask any questions, suggest future tip topics, or, shudder, correct my code :( Have a swell day!
Compat.jl - cross-version compatibility
Add a comment...

Jacob Quinn

Shared publicly  - 
These Is My Words Written by Nancy Turner For the past month, I have been trying to convince just about everyone I have talked with to read this book. So I guess it's your turn now. After half of the characters I was introd...
Add a comment...

Jacob Quinn

Shared publicly  - 
I enjoyed the infographic; I've been looking for a dump of current companies in the space.
Add a comment...

Jacob Quinn

Development Discussions  - 
Hopefully everyone heard about the recent v0.2.0 official release of Julia. For a lengthy list of changes/updates, see here:

Also check out a nifty IJulia notebook that was put together to highlight some of the happenings in the 0.2 community:

A big congrats/thanks to all who have contributed to 0.2 and here's to 0.3!
Add a comment...

Jacob Quinn

Shared publicly  - 
Either he was too sleepy or missed the memo that we were doing goofy faces..........
Joshua Fisher's profile photoCindy Quinn's profile photo
That's hilarious !! Leo just wonders what the heck you're doing??
Add a comment...

Jacob Quinn

Shared publicly  - 
Check out this photo from
Add a comment...

Jacob Quinn

Shared publicly  - 
Today's Julia tip follows in the same vein as my last post about compatibility.

How do I easily make my code portable cross-platform?

As much as a core language library tries to abstract away various platform differences (Windows, OSX, Linux, etc.), there are certain pieces of functionality that still persist where there are differences between platforms. This is a common problem when developing packages that use 3rd-party binaries (C or C++ shared libraries). Base Julia provides a few ways to easily make your code cross-platform.

Julia provides a few macros for convenience for dealing with cross-platform code:

 @windows_only really_cool_function(#= windows-specific code =#)
 @osx_only really_cool_function(#= OSX-specific code =#)
 @linux_only really_cool_function(#= linux-specific code =#)

Here, I'm defining a single `really_cool_function`, yet the implementation will be different depending on what platform the code is run on. This is wonderful for users of this code because they themselves don't have to put in any `@windows_only/@osx_only`, they just call `really_cool_function` and it "Just Works (TM)".

There is also a ternary operator form like
  t =@osx? "yes, I'm a mac" : "No, I'm not a mac"

Some don't like this form because it's "too cute" or a pun on the ternary operator, but it exists nonetheless.

Enjoy making your code cross-platform!
Add a comment...

Jacob Quinn

Shared publicly  - 
My wife is amazing!
We are a soup family. We love soup! We have soup at least once a week and have recently decided to branch out a bit and try a few new ones. My incredibly lucky husband gets delicious catered lunches at work EVERY day. Every n...
Add a comment...

Jacob Quinn

Shared publicly  - 
So this is where I work now.....awesomeness.
More big Domopalooza news! Sheryl Sandberg​ will keynote at #DP15. Register now to take advantage of early-bird pricing! Details here: 
View original post
Anthony Quinn's profile photoJacob Quinn's profile photo
Yeah, pretty exciting stuff! Now that I'm out of school, I'm looking forward to catching up on a long reading list :) 
Add a comment...

Jacob Quinn

commented on a video on YouTube.
Shared publicly  - 
Should have called me up for a little frenchy-french translation!
Add a comment...

Jacob Quinn

Shared publicly  - 
Now this is cool. LDS (Mormon) church leaders are now on G+. Props to leaders willing to embrace technology and push forward in new ways to engage with an evolving society! Circle up for timely, uplifting, and insightful thoughts on living Christ-centered lives and doing good to those around us.
In this Circle:
Add people
Anthony Quinn's profile photoAbout Mormons's profile photoFrank Milton (GadgetsRforever)'s profile photoKenneth Cerna's profile photo
I wonder if it is their assistants masqerading? maybe. 
Add a comment...
Jacob's Collections
Have him in circles
897 people
Poluvan Mohan's profile photo
Howard Carroll's profile photo
Hagit “Vickie” Katzenelson's profile photo
Bakos Gergely's profile photo
Robbie X Pierce's profile photo
HACHIMI ABDELJALIL's profile photo
anne rosette's profile photo
Nicholas Wayne's profile photo
HappyHealthy Guides's profile photo
Technical Consultant at Domo
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Pittsburgh, Pennsylvania
Chicago, Illinois - Rigby, Idaho - Nice, France - Toulouse, France - Marseille, France - Bordeaux, France - Provo, Utah
Contributor to
Enjoy coding, design, analytics, etc....
A few snippets about me:
  • I'm fanatical about ultimate frisbee; I don't quite understand my obsession, but that I'm mesmerized by a flying disc
  • My favorite desserts would have to be banana cream pie (don't forget the cream!) and anything funfetti....seriously
  • Grew up on old-school musicals, especially the cheesy ones
  • I hate the alphabet and struggle to remember the order of letters
  • Sports: College > Pros
  • If I were ridiculously rich and was given one way to completely waste some of my money it would be in wearing a brand new pair of socks new socks.
  • The thing I hate more than anything in this world is styrofoam. Friends will throw it on me occasionally just to watch me squirm
  • and I'm a mormon (cue cheesy commercial...)
Bragging rights
Got my Chromebook (Cr-48) in the first shipment of the pilot program.
Collections Jacob is following
  • Carnegie Mellon University
    MISM BIDA, 2013 - present
    * Currently enrolled in Computational Methods for the Smart Grid (, an applied machine learning course covering optimization techniques in power systems using publicly available supply/demand data for the electric grid in Pennsylvania (PhD level course) * The Business Intelligence and Data Analytics concentration involves additional data-intensive courses in advanced statistics, data mining, warehousing, hadoop, social media analytics, and a captstone project working with a real company on an analytics solution * Additional elective courses will cover advanced machine learning techniques, convex optimization, and predictive modelling
  • Brigham Young University
    Business Strategy and Economics, 2011
  • Rigby High School
Basic Information
Jacob Quinn's +1's are the things they like, agree with, or want to recommend.
Sausage and Cabbage Soup

We are a soup family. We love soup! We have soup at least once a week and have recently decided to branch out a bit and try a few new ones.

A Pinocchio Halloween

I love Halloween! It's my favorite holiday. I usually feel slightly guilty for saying that because it's obviously not as meaningful as Chris

Five Books to Read this Halloween

There are hundreds of Halloween stories out there, maybe even thousands. To help you sift through some of the lame ones to find the real tre

Selfie Sunday.

I found this "selfie" by Truman on my iphone of him and Pete. So cute! First for everything.

Chris Granger - Toward a better programming

What does it do? OOP's notion of encapsulation is by definition unobservable. I have no idea what person.walk() does. It probably does somet

100+ Interesting Data Sets for Statistics

Looking for interesting data sets? Here's a list of more than 100 of the best stuff, from dolphin relationships to political campaign donati

Netflix Prize: Forum / Grand Prize awarded to team BellKor’s Pragmatic C...

It is our great honor to announce the $1M Grand Prize winner of the Netflix Prize contest as team BellKor's Pragmatic Chaos for their verifi

Java Viewer/Beautify/Minify

JAVA Viewer - Convert Java Strings to a Friendly Readable Format,Beautify,Minify

Data Scientist and Engineer - New Grad

Khan Academy is looking for talented data scientists and engineers to create a free virtual classroom for the world. Join us on our mission

April Fool's Day Cupcakes

Though I'm hardly a prankster, I definitely enjoy a well-played joke every once in a while. April Fool's Day can be a fun day to plan and ca


WikiSort - Fast and stable sort algorithm that uses O(1) memory

Papers The Data Linkage Project Publication 2010 HARRA: Fast ...

Publication. 2010. HARRA: Fast Iterative Hashed Record Linkage for Large-Scale Data Collections, Hung-sik Kim, Dongwon Lee, In 13th Int'l Co

Just had an unfortunate and terrible experience at Best Buy getting Sarah's new phone. In the spirit of free markets and the need to vent frustration, I feel the need to complain about such a poor consumer experience. We've been talking about getting Sarah a new phone for months. We found out about a deal where you get a $50 gift card to Best Buy if you upgrade your next phone with them, and after visiting a few times, Sarah finally settled on getting the new iPhone 4S. Our schedules finally aligned today where we had a 1.5 hour window and were near our local Best Buy. We decided to pull the trigger. After feeling excited for the first 20 minutes and thinking we were just about done with the process, we pulled out the credit card, ready to pay, when we noticed that the $50 gift card hadn't been applied. Little did we know, we would end up wanting to gauge our eyes out for the next hour while associate after associate and manager after manager came over to try and apply the gift card, with no success! And while we realize mistakes and technical difficulties occur, we felt the worse offense was that 30 minutes into the process we mentioned that we were in a hurry and needed to leave soon (Sarah had a church activity she was expected to help with), and had to sit ANOTHER 30 minutes before they would finally let us leave in total exasperation, having paid the full amount with no gift card applied! The inconsideration for our time, especially when we said that we were sincerely in a hurry, was extremely frustrating and definitely casts a negative shadow over a usually great retailer. I just feel terrible that my lovely wife had to have her "iPhone experience" ruined by such an experience. Bad form!
• • •
Public - 3 years ago
reviewed 3 years ago
2 reviews