version 1.29, 2012/10/29 02:51:41 |
version 1.34, 2013/09/26 05:33:06 |
|
|
% $OpenXM: OpenXM/src/kan96xx/Doc/changelog-ja.tex,v 1.28 2012/09/16 01:53:08 takayama Exp $ |
% $OpenXM: OpenXM/src/kan96xx/Doc/changelog-ja.tex,v 1.33 2013/09/25 07:30:52 takayama Exp $ |
\documentclass{jarticle} |
\documentclass{jarticle} |
\title{ChangeLog \\ ---kan96xx, kxx, k097} |
\title{ChangeLog \\ ---kan96xx, kxx, k097} |
\author{Nobuki Takayama} |
\author{Nobuki Takayama} |
Line 674 shell.c $B$K(B help $B$rDI2C(B. |
|
Line 674 shell.c $B$K(B help $B$rDI2C(B. |
|
$B:n6H%U%!%$%k$N@8@.$O(B |
$B:n6H%U%!%$%k$N@8@.$O(B |
{\tt generateTMPfiles()} ({\tt util/ox\_pathfinder.c}). |
{\tt generateTMPfiles()} ({\tt util/ox\_pathfinder.c}). |
|
|
|
\section{2013-09-20, doPolymake} |
|
bug fix. $BM-M}?t$r(B accept. oxshell $B$N%^%K%e%"%k$r99?7(B. |
|
|
|
class $B$NMxMQK!$r;W$$=P$9(B. |
|
\begin{verbatim} |
|
[(FACETS) (polymake.data(polymake.POINTS([[1,0,0],[1,1,0],[1,0,1],[1,1,1/2]])))] |
|
doPolymake /rr set |
|
rr 1 get /ff set |
|
ff (array) dc :: % class $B$r(B array $B$XJQ49(B. |
|
\end{verbatim} |
|
{\tt primitive.c} $B$G(B class $B$r(B search. |
|
KclassDataConversion() $B4X?t$rFI$a$P$h$$$3$H$,$o$+$k(B. |
|
grep $B$9$k$H(B {\tt kclass.c} $B$rC5$;$P$$$$(B. |
|
$B$3$3$K(B tag $B$,$$$m$$$m$"$k(B. |
|
usage $B$K(B note-class $B$rDI2C(B. |
|
|
|
\section{2013-09-22, oxdecode\_post} |
|
|
|
mime $B7A<0$N(B post message $B$r(B URL encoding $B$KJQ49(B |
|
(mime $B$NH=DjEy$O8=>u$J$s$A$c$C$F(B). |
|
$B$3$l$G(B, reverse proxy $B7PM3$G$b@5>oF0:n(B. |
|
|
|
\begin{verbatim} |
|
cat t.txt |
|
FACETS POINTS |
|
1 0 0 |
|
1 1 0 |
|
1 0 1 |
|
|
|
curl -F oxMessageBody=@t.txt http://polymake.math.kobe-u.ac.jp/cgi-bin/cgi-polymake.sh |
|
\end{verbatim} |
|
|
|
\begin{verbatim} |
|
library(RCurl); |
|
postForm("http://polymake.math.kobe-u.ac.jp/cgi-bin/cgi-polymake.sh", |
|
oxMessageBody="FACETS POINTS\n1 0 0\n1 1 0\n1 0 1") |
|
[1] "POINTS\n1 0 0\n1 1 0\n1 0 1\r\n\nFACETS\n1 -1 -1\n0 1 0\n0 0 1\n\n |
|
AFFINE_HULL\n\n\n_version 2.0\n_application polytope\n\n" |
|
attr(,"Content-Type") |
|
charset |
|
"text/plain" "UTF-8" |
|
\end{verbatim} |
|
|
|
{\tt cgiPolymake.log} $B$K(B 1 $B$rBeF~$7$F$*$/$H(B($B4{DjCM(B) |
|
sm1log $B$G(B /tmp/sm1log.txt $B$K(B post message $B$r5-O?(B. |
|
date $B4X?t$rDI2C(B. |
|
|
|
curl $B$rMQ$$$?8F$S=P$7$N%F%9%H(B. |
|
\begin{verbatim} |
|
(cgi.sm1) run |
|
/cgiQueryPolymake { cgiQueryPolymake.curl } def |
|
[(FACETS) (polymake.data(polymake.POINTS([[1,0,0],[1,1,0],[1,0,1],[1,1,1/2]])))] /ff set |
|
ff doPolymake.OoHG /rr set |
|
\end{verbatim} |
|
|
|
\section{2013-09-25, usePolymake.*} |
|
polymake $B$N%9%$%C%A(B. version $B$K$h$j?6$kIq$$$,0c$&$N$GCm0U(B. |
|
|
|
$B3F<o(B log $B$N>l=j(B. |
|
\begin{enumerate} |
|
\item server side. {\tt /tmp/sm1log.txt}: cgi-post $B$N(B encoded $BJ8;zNs(B. |
|
\item server side. cgi-polymake.sh $B$K(B tee $B$rDI2C$9$k$H(B, oxdecode\_post $BA0$NJ8;zNs$r(B |
|
$BJ]B8$G$-$k(B. |
|
\item client side. oxshell $B$G(B work file $B$r(B {\tt \$TMP} $B$K;D$9$K$O(B |
|
oxshell $B$N(B usage $B$r8+$F(B, keep\_tmp\_files $B$r;H$&(B. |
|
local $BHG$G$O(B {\tt @@@doPolymake.vars} $B$K5-O?$"$j(B. |
|
asir $B$G$O(B {\tt polymake.log()} $B$K3JG<(B. |
|
\item {\tt usePolymake.OoHG.curl} $B$N;~$O(B {\tt /tmp/sm1-q-cgi*.txt} |
|
$B$K(B cgi $B$KLd$$9g$o$;$k;~$NJ8;zNs$,3JG<$5$l$k(B. |
|
\end{enumerate} |
|
|
|
$B$J$*(B mac $BHG$O(B error $B$G(B bus error $B$r5/$3$9>l9g$"$j(B. |
|
$B%5%s%W%k(B code $B$O(B, {\tt misc-2013/09/genpos/mac.sm1}. |
|
$B$3$l$O(B ticket. |
|
|
|
screenflow $B$K$h$k3P$(=q$-$O(B, |
|
fe $B$N(B {\tt /Movies/oxvh/2013-09-25-polymake}. |
\end{document} |
\end{document} |
|
|