A few weeks ago, I got a letter from the SSA notifying me that my electronic employer W2 submission was wrong. I knew it was related to the electronic file format generated by Wave, but wasn't sure what was happening. After waiting 2 weeks for a response from their support team, I decided to write a small script to figure out what was happening...
https://gist.github.com/rogerhu/bef3c9cba4005f346002
It confirmed to me that their generation was off by a factor of 10. It was fixed later by the company without notifying customers about the issue.
Also, it turns out that the SSA provides a Java applet called AccuWage that allows third-party companies to verify that their file format generation is correct...
Wednesday, February 11, 2015
Saturday, February 7, 2015
How to get IntelliJ to recompile Android resource files
If you want to use IntelliJ to build your Android projects, make sure that the SDK versions in your Project SDK matches that in your Preferences->Module SDK. Otherwise, you may find that you have to click Rebuild Project each time you make changes to the XML version!
Friday, January 16, 2015
Monday, December 29, 2014
User location API's in Android
With the new framework with Google Play, you have to update your code now to use this unified GoogleApiClient.Builder() approach:
http://android-developers.blogspot.com/2014/02/new-client-api-model-in-google-play.html
There are now actually two ways to get location from Android. The 2nd way attempts to unify the various LocationProviders (GPS, network, other applications, etc.) into one API:
http://www.rahuljiresal.com/2014/02/user-location-on-android/
http://android-developers.blogspot.com/2014/02/new-client-api-model-in-google-play.html
There are now actually two ways to get location from Android. The 2nd way attempts to unify the various LocationProviders (GPS, network, other applications, etc.) into one API:
http://www.rahuljiresal.com/2014/02/user-location-on-android/
Saturday, December 20, 2014
An old but useful article about avoiding memory leaks on Android...
http://www.curious-creature.com/2008/12/18/avoid-memory-leaks-on-android/comment-page-1/
and a great link on mastering Android drawables:
https://skillsmatter.com/skillscasts/4619-mastering-android-drawables
https://speakerdeck.com/cyrilmottier/mastering-android-drawables
and a great link on mastering Android drawables:
https://skillsmatter.com/skillscasts/4619-mastering-android-drawables
https://speakerdeck.com/cyrilmottier/mastering-android-drawables
Friday, December 12, 2014
How to map multiple keyboards to the same OSX mappings
If you're trying to use Karabiner to support key remappings for multiple devices, you can take advantage of the templating syntax:
You can have your product and vendor ID definitions here:
You define your main key remappings here:
You can have your product and vendor ID definitions here:
You define your main key remappings here:
Wednesday, December 10, 2014
Using padding in ListViews
Don't forget to use scrollbarStyle and clipToPadding according to this post!
https://plus.google.com/+AndroidDevelopers/posts/LpAA7q4jw9M
The difference between gravity and layout_gravity -- one deals with the parent (layout_), the other deals with the child.
http://stackoverflow.com/questions/13965883/what-is-exact-difference-between-gravity-and-layout-gravity
https://plus.google.com/+AndroidDevelopers/posts/LpAA7q4jw9M
The difference between gravity and layout_gravity -- one deals with the parent (layout_), the other deals with the child.
http://stackoverflow.com/questions/13965883/what-is-exact-difference-between-gravity-and-layout-gravity
Subscribe to:
Posts (Atom)