I think you can do const thing = ... as const
to lock down the mutation?
- 0 Posts
- 24 Comments
lol yes I understand I know I sound silly. My home/end aren’t typical on my keyboard. It’s like function and stuff, which breaks my flow for something I do so often.
I use VS Code mainly and I always want to go to the end of a line and beginning. On Mac it’s like CTRL+E and CTRL+A respectively. On Windows, I was like, I guess I could do Windows Key and arrows but it felt off. Installing Vim bindings on VS Code just fixed this all for me. I love it.
[edit] for non-VIM users, you can skip words and go-to braces (and delete what’s in them) and highlight within quotes very easily … for function search, the built-in VS Code is really good too. I also have Harpoon installed to hop between files. If it doesn’t appeal to you, then that’s cool too! Whatever keeps you in there. [/edit]
I’ve tried setting up my own vim stuff and I always bail out because I can’t figure something out. I feel like I need to really sit with it and I’d have the perfect set up for me.
Lastly, I’ve installed vim for zsh and it’s the best. I can hop all around my terminal and highlight and remove things. It’s so beautiful.
Not a word of a lie, I saw a “segmentation fault” error in JavaScript.
Can’t remember how we resolved it, but it did blow my mind.
I think you can fix typos in the last command with
^mistake^fix
I’m a big fan of using vim in the terminal. Even basic VIM commands make terminal usage more tolerable: https://github.com/jeffreytse/zsh-vi-mode
Yup. I usually have zoxide installed. It’s grand.
Yeah, I’m not in any way medically anything but I think I remember Dr Mike or one of those talking about how brain death is considered death or something like that.
I started with C++ and went to Java to .NET to Javascript and now to Terraform.
I know this is all a joke but there’s something definitely different with the ones above and the ones below. There’s a bit of satisfaction you can get sometimes when you’re working with memory directly and getting faster feedback (yes, there’s more math back then and it wasn’t easy to look stuff up, for sure). However, there’s new challenges nowadays … there’s so many layers on top of layers. I feel as though Stack Overflow and ChatGPT are so needed because the error messages and things we give are obfuscated or unclear (not always any library author’s fault as there’s compatibility issues, etc)
We’re doing serverless stuff at my current company and none of our devs run code locally. They have to upload it using CDK or Serverless Framework to run on the cloud. We don’t use SST so we can’t set breakpoints but like that’s a lot of crap inbetween just running your code already. Not even getting into the libraries and transpilers and stuff we use. I spent like a few weeks over Christmas to get our devs to run the code locally. Guess what? None of them use it because they’re so use to uploading it. I was like, "you can put breakpoints in it! you can have nodemon and it instant reloads! nope, none of them care … "
lazygit
is pretty cool too.
Because our King can never be truly replaced. ✊
That’s rather rude and untrue … the programming language isn’t at all nice! /s
ducks and runs away
Web “Apps” are also quite bad. Lots of and lots of stuff we’re downloading and it feels clunky.
Sometimes that’s bad coding, poor optimization, third party libraries, or sometimes just including trackers/ads on the page.
lobut@lemmy.cato Programmer Humor@programming.dev•The team that pushed yesterday's Crowdstrike update has been identified.33·1 year agoI loved this movie. I’m not gonna change my mind!
I’m also not gonna watch it again any time soon …
I mean it seems almost impossible that they either didn’t have a staging process to test N number of machines either virtual or otherwise or it passed through but it just seems insane that a problem of this magnitude went out to this many people.
The most secure computer is the one not running any software. That’s why I recommend Crowdstrike.
Onion architecture. Ports and adapters are other names for it, I think.
Make? As in Makefiles or make-up?
Jimmy Carr called him that on the Big Fat Quiz. Last time I wanted to punch that guy was when he was on JRE calling comedians philosophers. Time before that was when he got caught dodging taxes.
I use Amethyst on Mac and it’s quite good but it is a fancy repositioning system because it bugs out a few times a day and I need to force a refresh.