[sage-support] Re: Combinatorics / Graph theory question

2012-12-31 Thread Jurgis Pralgauskis
Hi,

Thanks a lot :)
with t-design it was easy :)
result:
http://galvosukykla.lt/rodyk/thumbs.php?p=//stalo_zaidimai/73_cards/png&dim=150

2012 m. gruodis 10 d., pirmadienis 02:28:44 UTC+2, Nathann Cohen rašė:
>
> Ahahahahah :-)
>
> Beautiful problem ! Not really a graph problem, but a beautiful problem.
>
> What do you think of this ?
>
>
> http://www.sagemath.org/doc/reference/sage/combinat/designs/block_design.html#sage.combinat.designs.block_design.steiner_triple_system
>
> Does it sound familiar ? But then it only works for cards with 3 pictures 
> on it. The trouble is that what you are looking for is not exactly 
> straightforward to produce...
>
>
> http://en.wikipedia.org/wiki/Block_design#Definition_of_a_BIBD_.28or_2-design.29
>
> You will find some solutions there :
>
> http://designtheory.org/database/t-designs/
>
> You are interested in the following values :
> t = 2 (because you have a condition on PAIRS of elements)
> L = 1 (because only ONE card must contain both symbols at the same time)
> v (the total number of elements)
> k (the number of elemens on each card)
>
> By the way, Sage's documentation points toward this file, which may 
> interest you :  http://www.utu.fi/~honkala/designs.ps
>
> 
>
> Oh, and having more of this kind of stuff inside of Sage would be really, 
> really, REALLY great :-)
>
> Have fuuun !
>
> Nathann
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to sage-support@googlegroups.com.
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.




[sage-support] Combinatorics / Graph theory question

2012-12-09 Thread Jurgis Pralgauskis
Hi, folks

I was playing around with one board-game cards generation :)
you can see example with 10 cards
http://galvosukykla.lt/rodyk/thumbs.php?p=//stalo_zaidimai/10_cards-single_joins/png&dim=150

*Each couple of cards must have just one same image.*
Bruteforce would be http://en.wikipedia.org/wiki/Complete_graph with
separate image per vertex.
I managed to come up with simple optimization for 10cards (instead of 45, I
managed with  20)

But if I'd like to have 40 cards or so... I am still in trouble...

What would be most optimal solution, if I'd like to have 40 cards, and up
to 9 images on card?
I would let - that two cards have more than one same image (but preferably
not many)...

Any hints? :)

-- 
Jurgis Pralgauskis
tel: 8-616 77613;
Don't worry, be happy and make things better ;)
http://galvosukykla.lt

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to sage-support@googlegroups.com.
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.




[sage-support] sage squashfs?

2010-06-26 Thread Jurgis Pralgauskis
Hello,

I found http://wiki.sagemath.org/SagemathLive and liked the idea a lot.

but I can't access
http://boxen.math.washinegton.edu/home/frank/sagemath/squashfs/karmic/karmic-sage-4.3.1.sqfs

I have netbook with limited diskspace, and I'd like to take it to the journey.
it runs Lubuntu 10.4 (I am not sure if carmic squashfs would do...)
of course, I understand, I could make squashfs file myself:
install it on richer PC running Ubuntu lucid, and then
run mksquashfs command
what else should I take into account?

and would my netbook   (EeePc 701, 500MB RAM) be enough to play with
sage (or run notebook)?

Thanks in advance
-- 
Jurgis Pralgauskis
Don't worry, be happy and make things better ;)

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] how to controll precision when show'ing formulas?

2009-06-21 Thread Jurgis Pralgauskis

hello,

I am constructing simple interact
http://sagenb.org/home/pub/592/

in published worksheet, interact seems not to function
so I give the picture..
http://ftp.akl.lt/users/jurgis/etc/formule_show_precision--how.png

I want that
show(function) would give me just 1 precision digit after comma
how could I achieve this?

now I use html which is quite unconfortable

thanks in advance
-- 
Jurgis Pralgauskis
Don't worry, be happy and make things better ;)

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] how to convert sage matrix to numpy array?

2009-05-20 Thread Jurgis Pralgauskis

Hello,

what would be the best (and shortest) way to convert
sage matrix (like matrix([[1, 2], [3, 4]])  )

to numpy array:
numpy.array([[1, 2], [3, 4]])


or is there any other way to multiply sage matrix per member ?

Thanks in advance :)
-- 
Jurgis Pralgauskis
tel: 8-616 77613;

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] interactive visualizing cross-sections of solids ?

2009-05-15 Thread Jurgis Pralgauskis

