f-script-talk Mailing List for F-Script (Page 8)
Brought to you by:
pmougin
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
(4) |
Apr
(1) |
May
(1) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(3) |
Feb
(1) |
Mar
(2) |
Apr
(8) |
May
(12) |
Jun
(3) |
Jul
(5) |
Aug
(4) |
Sep
(1) |
Oct
(1) |
Nov
(2) |
Dec
(4) |
2003 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
|
May
(14) |
Jun
(5) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
(2) |
Nov
(2) |
Dec
|
2004 |
Jan
(3) |
Feb
(9) |
Mar
(1) |
Apr
(6) |
May
|
Jun
|
Jul
(3) |
Aug
(3) |
Sep
(11) |
Oct
(29) |
Nov
|
Dec
(3) |
2005 |
Jan
(8) |
Feb
(12) |
Mar
|
Apr
(1) |
May
(31) |
Jun
|
Jul
(7) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(2) |
2006 |
Jan
(13) |
Feb
(1) |
Mar
(5) |
Apr
(3) |
May
(1) |
Jun
(13) |
Jul
(2) |
Aug
(22) |
Sep
(15) |
Oct
(1) |
Nov
(1) |
Dec
|
2007 |
Jan
(7) |
Feb
(3) |
Mar
(2) |
Apr
(5) |
May
|
Jun
(6) |
Jul
(2) |
Aug
(1) |
Sep
(2) |
Oct
(3) |
Nov
(12) |
Dec
(5) |
2008 |
Jan
(2) |
Feb
|
Mar
(2) |
Apr
(2) |
May
(4) |
Jun
(31) |
Jul
(9) |
Aug
(10) |
Sep
(3) |
Oct
(4) |
Nov
|
Dec
|
2009 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Philippe M. <pm...@ac...> - 2006-04-04 16:07:35
|
The release candidate announced here a few days ago has been released as "F-Script 1.3.2". Release notes are available on-line at: http://www.fscript.org/releaseNotes/ You can download F-Script 1.3.2 from: http://www.fscript.org/download/download.htm Enjoy, Philippe Mougin |
From: Sarat K. <sar...@gm...> - 2006-04-04 03:01:08
|
Hi Guys, A couple of weeks ago I was trying to solve this problem of distributing results from different categories & sites to a fixed number of rows. This is similar to the way Spotlight uniformly distributes the search results in the menu like display. So you see results from each category (Photos, Documents, Folders, Music, Mail, etc). The case I was trying to solve is a little complicated because each result has an additional attribute "Site" apart from the "Category". Here is what I like to do. Say I have 10 rows to display the seach results and I get 40 results that match the search criteria. I want to make sure I display results uniformly from each Category and then uniformly across Sites in each category. F-Script seemed like a perform fit for these kinds of problems. Here is the code I came up with so far [:results | categoryResults :=3D results at: @ ((results objectForKey:'Category') =3D @((results objectForKey:'Category') distinct)). categorySiteResults :=3D [:a| Sites:=3D (a objectForKey:'Site') distinct. a at: @((a objectForKey:'Site') =3D @Sites)] value: @categoryResults. addBlock :=3D [:container :source | container addObject:(source objectAtIndex:0). source removeObjectAtIndex:0]. alternatePickBlock :=3D [:a :b | container :=3D NSMutableArray array. [ ((a count) > 0) | ((b count) > 0) ] whileTrue: [(a count) > 0 ifTrue:[addBlock value:container value:a]. (b count) > 0 ifTrue:[addBlock value:container value:b] ]. container]. distributedCategoryResults :=3D categorySiteResults @ \ alternatePickBlock. distributedResults :=3D distributedCategoryResults \ alternatePickBlock. distributedResults ] The input argument to this block is the array of search results. Each result is a dictionary (the two important keys are Category and Site). Is there a better way to do this? Thanks. Regards Sarat |
From: Philippe M. <pm...@ac...> - 2006-03-30 22:33:26
|
Hi, ObjectiveCLIPS 1.7 is out. It's a fascinating tool to develop rule- based application with F-Script, CLIPS and Core Data. "ObjectiveCLIPS integrates the popular NASA-developed CLIPS expert system shell with Apple's Core Data technology and F-Script, allowing the creation of intelligent Cocoa applications with persistent object models and complex business rules. Developers can easily embed ObjectiveCLIPS in their application and take advantage of its powerful inference engine and associated tools to implement their application logic." More at the ObjectiveCLIPS web site: http://www.ObjectiveCLIPS.com Best, Philippe Mougin |
From: Philippe M. <pm...@ac...> - 2006-03-29 22:13:43
|
Le 27 mars 06 =E0 17:29, J.C.Burns a =E9crit : > I'm trying to do what in pure Cocoa/Obj-C would be: > > hexColorString =3D @"#%02x%02x%02x"; > htmlString =3D [NSString hexColorString,[[form4 cellAtIndex:0]=20 > floatValue],[[form4 cellAtIndex:1]floatValue],[[form4 cellAtIndex:2]=20= > floatValue]]; > > But I understand from F-Script-talk digest, Vol 1 #85 on October =20 > 21, 2004 > >> Currently F-Script does not support calling a method with variable >> number of arguments. > > Has that changed? F-Script still does not support calling a method with variable number =20= of arguments. > Or, more to the point, is there an alternative way to use something =20= > like printf strings or use the stringWithFormat method? A common way to create formated representations of numbers in F-=20 Script is to use the NSNumberFormatter class. It can do many kind of =20 formating but I don't think it create hexadecimal representations. You may have to develop an ad-hoc method in Objective-C then call it =20 from F-Script. Best, Philippe= |
From: J.C.Burns <jc...@fa...> - 2006-03-27 15:29:59
|
I'm trying to do what in pure Cocoa/Obj-C would be: hexColorString = @"#%02x%02x%02x"; htmlString = [NSString hexColorString,[[form4 cellAtIndex:0] floatValue],[[form4 cellAtIndex:1]floatValue],[[form4 cellAtIndex:2] floatValue]]; But I understand from F-Script-talk digest, Vol 1 #85 on October 21, 2004 > Currently F-Script does not support calling a method with variable > number of arguments. Has that changed? Or, more to the point, is there an alternative way to use something like printf strings or use the stringWithFormat method? --jcburns |
From: Philippe M. <pm...@ac...> - 2006-03-26 00:51:32
|
F-Script 1.3.2 release candidate is now available for download and test. Binaries + documentation: http://www.fscript.org/download/FScriptBin-20060323.tar.gz Sources: http://www.fscript.org/download/FScriptSources-20060323.tar.gz I plan to publicly announce the release in a few days if no major problems are found in this release candidate. Please, test and report problems ASAP. Enjoy! Philippe Mougin |
From: Philippe M. <pm...@ac...> - 2006-03-18 01:20:52
|
A bug has been found that makes F-Script crash when all the following conditions are met: - You run on the Intel architecture a version of F-Script compiled for Intel (either Intel only or universal). - From F-Script, you invoke a method that takes more than seven arguments. - This method takes only object as arguments and returns an object (no primitive types). A new version that fix this bug will be posted soon. In the meantime you can correct it yourself by doing the following. In the file MsgContext.m change the following code #ifdef MESSAGING_USES_NSINVOCATION prepareNSInvocation = YES; #elif defined __ppc__ prepareNSInvocation = nbArg > 9 || shouldConvertArguments || specialReturnType; #else prepareNSInvocation = shouldConvertArguments || specialReturnType; #endif to this: #ifdef MESSAGING_USES_NSINVOCATION prepareNSInvocation = YES; #else prepareNSInvocation = nbArg > 9 || shouldConvertArguments || specialReturnType; #endif Best, Philippe Mougin |
From: Philippe M. <pm...@ac...> - 2006-02-06 16:39:38
|
The release candidate announced here a few days ago has been released as "F-Script 1.3.1". Release notes are available on-line at http://www.fscript.org/ releaseNotes/ You can download F-Script 1.3.1 from http://www.fscript.org/download/ download.htm Enjoy, Philippe Mougin |
From: Philippe M. <pm...@ac...> - 2006-01-31 11:25:33
|
Le 30 janv. 06 =E0 04:06, Ken Ferry a =E9crit : > On 1/29/06, Todd Blanchard <tbl...@ma...> wrote: >> It is possible to say 'anObject setFoo: aValue' and 'anObject foo' to >> an NSManagedObject if the object's entity has property >> 'foo' (basically it maps setFoo: to setValue: forKey:'foo' and foo to >> valueForKey:'foo' > > So is there any reason we're only doing this for NSManagedObjects? Is > it too evil to want to get at normal object ivars in this way as well? > :-) Even mentioning it is evil ! :-) Well, the goal with NSManagedObject was to re-objectify the whole =20 damned thing and make it easier to use it with F-Script's array =20 programming model. But I don't want to introduce too much magical =20 behavior. And it is already possible to directly manipulate ivars =20 from F-Script using KVC (storedValueForKey: and =20 takeStoredValue:forKey: generally work). On the other hand I'd like =20 to have a graphical browser showing instance variables. There was =20 something like that in GDB on NEXTSTEP 3 and it was terrific for =20 debugging. > I usually use FScript for exploration and debugging, so I'm generally > not too concerned with encapsulation. > > The release candidate is working great for me so far! Thanks for testing it. Philippe Mougin= |
From: Ken F. <ken...@gm...> - 2006-01-30 03:06:10
|
On 1/29/06, Todd Blanchard <tbl...@ma...> wrote: > It is possible to say 'anObject setFoo: aValue' and 'anObject foo' to > an NSManagedObject if the object's entity has property > 'foo' (basically it maps setFoo: to setValue: forKey:'foo' and foo to > valueForKey:'foo' So is there any reason we're only doing this for NSManagedObjects? Is it too evil to want to get at normal object ivars in this way as well? :-) I usually use FScript for exploration and debugging, so I'm generally not too concerned with encapsulation. The release candidate is working great for me so far! -Ken |
From: Jonathan 'W. R. <ni...@re...> - 2006-01-30 02:56:10
|
Todd Blanchard, tbl...@ma..., wrote: >It is possible to say 'anObject setFoo: aValue' and 'anObject foo' to >an NSManagedObject if the object's entity has property >'foo' (basically it maps setFoo: to setValue: forKey:'foo' and foo to >valueForKey:'foo' > >This is nice as creating custom subclasses of NSMangedObject just to >get accessors is monkey coding and it gets tedious always writing >'anObject setValue: aValue forKey: 'foo'' all the time. Ah, cool. Yeah, I was doing a lot of setValue:forKey: just today. Was almost enough to get me to figure out how to hook up EOGenerator with Core Data. Almost. ;-) | Jonathan 'Wolf' Rentzsch http://rentzsch.com | Red Shed Software http://redshed.net | "better" necessarily means "different" |
From: Todd B. <tbl...@ma...> - 2006-01-30 02:46:25
|
It is possible to say 'anObject setFoo: aValue' and 'anObject foo' to an NSManagedObject if the object's entity has property 'foo' (basically it maps setFoo: to setValue: forKey:'foo' and foo to valueForKey:'foo' This is nice as creating custom subclasses of NSMangedObject just to get accessors is monkey coding and it gets tedious always writing 'anObject setValue: aValue forKey: 'foo'' all the time. On Jan 29, 2006, at 6:32 PM, Jonathan 'Wolf' Rentzsch wrote: > Todd Blanchard, tbl...@ma..., wrote: >> I've tried it with my ObjectiveCLIPS example code and it works >> great. Looks like I can stop shipping my hacked version since this >> one supports fake accessors on NSManagedObjects. Thanks! > > What are 'fake accessors'? > > | Jonathan 'Wolf' Rentzsch http://rentzsch.com > | Red Shed Software http://redshed.net > | "better" necessarily means "different" > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > F-Script-talk mailing list > F-S...@li... > https://lists.sourceforge.net/lists/listinfo/f-script-talk |
From: Jonathan 'W. R. <ni...@re...> - 2006-01-30 02:32:42
|
Todd Blanchard, tbl...@ma..., wrote: >I've tried it with my ObjectiveCLIPS example code and it works >great. Looks like I can stop shipping my hacked version since this >one supports fake accessors on NSManagedObjects. Thanks! What are 'fake accessors'? | Jonathan 'Wolf' Rentzsch http://rentzsch.com | Red Shed Software http://redshed.net | "better" necessarily means "different" |
From: Todd B. <tbl...@ma...> - 2006-01-30 02:19:52
|
I've tried it with my ObjectiveCLIPS example code and it works great. Looks like I can stop shipping my hacked version since this one supports fake accessors on NSManagedObjects. Thanks! -Todd Blanchard On Jan 29, 2006, at 3:07 PM, Philippe Mougin wrote: > F-Script 1.3.1 release candidate is now available for download and > test. > > Binaries + documentation: > http://www.fscript.org/download/FScriptBin-20060130.tar.gz > Sources: > http://www.fscript.org/download/FScriptSources-20060130.tar.gz > > I plan to publicly announce the release in a few days if no major > problems are found in this release candidate. Please, test and > report problems ASAP. > > Enjoy! > > Philippe Mougin > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > F-Script-talk mailing list > F-S...@li... > https://lists.sourceforge.net/lists/listinfo/f-script-talk |
From: Philippe M. <pm...@ac...> - 2006-01-29 23:02:10
|
F-Script 1.3.1 release candidate is now available for download and test. Binaries + documentation: http://www.fscript.org/download/FScriptBin-20060130.tar.gz Sources: http://www.fscript.org/download/FScriptSources-20060130.tar.gz I plan to publicly announce the release in a few days if no major problems are found in this release candidate. Please, test and report problems ASAP. Enjoy! Philippe Mougin |
From: Philippe M. <pm...@ac...> - 2006-01-12 16:28:48
|
Le 11 janv. 06 =E0 11:34, Juhana Kallio a =E9crit : > helou, > > I want to do smalltalk 3D development and experiments. In squeak =20 > there are these exiting Balloon3D and this new croquet - system for =20= > 3D. But the speed ? > > In F-script what is the best way for 3D. Anything in development or =20= > should I start from existing frameworks like Cocoa 3D tutorial, =20 > neoengine and write some live objects to interact with fscript ? Hi, To do 3D development with F-Script you'll need a 3D framework with an =20= Objective-C API. As neither F-Script nor Cocoa contains such a =20 framework, you'll need to either use an existing one, if such thing =20 exist (Cocoa 3D tutorial seems to be in alpha state) or build one =20 yourself (the easiest way to do that is to take an existing C or C++ =20 3D framework and to wrap it in an Objective-C API). Or, depending on =20 your needs, you can develop your specific 3D object in C (for =20 instance using the OpenGL interface provided in Mac OS X) or C++ and =20 then wrap them in Objective-C classes for interacting with them from =20 F-Script. Regards, Philippe Mougin |
From: Juhana K. <juh...@ph...> - 2006-01-11 10:34:16
|
helou, I want to do smalltalk 3D development and experiments. In squeak there are these exiting Balloon3D and this new croquet - system for 3D. But the speed ? In F-script what is the best way for 3D. Anything in development or should I start from existing frameworks like Cocoa 3D tutorial, neoengine and write some live objects to interact with fscript ? I would prefer F-Srcipt over Squeak. regards Juhana Kallio |
From: Philippe M. <pm...@ac...> - 2006-01-02 23:14:21
|
On 2 janv. 06, at 14:47, Timothy Reaves wrote: > I do indeed have a Range class. Is there no way to scope class > names in Obj-C? Normally, classes coming from reusable frameworks use a prefix specific to the framework in order to avoid name clashes (see http:// developer.apple.com/documentation/Cocoa/Conceptual/CodingGuidelines/ index.html). However, in F-Script a few classes do not use a prefix. Back to your problem, is it possible for you to use another name for your Range class? BTW, the Range class in F-Script is deprecated since a long time and will be removed in a future version. Best, Philippe |
From: Timothy R. <tr...@si...> - 2006-01-02 13:47:30
|
I do indeed have a Range class. Is there no way to scope class names =20= in Obj-C? On Jan 1, 2006, at 6:35 PM, Philippe Mougin wrote: > Hi, > > It might be caused by a conflict between a class named "Range" in =20 > your application and the "Range" class defined in the F-Script =20 > framework. > > Do you know if your application has a "Range" class? > > Philippe > > On 31 d=E9c. 05, at 21:25, Timothy Reaves wrote: > >> I gave a brief look at the archives, but did not see this. >> >> I've downloaded f-script 1.3, and added the framework to my = app's =20 >> frameworks. When I build and run, I get dumped into the debugger, =20= >> with this error: >> >> "Range" is not a subclass of NSManagedObject. >> >> Removing the framework removes the error. >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through =20= >> log files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD =20 >> SPLUNK! >> http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick >> _______________________________________________ >> F-Script-talk mailing list >> F-S...@li... >> https://lists.sourceforge.net/lists/listinfo/f-script-talk >> > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through =20 > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD =20 > SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id=16865&op=3Dclick > _______________________________________________ > F-Script-talk mailing list > F-S...@li... > https://lists.sourceforge.net/lists/listinfo/f-script-talk |
From: Todd B. <tbl...@ma...> - 2006-01-01 23:56:21
|
I might mention that FScript coexists fine with CoreData in =20 ObjectiveCLIPS http://homepage.mac.com/tblanchard/ObjectiveCLIPS On Jan 1, 2006, at 3:35 PM, Philippe Mougin wrote: > Hi, > > It might be caused by a conflict between a class named "Range" in =20 > your application and the "Range" class defined in the F-Script =20 > framework. > > Do you know if your application has a "Range" class? > > Philippe > > On 31 d=E9c. 05, at 21:25, Timothy Reaves wrote: > >> I gave a brief look at the archives, but did not see this. >> >> I've downloaded f-script 1.3, and added the framework to my = app's =20 >> frameworks. When I build and run, I get dumped into the debugger, =20= >> with this error: >> >> "Range" is not a subclass of NSManagedObject. >> >> Removing the framework removes the error. >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through =20= >> log files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD =20 >> SPLUNK! >> http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick >> _______________________________________________ >> F-Script-talk mailing list >> F-S...@li... >> https://lists.sourceforge.net/lists/listinfo/f-script-talk >> > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through =20 > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD =20 > SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id=16865&op=3Dclick > _______________________________________________ > F-Script-talk mailing list > F-S...@li... > https://lists.sourceforge.net/lists/listinfo/f-script-talk |
From: Philippe M. <pm...@ac...> - 2006-01-01 23:30:24
|
Hi, It might be caused by a conflict between a class named "Range" in =20 your application and the "Range" class defined in the F-Script =20 framework. Do you know if your application has a "Range" class? Philippe On 31 d=E9c. 05, at 21:25, Timothy Reaves wrote: > I gave a brief look at the archives, but did not see this. > > I've downloaded f-script 1.3, and added the framework to my = app's =20 > frameworks. When I build and run, I get dumped into the debugger, =20 > with this error: > > "Range" is not a subclass of NSManagedObject. > > Removing the framework removes the error. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through =20 > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD =20 > SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > F-Script-talk mailing list > F-S...@li... > https://lists.sourceforge.net/lists/listinfo/f-script-talk > |
From: Timothy R. <tr...@si...> - 2005-12-31 20:25:36
|
I gave a brief look at the archives, but did not see this. I've downloaded f-script 1.3, and added the framework to my app's frameworks. When I build and run, I get dumped into the debugger, with this error: "Range" is not a subclass of NSManagedObject. Removing the framework removes the error. |
From: Philippe M. <pm...@ac...> - 2005-12-19 22:28:53
|
Hi, I'm looking for someone with access to Mac OS X on Intel to test the forthcoming F-Script version (a universal binary). Contact me if you are interested to help. Best, Philippe Mougin |
From: Philippe M. <pm...@ac...> - 2005-11-25 20:28:30
|
Hi all, I have several news to share: ****** I've uploaded the source code for a pre-version of F-Script 1.3.1 at http://www.fscript.org/download/FScriptSources-20051114.tar.gz The main goal of this version is to make the switch to gcc 4.0. ******* There is now a wiki page on CocoaDev about OOPAL (the collection- oriented programming model we have in F-Script). The page can be edited, and thus can be a good place to share your tips or experience with OOPAL. The page is at: http://www.cocoadev.com/index.pl?OOPALProgrammingModel ******* Todd Blanchard has recently released a new version of ObjectiveCLIPS (version 1.2). ObjectiveCLIPS is a new development environment that combine a very powerful rule engine with F-Script and Core Data. Check out the ObjectiveCLIPS web site at: http://homepage.mac.com/tblanchard/ObjectiveCLIPS/ ******* James G. Speth has released PyInjector, a tool that lets you dynamically inject a complete F-Script environment, along with a Python interpreter, into any running Cocoa application. Like F-Script Anywhere, this provides an amazingly powerful tool for exploring, debugging and hacking Cocoa applications from the inside. PyInjector has an easy to use GUI that lets you select the application you want to explore. You can get it at: http://end.com/speth/wp-content/pyinjector.html. ******* Xendai Solution has announced that the Bellhop application now supports F-Script. Bellhop allows you to create and publish Mac OS X services. More about it at: http://www.xendai.com/bellhop/index.html ******* Cheers, Philippe Mougin |
From: Philippe M. <pm...@ac...> - 2005-10-31 00:23:37
|
On 30 oct. 05, at 18:09, J.C.Burns wrote: > Am I correct that the FSCoreDataSample included has no > persistentStores.. You are correct. > therefore is essentially a read only example? You can still modify the objects in-memory. > is there some way to convert it into a read/write example so we can > experiment with making changes? You can modify the F-Script source code that deal with this (see the FSCoreDataSample class). You can also build your own persistent object model and attach F-Script to it. Best, Philippe Mougin |