How To Be A Good Open Source Community Member

A friend of mine who is a very talented writer recently became intrigued with open source and asked me to help her to understand how to be a good open source community member. Open source is one of the most unusual things in the world. Is there any other profession where highly s...

Object Oriented Programming Mechanics

Go is an object oriented programming language. It may not have inheritance, but in this 20 minute video from the Bangalore meetup, I will show you how object oriented programming practices and techniques can be applied to your Go programs. From an object oriented standpoint, Go d...

Code Generation From the AST

Deprehend is a tool that auto-generates go src to wrap goroutines with panic handlers and wrap http handlers for metrics tracking. Over at DeferPanic we do a lot of application monitoring specifically for you, Go engineers.

Using Mockito's InjectMocks

FYI: Like the previous post, this is a really quick tip. Let’s imagine we have two classes, and one depends on another: Another.java: @Log public class Another { public final void doSomething() { log.info("another service is working..."); } } One.java: @Log @Require...

Patterns for composable concurrent pipelines in Go

Patterns for composable concurrent pipelines in Go The undersigned came into the world of Go from Python, which is quite prevalent in the field of bioinformatics.

GopherCon India 2015

I came to GopherCon India not knowing what to expect, but from the moment I arrived it was nothing short of spectacular. I talked to amazing people who genuinely appreciated that members of the global community came to India to participate in the event.

Scheduler Tracing In Go

Introduction One of the things I love about Go is the profiling and debug information you can generate. There is a special environmental variable named GODEBUG that will emit debugging information about the runtime as your program executes. You can request summary and detailed in...

Introducing JVM - The Java Version Manager

Last years it becomes more and more common to work in different projects running on different versions of Java. There still some running on Java 6, and there are tons already running on Java 8. That’s nice! What isn’t nice is to change JAVA_PATH and PATH every time yo...

Dump a PostgreSQL table as insert statements

FYI: Like the previous post, this is a really quick tip. This week I’m working closely to the “front-end guy”. Not that I don’t know how to front end, but he was helping me. We are developing an internal tool, that, for this first version, will use only a...

Find non-ASCII chars

FYI: This is a really quick tip. Sometimes things break because of random characters, like '. Those kinds of characters may break, for example, shellcheck and other tools based on hlint: hGetContents: invalid argument (invalid byte sequence) Also, who likes those stupid chars? No...