| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Comments:
<0> dvtoo: iirc older ntpd's did have some issues with too many sources. <1> yeah, I know <2> i just make my server time, ebay's official time <2> :P <3> if ntpd is running and one clock goes wonkie you at least have a chance to not go wonkie yourself. <1> if your goal is to have a bunch of machines all have the same time, 2 sources is worse than 1, even if the one is wrong <1> a lot of times, just having the same time is more important than having subsecond accuracy <0> in cfedde's case is probably best to just have a list of clocks, and work from the top down until you find a working one. Not averaging in any way. <4> Since my servers have to agree with the world, I can't be happy with just local agreement. <1> ntp doesn't average <3> ntp does not average. It picks the "best" clock from it's list. <1> which is why it can be worse to have two clocks than one <0> I never knew "average" has such a technical meaning. <1> your two clocks could be an hour apart, and half your machines pick one, and half pick the other <5> integral why would you want segments? <5> I thought the whole purpose of the flat memory model was to hide those details?
<1> that'd be pretty bad <6> ebays official time is subject to the next finishing auction. :) <4> I think it is "that time of the month" for the channel. <3> average? sum(@x)/scalar(@x) ? <0> cfedde: mean. <0> I don't mean the mean. <2> ebay <3 <1> anyway, like cfedde said, ntp picks the "best" clock <1> given a set of criteria <1> and then tries to track that clock <3> for my systems. And this has worked well in many cases. I use the internal timesource as strat 10 and use a number of clocks from the pool.ntp.org. <6> it stalks the clock <1> we probably have the most overkill as far as time infrastructure of any organization I've seen <5> uhm, if you are ever reporting abuse, your clocks need to be accurate <2> what causes clock drift? battery? inaccurate tick counting? <1> we have 9 stratum 1 clocks, and like 18 stratum 2 ntp servers <2> lol <1> well, it's for 9 data centers <3> m1chael: all kinds of things cause clock drift. <2> that explains it <1> and we need high availability for accurate time, since nearly everything we do is dependent on it <3> tempurature of the computer room, bad battaries, design choices by the motherboard manufacturer. <3> a bad batch of crystals. <2> tobacco residue on the cpu <3> that too. <1> nod. our docs for installing the stratum 2 servers are kind of odd. the procedure is basically install the software on any random old server laying around, let it run a week, and check drift and jitter. repeat until drift and jitter are <x values <2> weird <7> GumbyBRAIN: damn daylight savings time, i woke up an hour late <8> doesn't windows only read from the RTC on startup <9> simcop2387: It p***es in some other chat systems use, is to use google or have an up to use the ruby debugger instead. It's so slow you'll forget how all those options in the savings. <8> All the rest is calculated as it is running <3> date <8> So even the processor usage could cause it to drift <3> thewayner: that's been the way unix clocks have worked for decades. But some (most) modern unixes make the hardware clock available as a device. <1> iirc, most hardware clocks are more accurate, but only have 1 second precision <3> dvtoo: that's true to. and when you can do 3 billion things between two seconds.... <1> nod <1> they're also relatively slow to access <1> at least most are <3> that is true too. <8> right. <7> GumbyBRAIN: date <9> simcop2387: And tz=utc date" should be saying your time man. <10> hi all <10> $line == ":pippijn PRIVMSG SuperServ :help" <10> why is this always true? <1> you probably meant eq? <1> not ==? <10> eq? <3> eq is for strings <10> ah <1> == does a numeric comparison <10> oh I see <10> hm <10> :pippijn PRIVMSG SuperServ :help <10> it receives this <10> if ( $line eq ":pippijn PRIVMSG SuperServ :help" ) <10> seems right? <10> it now is never true <1> does $line have a \n or \r\n on the end? <10> yes
<10> ah <1> that's why <10> :) <10> it is still never true <10> is there an "is part of"? <1> anyone with DBIx::Cl*** clue around? <3> pippijn: sure <1> index <3> $line =~ /:pippijn PRIVMSG SuperServ :help/; <7> pippijn: you could also use chomp, it'll remove the \n <1> it won't remove a \r though <7> cfedde: 's will work too <1> and irc is probably \r\n terminated <7> dvtoo: it will if you tell it to <6> why aren't you using Poco::IRC? <10> dvtoo: ah.. could be <1> it will? what is the syntax? <6> it'll do all that for you <7> dvtoo: perldoc -f chomp <11> The perldoc for chomp - is at http://perldoc.perl.org/functions/chomp.html <12> pippijn? <1> yeah, I was reading that <3> but you'll have to learn POE first... <12> that looks like a dutch name <10> crapweasel, yes <7> dvtoo: its in there, you change $/ <1> ah, ok <10> it works now <6> crapweasel looks like a mexican name. :) <3> the dutch version of a bad Broadway musical. <12> pippijn, your name looks like a dutch name <1> I thought you meant there was a one off way of doing it <10> crapweasel: it is <12> pippijn: in welke provincie woon je ? <12> merlyn sounds like an oceanic name <10> crapweasel: ik woon in duitsland <12> pippijn: eek.. <10> ^_^ <6> Hmm. That's odd. I wonder what you're referencing for that. <12> pippijn: vertel me alsjeblieft dat je daar niet zelf voor gekozen hebt! <10> inderdaad <12> pippijn: damn, steeds als ik jouw naam type maak ik een typo - pijppijn <12> >.< <10> nickname completion <3> Y'all tawk funny. <12> cfedde: how do you know how we talk by just looking at how we write? ;) <3> :-) <6> virtual talk <7> GumbyBRAIN: *** <9> simcop2387: She's starting to get ***0r. <7> cfedde: i tried that but its a PITA on the eval bot <7> GumbyBRAIN: why can a woman not get ready quickly when not doing so means that the cafeteria will be closed and that neither of us will eat <9> simcop2387: And as a woman. <7> GumbyBRAIN: list the help <9> simcop2387: help i have is list you need the number, not the values. <10> how can I strip ":pippijn PRIVMSG SuperServ :" off the beginning of a string? <13> hi <13> I have a perl file alp.pl which uses Alg::Image.pm; <13> is there a way to have a variable $screen in alg.pl accessible from Alg/Image.pm ? <6> "is there a way I can make my program harder to debug?" <13> merlyn: well, if I can avoid having an extra parameter to 80 functions in Image.pm, I'd like it <14> WHY do newbies insist on sharing variables? <6> are you using an instance? <14> nattfodd: Object oriented programming was invented just for that reason :) <6> put the variable in yoour constructor <6> my $instance = Alg::Image->new(screen => $screen) <6> then access it in your 80 functions <6> in other words, do the right thing. :) <6> there's a reason it's hard to share variables between files. :) <6> nattfodd - time to get with the 80's! <15> hello
Return to
#perl or Go to some related
logs:
gadmintools #perl #dns sudo service php #suse #gentoo ubuntu intel video 945 fvwm ubuntu #math #math
|
|