Re: New logo and website design proposal

2015-10-12 Thread Luis Felipe López Acevedo

On 2015-10-12 08:23, l...@gnu.org wrote:

Luis Felipe López Acevedo  skribis:


No need for conversion, Ludovic, the source is pure Guile Scheme (I
did my homework):


Oh I had overlooked that.  Well this is really perfect then.  :-)

I have added you to the Guile group on Savannah, so feel free to push
your code to the new guile/guile-website.git repo (please restrict
yourself to this repo.)  It’s better to use GNU-style ChangeLog for
commit logs (same as for Guix), but it’s OK if you want to skip that.



I just pushed without GNU-style, but I will do so in the future once I 
read about it.



We’ll wait for an OK from Andy and Mark before putting the site 
on-line.


Thank you!

Ludo’.



Ok :)


--
Luis Felipe López Acevedo
http://sirgazil.bitbucket.org/



Re: New logo and website design proposal

2015-10-12 Thread Amirouche Boubekki

Le 2015-10-12 20:15, Luis Felipe López Acevedo a écrit :

On 2015-10-12 08:26, l...@gnu.org wrote:

Aleix Conchillo Flaqué  skribis:

I have a suggestion: would it be possible to show only one code 
sample in
the Code examples section? The code sample would periodically switch 
to a
new one smoothly and also the user should be able to jump from sample 
to
sample by clicking some arrows. Something like racket-lang (but much 
nicer
with your design!). Also, it would save some space. The code could be 
on
the left and the explanation on the right side with the title on top 
of the

explanation.


I agree that it would be nice, if possible.

OTOH the current web site has the advantage of being JavaScript-free.

WDYT, Felipe?



I'm fine with Aleix suggestion. And it can be done so that the
examples are shown in a descent way without the effects for people who
don't use JavaScript. But I'd pass on the implementation because I
don't like much using JavaScript :)


I can do it, if nobody shims in... When I am finished with the tutorial.

Any comment is welcome.

First I tried to follow hylang tutorial [0], but I found it too short. I 
really like clojure koans [1], but there is not guilescript. I did not 
do much research, in particular there might be interesting stuff to use 
in "how to design programs" [2].


So I settled on 4 parts tutorial split into sections, but not deeper, 
where the first paragraph introduce a concept and the second paragraph 
apply the concept in the general context of guilers doing a hackfest. I 
did not talk about macros, I will think about a way to spread the 
different macros in all the parts.


Here is the plan:

# Learn Scheme Guile

## Getting started [3]

The main illustration is a breakfast box.

- call procedure
- define a variable
- how to create list
- how to create pairs
- how to create scheme dictionary aka. assoc
- how to define a procedure
- how to to create new list with initial list and a procedure using map

## Foward [4]

This continue with breakfast box and explain records with a mini todo 
list app.


- how to define a more complex procedure
- how to define variable inside procedures
- a short hand to make recursive procedures ie. named `let`
- how to define mutable datastructures ie. records

## Beyond [not written yet]

I don't know yet which example to use.

- goops
- values/receive
- apply
- compose

## Reference

A summary of all the syntax and procedure of the tutorial. This should 
be similar to hylang tutorial.



[0] 
http://docs.hylang.org/en/latest/tutorial.html#basic-intro-to-lisp-for-pythonistas

[1] http://clojurescriptkoans.com/#equality/2
[2] http://www.htdp.org/
[3] http://hypermove.net/learn-scheme-guile-basics.html
[4] http://hypermove.net/learn-scheme-guile-forward.html



Re: New logo and website design proposal

2015-10-12 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Oct 12, 2015 at 01:15:59PM -0500, Luis Felipe López Acevedo wrote:

[...]

> I'm fine with Aleix suggestion. And it can be done so that the
> examples are shown in a descent way without the effects for people
> who don't use JavaScript.

Wohoo!

Luis Felipe, you are my hero :-)

regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlYcAw8ACgkQBcgs9XrR2kZ6jACfYd/9K+4h+fZM7sXFwlFt60qG
9pkAn3/VhXxHvxXBjUYatpMsk0U5KimR
=9YSf
-END PGP SIGNATURE-



Re: New logo and website design proposal

2015-10-12 Thread Luis Felipe López Acevedo

On 2015-10-12 12:03, Aleix Conchillo Flaqué wrote:

On Fri, Oct 9, 2015 at 3:24 PM, Luis Felipe López Acevedo
 wrote:


Hi,

I just finished an implementation of the new website. You can grab
a copy of the built site from here:




https://bitbucket.org/sirgazil/dnd/downloads/guile-website-20151009.tar.gz

[1]

To try it out:

$ cd path/to/guile-website-mmdd
$ python3 -m http.server # couldn't find a equivalent
in Guile

Then visit the website at .


​At the bottom, Contributors doesn't show up on the same row as all
the other sections. See attached image. I'm not sure if this was
intended or not, i guess not as there's room to fit it.

​Aleix​


That behavior is intended. The links sections are wrapped as words in a 
paragraph as the screen width narrows. But I see there's room, as you 
say, so I'll make them not to break that soon.


Thanks, Aleix.

