Node npm And Global Packages Using a Node module that provides an CLI presents some challenges, especially to newcomers. Below is a discussion of some approaches and some pros/cons. Global Only Just install globally and don't worry about local installs. It will be easy to run the commands (no prefixes!), but you'll have to
Health Insurance Dear BCBSNC Blue Cross; I'm writing to give you some feedback based on my personal experience from today. I have bronchitis, and like the past few evenings, tonight I will (likely) be kept from sleep due to coughing all night. I've finally had enough, so I went to the doctor today and
Ruby Fun With Ruby Enumerators Yesterday evening for fun I decided to write a factorial method in Ruby. My first attempt looked like this. 5.times.inject(&:*) This is a really elegant solution, and it almost works, but Fixnum#times starts counting at 0. Normally this isn't an issue since n.times is usually used
Festival International Festival 2015 This weekend saw the 30th annual International Festival [http://www.internationalfocusnc.org/festival]. I went before in 2012 and 2013, so yesterday (Saturday) was my third time. As usual we had a great time and sampled many food items. 0. Brazil - pão de queijo [https://en.wikipedia.org/wiki/
Triangle.rb Triangle.rb Notes - Rubyist Guide To Functional Programming With Clojure Rubyist Guide To Functional Programming With Clojure [http://clojure.org/] 2015-09-08 by Michael Stalker [https://twitter.com/michaelstalker] (Meetup [http://www.meetup.com/raleighrb/events/224748250/]) -------------------------------------------------------------------------------- What is Clojure? Created by Rich Hickey in 2007 ; a comment ; no single quoted strings please "double quoted strings" ; numbers 42 ; similar to
Programming Functions Versus Methods When I first started programming, I remember encountering functions and methods. I was familiar with functions from high school algebra, but I had no idea what a method was. They looked similar to functions, and online comments indicated they were essentially interchangeable. When you are getting started, you can think
Programming Triangle.rb Notes - Nothing Is Something http://www.meetup.com/raleighrb/events/224075188/ 2015-08-11 by Sandi Metz [http://www.sandimetz.com/] (video of the same talk at RailsConf [http://confreaks.tv/videos/railsconf2015-nothing-is-something]) * Smalltalk infected * Condition adverse * Message sending * Abstraction seeking Bunch of code slides here... Ruby has special syntax for booleans Conditions breed! Null Object
Programming Java Makes It Safe To Assume The Worst Today I started getting strange errors whenever I added a dependency to our Android app. The dependencies installed without issue and the project would even build. However attempting to run the project failed with a :dexDebug error. ``` com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536 Error:Execution
Continuity Errors - Beauty And The Beast Beaty And The Beast (animated) is one of my favorite Disney movies, but it is not without fault.
Notes Triangle JavaScript Notes - ES6 ES6 2015-05-20 by Josh Bielick [http://joshbielick.com/] (Meetup [http://www.meetup.com/Triangle-JavaScript/events/221870241/]) ... We can only hope to make reliable those things in which we understand. - Rich Hickey
JavaScript Triangle.rb Notes - React These notes where originally started at the Stacked meetup [http://www.meetup.com/Stacked/events/221981094/], but never published due to being incomplete. -------------------------------------------------------------------------------- React [https://facebook.github.io/react/] And Flux [https://facebook.github.io/flux/] 2015-05-12 by Nate Hunzaker [http://natehunzaker.com/] (Meetup [http://www.meetup.com/raleighrb/
Notes Stacked Notes - Usability Usability 2015-05-05 by Graham Langdon [https://twitter.com/GrahamLangdon] (Meetup [http://www.meetup.com/Stacked/events/221981094/]) User Testing * Set small goals that you can achieve * Earlier fixes cost less * Use feedback to prioritize Invalid Reasons To Skip * App isn't finished yet * We already know there are problems * Where am
Ruby Triangle.rb Notes - Code Katas Code Katas: Growing Through Deliberate Practice 2015-04-14 by Cory Foy [http://blog.coryfoy.com/] (Meetup [http://www.meetup.com/raleighrb/events/221443562/]) (blog post [http://blog.coryfoy.com/2015/04/slides-and-code-kata-recording-from-triangle-rb/] ) Takeaways * Test First * Simple Solution * Judicious Refactoring * Elegance Emerged Four Rules Of Simple Design [http://agileinaflash.blogspot.com/2009/
Programming Line Limits (In response to http://www.aaron-gray.com/line-limits/. Aaron is a great guy; let the reader visit his blog and learn from his wisdom.) Yesterday after work I said that hard character line limits (often eighty characters, but not always) were a antiquated relic of the past. This was in
Ruby Triangle.rb Notes - RSpec Develop An RSpec Test Suite (Choose Your Own Test Adventure) 2015-02-10 by Michael Stalker [https://twitter.com/michaelstalker] (Meetup [http://www.meetup.com/raleighrb/events/220007543/]) Tests should not be an excuse for thinking. Rich Hickey Things Turn Confusing * tests interact with database? * et cetera... Dragons * never-ending tests * excessive setup
Notes Stacked Notes - Lightning Talks Lightning Talks 2014-11-24 (Meetup [http://www.meetup.com/Stacked/events/216384552/]) Please excuse the likely typos in presenter's names. I didn't have much time to capture them. Jarrod Swart [http://jarrodswart.com/] - Functional Programming With Closure [http://jarrodswart.com/articles/clojure-learning-resources] * Durham is the capital of Closure * Better concurrency
Rant Upgrading To Yosemite I upgraded to OS X 10.10 Yosemite last weekend (from Mavericks). It was one of the top three most painful upgrade/install experiences I've ever had. (I don't recall the other two specifically, but I'll grant that this may not be the worst.) I started downloading the installer overnight,
Rant Angry Birds Pause Screens Rovio, Why did you rearrange the pause menu for Angry Birds Stella? When I play, I end up restarting each level many times to get the angles just right. This wouldn't be an issue if each game had its own layout. It even would be less of an issue (though
Notes Stacked Notes - Bourbon And Meteor Tonight's meetup consisted of two separate talks. The meeting started with a delicious snack I've never had before: Pork Puppies [http://porkpuppies.com/]. A pork puppy is a hushpuppy filled with BBQ. This picture doesn't really do
Ruby Triangle.rb Notes - Ember Introduction To Ember.js [http://emberjs.com/] 2014-07-08 by Jason Draper [https://twitter.com/drapergeek] (Meetup [http://www.meetup.com/raleighrb/events/201863062/]) What is Ember? * A framework for building ambitious web applications * Opinionated - convention over configuration * Most (all?) web apps have the same problems * Separation of logic (view)
Programming Declaratively toggle class names data-dyna-context takes an expression to provide a this evaluation context for nested data-dyna-class attributes. Contexts may be nested arbitrarily and may optionally be named. data-dyna-class takes a collection of key-value pairs. Values are e
Ruby Triangle.rb Notes - Establishing Yourself Establishing Yourself: A gem/application-driven method of building experience 2014-07-08 by Nathan Walls [http://wallscorp.us/] (Meetup [http://www.meetup.com/raleighrb/events/191110132/]) Why? * avoid stagnation * job or portfolio seeking * keep skills fresh by working on things/problems not addressed by daily work Portfolio * writing is a good exercise
Ruby Triangle.rb Notes - JRuby JRuby [http://www.jruby.org/] 2014-06-10 by Brandon Mathis [http://brandonmathis.me/] and Hiro Asari [https://twitter.com/hiro_asari] (Meetup [http://www.meetup.com/raleighrb/events/184367522/]) Why? * Access to Java libraries * True concurrency (Rubinius [http://rubini.us/] also offers this) * JVM Access To Java Libraries * Super enterprise! Problems