Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 4838 4839 [4840] 4841 4842 ... 11040

Author Topic: Things that made you go "WTF?" today o_O  (Read 14450074 times)

scriver

  • Bay Watcher
  • City streets ain't got much pity
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #72585 on: March 23, 2015, 09:20:53 am »

I really want to know what the lich mobs was about though. Searching for it on wikipedia yields nothing.
Logged
Love, scriver~

Darvi

  • Bay Watcher
  • <Cript> Darvi is my wifi.
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #72586 on: March 23, 2015, 09:28:06 am »

It relates to the zombie revolutions of '41. You probably wouldn't know about it.
Logged

Sergarr

  • Bay Watcher
  • (9) airheaded baka (9)
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #72587 on: March 23, 2015, 09:28:59 am »

I really want to know what the lich mobs was about though. Searching for it on wikipedia yields nothing.
They were pretty good at hiding. So good, that in fact no one has ever seen a lich mob. That's how good they were.
Logged
._.

reality.auditor

  • Bay Watcher
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #72588 on: March 23, 2015, 10:05:05 am »

Why do we gloss over all the horrific tragedies we done in WW2 OTHER then the interment camps (such as the lich mobs)?
I really want to know what the lich mobs was about though. Searching for it on wikipedia yields nothing.
He probably meant lynch mobs. You know, like guys that were killing Jews that were returning after war to their homes, burning Jews in barns and other cute things like that. Note that it is significant, because Nazis didn't incited these atrocites, at least not directly.
Logged
Are weapons like the least lethal thing in DF?

Skyrunner

  • Bay Watcher
  • ?!?!
    • View Profile
    • Portfolio
Re: Things that made you go "WTF?" today o_O
« Reply #72589 on: March 23, 2015, 10:19:54 am »

Java you so cray.

int blocksToRemove = whole + (remainder>0?1:0);

is the correct snippet, while

int blocksToRemove = whole + remainder>0?1:0;

makes blocksToRemove always equal 1. I guess it's because whole + remainder > 0 is counted as the first arg for the ternary operator.
Logged

bay12 lower boards IRC:irc.darkmyst.org @ #bay12lb
"Oh, they never lie. They dissemble, evade, prevaricate, confoud, confuse, distract, obscure, subtly misrepresent and willfully misunderstand with what often appears to be a positively gleeful relish ... but they never lie" -- Look To Windward

Reelya

  • Bay Watcher
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #72590 on: March 23, 2015, 10:39:04 am »

+ has higher precedence than >. And this is normal maths for all languages. It's interpreting it as:

(whole + remainder > 0) ? ... , which if you consider statements like (x + 1 > 3) ? ... is probably the right way to go.

if you want to talk arbitrary why isn't the ? only applied to the "0" as in:

int blocksToRemove = whole + remainder > (0 ? 1 : 0);

So if we go by the rule that the "?" only applies to the thing right before it, it should apply only to the zero, and ignore the >

Operator precedence is strictly enforced to prevent silly situations like this.
« Last Edit: March 23, 2015, 10:58:39 am by Reelya »
Logged

Skyrunner

  • Bay Watcher
  • ?!?!
    • View Profile
    • Portfolio
Re: Things that made you go "WTF?" today o_O
« Reply #72591 on: March 23, 2015, 10:47:54 am »

Brain derped. Oh well :P
Logged

bay12 lower boards IRC:irc.darkmyst.org @ #bay12lb
"Oh, they never lie. They dissemble, evade, prevaricate, confoud, confuse, distract, obscure, subtly misrepresent and willfully misunderstand with what often appears to be a positively gleeful relish ... but they never lie" -- Look To Windward

Reelya

  • Bay Watcher
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #72592 on: March 23, 2015, 10:56:52 am »

I'm just in the habit of bracketing everything based on my intentions so I rarely think about operator precedence. Just put brackets around every conditional block as if it was an if statement, and you never have issues.

Descan

  • Bay Watcher
  • [HEADING INTENSIFIES]
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #72593 on: March 23, 2015, 11:20:19 am »

... Neo, John A. MacDonald WAS the first Prime Minister. He helped create the damn office. What do you think he was instead? And who was the first?
Logged
Quote from: SalmonGod
Your innocent viking escapades for canadian social justice and immortality make my flagellum wiggle, too.
Quote from: Myroc
Descan confirmed for antichrist.
Quote from: LeoLeonardoIII
I wonder if any of us don't love Descan.

