Live data from Hacker News

Viewing profile — faho

faho

HN member
Joined
Wed, Oct 14, 2015, 2:06 PM UTC
HN karma
1,267
Public activity
244 items

About faho

No longer working on https://fishshell.com/. he/him

Recent public activity

  1. comment
    Comment #43194490

    The rust cygwin target has been merged (in a different attempt): https://github.com/rust-lang/rust/pull/134999

  2. comment
    Comment #42542488

    No, they work in zsh, with one extremely small change: The referenced variable needs to exist. Try this (tested with zsh 5.9 on archlinux): foo='PWD[$(echo hahaha >&2)0]+42' [[ "$f…

  3. comment
    Comment #42541907

    Fish has always used utf-32 codepoints stored in wchar_t, from the first git commit in 2005. Unfortunately it's pervasive throughout the entire codebase (which does a lot of string…

  4. comment
    Comment #34780503

    >Matrix's moderation should be at least as good as Gitter Well, yes and no. The moderation features might be the same, but: 1. It's a lot easier to make matrix accounts, especially…

  5. comment
    Comment #33413335

    The idea behind this series of posts is to see how much of python , concretely, is syntactic sugar and how much is necessary. How much could you do with e.g. doing macro transforma…

  6. comment
    Comment #32505852

    Arch already has the nvidia drivers in the normal repos. You can just install them. This isn't something Manjaro adds.

  7. comment
    Comment #32435316

    Depends on your echo. Zsh's interpretes escape sequences by default unless the "BSD_ECHO" option is used, bash's doesn't unless "xpg_echo" is on. And xpg_echo is on by default for …

  8. comment
    Comment #32304063

    One issue is that make will default to only using one job (i.e. one cpu), and you need to pass `-j NUMBER` to make it use more, while Ninja is parallel by default. For my uses, I'v…

  9. comment
    Comment #32182528

    Bash also turns off the bracketed paste, because it can't know if the command it is about to launch supports it. So that command would have to re-enable it itself. Something like e…

  10. comment
    Comment #32177056

    "\r", "carriage return", is what the return/enter key sends (either that or "\n", it's configurable). So what's being sent from the terminal to bash here is "ls" (which is echoed b…

  11. comment
    Comment #32137355

    The original performance claim was about https://vimuser.org/cat.c.txt . Which just does read/write - so it's the same as the "cat-simple" example, which is the slowest listed. GNU…

  12. comment
    Comment #32136877

    First of all: Your code is missing braces around the `if` blocks - the `goto out` would be run unconditionally. But anyway, the case for `goto` here is that it jumps immediately to…

  13. comment
    Comment #32053948

    >This change prohibits nothing, it allows specifying something (which was a bit complicated to enforce before). It allows specifying a constraint - that you can't have two rows wit…

  14. comment
    Comment #32053872

    But an employee can't be car-less twice! That's what this change prohibits.

  15. comment
    Comment #32052886

    >But... "the shell and standard utilities and files that are in known locations and standard capabilities and various other things" are also specified by POSIX. Unfortunately, it d…

  16. comment
    Comment #31893256

    These files are already in toml , so it's only "unnecessary" if you ask for them to switch the file format. Otherwise, adding tools to the standard library to read file formats req…

  17. comment
    Comment #31892144

    The first two lines are setup, real code would already have done that. You could maybe count the import, but you'd have to do that once and could do multiple bisections, so it's am…

  18. comment
    Comment #31892138

    Or you can implement a binary search in your type's __contains__ and just use `"foo" in c`

  19. comment
    Comment #31808131

    CentOS 7 may have been released in 2014, but the software it shipped was already quite old then. As a datapoint, CentOS Stream 9 [0], which was released in 2021, and which RHEL 9 (…

  20. comment
    Comment #31769570

    Fish also enables bracketed paste and does smart escaping when you paste inside single-quotes. (I'm a fish developer)

  21. comment
    Comment #31769547

    Would you mind posting a link to your tmux config? I'd look into it.

  22. comment
    Comment #31736510

    You're overthinking things, it's simply hyperbole.

  23. comment
    Comment #31678559

    He doesn't. Linus uses MicroEMACS [0], which is an entirely different editor that uses emacs bindings. It's not the lisp vm that incidentally happens to edit code that GNU Emacs is…

  24. comment
    Comment #31591951

    And in english it's "Ivory Coast", in german it's "Elfenbeinküste". None of those is an official name tho, they are quite insistent that's exclusively the french one: >Therefore, i…

  25. comment
    Comment #31558396

    Well, yeah, if you source the file (for which `.` is a shortcut) it runs in the current shell so the environment is intact. If you just run it it won't work. So instead of running …