• (cs) in reply to XXXXX
    XXXXX:
    I like this. It allows me to skip lame months like August if I want to. Fxxx August!!!

    Hey! My birthday is in August! :P

  • Tayrtahn (unregistered) in reply to My Balls Are Racist

    Grumble grumble... no it doesn't. It indicates the end of the 13th baktun and the start of the 14th baktun.

    Saying the Mayan calendar predicts the end of the world in 2012 is like saying the Gregorian calendar predicts the end of the world on December 31st. It's the end of the calendar, no the world.

  • (cs) in reply to Can't be bothered to log in from home
    Can't be bothered to log in from home:
    tolstoy fanboy:
    Indeed, I would hate for us to ultimately end up spending more time arguing about arguing or worrying about worrying just to end up in the same position at the end of the the day for while we may believe we're seeking an ultimate truth, the value of that truth lies in what we can do now that we know it and we can do nothing if we are so preoccupied with knowing it, true?

    Furthermore, tl;dr

    Everyone should read War and Peace. It's good for you; it builds character.

    Plus, "...a book like that can feed a fire for hours.." -- Emo Philips

  • (cs) in reply to My Balls Are Racist
    My Balls Are Racist:
    The developer was probably following the Aztec calendar, which predicts the world will end by 2012.

    Nah, it's probably someone who answers "set your windows clock a year back" when asked why his program goes wrong.

  • Worf from Ork (unregistered)

    War and Peace, like MacBeth, is much better in the original Klingon.

  • AB (unregistered) in reply to Joshua
    Joshua:
    You know it had to be done.... just in case the amount of months in a year change... or the names. Its generic I think we should all learn from this!

    Today is Quintidi, 15 Frimaire CCXX.

  • MadX (unregistered) in reply to Arguing About Arguing
    Arguing About Arguing:
    Nagesh:
    Anonymous:
    TRWTF is using PHP.

    This kind of comment never add value to discusion. It is tedius and repetitive and tend to fill up valueable screen real estate.

    ... The visitor made a gesture with her hand. ...

    Me too!

  • (cs) in reply to Worf from Ork
    Worf from Ork:
    War and Peace, like MacBeth, is much better in the original Klingon.
    3/10, but you may get a bite anyway.
  • foo (unregistered) in reply to trtrwtf
    trtrwtf:
    I was most bothered by the fact that the outlooks "were trying to be prepared".

    The perpetrator of that sentence should try to be killed, slowly and with fire.

    FTFY

  • (cs) in reply to PedanticCurmudgeon
    PedanticCurmudgeon:
    Worf from Ork:
    War and Peace, like MacBeth, is much better in the original Klingon.
    3/10, but you may get a bite anyway.
    I think that was meant to be a joke rather than a troll attempt, but then again, I could be wrong...
  • foo (unregistered) in reply to Ton
    Ton:
    When *I* see code like this, I wonder how many programmers know exactly what these fancy machines are for, but ALSO know there PHBs use 'lines of code' as a performance rating metric...
    Nothing wrong with that, if done correctly -- as the denominator. Since code is effort to write and a liability to maintain, it's analogous to resource usage.

    If you're a trucker and use twice as much gas as me to get something from here to there, you're half as efficient (roughly speaking). Likewise if you solve the same task with twice as many lines as me.

  • Turrible (unregistered) in reply to C-Octothorpe
    C-Octothorpe:
    PedanticCurmudgeon:
    Worf from Ork:
    War and Peace, like MacBeth, is much better in the original Klingon.
    3/10, but you may get a bite anyway.
    I think that was meant to be a joke rather than a troll attempt, but then again, I could be wrong...
    When you have the Assburger's, every joke is a troll attempt.
  • (cs) in reply to PedanticCurmudgeon
    PedanticCurmudgeon:
    Worf from Ork:
    War and Peace, like MacBeth, is much better in the original Klingon.
    3/10, but you may get a bite anyway.
    A bite on... what?
  • (cs) in reply to Zylon
    Zylon:
    PedanticCurmudgeon:
    Worf from Ork:
    War and Peace, like MacBeth, is much better in the original Klingon.
    3/10, but you may get a bite anyway.
    A bite on... what?
    Not quite sure, but @Turrible talking about burgers made me hungry...
  • Hortical (unregistered) in reply to C-Octothorpe
    C-Octothorpe:
    PedanticCurmudgeon:
    Worf from Ork:
    War and Peace, like MacBeth, is much better in the original Klingon.
    3/10, but you may get a bite anyway.
    I think that was meant to be a joke rather than a troll attempt, but then again, I could be wrong...
    Your mom is a joke rather than a troll attempt! OOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!!!!!!!!!!!!
  • g.lum (unregistered)

    I have no clue what that is supposed to mean, but this looks like a date bug. As in, the date of contract termination the coder who wrote that is too big.

  • (cs) in reply to Arguing About Arguing
    Arguing About Arguing:
    Nagesh:
    Anonymous:
    TRWTF is using PHP.

    This kind of comment never add value to discusion. It is tedius and repetitive and tend to fill up valueable screen real estate.

    Indeed, I would hate for us to ultimately end up spending more time arguing about arguing or worrying about worrying just to end up in the same position at the end of the the day for while we may believe we're seeking an ultimate truth, the value of that truth lies in what we can do now that we know it and we can do nothing if we are so preoccupied with knowing it, true?

    Furthermore, "Well, Prince,

    ....

    She took his arm and with a happy face went with him into the adjoining sitting room.

    Speaking of valuable space, I'm impressed with the length we have to work with in these posts.

    My forums use TINYTEXTS... Not because i'm worried about running out of space, but because i'm stingy.

  • (cs) in reply to Hortical
    Hortical:
    C-Octothorpe:
    PedanticCurmudgeon:
    Worf from Ork:
    War and Peace, like MacBeth, is much better in the original Klingon.
    3/10, but you may get a bite anyway.
    I think that was meant to be a joke rather than a troll attempt, but then again, I could be wrong...
    Your mom is a joke rather than a troll attempt! OOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!!!!!!!!!!!!
    Clearly you have never met my mother.

    OOOOOOOOOOOOOOOOOOOOOO!!!!

    Wait, what?

  • nag-geoff (unregistered)

    "When the snow starts falling, that means two things," writes Lee, "there's a bit of a slower commute, and the End of Year bugs start coming out of the woodwork."

    Lee's the short-sighted moron, who never ventured anywhere below the equator.

  • nag-geoff (unregistered) in reply to PedanticCurmudgeon
    PedanticCurmudgeon:
    Worf from Ork:
    War and Peace, like MacBeth, is much better in the original Klingon.
    3/10, but you may get a bite anyway.

    He got one from you.

  • The boss (unregistered) in reply to QJo
    QJo:
    FORTRAN alert: I used to have to maintain a system whereby the national holidays (i.e. when our office was closed) needed to be added to the company software every year. This was done by adding to a progressively larger DATA statement. Every routine that used that data would then be required to be extracted from the libraries, recompiled and inserted back into the libraries. As the code base tended to change throughout the year, the list of which routines required this behaviour would likewise change throughout the year. So the first job of the year was to get the list of the routines that had changed.

    I made the suggestion to my boss (who was a programmer of the old school, who thought that a long list of assignment statements was a beautiful program) that it would save a considerable amount of hassle if the national holidays could be stored in a file, and a simple program could be written to access these dates from the file when needed. This suggestion, of course, was immediately vetoed with no hope of appeal, because "it's not the way we like to program in this company" and besides, it might introduce bugs. Anyway, it only has to be done once a year, and therefore isn't worth doing.

    During the first few weeks of the year there were always those weird difficult-to-diagnose bugs (we also used to compile our FORTRAN with no bounds checking, of course) caused by someone not having rebuilt all the library code properly, or worse, the holiday dates being typed in inaccurately, and the whole jolly lot had to be done again, sometimes as many as four times.

    Well there's your WTF! I'm the boss! I make "suggestions" to you. Not the other way!

  • Larry (unregistered) in reply to Ton
    Ton:
    Totally Not Misusing Office Resources:
    You know, when I see code like this, I wonder how many programmers don't understand what these fancy computation machines are for.

    When I see code like this, I wonder how many programmers know exactly what these fancy machines are for, but ALSO know there PHBs use 'lines of code' as a performance rating metric...

    ... or "commits per day"... so you ensure there are a ton of trivial changes waiting for you to make, to water down the occasional real work that takes a chunk of time.

  • (cs) in reply to foo
    foo:
    Ton:
    When *I* see code like this, I wonder how many programmers know exactly what these fancy machines are for, but ALSO know there PHBs use 'lines of code' as a performance rating metric...
    Nothing wrong with that, if done correctly -- as the denominator. Since code is effort to write and a liability to maintain, it's analogous to resource usage.

    If you're a trucker and use twice as much gas as me to get something from here to there, you're half as efficient (roughly speaking). Likewise if you solve the same task with twice as many lines as me.

    Yes, Except it should take an approximate amount of fuel (depending on what you are hauling and the route you take) to go from any given point to any other given point.

    This code routes you out of state for a shipment going across town, and then stops and drops your shipment off half way through.

  • FuBar (unregistered) in reply to nag-geoff
    nag-geoff:
    "When the snow starts falling, that means two things," writes Lee, "there's a bit of a slower commute, and the End of Year bugs start coming out of the woodwork. "Lee's the short-sighted moron, who never ventured anywhere below the equator.
    You mean like Antarctica?
  • FuBar (unregistered) in reply to PZ
    PZ:
    But...HOW DOES IT END?!?!
    In tears.
  • qbolec (unregistered)

    When I saw the headline "The Date Array", I was expecting something like: var date_array = { 2001: [ new Date("01.01.2001"), new Date("01.02.2001"), new Date("01.03.2001"), new Date("01.04.2001"), new Date("01.05.2001"), new Date("01.06.2001"), new Date("01.07.2001"), new Date("01.08.2001"), new Date("01.09.2001"), new Date("01.10.2001"), new Date("01.11.2001"), new Date("01.12.2001"), ], 2002:/.../ };

    and was really disappointed by the approach shown in the article. In particular I hate when there is no colon after the last element of the array, which makes adding more rows to the array resulting in too verbose diffs in the repository. Then again, he should score some point for the idea of reversing the order of years, so that new years are added at the begining of the array...

  • setbit (unregistered) in reply to Some damn Yank

    One of the things I love/hate about these comments is how often I can't discern the intended level of irony. Which posters are clueless pedants and which are Zen masters of trolling?

    If someone trolls in a forum and nobody recognizes it, is he still a douchebag?

  • BillClintonsThirdTerm (unregistered) in reply to Arguing About Arguing

    the fuck am I reading????

  • (cs) in reply to Turrible
    Turrible:
    C-Octothorpe:
    PedanticCurmudgeon:
    Worf from Ork:
    War and Peace, like MacBeth, is much better in the original Klingon.
    3/10, but you may get a bite anyway.
    I think that was meant to be a joke rather than a troll attempt, but then again, I could be wrong...
    When you have the Assburger's, every joke is a troll attempt.

    Assburgers ... that's the ones made of rump steak, yeah?

    "Waiter! This rump steak tastes like a cow's arse!"

  • foo (unregistered) in reply to setbit
    setbit:
    One of the things I love/hate about these comments is how often I can't discern the intended level of irony. Which posters are clueless pedants and which are Zen masters of trolling?
    Many of your co-readers share your problem. But there's hope! I run a sarcasm detector online store and I'm happy to serve you.
  • PotatoEngineer (unregistered) in reply to setbit
    setbit:
    One of the things I love/hate about these comments is how often I can't discern the intended level of irony. Which posters are clueless pedants and which are Zen masters of trolling?

    If someone trolls in a forum and nobody recognizes it, is he still a douchebag?

    YES. Also: I believe you've found the programming version of Poe's Law.

  • Homer J. Simpson (unregistered) in reply to Turrible
    Turrible:
    C-Octothorpe:
    PedanticCurmudgeon:
    Worf from Ork:
    War and Peace, like MacBeth, is much better in the original Klingon.
    3/10, but you may get a bite anyway.
    I think that was meant to be a joke rather than a troll attempt, but then again, I could be wrong...
    When you have the Assburger's, every joke is a troll attempt.
    An ass burger!<slobber>
  • (cs) in reply to FuBar
    FuBar:
    nag-geoff:
    "When the snow starts falling, that means two things," writes Lee, "there's a bit of a slower commute, and the End of Year bugs start coming out of the woodwork. "Lee's the short-sighted moron, who never ventured anywhere below the equator.
    You mean like Antarctica?

    Technically, "below" the equator means underground. no, scratch that, it means anywhere closer to the centre of the Earth than the Equator. Hang on, the Earth bulges at the Equator, so technically speaking, as long as you're close enough to sea level, that means quite a lot of the Earth's surface, but the further north and south you go, the further below the Equator you are.

    I always feel a real sense of delight getting one over on Nag-geoff.

  • Chief (unregistered) in reply to setbit
    setbit:
    One of the things I love/hate about these comments is how often I can't discern the intended level of irony. Which posters are clueless pedants and which are Zen masters of trolling?

    If someone trolls in a forum and nobody recognizes it, is he still a douchebag?

    Don't matter, it will be the downfall of this forum anyways.

  • frits-boog (unregistered) in reply to Matt Westwood
    Matt Westwood:
    FuBar:
    nag-geoff:
    "When the snow starts falling, that means two things," writes Lee, "there's a bit of a slower commute, and the End of Year bugs start coming out of the woodwork. "Lee's the short-sighted moron, who never ventured anywhere below the equator.
    You mean like Antarctica?

    Technically, "below" the equator means underground. no, scratch that, it means anywhere closer to the centre of the Earth than the Equator. Hang on, the Earth bulges at the Equator, so technically speaking, as long as you're close enough to sea level, that means quite a lot of the Earth's surface, but the further north and south you go, the further below the Equator you are.

    I always feel a real sense of delight getting one over on Nag-geoff.

    It's probably nowhere near the delight he feels when you respond to him with pedantry in spades. It's even better if filled with vitriol.

    BTW- Isn't there a law about immitating a forum member inevitably makes you as annoying as they are?

  • (cs) in reply to PZ
    PZ:
    But...HOW DOES IT END?!?!

    Some say the world will end in fire, some say in ice...

  • Robert (unregistered)

    At least they only have to worry about it one more time considering the end of the world is coming.

  • (cs) in reply to frits-boog
    frits-boog:
    BTW- Isn't there a law about immitating a forum member inevitably makes you as annoying as they are?
    There is now: the Frits-Boog Postulate.
  • John Muller (unregistered) in reply to frits-boog
    frits-boog:
    Matt Westwood:
    FuBar:
    nag-geoff:
    "When the snow starts falling, that means two things," writes Lee, "there's a bit of a slower commute, and the End of Year bugs start coming out of the woodwork. "Lee's the short-sighted moron, who never ventured anywhere below the equator.
    You mean like Antarctica?

    Technically, "below" the equator means underground. no, scratch that, it means anywhere closer to the centre of the Earth than the Equator. Hang on, the Earth bulges at the Equator, so technically speaking, as long as you're close enough to sea level, that means quite a lot of the Earth's surface, but the further north and south you go, the further below the Equator you are.

    I always feel a real sense of delight getting one over on Nag-geoff.

    It's probably nowhere near the delight he feels when you respond to him with pedantry in spades. It's even better if filled with vitriol.

    BTW- Isn't there a law about immitating a forum member inevitably makes you as annoying as they are?

    I always like going South; somehow, it feels like going downhill.

    Also, it rarely snows in Antarctica, is just dosn't melt when it does. If fact, I wouldn't be surprised to find the majority of antarctic ice is made from penguin urine.

  • (cs) in reply to PedanticCurmudgeon
    PedanticCurmudgeon:
    frits-boog:
    BTW- Isn't there a law about immitating a forum member inevitably makes you as annoying as they are?
    There is now: the Frits-Boog Postulate.
    I used to look forward to the day when I had something named after me. But after all the boog clones ran amok on this site, my anticipation of a namesake has dwindled into boredom at the idea.

    Or as my parrots would say: Who cares?

  • frits' booger (unregistered) in reply to frits-boog
    frits-boog:
    Matt Westwood:
    FuBar:
    nag-geoff:
    "When the snow starts falling, that means two things," writes Lee, "there's a bit of a slower commute, and the End of Year bugs start coming out of the woodwork. "Lee's the short-sighted moron, who never ventured anywhere below the equator.
    You mean like Antarctica?

    Technically, "below" the equator means underground. no, scratch that, it means anywhere closer to the centre of the Earth than the Equator. Hang on, the Earth bulges at the Equator, so technically speaking, as long as you're close enough to sea level, that means quite a lot of the Earth's surface, but the further north and south you go, the further below the Equator you are.

    I always feel a real sense of delight getting one over on Nag-geoff.

    It's probably nowhere near the delight he feels when you respond to him with pedantry in spades. It's even better if filled with vitriol.

    BTW- Isn't there a law about immitating a forum member inevitably makes you as annoying as they are?

    It's gotta be in there somewhere: http://tvtropes.org/pmwiki/pmwiki.php/Main/TheGrandListOfForumAndCommunityLaws

  • r66 (unregistered) in reply to My Balls Are Racist
    My Balls Are Racist:
    The developer was probably following the Aztec calendar, which predicts the world will end by 2012.

    The plaga that makes your booty move.

    Well, since the world would end then on 2012-12, the programmer of this better should have added 2012, too.

    I still wonder for what tihs array of months could be good for (and how somebody can even start to program something like this).

  • Simply Zunesis (unregistered) in reply to C-Octothorpe
    C-Octothorpe:
    Hortical:
    C-Octothorpe:
    PedanticCurmudgeon:
    Worf from Ork:
    War and Peace, like MacBeth, is much better in the original Klingon.
    3/10, but you may get a bite anyway.
    I think that was meant to be a joke rather than a troll attempt, but then again, I could be wrong...
    Your mom is a joke rather than a troll attempt! OOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!!!!!!!!!!!!
    Clearly you have never met my mother.

    OOOOOOOOOOOOOOOOOOOOOO!!!!

    Wait, what?

    You mean she has a dick and was God's way of trolling your dad, but the troll failed 'cause your old man preferred it that way?

  • (cs) in reply to Simply Zunesis
    Simply Zunesis:
    C-Octothorpe:
    Hortical:
    C-Octothorpe:
    PedanticCurmudgeon:
    Worf from Ork:
    War and Peace, like MacBeth, is much better in the original Klingon.
    3/10, but you may get a bite anyway.
    I think that was meant to be a joke rather than a troll attempt, but then again, I could be wrong...
    Your mom is a joke rather than a troll attempt! OOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!!!!!!!!!!!!
    Clearly you have never met my mother.

    OOOOOOOOOOOOOOOOOOOOOO!!!!

    Wait, what?

    You mean she has a dick and was God's way of trolling your dad, but the troll failed 'cause your old man preferred it that way?
    What is it with you and always having to degenerate the comments section by mentioning God?!

  • geoffrey (unregistered) in reply to mott555
    mott555:
    I sense a developer who codes solely by copy-pasting existing code around.

    A "can-do" attitude means getting the job done takes precedence over hand-wringing over programmer buzzwords like "DRY" and "encapsulation."

    The date array only needs to be updated once a year, so I fail to see the big deal. Or is it just me?

  • (cs) in reply to geoffrey
    geoffrey:
    mott555:
    I sense a developer who codes solely by copy-pasting existing code around.

    A "can-do" attitude means getting the job done takes precedence over hand-wringing over programmer buzzwords like "DRY" and "encapsulation."

    The date array only needs to be updated once a year, so I fail to see the big deal. Or is it just me?

    It's just you.

  • YYYYY (unregistered) in reply to Mythran
    Mythran:
    XXXXX:
    I like this. It allows me to skip lame months like August if I want to. Fxxx August!!!

    Hey! My birthday is in August! :P

    Infants have no place on a forum such as this!

    While it may be impressive when the neighbours come around, 4-month old children are still not allowed on the computermachine unsupervised.

  • nag-geoff (unregistered) in reply to geoffrey
    geoffrey:
    mott555:
    I sense a developer who codes solely by copy-pasting existing code around.

    A "can-do" attitude means getting the job done takes precedence over hand-wringing over programmer buzzwords like "DRY" and "encapsulation."

    The date array only needs to be updated once a year, so I fail to see the big deal. Or is it just me?

    Trivial tasks should not be automated. It is a waste of resources. So I agree with you here.

  • stopIt (unregistered) in reply to Arguing About Arguing

    2011-12-05 10:21 • by Arguing About Arguing (unregistered)

    fk'n idiot..

  • (cs) in reply to John Muller
    John Muller:
    frits-boog:
    Matt Westwood:
    FuBar:
    nag-geoff:
    "When the snow starts falling, that means two things," writes Lee, "there's a bit of a slower commute, and the End of Year bugs start coming out of the woodwork. "Lee's the short-sighted moron, who never ventured anywhere below the equator.
    You mean like Antarctica?

    Technically, "below" the equator means underground. no, scratch that, it means anywhere closer to the centre of the Earth than the Equator. Hang on, the Earth bulges at the Equator, so technically speaking, as long as you're close enough to sea level, that means quite a lot of the Earth's surface, but the further north and south you go, the further below the Equator you are.

    I always feel a real sense of delight getting one over on Nag-geoff.

    It's probably nowhere near the delight he feels when you respond to him with pedantry in spades. It's even better if filled with vitriol.

    BTW- Isn't there a law about immitating a forum member inevitably makes you as annoying as they are?

    I always like going South; somehow, it feels like going downhill.

    Also, it rarely snows in Antarctica, is just dosn't melt when it does. If fact, I wouldn't be surprised to find the majority of antarctic ice is made from penguin urine.

    Birds don't urinate, as such. They deposit combination pellets of fecal matter (the brown stuff) and nitrate (the white stuff) as guano. I doubt frozen guano is anything like ice.

Leave a comment on “The Date Array”

Log In or post as a guest

Replying to comment #:

« Return to Article