On May 21, 2009, at 7:39 PM, CuppoJava wrote:
Hi everyone,
I'm just wondering where the equivalent of the operator is for
Clojure. I need it to do a divide-by-power-of-2 on unsigned bytes.
I could use this too.
—
Daniel Lyons
http://www.storytotell.org -- Tell It!
On May 20, 2009, at 5:42 PM, Raoul Duke wrote:
hi,
Seems like Haskell's laziness has an aura of it will bite you
performance-wise sooner or later. What is different (I'm asking
didactically, not snarkily) about Clojure's laziness? Does it manage
to avoid some aspects of the uh ohs in
On May 21, 2009, at 1:32 AM, Konrad Hinsen wrote:
I can't say if there is an important difference between Haskell and
Clojure
implementation-wise.
I would be surprised if the basic idea (passing thunks instead of
values) were different or could be much different. On the other hand,
On May 21, 9:35 pm, tcg tomgu...@gmail.com wrote:
You would think with Clojure's ability to make use of mutli cpu
hardware it would be a good choice for high-end game development.
Clojure is not the only language which provides access to multiple
CPUs/cores. When programming with immutable
On 22.05.2009, at 10:03, Mark Engelberg wrote:
However, there seems to be one way that this solution falls short of
the load-and-redefine technique.
I don't think it can ever fall short of the load-and-redefine
technique because you can emulate it completely (unless I overlooked
Vagif,
Of course, we have plans to support remoter REPL as well. For now you may
use `remote debug' run configuration type to connect to the appropriate
application port and debug it.
With best regards,
Ilya
2009/5/21 Vagif Verdi vagif.ve...@gmail.com
Do you have plans to add
On Fri 22/05/09 09:50 , jdz yohoho...@gmail.com sent:
On May 21, 9:35 pm, tcg tomgu...@g
mail.com wrote: You would think with Clojure's ability to make
use of mutli cpu hardware it would be a good choice for high-end
game development.
Clojure is not the only language which provides
On Fri 22/05/09 03:39 , CuppoJava patrickli_2...@hotmail.com sent:
Hi everyone,
I'm just wondering where the equivalent of the
operator is forClojure. I need it to do a divide-by-power-of-2 on unsigned
bytes.
Java doesn't have this either. Its operator doesn't work properly on
On Fri, May 22, 2009 at 1:37 AM, Konrad Hinsen
konrad.hin...@laposte.net wrote:
As long as it uses the same variables as the template, it would still
work, but (like the load-and-redefine method) it would fail as soon
as the template author decides to change the names of his variables.
I
Hi Toni.
Unfortunately for now we don't have neither description of existing features
nor complete how-to manual. In fact some details look quite similar to Scala
support, which is described here:
http://www.jetbrains.net/confluence/display/SCA/Scala+Plugin+for+IntelliJ+IDEA
We're going to add
On Thu 21/05/09 17:43 , Rich Hickey richhic...@gmail.com sent:
I'd like to do something modest but distinguishing. I have a vague
notion of showing some Clojure data originating in some XML off the
web, being passed to some filtering/walking code, getting displayed,
stored in a DB, all
On Fri 22/05/09 02:23 , Brett Morgan brett.mor...@gmail.com sent:
Hi guys,
I have some evil thoughts of using Clojure as a java library so that i
can use both the STM and the persistent data structures in projects
that my team of java developers can work with.
As much as I'd like to
On 22.05.2009, at 11:01, Mark Engelberg wrote:
I was thinking that if you have:
(def a 2)
(def b 3)
(defn f [] a)
and you set it up with your deftemplate macro where f is the thing
that is parameterized, then if you try to pass in a new value for f,
like:
(fn [] b), it macro expands to
On May 21, 11:38 pm, Adrian Cuthbertson adrian.cuthbert...@gmail.com
wrote:
... impact part can be merged with the business application mindset by
generating a report that includes the data visualization (I think PDF
generation is built into processing).
I've been doing some work with
On May 22, 7:16 am, Rich Hickey richhic...@gmail.com wrote:
On May 21, 11:38 pm, Adrian Cuthbertson adrian.cuthbert...@gmail.com
wrote:
... impact part can be merged with the business application mindset by
generating a report that includes the data visualization (I think PDF
I did something similar the other week:
http://www.talios.com/connecting_the_clouds__the_internet_in_new_zealand_in_pdf.htm
Using clj_web_crawler and XHtmlRenderer to make a PDF of a locally available
book (in wiki format) on the history of the New Zealand Internet.
On Fri, May 22, 2009 at
I have a one pagish program that you pass in your screen resolution and it
randomly picks out a new
desktop image from ftp.gnome.org, downloads the image and updates your
desktop. This assumes
your using Gnome.
This Monday, I got a call from a friend who's working at a large US
company selling chips and scanners for id cards.
They are biding on a large contract for a foreign country and need to
provide printed samples in their
answer to this RFP. The deadline is next week.
The sample ids had to be
On May 21, 2009, at 12:35 PM, tcg wrote:
Does anyone know if big game studios like Electronic Arts are using or
looking into Clojure for this purpose?
Apparently one company wrote some games in Lisp (Jak and Daxter):
http://en.wikipedia.org/wiki/Game_Oriented_Assembly_Lisp
Who knows? It
You would think with Clojure's ability to make use of mutli cpu
hardware it would be a good choice for high-end game development.
Does anyone know if big game studios like Electronic Arts are using or
looking into Clojure for this purpose?
It's unlikely to be used in a core game engine,
EA is a publisher, not a producer.
And they did publish the videogame Abuse, which is made from a list
variant:
http://en.wikipedia.org/wiki/Abuse_(computer_game)
Interestingly, there is a thread about video game programming using
Lisp here:
http://news.ycombinator.com/item?id=516778
And the
Wow that's news to me...
I thought this was a fairly standard operator. I'm surprised that Java
doesn't have a correct version of it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Clojure group.
To post to this
I'm having some trouble getting clojure to generate .class files. I
have a directory layout like this:
test/
main.clj
where main.clj is the same file as from
http://clojure.org/compilation, but with the 'clojure.examples.hello
replaced with 'test.main . I've tried running clojure a few
On Fri, May 22, 2009 at 5:17 PM, CuppoJava patrickli_2...@hotmail.com wrote:
Wow that's news to me...
I thought this was a fairly standard operator. I'm surprised that Java
doesn't have a correct version of it.
I think the problem is that Java does not have unsigned bytes (or
other integer
You probably need to set (and create!) the correct compilation
(output) directory. This defaults to a classes directory as a
subdirectory of your current working directory. So if you had:
test/main.clj
you'd need
classes/class files will appear here
also make sure that this directory is on
You probably need to set (and create!) the correct compilation
(output) directory. This defaults to a classes directory as a
subdirectory of your current working directory. So if you had:
And this worked! Now that I'm looking for the *compile-path*
variable, I see that it's mentioned in the
Like other mentioned in the thread, Java has neither the operator,
nor unsigned data types.
With that said, I think the function you are looking for is bit-shift-
right:
user (bit-shift-right 2r1110 1)
7
I hope this helps.
Vincent.
On May 21, 9:39 pm, CuppoJava patrickli_2...@hotmail.com
I also had lots of problems getting compilation to work. I think
perhaps Clojure is making some assumptions about where your working
directory is located relative to your clojure.jar and classpath, and
if you have a different directory structure, things fail. For me, the
solution was to
We're very excited to announce a Bay Area Clojure User Group meeting
in San Francisco with special guest Rich Hickey.
The meeting will be Wed. June 3 @ 5:30PM. This is during the JavaOne
conference and we hope that all Clojurians (and those interested in
Clojure) who find themselves in SF for
Rich Hickey a écrit :
Actually, let me extend that invitation - if anyone's got a small
(one-page-ish) Clojure program that does something interesting, and
are willing to have it demonstrated at JavaOne, please paste it
somewhere and post a note here.
I'm dabbling with a quick and dirty
OK, after looking at deftemplate with macroexpand, it's starting to
make more sense. I suppose one downside to this versus load is that
it's probably much more difficult to debug (just because all your code
is wrapped in a macro), but basically I like the idea.
Greetings.
This is more of emacs question than Clojure question.
I am trying to figure out how to change emacs Clojure mode's default
indentation behaviour.
By default, emacs is indenting my code like this:
(defn calendar-initial-sync [server user mailfile password formula]
(with-session
pj pjdtech2...@gmail.com writes:
I would like it to indent like this:
(defn calendar-initial-sync [server user mailfile password formula]
(with-session session hostname username password
(with-open-db session db dbname
(with-search-results db docs formula
(foreach-note
Most game development is obviously still done w/ C++, even for backend
services which just astounds me. At best, some developers might be
using Tomcat for community sites and whatnot. The tide is probably
starting to turn, but there's not a lot of Clojure just yet.
At Riot
34 matches
Mail list logo