Cairo, OS X and pixmaps

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Cairo, OS X and pixmaps

Carl Gundel-2
Maarten,
 
I don't understand your response.  How is this related to running VW headless and drawing graphics?
 
Thanks,
 
-Carl

On Tue, Nov 19, 2013 at 4:42 AM, Maarten Mostert <[hidden email]> wrote:
The following builder tool scripts will sort of do things that way. They will also build a 64bit image from 32bit work, as it almost impossible to find a 32bit hosting solution these days.

@+Maarten,




Le 18 nov. 2013 à 20:17, Carl Gundel <[hidden email]> a écrit :

I don't remember it working that way.  I only became aware of the problem when a friend was running a copy of my Seaside based Run BASIC web appserver on this Linux box without a window manager.  It was going fine until he tried to draw some graphics, and then it blew up.
 
Looks like I'm going to need to experiment some more.
 
Thanks,
 
-Carl
On Mon, Nov 18, 2013 at 10:04 AM, Terry Raymond <[hidden email]> wrote:

Agreed, particularly when you are running a webserver.

 

However, it is also relatively simple to open a headful image in a headless

mode, just do not open any windows.

 

Terry

 

===========================================================

Terry Raymond

Crafted Smalltalk

80 Lazywood Ln.

Tiverton, RI  02878

<a href="tel:%28401%29%20624-4517" target="_blank" value="+14016244517">(401) 624-4517      [hidden email]

===========================================================

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Carl Gundel
Sent: Monday, November 18, 2013 7:59 AM
To: VWNC List
Subject: Re: [vwnc] Cairo, OS X and pixmaps

 

Ok.  :-)  So my point is that VW should not be built in such a way that it cannot draw graphics in memory when it is run as a headless image.  There is no justifiable reason that I can think of that a headless web application should not be able to draw business graphs (or something else) using the same graphics classes used by a GUI application.

 

Thanks,

 

-Carl Gundel

 

 

On Mon, Nov 18, 2013 at 6:53 AM, Maarten Mostert <[hidden email]> wrote:

No the thing in Cairo is that you can draw to a number of sources, to your screen to an image a pdf file or an SVG file.  For a headless web app making SVG files might be a good deal.

@+Maarten,

 

Le 18 nov. 2013 à 12:27, Carl Gundel <[hidden email]> a écrit :



No, I don't think that I am.  Could you explain to me why VW should not be able to draw graphics in a headless image and write them to a file?

 

On Mon, Nov 18, 2013 at 4:46 AM, <[hidden email]> wrote:

You're meaning SVG

 

> "Carl Gundel" <[hidden email]> |

I'm not currently using Cairo at all, but I just want to add again that for my Seaside based app (and I would think for many web applications), it is important to be able to draw graphics even in a headless image so that the graphics can dynamically generated and save to disk so they can be served up by the webserver.  So whatever this new graphics effort is, I hope if will make graphics possible with headless images.

Thanks,

-Carl Gundel


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

 

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Cairo, OS X and pixmaps

Maarten Mostert-2
I was supposing your were looking for a way to have a headless image doing graphics without opening any GUI while still having graphics capabilities around.
If you use runtime packager to build a headless seaside image it might also strip down your graphics stuff.  
The scripts I send you allow you to make automated builds of a ready to run headless seaside application with most stuff still in there.  Upon your app you could make Cairo Images save them as PNG or SVG and use these inside your seaside app. avoiding blowing up your image as you mentioned.
You have to load James's builder tool however to use it. You also better check out his  screencasts on the subject to better understand the thing.

@+Maarten,


Le 19 nov. 2013 à 17:29, Carl Gundel <[hidden email]> a écrit :

Maarten,
 
I don't understand your response.  How is this related to running VW headless and drawing graphics?
 
Thanks,
 
-Carl

On Tue, Nov 19, 2013 at 4:42 AM, Maarten Mostert <[hidden email]> wrote:
The following builder tool scripts will sort of do things that way. They will also build a 64bit image from 32bit work, as it almost impossible to find a 32bit hosting solution these days.

@+Maarten,




Le 18 nov. 2013 à 20:17, Carl Gundel <[hidden email]> a écrit :

I don't remember it working that way.  I only became aware of the problem when a friend was running a copy of my Seaside based Run BASIC web appserver on this Linux box without a window manager.  It was going fine until he tried to draw some graphics, and then it blew up.
 
Looks like I'm going to need to experiment some more.
 
Thanks,
 
-Carl
On Mon, Nov 18, 2013 at 10:04 AM, Terry Raymond <[hidden email]> wrote:

Agreed, particularly when you are running a webserver.

 

However, it is also relatively simple to open a headful image in a headless

mode, just do not open any windows.

 

Terry

 

===========================================================

Terry Raymond

Crafted Smalltalk

80 Lazywood Ln.

Tiverton, RI  02878

<a href="tel:%28401%29%20624-4517" target="_blank" value="+14016244517">(401) 624-4517      [hidden email]

===========================================================

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Carl Gundel
Sent: Monday, November 18, 2013 7:59 AM
To: VWNC List
Subject: Re: [vwnc] Cairo, OS X and pixmaps

 

