Re: Google Summer of Code (GSoC) 2012

2012-03-17 Thread Thorsten
Alexander Burger a...@software-lab.de writes:

Hi Alex,

 unfortunately, our application was rejected:

 Thank you for submitting PicoLisp organization application to Google  
 Summer of Code 2012.
 Unfortunately, we were unable to accept your organization's
 application at
 this time.
 We received many more applications for the program than we are able to  
 accommodate,
 and we would encourage you to reapply for future instances of the
 program.
 
 Best regards,
 
 Google Open Source Programs

 Let's think about trying it next year ...

Too bad we did not make it. Maybe next year? Maybe PicoLisp is just too
small as a project, or we should copy some of the good stuff from the
successfull applications - I've seen some quite nice ideas pages. 

However, it was probably worth give it a try, and next year it should be
much easier and faster to apply again, since we know the whole procedure
already. 

-- 
cheers,
Thorsten

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Google Summer of Code (GSoC) 2012

2012-03-16 Thread Alexander Burger
Hi all,

unfortunately, our application was rejected:

 Thank you for submitting PicoLisp organization application to Google  
 Summer of Code 2012.
 Unfortunately, we were unable to accept your organization's application at  
 this time.
 We received many more applications for the program than we are able to  
 accommodate,
 and we would encourage you to reapply for future instances of the program.
 
 Best regards,
 
 Google Open Source Programs

Let's think about trying it next year ...

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Google Summer of Code (GSoC) 2012

2012-03-06 Thread Alexander Burger
In any case, time is getting short:

The Mentoring organization application deadline is 9th of march, that's
three days from now.

So if anybody has a proposal for an idea, (s)he should hurry to post it
on the ideas page.

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Google Summer of Code (GSoC) 2012

2012-03-05 Thread Alexander Burger
Hi Jakob,

 This.  And the web framework could even have a repl or edit function
 where you could edit a running site live. It could have Commit and

In fact, the standard PicoLisp framework already comes with two such
features:

- you can can connect to a running PicoLisp server using bin/psh,
  giving you a normal PicoLisp repl to interact with the database or
  other resources, parallel and synchronized with other possibly running
  client processes.

- or you can include the 'repl' function from lib/form.l into your
  application. Be careful with that, it's a huge security hole. It opens
  a text area with a repl in the browser window.

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Google Summer of Code (GSoC) 2012

2012-03-05 Thread Jakob Eriksson



On March 5, 2012 at 8:49 AM Alexander Burger a...@software-lab.de wrote:


 This sounds useful. I don't know about the types of restrictions which
 might be imposed by such servers.

It is often that you may run only a PHP script or a CGI. And the CGI
can be either compiled static binary or Perl or Bash.

best regards,
Jakob
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Google Summer of Code (GSoC) 2012

2012-03-04 Thread Jakob Eriksson



On March 3, 2012 at 10:27 PM José Romero jose.cyb...@gmail.com wrote:



 Things left to design are how to keep track of sessions. Picolisp's
 persistent process system is simple and very efficient, but there
 should be a filesystem fallback for CGI. It would be also very
 desirable to make the existing GUI framework work with it. I'd really
 appreciate you input :)


Just concatenate to a binary file, with a small and efficient format. When
over a certain
size, switch to a new file, copy those sessions still alive from the old file
first, then
delete the old file. This should be fairly quick.

We also discussed on IRC, I think a compressing heap saver would be very cool,
but perhaps
something for the next SoC. :-)

best regards,
Jakob
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Google Summer of Code (GSoC) 2012

2012-03-04 Thread Jakob Eriksson



On March 3, 2012 at 11:56 PM Joe Bogner joebog...@gmail.com wrote:


 I guess for someone with no knowledge of picoLisp, as it relates to
 your proposal, why is picoLisp a good choice for web development? What
 would the successful completion of the proposal enable? I have some
 perspective but would be interested in hearing


It is a good choice, because it with such a small runtime it should
scale really well, betihster than Java, Python or PHP. This should
interest Google anyway.

