The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. December 05, 2008, 10:57:09 AM

Login with username, password and session length


Pages: 1 [2] 3
  Print  
Author Topic: Master to Slaves OR Slaves to Master  (Read 1378 times)
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5230


:sniffle: Humor was so much easier before.


View Profile
« Reply #15 on: July 24, 2008, 07:51:18 AM »

I think we'll need a new name... a caffeinejack or something. This hijack just SOUNDS like we've all had too much...
Logged

If I can't be Mr. Root then I don't want to play.
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Online Online

Posts: 636



View Profile
« Reply #16 on: July 24, 2008, 10:16:54 AM »

Once my wife bought me caffeinated soap. Best. Present. Ever.
Logged

perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5230


:sniffle: Humor was so much easier before.


View Profile
« Reply #17 on: July 24, 2008, 10:59:17 AM »

Oh stop it. We all know where you rubbed it. And unfortunately now, we can imagine how fast.
Logged

If I can't be Mr. Root then I don't want to play.
jammaster82
Expert
****
Offline Offline

Posts: 297

bloody hacker


View Profile WWW
« Reply #18 on: July 24, 2008, 01:45:24 PM »

Not to sound too dorky, but did the soap become dirty after that if thats even possible?

 ROFLMAO ROFLMAO ROFLMAO
Logged

Of course Big Brother exists, he is the embodiment of the party..... Does he exist in the same way I exist?....... You, do not exist.
sassy bear
Rookie
**
Offline Offline

Posts: 21


Sassy Bear


View Profile
« Reply #19 on: July 24, 2008, 01:47:25 PM »

Lol, what exactly does the caffeine do in the soap?
Logged
dbrown
Rookie
**
Offline Offline

Posts: 28


View Profile
« Reply #20 on: July 24, 2008, 08:33:26 PM »

First, I apologize that I am getting back on topic. Im not a coffee person. The hydrocodone I take is more than enough to get me going.

I have more questions now that I have my super duper secret ping update code done. What file retrieval method is most available with all the webhosts out there? I used curl alot in my code. Im really concerned about the file update process. Should I use curl and build in a failsafe system that uses fopen etc if curl fails?

Also here is my update process (not real filenames Smiley). Pass? Fail?  Jackoff

Master pings slave (update.php) via secret challenge and a mysql table update sets the system to mustupdate mode.
a cron script (cron.php) is set to run every 5 minutes.
the cron.php checks the db to see if the system is in must update mode.
if in mustupdate mode the cron invokes update.php to get a file manifest from the array of servers to use. (use only 1 but will have backup just in case)
files are downloaded and replaced
(update.php) verifies the integrity of the update and sets the system back to mustnotupdate.


Logged
nutballs
Administrator
Lifer
*****
Online Online

Posts: 3456


View Profile
« Reply #21 on: July 24, 2008, 10:08:59 PM »

sounds like a plan.

i just use fopen personally, since a few places dont have curl
Logged
dbrown
Rookie
**
Offline Offline

Posts: 28


View Profile
« Reply #22 on: July 24, 2008, 10:33:23 PM »

good..cause I spent a noobishly long time coding it  ROFLMAO

Im going to add fopen fallback on a couple key update functions just in case.
Logged
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Online Online

Posts: 636



View Profile
« Reply #23 on: July 25, 2008, 05:40:56 AM »

Lol, what exactly does the caffeine do in the soap?

It's absorbed through the skin, approximately 200mg of it if you get a good lather built up. Equivalent of a solid 3-4 cups of "crappy" office grade coffee. Though the coffee we have at my office is actually pretty good, because we have a Keurig.
Logged

johnny lane
n00b
*
Offline Offline

Posts: 2

johnnylane


View Profile WWW
« Reply #24 on: July 25, 2008, 07:00:16 AM »

First, I apologize that I am getting back on topic. Im not a coffee person. The hydrocodone I take is more than enough to get me going.

weLL, You should find yourself in good company at perkisets place.. LOL

hydrocodone never 'GOT ME GOING' but more the opposite... personally
id rather skip the APAP... and the rest if i can help it in case i ever seriosly
break a bone or need multiple surgeries, otherwise that 'law of diminishing returns'
kicks in pretty quick in the opiod arena.

 
« Last Edit: July 25, 2008, 07:02:21 AM by johnny lane » Logged
nutballs
Administrator
Lifer
*****
Online Online

Posts: 3456


View Profile
« Reply #25 on: July 25, 2008, 07:35:49 AM »

lol. I am the same. I have always avoided all prescription drugs as much as possible, so that the day I NEED them, they will work.

Now I avoid all drugs, so that when I get older I don't have a head start on the pill pile...
Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5230


:sniffle: Humor was so much easier before.


View Profile
« Reply #26 on: July 25, 2008, 08:59:27 AM »

LOL dbrown must be thinking that this thread is like The Holy Grail when the tower guards refuse to even acknowledge Arthur but instead continue to argue about the improbability of a sparrow being able to carry a coconut.
Logged

If I can't be Mr. Root then I don't want to play.
nutballs
Administrator
Lifer
*****
Online Online

Posts: 3456


View Profile
« Reply #27 on: July 25, 2008, 09:27:30 AM »

I gotta watch that movie again now, its been a while.
Logged
dbrown
Rookie
**
Offline Offline

Posts: 28


View Profile
« Reply #28 on: July 25, 2008, 11:37:32 AM »

LOL dbrown must be thinking that this thread is like The Holy Grail when the tower guards refuse to even acknowledge Arthur but instead continue to argue about the improbability of a sparrow being able to carry a coconut.

Na..Im good. I know how you guys roll. Besides, I get intelligent answers. Feel free to loiter in my threads.  Grin

Im sorry about that last comment. D'oh!

Here.
Tickle mah ballz and joo love it

Better?
Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5230


:sniffle: Humor was so much easier before.


View Profile
« Reply #29 on: July 25, 2008, 11:43:49 AM »

 ROFLMAO ROFLMAO ROFLMAO

You're going to fit in here just fine pal Wink
Logged

If I can't be Mr. Root then I don't want to play.
Pages: 1 [2] 3
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!