Live data from Hacker News

Viewing profile — Casperin

Casperin

HN member
Joined
Sat, May 15, 2010, 3:43 PM UTC
HN karma
150
Public activity
73 items

About Casperin

No profile information was provided.

Recent public activity

  1. comment
    Comment #45252027

    Dane checking in. You know when you read a newspaper article on something you happen to know about and it's just hilariously wrong? Like, to the point of making you wonder if they'…

  2. comment
    Comment #37161871

    Leo Africanus by Amin Maalouf -- I was approached in an airport by a lovely old gentleman who essentially told me to read this book and insisted I take a photo of it so I wouldn't …

  3. comment
    Comment #35899707

    Oh cool! I need help curing my addiction and I'm optimistic that this would do it for me. I'm only half joking.

  4. comment
    Comment #35401887

    Not GP, but same story for me (except it's been more than a year now for me). I'm coding 90% in Rust. The remaining 10% is a good mix of OCaml, TS, Python, Shell. It doesn't really…

  5. comment
    Comment #33726753

    Yes. It requires that `if else` can be used as expressions, which for some reason in most languages that can not. In the beginning of doing Rust I was missing the ternary operator,…

  6. comment
    Comment #33726690

    Yes, Ada. Maybe. I will have to look at it. The rest all are missing basic things. Like, I love TS, but it's absolutely bonkers because js is js. I once worked on a 250k loc projec…

  7. comment
    Comment #33726302

    It has no adts at all. Like I'm reading blog posts right now about how to do what should be the simplest thing enum Foo { A(String), B(i32), } And it's.. not simple. And even if yo…

  8. comment
    Comment #33726202

    I've used Go for almost two years on a side project and its type system is exactly why I'm doing Rust now. In my book, it is not okay that I add a new field to a struct and then no…

  9. comment
    Comment #33720258

    You can? Imperative, strong type system (no null, adts), reasonably fast, compiles to a single binary. I'm genuinely interested.

  10. comment
    Comment #33720187

    I'm in a fourth category. I just want a simple imperative language with a solid type system that is reasonably fast. While Rust isn't simple, I don't know any other languages that …

  11. comment
    Comment #33720038

    I can. I work on a ~20k loc Python service as well as a ~10k loc Rust service. The Rust service is only half the size, but the problem space is many times more complex. Whenever I …

  12. comment
    Comment #33719600

    I don't necessarily agree that Python overall is difficult to read, but one thing that seems to get my every time is the foo = x if y else z

  13. comment
    Comment #33574980

    Mine does. Still picked Rust, and so happy I did. The type system alone does it for me.

  14. comment
    Comment #33165434

    Instead of qwerty?? Never even considered that a possibility. I also don't remap anything. It's fiiine. You'll get used to it :-)

  15. comment
    Comment #33161713

    Helix is awesome. Thank you for doing this!

  16. comment
    Comment #33161641

    No. And I hope there never will be. It's a different editor with its own ideas about how modal editing should be done. It does not sound like that has your interest. That's fine. S…

  17. comment
    Comment #33156909

    I did this in February after 20 years in Vim. Haven't opened vim since. Happy coding my friend :)

  18. comment
    Comment #33156750

    I got you. Put this in your ~/.config/helix/config.toml. theme = "bogster" Or type `:theme` and use tab to cycle through the themes (it'll apply the theme to the current file while…

  19. comment
    Comment #33156678

    I've used Helix since February, and vim for 20 years prior. For basic edits it's roughly on par now for me (maybe a bit slower?); but then Helix has really neat tree-sitter integra…

  20. comment
    Comment #33156349

    Good question, and I don't think my answer will satisfy your needs, but it does mine. The only long form text that I ever write is in markdown. I do miss the `gq` command from vim,…

  21. comment
    Comment #33156241

    Don't even try to reconfigure them. Try to learn the editor first as it is. If you think that's crazy-talk, then imagine someone saying they'd like to learn vim, but they find it h…

  22. comment
    Comment #33156210

    After 20 years of vim I decided to try out Helix back in Feb and never looked back, so I guess I can chime in here. Sure, it took a few days (maybe weeks?) of feeling uncomfortable…

  23. comment
    Comment #33155904

    I opened helix to check it for you. Pressed `g` and had a little popup tell me that following with `h` = line start, `l` = line end, `s` first non-blank in line (plus ~15 other opt…

  24. comment
    Comment #32577918

    I live (and bike) here too. I think what you mean to say is that it can feel kind of hectic and dangerous to step out of a bus onto the bike lane. I can promise you that every bike…

  25. comment
    Comment #28113588

    In every company I have worked in on the frontend, this is the answer. "We need to increase x" comes down from somewhere, and then everyone attempts to find a good way to measure i…