|
Yeah, there's a size limit where "disgruntled/incompetent employee burns everything down" is sufficiently unlikely to not warrant lots of effort on finely grained internal controls. Spending a month of effort on that isn't a good idea if the company only has a couple years of operating runway
|
# ¿ Sep 11, 2022 20:03 |
|
|
# ¿ May 17, 2024 19:08 |
|
|
# ¿ Sep 12, 2022 21:39 |
|
Kazinsal posted:Which is especially ridiculous as the libc mktime function takes a struct tm which has the time/date components in the right friggin order inside it.
|
# ¿ Sep 15, 2022 19:45 |
|
take boat posted:at companies I've been at, project manager/program manager is not a promotion over software engineer, and defer to engineering on technical decisions and afaict generally make less. of course they can still be a pita to work with but that's true of anyone
|
# ¿ Sep 20, 2022 21:51 |
|
"Can we change our online-only game to not require an account?" is not a useful question for a UI designer to be asking or making mockups for, especially at the point where you are hashing out the details of a screen. Some of the other stuff mentioned like moving the login screen to the end also just seem worse to me. The normal place for that is at the start of the interaction and you shouldn't surprise the user. It's like if you were making a windows desktop program and had a very convincing first principles argument that the close button should be in the upper left instead of upper right. You still shouldn't do it. Presumably this assignment prompt comes with some amount of background detail about it? UI for a RTS, a MOBA, and a free-to-play game are not the same.
|
# ¿ Sep 21, 2022 18:48 |
|
Analogy:C++ code:
Similarly, in structural subtyping, types have no one true name. All the names you introduce are just quick ways to refer to the same type floating in conceptual land
|
# ¿ Sep 26, 2022 21:55 |
|
Absurd Alhazred posted:Fine, it's not a replacement, it's just a weird addition. Spaceship is strange, but it's entire purpose in life is to make it easy to define object ordering without having to explicitly write operator==, operator!=, operator<, operator<=, operator>, and operator>=. It is convenient for that, and you probably shouldn't use it otherwise.
|
# ¿ Sep 27, 2022 00:12 |
|
Xarn posted:The output is different with C++17 and C++20.
|
# ¿ Sep 28, 2022 05:03 |
|
Both do that. Using them to design a circuit needs both a language for describing the circuit and a language for saying how to test it. It would probably have been better design to make a harder line between those parts, though they do need to interact a long (i.e. "in this test, we will connect circuit A to circuit B, then wiggle input pins on A and check that the right signals come out of B")
|
# ¿ Sep 29, 2022 19:03 |
|
I am happy with how my school taught. Introductory "How to program computer?" was a school-wide required class and taught using Java (I think it is Python now). C++ was introduced in "Intro to Data Structures" alongside the main data structure content. Everybody taking that was already familiar with imperative languages in general, and C++ is a decent tool for a class that's about stack/queue/linked list/heap/priority queue/binary tree/red-black tree/hash table/... and how to implement them/computational complexity of them. Then there was more C++ stuff in "Into to Algorithms" later.
|
# ¿ Sep 29, 2022 19:59 |
|
Xarn posted:The beauty of adding new keywords and not wanting to break anyone ever, so you make the keywords contextual
|
# ¿ Oct 26, 2022 00:19 |
|
Hammerite posted:Thank god it's documented what each value means
|
# ¿ Dec 30, 2022 20:54 |
|
Powershell is lot better than unix shell script just because it doesn't have "everything is a string". It's wordy form is very wordy, but its tab completion works on flag names too, so it's not that bad to use interactively in practice. Shell script being all strings is especially bad combined with POSIX filename horror. They are arbitrary byte sequences, not text. Nobody nonmalicious makes files with names that are things like zalgo text, nonnormalized/malformed UTF-8 sequences, or entirely various forms of whitespace, but those are all perfectly legal filenames in general
|
# ¿ Mar 31, 2023 21:09 |
|
FlapYoJacks posted:In *nix land, if your scripting needs to go beyond basic string comparisons, you move to Python or Pearl. "Has an array", "has command line arguments", "a string might be empty", and "want to test a commands exit code" are all past that and places where everything-is-a-string starts sucking
|
# ¿ Apr 3, 2023 19:37 |
|
Bruegels Fuckbooks posted:because microsoft's manic pixy dream language is special and unique and doesn't invoke functions the way all the other languages do (with parenthesis like god intended).
|
# ¿ Apr 4, 2023 21:14 |
|
It's like they didn't even consider that the checkbox might be FileNotFound at all
|
# ¿ Aug 4, 2023 02:44 |
|
FlapYoJacks posted:There is never a time they shouldn't be. If you need to display the time the conversion happens when converting the timestamp to the user set time zone.
|
# ¿ Sep 5, 2023 04:26 |
|
I'm gonna guess the AWS rep meant: "It would make AWS a lot of money if you migrated to managed database services and look great on my annual review. Please do that."
|
# ¿ Sep 6, 2023 06:28 |
|
Doom Mathematic posted:
|
# ¿ Sep 19, 2023 19:21 |
|
I think there's a better argument that every one argument constructor should be marked explicit and not be participating in implicit conversions unless you're absolutely sure you want that
|
# ¿ Oct 17, 2023 02:33 |
|
ExcessBLarg! posted:Both Java and Python use object references when assigning non-primitives.
|
# ¿ Dec 10, 2023 07:21 |
|
|
# ¿ May 17, 2024 19:08 |
|
I don't think I hate this that much? it's icky, but it's also plain what it does and how it works. (I do hate that resume() returns 0 on both the first iteration and after it's finished)
|
# ¿ Apr 9, 2024 20:43 |