• (disco)

    Dates are hard. The usual advice is to use your language's date-handling library, rather than writing your own. Even then, some people can't get it right.

  • (disco)

    I don't quite understand. Did the HPC knowingly try to reset the system date, or did he accidently name his variable the same as a system function?

    If the former, why did the developer think that piece of code was even necessary? Did he not trust the system date? And where did he get the string from to replace the date with?

  • (disco) in reply to HardwareGeek
    HardwareGeek:
    use your language's date-handling library

    Sounds like he was trying. But FAIL$()ing.

  • (disco) in reply to HardwareGeek
    HardwareGeek:
    Dates are hard

    True. What we need is for somebody to develop a universal coordinated time and for ISO to come up with some standard date formats. Then dates would be easy.

    Posted 19th Tammuz 5775.

    Luhmann:
    Please us[e] the correct order: 5775 Tammuz 19

    If we're playing that game shouldn't that be ?91 zummaT 5775

  • (disco) in reply to kupfernigk
    kupfernigk:
    HardwareGeek:
    Dates are hard

    True. What we need is for somebody to develop a universal coordinated time and for ISO to come up with some standard date formats. Then dates would be easy.

    Posted 19th Tammuz 5775.

    Obligatrory: [image]
  • (disco) in reply to kupfernigk
    kupfernigk:
    Posted 19th Tammuz 5775.

    Please us the correct order: 5775 Tammuz 19

  • (disco) in reply to kupfernigk
    kupfernigk:
    Posted 19th Tammuz 5775.

    Um actually, 13.0.2.10.8.

  • (disco) in reply to PJH

    That's an odd way of writing "September 7979, 1993".

  • (disco) in reply to HardwareGeek
    HardwareGeek:
    Dates are hard.

    Let's go shopping?

  • (disco) in reply to HardwareGeek
    HardwareGeek:
    Dates are hard.

    It depends on your sexual preference. My dates usually aren't.


    Filed Under : :giggity:

  • (disco) in reply to Vault_Dweller
    Vault_Dweller:
    HardwareGeek:
    Dates are hard.
    It depends on your sexual preference. My dates usually aren't.

    That boring, huh? Sorry man.


    Filed under: Too easy, couldn't resist, sorry.

  • (disco) in reply to redwizard

    As I said, depends on your sexual preference. My preference for hardness is me and not my date.

  • (disco) in reply to Vault_Dweller
    Vault_Dweller:
    I don't quite understand. Did the HPC knowingly try to reset the system date, or did he accidently name his variable the same as a system function?

    My money is on the latter. Assuming that the design of the language you're working in is at least moderately sane, on the grounds that it isn't PHP, is an easy mistake to make.

  • (disco) in reply to HardwareGeek

    The usual advice is buy dinner and bring flowers

  • (disco) in reply to DCRoss
    DCRoss:
    September 7979, 1993

    My, how time flies!

    Filed under: I was online before then and I remember how AOL fucked us all over…

  • (disco)

    Can't stand dates, or figs. Mind you, fig rolls are nice - probably because all that messy unpleasantness is encapsulated by that pastry / cake stuff. I do enjoy raisins especially with unsalted nuts. But if they leave little bits of stalk on the grape they can get stuck between your teeth, just like cloves. Pairs are nice, the juicer the better - the way they just disintegrate on your chin and drip everywhere. Don't even get me started on apples, they are booby traps, you don't know if you're going to get a sweet juicy one or a sour, dry powdery one. And all apple juice tastes like horses piss to me, best thing you can do with it is to make it in cider. Oranges are like apples, except the juice is better (I prefer "bits" in it). It's always a good idea to check the provenance of bananas 'cos you need to know where it has been. As for pomegranates, well with them you really do have to succeed.

  • (disco) in reply to loose
    loose:
    Pairs are nice, the juicer the better

    :giggity: However, I think you were actually talking about pears.

  • (disco) in reply to loose

    Dates wrapped in bacon are delicious.

  • (disco) in reply to loose
    loose:
    Don't even get me started on apples, they are booby traps, you don't know if you're going to get a sweet juicy one or a sour, dry powdery one.

    You need to be aware of the variety of apple, and how ripe it is matters too.

  • (disco) in reply to HardwareGeek

    Sometimes I am too clever for my own good. There are other "mistakes" in the text (I had to :hanzo: edit a couple of them).

  • (disco) in reply to NedFodder

    Possibly they are, but I prefer my pork sausage to have some bacon wrapped around it.

  • (disco) in reply to loose

    Curse you. It is nearly lunchtime, and I have neither bacon nor sausage in the house.

  • (disco) in reply to dkf

    Many years ago, I sunk my teeth into a shiny red apple that was in my grandmas' fruit bowl. Turned out it was wax. The apple complete with teeth marks remained on display for the rest of her life.

  • (disco) in reply to HardwareGeek

    What's your Beef?

    Or are you chicken?

    Perhaps you just need stuffing?

    Or maybe it's just a case of wine.

    Ummm, I'll show myself out now :rofl:

  • (disco) in reply to loose
    loose:
    What's your Beef?

    Or are you chicken?

    I have both grilled chicken and charcoal that used to be ground beef available. I am not lacking for food, merely for that particularly desirable type of food.

  • (disco)

    I remember encountering an old .BAT script that did something similar. It essentially called the DATE.COM program to get the current date for formatting as the output file name. However, sometimes the fake input file (piped into the DATE.COM program, it was a file that had a single Return character in it, named, appropriately, ENTER.TXT) was deleted on accident, which caused the script to falter and ask for user input, said user input not necessarily being obvious (since the output of DATE.COM was being redirected to a file for processing).

    I can only image the instructions in a memo meant to address this:

    If you find yourself stuck with a blank screen and a blinking Under-Score symbol ( _ ),
    strike the Return key on the keyboard a few times, upon which the program should continue.
    

    If you happened to have typed something else though... :fa_space_shuttle: :expressionless:

  • (disco) in reply to loose
    loose:
    apples, they are booby traps, you don't know if you're going to get a sweet juicy one or a sour, dry powdery one

    The best are slightly sour, juicy and very crisp.

    https://en.wikipedia.org/wiki/Granny_Smith

  • (disco) in reply to another_sam
    another_sam:
    The best are slightly sour, juicy and very crisp.

    The "best" variety depends on intended use. Granny Smith is arguably the best for pies, applesauce and similar uses. For eating fresh, I prefer https://en.wikipedia.org/wiki/Braeburn

  • (disco) in reply to HardwareGeek

    I resorted to those when I travelled to New Zealand last year and couldn't find any Granny Smiths. They're quite good, but still inferior to the Granny Smith for eating fresh.

  • (disco)

    VBA (not VB) is Visual Basic for Applicaitons, embedded into other apps. A fine, extensible subset and superset of VB commands.

    If a set is a subset and a superset of another set, they are identical.

  • (disco) in reply to another_sam
    another_sam:
    inferior to the Granny Smith for eating fresh

    De gustibus non est disputandum.

    There is a historic estate south of San Francisco that includes a "heritage" orchard. Every year, in the fall when the fruit is ripe, they have an apple and pear tasting festival. I went one year while I lived in the area, and tried a lot of different varieties of apples and pears. Braeburn and seckle were my favorites among the apples and pears, respectively.

  • (disco) in reply to bitti

    It's more of.... take VB, then add some things, and remove some other things, and you've got VBA.

  • (disco) in reply to riking
    riking:
    It's more of.... take VB, then add some things, and remove some other things, and you've got VBA.

    Fine, so why the author just doesn't write this instead of throwing some words he doesn't understand in order to look smart?

  • (disco) in reply to HardwareGeek
    HardwareGeek:
    Granny Smith is arguably the best for pies, applesauce and similar uses.

    That's untrue, because there's the Bramley, which is perfect for those sorts of things.

    https://en.wikipedia.org/wiki/Bramley_apple

    I prefer a (ripe) Braeburn for general eating, though these are pretty good too (if ripe):

    https://en.wikipedia.org/wiki/Cox%27s_Orange_Pippin https://en.wikipedia.org/wiki/Egremont_Russet

  • (disco) in reply to dkf

    I'm not familiar with Bramley, but Cox's Orange Pippin is also supposed to be excellent for juice. We planted a few fruit trees at our old house. I can't remember exactly what we planted, but I'm pretty sure we planted three apples and two pears; two of the apples were Braeburn and (I think) Cox's Orange Pippin, and one of the pears was seckle. I have a DB of (almost) everything we had in the garden there, but it's on the computer that hasn't even been plugged in since I moved. Unfortunately, we had to move only a couple of years after I planted the trees, so we never got any fruit from them.

  • (disco) in reply to HardwareGeek
    HardwareGeek:
    I'm not familiar with Bramley

    It's a variety that's mostly known for being good for cooking with. It's quite a bit more acidic than apples that are nice for eating raw, but that acidity is really good when you cook it. We've got an apple tree that produces Bramleys, and each year we get a crop that supplies us with (usually) enough for apple sauce and pies from around October through to April.

    We need a better apple store. Nowhere to put it though. :frowning:

  • (disco) in reply to dkf
    dkf:
    We need a better apple store.

    found one! [image]

    :passport_control:

  • (disco) in reply to Tsaukpaetra
    Tsaukpaetra:
    sometimes the fake input file (piped into the DATE.COM program, it was a file that had a single Return character in it, named, appropriately, ENTER.TXT) was deleted on accident, which caused the script to falter and ask for user input

    echo.|date was too hard for them, I guess?

  • (disco) in reply to anotherusername

    Not too hard, just not enterprise-y enough. I think the line was more like:

    DATE <ENTER.TXT>DATE.TXT
    

    See? Just enough greater-than less-than symbols to pretend it's XML. :stuck_out_tongue:

  • litterboxfurniture (unregistered)

    very nice put up, i actually love this web site, keep on it Oh my goodness! an excellent article dude. Many thanks However I am experiencing trouble with ur rss . Do not know why Not able to enroll in it. Will there be any person obtaining identical rss dilemma? Anyone who knows kindly respond. Thnkx

  • litterboxfurniture (unregistered)

    very nice put up, i actually love this web site, keep on it Oh my goodness! an excellent article dude. Many thanks However I am experiencing trouble with ur rss . Do not know why Not able to enroll in it. Will there be any person obtaining identical rss dilemma? Anyone who knows kindly respond. Thnkx

Leave a comment on “Classic WTF: Long Distance DATE$ing”

Log In or post as a guest

Replying to comment #453229:

« Return to Article