Live data from Hacker News

Viewing profile — F-0X

F-0X

HN member
Joined
Sun, Sep 17, 2017, 3:05 PM UTC
HN karma
327
Public activity
80 items

About F-0X

No profile information was provided.

Recent public activity

  1. comment
    Comment #24661371

    array.includes(x) is really a function includes(array, x), and this is O(n,1).

  2. comment
    Comment #24660825

    > And it hit me that it's actually O(n), because we've got an array and have to iterate over every element to see if the element matches char. No, it's actually O(1). n refers to t…

  3. comment
    Comment #23107588

    > And the old "I have suffered therefore the others have to suffer". Actually, its an extremely important point. Tools which optimise for the professional are better than those whi…

  4. comment
    Comment #23054918

    > You can ease the cognitive load by making certain programming structures first-class citizens in the language. Which, in every s-expression based language I'm aware of, can be ac…

  5. comment
    Comment #23007786

    The major examples are parts of the stdlib which offer higher-level pipelines (some answers here indicate the need for such things to be very flexible in their return values to all…

  6. comment
    Comment #23005436

    One thing that really annoyed me about D is that its documentation lists basically every function with an 'auto' return type. Auto should be completely banned from documentation, i…

  7. comment
    Comment #22786640

    My personal anecdatal arguement against "Hard to parse for humans" is... I actually really like generics residing within . It's actually harder for me to read generics denoted othe…

  8. comment
    Comment #22111250

    Within my first year of professional development, I encountered several fixed-width files I needed to read and write. I suppose exposure depends a lot on the specific industry.

  9. comment
    Comment #22110036

    > I had to parse 9million lines. Awk would chew through that no problem. > Some of which contain "quoted records", others, same column, are unquoted. In which case, there is the FP…

  10. comment
    Comment #22087719

    Just want to throw D into the ring as a candidate here. It's a smashing language. I think it satisfies the very compromise you are seeking from your evaluations of other languages.…

  11. comment
    Comment #22087359

    I think I am going to side with VW on this. I have always been skeptical of fully autonomous vehicles, and I do not believe they will _ever_ exist on the roads that currently stand…

  12. comment
    Comment #21944860

    I think C has better syntax than Rust, by miles. Rust's syntax is the bastard child of C++ and OCaml and is more than the sum of its parts. Rust code having fewer bugs has absolute…

  13. comment
    Comment #21907999

    > disk space is mostly free these days. This is the only "argument" ever presented, and I don't think it is any good. I care about file sizes. I want to get the most out of my hard…

  14. comment
    Comment #21736159

    Here's one maybe-reason and one definitely-reason VSCode cannot replace vim for me: 1) Logs are often compressed. Can VSCode open .gz files? Vim behaves pleasingly unixy: 'zcat log…

  15. comment
    Comment #21725279

    I don't think it does. People share information and learn from each other. Hence, it is important to be responsible when providing information. We frequently see disclaimers on HN,…

  16. comment
    Comment #21724649

    Is it? If A says to B, "don't vaccinate your kids", B complies, and then B's child dies of a disease it could have been vaccinated against, you would not say A had any culpability?…

  17. comment
    Comment #21701390

    Would be a big improvement on Rust.

  18. comment
    Comment #21687466

    Money is not as wierd as anyone might guess. I work on a financial application, and money is almost always just a BigDecimal with the scale set to 2 (and stored in a database as a …

  19. comment
    Comment #21651048

    AlphaZero does not "smash" Stockfish. In official games they draw 90+% of the time, and stockfish won a non-negligible number of games. AZ is still the "winner" but honestly it did…

  20. comment
    Comment #21629002

    > the rare ability to identify a musical note like F# just by hearing it, can be a massive benefit to a musician It can also be a curse. I've known a number of people with perfect …

  21. comment
    Comment #21609450

    > No, emojis are incredibly expressive and enrich all forms of writing. I certainly find many (almost all?) highly ambiguous, which is the total opposite of expressive in my opinio…

  22. comment
    Comment #21608375

    Interesting analogy, but it's a little off. The main reason modules are interesting is not as a generalisation of vector spaces, but because they are helpful in studying rings. Ker…

  23. comment
    Comment #21598728

    Great articles for when you want to know how it works but want the code to play hard to get.

  24. comment
    Comment #21597785

    Rust macros can do worse things than C macros can. They can execute arbitrary code at compile time.

  25. comment
    Comment #21551738

    > It takes effort to not use electron. Why do you believe this? I don't think it is quite that ubiquitous.