• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

AltME groups: search

Help · search scripts · search articles · search mailing list

results summary

worldhits
r4wp5907
r3wp58701
total:64608

results window for this page: [start: 26001 end: 26100]

world-name: r3wp

Group: All ... except covered in other channels [web-public]
Graham:
18-Jan-2005
Tech guy said if I had setup the first drive on the raid controller, 
it would not be a problem.
[unknown: 5]:
18-Jan-2005
maybe a termination problem
[unknown: 5]:
18-Jan-2005
hmmm...  That is a strange animal as usually you have to setup the 
correct type of raid and then initialize but I have seen data loss 
doing it
[unknown: 5]:
18-Jan-2005
You want to establish the drives as a raid setup but fail the new 
drive and have it rebuilt it
Graham:
18-Jan-2005
can't change the field.. the tech guy says the card is smart enough 
to know that I have a drive initialised from a diffferent controller.
[unknown: 5]:
18-Jan-2005
and it was a mirror before correct?
[unknown: 5]:
18-Jan-2005
You might need to backup the data somewhere and rebuilt a complete 
new array and restore
Graham:
18-Jan-2005
Adding the Controller to an Existing System
In this scenario, you are adding an Adaptec SCSI RAID 2120S/

2200S controller to a system that already has a Windows 2000 or XP
operating system.
To install the driver:
1 Install and configure your controller and hard disk drives
according to the instructions in Chapter 2.
2 Start Windows. Windows launches the Found New Hardware
Wizard, which searches for the controller driver.
3 Insert the driver disk you created at the beginning of this
chapter. Select the disk drive as the source, then click Next..
Since the driver is also on the installation CD, you may wish to
insert the installation CD and have Windows search it for the
driver. Windows will find multiple drivers, select the
appropriate one for the operating system being used.
4 Click Next in the succeeding two windows that appear and
follow the on-screen instructions to complete the controller
installation.
5 Remove the driver disk and restart the system.
[unknown: 5]:
18-Jan-2005
You might try from CTRL-A at boot up when the SCSI bios message apears
Graham:
18-Jan-2005
I can configure the raid card using ctrl-A
[unknown: 5]:
18-Jan-2005
Just remember this.  That is usually write a config to the disk itself. 
 This is how it knows what slot or position the drive is even if 
you move them around.  But the NVRAM is on the card and usually backed 
up by battery power to retain the configuration (you need to blow 
that away).
[unknown: 5]:
18-Jan-2005
That means it completely using the config of the drive and thats 
why it detects it automatically as a volume.  You most likely wont 
be able to change that then without a special tool from them since 
you would need to force a write to the drive config to show that 
its drive 0 of array 0.
Sunanda:
18-Jan-2005
I lost one yesterday too, in the same way.

It all seemed to be working okay for a week or two, but is slipping 
again now.
Graham:
22-Jan-2005
I'm playing around with mediawiki .. a great little wiki.  Even has 
preferences for your time zone so that you can see when edits were 
done according to your own local reference.
Graham:
22-Jan-2005
Would be great if such a wiki could be done using Magic.
Terry:
22-Jan-2005
I've questioned this a few times over the years now.. 

If we have a CGI script that uses the mysql protocol, is it necessary 
to load this protocol with every cgi request?  Wouldn't that add 
some burden to the server?
Graham:
22-Jan-2005
you probably have a pool of connections which are re-used
Graham:
22-Jan-2005
forinstance, in Zope, I have a single sql connection which is used 
by all the "cgi" requests.
Terry:
22-Jan-2005
But if you want to access a mysql server, the cgi script loads each 
time, right?
Terry:
22-Jan-2005
can you give me an example of a cgi script that access a db, and 
doesn't load the protocol each time?
Graham:
22-Jan-2005
any Zope cgi script that access a database does that.
Graham:
22-Jan-2005
if I have a rebol daemon running that has a connection to a odbc 
database, then my rebol cgi script an interact with that.
Terry:
22-Jan-2005
Well, I wonder what has less overhead.. reading a 23kb protocol with 
each call, or taking the time to do a tcp call?
Terry:
22-Jan-2005
What is faster, reading a 100 byte text file, or accessing 100 bytes 
from a DB?
Graham:
22-Jan-2005
after a text file being read from a directory is another db operation.
Graham:
22-Jan-2005
the filing system is a database
Terry:
22-Jan-2005
Forced to reduce the number of iterations to 100 for mysql sake.. 
and even then it would choke 50% of the time.. results.. 


