to search for in the top-left 'search' field.
Slava
On Thu, May 14, 2009 at 2:42 PM, Tadhg O'Meara tome...@gmail.com wrote:
Hi,
What is the best way to search the documentation? I was looking for an
infinity number and only found it after using grep from the command
line which I found a bit messy
For me this FAQ was a helpful intro to the ideas behind stack languages:
http://www.latrobe.edu.au/philosophy/phimvt/joy/faq.html
2009/6/18 Emeka emekami...@gmail.com
Hello All,
I'm new here and I would like to know where to start? i need introductory
materials and summary of what Factor
2array
]
[ '[ drop @ ] ] if
] map '[ _ cond ] ;
I guess someone can do a better code by coding a more specific cond.
my 2 cents...
At Tue, 19 Apr 2011 20:49:51 +0100,
Tadhg O'Meara tome...@gmail.com wrote:
I'm looking for a word that's like cond
It takes about 6 seconds to insert 100 records into a sqlite db on my
Linux x64 system. Is sqlite normally that slow?
Thanks,
Tadhg
Here is the code I used:
USING: db db.sqlite db.tuples db.types ;
TUPLE: sqltest id ;
sqltest SQLTEST {
{ id ID +db-assigned-id+ }
} define-persistent
:
That's great. It takes 0.3 seconds now. Thanks for the help.
On 21 April 2011 22:59, Andrey Onymov anonym...@gmail.com wrote:
Oh, realized there is with-transaction word only after sending the message.
So it becomes
: insert-test ( -- )
[
sqltest recreate-table
Hi,
How do you select-tuples from a db with a slot set to f? The help says
that A SQL query is constructed from the slots of the exemplar tuple
that are not f. So for example the following won't work:
[ T{ book { sold f } } select-tuples ] with-books-db
Do you have to use two slots, sold and
I tried this and it seems that 0 is treated as t. I guess because 0 is
not f. I think I might have to use an INTEGER instead of a BOOLEAN
type and that way I can select for 0 and 1.
Thanks.
On 14 June 2011 16:15, Fred Alger f...@fredalger.net wrote:
I haven't tried this, but you might try