Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
NhanH
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
75 ms
·
811.
▲
by
NhanH
11y ago
OOP and functional has never really been a meaningful axis to categorize programming languages. There are more difference between Smalltalk(OOP) and Java(OOP) than say, Smalltalk and Lisp(supposedly more FP). It's probably better to ca
812.
▲
by
NhanH
11y ago
The syncing in meteor-style is something I've been interested in for a while. Do you by any chance have any document on how it's done?
813.
▲
by
NhanH
11y ago
If JSON requires the string to be double-quoted, then it's more convenient to use singe quotes, since your embedded JSON string (if you ever used it) won't need to have its quotes escaped.
814.
▲
by
NhanH
11y ago
I don't know about that conclusion. And that wasn't what I said either.
815.
▲
by
NhanH
11y ago
Reddit is already mainstream by any sense of the words. The reason it's full of hateful, annoying etc. people is because that's how anonymous human behave. Reddit is not a super secret group that only hateful bad apple knows about
816.
▲
by
NhanH
11y ago
I remember reading that attractive women is discriminated against in certain situation, fundraising being one of those (men will probably do better in fundraising). Although in aggregate of everything in life, I wouldn't be surprised
817.
▲
by
NhanH
11y ago
The number I've heard is 20x your annual expenses. I don't think there are any meaningful sources to cite here, but I remember reading that from the Mr Money Mustache crowd.
818.
▲
by
NhanH
11y ago
Scheme macro is hygienic, which make certain type of macro impossible to be done (those that capture itself). Also depend on who you ask, hygienic macro is slightly more annoying to use.
819.
▲
by
NhanH
11y ago
In short term, day trading is effectively a zero sum game. During a recession the stocks crashed in a really short period hence for any to gain, some has to lose money.
820.
▲
by
NhanH
11y ago
Is it the contempt for children, or the contempt for people who believes that having children is the only way to live a life?
821.
▲
by
NhanH
11y ago
It's just a thought experiment, random definitely doesn't work since specialization does exist. But otherwise, what do you think would backfire?
822.
▲
by
NhanH
11y ago
> I don't know a solution. What strikes me is that as broken as the system seems, we still manage to hire good people most of the time. Interestingly, the simplest conclusion would be that everyone is good, most of the time . So if
823.
▲
by
NhanH
11y ago
That's not true (your 2nd paragraph), and I speak from experience (of course, i cant speak for everyone. There is a saying that "happiness is a state of mind, not a state of thing". There are always things to strive for, regr
824.
▲
by
NhanH
11y ago
Emacs + slime for Common lisp and tuareg mode for ocaml can do everything that my intellij can do in Java. Then I can extend Emacs to cast a spell, hex vim users and spam HN every time I fixed a bug -- even with plug-ins system I suspect in
825.
▲
by
NhanH
11y ago
I'm sorry if this sounds rude, but what's the point you're trying to make? I can't quite figure it out.
826.
▲
by
NhanH
11y ago
The high level stuff is the same, and works out of the box. But if you're asking about why Linux doesn't work on some hardware , then it's about the low level stuffs having slightly different optimization and changes and bre
827.
▲
by
NhanH
11y ago
You are looking at it the wrong way: things do not work by default (imagine you got world's first computer, some one has to write the code for it), hence someone has to spend the work on it for it to work.
828.
▲
by
NhanH
11y ago
It's the way the spell is used in the game. In short, there are two way you can use a spell in the game: you can click on the spell, then click on another character. Or you can click on a spell, then click on the direction you want the
829.
▲
by
NhanH
11y ago
Just tangentially related, but I believe one of PG best essay (imo) would be appropriate for all parties involved: http://www.paulgraham.com/say.html
830.
▲
by
NhanH
11y ago
> It is arguably the best way to learn the language; after all, it was the way you learned your first language It took me ten years to be as proficient as a ten years old kid in my first language. So I don't think the way we learn o
831.
▲
by
NhanH
11y ago
Just to be clear, I think that interviewing with Triplebyte was the best experience in interview I've done so far, and I would definitely recommend Triplebyte impromptu for anyone looking for job. I vow to never interview with Google a
832.
▲
by
NhanH
11y ago
> I ask whiteboard coding questions not because I care if the applicant can do some trivial task, but basically to gauge familiarity. Someone who writes code in a language every day for their current job should not have any trouble expre
833.
▲
Ask HN: Americans, how would you change the H1B visa?
6 points
by
NhanH
11y ago
|
11 comments
834.
▲
by
NhanH
11y ago
Interestingly, I first started with C (although I haven't written a line of C code for a long time), and when I first move to higher-level languages, I dislike the fact that I have no idea where the file I just imported is. Moreso when
835.
▲
by
NhanH
11y ago
Normally it's both, the post will have to specify which case it is for them.
836.
▲
by
NhanH
11y ago
This is about as empty as criticism could get. If a company is solely focus on revenue then it's "short sighted and make bad product". Otherwise they're "over funded without business plan". You can't win a
837.
▲
by
NhanH
11y ago
Bet you ten bucks that any large scale programs (>60k LoC) in brainfuck is unmaintainable -- it's quite obvious that there are certain languages that are more maintainable than other, stupid stuffs or not.
838.
▲
by
NhanH
11y ago
There seems to be a lot of explanation from a business-y POV as to why dating startup is hard, but I'm curious from a different POV: does dating company/apps actually solve any problem that people are having? To be more precise, d
839.
▲
by
NhanH
11y ago
You shouldn't try to make it short on purpose because that will obscure the meaning of the variable. But long name by itself could be systematic error in abstraction (BananaSingletonFactoryFactoryCacheFactory comes to mind). At the ver
840.
▲
by
NhanH
11y ago
Out of curiosity, how old were you at the time?
More ›