Hello,

stereometry needs imagination or more experience,
to understand cross-sections and so on

I found some interactive example
http://www.learner.org/courses/learningmath/geometry/session9/part_c/index.html

I'd like to have sage interact for solid construction and
cutting_plane parameters
and then view it around via jmol :)

in school this is  mostly needed for parallelepiped or pyramid solids:

mysolid = SomeSolid(apex_points_3D)
# and I can get, mysolid.surface_planes()
#so I'd expect to have algorithms which detect

intersection = Intersection(mysolid, cutting_plane)
# we get some 2D polygon,
# probably first analytically findintersection.lines
# and then  solve the
# self.segmets = self.endpoints (self.lines , self.mysolid)
# for conic would be some different approach ...

intersection.fill() # or draw() would draw some lines or color to show it


what does sage have already, and what would need to be hacked?

Thanks in advance :)

ps.: just for reference
http://en.wikipedia.org/wiki/Cross_section_(geometry)
http://en.wikipedia.org/wiki/Conic_section

-- 
Jurgis Pralgauskis
Don't worry, be happy and make things better ;)

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] RSACryptosystem in Cryptography book (by Kohel) is ghost :? + small typo

2009-04-28 Thread Jurgis Pralgauskis

Hello,

just trying to follow examples of http://www.sagemath.org/library/crypto.pdf
Exercise 8.5 solution: page nr 124  (or 127 for file) has suspicious
code

sage: E := RSACryptosystem(128)
sage: m = E.encoding(’The dog ate my lunch.’); m

first of all typo of assignment (seems like in Pascal)

then no such Class/method seems to exists -- not a big problem, but
just curiuous what happend to it..


In advance Thanks for explanations :)
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: weird output in notebook (on jaunty installation via debs)

2009-04-28 Thread Jurgis Pralgauskis


> Unfortunately, Debian/Ubuntu package a very old and buggy version of
> Sage.    You should use a version of Sage that you download 
> fromhttp://sagemath.orginstead.  Get either a binary, or build from
> source.

why are debs not updated?
I don't know much about them, and as I remember main packaging is
"spkg",
would it be hard to automate transformationt to debs?
this would mean more courage for sysadmins towards sage (as updates
would be supposed to be without headache :) )

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] weird output in notebook (on jaunty installation via debs)

2009-04-28 Thread Jurgis Pralgauskis

Hello,

I have sage on fresh Ubuntu jaunty,
 SAGE Version 3.0.5, Release Date: 2008-07-11

but when I use notebook, I get unnecessary  output
and line endings of it seem like have encoding problems..

you see the screenshot..
http://files.akl.lt/users/jurgis/etc/sagemath-jaunty-weird_output.png

where's the rub?
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: could vanished sage site links become redirect points?

2009-02-22 Thread Jurgis Pralgauskis

well,
quickreff might be my mistake, as I find it
http://wiki.sagemath.org/quickref

but still
http://www.sagemath.org/pub.html
http://www.sagemath.org/ack.html
seem to be somewhere else or away
maybe
http://www.sagemath.org/library/publications.html
http://www.sagemath.org/development-ack.html

On Sun, Feb 22, 2009 at 5:04 PM, Jurgis Pralgauskis
 wrote:
> Hello,
>
> once I made a flyer about sage
> http://sagemath.visiems.lt/
>
> it had several nice url's
> http://www.sagemath.org/screen_shots/
> http://sagemath.org/quickref
>
> but now they show boring 404 -- can a redirect be done..
> (as I am too lazy to correct the flyer : )
>
>
> --
> Jurgis Pralgauskis
> tel: 8-616 77613;
> jabber: jur...@akl.lt; skype: dz0rdzas;
> Don't worry, be happy and make things better ;)
> http://sagemath.visiems.lt
>



-- 
Jurgis Pralgauskis
tel: 8-616 77613;
jabber: jur...@akl.lt; skype: dz0rdzas;
Don't worry, be happy and make things better ;)
http://sagemath.visiems.lt

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] could vanished sage site links become redirect points?

2009-02-22 Thread Jurgis Pralgauskis

Hello,

once I made a flyer about sage
http://sagemath.visiems.lt/

it had several nice url's
http://www.sagemath.org/screen_shots/
http://sagemath.org/quickref

but now they show boring 404 -- can a redirect be done..
(as I am too lazy to correct the flyer : )


-- 
Jurgis Pralgauskis
tel: 8-616 77613;
jabber: jur...@akl.lt; skype: dz0rdzas;
Don't worry, be happy and make things better ;)
http://sagemath.visiems.lt

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: code generation

