That is because when you’re a beginner, you read everywhere that you should be using anaconda and jupyter notebooks. I know because I did so. Neither of them lasted more than a week on my computer though.
That is because when you’re a beginner, you read everywhere that you should be using anaconda and jupyter notebooks. I know because I did so. Neither of them lasted more than a week on my computer though.
Anything that’s not an integer or a range doesn’t belong inside []
. Much more readable to use zip, map, filter, etc. And more powerful.
EDIT: that was meant for indexing lists. Strings inside []
for indexing ducts are fine.
I haven’t used npm. But pip is horrible. Some times I’ve used a well-known library that only works on linux, but there is no mention of it whatsoever, and it installs without problem. The error only happens at run-time (not even when importing!) and says nothing about platform-dependency. I only learned that it was a linux-only library because I happened to try running it on a Linux machine to see if it worked.
Many times you have to set up your environment a specific way (environment variables, PATH, install dependencies outside of pip) for it to work, and there’s no mention of it anywhere. Sometimes you install the library with pip, sometimes with apt, and there is no way to know which one. And sometimes the library is both in apt and pip, but the pip one does nothing.
Furthermore, good luck importing a library. You might have installed it with “pip install my-library” but to import it you have to do “import MyAwesomeLibrary3”. And pip won’t tell you about that.
The mistake was choosing a language, and afterwards searching for a use to the language you just learned.
I don’t think changing a profession’s terms to “prevent stupid jokes” is a smart move.
I like that it is this easy to vote without eID, since eID is a pain in the ass.
But I fear how easy it is. Country+national ID number +name+surname? A lot of people have that information about me. It would not be hard to cheat if someone wanted to.
EDIT: corporations have that combination of data of all their employees, for example.
The point of WNBA is not to look pretty. They are there because they are good.
If straight men want to look at women there’s plenty of environments where the point is that the women are pretty.
If you do it with fixed-size arrays you can accomplish multi-dimension with just int*. Lots of pointer arithmetic needed though. Probably still faster than n levels of indirection.
I have absolutely no idea about Chinese or Japanese characters, but if they did that there’s probably a technical reason like retro compatibility or something. Unicode has free space left for millions or billions of characters.
The purpose of Unicode is to be able to represent everything humans have written. Doesn’t matter if correct or not.
There are some Chinese characters that appear only once in written text, but they happen to be just typos of copying other text. They exist in Unicode.
It’s actually more confusing/less correct to close bodyless elements in HTML. Since HTML treats “/>” the same way as “>” which could lead to a “/>” tag not actually being closed, if it is used on a non-selfclosing tag.
There are many git hooks. One of them checks each commit, but there’s another that triggers on merges.
This is a huge idea. I’m stealing it.
Not just for credentials, there are many times where I change a setting or whatever and just put “//TODO: remember to set it back to ‘…’ before commiting”. I forget to change it back 99% of the time.
Oh, that makes sense.
Aren’t classes in CSS supposed to represent visual styles? What else could they be for?
So we’d only fix 70% of vulnerabilities by switching to rust? Not enough! Better keep writing C/C++!
Just bundle a JavaScript interpreter with the JavaScript code. No need to compile JavaScript.
Inline comments yes.
Function/Class/Module doc comments should absolutely explain “what”.
Windows 11 is little more than a reskin of windows 10, and they still fucked it up.
Rounded corners are mandatory (Why? I really preferred squared ones). But developers can choose to have their windows square. Why only the developers? Let the user decide how a windows looks like!
And don’t get me started on the start menu. It was a complete massacre. Tiles are gone (am I the only one that liked them?). Instead, now we pin apps to the start menu. Fine I guess, except for the fact that half of the fucking menu is taken up by fucking recomendations. If I remove every single recommendation, instead of having my space back for more pinned programs I get this message: “oh you like this precious white space? If you turned on some recommendations it would show something”. No, i don’t want recommendations, I want my start menu space back. Which btw in windows 10 used to be resizable to whatever size I wanted.
Oh and lets not forget about the volume mixer. Which some genius decided that it was better to keep it 10 clicks away from the user in the settings, instead of conveniently at one click in the taskbar. Which they also made the sound settings their own special taskbar element, instead of another taskbar program. So now if I want to replace their shitty sound settings with the ones I like (trumpet btw), now I would have 2 sound settings in the taskbar, while in win10 I only had 1.
And whose Idea was to join the sound settings and internet settings in the same taskbar button visually? Which is also not the same button functionally. You see, if you press the left side of the button it opens the sound settings, but the right side opens the internet settings. How much do Microsoft UI people get paid?
I guess we got dark notepad, that’s nice.