Live data from Hacker News

Viewing profile — 00ajcr

00ajcr

HN member
Joined
Wed, Jan 25, 2017, 7:33 PM UTC
HN karma
54
Public activity
13 items

About 00ajcr

No profile information was provided.

Recent public activity

  1. comment
    Comment #43042543

    There's a Cython implementation (the .pyx file). The Cython code is compiled to C code (then that C code is compiled).

  2. comment
    Comment #33683658

    Less ambitious than where? I don't think UK people are inheritantly less ambitious than anywhere else, but the very low social mobility here has always dragged down potential for s…

  3. comment
    Comment #31266515

    My interpretation of the point in the blog post was that explicitly spelling out variable names makes APIs and the underlying code much more accessible to a wider audience. Sure, t…

  4. comment
    Comment #31196502

    Aside from significant whitespace (which I suppose takes a little getting used to), is there anything that marks out Python's syntax as particularly rigid compared to other languag…

  5. comment
    Comment #24167917

    To broadcast operations (such as addition) between arrays in NumPy, trailing dimensions have to be equal (or be of length 1). In the example given above the 3D array and 2D array h…

  6. comment
    Comment #23131473

    For fans of crime/detective novels, I would not hesitate to recommend 'The Chain of Chance'. Utterly gripping, fascinating, and a gateway to Lem's sci-fi works.

  7. comment
    Comment #22282122

    I think it's the `--skip-string-normalization` flag which means "Don't normalize string quotes or prefixes".

  8. comment
    Comment #19011689

    Surely the [sic] annotations are to indicate that the quotations are unchanged from the original source text, which contains somewhat archaic language and misspellings of words whe…

  9. comment
    Comment #16797158

    Philip Guo has an excellent set of video lectures on CPython internals, which includes an overview of parts of ceval.c: http://pgbovine.net/cpython-internals.htm

  10. comment
    Comment #16515793

    Useful tips and a nice skeleton! There's also a great guide to cleaning bones from animals (in various states of decay) on the blog Jake's Bones that I've referred to a couple of t…

  11. comment
    Comment #16477250

    I started writing a '100-pandas-puzzles' set of exercises here: https://github.com/ajcr/100-pandas-puzzles There's also pandas_exercises by Guilherme Samora ( https://github.com/gu…

  12. comment
    Comment #16477200

    There are some nice exercises here, good work. For question 48 it might be simpler to just write np.sort(a)[-5:] instead of using argsort() and then using fancy indexing. Better ye…

  13. comment
    Comment #13485243

    No! Never do this in Python. You are making the flattened list by continually concatenating the smaller lists. Each concatenation creates the new bigger list from scratch; the flat…