Also it is sad that newbies or those with lack of funds get presented with
mostly PHP as a choice for host web sites. With PicoLisp as very
efficient CGI, there is another.


Slightly off topic:
Hm, another crazy idea... what if the CGI had a data fork in which
contained the database and sessions? Then a whole site could be deployed
with a single file. (I don't know if this is even technically possible
though.)


//Jakob
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Google Summer of Code (GSoC) 2012

2012-03-04 Thread Jakob Eriksson



On March 4, 2012 at 1:07 AM José Romero jose.cyb...@gmail.com wrote:

 
 One thing I love about picolisp is it's interactivity, I can interact
 with a running app using the repl (and the wonderful 'edit function).
 The equivalence of code and data and dynamic binding help a lot to
 alter the system as it's running to try out new things with a very
 quick turnaround time. And still, despite the great flexibility it also



This.  And the web framework could even have a repl or edit function
where you could edit a running site live. It could have Commit and
Revert buttons and a version history even. It could be the worlds
first self-contained web framework made for working in teams, if it
had different admin accounts.

//Jakob
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Google Summer of Code (GSoC) 2012

2012-03-03 Thread Thorsten
Alexander Burger a...@software-lab.de writes:

Hi List,

 On Mon, Feb 27, 2012 at 01:40:16PM +0100, Thorsten wrote:
 We prepared a GSoC 2012 page in the PicoLisp wiki
 (http://picolisp.com/5000/!wiki?gsoc), where you can find more
 information. 
 ...
 For now (till 2012-03-09) the most important task is to collect ideas
 and find out who would like to be a mentor for his (or other peoples)
 project ideas. Then, if PicoLisp is accepted by Google, we need to
 spread the word and make students apply for a project.
 
 Any thoughts or ideas how to make the PicoLisp application for the GSoC
 2012 a success are welcome.

I would suggest to add at least 2 or 3 more project ideas to the ideas
page (http://picolisp.com/5000/!wiki?ideasPage) to raise the odds of
PicoLisp being accepted as mentoring organisation. 

The best case would be if anybody is interested to participate as a
student and has a project idea (and a possible mentor in mind). However,
if you would like to see some new feature in PicoLisp and to mentor the
related project, it would be very helpfull too. 

A third (viable) option is to think about a project idea that is
beneficial for the PicoLisp community and doesn't require special
background (domain) knowledge from a (potential) mentor, but might be
interesting for students in general. That way, you can propose an idea
without being the student or mentor for that proposal. 

As an example, I would propose the project Build a web-shop for
PicoLisp. Would that make sense? Any other ideas?

If somebody has an idea but doesn't want to get involved with the wiki,
he can just post it here on the list, I put it on the wiki then. 

Thanks
-- 
cheers,
Thorsten

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Google Summer of Code (GSoC) 2012

2012-03-03 Thread José Romero
On Sat, 03 Mar 2012 21:10:25 +0100
Thorsten quintf...@googlemail.com wrote:

 Alexander Burger a...@software-lab.de writes:
 
 Hi List,
 
  On Mon, Feb 27, 2012 at 01:40:16PM +0100, Thorsten wrote:
  We prepared a GSoC 2012 page in the PicoLisp wiki
  (http://picolisp.com/5000/!wiki?gsoc), where you can find more
  information. 
  ...
  For now (till 2012-03-09) the most important task is to collect
  ideas and find out who would like to be a mentor for his (or other
  peoples) project ideas. Then, if PicoLisp is accepted by Google,
  we need to spread the word and make students apply for a project.
  
  Any thoughts or ideas how to make the PicoLisp application for the
  GSoC 2012 a success are welcome.
 
 I would suggest to add at least 2 or 3 more project ideas to the ideas
 page (http://picolisp.com/5000/!wiki?ideasPage) to raise the odds of
 PicoLisp being accepted as mentoring organisation. 
 
 The best case would be if anybody is interested to participate as a
 student and has a project idea (and a possible mentor in mind).
 However, if you would like to see some new feature in PicoLisp and to
 mentor the related project, it would be very helpfull too. 
 
 A third (viable) option is to think about a project idea that is
 beneficial for the PicoLisp community and doesn't require special
 background (domain) knowledge from a (potential) mentor, but might be
 interesting for students in general. That way, you can propose an idea
 without being the student or mentor for that proposal. 
 
 As an example, I would propose the project Build a web-shop for
 PicoLisp. Would that make sense? Any other ideas?
 
 If somebody has an idea but doesn't want to get involved with the
 wiki, he can just post it here on the list, I put it on the wiki
 then. 
 
 Thanks

If I can make it to participate as a student I'd like to make a more
generic and portable web framework (in the sense of being able to deploy
it in more kinds of servers than a dedicated/VPS with permission to run
a server on a public port) Right now I have some work done in that
direction with my scgi.l simple framework that is capable of running
as a SCGI service, a CGI script and writing an HTTP backend it can also
run as a standalone server (or actually, any protocol that has a
CGI/HTTP-like interface can be adapted writing a backend) sharing most
of the code (I have some code for that but i haven't published it yet
because it's not complete/useful for anyone else than me at the
moment). 

I have a formed idea for the low level design of the framework, as
the internal protocol all backends dump into the app using a
consistent interface (a set of global variables and functions). 

If you are allowed to run persistent processes in your server you
would have at least these options for connecting the web application
to the web (or a caching reverse proxy).

 +---+++   +--+--++
 |   | -|   Web  |-| SCGI |
 | I || Server |   +--+ |
 | n |++  | |
 | t | ^  +-+   +-+  CommonWeb  |
 | e | '-| CGI |-| PGI |
 | r |+-+   +-+  Module Application |
 | n || |
 | e | +--+ |
 | t |---| HTTP |
 |   | +-++
 +---+

The PGI (Picolisp Gateway Interface) backend is just thin glue to
allow a very simple CGI script to be able to tunnel a request to the
running picolisp server, to do it properly picolisp should be
provided with unix domain socket support so that it's not necessary
for the server to take a random high port and to ensure the same
privilege separation provided by the filesystem in the standard web
server setup (owners, users, chroots). The other backends are pretty
self explanatory, the functions defined in the common module should be
made in a way that the application can use special features in the
backend (for example X-Sendfile headers) falling back to emulating
them with picolisp for backends that do not support it.

If you are not allowed to run persistent processes you can still use
the framework (say, a very low traffic site, or you are just doing
tests on a shared host before investing on a bigger server) by
wrapping the whole thing around a CGI script, without changing any
more code downstream.

The things left to design is which would be the desirable feature set
the common module should have and how they should be implemented to
get the best efficiency and compatibility. So far I have implemented a
minimal feature set for some simple services I needed (right now
running with the GCI+PGI):

 - A simple url pattern based dispatcher: the default implementation
   of 'req-handler tries 

Re: Google Summer of Code (GSoC) 2012

2012-03-03 Thread Joe Bogner
Hi José -

I've been thoroughly impressed with everything I've seen from you and
even more so if you're a student. Wow!

Related to your proposal below, if I can replay back what I am
understanding, it sounds like there are three aspects to it:

1.) A more robust interface between a web server and a picolisp app.
Something that can work in a variety of situations (e.g.VPS or
dedicated hosting).  This should enable more adoption of picolisp as a
language for building web applicationss.

[Sidenote: I've used your SCGI.l with nginx with and it would benefit
others to document how that could work]

2.) A routing framework (does this follow the REST framework
discussions we've had on IRC?) to simplify web app development - again
it seems like you are close here based on what I've seen in scgi.l

3.) Provide some of the same functionality as XHTML without tying it
to the session IDs. In other words, enable the general purpose GUI
framework to be agnostic of the 'server' it's running in

I think these are all wonderful ideas. If I was sitting on the
committee evaluating proposals for the GSoC I would be evaluating
projects based on their ability to have a broad impact or solves an
unsolved problem. Since picoLisp is fairly niche, I like that what
you're suggesting could open it up to more developers. I am no expert
in this area though. I am not sure how this would stand out against
framework XYZ aiming for broader appeal.

I spent a minute looking for some more context on GSoC related to
languages. I found a retrospective on haskell:
http://www.gwern.net/Haskell%20Summer%20of%20Code

I guess for someone with no knowledge of picoLisp, as it relates to
your proposal, why is picoLisp a good choice for web development? What
would the successful completion of the proposal enable? I have some
perspective but would be interested in hearing what you think.

Thanks for sharing it!
Joe






2012/3/3 José Romero jose.cyb...@gmail.com:
 On Sat, 03 Mar 2012 21:10:25 +0100
 Thorsten quintf...@googlemail.com wrote:

 Alexander Burger a...@software-lab.de writes:

 Hi List,

  On Mon, Feb 27, 2012 at 01:40:16PM +0100, Thorsten wrote:
  We prepared a GSoC 2012 page in the PicoLisp wiki
  (http://picolisp.com/5000/!wiki?gsoc), where you can find more
  information.
  ...
  For now (till 2012-03-09) the most important task is to collect
  ideas and find out who would like to be a mentor for his (or other
  peoples) project ideas. Then, if PicoLisp is accepted by Google,
  we need to spread the word and make students apply for a project.
 
  Any thoughts or ideas how to make the PicoLisp application for the
  GSoC 2012 a success are welcome.

 I would suggest to add at least 2 or 3 more project ideas to the ideas
 page (http://picolisp.com/5000/!wiki?ideasPage) to raise the odds of
 PicoLisp being accepted as mentoring organisation.

 The best case would be if anybody is interested to participate as a
 student and has a project idea (and a possible mentor in mind).
 However, if you would like to see some new feature in PicoLisp and to
 mentor the related project, it would be very helpfull too.

 A third (viable) option is to think about a project idea that is
 beneficial for the PicoLisp community and doesn't require special
 background (domain) knowledge from a (potential) mentor, but might be
 interesting for students in general. That way, you can propose an idea
 without being the student or mentor for that proposal.

 As an example, I would propose the project Build a web-shop for
 PicoLisp. Would that make sense? Any other ideas?

 If somebody has an idea but doesn't want to get involved with the
 wiki, he can just post it here on the list, I put it on the wiki
 then.

 Thanks

 If I can make it to participate as a student I'd like to make a more
 generic and portable web framework (in the sense of being able to deploy
 it in more kinds of servers than a dedicated/VPS with permission to run
 a server on a public port) Right now I have some work done in that
 direction with my scgi.l simple framework that is capable of running
 as a SCGI service, a CGI script and writing an HTTP backend it can also
 run as a standalone server (or actually, any protocol that has a
 CGI/HTTP-like interface can be adapted writing a backend) sharing most
 of the code (I have some code for that but i haven't published it yet
 because it's not complete/useful for anyone else than me at the
 moment).

 I have a formed idea for the low level design of the framework, as
 the internal protocol all backends dump into the app using a
 consistent interface (a set of global variables and functions).

 If you are allowed to run persistent processes in your server you
 would have at least these options for connecting the web application
 to the web (or a caching reverse proxy).

  +---+    ++   +--+--++
  |   | -|   Web  |-| SCGI                                 |
  | I |    | Server |   +--+                      

Re: Google Summer of Code (GSoC) 2012

2012-03-03 Thread José Romero
On Sat, 3 Mar 2012 17:56:06 -0500
Joe Bogner joebog...@gmail.com wrote:

 Hi José -
 
 I've been thoroughly impressed with everything I've seen from you and
 even more so if you're a student. Wow!
 
 Related to your proposal below, if I can replay back what I am
 understanding, it sounds like there are three aspects to it:
 
 1.) A more robust interface between a web server and a picolisp app.
 Something that can work in a variety of situations (e.g.VPS or
 dedicated hosting).  This should enable more adoption of picolisp as a
 language for building web applicationss.
 
 [Sidenote: I've used your SCGI.l with nginx with and it would benefit
 others to document how that could work]
 
Yes exactly, a simple and hackable way to connect to most common web
server interfaces used nowadays.

 2.) A routing framework (does this follow the REST framework
 discussions we've had on IRC?) to simplify web app development - again
 it seems like you are close here based on what I've seen in scgi.l
 
Yes, by default I'd like to implement a simple RESTful resource
dispatcher, but it would be just the default, you can override the
handler earlier in the request and still benefit from the work done in
the backends while implementing some oddball URL schema in the most
comfortable way. That could be a quick and simple way to gradually
port the existing GUI framework to all those servers without rewriting
the whole app system to be restful.

 3.) Provide some of the same functionality as XHTML without tying it
 to the session IDs. In other words, enable the general purpose GUI
 framework to be agnostic of the 'server' it's running in
 
That too, I'd like to eliminate deep dependencies between modules, I'd
rather make a simple module that then can be easily monkey patched by
a more complex app than having it the other way around. I know that
hurts startup time, but unless you are using the app as cgi script
model it doesn't matter, and even then, it shouldn't be hard to
preprocess the sources to generate a more optimized compiled script,
the same way javascript files are being minified nowadays.

 I think these are all wonderful ideas. If I was sitting on the
 committee evaluating proposals for the GSoC I would be evaluating
 projects based on their ability to have a broad impact or solves an
 unsolved problem. Since picoLisp is fairly niche, I like that what
 you're suggesting could open it up to more developers. I am no expert
 in this area though. I am not sure how this would stand out against
 framework XYZ aiming for broader appeal.
 
 I spent a minute looking for some more context on GSoC related to
 languages. I found a retrospective on haskell:
 http://www.gwern.net/Haskell%20Summer%20of%20Code
 
 I guess for someone with no knowledge of picoLisp, as it relates to
 your proposal, why is picoLisp a good choice for web development? What
 would the successful completion of the proposal enable? I have some
 perspective but would be interested in hearing what you think.
 
One thing I love about picolisp is it's interactivity, I can interact
with a running app using the repl (and the wonderful 'edit function).
The equivalence of code and data and dynamic binding help a lot to
alter the system as it's running to try out new things with a very
quick turnaround time. And still, despite the great flexibility it also
offers very competitive speed if you compare it to other common
languages used for the web. The whole system is also simple enough to
be able to learn deep stuff about it's internals and code minding them
instead of treating it like a black box behind a truckload of specs.

Other very positive point for picolisp is it's code compactness, the
built in functions are simple building blocks that can achieve really
powerful and diverse behaviors combining them in clever ways, much like
the UNIX core utils. 

Another relevant good point for picolisp used in this scenario is it's
database system. Sadly it's not as well documented as it deserves, but
every day I find out new things about it. (Documenting it would be a
great project, but GSoC favors code over documentation, sadly.)

 Thanks for sharing it!
 Joe
 
 [snipped bottom post]

-José
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Google Summer of Code (GSoC) 2012

2012-02-28 Thread Alexander Burger
Hi Joe, Doug, and anyone interested!

On Mon, Feb 27, 2012 at 01:40:16PM +0100, Thorsten wrote:
 We prepared a GSoC 2012 page in the PicoLisp wiki
 (http://picolisp.com/5000/!wiki?gsoc), where you can find more
 information. 
 ...
 For now (till 2012-03-09) the most important task is to collect ideas
 and find out who would like to be a mentor for his (or other peoples)
 project ideas. Then, if PicoLisp is accepted by Google, we need to
 spread the word and make students apply for a project.
 
 Any thoughts or ideas how to make the PicoLisp application for the GSoC
 2012 a success are welcome.

Wouldn't be the Android porting project a good candidate for the Summer
of Code?

Does anybody have contact to students who might be interested (and able)
to do such a project? And would perhaps Joe and/or Doug be interested to
support them as mentors?

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Google Summer of Code (GSoC) 2012

2012-02-28 Thread Jon Kleiser

Hi all,

On 2/28/12 11:26 AM, Alexander Burger wrote:

Hi Joe, Doug, and anyone interested!

On Mon, Feb 27, 2012 at 01:40:16PM +0100, Thorsten wrote:

We prepared a GSoC 2012 page in the PicoLisp wiki
(http://picolisp.com/5000/!wiki?gsoc), where you can find more
information.
...
For now (till 2012-03-09) the most important task is to collect ideas
and find out who would like to be a mentor for his (or other peoples)
project ideas. Then, if PicoLisp is accepted by Google, we need to
spread the word and make students apply for a project.

Any thoughts or ideas how to make the PicoLisp application for the GSoC
2012 a success are welcome.

Wouldn't be the Android porting project a good candidate for the Summer
of Code?

Does anybody have contact to students who might be interested (and able)
to do such a project? And would perhaps Joe and/or Doug be interested to
support them as mentors?

Cheers,
- Alex
I think this GSoC is a very fine initiative. My suggestion for a project 
would be getting 64-bit PicoLisp running on Mac OS X. ;-)


/Jon
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Google Summer of Code (GSoC) 2012

2012-02-28 Thread Joe Bogner
Hi Alex,

Android porting may be a good candidate. It depends on how it would be
scoped. Unfortunately I don't have much time to put towards leading it
or being a mentor. However, off the top of my head this is what I
think is needed:

1. Add Makefile changes and source code changes (e.g. making it so
ht:Pack can be called - however its needed) to the main source
repository

2. Create some utility that packages up a picoLisp web app into a java APK

3. Create an example app that demonstrates the full stack (db, web)
and power of picoLisp. Maybe also demonstrate a java bridge and
bindings (either by using call or something more native) so we can
interact with the device (e.g. capture QR code)

4. Create documentation

I'd be glad to be a contributor/reviewer though.

Thanks,
Joe



On Tue, Feb 28, 2012 at 5:26 AM, Alexander Burger a...@software-lab.de wrote:
 Hi Joe, Doug, and anyone interested!

 On Mon, Feb 27, 2012 at 01:40:16PM +0100, Thorsten wrote:
 We prepared a GSoC 2012 page in the PicoLisp wiki
 (http://picolisp.com/5000/!wiki?gsoc), where you can find more
 information.
 ...
 For now (till 2012-03-09) the most important task is to collect ideas
 and find out who would like to be a mentor for his (or other peoples)
 project ideas. Then, if PicoLisp is accepted by Google, we need to
 spread the word and make students apply for a project.

 Any thoughts or ideas how to make the PicoLisp application for the GSoC
 2012 a success are welcome.

 Wouldn't be the Android porting project a good candidate for the Summer
 of Code?

 Does anybody have contact to students who might be interested (and able)
 to do such a project? And would perhaps Joe and/or Doug be interested to
 support them as mentors?

 Cheers,
 - Alex
 --
 UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Google Summer of Code (GSoC) 2012

2012-02-28 Thread Jakob Eriksson



On February 28, 2012 at 11:26 AM Alexander Burger a...@software-lab.de wrote:


 Wouldn't be the Android porting project a good candidate for the Summer
 of Code?


Indeed it would.  I would also like to see a port to VHDL or Verilog. A
proof
of concept PicoLisp web server running its own bytecode machine on an FPGA.
I think I could dig up those kinds of students, I know an FPGA professor.

best regards,
Jakob
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Google Summer of Code (GSoC) 2012

2012-02-28 Thread Alexander Burger
Hi Jakob,

 I would also like to see a port to VHDL or Verilog. A proof
 of concept PicoLisp web server running its own bytecode machine on an FPGA.
 I think I could dig up those kinds of students, I know an FPGA professor.

This sounds good. Can you add this to the ideas page on the Wiki?

   http://picolisp.com/5000/!wiki?ideasPage

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe