• 1 Post
  • 23 Comments
Joined 1Y ago
cake
Cake day: Jun 09, 2023

help-circle
rss

If you’re going to post a code example, at least check that it works. Here’s your example, with no type hints, giving me errors both from the LSP, and when trying to run via mypy: https://imgur.com/a/Hq5Y5Gt.



Yeah. Part of what I get for paying is the Bridge app so I can use Thunderbird instead of the website. I don’t want or need the LLM thing.


I’ve found it’s a bit overrated honestly. Usually, I also need the commands before and after something, so I use history | grep -B N cmd instead


What do you like about fish? Have you tried zsh? I’m in the market for a new shell too.


I think you’d like the alternatives that mix languages with Shell. See Google’s zx or (shameless plug) my pysh for instance.


zx looks super interesting! I’m building something very similar, except using Python as the language instead of JS: https://github.com/yrahul3910/pysh

I’ll try out zx though, it looks cool, although I’d be worried about Google ditching it in the future.



Oooh I’m stealing these aliases! Odd that I never wondered whether you could have an alias be symbols.


I’ve always thought it was funny how *nix lets you name things in a way that makes it miserable for others lol. I think I had a directory named - because of a mkdir syntax error.




Yup, that’s what I’ve always understood. Seems like this is zsh-specific, since using the default Terminal app with zsh also works. Do you know if other shells (fish, csh, etc.) support this syntactic sugar? Anything else zsh has that I should know?


Really? Doesn’t seem to work when I use bash:

bash-3.2$ cd a/b/c/d/e
bash-3.2$ ...
bash: ...: command not found
bash-3.2$ cd ...
bash: cd: ...: No such file or directory

Just realized I can just use “…” to go back two directories! Is this a zsh feature?
I accidentally discovered that both "cd ..." and "..." work, and moreover, I can add more dots to go back further! I'm using zsh on iTerm2 on macOS. I'm pretty sure this isn't a cd feature. Is this specific to zsh or iTerm2? Are there other cool features I just never knew existed?? I'm so excited about an extra dot right now.
fedilink

Yeah I agree I don’t find alignment very useful. It’s more work for dubious benefit, and god forbid you change one of the lines.


This so so much. I want to contribute. The only time I ever have are when the barrier to getting setup and finding things I can do are low.


Also be wary about sharing confidential code. At work I don’t use ChatGPT unless it’s for extremely general questions.



It seems like Signal, Telegram, and Threema are the best for now. Signal provides the least information, but for the majority of people, the stuff from Telegram are things the government already know, and I’m not sure how useful the Threema information is.



Yup. Memmy is improving quite rapidly though, so I’m sticking here for now.


That’s fair. I think I should invest my time in contributing to third-party apps, though. That’s a barrier to entry for newbies, I think, who want to be able to tap an app on their phone instead of going to a website. I believe Memmy uses Expo, which I might be able to contribute to.


These are good points. It sucks that as a PhD student in CS, I still don’t understand the workings of federation and other important Internet concepts. I hope someone smarter will work on this stuff, though.