News for hackers. Stuff that matters.

dqminh

We mostly use replicated MergeTree, SummingMergeTree, AggregatedMergeTree etc. And yes, we do use Kafka engine to consume directly from Kafka, in additions to standard Clickhouse inserters.
Re:CircleCI: Our First Postmortem on Tuesday May 21, 2013 @12:51PM (#5744929)
any reason why you guys choose to pipe the compressed content into `tar xzf` process inside the container instead of extracting it outside and overlay the extracted content onto the container via overlayfs or something similar ?
anyone knows how does this perform compared to http://ace.ajax.org ?
Re:Plugins you should put in your vimrc on Monday September 03, 2012 @10:34AM (#4470488)
i had trouble with CtrlP initialy because the initial load time is too slow. However, this config line fix it for me

  let g:ctrlp_user_command = ['.git', 'cd %s && git ls-files']
It lets CtrlP use git to list files, which is much faster for large project
Re:Processing photos on demand with Photon on Saturday August 04, 2012 @04:05AM (#4337907)
I tried to write an interface to ImageMagick's MagickWand in Golang as well to solve the same problem. You can find it here: https://github.com/dqminh/mage
Re:Visualized Git practices for team: branch, merge, rebase on Saturday January 28, 2012 @10:29AM (#3522268)
We faced this situation before. What we do is: - When there is a feature that is not done yet, but has some user-facing code, we use feature toggler to disable it on production - we deploy quick fix by doing a cherry-pick

We discussed about branching a while ago to solve this problem more effectively but still not satisfied with the pros vs cons. For us, branching only makes sense if we switch to use branching completely, and thats quite a big change.

Re:Visualized Git practices for team: branch, merge, rebase on Saturday January 28, 2012 @10:05AM (#3522209)
Its opposite for us. At work, we dont use branch, only git pull --rebase on master. Any idea on when and why to use branches often ?
Re:PHP to Objective C, where are the parameters? on Monday January 16, 2012 @08:41AM (#3470568)
python also has this right by introducing named parameters. The same function in python can be written as:

  do_send_mail(recipient="[email protected]", cc="[email protected]", subject="Hello!", body="hi!")
Re:64-bit MacBook Pro notebooks may take up to 16GB of RAM on Wednesday October 26, 2011 @08:35PM (#3161091)
no, more ram means less power consumption because you are accessing hard drive less often.
Re:Ask HN: Who is Hiring? (September 2011) on Thursday September 01, 2011 @10:48AM (#2950215)
Re:Flask 0.7 Released (Python Web Framework) on Tuesday June 28, 2011 @01:53PM (#2706395)
Tornado doesn't have any orm, it only has a very thin wrapper around MySQLdb.
Re:Test Driven Development in Python on Monday June 13, 2011 @11:31AM (#2649365)
attest (http://packages.python.org/Attest/) is a really nice test framework too. Feels much more natural to me than the usual setUp/tearDown pattern.
Re:3D Printed Bikini on Tuesday June 07, 2011 @03:17AM (#2628207)
if you have Chrome, install Google Font Previewer, choose Droid Sans
There is SplFixedArray http://www.php.net/manual/en/class.splfixedarray.php, not sure if this is the one he mentioned though.
Re:Introducing Overlay Scrollbars in Unity on Saturday March 05, 2011 @10:33AM (#2291611)
I love this. In fact, i think it would be even more awesome if we can have something similar to Wave's scrolling style in normal desktop application.
the site looks great. Registered ;)