Live data from Hacker News

Viewing profile — rubber_duck

rubber_duck

HN member
Joined
Thu, Mar 10, 2016, 5:37 PM UTC
HN karma
2,864
Public activity
951 items

About rubber_duck

No profile information was provided.

Recent public activity

  1. comment
    Comment #24394769

    My point is that in a good code base types should be obvious from context. If you don't know the context then you will be slow (and make a lot of mistakes) no matter what the type …

  2. comment
    Comment #24394476

    Pointless typing and verbose code has nothing to do with writing code - it's all about code being readable. Java type declarations can be 20+ characers - just scanning through the …

  3. comment
    Comment #24390488

    I'm not saying Java should have introduced ground breaking features - I'm saying they made design mistakes that they should have corrected far sooner (var/type inference) and refus…

  4. comment
    Comment #24390470

    Not really - Java designers were just plain wrong and it took forever to admit it - things like local type inference (var) made the language pointlessly verbose for ages, and simpl…

  5. comment
    Comment #24390364

    When you add those to the mix you're dealing with destructors, ownership, etc. so I don't see anything wrong with using stuff like unique_ptr/shared_ptr. And C tends to reinvent ob…

  6. comment
    Comment #24390351

    >The Java strategy of being very conservative about what you add to the frontend would have done C++ a lot of good after C++11 (or even before that). Java lost a lot of mindshare t…

  7. comment
    Comment #24379744

    I'd guess there is there is too much money in it due to the fact that central banks killed interest rates and started buying government bonds as needed - where pension funds would …

  8. comment
    Comment #24373030

    > and someone brings up the fact that ISIS used one of them... They used Facebook, Twitter and YT for propaganda and Gmail for coordination (that thing about saving a mail draft on…

  9. comment
    Comment #24367501

    >Yes, it gains you some of the economics of factory construction and that you can start small and scale a location, but on the other side you lose that again because you lose the e…

  10. comment
    Comment #24367387

    Thing is this kind of design benefits massively from economies of scale, same kind of thing that has drawn the price of PV down and other green energy.

  11. comment
    Comment #24365217

    >As I said in another thread, the problem is not writing the SQL. The problem is everything else after you have written it (applying on deploy, automating for other's dev envs, rol…

  12. comment
    Comment #24346841

    IMO watching a few sci-fi movies in 4k+ looks ridiculous - I start noticing the difference between CGI environment and actors and it kills the immersion completely, it goes from "t…

  13. comment
    Comment #24331610

    > I am really stoked for the future of programming languages, when localization is just a matter of translating some words. My experience with localised codebases (in my native lan…

  14. comment
    Comment #24328753

    >Simply, if a restaurant offers 20 different dishes, it means each dish gets 20x less attention than if you had only one choice. Less fresh ingredients, less time perfecting the re…

  15. comment
    Comment #24327858

    You make a good point ! The thing I would put on communism is reduction of wealth and standards, so when the west rebuilt and went forward we got stuck with concrete slabs. It's ju…

  16. comment
    Comment #24327572

    True, I'm just not sure that I'd trust the DB isolation once the user has SQL injection. I never saw a SQL injection report on a project (well since the PHP days) ORMs solved this …

  17. comment
    Comment #24326792

    Well if you have SQL injection bugs then you have bigger issues to worry about - I've used this to enforce multi-tenancy on database access level (like another poster said - preven…

  18. comment
    Comment #24326215

    >That makes connection pooling difficult and presents its own security issues on limiting the tenant to only their DB user. Can you use SET LOCAL ROLE on each transaction ?

  19. comment
    Comment #24326129

    My uneducated gut feeling is that the only way nuclear is going to be relevant is if they perfect micro-nuclear reactors. I remember reading about these 10 years ago [1], and have …

  20. comment
    Comment #24317866

    That's kind bad - first of all 50$ can be really low depending on the region, but more importantly this disregards the time spend on looking for exploits that don't pan out. So I w…

  21. comment
    Comment #24307004

    Not really true - there are plenty of buildings for the common folk from say 1920-1950, large apartment complexes where your middle class people would live. They aren't grandiose b…

  22. comment
    Comment #24301177

    > it's such a huge improvement I can't imagine going back In what way ?

  23. comment
    Comment #24285657

    I find it funny that anyone would romanticises socialist architecture. I've grown up in a port town in former Yugoslavia (Rijeka) and if you walk throughout the city it's obvious t…

  24. comment
    Comment #24266607

    That's not much of a value gain it would just push the industry further away from ARM. x86 has a lot of legacy power and it enjoyed being the only relevant platform for a long time…

  25. comment
    Comment #24261078

    >That said, no matter which way you skin it, if you increase complexity then you increase risk. This isn't really true, for eg. if you add redundancy technically you increase the c…