Re: [Factor-talk] Factor GUI fails w/ cairo error
Hi Matt, On Sat, Aug 27, 2011 at 12:00 PM, Matt Gushee m...@gushee.net wrote: A couple of details that could be important: my desktop computer is rather [ahem] embarrassingly old ... so it doesn't have SSE2. Therefore I can't use a prebuilt package. I built factor last Sunday using the ./build-support/factor.sh update command. This was newly created directory, to insure that there would be no troublesome files hanging around from my previous installation. I also rebuilt factor last night, but it did not make any difference. There is a known bug in the Factor compiler where it generates invalid code if SSE2 is not available. I created an issue for it: https://github.com/slavapestov/factor/issues/56 In other news, we now have an issue tracker. So I've been busy with a new job for the last year so I haven't had much time to work on Factor, but I'm trying to make time here and there to fix bugs. I'll definitely prioritize this one now that I see there are still people with pre-SSE computers :-) Slava -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Factor GUI
Well, when you're doing development, any web page is an example as you're running locally. The jump would be to compile it as a stand-alone. I was impressed how easily we have an http server. Compare that to configuring IIS to run ASP pages, and I want to barf. (Yes, I know that's not apples to apples, but often I just want the core of the apple!) If you want to follow the path of least resistance, try getting the calculator running then modify from there. Next, compare to the blog webapp and try to run it from the same 'run-calculator' type word. Blogs should teach you enough about chloe to decide if you like it or not. Using fhtml templates is like php development. Play with it: : fhtml-file ( fname -- str ) fhtml [ call-template ] with-string-writer ; I never have understood the exact difference between dispatcher and responder, but somehow still can get things working. You'll probably need to know about db-tuples, although you can do quite a bit keeping objects in memory. Although the web page is stateless, global variables in factor are available because there's only one instance running all requests. You can also temporarily violate best practices and save whatever you want in the session, then come back later and make it more able to run from anywhere if you need. On Thu, Nov 11, 2010 at 11:11 PM, Shaping shap...@charter.net wrote: What is currently the best example/demo involving a locally running web-server serving HTML pages? I need to get more deeply into HTML 5 and CSS 3, anyway. Shaping *From:* Jim mack [mailto:j...@less2do.com] *Sent:* 2010-November-11, 13:29 *To:* factor-talk@lists.sourceforge.net *Subject:* Re: [Factor-talk] Factor GUI Don't ignore the possibility of deploying as a local http server and having a local webapp. The server would be on the box, so it could do things locally, call COM, access clipboard. It's how I'm trying to do things, and works cross-platform, and is only limited by your html/css skills. On Thu, Nov 11, 2010 at 1:35 AM, Shaping shap...@charter.net wrote: I would still like to convince my sup that Factor is the way to go, and he'll want the latest and greatest Windows 7 GUI, eventually. So my next question is: Has anyone undertaken the task of making a more up-to-date looking set of widgets for Factor to use when creating GUI apps, even if those widgets/gadgets will not be used in the dev-environ itself? The widget styles for the Factor UI itself are just images, stored in basis/ui/gadgets/theme. Reskinning is a simple matter of replacing those images. But for end-user applications, you don't necessarily have to stick with the Factor UI's widgets. Since you're only targeting Windows, you can use the native Win32 APIs, or some other UI toolkit library. Yes, I was referring to the Win32 APIs. Is anyone working on this now? This is not the best strategy, anyway, if a broad deployment is the objective. The current Factor style reminds me of the Motif style. Shaping -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev ___ 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. -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev ___ 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. -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql
Re: [Factor-talk] Factor GUI
I never have understood the exact difference between dispatcher and responder, but somehow still can get things working. A responder is any tuple that implements the call-responder* generic word. A dispatcher is a responder. Its call-responder* implementation is to dispatch the request to its responders. Jon -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Factor GUI
Thank you. On Fri, Nov 12, 2010 at 9:15 AM, Jon Harper jon.harpe...@gmail.com wrote: I never have understood the exact difference between dispatcher and responder, but somehow still can get things working. A responder is any tuple that implements the call-responder* generic word. A dispatcher is a responder. Its call-responder* implementation is to dispatch the request to its responders. Jon -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev ___ 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. -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Factor GUI
Incidentally, has it occurred to you that the authors of this program (not me!) are the most active members of this list? Also, that the author of a program might take some offence at being told that it is not polished visually, but somehow manages the incredible feat of working better than most of the stuff that MS produces? The Factor GUI is not hip looking: it does not follow the current fashion of 3D raised, beveled buttons, clever shading/gradients, and whatever else is used for eye-candy now in GUIs. The point of the above statement is that this quality of the GUI does not hurt usability much. The Factor GUI is visually understated, compared to the latest Windows 7 graphical offerings. Dynamically, however, it works better that almost everything else I've seen, recently. The MS APIs are being used well, perhaps even better than MS uses them. That's good. The clunky VisualWorks Smalltalk GUI, now about 20 years old, in contrast, still flickers violently on resize (kind of funny sad all at once...). I've been using it for the last 15 years. Cincom still can't get it right because their connection to the OS is flawed, and they can't be bothered to fix it. They can't be bothered to fix it, because the code that creates the bad behavior is too complicated and requires too much time to understand and change/correct. But this is less likely to happen in Factor, because we develop and test words one at a time. Without criticism nothing gets improved. Don't worry about anybody's feelings getting hurt—it's only code. Yes, and the above wasn't criticism, anyway--more a compliment mixed with an unflattering observation of a flat GUI. Flat or not, I like it. I think I would give the buttons a slight raised look. I sometimes wonder whether they are clickable. I would still like to convince my sup that Factor is the way to go, and he'll want the latest and greatest Windows 7 GUI, eventually. So my next question is: Has anyone undertaken the task of making a more up-to-date looking set of widgets for Factor to use when creating GUI apps, even if those widgets/gadgets will not be used in the dev-environ itself? Shaping -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Factor GUI
On Thu, Nov 11, 2010 at 2:35 PM, Shaping shap...@charter.net wrote: I would still like to convince my sup that Factor is the way to go, and he'll want the latest and greatest Windows 7 GUI, eventually. So my next question is: Has anyone undertaken the task of making a more up-to-date looking set of widgets for Factor to use when creating GUI apps, even if those widgets/gadgets will not be used in the dev-environ itself? The widget styles for the Factor UI itself are just images, stored in basis/ui/gadgets/theme. Reskinning is a simple matter of replacing those images. But for end-user applications, you don't necessarily have to stick with the Factor UI's widgets. Since you're only targeting Windows, you can use the native Win32 APIs, or some other UI toolkit library. -Joe -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Factor GUI
I would still like to convince my sup that Factor is the way to go, and he'll want the latest and greatest Windows 7 GUI, eventually. So my next question is: Has anyone undertaken the task of making a more up-to-date looking set of widgets for Factor to use when creating GUI apps, even if those widgets/gadgets will not be used in the dev-environ itself? The widget styles for the Factor UI itself are just images, stored in basis/ui/gadgets/theme. Reskinning is a simple matter of replacing those images. But for end-user applications, you don't necessarily have to stick with the Factor UI's widgets. Since you're only targeting Windows, you can use the native Win32 APIs, or some other UI toolkit library. Yes, I was referring to the Win32 APIs. Is anyone working on this now? This is not the best strategy, anyway, if a broad deployment is the objective. The current Factor style reminds me of the Motif style. Shaping -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Factor GUI
Don't ignore the possibility of deploying as a local http server and having a local webapp. The server would be on the box, so it could do things locally, call COM, access clipboard. It's how I'm trying to do things, and works cross-platform, and is only limited by your html/css skills. On Thu, Nov 11, 2010 at 1:35 AM, Shaping shap...@charter.net wrote: I would still like to convince my sup that Factor is the way to go, and he'll want the latest and greatest Windows 7 GUI, eventually. So my next question is: Has anyone undertaken the task of making a more up-to-date looking set of widgets for Factor to use when creating GUI apps, even if those widgets/gadgets will not be used in the dev-environ itself? The widget styles for the Factor UI itself are just images, stored in basis/ui/gadgets/theme. Reskinning is a simple matter of replacing those images. But for end-user applications, you don't necessarily have to stick with the Factor UI's widgets. Since you're only targeting Windows, you can use the native Win32 APIs, or some other UI toolkit library. Yes, I was referring to the Win32 APIs. Is anyone working on this now? This is not the best strategy, anyway, if a broad deployment is the objective. The current Factor style reminds me of the Motif style. Shaping -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev ___ 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. -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Factor GUI
What is currently the best example/demo involving a locally running web-server serving HTML pages? I need to get more deeply into HTML 5 and CSS 3, anyway. Shaping From: Jim mack [mailto:j...@less2do.com] Sent: 2010-November-11, 13:29 To: factor-talk@lists.sourceforge.net Subject: Re: [Factor-talk] Factor GUI Don't ignore the possibility of deploying as a local http server and having a local webapp. The server would be on the box, so it could do things locally, call COM, access clipboard. It's how I'm trying to do things, and works cross-platform, and is only limited by your html/css skills. On Thu, Nov 11, 2010 at 1:35 AM, Shaping shap...@charter.net wrote: I would still like to convince my sup that Factor is the way to go, and he'll want the latest and greatest Windows 7 GUI, eventually. So my next question is: Has anyone undertaken the task of making a more up-to-date looking set of widgets for Factor to use when creating GUI apps, even if those widgets/gadgets will not be used in the dev-environ itself? The widget styles for the Factor UI itself are just images, stored in basis/ui/gadgets/theme. Reskinning is a simple matter of replacing those images. But for end-user applications, you don't necessarily have to stick with the Factor UI's widgets. Since you're only targeting Windows, you can use the native Win32 APIs, or some other UI toolkit library. Yes, I was referring to the Win32 APIs. Is anyone working on this now? This is not the best strategy, anyway, if a broad deployment is the objective. The current Factor style reminds me of the Motif style. Shaping -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev ___ 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. -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk