Live data from Hacker News

Viewing profile — b6fan

b6fan

HN member
Joined
Tue, Apr 10, 2012, 2:32 PM UTC
HN karma
6
Public activity
19 items

About b6fan

No profile information was provided.

Recent public activity

  1. comment
    Comment #29789471

    Lazarus / LCL. It is cross-platform, lightweight (more lightweight than Qt since it uses native widgets), can be used for commercial purpose, and is fast to compile. The limitation…

  2. comment
    Comment #9363431

    I sometimes find LaTeX too verbose. And sometimes it's very tricky to do seemingly trivial things. For web development, HTML, CSS, Javascript can be written directly, or generated …

  3. comment
    Comment #9341281

    The `codecs.register` approach is interesting. I hope Ruby has something similar. Unfortunately I could not find such thing in Ruby.

  4. comment
    Comment #8930515

    I think both the old and new diff worth a look. Maybe showing them using different colors is a good idea. Phabricator uses light colors to show changes not introduced in this patch…

  5. comment
    Comment #8930385

    Actually I am using this syntax with React 0.12.1. React.DOM just work as expected. For custom components, prepend "React.createClass" with "React.createFactory". See http://jsfidd…

  6. comment
    Comment #8929574

    One thing I like React is it is plain javascript. Therefore I can use coffeescript to describe the component: {div, p, ul, li} = React.DOM ... render: -> div className: 'foo', p cl…

  7. comment
    Comment #7702996

    This may be why concerning of testing in ruby, dhh supports native Test::Unit instead of Cucumber [1]. 1. http://cukes.info

  8. comment
    Comment #7639996

    Yeah. pacman is a killer feature. I always install pacapt [1] before dealing packages elsewhere. [1] https://github.com/icy/pacapt

  9. comment
    Comment #7478352

    Does this mean people live in Autarctica could live longer but think slower?

  10. comment
    Comment #7477819

    I think GNOME3 is breaking *nix philosophy: do one thing and do it well; to be highly configurable. You have freedom to use compiz in GNOME2, but not in 3. There are a lot of good …

  11. comment
    Comment #7258813

    There is a vim plugin: rename.vim [1] which basically do the same job but without go dependency. [1] http://www.vim.org/scripts/script.php?script_id=1721

  12. comment
    Comment #7247672

    Or use dlopen, dlsym to get the real function.

  13. comment
    Comment #7217362

    Maybe Facebook could try something like Flattr: one user has, say, 30 likes per months for pages. If he or she likes 3000 pages in one month, then each like counts as only 0.01 nor…

  14. comment
    Comment #7207399

    I have used ptrace and cgroup (in an online judge system). The cgroup way feels more correct and stable while ptrace feels a hack. The usage of ptrace and SIGSTOP in upstart looks …

  15. comment
    Comment #6711339

    The Ruby way is: 1. common (not all) things are simple / elegant. 2. Advanced things are doable, usually require a slightly more complex syntax. For example, Ruby allows one "block…

  16. comment
    Comment #6704871

    The Ruby examples are unfair. Ruby intentionally makes parenthesis optional. So `do_something` is `do_something()`. For the first example, - method_as_fun = o.my-method - method_as…

  17. comment
    Comment #4533445

    I write another one for ruby, check out samples here: https://github.com/quark-zju/easysh Although its functions are a subset of sh for python. It has many synatactic sugars, makes…

  18. comment
    Comment #4533185

    Seems not working with cruby 1.9.3 ? SyntaxError: .../rubysh-0.0.2/lib/rubysh/subprocess/parallel_io.rb:77: Invalid next

  19. comment
    Comment #3822380

    I noticed that hamlet.rb is based on slim. Why not use slim directly?