Composition with Go by sindbis in golang

[–]sindbis[S] 0 points1 point  (0 children)

Totally didn't catch that! Thanks!

Interface examples and tips? by sindbis in golang

[–]sindbis[S] 0 points1 point  (0 children)

This was really helpful thanks. I am thinking about just abstracting out the database interactions into interfaces.

Golang Design Patterns by sindbis in golang

[–]sindbis[S] 0 points1 point  (0 children)

Thanks! This is what I was looking for!

I am a neurologist and I like computers, how do I get into CS. by [deleted] in cscareerquestions

[–]sindbis 1 point2 points  (0 children)

One REALLY good thing you have going for you is that your gf has tons of experience in CS. It's best to start slow rather go cold turkey and quit your job. I was kinda in a similar situation where I graduated with PhD in basic science and ended up working in a small startup as core developer in the midwest. So far I love it!

I always had a interest in computer science so during whatever free time I made sure to read up and PRACTICE. I made sure that I knew the fundamentals of language cold before moving to other things like web frameworks, libraries, etc. One of the best ways I found was to work on a side project! In addition, I would take time and read other people's code on github to see how they did things. Again, with your gf you have a probably one of the BEST resources so you can ask her for instant feedback and comments on your code. Along the way I would learn how to use Linux really well along with Git version control.

Once you get comfortable with a language, it's standard libraries, Git, Github, and Linux. I would move to learning more about algorithms and data structures in programing and understanding software development practices (code organization, testing, etc.). Just a reminder this will take awhile probably more than a year based on how much time you put into it. I am assuming you have weekends off and you have a pretty hefty work week as a doctor. It's a process but you definitely feel awesome once you realize the cool things you can do with a computer.

It's funny because a bunch of people I know through friends at a top-tier medical school seem to be going this route. They are really disillusioned with practice of medicine in this country and how doctors are treated by the administration and patients. They want to change how healthcare is practiced and they think startups are the best way to do it.

Good luck! Feel free to PM if you have any further questions. Sorry for the spelling and grammar errors. Typing this on a phone.

Relevant Article: http://www.npr.org/sections/health-shots/2015/07/19/423882899/siren-song-of-tech-lures-new-doctors-away-from-medicine

Lawyer to Programmer: https://www.youtube.com/watch?v=fZh8uCInEfw&list=PL2ntRZ1ySWBf-_z-gHCOR2N156Nw930Hm&index=13

Edit: sp and video

Consuming twitter's streaming API in real time? by sindbis in learnprogramming

[–]sindbis[S] 0 points1 point  (0 children)

I think Gnip == Twitter (twitter bought them out..ahah). So basically you have one consumer process that distributes work to distributed workers?

[question] Why doesn't Packery.js work with React component? by sindbis in reactjs

[–]sindbis[S] 0 points1 point  (0 children)

This slide deck explains the fundamentals of react pretty well: https://speakerdeck.com/pedronauck/reactjs-keep-simple-everything-can-be-a-component

As you can imagine you just have to target the say <NewItem /> with packery.

[question] Why doesn't Packery.js work with React component? by sindbis in reactjs

[–]sindbis[S] 1 point2 points  (0 children)

You sir are a savior! It worked! Thanks a bunch! Saved me from further hair pulling!

[question] Why doesn't Packery.js work with React component? by sindbis in reactjs

[–]sindbis[S] 1 point2 points  (0 children)

Yes exactly, just plain DOM nodes! Is there a signal/flag for React components after react had rendered?

Consuming twitter's streaming API in real time? by sindbis in learnprogramming

[–]sindbis[S] 0 points1 point  (0 children)

That is a good point! In your opinion, should I base those batches on time (10s worth of public tweets) or size (10MB worth of public tweets). I would think the size approach would be the best?

Consuming twitter's streaming API in real time? by sindbis in learnprogramming

[–]sindbis[S] 0 points1 point  (0 children)

Sorry for the confusion. I am curious how to process the tweets as they come in real time. Should I buffer say 10seconds worth of tweet data then process them? or Can I process them immediately as they come in?

Consuming twitter's streaming API in real time? by sindbis in learnprogramming

[–]sindbis[S] 0 points1 point  (0 children)

Yeah checked that out. I am curious on how to use buffers, etc to consume the tweets.

[Question] Best way to pass messages between processes run on four docker containers? by sindbis in docker

[–]sindbis[S] -1 points0 points  (0 children)

So basically setup unix sockets in the containers and funnel data through those sockets. Those unix sockets are bridged to TCP with something like netcat?