Better HN
topnewbestaskshowjobs
Log inSign up

dqminh

132 karma · joined Jun 8, 2010 (16y ago) · 24 submissions

http://github.com/dqminh
Submissions

comment 7y ago · link · parent

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.

comment 13y ago · link · parent

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 ?

comment 14y ago · link · parent

anyone knows how does this perform compared to http://ace.ajax.org ?

comment 14y ago · link · parent

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

comment 14y ago · link · parent

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

6.

Pelusa - Static analysis Lint-type tool for Ruby(github.com ↗)

3 points · by dqminh · 14y ago · discuss

7.

Redis.rb pipelined queries(acroca.com ↗)

2 points · by dqminh · 14y ago · discuss

8.

Ruby modules called, they want their integrity back(blog.8thlight.com ↗)

3 points · by dqminh · 14y ago · discuss

9.

Cedar - BDD Testing for Objective-C(github.com ↗)

18 points · by dqminh · 14y ago · 2 comments

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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 ?

12.

The iOS Beginner blog series(kentnguyen.com ↗)

74 points · by dqminh · 14y ago · 11 comments

comment 14y ago · link · parent

python also has this right by introducing named parameters. The same function in python can be written as:

  do_send_mail(recipient="some@email.com", cc="another@email.com", subject="Hello!", body="hi!")

comment 15y ago · link · parent

no, more ram means less power consumption because you are accessing hard drive less often.

comment 15y ago · link · parent

Singapore: http://jobs.triplepoint.asia/jobs

16.

A California-sized solar panel(blog.jonudell.net ↗)

11 points · by dqminh · 15y ago · discuss

comment 15y ago · link · parent

Tornado doesn't have any orm, it only has a very thin wrapper around MySQLdb.

comment 15y ago · link · parent

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.

comment 15y ago · link · parent

if you have Chrome, install Google Font Previewer, choose Droid Sans

comment 15y ago · link · parent

There is SplFixedArray http://www.php.net/manual/en/class.splfixedarray.php, not sure if this is the one he mentioned though.

21.

Hello - another iPad app for Facebook(helloipadapp.com ↗)

2 points · by dqminh · 15y ago · discuss

22.

Mirah, an expressive JVM language(youtube.com ↗)

2 points · by dqminh · 15y ago · discuss

comment 15y ago · link · parent

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.

comment 15y ago · link · parent

the site looks great. Registered ;)