2008-10-24 Thread Jurgis Pralgauskis

pypy has some power in this direction

http://www.strakt.com/~jacob/Pypy_for_the_rest_of_us.pdf
http://morepypy.blogspot.com/

On Fri, Oct 24, 2008 at 12:38 PM, Tim Lahey <[EMAIL PROTECTED]> wrote:
> On Oct 24, 2008, at 5:28 AM, peter wrote:
>
>>
>> OK, sorry, I explain a little bit more in detail:
>> - I work on thermal building simulation. We use for example one
>> environment (TRNSYS) where you can connect models (for example
>> building model to heating system model etc.). The models are mainly
>> written in Fortran or C++ and compiled in DLL's that are then called
>> by the equation solver.
>> Our goal is to write the models not in C+++ or fortran anymore, but
>> either in Matlab (and or Simulink), Scilab or Sage.
>> So in clear, I want to profit of one of these mathematical
>> environments, write models there and use them later in our simulation
>> program.
>
> One thing you can do is prototype in Sage and python, make use of profiling
> tools and then re-write the computation intensive portions using Cython or
> Pysco. At the moment, there really aren't tools to generate C++ or Fortran
> code from the Sage code. However, the latter tools are close to Python in
> syntax and can work with Sage.
>
> That said, I'm fairly certain that it wouldn't be very difficult to write a
> code generator for Sage. If one can get the underlying structure of each of
> the expressions, it shouldn't be very difficult to convert that to C++ or
> Fortran as long as the expressions can be represented in the language
> without additional code. This is the approach that most the code generators
> I've seen use. Maxima has GENTRAN if someone is interested in seeing how one
> works and I know there is(are) paper(s) that discuss it. The main problem is
> that someone doing this would need to be fairly familiar with Sage
> internals.
>
> Cheers,
>
> Tim.
>
> ---
> Tim Lahey
> PhD Candidate, Systems Design Engineering
> University of Waterloo



-- 
Jurgis Pralgauskis
tel: 8-616 77613;
jabber: [EMAIL PROTECTED]; skype: dz0rdzas;
Don't worry, be happy and make things better ;)

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] EuroSciPy: On providing a Computer Algebra System for Python

2008-06-23 Thread Jurgis Pralgauskis

just stumbled upon, maybe someone finds it interesting
http://www.scipy.org/EuroSciPy2008Abstracts#ppeterson

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Sage vs Maple/Mathematica/Matlab: what elements are better + what is mostly lacking?

2008-06-09 Thread Jurgis Pralgauskis

I am making a presentation on SAGE in university (for PhD students
math/informatics)
so this is quite general quoestion
in university context I can stress first years course
and for research I understand that it depends :)
but well, people working with the soft should feel some points


On Mon, Jun 9, 2008 at 1:41 AM, William Stein <[EMAIL PROTECTED]> wrote:
>
> On Sun, Jun 8, 2008 at 2:25 PM, Jurgis Pralgauskis
> <[EMAIL PROTECTED]> wrote:
>>
>> Hello,
>>
>> as the vision of SAGE is to be alternative to MMM,
>
> True.
>
>> what do You think is mostly lacking now?
>
> This depends a huge amount on what you want and why
> you are asking.
>
>> and, what  is better than in MMM ones (except open source ;)?
>
> Again, this depends a lot on what you want and why you
> are asking.   All these programs we're discussing are massive.
>
>> maybe there's a wiki page like http://cmsmatrix.org?
>> I found only a bit of answer:
>> http://en.wikipedia.org/wiki/List_of_computer_algebra_systems
>> http://www.sagemath.org/doc/html/ref/module-sage.calculus.wester.html
>>
>> and I stumbled over quite nice comparison for scipy/numpy vs matlab
>> http://web.bryant.edu/~bblais/bryant/numerical_computing/python_matlab.pdf
>>
>> Thanks in advance
>> --
>> Jurgis Pralgauskis
>> omni: 8-616 77613; teledema: 8-657 65656;
>> jabber: [EMAIL PROTECTED]; skype: dz0rdzas;
>> Don't worry, be happy and make things better ;)
>>
>> >
>>
>
>
>
> --
> William Stein
> Associate Professor of Mathematics
> University of Washington
> http://wstein.org
>
> >
>



-- 
Jurgis Pralgauskis
omni: 8-616 77613; teledema: 8-657 65656;
jabber: [EMAIL PROTECTED]; skype: dz0rdzas;
Don't worry, be happy and make things better ;)

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Sage vs Maple/Mathematica/Matlab: what elements are better + what is mostly lacking?