Levi

  • Bay Watcher
  • Is a fish.
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #72594 on: March 23, 2015, 11:24:21 am »

I'm just in the habit of bracketing everything based on my intentions so I rarely think about operator precedence. Just put brackets around every conditional block as if it was an if statement, and you never have issues.

Me too.  Its a few extra key-strokes for peace of mind.   :P
Logged
Avid Gamer | Goldfish Enthusiast | Canadian | Professional Layabout

nenjin

  • Bay Watcher
  • Inscrubtable Exhortations of the Soul
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #72595 on: March 23, 2015, 11:36:57 am »

From another forum I browse: http://judiciary.house.gov/index.cfm/press-releases?ID=62B4FDF5-C8F8-4674-9C2B-08E9A0E7E908

Yep, that's right. The Senate Judiciary Committee puts together a press release the equal of what your 13 year old brother or sister could whip up with 20 minutes of access to Buzzfeed.
Logged
Cautivo del Milagro seamos, Penitente.
Quote from: Viktor Frankl
When we are no longer able to change a situation, we are challenged to change ourselves.
Quote from: Sindain
Its kinda silly to complain that a friendly NPC isn't a well designed boss fight.
Quote from: Eric Blank
How will I cheese now assholes?
Quote from: MrRoboto75
Always spaghetti, never forghetti

Wolfkit

  • Bay Watcher
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #72596 on: March 23, 2015, 11:53:17 am »

From another forum I browse: http://judiciary.house.gov/index.cfm/press-releases?ID=62B4FDF5-C8F8-4674-9C2B-08E9A0E7E908

Yep, that's right. The Senate Judiciary Committee puts together a press release the equal of what your 13 year old brother or sister could whip up with 20 minutes of access to Buzzfeed.

That reminds me of back when I thought that annoying animated gifs, rediculous bouncing text, and seizure inducing transitions were the height of PowerPoint design... I'm so sorry so sorry

Edit: Oh god brainfreeze why do I keep doing this to myself
« Last Edit: March 23, 2015, 11:58:08 am by Wolfkit »
Logged
You wanna frisk this guy? This guy with the technicolor wonder limbs? The limbs that could probably slap you on several different levels of reality?
Your tabs are just pure chaos, Wolfkit.
Sig

Graknorke

  • Bay Watcher
  • A bomb's a bad choice for close-range combat.
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #72597 on: March 23, 2015, 11:59:38 am »

From another forum I browse: http://judiciary.house.gov/index.cfm/press-releases?ID=62B4FDF5-C8F8-4674-9C2B-08E9A0E7E908

Yep, that's right. The Senate Judiciary Committee puts together a press release the equal of what your 13 year old brother or sister could whip up with 20 minutes of access to Buzzfeed.
All of the people in those gifs were white. Just saying.
Logged
Cultural status:
Depleted          ☐
Enriched          ☑

nenjin

  • Bay Watcher
  • Inscrubtable Exhortations of the Soul
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #72598 on: March 23, 2015, 12:00:24 pm »

From another forum I browse: http://judiciary.house.gov/index.cfm/press-releases?ID=62B4FDF5-C8F8-4674-9C2B-08E9A0E7E908

Yep, that's right. The Senate Judiciary Committee puts together a press release the equal of what your 13 year old brother or sister could whip up with 20 minutes of access to Buzzfeed.
All of the people in those gifs were white. Just saying.

I'm posting to register my utter lack of surprise. It's Congress, after all.
Logged
Cautivo del Milagro seamos, Penitente.
Quote from: Viktor Frankl
When we are no longer able to change a situation, we are challenged to change ourselves.
Quote from: Sindain
Its kinda silly to complain that a friendly NPC isn't a well designed boss fight.
Quote from: Eric Blank
How will I cheese now assholes?
Quote from: MrRoboto75
Always spaghetti, never forghetti

Graknorke

  • Bay Watcher
  • A bomb's a bad choice for close-range combat.
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #72599 on: March 23, 2015, 12:15:29 pm »

It was an article about keeping out them darn foreigners. They're not even trying to hide who they're trying to please.
Logged
Cultural status:
Depleted          ☐
Enriched          ☑
Pages: 1 ... 4838 4839 [4840] 4841 4842 ... 11040