Page 1 of 2 12>
Topic Options
#21256 - 2002-05-06 09:43 PM OFF TOPIC: Slow Day
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
This must be the slowest weekday on record. Glad to see everything is going so well for you all.
Did anyone notice that we're just 20 members away from 5000? Maybe we'll hit 5000 this week, maybe not, if today's any indication.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#21257 - 2002-05-06 11:49 PM Re: OFF TOPIC: Slow Day
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Heh, thats funny, I was thinking exactly the same thing earlier today. A really slow day at "the org" [relatively speaking that is [Wink] ]. There aren't any major holidays in the world today (to the best of my knowledge). I was peeking at some of the netstat numbers and there wasn't a drop in page-views or visitors or anything like that, guess like you say, everything is just humming along nicely. Kix on !

Just an FYI, the busiest day the org has had so far was on April 16th of last month. You might have seen that we had 131 visitors in the span of 30 minutes. But interestingly, according to netstat, the daily visitor page-views for that day jumped from an average of 1300 to about just over 3200 ... not too sure what was so special about that day. hmmm...

-Shawn

Heres some more info about our visitor/member demographics:

code:
 #  Country/Origin
1. United States 155208 24.5 %
2. Netherlands 63841 10.1 %
3. US Commercial 46036 7.3 %
4. United Kingdom 41350 6.5 %
5. Germany 26020 4.1 %
6. Canada 22160 3.5 %
7. Network 20343 3.2 %
8. France 17705 2.8 %
9. Australia 15261 2.4 %
10. Denmark 12746 2.0 %
Unknown 113120 17.8 %
The rest 100405 15.8 %
Total 634195 100.0 %

I guess these numbers are pageviews but not too sure how that works.

-Shawn

[ 06 May 2002, 23:55: Message edited by: Shawn ]

Top
#21258 - 2002-05-07 01:57 AM Re: OFF TOPIC: Slow Day
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11631
Loc: CA
What are you talking about Shawn? What is so special about that day? That is my GF BIRTHDAY I could not visit the board that day, so I had some of my web robots visit for me. [Big Grin] [Big Grin] [Big Grin]
Top
#21259 - 2002-05-07 02:39 AM Re: OFF TOPIC: Slow Day
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Ha! I was looking at the same specs... wondering why us Canuks were rated so low. Guess that 3.5% must be just you and me!
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#21260 - 2002-05-07 04:37 AM Re: OFF TOPIC: Slow Day
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Question:

What is the difference between 'United states' and 'US Commercial'?

Isn't everything over here commercialized?

BTW, congrats to the Canuks to kick the Bruin's #ss in the playoffs. It's definitely going downhill with US hockey [Big Grin]
_________________________
There are two types of vessels, submarines and targets.

Top
#21261 - 2002-05-07 05:17 AM Re: OFF TOPIC: Slow Day
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
Canada's page hits are so low because their internet access is so flaky... Just look to see how many times Shawn's MSN Messenger comes on line per day [Big Grin]
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#21262 - 2002-05-07 05:38 AM Re: OFF TOPIC: Slow Day
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
ROFLMAO

That was a bad firewall actually ... but I thought I had disabled my MSN @ work because it was up and down like a toilet seat - is it still doing that or are you just pulling my leg ?

Im a Toronto Maple Leaf hockey fan myself, but we're getting our @ss kicked by the Ottawa Senators ... sniff

Top
#21263 - 2002-05-07 06:16 AM Re: OFF TOPIC: Slow Day
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
--Begin post count bump message
My post count is suffering from the drought of issues today. Doesn't someone have a question?
End post count bump message--

Shawn, save some of those good Canadian beverages...that may keep that toilet seat from going up and own so frequently. [Smile]

