This week, something short & sweet & probably useful for generic programming: find the next integral type just bigger than a given type. The obvious application would be that if you want to add ints, you’ll want the variable that holds the sums to be larger than int. 554 more words
Tags » Meta-programming

Ruby general purpose Execution Hooks / Filters
Rails provides a fantastic framework for execution hooks/Filters. Using this, we can define hooks which can be executed before or after the execution of required methods. 979 more words
Teen tech addicts fail first-job test
{“contentType”:”NEWS_STORY”,”id”:{“value”:”88b44e2c5f2027fbb6ec6dbad916ea0d”,”link”:”http:\/\/cdn.newsapi.com.au\/content\/v2\/88b44e2c5f2027fbb6ec6dbad916ea0d”},”originId”:”PerthNow-2293281″,”origin”:”WORDPRESS”,”channel”:”NONE”,”title”:”Teen tech addicts fail first-job test”,”altTitle”:””,”subtitle”:”Perth teenage technology addicts are failing their first-job test outside of school”,”description”:”
TEENAGERS are increasingly are under-prepared for the workforce, with many struggling to even secure part-time jobs, often the first step in transitioning from school to the job market.“,”link”:”http:\/\/cdn.newsapi.com.au\/link\/88b44e2c5f2027fbb6ec6dbad916ea0d”,”paidStatus”:”NON_PREMIUM”,”originalSource”:”PerthNow”,”creditedSource”:”PerthNow”,”version”:”PUBLISHED”,”dateUpdated”:”2017-08-12T06:10:14.000Z”,”dateLive”:”2017-08-12T16:00:34.000Z”,”customDate”:”2017-08-12T16:00:33.000Z”,”dateCreated”:”2017-08-12T06:10:21.307Z”,”status”:”ACTIVE”,”thumbnailImage”:{“contentType”:”IMAGE”,”id”:{“value”:”a930a88924cf6aef8862a658ccf284eb”,”link”:”http:\/\/cdn.newsapi.com.au\/image\/v1\/a930a88924cf6aef8862a658ccf284eb”},”originId”:”PerthNow-2293295-spp_thumbnail”,”origin”:”WORDPRESS”,”title”:”Kyah Monument is 15 and works as a waitress at Edesia in Attadale. 3,193 more words