2008-06-08 Thread Jurgis Pralgauskis

Hello,

as the vision of SAGE is to be alternative to MMM,
what do You think is mostly lacking now?
and, what  is better than in MMM ones (except open source ;)?

maybe there's a wiki page like http://cmsmatrix.org?
I found only a bit of answer:
http://en.wikipedia.org/wiki/List_of_computer_algebra_systems
http://www.sagemath.org/doc/html/ref/module-sage.calculus.wester.html

and I stumbled over quite nice comparison for scipy/numpy vs matlab
http://web.bryant.edu/~bblais/bryant/numerical_computing/python_matlab.pdf

Thanks in advance
-- 
Jurgis Pralgauskis
omni: 8-616 77613; teledema: 8-657 65656;
jabber: [EMAIL PROTECTED]; skype: dz0rdzas;
Don't worry, be happy and make things better ;)

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Jmol black screen in Notebook

2008-05-11 Thread Jurgis Pralgauskis

I have similar results with the big graphs (~100 vertices)
sometimes they show graph ok, and sometimes just blank screen
I think this might be because of some data loading issues

On Sun, May 11, 2008 at 4:02 PM, mabshoff
<[EMAIL PROTECTED]> wrote:
>
>  On May 11, 2:55 pm, "walter neumann" <[EMAIL PROTECTED]> wrote:
>
>  Hi Walter,
>
>
>  > No, It is a Dell Latitude D410, 2G memory and 1.73Ghz processor.
>
>  Are you sure Firefox uses the Sun Java plugin? Just because the demo
>  at the jmol website works doesn't mean that it will work in Sage. You
>  certainly seem to have enough resources, so if it isn't the wrong
>  plugin with Firefox I am fresh out of ideas.
>
>  Cheers,
>
>  Michael
>
>
> >
>



-- 
Jurgis Pralgauskis
omni: 8-616 77613; teledema: 8-657 65656;
jabber: [EMAIL PROTECTED]; skype: dz0rdzas;
Don't worry, be happy and make things better ;)

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: parenthesis matching in notebook environment

2008-04-23 Thread Jurgis Pralgauskis

http://Crunchy.sf.net uses editarea,
and they had a rough test on FF3 with no complains on editor
http://groups.google.com/group/crunchy-discuss

there's a screenshot
http://popmokslas.projektas.lt/failai/etc/CrunchyEditor%e2%80%93FF.png

and js
http://www.koders.com/javascript/fidC214ECA4C1C5462DE7D06A92F09654C34B0AC8FA.aspx?s=search

best regards..

On Wed, Apr 23, 2008 at 2:39 PM, William Stein <[EMAIL PROTECTED]> wrote:
>
>  On Tue, Apr 22, 2008 at 3:56 PM, Jason Grout
>  <[EMAIL PROTECTED]> wrote:
>  >
>  >  Jason Grout wrote:
>  >  > Lars Fischer wrote:
>  >  >> Hello,
>  >  >>
>  >  >>> I think this feature request is reasonable, but the way to
>  >  >>> implement it is to just do it directly instead of including a
>  >  >>> full javascript text editor.What do you think?
>  >  >> you could write a more general function that does not only match
>  >  >> parenthesis (), but also brackets [] and braces {} and "" and '' and
>  >  >> so on.
>  >  >>
>  >  >
>  >  > This page might be relevant and interesting, if only for ideas of what
>  >  > we could do:
>  >  >
>  >  > 
> http://en.wikipedia.org/wiki/Comparison_of_Javascript-based_source_code_editors
>  >
>  >
>  >  In particular, this editor already has python capabilities, apparently:
>  >
>  >  http://www.cdolivet.net/editarea/
>  >
>  >
>
>  People should play around with that editor and see if it feels
>  snappy enough that they would *actually* want to use it a lot.
>
>  For me on FF3 the editor doesn't even work, which is
>  worrisome.
>
>  William
>
>
>
>  >
>



-- 
Jurgis Pralgauskis
omni: 8-616 77613; teledema: 8-657 65656;
jabber: [EMAIL PROTECTED]; skype: dz0rdzas;
Don't worry, be happy and make things better ;)

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] name 'graphs_query' is not defined (sagenb.org)

2008-04-02 Thread Jurgis Pralgauskis
n=graphs_query.display_all(num_vertices=5,diameter=3)

gives

Traceback (most recent call last):
  File "", line 1, in 
  File "/home/server2/sage_notebook/worksheets/dz0/4/code/33.py", line
