|
Thermopyle posted:Yeah, that's me. I mean, I've written some fairly complex stuff with it, but I don't enjoy using it.
|
# ? May 27, 2020 21:44 |
|
|
# ? Jun 5, 2024 08:11 |
|
https://twitter.com/rSoftwareGore/status/1265252418385780741
|
# ? May 28, 2020 00:59 |
|
Mojang is terrible in many ways. I've had a support request in with them for something like 6 months to deal with an account issue on my daughters account. Mind you, this isn't a case of them just losing the ticket or something. It's requiring a tiny bit of back and forth, it just takes many weeks from each time I reply to their questions to get an answer back.
|
# ? May 28, 2020 01:21 |
|
Munkeymon posted:Way, wayyy more likely a query has become pathological* as data changed underneath it, IME. or data/statistics/index changes triggered a query recompile, or parameter sniffing, or adaptive memory grants (my current fave!!), or something scaled the db up/down, or azure automagically created/dropped an index, or the azure sql db was updated to a new version, or ... it's like herding cats, i swear
|
# ? May 28, 2020 01:47 |
|
Exactly which language's standards committee isn't filled with people who have too much time on their hands?
|
# ? May 28, 2020 02:58 |
|
Falcorum posted:As mentioned, "auto blah = bleh" makes a copy so it can be pretty expensive. The most common issue is using it in "for (auto blah : bleh)" which may mean you could be doing a lot of expensive copies at once. Wait, if someone falls for that trap with auto wouldn't they fall into that trap with the full class name anyway? Like for (VerboseClassName x : some_vector) is still going to be making copies, unlike for (const VerboseClassName& x : somevector).
|
# ? May 28, 2020 04:03 |
|
So it turns out they were naively assuming that wherever it was pointed to be installed wouldn't be a shared folder and just deleting the entire folder it was installed to.
|
# ? May 28, 2020 04:08 |
|
QuarkJets posted:Wait, if someone falls for that trap with auto wouldn't they fall into that trap with the full class name anyway? Like for (VerboseClassName x : some_vector) is still going to be making copies, unlike for (const VerboseClassName& x : somevector). for (std::vector<VerboseClassName>::iterator i = some_vector.begin(); i != some.vector.end(); ++i)
|
# ? May 28, 2020 04:10 |
|
Isn't that true regardless of whether you use auto? Copying an iterator is cheap, so you don't need to use a reference when you're using an iterator in a for loop. Copying an object can be expensive, so you should use references in range-based for loops.
|
# ? May 28, 2020 04:56 |
senrath posted:So it turns out they were naively assuming that wherever it was pointed to be installed wouldn't be a shared folder and just deleting the entire folder it was installed to. Cheapening out on uninstallers is a classic mistake, seen to many times before. "Well uninstalling is just deleting all the files. rm -rf * it is." But no, uninstalling is deleting exactly the files that were installed and nothing else.
|
|
# ? May 28, 2020 12:05 |
|
I had to look it up, but Nullsoft's install/uninstaller software is still around and open source. So it's not like you cannot take something off the shelve to do your unistall properly on windows for you. edit: "Completely free for any use. " as well
|
# ? May 28, 2020 15:02 |
|
Beef posted:I had to look it up, but Nullsoft's install/uninstaller software is still around and open source. So it's not like you cannot take something off the shelve to do your unistall properly on windows for you. NSIS is very funny, to me. Love to a import a package to use constructs like 'if' and 'while'.
|
# ? May 28, 2020 15:07 |
|
Absurd Alhazred posted:Is there a good systems language? Can such a thing be possible? Yes
|
# ? May 28, 2020 19:31 |
|
nielsm posted:Cheapening out on uninstallers is a classic mistake, seen to many times before. "Well uninstalling is just deleting all the files. rm -rf * it is." But no, uninstalling is deleting exactly the files that were installed and nothing else.
|
# ? May 28, 2020 20:43 |
|
SupSuper posted:The catch is self-updating games aren't known at install time, so they probably figured deleting the whole folder was a simpler "solution" than having the launcher track and revert every file. "What idiot installs their games into the same directory, that's just asking for collisions"
|
# ? May 28, 2020 20:53 |
|
Absurd Alhazred posted:Is there a good systems language? Can such a thing be possible? C, C++, Python I was supposed to give a different answer?
|
# ? May 28, 2020 21:48 |
|
Don't worry, we know you like being wrong.
|
# ? May 28, 2020 21:59 |
|
Xarn posted:Don't worry, we know you like being wrong. weeeeeeeee!
|
# ? May 28, 2020 22:20 |
|
Tei posted:C, quote:C++, quote:Python In what way shape or form is Python a systems language?
|
# ? May 28, 2020 22:27 |
|
Its failures are systemic
|
# ? May 28, 2020 22:37 |
|
I'm sure the Python addiction in the scientific community has forced them to build Python OSes for the supercomputer clusters. Python 2 obviously.
|
# ? May 28, 2020 22:40 |
|
Absurd Alhazred posted:Is there a good systems language? Can such a thing be possible? this can only be possible if there exists the possibility of a good language for any domain of programming - which is clearly and trivially false
|
# ? May 28, 2020 22:47 |
|
Volmarias posted:"What idiot installs their games into the same directory, that's just asking for collisions" I've seen installers that add \softwarename to the end of the user specified path and others that complain if you try installing to a non-empty folder. I guess the installer for this didn't do either of those.
|
# ? May 28, 2020 22:49 |
|
redleader posted:this can only be possible if there exists the possibility of a good language for any domain of programming - which is clearly and trivially false
|
# ? May 28, 2020 22:49 |
Ola posted:I'm sure the Python addiction in the scientific community has forced them to build Python OSes for the supercomputer clusters. Python 2 obviously. Thanks for the grad school flashback, jerk
|
|
# ? May 28, 2020 22:57 |
|
Absurd Alhazred posted:In what way shape or form is Python a systems language? Python's standard libraries give you access to many low level system APIs, and you can easily interface with legacy (C) code. Many parts of the Linux operating SYSTEM are written with Python, for example.
|
# ? May 29, 2020 00:36 |
|
Ola posted:I'm sure the Python addiction in the scientific community the alternatives are matlab and fortran, which one would you prefer
|
# ? May 29, 2020 00:57 |
|
I heard that some schools still teach Matlab. That's like having a class where you have to memorize log tables and learn how to use a slide rule that has had most of the numbers scratched off.
|
# ? May 29, 2020 01:27 |
|
fritz posted:the alternatives are matlab and fortran, which one would you prefer You forget R. I haven't used R, but what I hear from my scientific computing buddies is that forgetting R is a reasonable idea. Also this made me check and my old physics department still teaches numerical analysis in Matlab.
|
# ? May 29, 2020 01:36 |
|
R is fine if you know how to use it, but getting to that point involves learning a lot of the intricacies of R (and the R/C++ interface). It wouldn't be my first choice for a general purpose scientific computing language--for that, I'd probably pick Julia these days--but it's the only real game in town for a lot of statistical work.
|
# ? May 29, 2020 02:33 |
|
fritz posted:the alternatives are matlab and fortran, which one would you prefer "Extend Python 2 another 10 years, JUST DO IT TRUST ME"
|
# ? May 29, 2020 05:22 |
|
Tei posted:C, C++, Python Modula 3, allegedly?
|
# ? May 29, 2020 05:42 |
OddObserver posted:Modula 3, allegedly? Holy poo poo, haven't heard that name in decades. I had some university classes that used modula 3, as far as I could tell it was just pascal with classes.
|
|
# ? May 29, 2020 07:07 |
|
I've never written a pascal program in my life but I read basically every word of the Inside Macintosh books that I found on CD-ROM at the local used CD/game/movie store/LAN center for $5 while I tried to write actual Mac apps in C that I learned enough pascal to get by, and honestly most of that pascal was just putting together param structs to pass to OS functions (I was going to say kernel, but old macOS wasn't a kernel at all)
|
# ? May 29, 2020 07:22 |
|
redleader posted:this can only be possible if there exists the possibility of a good language for any domain of programming - which is clearly and trivially false
|
# ? May 29, 2020 10:25 |
|
Ola posted:I'm sure the Python addiction in the scientific community has forced them to build Python OSes for the supercomputer clusters. Python 2 obviously. My money would be on python 2.4.3
|
# ? May 29, 2020 10:42 |
|
Pie Colony posted:Python's standard libraries give you access to many low level system APIs, and you can easily interface with legacy (C) code. Many parts of the Linux operating SYSTEM are written with Python, for example. This. Stuff like the famous apt-get are written in python.
|
# ? May 29, 2020 11:02 |
|
Tei posted:This. Stuff like the famous apt-get are written in python.
|
# ? May 29, 2020 12:32 |
|
Tei posted:you can probably write simple apps using the limited javascript you can embed on PDF-Forms This is from a few pages back but I feel uniquely qualified to comment on this and it's been past the statute of limitations. Once upon a time I took a consulting job for a company that did not want to pay for Adobe LifeCycle. They had a PDF that consisted of forms that would get sent out to ships, filled out, and mailed back. They wanted to extract forms content automatically. What I wrote was Javascript embedded into the master PDF that could dump its content on demand. However, I remember hitting several bugs in the Acrobat script engine that I had to work around. Iirc they reused a lot of the engine from InDesign, but with new and exciting bugs. The contract was just for the execution, they had already decided to use PDFs and forms and javascript that way. All in all I could bill them a week at 1200€/day for that poo poo. I no longer do consulting.
|
# ? May 29, 2020 13:07 |
|
|
# ? Jun 5, 2024 08:11 |
|
Beef posted:I had to look it up, but Nullsoft's install/uninstaller software is still around and open source. So it's not like you cannot take something off the shelve to do your unistall properly on windows for you. Or even better, there is an installer format that has a manifest of files along with their checksum, so it can cleanly uninstall. It's really obscure. It's called "MSI", or "Microsoft Installer" as it was called 20 years ago. Fun fact: MSI is a database and you can query it like SQL. I wrote that.
|
# ? May 29, 2020 13:35 |