Search found 43 matches

by Pixel_Outlaw
Mon Sep 21, 2015 3:19 pm
Forum: The Lounge
Topic: Situations for heterogeneous containers
Replies: 0
Views: 7807

Situations for heterogeneous containers

One thing that seems to be popular among some programmers is that "you're doing it wrong" if you even think about heterogeneous collections. However I often find use for them. I think a lot of the opposition comes from languages that are statically typed and provide no clean way to check f...
by Pixel_Outlaw
Fri Jan 30, 2015 12:29 am
Forum: Scheme
Topic: Which version of this function is best?
Replies: 0
Views: 14385

Which version of this function is best?

So I've finished SICP videos and I noted that sometimes DEFINE is used twice to package a function within a function. I know that Scheme demands tail recursion. So I'd like to get some thoughts on the two versions of a function to get the first n many items. The second is mine. I thought the first m...
by Pixel_Outlaw
Sat May 17, 2014 8:54 am
Forum: Common Lisp
Topic: Overlooked Featues in Common Lisp
Replies: 4
Views: 9716

Re: Overlooked Featues in Common Lisp

Some very good suggestions. I have the feeling there is far more complexity to the CLOS than there appreas too.
by Pixel_Outlaw
Thu May 15, 2014 10:22 pm
Forum: The Lounge
Topic: Armed Bear Common Lisp?
Replies: 0
Views: 8015

Armed Bear Common Lisp?

I'm glad to see that somebody has taken the time to implement Common Lisp for the JVN. One of the things that strikes me as difficult is properly handling the entire breadth of Common Lisp. As much as I hate Java I suppose it is somewhat nice that we can use Common Lisp within its (very portable) vi...
by Pixel_Outlaw
Thu May 15, 2014 10:14 pm
Forum: Common Lisp
Topic: Overlooked Featues in Common Lisp
Replies: 4
Views: 9716

Overlooked Featues in Common Lisp

Common Lisp is a fairly big language.
I'm trying to get an idea of features I might have missed while reading books.
Does anyone have features of the language that they feel are often overlooked but really neat to know?
by Pixel_Outlaw
Tue Apr 08, 2014 8:24 pm
Forum: Common Lisp
Topic: Problem with setf/aref and arrays
Replies: 3
Views: 7393

Re: Problem with setf/aref and arrays

Thanks edgar! That seems to have done the trick.
by Pixel_Outlaw
Mon Apr 07, 2014 9:33 pm
Forum: Common Lisp
Topic: Problem with setf/aref and arrays
Replies: 3
Views: 7393

Problem with setf/aref and arrays

Hello, I'm writing a dungeon crawing game. The Dungeon class is pretty simple. It consists of a 2D array of Tile structs. The tiles can be either solid of not solid. My problem comes with the carve-room function. Instead of just setting the desired Tiles in the array to be nil for :solid it sets all...
by Pixel_Outlaw
Mon Mar 10, 2014 8:00 pm
Forum: The Lounge
Topic: Are passwords a necessary evil?
Replies: 7
Views: 19169

Re: Are passwords a necessary evil?

You can always derive you own algorithm. :) Then you use a single password for the "seed" value. I'm highly against password fill in software in that it makes the forgetful completely stuck when they can't install the plugins on other people's computers. Not only this but they still own yo...
by Pixel_Outlaw
Sat Mar 08, 2014 2:43 pm
Forum: Emacs Lisp
Topic: eLOGO plugin ...
Replies: 1
Views: 14438

Re: eLOGO plugin ...

Did some more work on this... Screenshot: http://i.imgur.com/jdmxb6L.png ;;;; Author: Ryan Burnside ;;;; Date: 2014-03-06 ;;;; Released under GPL v4 ;;; This is the beginning of a LOGO like module to draw vector shapes ;;; Historically the cursor is called a "turtle" ;;; It has a small set...
by Pixel_Outlaw
Thu Mar 06, 2014 10:23 pm
Forum: Emacs Lisp
Topic: eLOGO plugin ...
Replies: 1
Views: 14438

eLOGO plugin ...

So I'm making a little LOGO system again, this time in elisp. Ideally you could even have source code that spits out diagrams for more visual parts of a program by embedding small elisp snippets. Or perhaps you could use it to create elisp games that need a more visual presentation. (I know there is...