WTF Bites
-
@pie_flavor BTW considering what functionality the
Type
object provides, I'd sayTypeId
would be a very bad name for it.But it is, in fact, an ID. Try printing it as
:?
sometime.
-
@pie_flavor it's a type. You can instantiate it. You can list methods and call them on instances. You can check supertypes. You can create derived types (arrays, references). And, yes, you can print its ID and compare with other Type objects. But it's a whole lot more than just ID, so "TypeID" would be a wrong name for it (well, more wrong than what it is now).
-
-
@Gribnit that would be a good name for a type of type's type, but not for a type of type.
-
@Gribnit that would be a good name for a type of type's type, but not for a type of type.
What would you call just a type, nothing?
-
@Gribnit I'd call it an instance of type
Type
.
-
@Gribnit I'd call it an instance of type
Type
.Dunno, sounds more like its type is an instance of type Type.
-
@Gribnit you're thinking of a value. The type of a value would be an instance of
Type
type.
-
@Gąska Sure, also if I've got any instance, its type is an instance of type Type if Type is the type which types types. But, is the Type you're talking about like a Class, or like a Type?
-
@Gribnit depends. Java or C#?
-
@Gąska Groovy.
-
-
-
I failed the first two lab exercises. The first time, I put a comma instead of dot in a number, and couldn't figure out compilation error. The second time, I've imported a library and aliased it to
p
, and also made a local variablep
, and again couldn't figure out the error on time. I mean, you have only 15 minutes to get it done! Man, the grading is totally unfair in this lab.This is 3rd year CS undergrad student.
-
@TimeBandit That is a png.
-
I failed the first two lab exercises. The first time, I put a comma instead of dot in a number, and couldn't figure out compilation error. The second time, I've imported a library and aliased it to
p
, and also made a local variablep
, and again couldn't figure out the error on time. I mean, you have only 15 minutes to get it done! Man, the grading is totally unfair in this lab.This is 3rd year CS undergrad student.
Timed lab exercises?
Never actually had those. Well, apart from the team projects, that had a hard deadline. The only time I've actually ever had a read hard deadline in programming. I even remember talking to one of the teachers about that, and he said that they don't do that because excellent programmers can go really dumb with a time limit. And sometimes you do brain farts.
But yeah, it does seem a tad silly to not being able to read compiler errors. Or IDE errors.
-
@Carnage the program was ~30 lines of Python that plots a given function(s) and its derivative(s). There's over an hour to get your code in shape (and you get as much teacher's assistance as you want!), and the 15 minute test is at the end of class, and all you have to do is plug in a slightly different function to plot. I understand someone can have a bad day, but twice in a row? And not noticing such a blatant name conflict?
-
@Carnage the program was ~30 lines of Python that plots a given function(s) and its derivative(s). There's over an hour to get your code in shape (and you get as much teacher's assistance as you want!), and the 15 minute test is at the end of class, and all you have to do is plug in a slightly different function to plot. I understand someone can have a bad day, but twice in a row? And not noticing such a blatant name conflict?
Yeah, back when I handled newly graduated worker evaluations, shit like that made my recommendation be "Do not hire." Unless they had shown an actual willingness and ability to learn from their mistakes.
-
@Carnage That is a UTF-8 string.
-
@Gribnit It's actually UTF-EBCDIC, but it gets rendered differently.
-
@anonymous234 said in WTF Bites:
Jesus christ what the fuck is up with visual studio wanting to load a billion million trillion gazillion dll "symbols" every time you run a c++ project?
I turn it off until I need them.
-
-
"TypeID" would be a wrong name for it
How about "TypeType"?
TypeType type = typeof(TypeType).GetType();
-
@Gąska If you have git, clone git://git.openssl.org/openssl.git and see for yourself. ¯\_(ツ)_/¯
Looking at those root access errors, it doesn't look like perfectly safe operation. And I don't feel like spinning up a new VM today.
Those are just Git being unable to access the global settings file. I think...?
-
@Carnage Ah, Fjollträsk. Men de första 4 bokstäverna stämmer överens iaf.
Smørrebrød, smørrebrød, røm pøm pøm pøm?
Gesundheit!
-
-
So the guy who did that got automated emails through the mailing list. He got about 50 emails per day about this since last week. And yet not only is the issue still here, but he hasn't even sent an email to the list to say that he's working on it (which I assume he therefore isn't).
Are there any developers currently on vacation?
Does anyone besides the developer group have access to the repository?
-
@Scarlet_Manuka said in WTF Bites:
Or just change the power plans so that power button = shutdown, I guess.
And break their workflow of having all their programs already up for them when they "turn on" the computer?
-
@Scarlet_Manuka said in WTF Bites:
Or just change the power plans so that power button = shutdown, I guess.
And break their workflow of having all their programs already up for them when they "turn on" the computer?
You can install Windows 10 for them.
-
less-than functionality for a
GUID
NEW SEQUENTIALID()
-
@anonymous234 said in WTF Bites:
But that should be small enough to just be embedded in the exe.
It probably should be… but it can call standard library functions and those can be elsewhere. The only things that have to be there, categorically, are to do with ensuring that critical libraries are present and calling them (with a reference to the right
main()
), and the rest can be done in libraries. The details are messy, usually written in assembly, and not something most programmers need to pay much attention to.
-
less-than functionality for a
GUID
Probably for a sorted container like
map
.
-
I’ve typed that 3 times already and you continue to try and correct it. The language is set to English, what the heck are you doing?
STAAAAHP
-
less-than functionality for a
GUID
Probably for a sorted container like
map
.They're doing GUIDs wrong, then.
-
-
@Tsaukpaetra yes, but that resets the dictionary.
-
-
@Tsaukpaetra said in WTF Bites:
STAAAAHP
Time for a dictionary reset? You can do that on iOS, right?
Since I don't remember consciously misspelling shit like that, I'm not sure why that would be needed.
I'd prefer if it stopped "correcting" things once I've undone it and typed the exact same thing.
-
@topspin iOS has the most aggressive and obnoxious auto correct I've seen.
-
less-than functionality for a
GUID
Probably for a sorted container like
map
.Exactly. The GUID is a key in a struct that is in a vector, we needed to accumulate some info about it.
-
less-than functionality for a
GUID
NEW SEQUENTIALID()
But that is almost certainly not a "globally unique identifier."
-
less-than functionality for a
GUID
NEW SEQUENTIALID()
CAST((CAST(SELECT MAX(guid_that_is_nvarchar_actually) as varbinary) + 1) as nvarchar)
-
@Scarlet_Manuka said in WTF Bites:
Or just change the power plans so that power button = shutdown, I guess.
And break their workflow of having all their programs already up for them when they "turn on" the computer?
You can install Windows 10 for them.
Win10 has that feature?
If that's true, then I'm one step more willing to upgrade.
-
The GUID is a key in a struct that is in a vector
Better yet, just write a quick little script that loops 2^128 times, generates a GUID string of that number (not generate the guid itself, that's inefficient!), then
f = file_open("GuidEnums.cs"); f.write("enum GuidEnums {"); // Loop starts here f.writeline( guid + " = " + loopVariable + ";"); // loop ends here f.write("}"); f.close(); ``
-
@Lorne-Kates
error: unexpected end of input.
Edit: eh, you edited.
-
-
@Lorne-Kates said in WTF Bites:
@Lorne-Kates
error: unexpected end of input.
Do a "get latest".
You're so out of date you TFS using dinosaur. With Git, it's a simple matter of fetch, sync, pull but make sure you use the --chase-branch option or it might reflog the things you just got flogged properly
-
it might reflog the things you just got flogged properly
Git: self-flagellation
-
@Lorne-Kates said in WTF Bites:
@Lorne-Kates
error: unexpected end of input.
Do a "get latest".
You're so out of date you TFS using dinosaur. With Git, it's a simple matter of fetch, sync, pull but make sure you use the --chase-branch option or it might reflog the things you just got flogged properly
Oye, it's called "Get Latest" in other systems as well!
-
So the guy who did that got automated emails through the mailing list. He got about 50 emails per day about this since last week. And yet not only is the issue still here, but he hasn't even sent an email to the list to say that he's working on it (which I assume he therefore isn't).
Are there any developers currently on vacation?
No idea, I don't follow everyone's schedule. But the team lead in charge of that (who was away) didn't mention anyone not-there. Also, even if the dev in charge had been on vacation, he should have checked that his commit worked before leaving, or at least someone else in his team should have done so (at worst, simply revert the offending commit and let the dev sort it out later). And unless he's still away (again, no one mentioned that), the first thing he should have done when coming back and seeing his mailbox flooded by these errors should have been to fix it.
Does anyone besides the developer group have access to the repository?
All developers have access to the repo. That is, all devs working on that module, plus all devs working on other modules (basically, all devs have access to all modules).
Also also, it's now been more than 1 week since the team lead has been back, and unless the issue has been fixed this morning (I haven't checked yet), it's still broken.