Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)CA
Posts
7
Comments
1,076
Joined
2 yr. ago

  • 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.

    1. It's a setting.
    2. Doesn't happen
    3. Doesn't happen
    4. Searchable actions, just search for "encoding" in this case.
    5. That's an LSP/project mismatch usually just a setting. Most things are supported but worst case you can remove the error.
    6. 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.

  • The numbers are pretty funky depending on who you ask. City nerd on YouTube has a nice video on it how people view themselves as rural/urban and what city planners think of it.

    City nerd video

    You have a lot of people that identify as rural even though they live in exurbs (town adjacent to city) and a lot of people that live in remote areas identify as urban people.

    I'd personally say that people that live in a urban/metro area are not rural. People who live on a farm 50km from the next population center of 1000 people is definitely rural. Everything between depends on a lot of factors like how big is the village, what is the village close to etc.

  • 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.

  • These 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

  • Fixing a memory leak takes essentially looking at random data that got there somehow and try to figure out the source. You know what approximately it is by analysing a memory dump but it's most likely a common structure that is all over the app. Best case it's easy worst case it's looking for a needle in a haystack.

    On the other hand, checking if memory is blowing up, then using already built save and load functions is pretty straight forward. Especially since Elder Scrolls saves the entire state and reloads it.