I use terminal commands to open relevant ide for the project
Caveman
- 0 Posts
- 12 Comments
Having a bunch of plugins built-in means also supported in updates and play nice with each other
I also had issue when I was working on a pycharm project back when I was on windows. During setup it asked me “What’s your name?” and my name has a cheeky accent which Windows was decided should be the name of my Home folder. Home folder also has appdata and whatnon so which the build system didn’t expect to have a an accent in the folder path.
I ended up having to create a different folder and link to it then move all the path configurations to that folder link just so I could get imports working.
I use Jetbrains IDEs now for 5 years, I’ve used VSCode, Sublime, Atom, Vim, Neovim but I feel like Jetbrains IDEs are just better if you have the RAM to run it.
- It’s a setting.
- Doesn’t happen
- Doesn’t happen
- Searchable actions, just search for “encoding” in this case.
- That’s an LSP/project mismatch usually just a setting. Most things are supported but worst case you can remove the error.
- Happens if you run out of RAM or open a very large file.
So it’s not all bad, but comes with a lot of good such as “invert if statement”, “use template strings” and “extract method” thingies along with a load of plugins.
Caveman@lemmy.worldto Linux@programming.dev•Why Microsoft open sourced PowerShell and ported it to Linux3·1 month agoI can maybe chime in since I’ve used both. Basic operations like if statements, arithmetic and loops are a lot closer to what you’d expect on PS. The barrier to programming in bash vs PS is IMO a bit higher because bash heavily uses symbols for everything. This does make PS way more verbose but more easy to wrap your head around it when unfamiliar with the syntax.
I prefer bash but for anything bigger than 5 lines I prefer proper scripting language like python or js and making an alias for “node path/to/js/script.js” and using execSync(“program param1 param2”) to run shell commands.
Long story short, I prefer bash because it’s built in and I know it better than PS, I expect PS guys to feel the same way.
It’s a common practice but not required. Python behaves like JS where it just runs whatever you wrote. If you don’t want it to run when importing the file you can put the main() inside the if so it only runs when you run the actual file.
You can use it when developing a function or a class to run a simple test without running the whole program.
Bash combines quick, dirty and fast in exchange for readable. Bash is also nice for terminal functions like opening a set of programs and whatever
Caveman@lemmy.worldto Programmer Humor@programming.dev•They're trying to normalize calling vibe coding a "programming paradigm," don't let them.31·1 month agoDon’t get me wrong, I still write more than 98% of code by hand and of course, I can write those functions myself in 30m myself but I can get it in 60s with the AI. LLMs can write code to that does parse - > model - > map - > format with only one or two easy to fix bugs.
It’s in the very niche cases where it’s just tedious to write something out that LLMs actually work. “Write an API client that uses [library] that handles these requests/responses” comes also to mind as something that would work.
I’m using now also to learn react native where I get bugs I’m very unfamiliar with and SO doesn’t give me a good answer.
I’ve also had decent success at having it review my code with “how would I further optimise this code” and it gives me some pointers and then writes buggy code but the approach is correct usually and I can implement it myself.
Caveman@lemmy.worldto Programmer Humor@programming.dev•They're trying to normalize calling vibe coding a "programming paradigm," don't let them.13·1 month agoThese AIs really suck at writing correct code but I’ve had good success in having them write code generators. I recently made it write a script that takes a SQL create table statement and converts in to TS and gives insert update, delete and whatnot and also creates a simple class that handles the operations.
I had to write the original code by hand but having it write code that writes boilerplate which I correct is pretty good.
Other code is hit or miss IMO
Caveman@lemmy.worldto Memes@lemmy.ml•Oh tell me again how it loads faster and takes up less resources1·1 month agoMy answer aged like milk
Caveman@lemmy.worldto Memes@lemmy.ml•Oh tell me again how it loads faster and takes up less resources0·1 year agoFF is doing great. All the have to do now is the Steam strategy. Do nothing and wait for the competition to fuck themselves over.
This could mean that it’s the year of thy Linux desktop 🤔