Live data from Hacker News

Viewing profile — spookylukey

spookylukey

HN member
Joined
Wed, Dec 29, 2010, 12:16 PM UTC
HN karma
274
Public activity
38 items

About spookylukey

No profile information was provided.

Recent public activity

  1. comment
    Comment #47894630

    The project pyastgrep https://pyastgrep.readthedocs.io/en/latest/ can use CSS selectors as a query language for Python syntax (default is XPath). e.g.: pyastgrep --css 'Call > func…

  2. comment
    Comment #46645249

    Please, please - just link to the actual "CUE" project. Not everyone has heard of your favourite thing. The first reference to `CUE` should be a hyperlink. For other people: I'm pr…

  3. comment
    Comment #36612598

    https://lukeplant.me.uk/blog/ Over 200 posts, spanning nearly 20 years. Mostly on programming, Python, Web development, some personal and Christian stuff.

  4. comment
    Comment #34618596

    I did a fairly detailed breakdown regarding the Python library Parsy: https://lukeplant.me.uk/blog/posts/python-type-hints-parsy-c... This is not to make the general claim "Typing …

  5. comment
    Comment #33270510

    Just the other day I added a recent example to that page, from https://www.wsj.com/articles/internet-mangles-names-accents-... where it is obvious that databases are storing pre-es…

  6. comment
    Comment #32033540

    This is nice. With variable fonts, some of these fonts now are slightly under-represented - for example "Recursive" is really a large family, the website shows just one extreme poi…

  7. comment
    Comment #29837171

    The default user model is fine, but I *always* start a project by extending it, for future-proofing. If you need to add to it, this is *so* much better than having to add a one-to-…

  8. comment
    Comment #29708359

    I find it very strange to have claims about the database being tamper-evident etc without a clear description of the threat/trust model, and how/for whom it works. For example, wha…

  9. comment
    Comment #28878993

    I think the case for server-side HTML rendering has never been stronger, and of all Django projects I work on, the ones I enjoy most are those that never got on the SPA bandwagon. …

  10. comment
    Comment #24303032

    I found Martin Fowler's "Technical Debt Quadrant" helpful on this - https://martinfowler.com/bliki/TechnicalDebtQuadrant.html . He argues you can have deliberate and inadvertent de…

  11. comment
    Comment #19652593

    Also, xmag, you already have it installed if you use the X Window System. It's 41kb, extremely lightweight (always starts instantly) and also magnifies a screen portion which is he…

  12. comment
    Comment #19301108

    Could you do the following in TypeScript? Can you, for any button in your interface, at any point in time, reliably calculate at runtime what your page's data model would look like…

  13. comment
    Comment #18687293

    "real money from real people's savings accounts" is not how it works. See this book - https://www.amazon.co.uk/Where-Does-Money-Come-Monetary/dp/1... Banks do indeed make money "fr…

  14. comment
    Comment #16832374

    There is no value in it because it is a false promise. If you give someone access to data, you have lost control over it, especially if it is by email - because not everyone uses G…

  15. comment
    Comment #15891511

    > There is some innate affinity for computer programming which you must be born with, and cannot be taught. This being a falsehood is a matter of considerable debate, and it's impo…

  16. comment
    Comment #14662058

    This is not the case - with Django's ORM you are still susceptible to the N+1 problem. It can be largely mitigated through `select_related` and `prefetch_related`, but the fundamen…

  17. comment
    Comment #13480496

    That's really helpful. Can you make an example which doesn't require making the my_handler function 'async'? For cases when you don't want to make an entire async stack, you just w…

  18. story
  19. comment
    Comment #13211046

    It's a bug: https://bugzilla.mozilla.org/show_bug.cgi?id=307089 Or, it's a memory saving feature. To implement "View source from cache" requires keeping around the raw page HTML, w…

  20. comment
    Comment #13191565

    Yeah, the video made me want to go outside and run, not take my mobile with me, and certainly not stay in and tap a screen.

  21. comment
    Comment #11790905

    The current spec has a serious flaw for CSRF prevention - it doesn't include the protocol in the definition of site, only the domain. This allows a MITM'd http page to CSRF a https…

  22. comment
    Comment #10277539

    One issue they don't address is one of culture: curl|bash is much less secure, in general, than using your package manager (since not everyone will serve downloads over HTTPS, and …

  23. comment
    Comment #9980949

    How did you replace Fabric? I've hacked things together with some branches of Fabric + devs that just about work on Python 3, but it's not really satisfactory.

  24. comment
    Comment #9912176

    You need to be more specific. In the face of what kind of disruptions will it continue? For example: * do you need to keep supplying electricity? * do you need to keep paying the b…

  25. comment
    Comment #9609695

    YAGNI only makes sense in the context of other extreme programming[1] practices, such as making code safe to modify through unit tests[2] and easy to modify because you refactored …