[ 07 May 2002, 06:19: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#21264 - 2002-05-07 06:27 AM Re: OFF TOPIC: Slow Day
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Ok, I got a question - trying to get a handle on this brain-teaser. Take the following code:

break on

$nul = FileExists ("blah-blah")

@ERROR

exit 1

function FileExists($filename)
  $FileExists = exist($filename)
  if $FileExists
   exit 0
  else
   exit 2
  endif
endfunction


If I run this, I get the following on my console:

2

Makes sense because I silenced the UDF. But, if I un-silence the UDF, like this:

FileExists ("blah-blah")

and let the code go to the screen, I get this as output:

00 (two zeros)

Something's amiss with the exit(n) code under certain circumstances. Can't quite get my head around it.

-Shawn

well, this version works ok:

function FileExists($filename)
  if exist($filename)
   $FileExists = 1
   exit 0
  else
   $FileExists = 0
   exit 2
  endif
endfunction


so i guess its something to do with that one-liner, and it seems to be specific to the exist()function ?

$FileExists = exist($filename)

--Shawn

[ 07 May 2002, 06:38: Message edited by: Shawn ]

Top
#21265 - 2002-05-07 06:54 AM Re: OFF TOPIC: Slow Day
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
I think I understand.

Since you use "if $FileExists" where the variable is the name of the function, @error is set to the function value overiding the "exit 2".

If you "dim $FileExists" then @error reports correctly.

If you "$FileExistxx = exist($filename) if $FileExistxx" then @error reports correctly.

If you "$nul = FileExists()" then @error reports correctly.

If you permit the function to report it value, it display its value "0" and then you ask @error to print which seems to have been set to the value of $FileExists as well.

[ 07 May 2002, 06:55: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#21266 - 2002-05-07 07:00 AM Re: OFF TOPIC: Slow Day
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
hmmm, getting there, but all things being equal, and I comment-out the exist() function - and replace it with a hard-coded false, it works:

break on

FileExists ("blah-blah")

@ERROR

exit 1

function FileExists($filename)
  $FileExists = 0 ; exist($filename)
  if $FileExists
   exit 0
  else
   exit 2
  endif
endfunction



-Shawn

[ 07 May 2002, 07:16: Message edited by: Shawn ]

Top
#21267 - 2002-05-07 07:13 AM Re: OFF TOPIC: Slow Day
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
My initial findings were erroneous.

I think you uncovered a bug. I substituted a valid file and changed the "exit 0" to "exit 4". The function returned "1" but @error was still "0".

There is some relationship with exist() that short circuits the functions ability to properly return an exit code.

But this behavior only seems to occur when the function name assignment involves the return value of exist()

I have even tried
code:
function FileExists($filename)
;dim $FileExists
$FileExist = exist($filename)
$FileExists = $FileExist
if $FileExist
? "exit 0" ?
;$FileExists = 1
exit 4
else
? "exit 2 @@error = @error" ?
;$FileExists = 0
exit 2
endif
endfunction

This fails but if you uncomment the $FileExists within the "IF" it works.

[ 07 May 2002, 07:18: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#21268 - 2002-05-07 07:19 AM Re: OFF TOPIC: Slow Day
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
shawn, your problem here gives somekind of bridge.
there was a post on beta that wkix opens window.

in some cases switching between functions that have nothing else missions than go for $=execute-line the output will be:

00000000

That I got with that inventory script too.

cheep, cheeper,
_________________________
!

download KiXnet

Top
#21269 - 2002-05-07 07:22 AM Re: OFF TOPIC: Slow Day
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
the return value for Exist() must be something more or less then a straight "1" or "0". In fact, Exist() returns a "Boolean" not an integer.

? VarTypeName(Exist("blah-blah"))

How are Booleans interpreted? It appears that Functions do not like to return Booleans. [Frown]

[ 07 May 2002, 07:29: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#21270 - 2002-05-07 07:38 AM Re: OFF TOPIC: Slow Day
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Hey Jooel, whats up ? yeah, I think your on to something there - with the wkix32.exe and the console output.

And this UDF/Boolean thingy - I think we're almost there - it appears to do the same with other boolean functions like keyexist(), etc ...

cripes - les starts a thread about a slow day and ends-up opening a can of worms ... huh !

-Shawn

[ 07 May 2002, 07:39: Message edited by: Shawn ]

Top
#21271 - 2002-05-07 07:43 AM Re: OFF TOPIC: Slow Day
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Well, I'll give Les heck tomorrow for keeping me up so late. At least This thread got me to think a little tonight. Thanks Shawn for the Brain-teaser. [Smile] Good night
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#21272 - 2002-05-07 07:49 AM Re: OFF TOPIC: Slow Day
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
howard, good night?

it 8:49 AM in here!
_________________________
!

download KiXnet

Top
#21273 - 2002-05-07 07:50 AM Re: OFF TOPIC: Slow Day
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
See, I still can't get to bed 1:51 AM here. This thread is just too darn exciting.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#21274 - 2002-05-07 07:59 AM Re: OFF TOPIC: Slow Day
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
no, you just go to bed. I quess shawn is sleeping too.

I'll tell everyone not to post anything before you are back, OK/CANCEL?
_________________________
!

download KiXnet

Top
#21275 - 2002-05-07 08:33 AM Re: OFF TOPIC: Slow Day
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11631
Loc: CA
Oops sorry to post... maybe tomorrow [Eek!]
Top
Page 1 of 2 12>


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 363 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.076 seconds in which 0.027 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org