wp.kimptoc.net
Dev | Kimptoc
http://wp.kimptoc.net/category/dev
Posts in Category: Dev. Want a lightweight in memory database – try Boon! On September 20, 2014 by kimptoc. So you have a million objects in memory, you’ve got them in a Map – so you can access them by key very quickly, but now you want to find all that match on another field. Well, they are in memory, so you can go through them all. However that is going to be slow. […]. Skillsmatter presents @unclebobmartin ‘s TDD and Refactoring course. On April 4, 2013 by kimptoc. On February 20, 2013 by kimptoc.
wp.kimptoc.net
Scaling Rails… | Kimptoc
http://wp.kimptoc.net/2013/01/scaling-rails
On January 9, 2013 by kimptoc. For the last few weeks I have been trying to tune a rails app… getting to the point where we are wondering which way to scale – bigger box or more boxes…. I have tried to summarise the problem on Stackoverflow here. If you have any ideas/suggestions, please add them there. Thanks in advance :). Cassandra … as a Service. Robinhood Tax, banking payback. The Walker Touch – photo gallery. Stumbling with God Book. World of Warcraft Activity. Card Solo, J2ME phone game.
wp.kimptoc.net
I created a (Ruby) DSL … | Kimptoc
http://wp.kimptoc.net/2013/01/i-created-a-ruby-dsl
I created a (Ruby) DSL …. On January 4, 2013 by kimptoc. Is a Domain Specific Language – that is, small language that should help frame solutions to particular problems. In this case, we had some config for a report writer program that was parsed using custom code, things like so:. Report name { FORMAT = CSV RECORD = A.PATH.TO.RECORD MODE = streaming KEYFIELD = TradeId FIELDS { Id TradeId RecordType Date Time } WHERE Date = "20120924" }. For example there is a “report” method, like so:. Explaining DSL...
wp.kimptoc.net
About | Kimptoc
http://wp.kimptoc.net/about
This is Chris Kimpton’s personal ramblings. For various contact options/details, see about.me. Http:/ N/A Andrew Dowsett. I have been using your BETA Barclays Cycle Hire site. Could you please tell me what “Abs. Changes” means? Thank you very much for your help. Great site. Thanks for your nice comment. Abs change is the change regardless of whether it’s more or less bikes. So if there are 5 less bikes, change would show -5 but abs change would be 5…. Cassandra … as a Service. Stumbling with God Book.
wp.kimptoc.net
JRubyConf EU 2015 | Kimptoc
http://wp.kimptoc.net/2015/08/jrubyconf-eu-2015
On August 10, 2015 by kimptoc. I was fortunate to attend the recent JRuby conference in Potsdam (nr Berlin). Http:/ 2015.jrubyconf.eu/. JRuby is an implementation of the dynamic language Ruby based on the JVM – this gives it the advantage of the ubiquity of the JVM, the more mature threading facilities and access to the various Java libraries/frameworks etc. Jruby is an interpreted language – by the JVM. The conference was a one day event, with 10 varied talks. There was even quality coffee on tap (pic).
wp.kimptoc.net
Want a lightweight in memory database – try Boon! | Kimptoc
http://wp.kimptoc.net/2014/09/want-a-lightweight-in-memory-database-try-boon
Want a lightweight in memory database – try Boon! On September 20, 2014 by kimptoc. So you have a million objects in memory, you’ve got them in a Map – so you can access them by key very quickly, but now you want to find all that match on another field. Well, they are in memory, so you can go through them all. However that is going to be slow. If only you could index the collection by that other field…. Well you can – just put the collection into a Boon. It provides a rich set of criteria. Facilities tha...
wp.kimptoc.net
Rails 3.2.11 upgrade (lorra lorra security issues…) | Kimptoc
http://wp.kimptoc.net/2013/01/rails-3-2-11-upgrade-lorra-lorra-security-issues
Rails 3.2.11 upgrade (lorra lorra security issues…). On January 27, 2013 by kimptoc. There have been quite a few Rails issues over the last few weeks… so I better upgrade mine too :( Note I use rvm with gemsets to separate gem versions – probably could stop using gemsets given the latest bundler, but havent got on that bandwagon yet. 8211; I have lots of rvm/gemset cruft and now seems like a good time to tidy that up. Then run bundle. Install the Heroku Toolbelt. Nope – same error. This was a Devise 2...
wp.kimptoc.net
Kimptoc | Odds and Ends | Page 2
http://wp.kimptoc.net/page/2
Things I love and hate about Node.js. On December 26, 2012 by kimptoc. I thought I’d try one of those link bait articles… LOVE Threads/no threads – since everything runs in the same thread, but written as if there are many threads via callbacks, it makes for easy multi-threaded apps. Just make sure you keep things simple, using tools like asyncjs to control multiple callbacks- you dont want […]. Close scrapes with Ruby / Mechanize. On December 22, 2012 by kimptoc. On December 16, 2012 by kimptoc. I was a...
wp.kimptoc.net
kimptoc | Kimptoc
http://wp.kimptoc.net/author/admin
How to win the lottery…. On January 9, 2016 by kimptoc. 8230; easy, pick the winning numbers! The trouble is there are 45 million combinations! So, why not share your numbers with everyone else to ensure we all use different numbers. If enough people do it, then we’ll ensure someone wins! Note – this is not a syndicate. The winnings will not be shared. The idea […]. On August 10, 2015 by kimptoc. Want a lightweight in memory database – try Boon! On September 20, 2014 by kimptoc. 8221; Skills You Need Whe...