Reading the DB used mysql-protocol.r with join mysql://.. localhost 
{select email from table where name='name' }
Reading the file used a: load %file.txt, b: select a 'email
mysql - 1.35 seconds (using time/now/precise

file - 0 seconds (timestart - 18:35:25.531, timefinish - 18:35:25.531)


Conclusion.. no contest.. loading and selecting from file wins hands 
down.
Terry:
22-Jan-2005
Graham, if i need to wait for a response, then i would need to add 
that time to the total for mysql.
Terry:
22-Jan-2005
another good point.. think ill load up a directory with a few 100,000 
files and see what happens ;)
Graham:
22-Jan-2005
Does anyone know how to setup a subject filter in gmail?  Can you 
do wild cards like *[Rebol]* for subject filters?
Terry:
22-Jan-2005
Took about 6 mins to move the directory.   So it appears to be a 
trade off.
Benefits of using files... 

- much more flexible (ie: a 10mb binary file in a DB is not a good 
idea)
- easier to manipulate.
- magnitude faster access time
Tomc:
23-Jan-2005
the magnitude faster time breaks down pretty quickly when you need 
to retrive a file based on it contents not its title
Terry:
23-Jan-2005
my DB only had a single row.
Graham:
23-Jan-2005
sure .. doing a DOS attack on mysql://
Tomc:
23-Jan-2005
so if you only have one row  what is the difference between athe 
fontents of a given file and its name?
Terry:
23-Jan-2005
the contents of the file, and the row inthe DB were identical.. a 
word °email°, and an email address
Tomc:
23-Jan-2005
in the file system the file name is a key and the contents a value
Tomc:
23-Jan-2005
the same in a db would nbe two colums one for the name one for the 
value
Tomc:
23-Jan-2005
in a database you could give a value and return the keys as easly 
as give the keys and return the values
Tomc:
23-Jan-2005
in a filesystem thsi is much less symetric
Tomc:
23-Jan-2005
if one cloum cintained a constant it ought not have been there
Terry:
23-Jan-2005
But the DB uses the filesystem as well?  So in essence, you are skipping 
a step
Tomc:
23-Jan-2005
I am just starting to use mysql a little bit and it is a great step 
up from plain old flatfiles it is constantly improving  a cinch to 
administer, but limited for complex relations
James:
23-Jan-2005
Hey, I found a really neat GUI interface in the Picasa photo organizer 
program from Google. (http://www.google.com/downloads/) If you download 
it or already have it, just click the "Timeline" button near the 
top of the screen. I think it would be really neat if someone could 
make a REBOL clone of that screen.
Tomc:
23-Jan-2005
Date: Sun, 23 Jan 2005 17:03:16 +0100
From: Bryan Rasmussen <[bry-:-itnisk-:-com]>
Reply-To: [rebolist-:-rebol-:-com]
To: [rebolist-:-rebol-:-com]
Subject: [REBOL] Intro to Rebol article for DevX



Hi, i've been asked to write an intro to rebol article for devX, 
a task for

which there are any number of people better suited and for which 
i wouldn't have

the time anyway. So if anyone is interested in writing this i can 
direct the

devx editors to you as i still follow this list well enough to know 
who knows,
even if i hardly ever use the language anymore. 


-- 
Bryan Rasmussen
Graham:
24-Jan-2005
just reading Paul Graham's lastest essay : http://www.paulgraham.com/hs.html

and liking this little bit


Now I know a number of people who do great work, and it's the same 
with all of them. They have little discipline. They're all terrible 
procrastinators and find it almost impossible to make themselves 
do anything they're not interested in. One still hasn't sent out 
his half of the thank-you notes from his wedding, four years ago. 
Another has 26,000 emails in her inbox.
Graham:
24-Jan-2005
I quoted the part above as I too have not managed to get my thank-you 
notes out ... but by a somewhat greater period of time :(
Graham:
24-Jan-2005
everytime my inbox slows down on account of the number of email inside, 
I just create a new inbox :)
Maarten:
24-Jan-2005
I think a youth hostel is cheapest. But you can check on the net 
easily, I'd say. My place (with three little kids) is too crowded, 
otherwise you could stay here.
Terry:
24-Jan-2005
In total, the core of our team has invested something like 80 man 
years on this experiment, 18 of which are mine. I think right now 
the key lesson is this -- if you're looking for a job with instant 
and guaranteed success, this isn't it.


-- University of Idaho professor David Atkinson, whose years of work 
on an experiment to measure the winds on Saturn's moon Titan came 
to naught because someone forgot to turn it on
Maxim:
25-Jan-2005
how can we self remove ourself from a private group? it always says 
"you must be included in the group" ???
Maxim:
25-Jan-2005
right, since your in the group, in the first place... but that leaves 
guest on the list after and is not very nice for truely private groups... 
such a thing can go unnoticed by the group's "manager"
Maxim:
25-Jan-2005
I wish there where moderator features in altme... so we could generate 
a moderated group and then you are master of that specific group... 
including removing posts.
Maxim:
25-Jan-2005
graham... that is very wise... your patients must not complain often. 
 You have a very good sense of observation.
Maxim:
25-Jan-2005
that's a 3 frame animation  btw .... ;-)
Tomc:
26-Jan-2005
a mercy
Tomc:
26-Jan-2005
Terry, isnt there a group for that stuff
Terry:
26-Jan-2005
What, are you the Altme nazi?  If you look a bit higher up this list, 
you'll find your own "out of group" messges.
Terry:
26-Jan-2005
And regarding the Announce group.. I accidentally made a few posts 
into that group.. I saw that the previous posts had no long term 
relevance, so I cleaned up the whole group.  I'm guessing that's 
somewhat my perogative, given I started the group in the first place.
Tomc:
27-Jan-2005
and its probably a goose step
Terry:
27-Jan-2005
..villagers who saw it as a divine omen of peace..

 I wonder how villagers that have a history of explosives falling 
 out of the sky see that as a peaceful sign?
yeksoon:
27-Jan-2005
paraigm shift.


'bcos they are used to mines exploding off the ground; from this 
perspective... at least this thing from the sky have not injured 
anyone...hence a sign peace'
Terry:
27-Jan-2005
Animal-Human Hybrids Spark Controversy  --  http://o7o.org/°chimeras°

Scientists have begun blurring the line between human and animal 
by producing chimeras—a hybrid creature that's part human, part animal.


Chinese scientists at the Shanghai Second Medical University in 2003 
successfully fused human cells with rabbit eggs. The embryos were 
reportedly the first human-animal chimeras successfully created. 
They were allowed to develop for several days in a laboratory dish 
before the scientists destroyed the embryos to harvest their stem 
cells.
[unknown: 9]:
27-Jan-2005
They were allowed to develop for several days in a laboratory dish 
before the scientists destroyed the embryos to harvest their stem 
cells.

Damn, a human that can screw like a rabbit!
Graham:
27-Jan-2005
Scientists have begun blurring the line between human and animal 
by producing chimeras—a hybrid creature that's part human, part animal.
 -- a man made distinction in the first place.
Graham:
27-Jan-2005
Anyway, we have had chimeric antibodies used in therapy for a while 
now ... a fusion of mouse and human antibodies
Terry:
27-Jan-2005
Reichart. The °Chimeras° °7° uses some javascript  in the °redirect° 
predicate, which is displayed in the browser, forcing it to redirect 
to the URL.  If you just want the link, use °http://o7o.org/°chimeras: 
link°° and if you want a definition, use http://o7o.org/°chimeras: 
definition°
[unknown: 5]:
30-Jan-2005
I also have a leapfrog unit that works ok but don't like the vga 
output on it very much
[unknown: 5]:
1-Feb-2005
Does anyone know if REBOL works on WINPE (Windows pre-installation 
environment)?  If so, is there a way to access the Hard Drive to 
do file recover operations with REBOL?
[unknown: 5]:
1-Feb-2005
In case anyone doesn't know what WINPE is - its a tool that large 
enterprises use for image installations/troubleshooting etc..  Very 
similiar to Barts PE which is a free version.  http://www.nu2.nu/pebuilder/
Robert:
1-Feb-2005
Does someone know xxcopy? That's a very nice tool. I'm searching 
for a clone of it. I need to find out changes between two directories 
A and B. Newer files in A should be copied to C and than all files 
copied from B to A that are different.
Robert:
1-Feb-2005
I didn't found such a tool. I can make two way syncs but I need just 
to make one way sync and keep the files to-be overwritten if those 
were changed in the last 60 minutes...
Group: RAMBO ... The REBOL bug and enhancement database [web-public]
[unknown: 5]:
24-Nov-2006
switch: func [
    "Finds a choice and evaluates what follows it."
    [throw]
    value "Value to search for."
    cases [block!] "Block of cases to search."
    /default case "Default case if no others are found."
    /multi "evaluates what follows all matching choices"
][
    cases: find cases value
    if multi [
        multi: copy []
        while [all [not none? cases not tail? next cases]][
            if not none? cases [
                append multi first cases: find cases block! 
                cases: find cases value
            ]
        ] 
    ]
    either not none? multi [
        if not empty? multi [do multi]
    ][

        either cases [do first find cases block!][either default [do case][none]]
    ]
]
[unknown: 5]:
24-Nov-2006
switch: func [
    "Finds a choice and evaluates what follows it."
    [throw]
    value "Value to search for."
    cases [block!] "Block of cases to search."
    /default case "Default case if no others are found."
    /multi "evaluates what follows all matching choices"
][
    cases: find cases value
    either multi [
        multi: copy []
        while [all [not none? cases not tail? next cases]][
            if not none? cases [
                append multi first cases: find cases block! 
                cases: find cases value
            ]
        ] 
        either not empty? multi [do multi][if default [do case]]
    ][

        either cases [do first find cases block!][if default [do case]] 
    ]
]
Gabriele:
24-Nov-2006
With some help from Carl, I got to this:

switch: func [
    "Selects a choice and evaluates the block that follows it."
    [ throw ]
    value "Value to search for."
    cases [block!] "Block of cases to search."
    /default case "Default case if no others are found."
    /all "Evaluate all matches (not just first one)."

    /local code found?
][
    code: clear [ ]
    while [cases: find cases value] [
        either cases: find next cases block! [
            found?: yes
            append code first cases
            cases: next cases
            unless all [break]
        ] [break]
    ]
    do either found? [code] [case]
]
Gabriele:
24-Nov-2006
two local words, but shorter. also, it turns out that using a path 
for system/words/all is slower than using the either inside the while.
Chris:
24-Nov-2006
I had this (how many ways to skin a cat?):
[unknown: 5]:
24-Nov-2006
Ok I looked at the performance from a trace perspective of three 
switch implementations - mine, Gabriels and Chris's.  Out of all 
of them mine was least efficient, while Chris's was the most efficient. 
 So if all of them do what is needed then I would say go with Chris's 
implementation.
Henrik:
24-Nov-2006
what if append was replaced with insert tail? that would make it 
a tiny bit faster
Henrik:
24-Nov-2006
paul, that's a good idea, using trace to do that. wonder if that 
could be wrapped into a counting function that counts the amount 
of trace output?
Henrik:
24-Nov-2006
trace is native. I vote for adding something to trace to make stats 
from the output, perhaps just a single integer that shows how many 
functions were run through.
[unknown: 5]:
24-Nov-2006
yeah but it gives you a good idea of what is going on.
Henrik:
24-Nov-2006
hmm.... a bit inflexible, I think. It would be nice to bypass console 
output, and store the output in memory for later scrutiny. this would 
avoid needing to popup a console to an end user.
Gabriele:
24-Nov-2006
about trace, if you need a count you can probably just use the STATS 
function.
Gabriele:
24-Nov-2006
however, in a trace a call to a slow function will count the same 
as a call to a fast function.
Anton:
25-Nov-2006
Paul, I don't share your concern about using ALL as a refinement 
of switch. I don't see that "killing the global ALL function" is 
a risk here. We are all aware of the danger of accidentally leaking 
words.
Gabriele:
25-Nov-2006
calling switch recursively - hmm, indeed it will be a problem. then 
i prefer chris' version which can avoid the allocation if not needed.
Chris:
25-Nov-2006
Re. recursive, if you were to make block! [] instead of clear [] 
- I guess it's a difference in resultant garbage: with 'make the 
block becomes unbound when a subsequent switch is called, while with 
clear the cleared values become unbound.
[unknown: 5]:
25-Nov-2006
here is a switch that defaults to 'all
Chris:
25-Nov-2006
It's an issue if you're building a script incrementally and want 
an empty placeholder...
[unknown: 5]:
25-Nov-2006
I saw the latest 2.7.2 notes - good job everyone.  Looks like switch 
might be a dead issue for now since the previous changes look like 
they were implemented.
Chris:
25-Nov-2006
; I guess this is moot, but a slight variation of my prior 'switch:
switch: func [[throw] value cases /default case][
    default: copy [] 
    while [
        all [
            cases: find/tail cases value 
            cases: find cases block!
        ]
    ][case: append default first cases]
    do case
]
Maxim:
25-Nov-2006
unless is a nice addition to standard rebol, I know use it alll the 
time.
Maxim:
25-Nov-2006
Paul, the interim releases are meant as "please test this" by all 
accounts.  IIRC view 1.3 had a few rollback based on user feedback 
of new features wreaking havoc on too many stuff.
Henrik:
26-Nov-2006
anton, do you remember this one:


view layout [text "Push and drag out. The highlight should go away 
when the mouse exits, but it doesn't." tog "Test"]


I remember you talking about that you made a fix for that, which 
didn't work. Do you think we could make a proper fix for View 2.7.x?
Anton:
26-Nov-2006
Henrik, here's a quick 5-minute patch (not well tested).
Anton:
26-Nov-2006
I don't really like that hover state anyway. In my style-gallery.r 
I'm aiming to use a similar highlight to indicate the focused state 
of the btn or tog.
Henrik:
27-Nov-2006
perhaps it's a sneaky way of testing R3 code? :-)
Pekr:
27-Nov-2006
but maybe compatibility issue here is not a problem?
[unknown: 5]:
27-Nov-2006
Rebolek you make a good point about the switch.  Maybe we should 
modify it so that it can find block! or type? block!  - of course 
it is native right now so I have no idea what that means for the 
code.
26001 / 6460812345...259260[261] 262263...643644645646647