8, in 
n=graphs_query.display_all(num_vertices=Integer(5),diameter=Integer(3))
  File "/usr/local/sage/local/lib/python2.5/site-packages/sympy/plotting/",
line 1, in 

NameError: name 'graphs_query' is not defined

why?

Thanks

-- 
Jurgis Pralgauskis
omni: 8-616 77613; teledema: 8-657 65656;
jabber: [EMAIL PROTECTED]; skype: dz0rdzas;
Don't worry, be happy and make things better ;)

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] SAGE introduction via example (pseudo)research topic -- ideas needed

2008-03-30 Thread Jurgis Pralgauskis

Hello,

I want to introduce SAGE to our uni applied math students during
student conference.
But conference is for research and not software presentations.
So I look for an example research topic (can be simple and obvious) to
demonstrate the capabilities of SAGE.
i'll have ~10 minutes, so just the most common (first years) study
topics and sexiest features ;).


Linalg
Calculus
visual output (graphs, interact),
some probablility stuff
some symbolic manipulation
some combinatorics,
maybe number theory
maybe some abstract algebra stuff -- probably cryptography might be a
good thing to mention

---
I want to make very good impression with my example (pseudo)research,
and then just mention other topics in some extra slide

Any example-topic proposals?

--
I think of adapting  **Traveling Salesman** problem,
so I can show some nice __graphs__ and __combinatorics__, __matrices__
and compare some optimization methods (genetic algorithms and
bruteforce I understand best,  -- maybe smb can propose more)
hope I could __animate__ them.

+for calculus purposes and some intrigue -- include  (car) velocity
mechanics into the model
let's say -- the car has no brakes, so it must rely on Friction and
not speed too much ;)

still not sure, how to incorporate some symbolic algebra in the model...

---
different idea was to analyze some social web statistics (Forum or Wiki),
and to research browsing, editing or linking patterns or dynamics
wikipedia has some stats collected http://stats.grok.se/,
http://stats.wikimedia.org/EN/Sitemap.htm

I also thought of kind of "wiki-link traveling bot" problem,
"How easy would it be to navigate from topicX to topicY (without using
search and category links)"

Thanks in advance
-- 
Jurgis Pralgauskis
omni: 8-616 77613; teledema: 8-657 65656;
jabber: [EMAIL PROTECTED]; skype: dz0rdzas;
Don't worry, be happy and make things better ;)

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Why does "==" not return True or False?

2008-02-10 Thread Jurgis Pralgauskis

Hello,

> > If not ==, what would you propose for creating symbolic expression
> > objects? The other obvious choice is eq(f, g), but I think that this
> > is inferior since it is much harder to guess.
>
> How often does one need an equation *outside solve*? I never did!
> So, if one really wants an equation as an object, why not eq(f,g)?
>
> And if one wants to use solve, why not in that way:
> sage: solve(x^2,'=',2,x)  # solves x^2=2
> sage: solve(x^2,'<',2,x)  # solves x^2<2

well,  inequalities  would  also have this kind of confusion (as Simon
described in the first mail)..
http://groups.google.com/group/sage-support/t/dc9a94da8d930999

