Looks like there᾿s nothing here, sorry. You might want to try the search function. Alternatively, return to the front page.
-
My cousins grew up there :) If y’all knew a family of redheads in the 70’s, it’s probably them.
-
This script does not work.
-
Very smart, small and clean code. I would just add .downcase to gets.chomp at line 9. All words in the dictionary are downcase and so you can type in any case and get the same answer. Thanks!
-
Pingback from Pretty Emacs fonts in Ubuntu | chrislea.com on May 24, 2009 at 8:31 pm
-
I was on Kwaj from 70-73 and used to babysit Dick Knuckey’s kids. I was at the Echo pier the
nite his body was brought back from being found on the Prinz Eaugen -
Pingback from Lojic Technologies Blog · Learning Logo - Part 4 on July 26, 2009 at 2:51 pm
-
A lot of the replies used Brian’s original technique of passing in a “sofar”. My Python version avoided this and did the concatenation on the return path, which seems a little more like the “functional way”. Brian pointed out to me that my original Python version misunderstood the intentions for “ultra chocolate”. A briefer and more correct version is available here: http://scott.andstuff.org/PythonSpikes
-
I’ve also tried a similar approach in Clojure. I tried to combine Clojure’s (for) macro with (gensym), but (for) didn’t like anything other than a literal vector, so I couldn’t make any progress there. Instead I took a simple recursive approach, as with many of the solutions above:
(def choices '(("small" "medium" "large") ("vanilla" "ultra chocolate" "lychee" "rum raisin" "ginger") ("cone" "cup"))) (defn combo [l] (if (empty? (rest l)) (first l) (for [x (first l) y (combo (rest l))] (str x " " y)))) (doseq [x (combo choices)] (println x)) -
Brian, I gave this a try in Clojure. You can see my solution over here: http://scott.andstuff.org/ClojureSpikes.
-
I’ve posted two alternate Clojure solutions here: http://scott.andstuff.org/ClojureSpikes. They take a slightly different approach from Raffael’s above. The high-level structure of my second solution is inspired by Raffael’s second solution — this is a helpful LISP idiom that I was glad to learn.
-
HEY BRO, THANK YOU SO MUCH FOR THE ADVERTISMENT, I WAS ABOUT TO INSTAL THAT [STUFF] ON (IN) MY MAC. GRACIAS
-
Ha, well, turns out that the clojure-contrib library, a standard part of any serious Clojure setup, has some built-in combinatorics support. That brings the Clojure sample down to a simple call to “cartesian-product”. I use “apply” below since cartesian-product expects the choices to be supplied as a series of arguments rather than a list of lists.
(use 'clojure.contrib.combinatorics) (def choices '(("small" "medium" "large") ("vanilla" "ultra chocolate" "lychee" "rum raisin" "ginger") ("cone" "cup"))) (doseq [x (apply cartesian-product choices)] (apply println x)) -
Quote:
I feel that a reasonable level of proficiency is required to evaluate a language well. I have seen many examples of someone, with only a little knowledge of a programming language, making an unfounded criticism of a programming language, or a particular feature, only to be corrected with an accurate, elegant and convincing counter argument by someone who is experienced with the language.I can’t agree on this. Usually after a short time I have good understanding is language worth it or not. After a while I could get used to something but it just never finds place in my heart. I’ve tried Haskell for few weeks I’m pretty sure that it’s not my kind of language. Links about my experiences are below. Beside why not giving a chance to Mark Tarver Qi http://www.lambdassociates.org/ ?
(*) http://tourdelisp.blogspot.com/2008/03/lisper-first-look-at-haskell.html
(**) http://tourdelisp.blogspot.com/2008/03/farewell-haskell.html -
Since there is no huge company or community to fall on niche languages like lisp, haskell, prolog, apl & forth usually work best under very specific circumstances.
Though things might have changed since the last time I’ve checked haskell ecosystem was worse then common lisp by very far. Though I don’t mind being outside mainstream I would really want to hear about companies making money with it before I bet my applications on it.BTW what kind of work the language you’re looking should be suitable for? From reading your 2009 language plan I assume you’re thinking of web applications and judging by the latest trend you should probably learn some good javascript library (like qooxdoo or dojo) and pool some data from the server back end from whatever language you’re most familiar with (be it Lisp Hunchentoot, Elang Yaws or whatever is the name of the Haskell web server). If you still prefer to avoid javascript solutions maybe weblocks http://weblocks.viridian-project.de/ might be interesting for you. It’s very well documented and tested in production use with active community and helpful maintainers.
If you’re more into something cutting edge but don’t mid if its still into development Thomas Elam Dojo Zen http://www.box.net/shared/mxv4hqrp2p might be interesting for you. -
A very good talk indeed, I liked it very much.
-
I was born on Kwaj and would love to go back some time. just poking around looking for info
-
Thanks Brian for the quick tip .. It really helps.
One more adjustment to add, specially when u have models in namespaces which will result in test files in sub-directories under the test different paths (Unit and Functional).
I made these changes to paths in the task:
test/unit/**/*_test.rb
test/functional/**/*_test.rb
test/integration/**/*_test.rbinstead of
test/unit/*_test.rb
test/functional/*_test.rb
test/integration/*_test.rbThis began when I’ve noticed that RCov shows that some models and controllers are not well covered though I was sure they are properly covered. Then I discovered that all of these files are classes in namespaces with their test files in sub folders under the test/unit and test/functional.
This is also a problem with the “shoulda:list” task, as it skips such classes saying that they don’t map to a class.
-
Hi all. We are so intreged by the wonderful words we have read about living/working on Kwaj. We, too, are awaiting word regarding an accompanied position we have applied for. Any other info greatly appreciated. Feel it would be a wonderful, once-in-a-lifetime experience for us! Thanks!!
-
I know both Python and Ruby, and IMHO your Ruby edition is much more readable. As pretty as a typical elementary number theory theorem and proof.
-
Hi
Sorry I didn’t catch up with you guys earlier – spent a very frustrating Christmas 2009 with lego support and they still (still Vibeke) have not solved for OSX10.6
I have had to regress to my father’s windows laptop so that my son can use his Christmas present – I’m not smart enough to set up a virtualised machine !!
Stuck waiting for Lego support to issue a fix… -
If you copy the link location when hovering over the star rating and paste it into the location bar, you can set half ratings.
-
Brian,
I know this post was 1 1/2 years ago, but it’s just what I needed. Thanks for the post. I’d like to ask for some tips on using rcov effectively. I’ll try to remember when I see you.
Best,
Michael
‹ Previous · 1 · 2 · 3 · 4
Comments are now closed.

Add a comment