HNHacker News
TopNewBestAskShowJobs

baghali

145 karma · joined August 20, 2011

submissionscomments
baghali··on Qanat
There is also this video about Qanats in Iran: https://www.facebook.com/32848633159/videos/1015351116587816...

Sorry for the fb link, could not find it in YouTube

baghali··on Iranians Are Using Satellite TV to Beam in Banned Internet
Nope! This is recipe for disaster. We need people like Mandela to do what he did with his prison guard :)

Eye for an eye, makes the whole world blind.

baghali··on Iranians Are Using Satellite TV to Beam in Banned Internet
Nope! We need reform
baghali··on Linux QoS for humans
What are the pros/cons of using FireQoS vs. OpenWRT's SQM?
baghali··on Linux QoS for humans
Oops, never mind: http://firehol.org/installing/openwrt/
baghali··on Linux QoS for humans
This is awesome. Would be great if it gets OpenWRT integration as well.
baghali··on Tcpdump is amazing
For a moment I read Tcpdump as Trump
baghali··on Sharding Pinterest: How we scaled our MySQL fleet
I'm curious to know how Pinterest or Instagram decide about what goes inside each shard? Do they shard by user ids or something else? Secondly, would like to know if a shard gets more data than other shard, how do they load balance?
baghali··on Rearchitecting GitHub Pages
Question from Githubbers:

Have considered using cluster file systems such as GlusterFS or Ceph?

baghali··on Twilio Adds Low-Cost, Two-Way MMS Picture Messaging to Its API Cloud
Bandwidth.com being a wholesale carrier of VoIP services is the primary carrier for Twilio, Plivo, Google Voice, etc...

Bandwidth delivers SMS over SMPP. Initially the MMS launch was due for mid October, seems they launched it ahead of time.

In the following weeks you'll see lots of different providers announcing their MMS capability.

Bandwidth should get the credit for their brilliant work.

baghali··on Twilio Adds Low-Cost, Two-Way MMS Picture Messaging to Its API Cloud
Well, all the kudos should go to Bandwidth.com the primary carrier of of Twilio, Plivo, Google Voice, etc ...
baghali··on How to create good outcomes when negotiating
"Begin with the end in mind"

-- Stephen Covey (Habit 2, The 7 Habits of Highly Effective People)

Above rule has helped me a lot throughout my personal and professional life.

baghali··on Roundcube Webmail 1.0.0 released
Your [2] link is awesome :)
baghali··on Ask HN: Is Ryan Bates okay?
<3 you Ryan, owe you my business
baghali··on Elasticsearch – the definitive guide
Easiest way for me to learn Elasticsearch was through queries generated by Kibana [1] and playing with them inside Sense [2]. Kibana relies on Facets, version elasticsearch 1.0 introduces Aggregations, I would suggest using aggregations for your projects.

[1] https://github.com/elasticsearch/kibana

[2] https://chrome.google.com/webstore/detail/sense/doinijnbnggo...

baghali··on Zapier Email Parser: Extract Text From Automated Emails
Is it possible to extract repeating patterns? example would be extracting repo name, number of stars, language and project description from GitHub Archive daily digests.

sample mail: http://us5.campaign-archive2.com/?u=439aa16a39e4b10e0b65ff2e...

baghali··on Etcd 0.3.0 – Improved Cluster Discovery, API Enhancements and Windows Support
Has anyone checked out serf http://www.serfdom.io/ if yes what are the pros and cons of etcd and serf?
baghali··on Setting up Sublime Text 2
GoSublime [1] is also an awesome plugin if you write Go code.

[1] https://github.com/DisposaBoy/GoSublime

baghali··on The Beauty of Concurrency in Go
> why is there a hardcoded date marked 2006.01.02-15.04.05 there??

Date is not hardcoded, it's Go's convention of formatting date [1]

[1] http://golang.org/pkg/time/#Time.Format

baghali··on Keep TODOs in git
The best TODO tool for me is pen & a paper. Silence is also the best music I have found to listen to while working :)
baghali··on Go 1.1 Beta 2 Released
I would highly suggest watching Rob Pike's [1] talks [2] on youtube about Go.

[1] http://en.wikipedia.org/wiki/Rob_Pike

[2] http://www.youtube.com/results?search_query=Rob+Pike&oq=...

baghali··on Is Your Bank Open Today? (GUI & API for checking if banks are open)
Why POST for the api? This should be a simple GET.
baghali··on Web Framework Benchmarks
We need a project similar to TodoMVC [1] for benchmarking different languages and frameworks.

http://todomvc.com/

baghali··on How I spend my first 5 minutes on a server
Without Chef there would be no way for me to rollout a new server in our cluster. Investing time into Chef was one of the greatest things I ever did. Chef is the best documentation of our infrastructure. The second best tool I'm using is fpm[1] to make custom debian packages.

[1] https://github.com/jordansissel/fpm

baghali··on Vim After 11 Years
I personally enjoy being able to split panes vertically with iTerm2
baghali··on MySQL vs PostgreSQL
repmgr[1] is a very good replication option for PostgreSQL

[1]https://github.com/2ndQuadrant/repmgr

baghali··on Show HN: App creates a meal plan that satisfies your nutrition constraints
just eat alkaline and you will be healthy
baghali··on Ruby Patterns from GitHub's Codebase
We are still doing massive development, once our codebase is stable enough we will move them into small gems, right now it's just a bit of hassle running bundle update for every small increment.
baghali··on Ruby Patterns from GitHub's Codebase
I don't know what github is doing about their models, but I have fairly easy solution of my own: I always symlink models in my projects.

We have 2 large Rails projects and an API server using Goliath[1], one of the Rails projects and the goliath server use models with symlinks.

[1] Goliath: http://postrank-labs.github.com/goliath/

baghali··on Rails migrations with no downtime
I use percona tools pt-online-schema-change http://www.percona.com/doc/percona-toolkit/2.0/pt-online-sch..., wrote a custom gem for it while ago
Page 1 of 2Next →