Politics

Article 2: Comparing the Effects of Trickle-Down Economics on Employment

Update (Feb 27, 2017): Here’s another article updating the situation in Kansas. Brownback vetoed the tax increase law. The house overrode his veto but the state senate fell 3 votes short, so the tax increase will not happen. Kansas education, among many other services, will pay dearly. — I want to write more about this […]

Politics

Article 1: Comparing Government Employment Under Bush and Obama

Objective: Dispel The Myth That Government Employment Grew Significantly Under Obama Discussion: This is the first post in a series of “articles” relating to political facts, or perhaps more pointedly, to dispelling “alternative facts” that are quoted so readily. I originally created this graph as part of a response to a post on Facebook, which

Garmin, Science, Triathlon

Fitbit (and other optical/LED-based devices’) HR Accuracy

Reposted here from Facebook for reference: Not sure how many out there are Fitbiters but I believe this applies equally to all wrist/LED-based HR monitors (e.g. Apple Watch, Garmin devices, and other trackers). My own anecdotal testing corroborates this study as does DC Rainmaker’s review of the Garmin 235, i.e. they are good at low

iOS, Programming

Setting a UIButton’s Image in Swift

yourButton.ImageView?.image is a READ-ONLY property!!! yourButton.ImageView?.image is a READ-ONLY property!!! yourButton.ImageView?.image is a READ-ONLY property!!! yourButton.ImageView?.image is a READ-ONLY property!!! yourButton.ImageView?.image is a READ-ONLY property!!! yourButton.setImage(UIImage(named: “name_of_image”), forState: UIControlState.Normal)

Mac OS X, Programming

OpenMP Clang in Xcode

I’ve been playing around with prime numbers recently, which (naturally?) extended into an investigation into parallel programming. I installed the latest version of GCC 5 (v5.3.0 at the time of writing) using these instructions and got OpenMP running (support is built-in). I’m fine with using Terminal but I thought it would be interesting to try

General

NBA Playoff Bracket 2016

I just realized I forgot to post this. It’s not pretty, in that it doesn’t look nice. It was done through OfficePoolManager. I couldn’t find an online tool that allowed you to pick your teams like they have for March Madness and the NHL playoffs.

iOS, Programming

UITextView Padding

If you align a UITextView with another element, particularly a UILabel, using Auto Layout you will notice the text in the UITextView is slightly indented. The UITextView is actually implemented inside an NSTextContainer which has some padding around it. To remove this (left/right) padding, set the following property of the UITextView to zero: textView.textContainer.lineFragmentPadding = 0

iOS, Programming

Embedded Content Contains Swift Code

Ran into this error today: dyld: Library not loaded: @rpath/libswiftCore.dylib It was solved by changing the Build Option: Embedded Content Contains Swift Code to Yes The project in question was Objective-C based but had an embedded project (Charts) written in Swift.

Scroll to Top