Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Y2038 on PerlMonks

by bulk88 (Priest)
on Jun 04, 2012 at 20:49 UTC ( #974375=monkdiscuss: print w/replies, xml ) Need Help??

I just noticed, NodeReaper was last here in 1906. Now its not 1901, the start of signed 32bit unix time but still. Does this mean PerlMonks isn't Y2038 safe?

Replies are listed 'Best First'.
Re: Y2038 on PerlMonks
by jdporter (Canon) on Jun 04, 2012 at 21:10 UTC

    Frankly, I'm not sure we're Y2K safe.

      Well, obviously it survived.

      OP: The Everything core doesn't have to use the epoch seconds for date fields. I don't know what it does use, but dates can also be represented as 20120604T165834, for example.
      Frankly, I think it will be okay. Heh, maybe it won't even be around anymore by then or have been replaced with something more modern. I would actually be worried if they still used this exact code then.

      Update: s/epoch times/epoch seconds/ && s/date calculations/date fields/

      confess( "I offer no guarantees on my code." );

        Actually, most of what PerlMonks/Everything does in terms of dates, it does using database dates. After all: Everything is a (database) node.

Re: Y2038 on PerlMonks
by Limbic~Region (Chancellor) on Jun 05, 2012 at 13:54 UTC
    There are a number of "easter eggs" about NodeReaper. The year plays into one of them - see if you can figure it out (it has nothing to do with 2038).

    Cheers - L~R

      It could perhaps be updated now.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://974375]
Approved by Old_Gray_Bear
Corion idly wonders about creating a series of HTTP requests. There seems to be no framework to generate a series of HTTP requests, like "try all these requests"
[Corion]: This is vaguely inspired by that list of "nasty" strings, which I'd like to replace among HTTP parameters, just to see whether the application crashes, but also for easy downloading of a list of URLs etc
[Corion]: Maybe I'll just conoct something using Algorithm::Permute to create an (OO) generator for such requests, or a simple function.
[Corion]: For testing I imagine one would want to test a random sampling of such "bad"/"unexpected" requests, while for downloading, one would want to generate them all in order, but not necessarily as a huge list

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2017-01-16 15:38 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (151 votes). Check out past polls.