Search found 337 matches

Go to advanced search

by gawrilow
27 May 2011, 16:22
Forum: Helpdesk
Topic: pre-loading with script containing user written routines?
Replies: 2
Views: 4920

Re: pre-loading with script containing user written routines

polymake --script does not start an interactive session. Instead, it executes your script and terminates. What you presumable want is to load some additional perl source files at the beginning of the interactive session. You can do this manually by executing the script command in the interactive she...
by gawrilow
23 May 2011, 00:27
Forum: Helpdesk
Topic: reading from std input
Replies: 1
Views: 3433

Re: reading from std input

Resurrecting this functionality is on our TODO list. It decayed as the interactive shell has been introduced. Please have a little bit patience.
by gawrilow
20 May 2011, 14:59
Forum: General Discussion
Topic: License of Scripts
Replies: 1
Views: 8250

Re: License of Scripts

I am no attorney...
Neither are we. I'd simply say scripts are not derived work - they are just using polymake core functions. C++ clients would be certainly infected by the license.
by gawrilow
13 May 2011, 08:22
Forum: Helpdesk
Topic: tutorial on LP
Replies: 10
Views: 12703

Re: tutorial on LP

In subroutine PlainFile the value of the variable $self is undefined.
Indeed, this corner or PlainFile.pm has been left unattended for a while. If you want to use this functionality, please apply the patch attached below:

Code: Select all

cd /usr/local/share/polymake sudo patch -p0 <.../PlainFile.patch
by gawrilow
10 Mar 2011, 21:00
Forum: Helpdesk
Topic: PointThickness and PointBorderThickness in jreality
Replies: 7
Views: 8717

Re: PointThickness and PointBorderThickness in jreality

Oh, sorry, I should better have checked this before posting. The patch file was produced by trac, which has inserted extra limbs in the paths. Please call the patch command with option -p2 instead of -p0 (what means ignoring two leading components in the paths). I have now edited the command in the ...
by gawrilow
08 Mar 2011, 15:25
Forum: Helpdesk
Topic: Passing integer by reference in extension
Replies: 3
Views: 5942

Re: Passing integer by reference in extension

Well, you can still have two functions, just give them different names...
by gawrilow
08 Mar 2011, 12:00
Forum: Helpdesk
Topic: PointThickness and PointBorderThickness in jreality
Replies: 7
Views: 8717

Re: PointThickness and PointBorderThickness in jreality

Where is my problem? Probably sudo tries to ask you for your (or root's) password, but can't read it because you've redirected the input. You should call sudo with some other harmless command so that it caches your password for a while. Alternatively, you can set the option NOPASSWD in sudoers conf...
by gawrilow
07 Mar 2011, 18:59
Forum: Helpdesk
Topic: Passing integer by reference in extension
Replies: 3
Views: 5942

Re: Passing integer by reference in extension

You can't pass perl primitive types to C++ code by reference, they are not stored in C++ representation. If you want to return several values from a function, please use std::pair or perl::ListReturn. Alternatively, your function would look more adhering to perl habits if it would return k if the ma...
by gawrilow
03 Mar 2011, 22:39
Forum: Helpdesk
Topic: PointThickness and PointBorderThickness in jreality
Replies: 7
Views: 8717

Re: PointThickness and PointBorderThickness in jreality

Code: Select all

cd TOP_DIRECTORY_OF_POLYMAKE patch -p2 <DOWNLOAD_DIRECTORY/JReality-thickness.patch
EdgeThickness has suffered from the same bug, with this patch it should work as well.
by gawrilow
01 Mar 2011, 15:38
Forum: Helpdesk
Topic: PointThickness and PointBorderThickness in jreality
Replies: 7
Views: 8717

Re: PointThickness and PointBorderThickness in jreality

Perhaps, polymake thinks, that the PointThickness is an integer and not a float. There was indeed a mistake, deep in the interface to JReality. Please find the attached patch. The PointBorderThickness is also strange This attribute is currently recognized by PostScript generator only, which uses to...

Go to advanced search