Live data from Hacker News

Viewing profile — zverok

zverok

HN member
Joined
Sun, May 17, 2020, 1:44 PM UTC
HN karma
128
Public activity
48 items

About zverok

No profile information was provided.

Recent public activity

  1. comment
    Comment #38408005

    (Author here) I don't think this corresponds to my experience. I am working as a staff engineer in big production codebases (with all the traits of those: some code is good, some i…

  2. comment
    Comment #38407906

    Oh, thanks! Added a footnote to the article.

  3. comment
    Comment #38041097

    Thanks, that's the highest praise I could possibly hope for :) It is one of the things I always enjoyed and tried to achieve myself (when the discussion of design decisions in one …

  4. comment
    Comment #37960371

    (Author here) Well, unfortunately a lot of new stuff becomes controversial on the pure ground of "no new language changes! it is good enough for me!" TBH, I thought about a post se…

  5. comment
    Comment #37854788

    Ruby didn't always had both. `reduce` as an alias for `inject` was introduced in Ruby 1.8.7; `filter` as late as in Ruby 2.6 (just a few years ago, and most of the codebases I saw …

  6. comment
    Comment #37849392

    Yeah, should've mentioned that probably (though a post is already a mess of footnotes, aside notes, and parenthicals). I do believe though that a lot of modern languages got that f…

  7. comment
    Comment #37848557

    Ugh, never thought about that this way! I believe it is a habit back from my journalistic days, when there were "insets" besides the main text with "things that deserve mentioning …

  8. comment
    Comment #37847713

    Well, first of all, I was one of those who fought for method references as first-class objects for a few years (the story is told in my blog before[1]), and "let Ruby eventually be…

  9. comment
    Comment #37845423

    > I don't find the hypothetical Ruby syntax ["hello","goodbye"].map(&reverse) to be offensive or wildly inconsistent. This syntax wouldn't work in Ruby, because bare `reverse` is a…

  10. comment
    Comment #37844808

    I made a small nod towards Haskell's way of doing things in the last paragraph of "How others do it" section: > We might also start look into the concept of the “tacit programming”…

  11. comment
    Comment #37844202

    Well, I expected that, but slighlty hoped that ironical quotes will help (which is also part of the name of the series, started with explanatory intro[1]). But I am afraid it is ha…

  12. comment
    Comment #37841549

    Thanks, that's insightful!

  13. comment
    Comment #36353984

    Yes, that's what I referred to. Before 2.7, object&.:method was almost merged (or rather merged and reverted) because Matz had second thoughts about its uglyness... Which is not co…

  14. comment
    Comment #36313878

    Ruby-idiomatic pipe operator is Object#then. After a lot of design proposals and discussions it is more or less evident no solution other than method would integrate naturally with…

  15. story
  16. comment
    Comment #29723881

    In rewritten code: https://zverok.github.io/advent2021/day11.html — I'd say it is relatively probable (grep for this line): if_(stories == 1, ()=> chance(2/3, ()=> [1, "Pizza Hut"]…

  17. comment
    Comment #29723425

    The `times` solution was overhtought, and later I get rid of it. In the end, the code of cycle like this are handled with `range`, for example: var points = range(resolution).map( …

  18. comment
    Comment #29723393

    Wow. Now THAT is impressive!

  19. comment
    Comment #29723257

    Yeah, I am mentioning it at Day 11, while debugging the singular house logic: https://zverok.github.io/advent2021/day11.html :)

  20. comment
    Comment #29398143

    I actually hope the WikipediaQL, when it will become a bit more mature, to be helpful in parsing Wikipedia data _into_ Wikidata. As of now, Wikidata lacks a lot of knowledge yet (t…

  21. comment
    Comment #27747236

    I am (slightly) contemplating this (see also Reddit discussion: https://www.reddit.com/r/programming/comments/oe9oia/wikiped... ). But currently I am mostly focused on deducing ato…

  22. comment
    Comment #27747180

    The answer is complicated (I am mentioning it in the midst of plans and possibilities in README: "(maybe?) other MediaWiki-based sites (like Wikvoyage, Wiktionary, etc.)"). In more…

  23. comment
    Comment #27741398

    Thanks! I am mentioning Wikidata/SPARQL in README (TL;DR: less data still, harder to discover unless you are deeply into SemWeb tech), but I expect this project, will it live long …

  24. comment
    Comment #27332551

    Yeah, it is dated and naive in many ways :) Really don't know how the HN works and why this one made it to the main page while some of the other stuff I write rarely does so ¯\_(ツ)…

  25. comment
    Comment #27331745

    (author here) Me neither! Don't know how or why it suddenly appeared on the HN main :) Just to provide a bit of the personal context: this article caused creator of DaRu (Sameer De…