so probably more general markup way should be found for symbolic
equations/inequalities or left as it is
maybe some `==, `<, `> notation or other symbol instead of
'==   '< '>
_==   _<_>

'   would make most sense in  symbolic stuff as it is usually used
with "symbols" :),
but don't know if interpreter won't get confused

ps: can SAGE solve inequality (as the one here)
http://www.sagemath.org/doc/html/ref/module-sage.calculus.wester.html  sais NO
(what is so difficult about inequalities - at least the school level ones)

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Why does "==" not return True or False?

2008-02-08 Thread Jurgis Pralgauskis

Hello,

> > > In this
> > > system, "==" is used to create equations, not to test equality.
> >
> > That's nasty!

for me that also seems potential source of confusion

maybe "===" would be better for equations?

as much as I remember, maxima uses "=", so "==" also doesn't help
maxima users a lot..

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Fwd: sage logo page?

2007-09-03 Thread Jurgis Pralgauskis
an idea (based on http://sagemath.org/art/.html/sage-bg1-thumb.jpg)
http://moodle.projektas.lt/failai/sage/

I'd like to show some kind of convergation.., and as usulay in OS
communities - some kind of circle :)


On 9/4/07, mabshoff <[EMAIL PROTECTED]> wrote:
>
>
>
> On Sep 3, 11:02 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> > David Joyner has a really good idea below.  Any volunteers?
> >
> > -- Forwarded message --
> > From: David Joyner <[EMAIL PROTECTED]>
> > Date: Sep 3, 2007 12:56 PM
> > Subject: sage logo page?
> > To: William Stein <[EMAIL PROTECTED]>
> >
> > Cc: David Joyner <[EMAIL PROTECTED]>
> >
> > Hi William:
> > I wonder if at some point an analog ofhttp://www.python.org/community/logos/
> > could be created for SAGE. I'm not saying
> > people couldn't use the SAGE art. Just, it would be
> > nice I think to have a page which lists the logos
> > which the SAGE Group has a copyright for and
> > encourages the use of.
> > - David
> >
>
> Not me, I own enough open ticket ;), but we should also recreate the
> snapshot page we used to have before the last web page redesign. I am
> also cross posting this to sage-support, there might be gifted people
> over there willing to help out.
>
> Cheers,
>
> Michael
>
>
> >
>


-- 
Jurgis Pralgauskis
mob.: 865-765-656, +37061677613; skype: dz0rdzas;
Don't worry, be happy :) and make things better ;)

reikalaukime ATVIRŲ ir nepriklausomų STANDARTŲ:
http://www.noooxml.org/petition-lt
http://www.openstandards.eu/

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] calculus tutor (step by step)

2007-08-20 Thread Jurgis Pralgauskis

Hello,

I saw yacas mentioned here and there with sage
http://www.mail-archive.com/[EMAIL PROTECTED]/msg04521.html
http://www.sagemath.org:9001/Software

I think yacas would be useful to construct step-by-step solvers for
teaching/exercising purpose
http://www.google.lt/search?q=Student[Calculus1]+ShowSteps

as it introduces itself as "a do-it-yourself symbolic algebra environment"
http://yacas.sourceforge.net/essaysmanual.html
The interpreter provides a high-level weakly typed functional language
designed for quick prototyping of computer algebra algorithms, but the
language is suitable for all kinds of symbolic manipulation.

More details: It supports conditional term rewriting of symbolic
expression trees, closures (pure functions) and delayed evaluation,
dynamic creation of transformation rules, arbitrary-precision
numerical calculations, and flexible user-defined syntax using infix
notation.

Their syntax is more pleasant than of LISP - as they say, lots of
syntatic sugar :)

does anyone else thnk it would be useful?

ps.: other alternative may be to get expression tree representation
prefix notation is a good start...
http://www.math.utexas.edu/pipermail/maxima/2006/003538.html
and parse it myself with python/sage (probably regex or so...)
but yacas already has nice things in pattern description as  y_IsFreeOf(x)

-- 
Jurgis Pralgauskis
mob.: 865-765-656, +37061677613; skype: dz0rdzas;
Don't worry, be happy :) and make things better ;)

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Re: beginner friendly notebook exaple

2007-08-12 Thread Jurgis Pralgauskis

maybe just some clear link to several common examples would be OK
lets say: function plot, equation, some integration and diff-equation

math teachers/students would find it nice :)

On 8/10/07, William Stein <[EMAIL PROTECTED]> wrote:
>
> On 8/9/07, Jurgis Pralgauskis <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I gave a http://www.sagenb.org/ link to some of my math coleagues,
> > but they said, thet didn't understand anything there..
>
> That's unfortunate.
>
> > Personaly the earlier notebook interface was more attractive
> > (understandable for me as well)
>
> It was vastly less secure, less organized, slower, and major
> hacks (like restarting the whole server every five minutes) were
> required to keep it running.  And it would grind to a halt if very many
> people used it at once.  The new vesion is also snappier, and
> most people report that they prefer it.
>
> > is it possible to have instance of oldstyle notebook - as sandbox, for
> > the math-teachers, who are at least a bit curious but won't try once
> > more if impression is strange/misleading
> >  (they even might not understand what is "Site sertificate" :/)
>
> The old notebook -- as it was -- doesn't exist in the new versions of SAGE.
> However, anybody with SAGE run their *own* notebook server, and the
> default configuration
> is very insecure and doesn't require logins, like the old notebook.
>
> In short, the old notebook was quite insecure, not robust, and
> would easily allow people to vandalize my server without any
> accountability.   I can't run such a notebook service
> on my hardware anymore (because of University rules).  I hope you understand.
>
> If you are anybody else would like to volunteer to run such a server, that
> might be nice...
>
>
> >
> > anyway very nice work, thanks :)
> > --
> > Jurgis Pralgauskis
> > mob.: 865-765-656, +37061677613; skype: dz0rdzas;
> > Don't worry, be happy :) and make things better ;)
> >
> > >
> >
>
>
> --
> William Stein
> Associate Professor of Mathematics
> University of Washington
> http://www.williamstein.org
>
> >
>


-- 
Jurgis Pralgauskis
mob.: 865-765-656, +37061677613; skype: dz0rdzas;
Don't worry, be happy :) and make things better ;)

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] beginner friendly notebook exaple

2007-08-09 Thread Jurgis Pralgauskis

Hello,

I gave a http://www.sagenb.org/ link to some of my math coleagues,
but they said, thet didn't understand anything there..

Personaly the earlier notebook interface was more attractive
(understandable for me as well)

is it possible to have instance of oldstyle notebook - as sandbox, for
the math-teachers, who are at least a bit curious but won't try once
more if impression is strange/misleading
 (they even might not understand what is "Site sertificate" :/)


anyway very nice work, thanks :)
-- 
Jurgis Pralgauskis
mob.: 865-765-656, +37061677613; skype: dz0rdzas;
Don't worry, be happy :) and make things better ;)

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] sage.scipy.org interactive tutorial link broken?

2007-06-12 Thread Jurgis Pralgauskis

"Interactive Tutorial" from sage homepage
http://sage.math.washington.edu:8101/doc_browser?/tut/?tut.html
says connection timed out :\

I can use http://www.sagenb.org//doc_browser?/tut/?tut.html
but  newcommers might get dissapointed in the misunderstanding

-- 
Jurgis Pralgauskis
mob.: 865-765-656, +37061677613; skype: dz0rdzas;
Don't worry, be happy :) and make things better ;)

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Re: SAGE TA ?

2007-03-31 Thread Jurgis Pralgauskis

yes,
and it could also link to the theory from textbook (rule, definition or so)

On 3/31/07, Timothy Clemans <[EMAIL PROTECTED]> wrote:
>
> For your off topic are you saying that you want some interactive
> program that shows all the steps for solving some problem and then
> guides the student through the steps?
>
> On 3/31/07, Jurgis Pralgauskis <[EMAIL PROTECTED]> wrote:
> >
> > Hello,
> >
> > there's aproject, which intends to join many math testing tools
> > http://maths.york.ac.uk/serving_maths/
> > and even proposes some protocol (and server power) for  answer analysis
> > http://mantis.york.ac.uk/moodle/course/view.php?id=14
> >
> > OT: I dream about some way to show incremental problem solving
> > algorithms are  in math text-books ;)
> > It can propose to solve problems for students themself, and if they
> > get stuck in some step, SAGE gives hint or just does this step
> > this would be kind of expert system, as there are usually several
> > paths to achieve the same - may be someone has more clear ideas, how
> > this could be implemented?
> >
> >
> > On 3/26/07, Joel B. Mohler <[EMAIL PROTECTED]> wrote:
> > >
> > > On Monday 26 March 2007 07:44, Nikos Apostolakis wrote:
> > > > Hello group,
> > > >
> > > > has anybody tried to implement something like "Maple TA" in sage?
> > > > For example I would like to have students take placement exams with
> > > > "free form" answers.
> > > >
> > > > In case you don't know what Maple TA is:
> > >
> > > Actually, if your goal is to have something opensource, there are already
> > > other opensource alternatives:
> > > http://www.lon-capa.org/ --- I'm not sure what it uses
> > > http://stack.sourceforge.net/ --- uses maxima in the backend
> > > If your goal in something SAGEy, that's another issue.
> > >
> > > To my eyes, lon-capa is the most sensible of all of them I've seen.  They 
> > > have
> > > a CD which you pop into a computer purchased *solely* for this.  It 
> > > installs
> > > their opensource stuff and away you go.  It also appears to come with
> > > question banks.  This fixes two problems which I think a lot of people
> > > underestimate -- 1)  there is a very heavy server load for a decent sized
> > > class and 2) coming up with *debugged* question banks is a lot of work.
> > >
> > > --
> > > Joel
> > >
> > > >
> > >
> >
> >
> > --
> > Jurgis Pralgauskis
> > mob.: +37061677613; JabberID: [EMAIL PROTECTED]; skype: dz0rdzas;
> > Don't worry, be happy :) and make things better ;)
> >
> > >
> >
>
> >
>


-- 
Jurgis Pralgauskis
mob.: +37061677613; JabberID: [EMAIL PROTECTED]; skype: dz0rdzas;
Don't worry, be happy :) and make things better ;)

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] Re: SAGE TA ?

2007-03-31 Thread Jurgis Pralgauskis

Hello,

there's aproject, which intends to join many math testing tools
http://maths.york.ac.uk/serving_maths/
and even proposes some protocol (and server power) for  answer analysis
http://mantis.york.ac.uk/moodle/course/view.php?id=14

OT: I dream about some way to show incremental problem solving
algorithms are  in math text-books ;)
It can propose to solve problems for students themself, and if they
get stuck in some step, SAGE gives hint or just does this step
this would be kind of expert system, as there are usually several
paths to achieve the same - may be someone has more clear ideas, how
this could be implemented?


On 3/26/07, Joel B. Mohler <[EMAIL PROTECTED]> wrote:
>
> On Monday 26 March 2007 07:44, Nikos Apostolakis wrote:
> > Hello group,
> >
> > has anybody tried to implement something like "Maple TA" in sage?
> > For example I would like to have students take placement exams with
> > "free form" answers.
> >
> > In case you don't know what Maple TA is:
>
> Actually, if your goal is to have something opensource, there are already
> other opensource alternatives:
> http://www.lon-capa.org/ --- I'm not sure what it uses
> http://stack.sourceforge.net/ --- uses maxima in the backend
> If your goal in something SAGEy, that's another issue.
>
> To my eyes, lon-capa is the most sensible of all of them I've seen.  They have
> a CD which you pop into a computer purchased *solely* for this.  It installs
> their opensource stuff and away you go.  It also appears to come with
> question banks.  This fixes two problems which I think a lot of people
> underestimate -- 1)  there is a very heavy server load for a decent sized
> class and 2) coming up with *debugged* question banks is a lot of work.
>
> --
> Joel
>
> >
>


-- 
Jurgis Pralgauskis
mob.: +37061677613; JabberID: [EMAIL PROTECTED]; skype: dz0rdzas;
Don't worry, be happy :) and make things better ;)

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] sage_eval bug?

2006-11-29 Thread Jurgis Pralgauskis

expression = 'y+2*y*x+a'
f3 = sage_eval( expression, locals={'y':4, 'a':x} )
shows: 9x+4

f4 = sage_eval( expression, locals={'y':4, 'a':a} )
says
> Traceback (most recent call last):
> f4 = sage_eval( expression, locals={'y':4, 'a':a} ) 
> NameError: name 'a' is not defined



--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] expression parse tree (API) ?

2006-11-19 Thread Jurgis Pralgauskis

Hello,

does anyone knows how to access the formula parse tree
I found sth similar what I want in java..
http://www.singularsys.com/jep/doc/html/advanced.html

what I really want, is to make derivative exercise tool..
which would do the differentiation of (complex) formulas step by step
acctually I would need a parse tree according to one given variable,
let's say _x_
where the each depth-node would mean one of known derivative formulas
and + would be parallel/linear node
http://en.wikipedia.org/wiki/Derivative#Rules_for_finding_the_derivative
sin(2*x) + x^2
should give:
  + sin->*2->x
  + ^2 -> x
having this form, I could handle derivation steps flexibly.. :)
I know python has powerfull parse tools, but I don't want to invent
bicycle, I'd rather hack it :)
I found some abandoned project http://www.strout.net/python/pythonica.html
but I hope if not sage, then mayby Axiom or Maxima has sth similar..

Thanks for the answers in adwance :)

ps.: there's still some thoughts about
f(x)*g(x), which should be worked out as f'*g + f*g'
and i still don't quite know/remember how to handle x^x


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---



[sage-support] ordinary POST/GET requests to Sage server

2006-11-14 Thread Jurgis Pralgauskis

Hello,

I am new to sage,
and I want to make webpage with some some predefined set/type of math
(calculus) problems, where users just enter coeffitiens, and then get
the answers...

how I imagine this:
S) I'd run sage on my home computer (can think as sage server)
Q) and use some ordinary server space provider for my site

I make the UI site with some php+mysql (as I know them well) on Q,
and then I would
1) formulate the problems to sage  (compile the problem templates with
the coefitients) (Q)
2) send them to sage (Q->S)
3) compute the answer (S)
4) get the answer  (S->Q)
5) show/send it to the user (Q)

I know the notebook,
it uses Ajax, but I am not familiar with this technology
I need action whe I could feed/receive  POST/GET data ..
even if the calculations would take long (though in my case they
shouldn't), first I could feed problem via POST, and get back some
proces_ID,  and then I could make request with that ID later, and learn
the answer..

could You direct me to some examples or docs

Thanks in advance :)
-- 
Jurgis Pralgauskis
Don't worry, be happy :) and make things better ;)


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~--~~~~--~~--~--~---