--
Luis Felipe López Acevedo
http://sirgazil.bitbucket.org/



Re: New logo and website design proposal

2015-10-12 Thread Luis Felipe López Acevedo

On 2015-10-12 08:26, l...@gnu.org wrote:

Aleix Conchillo Flaqué  skribis:

I have a suggestion: would it be possible to show only one code sample 
in
the Code examples section? The code sample would periodically switch 
to a
new one smoothly and also the user should be able to jump from sample 
to
sample by clicking some arrows. Something like racket-lang (but much 
nicer
with your design!). Also, it would save some space. The code could be 
on
the left and the explanation on the right side with the title on top 
of the

explanation.


I agree that it would be nice, if possible.

OTOH the current web site has the advantage of being JavaScript-free.

WDYT, Felipe?



I'm fine with Aleix suggestion. And it can be done so that the examples 
are shown in a descent way without the effects for people who don't use 
JavaScript. But I'd pass on the implementation because I don't like much 
using JavaScript :)



--
Luis Felipe López Acevedo
http://sirgazil.bitbucket.org/



Re: New logo and website design proposal

2015-10-12 Thread Luis Felipe López Acevedo

On 2015-10-12 03:15, Nala Ginrut wrote:

On Fri, 2015-10-09 at 17:24 -0500, Luis Felipe López Acevedo wrote:

On 2015-09-23 11:18, Luis Felipe López Acevedo wrote:
>
> With the feedback so far, I'm planning to make a revision of the
> mockup this weekend to include the suggested changes.
>

Hi,

I just finished an implementation of the new website. You can grab a
copy of the built site from here:


https://bitbucket.org/sirgazil/dnd/downloads/guile-website-20151009.tar.gz

To try it out:

$ cd path/to/guile-website-mmdd
$ python3 -m http.server# couldn't find a equivalent 
in

Guile

Then visit the website at .



You may try Artanis for this:
=
guile -c "(use-modules (artanis artanis))(init-server)(run)"
=

http://www.gnu.org/software/artanis/manual/manual.html#sec-4-2


Nice! Thanks for the tip, Nala :)


--
Luis Felipe López Acevedo
http://sirgazil.bitbucket.org/



Re: New logo and website design proposal

2015-10-12 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Oct 12, 2015 at 03:26:21PM +0200, Ludovic Courtès wrote:
> Aleix Conchillo Flaqué  skribis:
> 
> > I have a suggestion: would it be possible to show only one code sample in
> > the Code examples section? [...]

> I agree that it would be nice, if possible.
> 
> OTOH the current web site has the advantage of being JavaScript-free.

FWIW I do appreciate this trait highly.

thanks
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlYbsGEACgkQBcgs9XrR2kaYggCcClsJOdetNmtdZOzuuZ/a33p8
qLcAnidPbN+xlHDosW6Hk3LsJoVd98O9
=06cp
-END PGP SIGNATURE-



Re: New logo and website design proposal

2015-10-12 Thread Ludovic Courtès
Aleix Conchillo Flaqué  skribis:

> I have a suggestion: would it be possible to show only one code sample in
> the Code examples section? The code sample would periodically switch to a
> new one smoothly and also the user should be able to jump from sample to
> sample by clicking some arrows. Something like racket-lang (but much nicer
> with your design!). Also, it would save some space. The code could be on
> the left and the explanation on the right side with the title on top of the
> explanation.

I agree that it would be nice, if possible.

OTOH the current web site has the advantage of being JavaScript-free.

WDYT, Felipe?

Ludo’.



Re: New logo and website design proposal

2015-10-12 Thread Ludovic Courtès
Luis Felipe López Acevedo  skribis:

> No need for conversion, Ludovic, the source is pure Guile Scheme (I
> did my homework):

Oh I had overlooked that.  Well this is really perfect then.  :-)

I have added you to the Guile group on Savannah, so feel free to push
your code to the new guile/guile-website.git repo (please restrict
yourself to this repo.)  It’s better to use GNU-style ChangeLog for
commit logs (same as for Guix), but it’s OK if you want to skip that.

We’ll wait for an OK from Andy and Mark before putting the site on-line.

Thank you!

Ludo’.



Re: New logo and website design proposal

2015-10-12 Thread Nala Ginrut
On Fri, 2015-10-09 at 17:24 -0500, Luis Felipe López Acevedo wrote:
> On 2015-09-23 11:18, Luis Felipe López Acevedo wrote:
> > 
> > With the feedback so far, I'm planning to make a revision of the
> > mockup this weekend to include the suggested changes.
> > 
> 
> Hi,
> 
> I just finished an implementation of the new website. You can grab a 
> copy of the built site from here:
> 
>
> https://bitbucket.org/sirgazil/dnd/downloads/guile-website-20151009.tar.gz
> 
> To try it out:
> 
> $ cd path/to/guile-website-mmdd
> $ python3 -m http.server# couldn't find a equivalent in 
> Guile
> 
> Then visit the website at .


You may try Artanis for this:
=
guile -c "(use-modules (artanis artanis))(init-server)(run)"
=

http://www.gnu.org/software/artanis/manual/manual.html#sec-4-2