Ok.  :-)  So my point is that VW should not be built in such a way that it cannot draw graphics in memory when it is run as a headless image.  There is no justifiable reason that I can think of that a headless web application should not be able to draw business graphs (or something else) using the same graphics classes used by a GUI application.

 

Thanks,

 

-Carl Gundel

 

 

On Mon, Nov 18, 2013 at 6:53 AM, Maarten Mostert <[hidden email]> wrote:

No the thing in Cairo is that you can draw to a number of sources, to your screen to an image a pdf file or an SVG file.  For a headless web app making SVG files might be a good deal.

@+Maarten,

 

Le 18 nov. 2013 à 12:27, Carl Gundel <[hidden email]> a écrit :



No, I don't think that I am.  Could you explain to me why VW should not be able to draw graphics in a headless image and write them to a file?

 

On Mon, Nov 18, 2013 at 4:46 AM, <[hidden email]> wrote:

You're meaning SVG

 

> "Carl Gundel" <[hidden email]> |

I'm not currently using Cairo at all, but I just want to add again that for my Seaside based app (and I would think for many web applications), it is important to be able to draw graphics even in a headless image so that the graphics can dynamically generated and save to disk so they can be served up by the webserver.  So whatever this new graphics effort is, I hope if will make graphics possible with headless images.

Thanks,

-Carl Gundel


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

 

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Cairo, OS X and pixmaps

Carl Gundel-2
Thanks Maarten,
 
If it is possible to modify the Runtime Packager so that a headless image can do graphics that would also be great, but my understanding is that this is not a packaging problem, but an implementation issue.
 
-Carl Gundel


On Tue, Nov 19, 2013 at 11:58 AM, Maarten Mostert <[hidden email]> wrote:
I was supposing your were looking for a way to have a headless image doing graphics without opening any GUI while still having graphics capabilities around.
If you use runtime packager to build a headless seaside image it might also strip down your graphics stuff.  
The scripts I send you allow you to make automated builds of a ready to run headless seaside application with most stuff still in there.  Upon your app you could make Cairo Images save them as PNG or SVG and use these inside your seaside app. avoiding blowing up your image as you mentioned.
You have to load James's builder tool however to use it. You also better check out his  screencasts on the subject to better understand the thing.

@+Maarten,


Le 19 nov. 2013 à 17:29, Carl Gundel <[hidden email]> a écrit :

Maarten,
 
I don't understand your response.  How is this related to running VW headless and drawing graphics?
 
Thanks,
 
-Carl

On Tue, Nov 19, 2013 at 4:42 AM, Maarten Mostert <[hidden email]> wrote:
The following builder tool scripts will sort of do things that way. They will also build a 64bit image from 32bit work, as it almost impossible to find a 32bit hosting solution these days.

@+Maarten,




Le 18 nov. 2013 à 20:17, Carl Gundel <[hidden email]> a écrit :

I don't remember it working that way.  I only became aware of the problem when a friend was running a copy of my Seaside based Run BASIC web appserver on this Linux box without a window manager.  It was going fine until he tried to draw some graphics, and then it blew up.
 
Looks like I'm going to need to experiment some more.
 
Thanks,
 
-Carl
On Mon, Nov 18, 2013 at 10:04 AM, Terry Raymond <[hidden email]> wrote:

Agreed, particularly when you are running a webserver.

 

However, it is also relatively simple to open a headful image in a headless

mode, just do not open any windows.

 

Terry

 

===========================================================

Terry Raymond

Crafted Smalltalk

80 Lazywood Ln.

Tiverton, RI  02878

<a href="tel:%28401%29%20624-4517" target="_blank" value="+14016244517">(401) 624-4517      [hidden email]

===========================================================

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Carl Gundel
Sent: Monday, November 18, 2013 7:59 AM
To: VWNC List
Subject: Re: [vwnc] Cairo, OS X and pixmaps

 

Ok.  :-)  So my point is that VW should not be built in such a way that it cannot draw graphics in memory when it is run as a headless image.  There is no justifiable reason that I can think of that a headless web application should not be able to draw business graphs (or something else) using the same graphics classes used by a GUI application.

 

Thanks,

 

-Carl Gundel

 

 

On Mon, Nov 18, 2013 at 6:53 AM, Maarten Mostert <[hidden email]> wrote:

No the thing in Cairo is that you can draw to a number of sources, to your screen to an image a pdf file or an SVG file.  For a headless web app making SVG files might be a good deal.

@+Maarten,

 

Le 18 nov. 2013 à 12:27, Carl Gundel <[hidden email]> a écrit :



No, I don't think that I am.  Could you explain to me why VW should not be able to draw graphics in a headless image and write them to a file?

 

On Mon, Nov 18, 2013 at 4:46 AM, <[hidden email]> wrote:

You're meaning SVG

 

> "Carl Gundel" <[hidden email]> |

I'm not currently using Cairo at all, but I just want to add again that for my Seaside based app (and I would think for many web applications), it is important to be able to draw graphics even in a headless image so that the graphics can dynamically generated and save to disk so they can be served up by the webserver.  So whatever this new graphics effort is, I hope if will make graphics possible with headless images.

Thanks,

-Carl Gundel


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

 

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
12