Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Casperin
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
Casperin
1y ago
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're confusing your thing with something else entire
2.
▲
by
Casperin
3y ago
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 forget. Half a year later, I'm out of things to re
3.
▲
by
Casperin
3y ago
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.
▲
by
Casperin
3y ago
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 matter what I touch. Helix is my editor :)
5.
▲
by
Casperin
4y ago
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, but now I couldn't care less. foo = if y { x } e
6.
▲
by
Casperin
4y ago
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 project of js/ts, and we had nothing but trouble
7.
▲
by
Casperin
4y ago
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 you manage to do it, it
8.
▲
by
Casperin
4y ago
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 nothing happens. No compile warnings, nothing. It&
9.
▲
by
Casperin
4y ago
You can? Imperative, strong type system (no null, adts), reasonably fast, compiles to a single binary. I'm genuinely interested.
10.
▲
by
Casperin
4y ago
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 fill this space.
11.
▲
by
Casperin
4y ago
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 work on the Python service I feel like I'm working in c
12.
▲
by
Casperin
4y ago
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.
▲
by
Casperin
4y ago
Mine does. Still picked Rust, and so happy I did. The type system alone does it for me.
14.
▲
by
Casperin
4y ago
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.
▲
by
Casperin
4y ago
Helix is awesome. Thank you for doing this!
16.
▲
by
Casperin
4y ago
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. Stick with vim.
17.
▲
by
Casperin
4y ago
I did this in February after 20 years in Vim. Haven't opened vim since. Happy coding my friend :)
18.
▲
by
Casperin
4y ago
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 you cycle, no need t
19.
▲
by
Casperin
4y ago
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 integration, so as I'm getting more and more used to
20.
▲
by
Casperin
4y ago
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, but in general I just do a single line break after eve
21.
▲
by
Casperin
4y ago
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 hard to configure the shortcuts to be like Ecl
22.
▲
by
Casperin
4y ago
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, but unlike vim, Helix is very approachable. I think you ha
23.
▲
by
Casperin
4y ago
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 options). My hx doesn't wrap lines, so didn't check `
24.
▲
by
Casperin
4y ago
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 biker care. If nothing else, then at least for their own safety.
25.
▲
by
Casperin
5y ago
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 increase/decrease of x and then come up with a
26.
▲
by
Casperin
5y ago
I run i3/tmux/xterm wherever I can (also back when I was doing frontend). I definitely prefer this over anything Apple has been able to offer me in terms of user experience. My comment above was just a reflection of a connection I
27.
▲
by
Casperin
5y ago
This made me think of how many developers (who spend 10 hrs/day in front of their screen) choose Apples products. A linux machine might be better on performance, maintainance, and all that, but Linux does not care about UX the way Appl
28.
▲
by
Casperin
6y ago
Really? We're both Android users ourselves, and use a mix of Chrome and FF. Did you perhaps not really add the feed? Like, it shows you a preview where you only see the titles first, and then you have to click "Add feed" at
29.
▲
by
Casperin
6y ago
You are right, it has the same behavior. It's the same exact page (displaying the content of a post), and it has no logic in it around where you came from. Personally the back button is the first resort, unless I opened it in a new tab
30.
▲
by
Casperin
6y ago
We might do that in the end. Nothing is really decided yet. So far we just built it for us, and we love it (both of us use it a lot every single day), so we thought we'd share.
More ›