Re: [ANN] Nightcoders.net, a cloud IDE for ClojureScript

2017-01-15 Thread Zach Oakes
Hello Erik, very valid points. I agree that young people would benefit from 
a "higher level" tool that focused on games. I think it should be a 
separate thing, though. In fact, several years ago, after I made Nightcode, 
I built a tool just like that, called Nightmod. My latest project, 
Nightcoders.net, is kind of a web-based equivalent of Nightcode. Based on 
this pattern, guess what project I'm thinking of working on next =)

Zach

On Sunday, January 15, 2017 at 4:35:04 AM UTC-5, Erik Assum wrote:
>
> Hi Zach, 
>
> I just stumbled upon your blog post about this at 
> https://sekao.net/blog/nightcoders.html, by the way of Shaun LeBron 
> retweeting Josh Burkes tweet which cited "We should try to be the next 
> Geocities, not the next Intellij". 
>
> Last night, I spent some time coding with my son over on http://code.org. 
> We started out with some flappy-bird thing, and ended 
> up on https://codecombat.com/play?hour_of_code=true which is some kind of 
> strange mix between coding and playing a game.
>
> Since I don't play games, but program, and my son doesn't program but 
> plays games, this thing hit the sweet-spot for us, and I guess
> it's an example of an idea I've had for quite some time, make a game where 
> the main interaction with the game is through coding.
>
> I'm not sure where I'm going with all this rambling, but here is a couple 
> of points:
>
> 1) The flappy bird thing https://studio.code.org/flappy/1 essentially 
> provides you with hooks into an event loop with predefined functions
> to call so kids can play around with stuff and see results easily.
>
> 2) The drawback with this approach (the graphic coding approach) is 
> highlighted in Tommy Halls euroclojure talk from 2013
> https://vimeo.com/100425264, which basically states that these approaches 
> are not turtles all the way down and that that is a bad thing.
>
> 3) Knowing that you create games (
> https://www.youtube.com/watch?v=0GzzFeS5cMc), I'd love to see some kind 
> of more fleshed out 
> game example in Nightcoders to start, well, playing with.
>
> 4) For kids (at least my 9yo), it seems like giving them an IDE and say 
> here, code some stuff, doesn't work. But give a kid something like 
> http://dragonbox.com/products/algebra-5, and they cannot stop solving 
> equations. 
>
> I'm not quite sure why I'm writing this, other than to say Nightcoders 
> seems like a step in the right direction, and that I agree with the
> quote from the blog, and here are the thoughts it provoked.
>
> Erik.
>
> On Wed, Jan 4, 2017 at 5:20 PM, Zach Oakes 
> > wrote:
>
>> Cloud IDEs are becoming more common. To quote the rifleman's creed, there 
>> are many others like it, but this one is mine:
>>
>> http://nightcoders.net/
>>
>> It's basically a hosted version of Nightlight, running the compiler on my 
>> server so you can build CLJS projects using nothing but a web browser. I'm 
>> aiming at beginners, much like I did with the original Nightcode, but this 
>> time I'm going further by eliminating all setup requirements.
>>
>> Please be gentle with it. I've only been working on this for the past few 
>> weeks while vacationing in mexico...mostly as a distraction while my body 
>> convulsed over the somewhat unhygienic street food I gave it. I spent a lot 
>> of time in the bathroom. That may be oversharing. Oh well.
>>
>> Enjoy!
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com 
>> 
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+u...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Hiccup 2.0.0-alpha1

2017-01-15 Thread Bryan Maass
Fantastic news! This may call for an update to http://hiccup.space

On Sunday, January 15, 2017 at 1:17:24 PM UTC+11, James Reeves wrote:
>
> I'd like to tentatively announce the first alpha version of Hiccup 2.0.0.
>
> This release introduces automatically escaping of strings, which has been 
> a frequently requested feature. Hiccup 1.0 had no way of distinguishing 
> between a string of text and a fragment of HTML, so for version 2.0 a new 
> type has been introduced to represent the latter.
>
> A lot of projects depend upon Hiccup, and after thinking about it for a 
> while, and watching Rich's Spec-ulation 
>  talk, I decided to 
> introduce a new namespace rather than break backward compatibility. So 
> although Hiccup 2.0.0 is a major version change, it should be backward 
> compatible with version 1.0.
>
> The new namespace is hiccup2.core, and it works like this:
>
>   (require '[hiccup2.core :refer [html raw]])
>
>   (str (html [:span "one < two"]))
>   ;=> "one < two"
>
> Notice that now strings are escaped by default, but we also need to 
> explicitly convert the HTML fragment into a string by using 
> clojure.core/str.
>
> By using a compiled intermediate format, we gain a lot more potential 
> flexibility. For example, possible future feature currently under 
> consideration is to support different ways of formatting the HTML. Using an 
> intermediate format allows us to do this after pre-compilation has taken 
> place.
>
> Because this is an alpha release, the hiccup2.core namespace is not set in 
> stone, but it does seem to be the simplest solution to the problem of 
> incompatibility. Suggestions for better ways to solve this are welcome and 
> encouraged.
>
> As well as escaping strings, additional syntax sugar for attributes has 
> been introduced. This should be familiar to anyone using Reagent:
>
>   (str (html [:span {:class ["foo" "bar"]} "example"]))
>   ;=> "example"
>
>   (str (html [:span {:style {:color "red"}} "example"]))
>   ;=> "example"
>
> Please give the alpha release a spin, and if there are any 
> incompatibilities please let me know.
>
> - James
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Nightcoders.net, a cloud IDE for ClojureScript

2017-01-15 Thread Erik Assum
Hi Zach,

I just stumbled upon your blog post about this at
https://sekao.net/blog/nightcoders.html, by the way of Shaun LeBron
retweeting Josh Burkes tweet which cited "We should try to be the next
Geocities, not the next Intellij".

Last night, I spent some time coding with my son over on http://code.org.
We started out with some flappy-bird thing, and ended
up on https://codecombat.com/play?hour_of_code=true which is some kind of
strange mix between coding and playing a game.

Since I don't play games, but program, and my son doesn't program but plays
games, this thing hit the sweet-spot for us, and I guess
it's an example of an idea I've had for quite some time, make a game where
the main interaction with the game is through coding.

I'm not sure where I'm going with all this rambling, but here is a couple
of points:

1) The flappy bird thing https://studio.code.org/flappy/1 essentially
provides you with hooks into an event loop with predefined functions
to call so kids can play around with stuff and see results easily.

2) The drawback with this approach (the graphic coding approach) is
highlighted in Tommy Halls euroclojure talk from 2013
https://vimeo.com/100425264, which basically states that these approaches
are not turtles all the way down and that that is a bad thing.

3) Knowing that you create games (
https://www.youtube.com/watch?v=0GzzFeS5cMc), I'd love to see some kind of
more fleshed out
game example in Nightcoders to start, well, playing with.

4) For kids (at least my 9yo), it seems like giving them an IDE and say
here, code some stuff, doesn't work. But give a kid something like
http://dragonbox.com/products/algebra-5, and they cannot stop solving
equations.

I'm not quite sure why I'm writing this, other than to say Nightcoders
seems like a step in the right direction, and that I agree with the
quote from the blog, and here are the thoughts it provoked.

Erik.

On Wed, Jan 4, 2017 at 5:20 PM, Zach Oakes  wrote:

> Cloud IDEs are becoming more common. To quote the rifleman's creed, there
> are many others like it, but this one is mine:
>
> http://nightcoders.net/
>
> It's basically a hosted version of Nightlight, running the compiler on my
> server so you can build CLJS projects using nothing but a web browser. I'm
> aiming at beginners, much like I did with the original Nightcode, but this
> time I'm going further by eliminating all setup requirements.
>
> Please be gentle with it. I've only been working on this for the past few
> weeks while vacationing in mexico...mostly as a distraction while my body
> convulsed over the somewhat unhygienic street food I gave it. I spent a lot
> of time in the bathroom. That may be oversharing. Oh well.
>
> Enjoy!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.