Code Trips & Tips

Code Trips & Tips

Adventures in developing distributed systems in Go, Java , Python and C++

  • About
  • June 2, 2013

    MongoDb Replica Set startup script

    MongoDb Replica Set startup script I was doing some development in Python agains a MongoDb backend, and I needed a quick way to set up and initialize a Mongo DB replica set. This bash script is what I eventually came up with, still a bit rough around the edges (for example, it won’t let you…

  • May 27, 2013

    MongoVision + logmonger: goodness for MongoDb & Python logs

    I’ve recently come across these two projects and, while each on its own is real goodness, when combined together they seem to be better than the sum of the parts. MongoVision is a web front-end and visualization tool for MongoDB running on Prudence: logmonger is a Python library that writes log entries to a MongoDb…

  • May 20, 2013

    Python Enums

    Python Enums PEP-435, Python Enum, has been approved and will be implemented (apparently) in Python 3.4: this is quite a change and, at least in my opinion, a long overdue language feature. In future, one can avoid doing something ugly like this: (months.py) JANUARY = 1 FEBRUARY = 2 … DECEMBER = 12 then, in…

  • May 15, 2013

    Android Studio

    Today, at Google I/O, Android Studio was announced by Google as the main supported development platform for Android – moving away from Eclipse, to IntelliJ. This is pretty big news and a major nail in Eclipse’s coffin – I have moved away from Eclipse around a year ago, after more than 10 years of unwavering…

  • May 13, 2013

    Dart – replacing Javascript

    Personally, I find Javascript infuriating: the lack of consistency; its confusion between being a functional language, an object-oriented one, or neither; and the impossible-to-understand treatment of `this` in most contexts, make it a real pain to use. I have recently started a project that required my using it, and even with the help of jQuery…

  • January 6, 2013

    Python Decorators

    I’ve now been working in Python for more than a year and we have been doing some pretty crazy stuff, especially around decorators and authorization/permissions implementations. Admittedly, Python decorators are one of the bits of the language that can be best defined as ‘magic’ and certainly remains puzzling for someone like me, used to Java…

  • December 23, 2012

    Fireside Chat with Jeff Bezos

    AWS re:Invent post 3 of 3 A guiding principle for Amazon is its focus on “stuff that won’t change over time:” for example, it’s extremely unlikely that people will ever want stuff at higher prices or slower delivery. As an entrepreneur  one should equally focus on the ‘basics’ of the respective problem domain: ask yourself, “what…

  • December 9, 2012

    AWS re:Invent – my notes (post 2 of 3)

    Note – the first post (Notes about the AWS JDK) can be found here The following are the (minimally edited) notes I’ve taken while attending the session at AWS re:Invent conference in Las Vegas, NV on 27-30 November, 2012. Keynote speech by Andy Jassy (Sr. Vice President, Amazon Web Services) It is clear we are still at…

  • December 3, 2012

    Four Principles of Cloud Computing

    From Werner Vogels (Amazon.com CTO) keynote speech at re:Invent: ControllableArchitect with cost in mind ResilientDon’t treat failure as an exception AdaptiveMake no assumptions Data DrivenPut everything in logs

  • December 3, 2012

    AWS re:Invent Notes (1 of 3): SDK for Java

    The following are my (only minimally edited) notes from the AWS re:Invent session (I highly recommend watching the recordings of the keynote sessions) There are two usage levels in the SDK: Low level access to AWS system APIs; and Higher level facilities, that make it easier to access the underlying services. Most notably, the SDK…

←Previous Page
1 … 9 10 11 12 13 … 17
Next Page→

Website Powered by WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
 

Loading Comments...
 

    • Follow Following
      • Code Trips & Tips
      • Already have a WordPress.com account? Log in now.
      • Code Trips & Tips
      • Edit Site
      • Follow Following
      • Sign up
      • Log in
      • Report this content
      • View site in Reader
      • Manage subscriptions
      • Collapse this bar