HNHacker News
TopNewBestAskShowJobs

sbhat7

275 karma · joined September 13, 2009

sukumar at thinkapi.com
submissionscomments
sbhat7··on Rebuilding My Personal Infrastructure With Alpine Linux and Docker
Deployment of a new version would depend upon your setup. Assuming a setup similar to the author, you can have a new Docker images with the new version of your code and run it in parallel. All you have to do after that is point the traffic from the old version to the new version (By just running `docker compose`).

If you have a more complex setup, e.g. if by using Kubernetes, you can do things like run both the version at the same time, person A/B testing or have canary deployments to ensure the new version works .

Time for deployment would be most likely in seconds unless the setup is complex/convoluted.

Schema modifications are another beast. For small use cases, you could run a specialized one time container that performs the modifications, but once you need high availability, you'd have to consider a more complex approach. See https://queue.acm.org/detail.cfm?id=3300018

sbhat7··on Diagrams: A diagram editor for the Mac
I've used FMC[1] with decent results. C4 modelling[2] is another option, but I personally haven't used it yet.

1. http://www.fmc-modeling.org/quick-intro

2. https://c4model.com/

sbhat7··on Raft: Understandable Distributed Consensus
To add a new node to the network, it

* needs to have the same data as the other nodes

* needs a round of Raft to notify its presence to other nodes

So you can only add new nodes (automatically) when you have a 'live' system.

majority = ceil((2n + 1)/2) : so by getting the number of available nodes in the partition, nodes can figure out if they are in the majority or minority cluster.

See section 6 in the paper for details of its implementation.

sbhat7··on Raft: Understandable Distributed Consensus
From 9.1 section in the paper,

> Each student watched one video, took the corresponding quiz, watched the second video, and took the second quiz. About half of the participants did the Paxos portion first and the other half did the Raft portion first in order to account for both individual differences in performance and experience gained from the first portion of the study. We compared participants’ scores on each quiz to deter- mine whether participants showed a better understanding of Raft.

sbhat7··on Raft: Understandable Distributed Consensus
> To give an example, say I have n machines in datacenter A, and n*.99 in datacenter B. datacenter A gets destroyed, permanently. Does datacenter B now reject all (EDIT: where reject = not commit) requests until a human comes along to tell it that datacenter A isn't coming back?

Of CAP, you are now choosing CP with Raft. So yes, the system is unavailable until an external agent fixes it. In other words, the system needs to have a majority of nodes online to be "available".

sbhat7··on Review of the First Three Johns Hopkins Coursera Data Science Courses
Google web cache: http://webcache.googleusercontent.com/search?q=cache:8LyCs4h...
sbhat7··on HyperDex: Super-charging your NoSQL with a Strongly Consistent Datastore
Previous and relevant discussions:

http://news.ycombinator.com/item?id=3622059

https://groups.google.com/forum/?fromgroups#!topic/redis-db/...

sbhat7··on The Best Advice My Dad Ever Gave Me (for Demo Day)
Its a part of all blogs on svbtle.com
sbhat7··on Wooga releases mobile HTML5 Game as Open Source
There is an issue open[1], looks like a fix is in the works.

1. https://github.com/wooga/Pocket-Island/issues/2

sbhat7··on Go nameless to your next conference
http://webiphany.com/resume/cv.html
sbhat7··on If your client has a problem with a site, send them here and ask for details
Not sure if they added this now, but there is a send e-mail form at the top of the page that just does this.

Also, looks like its all the standard info that can be detected in general. More specific things like n/w info might be harder to get.

sbhat7··on Kickstarter project for $100 - 1 kW - stirling engine
I suppose he is referring to this - http://www.thinkgeek.com/gadgets/9e84/
sbhat7··on Hacker News Fires Steve Yegge
My friend used to work for a large multi-national. In his company, each of the departments were like companies in itself. The formalities for quitting the job and changing departments were the same. So most of the time the only way to get off a bad project was to quit the company.
sbhat7··on India's Leading Export: CEOs
Well, if you look at India's performance in the Olympics (http://en.wikipedia.org/wiki/India_at_the_Olympics), thats not necessarily true.
sbhat7··on Kind of Screwed
http://waxy.org.nyud.net/2011/06/kind_of_screwed/
sbhat7··on Ask HN: Review my startup - Lean Designs Website Builder
Another approach could perhaps be charging for the number of designs instead.
sbhat7··on How Digg is Built
Nice article. It'd be great to have some numbers that indicate the size/scale of the system and its components.
sbhat7··on Remnants of a Disappearing UI
To go to full-screen mode and exit?
sbhat7··on LinkedIn forcing password resets due to Gawker hack
This would also mean they downloaded the copy of gawker's hacked database, which is probably why they didn't provide more details.
sbhat7··on Ask HN: What is a monad?
Slides from functional programming class might clarify things a bit [PDF].

http://www.it.uu.se/edu/course/homepage/avfunpro/ht10/notes/...

sbhat7··on Fluid Layout from Hicksdesign
You missed the footer.

    The problem with natural selection is that there's no one to blame for the design of testicles
sbhat7··on Photoshop CS5's new "Content-aware Fill"
"Any sufficiently advanced technology is indistinguishable from magic."
sbhat7··on Hacker News bans Google and all other search engines
"something 4 people use every 6 months doesn't tend to get optimized much"
sbhat7··on How to begin to teach yourself how to code, starting from scratch
Python.

http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Compute...

sbhat7··on I am a guy who sold his startup and I have like $20M in the bank. AMA.
Would it be possible to have AMAs and AMAAs here?
sbhat7··on Ask HN: Legal to stream music online in India ?
Almost all music streamed and played in India online is illegal. PPL India (http://www.pplindia.org/aboutus.html) cracks down on such websites.

One needs to obtain specific license from PPL for streaming music online and such a license is quite expensive.

sbhat7··on How GrubHub.com confirms with restaurants that they placed a delivery order
The link is pointing to an image. This is the actual link

https://www.grubhub.com/

sbhat7··on Confessions of an IT pro: My biggest professional blunders
This is why we blacklist databases/tables that are not to be backed up and backup everything else. This makes sure any new database is added to the backup.
sbhat7··on Ask HN: Anybody here active on folding at home ?
I have been running http://www.worldcommunitygrid.org/ which has similar goals.

Some of its stats are - http://www.worldcommunitygrid.org/stat/viewGlobal.do

sbhat7··on Google introduces "Fast Flip"
This is especially true for mobile devices with limited bandwidth.- http://fastflip.googlelabs.com/mobile
Page 1 of 2Next →