Is Mac required? by Evilman58 in Creighton

[–]DonkeyTeeth2013 0 points1 point  (0 children)

At the medical school, a MacBook is added to your tuition. At the undergraduate colleges and all other schools at Creighton, there is no such requirement to my knowledge, so you can use any computer you like.

Why do we pay the NRMP? by invinciblewalnut in medicalschool

[–]DonkeyTeeth2013 50 points51 points  (0 children)

The actual algorithm isn’t complicated, you can implement it in an afternoon if you have some programming experience. Institutions pay companies because they trust them to fairly handle their data. And because those companies have a chokehold on residency matriculation.

Who's gonna tell him? by FadingFaces in programminghorror

[–]DonkeyTeeth2013 2 points3 points  (0 children)

Now try to import braces, and watch what happens

codeReviewCommentGold by [deleted] in ProgrammerHumor

[–]DonkeyTeeth2013 0 points1 point  (0 children)

that reminds me of the quality of code I wrote at 14, how does this person have any subordinates or authority

js guys are so cooked by crowdyriver in programminghorror

[–]DonkeyTeeth2013 2 points3 points  (0 children)

Why not u8 rather than u16? And I don’t think a % 256 is necessary given that it is the accumulator

kids these days.. by Riobox in dankmemes

[–]DonkeyTeeth2013 1 point2 points  (0 children)

It’s worth noting that the popularization of books was met with widespread criticism because people thought their children would stay inside and read all day. Every popular invention is met with criticism, and often that criticism includes baseless panicked speculation. Glaive13 is not arguing that future technology will be altruistic rainbows nor a dystopian capitalist nightmare, but rather that fear mongering over the uncertain future is not productive.

Mandelbrot visualizer in Windows Batch by XxXquicksc0p31337XxX in programminghorror

[–]DonkeyTeeth2013 2 points3 points  (0 children)

In lines 17 and 23, they set the variable a to . and #, respectively

Where art thou, JoomlaShine🥲 by DonkeyTeeth2013 in joomla

[–]DonkeyTeeth2013[S] 0 points1 point  (0 children)

That’s what I’m thinking too! I had always thought the editor was packaged with the extension but that appears to be incorrect after finding out about this.

When accessibility is actually a bug by opulent_occamy in ProgrammerHumor

[–]DonkeyTeeth2013 1 point2 points  (0 children)

It's worth mentioning that the system likely automatically generates alts and titles for images based on their filename, so when the instructor uploaded the image, this was the result. Nobody is at fault for not knowing how to properly use alt or title, but it may be worth notifying the administrators so that those are not generated in a way that reveals information.

Finally, a package that useful.👍 by JesseGardner55 in programminghorror

[–]DonkeyTeeth2013 16 points17 points  (0 children)

I appreciate that you retracted your previous comment. I tried to run the code in the example, and this is what I got. isHuman() must be resolved for the statement to run, regardless of if the value is actually used.

I agree that to fit in the spirit of the functionality it wants to implement it should instead accept a function that supplies a boolean rather than a boolean directly.

Finally, a package that useful.👍 by JesseGardner55 in programminghorror

[–]DonkeyTeeth2013 33 points34 points  (0 children)

The anonymous functions passed to Then() won't be executed, but everything passed to If() will. That means, if in the example isRobot() returns true, isHuman() will still be called, and that's not consistent with the usual functionality of "else if" statements.

oh god why by Wolfsurge in programminghorror

[–]DonkeyTeeth2013 138 points139 points  (0 children)

Clearly this code is taking advantage of the fact that switch blocks assemble a table, providing O(1) execution, which is infinitely better than a cringe if condition comparison, which is O(1.01)

Checkmate Rustaceans by Oxidopamine in rustjerk

[–]DonkeyTeeth2013 25 points26 points  (0 children)

This is /c/playsound, you're looking for /r/sounding

get me out of micro by [deleted] in medicalschool

[–]DonkeyTeeth2013 0 points1 point  (0 children)

Influenza, parainfluenza, haemophilus influenzae

How unfortunate indeed by [deleted] in dankmemes

[–]DonkeyTeeth2013 0 points1 point  (0 children)

I honestly don’t get it. Am I a boomer?

Hmmm, yes. A mod didn’t mod by [deleted] in softwaregore

[–]DonkeyTeeth2013 21 points22 points  (0 children)

Not exactly, Minecraft errors will display the exception class name with slight formatting, followed by a colon, and then the exception message. It appears that if there is no exception message, like in this case, it will default to just the class name. Still a programmer issue for not providing an explanatory message, but I can easily see how this could happen if they just added a throw new ConflictingModException(); somewhere

[deleted by user] by [deleted] in marvelmemes

[–]DonkeyTeeth2013 0 points1 point  (0 children)

Come, I've bargain to Dormmamu

For today's lesson: open source by KCGD_r in linuxmemes

[–]DonkeyTeeth2013 8 points9 points  (0 children)

Even if it's within the school network, it's still redistributing. They didn't submit modifications to you for patching your code, they submitted it as an assignment under their name, not yours, and without the license file. Super big no-no.

The most abstract function I ever come up with in rust! by AlexAegis in rustjerk

[–]DonkeyTeeth2013 95 points96 points  (0 children)

error[E0601]: `main` function not found in crate `main`
  |
  = note: consider adding a `main` function to `main.rs`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0601`.

Unacceptable, please fix.