Re: small project to learn clojure

2011-09-18 Thread Zack Maril
Confession:The best way I have found to learn a language is to pick a
girl and make something that impresses her.

When I was learning to use Node.js, I made a chat room for my
girlfriend and I to talk in when we doing a long distance
relationship. It had a sassy robot that pulled pictures of lolcats
from reddit on command. Another weekend, I made a robot that would
sext pickup lines if a girl messaged the right number. The simpler a
project sounds, a  flirty robot that I can sext!, the more
complicated the implementation will be. Although it was easy to do in
node, I imagine that making a sexting robot service with clojure would
make you learn a great deal about state if you tried to go from simple
pick up lines to a robot that could conduct multiple conversations at
once with several different people/numbers.

It's what has worked for me and will probably be the technique I use
for the foreseeable future.  The idea is limited to topics that can be
wrapped up into packages to impress women, but that is really just a
exercise in imagination and creativity. Make friends with a math major
and a whole field of abstract topics crop up that are fair game.

Good luck!
-Zack a.k.a American College Male

P.S. I am extremely sorry if females feel left out by this advice.
This is what has worked for me as a guy wishing to learn programming.
I wish I had advice for you that would be more useful if you were
trying to learn a language. If you generalized to make something you
would want to show your friends, then it is probably still pretty
applicable.

On Sep 17, 3:23 am, Thorsten Wilms t...@freenet.de wrote:
 On 09/16/2011 11:50 PM, Dennis Haupt wrote:

  i feel compelled to do something more complex in clojure. not too big,
  but bigger than what fits in 100 lines and offers some chances to use
  macros.
  it should also be fun, maybe something like robocode.

 Something that is not primitive but may stay small or at least has
 clearly defined boundaries right from start ... if you rule out pure
 logic puzzles, this does point to games, I think.

 There are so many simple games, some of which must have been implemented
 a million times. You could try to do one of those, but with a twist,
 perhaps.

 Like a Pacman, but where you steer the ghosts (only one at a time,
 changing the direction it heads to).

 Dungeonmaster-Sokoban, where you have to push boxes to create a path
 that will lead to the hero's death, once he arrives. That without
 trapping your own worker.

 OR, you look for an existing project, where you could implement a
 missing feature. Ideally one where you could interact with the
 author/contributors via IRC.http://www.webnoir.org/might be a
 candidate, where a comment system or tagging come to mind (I'm not
 affiliated and don't know if something like that is underway, already).

 --
 Thorsten Wilms

 thorwil's design for free software:http://thorwil.wordpress.com/

-- 
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


Re: small project to learn clojure

2011-09-18 Thread Andreas Kostler
If Robocode is fun to you, why not do that then:
http://nakkaya.com/2010/07/06/controlling-robocode-engine-from-clojure/
http://www.fatvat.co.uk/2009/05/clojure-and-robocode.html

There's also been a thread on this group about the same topic a while ago.
Hope this helps
Andreas

On 19 September 2011 10:39, Zack Maril thewitzb...@gmail.com wrote:
 Confession:The best way I have found to learn a language is to pick a
 girl and make something that impresses her.

 When I was learning to use Node.js, I made a chat room for my
 girlfriend and I to talk in when we doing a long distance
 relationship. It had a sassy robot that pulled pictures of lolcats
 from reddit on command. Another weekend, I made a robot that would
 sext pickup lines if a girl messaged the right number. The simpler a
 project sounds, a  flirty robot that I can sext!, the more
 complicated the implementation will be. Although it was easy to do in
 node, I imagine that making a sexting robot service with clojure would
 make you learn a great deal about state if you tried to go from simple
 pick up lines to a robot that could conduct multiple conversations at
 once with several different people/numbers.

 It's what has worked for me and will probably be the technique I use
 for the foreseeable future.  The idea is limited to topics that can be
 wrapped up into packages to impress women, but that is really just a
 exercise in imagination and creativity. Make friends with a math major
 and a whole field of abstract topics crop up that are fair game.

 Good luck!
 -Zack a.k.a American College Male

 P.S. I am extremely sorry if females feel left out by this advice.
 This is what has worked for me as a guy wishing to learn programming.
 I wish I had advice for you that would be more useful if you were
 trying to learn a language. If you generalized to make something you
 would want to show your friends, then it is probably still pretty
 applicable.

On Sep 17, 3:23 am, Thorsten Wilms t...@freenet.de wrote:
 On 09/16/2011 11:50 PM, Dennis Haupt wrote:

  i feel compelled to do something more complex in clojure. not too big,
  but bigger than what fits in 100 lines and offers some chances to use
  macros.
  it should also be fun, maybe something like robocode.

 Something that is not primitive but may stay small or at least has
 clearly defined boundaries right from start ... if you rule out pure
 logic puzzles, this does point to games, I think.

 There are so many simple games, some of which must have been implemented
 a million times. You could try to do one of those, but with a twist,
 perhaps.

 Like a Pacman, but where you steer the ghosts (only one at a time,
 changing the direction it heads to).

 Dungeonmaster-Sokoban, where you have to push boxes to create a path
 that will lead to the hero's death, once he arrives. That without
 trapping your own worker.

 OR, you look for an existing project, where you could implement a
 missing feature. Ideally one where you could interact with the
 author/contributors via IRC.http://www.webnoir.org/might be a
 candidate, where a comment system or tagging come to mind (I'm not
 affiliated and don't know if something like that is underway, already).

 --
 Thorsten Wilms

 thorwil's design for free software:http://thorwil.wordpress.com/

 --
 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



-- 
**
Andreas Koestler, Software Engineer
Leica Geosystems Pty Ltd
270 Gladstone Road, Dutton Park QLD 4102
Main: +61 7 3891 9772     Direct: +61 7 3117 8808
Fax: +61 7 3891 9336
Email: andreas.koest...@leica-geosystems.com

www.leica-geosystems.com*

when it has to be right, Leica Geosystems

Please  consider the environment before printing this email.

-- 
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


Re: small project to learn clojure

2011-09-17 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

i DID care about my robot :)

Am 17.09.2011 04:57, schrieb Alan Malloy:
 Notice something you do often, and try to automate it. Or find an
 open- source project you use, and you wish were better in some way,
 and improve it. Learning a language by means of I need to learn 
 something, what should I do is not as effective, or as fun, as 
 learning it by doing something you care about.
 
 On Sep 16, 2:50 pm, Dennis Haupt d.haup...@googlemail.com wrote: 
 hi community,
 
 i feel compelled to do something more complex in clojure. not too
 big, but bigger than what fits in 100 lines and offers some chances
 to use macros. it should also be fun, maybe something like
 robocode.
 
 
- -- 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOdEvzAAoJENRtux+h35aGN8MQAI3lnLB31L1C2brCh4jgWWdo
AOW+nhiF5X47ab3WPnaIrcVOkE89OBQE4/7hXlSqeJD8W6zh4uCIhkFzIKk/p9xN
ISgUBues9qxh8SIhpujCgnhyp44ms8ifHzHlZIiBuR2O2+LBeYKyZIepyZCdjpcf
zZ/4er3lpKB5DTwQ3X+TRAHK4zHC3eEhtSwaLki9AShw2f5abFT5H8Mo/ptSogOt
lkYZHEWNHr2xShBtvJZtXfXTecRisT3Ra3ukkeAldgfRst1LXmy2G44HN1B3Cn+K
9yQJoja4aySqtEKilzADkG2+8AyNK5y2UoGjehca9omGha30KkreyNiyLws/njNn
I6YGBLgzIAgcu+gXTPXqV8j0gE1YBrgTcQvzMTKlOKnA/DG0mJwJTLdfE5q6FNP5
92lAntea0fNBb5RMFpcNa4/c8lGvwgiNAJtAYeX2G1v6MFMavd1nbN/HR3fS3rLQ
wpR6ssPSqjQxQZ5a0MzM/vXJX2qn8/rNqo7RkgLRMv0abOPMCA2FEtxxxsrHetkz
lY/O/B+F6ByKxp5W9xdHE9f2QxfSYf9lXr0eEuHWOeJK10Jj2tYR4WmxB/s/cFNI
KUGTrAeh666TTyzAq93OHLHh7y7lLXY4SwUMyOHO8t1UK0aDMlnZqRWtAHPuN3+r
UF3ujhgj3WbGOeEzPEBg
=ekWR
-END PGP SIGNATURE-

-- 
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


Re: small project to learn clojure

2011-09-17 Thread Thorsten Wilms

On 09/16/2011 11:50 PM, Dennis Haupt wrote:


i feel compelled to do something more complex in clojure. not too big,
but bigger than what fits in 100 lines and offers some chances to use
macros.
it should also be fun, maybe something like robocode.


Something that is not primitive but may stay small or at least has 
clearly defined boundaries right from start ... if you rule out pure 
logic puzzles, this does point to games, I think.


There are so many simple games, some of which must have been implemented 
a million times. You could try to do one of those, but with a twist, 
perhaps.


Like a Pacman, but where you steer the ghosts (only one at a time, 
changing the direction it heads to).


Dungeonmaster-Sokoban, where you have to push boxes to create a path 
that will lead to the hero's death, once he arrives. That without 
trapping your own worker.



OR, you look for an existing project, where you could implement a 
missing feature. Ideally one where you could interact with the 
author/contributors via IRC. http://www.webnoir.org/ might be a 
candidate, where a comment system or tagging come to mind (I'm not 
affiliated and don't know if something like that is underway, already).



--
Thorsten Wilms

thorwil's design for free software:
http://thorwil.wordpress.com/

--
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


small project to learn clojure

2011-09-16 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi community,

i feel compelled to do something more complex in clojure. not too big,
but bigger than what fits in 100 lines and offers some chances to use
macros.
it should also be fun, maybe something like robocode.

- -- 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOc8SiAAoJENRtux+h35aGh1cP/jpv1MaEES/5uTPdbDH3Sx45
hVMMC7zw6q2X1b2yEpfxSJzuDoThS7ptI2vQL2izbr9C0fwuBxuXgIXgSgLAl14S
mVwnpfn5BIcuNf0QS1QfpJhCLQDJnh+EF13DKnqrNJnP9ACLJ89p8a0CB9SURFCE
SgpWoTrAgNKiF1N+P9uP54N7WhwlQ20qkmn+XZDKLJWa4PFlQEpHM32rwYsYpEv8
1eM+X1xR0Z6LEKjbZGyWOShgvN2j4YdosQUWL7FQku2Z7150g13upt6nLNvF9tC6
IO+xlnJ4T68Joq8o3jOBhw+hMszQ0Ax54UfW2Q1QJjiB/E5Ex7NPhCCPdDKcQSPU
YWEPHhf/ft9mXWxlEXRhLw1C0R4FwZ6OtNdMLx7X7jk/e/DCjFIxyXinyObm6BVZ
sCaX4EzwA16rBeAc3D3LxMigvfm0zxEx1sp1skSyL2HQ7rNb++nR7hJjmd96yT20
MxxbIc0eTj4IZEKz+8W5U+FV7rYa11SREiDq0BBmxi1i3tJarNAAJ9I48OhOFn3y
QSAT4/oblh8xa4+FgFLVnWz9rXNJMhBcgVcA1fxJLvysxG4C3MMOhVBRtR4kBt4x
OcBDNn+yny4FYknxDQMo9l5VJyBuD6AlHIaKK/eBkikaX06Fwkg6/MgzwMtkJ7yR
NT21x0zDCYiXdTa3SNv8
=Gqz8
-END PGP SIGNATURE-

-- 
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


Re: small project to learn clojure

2011-09-16 Thread Alan Malloy
Notice something you do often, and try to automate it. Or find an open-
source project you use, and you wish were better in some way, and
improve it. Learning a language by means of I need to learn
something, what should I do is not as effective, or as fun, as
learning it by doing something you care about.

On Sep 16, 2:50 pm, Dennis Haupt d.haup...@googlemail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 hi community,

 i feel compelled to do something more complex in clojure. not too big,
 but bigger than what fits in 100 lines and offers some chances to use
 macros.
 it should also be fun, maybe something like robocode.

 - --

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.14 (MingW32)
 Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org/

 iQIcBAEBAgAGBQJOc8SiAAoJENRtux+h35aGh1cP/jpv1MaEES/5uTPdbDH3Sx45
 hVMMC7zw6q2X1b2yEpfxSJzuDoThS7ptI2vQL2izbr9C0fwuBxuXgIXgSgLAl14S
 mVwnpfn5BIcuNf0QS1QfpJhCLQDJnh+EF13DKnqrNJnP9ACLJ89p8a0CB9SURFCE
 SgpWoTrAgNKiF1N+P9uP54N7WhwlQ20qkmn+XZDKLJWa4PFlQEpHM32rwYsYpEv8
 1eM+X1xR0Z6LEKjbZGyWOShgvN2j4YdosQUWL7FQku2Z7150g13upt6nLNvF9tC6
 IO+xlnJ4T68Joq8o3jOBhw+hMszQ0Ax54UfW2Q1QJjiB/E5Ex7NPhCCPdDKcQSPU
 YWEPHhf/ft9mXWxlEXRhLw1C0R4FwZ6OtNdMLx7X7jk/e/DCjFIxyXinyObm6BVZ
 sCaX4EzwA16rBeAc3D3LxMigvfm0zxEx1sp1skSyL2HQ7rNb++nR7hJjmd96yT20
 MxxbIc0eTj4IZEKz+8W5U+FV7rYa11SREiDq0BBmxi1i3tJarNAAJ9I48OhOFn3y
 QSAT4/oblh8xa4+FgFLVnWz9rXNJMhBcgVcA1fxJLvysxG4C3MMOhVBRtR4kBt4x
 OcBDNn+yny4FYknxDQMo9l5VJyBuD6AlHIaKK/eBkikaX06Fwkg6/MgzwMtkJ7yR
 NT21x0zDCYiXdTa3SNv8
 =Gqz8
 -END PGP SIGNATURE-

-- 
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