HNHacker News
TopNewBestAskShowJobs

cmpitg

128 karma · joined May 30, 2011

submissionscomments
cmpitg··on The Fallacy of Motion
This is the exact reason why I keep telling myself to slow down all the time, using pen and paper, drafting the problems and solutions before getting my hands dirty, writing them down and writing them bold. One tip I learn from my current CEO is that whenever you feel you're in a heating situation, get yourself a glass of water or coffee, drink it slowly, enjoy and the moment and do nothing. That quiet moment would help you slow things down, recharge your mental energy to do better.
cmpitg··on Why people think C++ is complicated?
And what does it have anything to do with C++ compared to any other language X? The bare-metal characteristics could be created as a subset of any non-safe non-garbage-collected language.
cmpitg··on Why people think C++ is complicated?
I agree on the overhead. There are information available only at run-time that could be (and actually has been, in case of interpreter like PicoLisp) used to have better optimization compared to compiled code. It isn't technically faster or slower.

Edited: Correct my bad grammar.

cmpitg··on Why people think C++ is complicated?
That said, it's a about the implementation not the language itself. The phrase is technically incorrect, right? One could write a compiler that compiles Python or Ruby down to machine language without the interpretation overhead, and not necessarily faster or slower than their original interpreters, or other C/C++ compilers.
cmpitg··on Why people think C++ is complicated?
I don't think it has anything to do the relationship between the language and its (compiler/interpreter) performance. Besides, the subset of a large number or programming language could be considered bare metal, right? If so, why mentioning bare metal at all?
cmpitg··on On code clarity: you can't be proud of something I can't read
I don't think it's fair to separate the code and the software itself. I personally don't feel proud of the result of a piece of software if the code is crappy, i.e. spaghetti code, (almost) unreadable, unmaintainable, ...

I think what the author wanted to emphasize was the importance of code clarity, as many of us developers don't actually care. Bad code builds up negative tech debts that somebody has to pay at some point in the future.

cmpitg··on Why people think C++ is complicated?
Perhaps a bit off-topic but serious question. I don't understand whenever someone says language A is next to bare metal? What does a language have anything to do with bare metal or performance? Isn't it the compiler/interpreter that performance is about?
cmpitg··on Show HN: Emacs Mini Manual
You might want to combine Geiser with Quack[1] for best result with Scheme. Also, I think it's worth a shot to have a look at the fairly new Racket-mode[2] written by Greg[3]. Geiser + Quack are rather old and for Scheme in general, Racket-mode focuses on and is tightly integrated with Racket.

[1] http://www.neilvandyke.org/quack/ [2] https://github.com/greghendershott/racket-mode [3] http://www.greghendershott.com/

cmpitg··on Hy: The Logical choice
My bad, you're right. I didn't know the documentation section for macro was added recently. It looks pretty Common Lispy. Reader macro looks nice, still at its beginning stage though.
cmpitg··on Hy: The Logical choice
I've been following Hy for a while and it's sad that macros are still part of on-going discussions with no definite plan. It's one of the reason I prefer Scheme-inspired Lisps to Common Lisp. Hy just looks Lispy but it's no where near Lisp without all the macro system.
cmpitg··on Show HN: I started a repo for sharing algorithm implementations
How do you make sure the correctness of the implementations? Shouldn't there be tests?
cmpitg··on Hackpad
Perhaps it should be opt-out?
cmpitg··on New Persona Beta: Millions of Users Ready to Log In using Any Browser
Well, I personally don't think they do imply the same thing from a user's perspective.

* Google, Facebook, Twitter, ... have become so well-known brands comparing to the new Persona. Normal users could quickly get a sense of what "Sign in with Google/Facebook/Twitter/..." means, but not "Sign in with Persona" means.

* Persona is not a social network while other mentioned brands are or provide a sense of social network. A user might perceive "signing in with <your-favourite-social-network-provider>" as an act of making the site a part of the network; while with Persona it's totally different.

cmpitg··on New Persona Beta: Millions of Users Ready to Log In using Any Browser
So how about something like "Sign in to ABC with Persona", or "Sign in to ABC with Personal using your email" (more specific)?
cmpitg··on A new blog dedicated to Emacs
Vim counterpart everyone? :-) http://vimcasts.org/

Being a fan of both, a lot of cool things from Vim to could be brought to Emacs workflow.

cmpitg··on A new blog dedicated to Emacs
TRAMP & eshell would help you achieve 100% your local Emacs productivity on remote machines, and 100% smaller (you actually don't need to install anything on remote machine) :-)
cmpitg··on A new blog dedicated to Emacs
Not really. Emacs Lisp is really powerful but not a beautiful language. The APIs are unnatural and sometimes inconsistent to those who come from non-Lisp background. I got to write tons of "immediate" APIs to make things prettier. No namespace-like feature and undocumented APIs (like the notorius CEDET or how to create a new mode...) are real pain.
cmpitg··on Of Lisp Macros and Washing Machines (2011)
Not really. Macro makes your washing machine a "generic" one, where you could wash your clothes and your cups (even at the same time) :-).
cmpitg··on Show HN: Help us with the MIT Tetris hack
Please, at least give some comment when you're downvoting. What I said was subjective but I didn't expect it to cause this much negativity.
cmpitg··on Computer Science in Vietnam
In Vietnam, those students who have decent English skills and score high on English standard tests study most of their English outside school. They often took extra courses regularly and study in groups. The quality of English education in primary and secondary schools in Vietnam is much much worse.
cmpitg··on Show HN: Help us with the MIT Tetris hack
I don't want to provoke a flame war or to mean any offense by any chance. I'll go directly to the repo and play with the code if it's not written in Java. The code is quite clean and well readable but couldn't escape from Java noise.
cmpitg··on How I spend my first 5 minutes on a server
It's easier to get started with UFW, and you don't need to learn much about networking to be able to setup your firewall. I haven't checked this out (I prefer iptables and never actually UFW), but it's said UFW is a front-end to configure iptables.
cmpitg··on Infamous "Hacker" Ankit Fadia revealed
Shoudda learn how to make this kind of excuse! :-))
cmpitg··on Infamous "Hacker" Ankit Fadia revealed
... and a bunch of students that study in Singapore's SMU were fooled too[1]. It's not hard to find information and people's outrage about this crappy guy. I heard of him via one of my students who studied in SMU and have been waiting for the day someone unmasks him.

[1] http://en.wikipedia.org/wiki/Ankit_Fadia#Career