Live data from Hacker News

Viewing profile — sold

sold

HN member
Joined
Fri, Feb 10, 2012, 3:06 PM UTC
HN karma
367
Public activity
137 items

About sold

No profile information was provided.

Recent public activity

  1. comment
    Comment #12257282

    Since Django 1.10 you can simply use get_random_secret_key in django.core.management.utils. This will not work: if python3: print (SECRET_KEY) else: print SECRET_KEY because it's a…

  2. comment
    Comment #12205432

    No, that's 1.11 (a LTS release)

  3. comment
    Comment #12157618

    "Monad" in English and "Monade" in German are the same, they can both mean the functional programming concept or the philosophical concept. You can just ignore the philosophical co…

  4. comment
    Comment #11885086

    It's Python - you can do a lot of meta-programming with it, though unlike Lisp and Mathematica there's a division between expressions and statements.

  5. comment
    Comment #10741298

    Earlier version was wrong https://cstheory.stackexchange.com/questions/1064/polynomial... , I doubt the current version has any substance.

  6. comment
    Comment #10740484

    The algorithm is only of theoretical interest, the situation is similar to primality testing. In practice programs such as nauty are good enough.

  7. comment
    Comment #10686258

    I set up an alarm clock for "detox" every day. I turn off my computer, silence the mobile phone and do nothing but read for hour or two. Resist any temptation to check email. I've …

  8. comment
    Comment #10584670

    I'd like to add this scenario actually happened during the Cold War. Soviets were reusing one time pads and the US army decrypted some of the messages, among other things this lead…

  9. comment
    Comment #10454830

    Alias often used commands, I have g = git, sl = ls (common typo). Git: set up aliases. I can type "g co = git checkout", "g st = git status". Git configuration: pull.ff only (then …

  10. comment
    Comment #9871648

    Yes, ff-only will fail. If C,D are independent and simple, I would go ahead and rebase, otherwise do a proper merge. Remember you can play a lot with git; if you are not sure how i…

  11. comment
    Comment #9871277

    I recommend git config --global pull.ff only instead, then you can use "git pull" without worries. Or, git pull --ff-only

  12. comment
    Comment #9763952

    See also http://www.quora.com/What-is-an-intuitive-way-of-explaining-...

  13. comment
    Comment #9681202

    > in fact, I think it's better than what languages with far richer type systems offer Can you explain why? I don't know Kotlin, but from this page it seems to divide types into nul…

  14. comment
    Comment #9478013

    > this can lead to unexpected conflicts and can be relatively counter-intuitive to undo. git merge --abort. Perhaps not intuitive, but it's a single command.

  15. comment
    Comment #9053601

    See other threads e.g. https://news.ycombinator.com/item?id=9053552

  16. comment
    Comment #9044361

    I see, thanks.

  17. comment
    Comment #9044253

    What is the difference between x ?: y and x || y?

  18. comment
    Comment #9044090

    Unary representation is useless when speaking about complexity in number theory. If you take a number N given in unary, convert it to binary and do trial division up to the square …

  19. comment
    Comment #8790044

    Flux https://justgetflux.com/ or redshift http://jonls.dk/redshift/ . Try setting it to the smallest temperature possible for 30 minutes and then turn it off to see the difference.…

  20. comment
    Comment #8712387

    Note it's not a pull request; it's an issue in the tracker. Had it been a prepared patch, I would have more sympathy towards the reporter.

  21. comment
    Comment #8506502

    If you ask Mathematica whether x^n + y^n = z^n has solutions for n>2 and x,y,z>0, the system will simplify it to "False", displaying knowledge of Fermat's last theorem. This is tak…

  22. comment
    Comment #7906758

    A harder quiz: http://helloworldquiz.com/

  23. comment
    Comment #7584897

    That's exactly the point of monads - see http://homepages.inf.ed.ac.uk/wadler/papers/marktoberdorf/ba... . Such a system is still pure, btw.

  24. comment
    Comment #7567739

    When I write a program, I don't want it to be just correct (true); I want it to be _provably_ correct; I want to be able to be convinced that it is correct, at least in principle, …

  25. comment
    Comment #7521358

    I'd like to add x^y is also used other contexts - e.g. for cardinal numbers and ordinal numbers.