Re: [Factor-talk] sqlite on linux
I've managed by installing sqlite from the software center. thanks. On Tue, Jun 19, 2012 at 2:05 PM, Grisha Freilikhman wrote: > I am using ubuntu x86.I've compilted sqlite3 and checked it, it works. > > Now, in foctor I'm running: > "my.db" db-open > > db-open fails with: > The image refers to a libray or symbol that was not found at load time. > > Any suggestions? > On Tue, Jun 19, 2012 at 12:34 AM, Jon Harper wrote: > >> On debian-ish distributions, you need to install the *dev package to use >> sqlite. >> Jon >> >> >> On Mon, Jun 18, 2012 at 11:19 PM, John Benediktsson >> wrote: >> > Where is the open-db word defined? >> > >> > Are you doing something like: >> > >> > USE: db.sqlite >> > "/path/to/db" >> > >> > Do you have the right 32- or 64-bit library installed to match your >> machine >> > and Factor? >> > >> > >> > >> > On Mon, Jun 18, 2012 at 2:16 PM, Grisha Freilikhman > > >> > wrote: >> >> >> >> Hi, >> >> I have a linux machine with sqlite3 installed on it. >> >> However factor dosn't want to run open-db word. >> >> Is there any special things I should do make it work? >> >> >> >> Thanks. >> >> >> >> >> >> >> -- >> >> Live Security Virtual Conference >> >> Exclusive live event will cover all the ways today's security and >> >> threat landscape has changed and how IT managers can respond. >> Discussions >> >> will include endpoint security, mobile security and the latest in >> malware >> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> ___ >> >> Factor-talk mailing list >> >> Factor-talk@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/factor-talk >> >> >> > >> > >> > >> -- >> > Live Security Virtual Conference >> > Exclusive live event will cover all the ways today's security and >> > threat landscape has changed and how IT managers can respond. >> Discussions >> > will include endpoint security, mobile security and the latest in >> malware >> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > ___ >> > Factor-talk mailing list >> > Factor-talk@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/factor-talk >> > >> >> >> -- >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> ___ >> Factor-talk mailing list >> Factor-talk@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/factor-talk >> > > -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] sqlite on linux
I am using ubuntu x86.I've compilted sqlite3 and checked it, it works. Now, in foctor I'm running: "my.db" db-open db-open fails with: The image refers to a libray or symbol that was not found at load time. Any suggestions? On Tue, Jun 19, 2012 at 12:34 AM, Jon Harper wrote: > On debian-ish distributions, you need to install the *dev package to use > sqlite. > Jon > > > On Mon, Jun 18, 2012 at 11:19 PM, John Benediktsson > wrote: > > Where is the open-db word defined? > > > > Are you doing something like: > > > > USE: db.sqlite > > "/path/to/db" > > > > Do you have the right 32- or 64-bit library installed to match your > machine > > and Factor? > > > > > > > > On Mon, Jun 18, 2012 at 2:16 PM, Grisha Freilikhman > > wrote: > >> > >> Hi, > >> I have a linux machine with sqlite3 installed on it. > >> However factor dosn't want to run open-db word. > >> Is there any special things I should do make it work? > >> > >> Thanks. > >> > >> > >> > -- > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. > Discussions > >> will include endpoint security, mobile security and the latest in > malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> ___ > >> Factor-talk mailing list > >> Factor-talk@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/factor-talk > >> > > > > > > > -- > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > ___ > > Factor-talk mailing list > > Factor-talk@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/factor-talk > > > > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk > -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
[Factor-talk] sqlite on linux
Hi, I have a linux machine with sqlite3 installed on it. However factor dosn't want to run open-db word. Is there any special things I should do make it work? Thanks. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Channels vocab
Thanks, then how concurrency is implemented in Factor? For real "concurrency" you need preemption. On Thu, Aug 12, 2010 at 1:15 PM, Chris Double wrote: > On Thu, Aug 12, 2010 at 9:53 PM, Grisha Freilikhman > wrote: > > And there is no way that two threads will be running simultaneously (On > > multi-core processors) ? > > Correct. The only way (at the moment) to utilize multiple cores is to > fork or spawn another Factor instance. > > Chris. > -- > http://www.bluishcoder.co.nz > > > -- > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk > -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Channels vocab
And there is no way that two threads will be running simultaneously (On multi-core processors) ? On Thu, Aug 12, 2010 at 12:23 PM, Chris Double wrote: > On Thu, Aug 12, 2010 at 8:55 PM, Grisha Freilikhman > wrote: > > on the same channel with senders and receivers vectors are empty. > > S: checks if receivers vector empty => push itself to the senders vector, > > just before the suspend word processed > > R thread get control. > > Factor threads are cooperative. It wouldn't be possible for R thread > to get control before S suspends. > > Chris. > -- > http://www.bluishcoder.co.nz > > > -- > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk > -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
[Factor-talk] Channels vocab
Hi, I thought about next scenario: lets assume S(sender) and R(receiver) threads communicating on the same channel with senders and receivers vectors are empty. S: checks if receivers vector empty => push itself to the senders vector, just before the suspend word processed R thread get control. R: push itself on the receivers vector => checks if senders vector empty (not) => removes sender from the list and suspend S: suspend Isn't it a deadlock situation ? Thanks. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
[Factor-talk] Can't run the todo webapp
While running the webapps.todo it shows me the next error: Generic word does not define a method for the POSTPONE: f class. Dispatching on object: f I guess it something with the SSL. Do I need to do special configuration beside copying the libeay32.dll and ssleay32.dll to the Factor dir. Thanks. -- ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] documentation error + sqlite question
Thanks for help, i'll try this. First of all in the MongoDb factor integration page at the low-level section: instead : USING: mongodb.driver ; "db" "127.0.0.1" 27017 [ "mycollection" [ H{ { "name" "Alfred" } { "age" 57 } } save ] [ ageIdx [ "age" asc ] key-spec ensure-index ] [ H{ { "age" H{ { "$gt" 50 } } } } find-one ] tri ] with-db it should be(change is highlighted): USING: mongodb.driver ; "db" "127.0.0.1" 27017 [ "mycollection" [ H{ { "name" "Alfred" } { "age" 57 } } save ] [ *"ageIdx"* [ "age" asc ] key-spec ensure-index ] [ H{ { "age" H{ { "$gt" 50 } } } } find-one ] tri ] with-db The high level integration example just not working. It connects to the server as i see in the server log but it not saves the tuple and end with the next error: *Generic word element-data-read does not define a method for the fixnum class. Dispatching on object: 18* I have win 7 64 bit. I thought that maybe the problem is with the server being 64bit so i changed to 32bit, but the result is he same. Thanks. On Mon, May 24, 2010 at 4:50 AM, Slava Pestov wrote: > On Sun, May 23, 2010 at 8:27 PM, Grisha Freilikhman > wrote: > > Hi, > > I have two questions: > > 1) Where should i post documentation mistakes? > > You can tell us about them on the mailing list. > > > 2) I try to do things with sqlite, it just not working. Where should i > put > > the sqlite3.dll file. > > Place it anywhere in your PATH, or in the same directory as > factor.exe. If you are on 32-bit Windows, make sure you download the > DLL from http://factorcode.org/dlls/; if you are on 64-bit Windows, > get the DLL from http://factorcode.org/dlls/64/. > > Slava > > > -- > > ___ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk > -- ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
[Factor-talk] documentation error + sqlite question
Hi, I have two questions: 1) Where should i post documentation mistakes? 2) I try to do things with sqlite, it just not working. Where should i put the sqlite3.dll file. or is the sqlite engine is embedded. Thanks. -- ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk