Re: [Factor-talk] build farm down?

2012-05-24 Thread Ben Schlingelhof
Thanks for the info and thanks even more for running the farm. Im relieved to 
hear it's not been abandoned.  

Ben  

Am Donnerstag, 24. Mai 2012 um 18:19 schrieb Doug Coleman:

> I'm running a build farm for Linux32/64 and Windows32/64. There's a
> Mac Pro nearby that I'll set up for Mac32/64 soon.
>  
> If you look at the dashboard (http://builds.factorcode.org/dashboard)
> you can see which tests are failing and which machines are up. It says
> the crashed build machines are Linux and Mac, but Linux is actually up
> -- that's an administration error. You can also see the current build
> emails by clicking "broken build machines," which is named a bit
> awkwardly.
>  
> I'll work on fixing the dashboard this weekend.
>  
> Doug
>  
> On Wed, May 23, 2012 at 2:41 AM, Ben Schlingelhof  (mailto:b...@benseins.de)> wrote:
> > As the title says. I've just tried to find something on the irc logs but I'm
> > too brain-fried at the moment (my office is at 31 °C). Is the continuous
> > integration thing unmaintained or am I missing something?
> >  
> > Cheers,
> >  
> > Ben
> >  
> >  
> > --
> > 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 (mailto: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 (mailto: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] build farm down?

2012-05-23 Thread Ben Schlingelhof
As the title says. I've just tried to find something on the irc logs but
I'm too brain-fried at the moment (my office is at 31 °C). Is the
continuous integration thing unmaintained or am I missing something?

Cheers,

Ben
--
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] Weird behavior on button-up

2011-11-21 Thread Ben Schlingelhof
Yes, I understand. I could learn cocoa and win32 apis but that's a lot of work 
for one guy and my customers are an impatient bunch. Also these apis seem not 
to be supported very high-level on the factor side either, or am I overseeing 
something? 

Ben 

-- 
Ben Schlingelhof
benseins.de


Am Montag, 21. November 2011 um 22:27 schrieb Joe Groff:

> On Mon, Nov 21, 2011 at 1:21 PM, Ben Schlingelhof  (mailto:b...@benseins.de)> wrote:
> > Yeah, I agree. Special events would be wonderful. Factor does not seem to 
> > have them, though. There's a drag gesture, but that is only for 
> > motion-while-button-down, not for the drop itself. I'll have to accept that 
> > button-up does not work and find some workaround. The price one has to pay 
> > for working with a newish language. 
> 
> The UI was pretty much developed only for the developer tools and is pretty 
> YAGNI all around, so you'll probably find it deficient in a lot of ways. You 
> may want to use the gtk, cocoa, or win32 bindings to create a native UI if it 
> doesn't meet your demands. 
> 
> -Joe 
> --
> All the data continuously generated in your IT infrastructure 
> contains a definitive record of customers, application performance, 
> security threats, fraudulent activity, and more. Splunk takes this 
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> 
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net (mailto:Factor-talk@lists.sourceforge.net)
> https://lists.sourceforge.net/lists/listinfo/factor-talk
> 
> 


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Weird behavior on button-up

2011-11-21 Thread Ben Schlingelhof
Thanks for the hint. Just found a way: under-hand delivers the list of all 
gadgets, I'll find the first that accepts a drop and have that handle it. 
Thanks for the conversation, it really helped.

-- 
Ben Schlingelhof
benseins.de


Am Montag, 21. November 2011 um 22:26 schrieb P.:

> Try using hand-gadget (for locating the gadget under the cursor).
> If that doesn't work, try improvising a solution using hand-rel.
> 
> rien
> 
> On Nov 21, 2011, at 4:21 PM, Ben Schlingelhof wrote:
> > Yeah, I agree. Special events would be wonderful. Factor does not seem to 
> > have them, though. There's a drag gesture, but that is only for 
> > motion-while-button-down, not for the drop itself. I'll have to accept that 
> > button-up does not work and find some workaround. The price one has to pay 
> > for working with a newish language.
> > 
> > -- 
> > Ben Schlingelhof
> > benseins.de (http://benseins.de)
> > 
> > 
> > Am Montag, 21. November 2011 um 22:17 schrieb P.:
> > 
> > > Drag-drop events are not usually implemented in terms of mouse-up.
> > > At least when I did VB I remember there were events specifically for 
> > > dragging.
> > > That might be the same in Factor - I don't really know.
> > > 
> > > Regarding the other thing not working, that should be considered a bug as 
> > > far as I can see.
> > > 
> > > rien
> > > 
> > > 
> > > 
> > > On Nov 21, 2011, at 4:04 PM, Ben Schlingelhof wrote:
> > > > That's one way of seeing it. Maybe I'm too obtuse today but how am I 
> > > > supposed to get a signal on a drop event the drag of which started 
> > > > somewhere else? To clear up: I start dragging in the same world, so no 
> > > > os-drag. If I cannot receive a button-up on my drop target, what signal 
> > > > do I get?
> > > > Btw, button-down inside, drag out, drag in again and release does not 
> > > > beep either, just checked it. 
> > > > I'm still puzzled.
> > > > 
> > > > Ben
> > > > 
> > > > Am Montag, 21. November 2011 um 21:20 schrieb Peter M:
> > > > 
> > > > > Isn't that the same behavior as with all widget libraries? I always 
> > > > > took "mouse button up" to implicitly mean "after a mouse button 
> > > > > down". if you mouse down, then drag outside and back inside, then 
> > > > > release, does it beep? that's the kind of thing "mouse up" is for, I 
> > > > > think.
> > > > > 
> > > > > 
> > > > > 
> > > > > On Nov 21, 2011, at 2:48 PM, Ben Schlingelhof  > > > > (mailto:b...@benseins.de)> wrote:
> > > > > 
> > > > > > Hi there,
> > > > > > see code on: http://paste.factorcode.org/paste?id=2409
> > > > > > 
> > > > > > When you click into the label, it beeps. When you start the drag 
> > > > > > outside the label, but let go of the mouse button inside, it 
> > > > > > doesn't. Could somebody explain, please? 
> > > > > > (Factor 0.94, OSX 10.7.2)
> > > > > > 
> > > > > > Ben
> > > > > > 
> > > > > > --
> > > > > > All the data continuously generated in your IT infrastructure 
> > > > > > contains a definitive record of customers, application performance, 
> > > > > > security threats, fraudulent activity, and more. Splunk takes this 
> > > > > > data and makes sense of it. IT sense. And common sense.
> > > > > > http://p.sf.net/sfu/splunk-novd2d
> > > > > > ___
> > > > > > Factor-talk mailing list
> > > > > > Factor-talk@lists.sourceforge.net 
> > > > > > (mailto:Factor-talk@lists.sourceforge.net)
> > > > > > https://lists.sourceforge.net/lists/listinfo/factor-talk
> > > > > > 
> > > > > 
> > > > > 
> > > > > --
> > > > > All the data continuously generated in your IT infrastructure 
> > > > > contains a definitive record of customers, application performance, 
> > > > > security threats, fraudulent activity

Re: [Factor-talk] Weird behavior on button-up

2011-11-21 Thread Ben Schlingelhof
Yeah, I agree. Special events would be wonderful. Factor does not seem to have 
them, though. There's a drag gesture, but that is only for 
motion-while-button-down, not for the drop itself. I'll have to accept that 
button-up does not work and find some workaround. The price one has to pay for 
working with a newish language.

-- 
Ben Schlingelhof
benseins.de


Am Montag, 21. November 2011 um 22:17 schrieb P.:

> Drag-drop events are not usually implemented in terms of mouse-up.
> At least when I did VB I remember there were events specifically for dragging.
> That might be the same in Factor - I don't really know.
> 
> Regarding the other thing not working, that should be considered a bug as far 
> as I can see.
> 
> rien
> 
> 
> 
> On Nov 21, 2011, at 4:04 PM, Ben Schlingelhof wrote:
> > That's one way of seeing it. Maybe I'm too obtuse today but how am I 
> > supposed to get a signal on a drop event the drag of which started 
> > somewhere else? To clear up: I start dragging in the same world, so no 
> > os-drag. If I cannot receive a button-up on my drop target, what signal do 
> > I get?
> > Btw, button-down inside, drag out, drag in again and release does not beep 
> > either, just checked it. 
> > I'm still puzzled.
> > 
> > Ben
> > 
> > Am Montag, 21. November 2011 um 21:20 schrieb Peter M:
> > 
> > > Isn't that the same behavior as with all widget libraries? I always took 
> > > "mouse button up" to implicitly mean "after a mouse button down". if you 
> > > mouse down, then drag outside and back inside, then release, does it 
> > > beep? that's the kind of thing "mouse up" is for, I think.
> > > 
> > > 
> > > 
> > > On Nov 21, 2011, at 2:48 PM, Ben Schlingelhof  > > (mailto:b...@benseins.de)> wrote:
> > > 
> > > > Hi there,
> > > > see code on: http://paste.factorcode.org/paste?id=2409
> > > > 
> > > > When you click into the label, it beeps. When you start the drag 
> > > > outside the label, but let go of the mouse button inside, it doesn't. 
> > > > Could somebody explain, please? 
> > > > (Factor 0.94, OSX 10.7.2)
> > > > 
> > > > Ben
> > > > 
> > > > --
> > > > All the data continuously generated in your IT infrastructure 
> > > > contains a definitive record of customers, application performance, 
> > > > security threats, fraudulent activity, and more. Splunk takes this 
> > > > data and makes sense of it. IT sense. And common sense.
> > > > http://p.sf.net/sfu/splunk-novd2d
> > > > ___
> > > > Factor-talk mailing list
> > > > Factor-talk@lists.sourceforge.net 
> > > > (mailto:Factor-talk@lists.sourceforge.net)
> > > > https://lists.sourceforge.net/lists/listinfo/factor-talk
> > > > 
> > > 
> > > 
> > > --
> > > All the data continuously generated in your IT infrastructure 
> > > contains a definitive record of customers, application performance, 
> > > security threats, fraudulent activity, and more. Splunk takes this 
> > > data and makes sense of it. IT sense. And common sense.
> > > http://p.sf.net/sfu/splunk-novd2d
> > > ___
> > > Factor-talk mailing list
> > > Factor-talk@lists.sourceforge.net 
> > > (mailto:Factor-talk@lists.sourceforge.net)
> > > https://lists.sourceforge.net/lists/listinfo/factor-talk
> > > 
> > > 
> > > 
> > 
> > 
> > --
> > All the data continuously generated in your IT infrastructure 
> > contains a definitive record of customers, application performance, 
> > security threats, fraudulent activity, and more. Splunk takes this 
> > data and makes sense of it. IT sense. And common sense.
> > http://p.sf.net/sfu/splunk-novd2d___
> > Factor-talk mailing list
> > Factor-talk@lists.sourceforge.net (mailto:Factor-talk@lists.sourceforge.net)
> > https://lists.sourceforge.net/lists/listinfo/factor-talk
> 
> --
> All the data continuously generated in your IT infrastructure 
> contains a def

Re: [Factor-talk] Weird behavior on button-up

2011-11-21 Thread Ben Schlingelhof
That's one way of seeing it. Maybe I'm too obtuse today but how am I supposed 
to get a signal on a drop event the drag of which started somewhere else? To 
clear up: I start dragging in the same world, so no os-drag. If I cannot 
receive a button-up on my drop target, what signal do I get?
Btw, button-down inside, drag out, drag in again and release does not beep 
either, just checked it. 
I'm still puzzled.

Ben 

Am Montag, 21. November 2011 um 21:20 schrieb Peter M:

> Isn't that the same behavior as with all widget libraries? I always took 
> "mouse button up" to implicitly mean "after a mouse button down". if you 
> mouse down, then drag outside and back inside, then release, does it beep? 
> that's the kind of thing "mouse up" is for, I think.
> 
> 
> 
> On Nov 21, 2011, at 2:48 PM, Ben Schlingelhof  (mailto:b...@benseins.de)> wrote:
> 
> > Hi there,
> > see code on: http://paste.factorcode.org/paste?id=2409
> > 
> > When you click into the label, it beeps. When you start the drag outside 
> > the label, but let go of the mouse button inside, it doesn't. Could 
> > somebody explain, please? 
> > (Factor 0.94, OSX 10.7.2)
> > 
> > Ben
> > 
> > --
> > All the data continuously generated in your IT infrastructure 
> > contains a definitive record of customers, application performance, 
> > security threats, fraudulent activity, and more. Splunk takes this 
> > data and makes sense of it. IT sense. And common sense.
> > http://p.sf.net/sfu/splunk-novd2d
> > ___
> > Factor-talk mailing list
> > Factor-talk@lists.sourceforge.net (mailto:Factor-talk@lists.sourceforge.net)
> > https://lists.sourceforge.net/lists/listinfo/factor-talk
> > 
> 
> 
> --
> All the data continuously generated in your IT infrastructure 
> contains a definitive record of customers, application performance, 
> security threats, fraudulent activity, and more. Splunk takes this 
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net (mailto:Factor-talk@lists.sourceforge.net)
> https://lists.sourceforge.net/lists/listinfo/factor-talk
> 
> 


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] Weird behavior on button-up

2011-11-21 Thread Ben Schlingelhof
Hi there, 
see code on: http://paste.factorcode.org/paste?id=2409

When you click into the label, it beeps. When you start the drag outside the 
label, but let go of the mouse button inside, it doesn't. Could somebody 
explain, please? 
(Factor 0.94, OSX 10.7.2)

Ben 

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] getting the ip of this system

2010-07-18 Thread Ben Schlingelhof
thanks a lot, works like a charm

On Sat, Jul 17, 2010 at 20:09, Jim mack  wrote:
> Better:
>
>   
>  os windows? "ipconfig" "ifconfig" ? >>command
>   ascii  stream-lines
>
> gives you a sequence.
>
> On Sat, Jul 17, 2010 at 10:55 AM, Jim mack  wrote:
>>
>> USING: io.launcher io.files.temp ;
>>
>> Windows:
>>     "ipconfig" >>command "ip.txt" temp-file >>stdout try-process
>>
>> puts ipconfig results to file to the temp directory.  Try:  "ip.txt"
>> temp-file
>>
>> Mac
>>     "ifconfig" >>command "ip.txt" temp-file >>stdout try-process
>>
>> On Sat, Jul 17, 2010 at 3:03 AM, Ben Schlingelhof  wrote:
>>>
>>> Hi there,
>>>
>>> anybody know how I can get the (DHCP-provided) IP-Address of the
>>> current system? I've tried "f 8000  resolve-host" but it only
>>> gives me "0.0.0.0", not too useful.
>>>
>>> Ben
>>>
>>> --
>>> Ben Schlingelhof
>>> benseins.de
>>>
>>>
>>> --
>>> This SF.net email is sponsored by Sprint
>>> What will you do first with EVO, the first 4G phone?
>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>>> ___
>>> Factor-talk mailing list
>>> Factor-talk@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>>
>>
>>
>> --
>> Jim
>> "I'm for extending the working Medicare program for our seniors all the
>> way back to contraception, so Americans can concentrate on living their
>> lives without fear of changing a job, going bankrupt from deductibles or
>> fighting HMO bureaucracy."
>
>
>
> --
> Jim
> "I'm for extending the working Medicare program for our seniors all the way
> back to contraception, so Americans can concentrate on living their lives
> without fear of changing a job, going bankrupt from deductibles or fighting
> HMO bureaucracy."
>
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>



-- 
Ben Schlingelhof
benseins.de

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] getting the ip of this system

2010-07-17 Thread Ben Schlingelhof
Hi there,

anybody know how I can get the (DHCP-provided) IP-Address of the
current system? I've tried "f 8000  resolve-host" but it only
gives me "0.0.0.0", not too useful.

Ben

-- 
Ben Schlingelhof
benseins.de

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] xml-rpc server

2010-07-14 Thread Ben Schlingelhof
Hi all,

what would be the minimal code to set up a rpc-server that can answer
to xml-rpc queries? I assume that http.server needs to enter into it
somehow but I probably won't need the whole furnace for this. It is
not meant to be a webapp, just a simple communication tool between two
instances of the same application.

Thanks in advance,

Ben
-- 
Ben Schlingelhof
benseins.de

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] *-in-c-type-name

2010-03-15 Thread Ben Schlingelhof
Thanks for the quick and exhaustive answer. I'll try that.

Ben

On Mon, Mar 15, 2010 at 21:05, Joe Groff  wrote:
> On Mar 15, 2010, at 6:18 AM, Ben Schlingelhof wrote:
>
> Hi there,
>
> I've tried to use the odbc-vocab in the newest factor source. I get
> this interesting error:
>
> 17: TYPEDEF: void* SQLSMALLINT*
>   ^
> *-in-c-type-name
>
>
> You're correct. Pointers no longer need to be (or can be) typedef-ed
> separately from their underlying types. If you want to define an opaque C
> type (that is, one which is valid as a pointer type but not as a value
> type), you can use C-TYPE: .
>
> Generic word underlying>> does not define a method for the string class.
> Dispatching on object: "DSN=TEST_DSN"
>
> I bet this is because of a recent change in string handling in the FFI.
> While parameters with a char* pointer type used to be treated specially and
> would automatically convert Factor strings to C strings and back, this is no
> longer the case. A separate type, c-string, is now used to automatically
> convert strings in the FFI. This is discussed in the "C strings" article of
> the FFI docs:
> http://docs.factorcode.org/content/article-c-strings.html
> The fix for odbc will probably be to update some parameters that take char*
> parameters (or typedefs thereof) to now take c-string parameters.
> -Joe
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>



-- 
Ben Schlingelhof
benseins.de

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] *-in-c-type-name

2010-03-15 Thread Ben Schlingelhof
Hi there,

I've tried to use the odbc-vocab in the newest factor source. I get
this interesting error:

17: TYPEDEF: void* SQLSMALLINT*
   ^
*-in-c-type-name

So I think, maybe the pointer-types work automatically now and comment
this thing. Now it loads fine, but on running I get:

Generic word underlying>> does not define a method for the string class.
Dispatching on object: "DSN=TEST_DSN"

Any hints how to resolve this? I didn't find the docs for these
changes in alien.syntax.

Ben

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] MS-SQL

2010-03-11 Thread Ben Schlingelhof
Alright, done that. You'll find the changes under

http://github.com/radebrecht/factor/tree/odbc-update

Ben

On Thu, Mar 11, 2010 at 17:43, Ben Schlingelhof
 wrote:
> Hi everyone,
>
> I've managed to revive the odbc-vocabulary. It works fine with my sql
> server 2005 database and I've added correct conversion for timestamps.
> Can anybody explain what I have to do to get this back into
> maintained? I'm on github but until now have just used the
> download-version of factor. My idea would be to fork it, put the
> changes in and inform you guys here. Am I correct?
> Another question: Does a vocabulary have to have unit-tests to be in
> maintained? I can add some but most of it isn't testable without a
> odbc-connection.
>
> Ben
> --
> Ben Schlingelhof
> benseins.de
>



-- 
Ben Schlingelhof
benseins.de

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] MS-SQL

2010-03-11 Thread Ben Schlingelhof
Hi everyone,

I've managed to revive the odbc-vocabulary. It works fine with my sql
server 2005 database and I've added correct conversion for timestamps.
Can anybody explain what I have to do to get this back into
maintained? I'm on github but until now have just used the
download-version of factor. My idea would be to fork it, put the
changes in and inform you guys here. Am I correct?
Another question: Does a vocabulary have to have unit-tests to be in
maintained? I can add some but most of it isn't testable without a
odbc-connection.

Ben
-- 
Ben Schlingelhof
benseins.de

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] MS-SQL

2010-03-10 Thread Ben Schlingelhof
Thanks Jim, most appreciated. When I received your mail, I'd already
managed to get it running and connected to our database. No harm done,
though, the effort duplicated obviously wasn't that much. I think,
this should be back in maintained. Who wants to do it? If nobody
volunteers, I would.

The connection to db.tuples is a very good idea, although I don't need
it at the moment. Maybe I'll have a stab at it.

Ben

On Wed, Mar 10, 2010 at 17:11, Jim mack  wrote:
> Also, wanted to get the db.tuples working with this, but kept getting stuck.
>
> On Wed, Mar 10, 2010 at 8:11 AM, Jim mack  wrote:
>>
>> I have reworked everything but the translation of dates and will post a
>> copy shortly.  I didn't want to do so incomplete, but no reason for you to
>> redo that work.
>> ffi:
>> http://paste.factorcode.org/paste?id=1572
>> lib:
>> http://paste.factorcode.org/paste?id=1573
>> odbc main:
>> http://paste.factorcode.org/paste?id=1574
>> It was one of the first things I did in factor, so I expect it could be
>> better ;(  and don't have git capability where I am right now.
>> Jim
>>
>>
>> On Wed, Mar 10, 2010 at 6:52 AM, Ben Schlingelhof
>>  wrote:
>>>
>>> Thanks, everyone. I'll have a look at the odbc-port.
>>>
>>> On Wed, Mar 10, 2010 at 14:11, Chris Double 
>>> wrote:
>>> > On 03/11/2010 12:25 AM, Paul Moore wrote:
>>> >> Hmm, looks like I may have been wrong. I was working from
>>> >> http://www.bluishcoder.co.nz/2007/01/odbc-interface-for-factor.html
>>> >> but that looks like it's out of date as I can't find anything in the
>>> >> current factor codebase.
>>> >
>>> > It's in 'unmaintained/odbc' in the source distribution (the git
>>> > repository). It shouldn't take much effort to get it working again for
>>> > someone new to factor.
>>> >
>>> > Chris.
>>> > --
>>> > http://bluishcoder.co.nz
>>> >
>>> >
>>> > --
>>> > Download Intel® Parallel Studio Eval
>>> > Try the new software tools for yourself. Speed compiling, find bugs
>>> > proactively, and fine-tune applications for parallel performance.
>>> > See why Intel Parallel Studio got high marks during beta.
>>> > http://p.sf.net/sfu/intel-sw-dev
>>> > ___
>>> > Factor-talk mailing list
>>> > Factor-talk@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/factor-talk
>>> >
>>>
>>>
>>>
>>> --
>>> Ben Schlingelhof
>>> benseins.de
>>>
>>>
>>> --
>>> Download Intel® Parallel Studio Eval
>>> Try the new software tools for yourself. Speed compiling, find bugs
>>> proactively, and fine-tune applications for parallel performance.
>>> See why Intel Parallel Studio got high marks during beta.
>>> http://p.sf.net/sfu/intel-sw-dev
>>> ___
>>> Factor-talk mailing list
>>> Factor-talk@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>>
>>
>>
>> --
>> Jim
>> "I'm for extending the working Medicare program for our seniors all the
>> way back to contraception, so Americans can concentrate on living their
>> lives without fear of changing a job, going bankrupt from deductibles or
>> fighting HMO bureaucracy."
>
>
>
> --
> Jim
> "I'm for extending the working Medicare program for our seniors all the way
> back to contraception, so Americans can concentrate on living their lives
> without fear of changing a job, going bankrupt from deductibles or fighting
> HMO bureaucracy."
>
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>



-- 
Ben Schlingelhof
benseins.de

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] MS-SQL

2010-03-10 Thread Ben Schlingelhof
Thanks, everyone. I'll have a look at the odbc-port.

On Wed, Mar 10, 2010 at 14:11, Chris Double  wrote:
> On 03/11/2010 12:25 AM, Paul Moore wrote:
>> Hmm, looks like I may have been wrong. I was working from
>> http://www.bluishcoder.co.nz/2007/01/odbc-interface-for-factor.html
>> but that looks like it's out of date as I can't find anything in the
>> current factor codebase.
>
> It's in 'unmaintained/odbc' in the source distribution (the git
> repository). It shouldn't take much effort to get it working again for
> someone new to factor.
>
> Chris.
> --
> http://bluishcoder.co.nz
>
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>



-- 
Ben Schlingelhof
benseins.de

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] MS-SQL

2010-03-10 Thread Ben Schlingelhof
Hi there,

first a big thank you to everyone, factor is just getting better and
better and I'm still moistly in love with it.
I've managed to use it in my job as a data-mining tool and the results
are rather pleasing. Unfortunately I'm bound to use Microsofts SQL
Server 2005 and there's no direct connection from factor to it. At the
moment I circumnavigate this particular nag by exporting tables as
csv-files and reading those. Unsatisfactory, this. Therefore my
question:

What would be the best way to get (read-only) access to the ms-sql
server? Anyone working on it?

Ben

-- 
Ben Schlingelhof
benseins.de

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] word wrap question

2010-01-08 Thread Ben Schlingelhof
Hi Hugo,

I've really just dabbled with it for an hour or so. It's not on my
priority list. I'll continue to experiment because that's the only way
to learn how everything works, but I doubt that anything usable will
result from this.
If you find a good solution, I'd be glad to try it.

Cheers,
Ben

On Fri, Jan 8, 2010 at 01:33, Hugo Schmitt  wrote:
> Hi Ben,
> Please let me know if you are working on something on this area, so we don't
> duplicate work.
> I'm (rather slowly) trying to write a text editor based on
> multiline-editor... I hadn't thought about word wrapping yet, though...
> Cheers,
> Hugo
>
> On Thu, Jan 7, 2010 at 9:08 PM, Ben Schlingelhof  wrote:
>>
>> Hi there,
>>
>> is anybody working on word wrapping in the multiline-editor? I could
>> really use it, tried to do something myself but I don't understand the
>> whole render-system well enough to fix this.
>>
>> Cheers,
>>
>> Ben
>>
>> --
>> Ben Schlingelhof
>> benseins.de
>>
>>
>> --
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast and
>> easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-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 the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>



-- 
Ben Schlingelhof
benseins.de

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] word wrap question

2010-01-07 Thread Ben Schlingelhof
Hi there,

is anybody working on word wrapping in the multiline-editor? I could
really use it, tried to do something myself but I don't understand the
whole render-system well enough to fix this.

Cheers,

Ben

-- 
Ben Schlingelhof
benseins.de

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] Doctext for map-reduce needs fixing

2009-12-09 Thread Ben Schlingelhof
Hi there,

by sheer luck I stumbled across a mistake in the map-reduce
documentation. It says:
"Unclips the first element of the sequence, calls map-quot on that
element, and proceeds like a reduce, where the calculated element is
the identity element and the rest of the sequence is the sequence to
reduce."
Alright, example:
{ 1 3 5 } [ sq ] [ + ] map-reduce
"Unclips the first element of the sequence,"
{ 1 3 } 5 [ sq ] [ + ] map-reduce
"calls map-quot on that element, and proceeds like a reduce, where the
calculated element is the identity element and the rest of the
sequence is the sequence to reduce."
{ 1 3 } 25 [ + ] reduce
=> 29

Maybe better to say:
"Calls map with map-quot on the complete sequence, then unclips the
first element and proceeds like a reduce..."

same thing in 2map-reduce

Cheers,
Ben

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Looks like the latest Win32 binaries require SSE3

2009-09-17 Thread Ben Schlingelhof
Had the same problem here, but bootstrapping worked just fine. So you
probably don't need to build from source. The bootstrap error dump is
rather nondescript though, no idea what went wrong there.

Ben

On Thu, Sep 17, 2009 at 15:14, Paul Moore  wrote:
> I just downloaded the latest factor build and tried it. I get
>
>>Factor\factor.com
> This image was built to use SSE3 but your CPU only supports SSE2.
> You will need to bootstrap Factor again.
>
> Looks like I need to build it myself, then :-(
>
> Could the requirements on the download page be updated?
>
> Hmm, I tried to download the clean image and bootstrap from that using
> factor.com from the binary build. That didn't work...
>
>>factor.com -i=images\boot.x86.32.image
> *** Stage 2 early init... done
> The die word was called by the library. Unless you called it yourself,
> you have triggered a bug in Factor. Please report.
> Starting low level debugger...
>  Basic commands:
> q                -- continue executing Factor - NOT SAFE
> im               -- save image to fep.image
> x                -- exit Factor
>  Advanced commands:
> d   -- dump memory
> u          -- dump object at tagged 
> .          -- print object at tagged 
> t                -- toggle output trimming
> s r              -- dump data, retain stacks
> .s .r .c         -- print data, retain, call stacks
> e                -- dump environment
> g                -- dump generations
> card       -- print card containing address
> addr       -- print address containing card
> data             -- data heap dump
> words            -- words dump
> tuples           -- tuples dump
> refs       -- find data heap references to object
> push       -- push object on data stack - NOT SAFE
> code             -- code heap dump
> READY
>
> Assuming this is just a limitation, and for SSE2 I need to build from
> source, I'll probably not bother and just stick to using Factor on my
> home PC (which isn't as old as the laptop I'm currently working on...)
>
> Paul.
>
> --
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>



-- 
Ben Schlingelhof
benseins.de

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] Black background fonts ins slides (Win32)

2009-06-19 Thread Ben Schlingelhof
Hi everyone,
I've got black background behind all fonts in the various talks
(otug-talk, chicago-talk etc.) in win32. That is in the current
version (06-18) and in an older one: (04-16). Didnt try another
version. Any help?

Cheers, Ben

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] multiple selection in table views

2009-05-14 Thread Ben Schlingelhof
Great, lovely, phantastic. Just what I needed. One thing though: the
selected-values model gets updated when I command-click, but not when
I shift-click (Mac). Apart from that I love it. Thanks.

Ben

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] fixnum error in uniscribe

2009-04-24 Thread Ben Schlingelhof
That's the problem, I didn't manage to reproduce it in small, only in
my production code. Hence the confused probing around. (But it deploys
fine now, I plan on showing the new version to my customer on
thursday.)

On Fri, Apr 24, 2009 at 14:00, Slava Pestov  wrote:
> Hi Ben,
>
> How did you reproduce the problem with multiline editors?
>
> Slava

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] fixnum error in uniscribe

2009-04-24 Thread Ben Schlingelhof
Multiline-editors gave me no end of headaches in win32, producing
weird type-check-errors and crashing unceremoniously in deployment. I
tracked it down:
M: uniscribe-renderer x>offset ( x font string -- n )
[ 2drop 0 ] [
cached-script-string [ >integer ] dip x>line-offset 0 = [ 1+ ] unless
] if-empty ;

the  "[ >integer ] dip" bit is new. Seems to fix it.

Ben

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] new-ui deployment

2009-04-09 Thread Ben Schlingelhof
> How recent is your build? This was fixed a few days ago.
> Slava
Precisely. Sorry about that. I'm almost happy again. Is there any
schedule as to when the win32 build will be updated?

Ben

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] new-ui deployment

2009-04-08 Thread Ben Schlingelhof
I am trying to deploy something with the new-ui
works, but dumps
T{ vocabs.loader:not-found-in-roots
"ui/gadgets/theme/labeled-block-title-left.tiff" }
when I run it. What am I missing?
Ben
--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] db.tuples custom query

2009-04-03 Thread Ben Schlingelhof
Hi there,

I'm trying to figure out the db library, so my head is almost exploding. How
can I have have the results of a sql-query-string parsed back into tuples? I
know how to do basic queries using the fabulous db.tuples, but that is
rather limited. I also know how to make a sql-string query ("select
blabla... ;" query-sql) but that gives me strings only. So how to combine
this? I want to write my own "select ...;" Statements but have the results
asl correct tuples. Any ideas?

Ben

-- 
Ben Schlingelhof
benseins.de
--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Deployment and define-operation

2009-02-17 Thread Ben Schlingelhof
Thanks for all the changes, they definitely will be helpful. The
ALIAS: trick with the german names is phantastic, I'd never have
thought of that.

Ben

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] platform independent url input

2009-02-17 Thread Ben Schlingelhof
Hi,

is there some preferably easy way to let the user input some filepaths
/ urls? Both dropping from the finder/explorer and selecting with a
file open dialog would be ok. Problem: it should work the same way on
Mac and Windows. I've had a look at open-panel (cocoa.dialog) but
there seems to be no equivalent in the windows port. Dropping does
seem to be implemented on windows, but only for factor-files. Am I
blind as usual or do I need to implement my own file browser dialog?
The thought makes me shudder...

Ben

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Deployment and define-operation

2009-02-16 Thread Ben Schlingelhof
> It looks like maybe the global operations variable is set to f.
>
> Do this before your define-operation call:
>
> V{ } clone operations set-global
>
> Operations are a bit hackish right now, they were designed to be used
> by ui.tools.*. Now that I'm working on a big overhaul of the UI I
> might clean them up and make them easier to use in other contexts.
>
> Good lock,
>
> Slava
>

Thanks, that did the trick. I'm slowly getting used to
deployment-debugging, but it still is an awful process. I've not
managed to figure out any connection between the stackdump and the
actual problem. So it is piecewise commenting the last changes,
test-deploy, uncomment again, test-deploy again. I get results but it
takes forever.
As for the operations, I use them, because they give me ready made
popup-menus, left and rightclick etc., very convenient. But I agee,
they could use an overhaul and some extensions. Most particularly: a
method of replacing the canonical label of an operation with something
else. I'm developing for a german market and the english menu entries
will not find many friends.
Btw, I think I've never mentioned how massively great that thing is,
you've all managed to put together here. It's managed to become my
favourite language and IDE in half a year. I'm so impressed and
productive with it, that I've decided to make it the basis for my
attempt to start a software company. So, thanks to you all.

Ben

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] Deployment and define-operation

2009-02-13 Thread Ben Schlingelhof
Hi there,

I've managed to narrow down teh problems with deployment I've had.
First thing was missing vocabs in USING: clauses. Apparantly the
Factor Runtime doesn't give a warning if a vocab is used, that it
already knows, but the deployer does object rather cryptically. So
that worked, but now I'm stuck again: I can deploy, but the app ends
in the low-level-debugger. This happens whenever I try to use
define-operation for my UI. Everything else works fine, the UI deploys
smoothly if I dont define any new operations, but if I do: bugger.
Maybe I don't get the whole idea about operations. Sorry for not
sharing any code, but I'm sort of under contract and would not feel
good sharing it. Here's the error:

.s
 DATA STACK:
T{ sequences:immutable f }
READY
.r
 RETAIN STACK:
#
[ kernel:drop ]
[ f # namespaces:set-global ]
[ ]
READY
.c
 CALL STACK:
[ init:boot T{ vectors:vector { } 0 } kernel:clone
compiler.units:definition-observers namespaces:set-global T{
hashtables:hashtable 0 0 { T{ hashtables.private:tombstone f } T{
hashtables.private:tombstone f } T{ hashtables.private:tombstone f }
T{ hashtables.private:tombstone f } T{ hashtables.private:tombstone f
} T{ hashtables.private:tombstone f } T{ hashtables.private:tombstone
f } T{ hashtables.private:tombstone f } } } kernel:clone
alien:callbacks namespaces:set-global io.backend:init-io... ]
69
1a0009b 5e29150
[ T{ hashtables:hashtable 0 0 { T{ hashtables.private:tombstone f } T{
hashtables.private:tombstone f } T{ hashtables.private:tombstone f }
T{ hashtables.private:tombstone f } T{ hashtables.private:tombstone f
} T{ hashtables.private:tombstone f } T{ hashtables.private:tombstone
f } T{ hashtables.private:tombstone f } } } kernel:clone
namespaces.private:>n kernel:call namespaces.private:ndrop ]
3
20bcc9b 58e42e0
[ cocoa.classes:NSAutoreleasePool "new" cocoa.messages:send
kernel:slip "release" cocoa.messages:send ]
3
1fcda8b 5c05780
[ [ kernel:call ] kernel:dip ]
1
1b5a52b 58df4a0
[ [ kernel:compose [ kernel:dip continuations:rethrow ] kernel:curry
continuations:recover ] [ kernel:drop ] kernel:2bi kernel:call ]
2
1f16c7b 588b650
[ [ kernel:2keep ] kernel:dip kernel:call ]
1
20adf53 58dd050
[ [ kernel:call ] kernel:2dip ]
1
1b5a623 58e0c80
continuations:rethrow
f
1b8004b 58bf050
[ threads:self threads:error-in-thread threads:stop ]
1
1a0414b 5e29730
error-in-thread/tuple-dispatch-engine
f
1b9ba83 5ca9a00
READY

Thanks for reading, any ideas?

Ben

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] deploy error Tracking

2009-02-06 Thread Ben Schlingelhof
> Could you say what you're deploying so I can try to reproduce the error?

At the moment it's a heap of convoluted code, I'm experimenting. Much
to embarrassing to show to anyone. Perhaps that's the problem anyway,
I'll clean up and restructure, maybe the problem will vanish. If not,
I'll have at least a better Idea what's happening and ask more
specific question. I was just interested in the principle way to debug
such an error, apart from intuition and head scratching.
Thanks anyway,

Ben

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] deploy error tracking

2009-02-05 Thread Ben Schlingelhof
Hi,

while deploy I get this:
T{ generic.standard:no-method f sequences:set-length }
Something problematic with my code no doubt, but how do I track this
down? I can't reproduce the error in the listener, everything works
fine there. Any ideas?

Ben

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] Bug in sqlite.factor

2009-02-04 Thread Ben Schlingelhof
Hi,
I'm just exploring the db.tuples vocabulary, it's fantastic.
Unfortunately there's rather little documentation, so I had to figure
out some things myself. For Example: when I define a slot as
+foreign-key+, there are certain useful triggers inserted in my db. It
is not allowed then, to insert a tuple, with that slot set to f (=
NULL). Isn't that, what the flag +not-null+ should add?
However, when I add the rather confusingly named +not-null+ to the
declaration, the trigger is more complex. I _think_ it should allow
for tuples, that have either a valid foreign id set in the slot, or f
(= NULL).
In sqlite.factor:243 (in insert-trigger-not-null) it says:

WHERE NEW.${foreign-table-id} IS NOT NULL
AND (SELECT ${foreign-table-id} FROM ${foreign-table}
WHERE ${foreign-table-id} = NEW.${table-id}) IS NULL;

That does not make much sense to me, since it asks for the ID-column
of the foreign table _from the current table_. Ids are always called
"ID" in my case, so at first it didn't matter. But it won't allow you
to insert a tuple with a foreign-id = NULL. So I think it should be:

WHERE NEW.${table-id} IS NOT NULL
AND (SELECT ${foreign-table-id} FROM ${foreign-table}
WHERE ${foreign-table-id} = NEW.${table-id}) IS NULL;

 ${table-id} being the column-name of the foreign id in the current
table. It's still weird though, since that is the behaviour the
trigger should have in case +not-null+ is _not_ given. I'm thoroughly
confused.
Please, help.

Ben

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] operation-maps

2009-02-03 Thread Ben Schlingelhof
Hi,

I am starting to use operations, very nice these are. Bit hard to
debug however, since everytime I reload my source-file the setup adds
more operations to my presentation. Hence the question: how do I get
rid of already defined operations? More specifically, I would still
like to see those 'Inspect', 'Push', 'Unparse' operations in the
listener, but
a) only one set of my newly-defined operations per presentation and
b) when I open my gadget in a new window, I want to see my own operations only.

thanks,

Ben

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] with-db and the UI

2009-01-30 Thread Ben Schlingelhof
Hello,

I want to open a db connection via with-db and use that in various
commands in an user interface. Problem: When I call a word that
creates a user interface (via open-window) within a with-scope
(with-variable, with-db, whatever), the scope seems to be lost in the
callbacks from the UI. What is the right way to do this?

Ben

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] I've started a blog

2008-04-02 Thread Ben Schlingelhof
Dear Factorians,

I've started a blog about this marvellously beautiful language. Maybe
you want to look at it:

http://typeer.de/thema/Factor-Musings/

It's going to be about my experience with Factor, problems I
encounter, solutions to them. Maybe some examples of things I find
especially nice in the language. It also is a bit of training for my
written English, so please forgive the occasional weirdness. Oh, and
should anyone want to add it to the planet.factorcode, I'd be
delighted.

Thanks,

Ben.

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] Animation

2008-03-04 Thread Ben Schlingelhof
I discovered Factor about a month ago and am trying very much to fall
 in love with it. As usual at the very beginning of a new relationship,
 I'm rather confused. Loved Forth in 1989, so I have a faint memory of
 stack-based programming. Still everything in Factor is new, promising,
 and utterly strange. Enough story, you guys love beginners questions,
 so here it goes:

 I managed to paint a nice square on the screen:

 : display ( -- )
 blue gl-color
 { 30 30 } { 100 100 } gl-fill-rect
 ;

 : test-window ( -- )
 [
[ display ] 
{ 600 600 } over set-slate-dim
"Test" open-window
 ] with-ui ;

 MAIN: test-window.

 How do I get it to move? I had a look at the timers, confusion.

 Second question: Is there a possibility to disable the alt-5 shortcut?
 I'm on a german mac, that is the [ . Rather inconvenient.

 Ben

 --
 Ben Schlingelhof
 benseins.de

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk