Better HN
topnewbestaskshowjobs
Log inSign up

lazyfunctor

32 karma · joined Jul 4, 2010 (16y ago) · 56 submissions

Full stack web developer (leaning towards backend) based in Bangalore. email: abhinav.kaushik@gmail.com github: https://github.com/lazyfunctor
Submissions

comment 10y ago · link · parent

I've read this advice couple of times "convert your unit tests to assertions". What does it actually mean? Say in the context of web dev, you add assertions to the code and when they fail you log an exception and move on?

Any links related to it will be helpful.

comment 10y ago · link · parent

I tend to feel that not everyone needs to know how to code, but in some professions it can be a "force multiplier" if they do.

comment 10y ago · link · parent

Interesting! I wonder if someone can help me with a problem I'm facing with cgo. I'm trying to include go runtime as apython module (.so) and the code appears to work fine as a standalone program. But when I try to run it from a pre-forked process manager (say Celery for python) the code gets stuck at runtime.futex (from strace). I guess some interplay of python and go runtime w.r.t goroutines. I feel Go is not meant to be embedded in Python runtime.

Code here: https://github.com/lazyfunctor/pymosaic

Edit: Added last line

comment 10y ago · link · parent

I have been learning Golang in my free time, this a toy project that I tried my hands on.

5.

Show HN: PHP serialization/deserialization library in Go(github.com ↗)

3 points · by lazyfunctor · 10y ago · 1 comment

comment 10y ago · link · parent

SEEKING WORK - Bangalore - Remote

Experienced software developer (full stack with backend leanings)

  * python (Django/DRF/Flask)
  * Javascript (react)
  * Go
My expertise is solving hairy/messy problems involving integration with legacy codebase, though that is not the only thing I am good at. Some of my last few projects include integration of a django component that I wrote with a legacy codebase in PHP and a WYSIWYG(almost) editor for PDF generation.

GitHub profile: https://github.com/lazyfunctor

email: abhinav.kaushik@gmail.com

comment 11y ago · link · parent

1. Better understanding of goroutines & channels (what patio11 already mentioned). 2. Some more insight into error handling (maybe something on the lines of http://www.golangpatterns.info/error-handling)

comment 11y ago · link · parent

I average between 7-8 hours. I drink maybe 2-3 cups of tea in a day. I swim around 3 times a week, squash maybe once or twice a week and kayaking(white water) on some of the weekends.

comment 11y ago · link · parent

I don't think so, though I haven’t really looked around. Want to meet over tea?

comment 11y ago · link · parent

any plan for bangalore? tea fanatic here :)

11.

Ask HN: What's your stand about react.js patent clause?

8 points · by lazyfunctor · 11y ago · 5 comments

comment 11y ago · link · parent

Nice post! Thanks for writing it. Do you know of any similar resource for google compute platform?

comment 11y ago · link · parent

Sounds interesting. This could be really useful.

In my previous project for a client I implemented a similar feature (though I named it masquerade).

Thanks for sharing it.

comment 12y ago · link · parent

Try to find a co-working space in your area. If not maybe work from a cafe for some time during the day.

I was gonna suggest meetup.com but looks like you do not have interesting meetups in your area.

Maybe pickup some sport in your free time. Leisure, fitness and socializing all rolled into one.

comment 12y ago · link · parent

This. It holds for other skills as well.

comment 12y ago · link · parent

Thanks, will check this out.

comment 12y ago · link · parent

Thanks. Looks like this is what I am looking for.

18.

Ask HN: How do I get a better understanding of NoSQL databases

6 points · by lazyfunctor · 12y ago · 8 comments

comment 12y ago · link · parent

Three years back I quit after 10 years of smoking (cold turkey). My notion of smoking was associated with break from work. So I replaced it with green tea and red tea(rooibos). You can probably give that a try.

Another thing that helped was sports, I started playing squash. I tried to be in better cardiovascular health to play squash, another motivation. Maybe you can pickup something (gym, any sport or anything physical)if you are not already doing that.

comment 12y ago · link · parent

Mine with some itertools abuse :)

from itertools import cycle , izip

[(f + b or x) for f, b, x in izip(cycle([''] * 2 + ['Fizz']), cycle([''] * 4 + ['Buzz']), range(1, 100))]

Edit: not sure how to post code in comments. e.g. * is lost

comment 12y ago · link · parent

I think that is a great idea. I'd be happy to see something like that.

comment 12y ago · link · parent

Makes sense. Thanks.

comment 12y ago · link · parent

Curious, is it your first instrument?

comment 12y ago · link · parent

Photography and trying my hands at post processing. Bought Nikon D 3200 sometime back

comment 12y ago · link · parent

I plan to take up whitewater kayaking sometime soon. Looks like shoulder injury is common amongst paddlers. Any tips to avoid it?

Also any idea if ACA courses are any good?

comment 12y ago · link · parent

I'd also suggest the course along with sections of http://www.amazon.com/Database-Systems-Complete-Book-Edition...

comment 12y ago · link · parent

Wow, I really wanted something like this. Thanks. Gave it a try, looks like it crashes whenever I try to upload a file.

comment 13y ago · link · parent

freshbooks

comment 13y ago · link · parent

I am new to this. Can you give me any pointers to differences between promises and deferreds. I have some idea about promises in JS. http://promises-aplus.github.io/promises-spec/ How is twisted's deferred different?

comment 13y ago · link · parent

How is http://nsfw.in different from any other URL shortener?
12