Re: [Haskell-cafe] Observer pattern in haskell FRP

2012-12-19 Thread serialhex
hey all, i've been lurking in this thread for a bit  i just found this
interesting article from chris granger (yeah, the light table guy).  he
just completed the node knockout they had recently  decided to make a
game.  he did it all in clojurescript  he discusses some aspects of
programming a game in a functional language.  so maybe this will give you
some ideas on how to write games in haskell.

anyway, linkage:
http://www.chris-granger.com/2012/12/11/anatomy-of-a-knockout/

serialhex

-- 
* If God had a beard, he'd be a UNIX programmer.
* Some people pray for more than they are willing to work for.
* This is Linux. Distro is a proper subset of Settings.  --TwilightXaos on
slashdot
---
CFO: “What happens if we train people and they leave?”
CTO: “What if we don’t and they stay?”
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] good lightweight web-framework like sinatra?

2012-03-20 Thread serialhex
i'm looking for something lightweight, that dosnt need it's own
server, can easily run on cgi on an apache with minimal work, and
dosn't have many dependancies. i was looking at yesod, but it is
bigger than i need for my site (at this point) and would take too much
work to get running on my webhost.  though i am looking forward to
learning it and using it in the future, i just need something that
will play nicely with apache  cgi...

justin

p.s. if anyone is interested to know i'm using nearlyfreespeach.net as
my host...  haskell is one of the many languages they support via cgi,
but, at the moment, it is kind of difficult to get yesod or rails or
the like to work on it... :-/

--
*  The wise man said: Never argue with an idiot. They bring you down
to their level and beat you with experience.
*  As a programmer, it is your job to put yourself out of business.
What you do today can be automated tomorrow. ~Doug McIlroy
No snowflake in an avalanche ever feels responsible.
---
CFO: “What happens if we train people and they leave?”
CTO: “What if we don’t and they stay?”

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Open-source projects for beginning Haskell students?

2012-03-17 Thread serialhex
On Sat, Mar 17, 2012 at 11:01 AM, Heinrich Apfelmus
apfel...@quantentunnel.de wrote:
 The task is to implement a small audio synthesizer in Haskell.

seriously?!?!  i'm not in his class, but i'm game!  i learn better
when i'm working on something interesting, and i want to make my
(currently pretty pathetic) haskell better and i *LOOOE*
audio!  a haskell-based synth (or series of synths) would be really
spiffy!  what do i have to know / learn / do?

justin

-- 
*  The wise man said: Never argue with an idiot. They bring you down
to their level and beat you with experience.
*  As a programmer, it is your job to put yourself out of business.
What you do today can be automated tomorrow. ~Doug McIlroy
No snowflake in an avalanche ever feels responsible.
---
CFO: “What happens if we train people and they leave?”
CTO: “What if we don’t and they stay?”

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Theoretical question: are side effects necessary?

2012-03-16 Thread serialhex
On Fri, Mar 16, 2012 at 8:35 AM, Felipe Almeida Lessa 
felipe.le...@gmail.com wrote:

 If you're asking about performance, as in is there a problem that can
 be solved in O(f(n)) time in Java but not in Haskell-sans-IO-and-ST?,
 then it becomes a harder question.  I'm not sure what the answer is.

 Cheers,

 --
 Felipe.


/lurk

an interesting question emerges:  even though i may be able to implement an
algorithm with O(f(n)) in Haskell, and write a program that is O(g(n)) 
O(f(n)) in C++ or Java...  could Haskell be said to be more efficient if
time spent programming / maintaining Haskell is  C++ or Java??  i'm still
trying to learn Haskell, but it seems to me to be *much* less verbose than
C and it's derivatives, and while jumping through monads just to print to a
screen or write a file seems a small expence to pay to be able to express
what you want easier...

justin
lurk

-- 
*  The wise man said: Never argue with an idiot. They bring you down to
their level and beat you with experience.
*  As a programmer, it is your job to put yourself out of business. What
you do today can be automated tomorrow. ~Doug McIlroy
No snowflake in an avalanche ever feels responsible.
---
CFO: “What happens if we train people and they leave?”
CTO: “What if we don’t and they stay?”
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Functional programming podcast

2012-03-15 Thread serialhex
On Thu, Mar 15, 2012 at 6:53 AM, Christopher Done
chrisd...@googlemail.comwrote:

 On 15 March 2012 06:53, Clint Moore cl...@ivy.io wrote:
  We're closing in on a month since this post.  Did everyone decide to
  do their own thing, do nothing, or ?

 Ah, I'd been traveling after posting this and then settling back in
 work, this remains on my TODO list in my organizer. I have no plans
 laid out, it's something I've wanted for some time and this post is
 the “Hey guys what if?”

 We should continue—my time zone is UTC+1, I am usually free within
 19-23:00 with varying degrees of freeness. Friday and the rest of the
 weekend is better. We could try out G+ hangout and or I can setup a
 Mumble on hpaste.org. These are good for group chats, and if the
 quality isn't too great we can each record locally also and
 synchronize the audio later.

 Anyway, must dash.

 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe


hmm... UTC-5 here ( -4 right now with DST... or whatever excuse it is to
deprive me of an hour of sleep!)  fridays  the weekend are good for me
too.  i work til 18:00 on fri  16:00 on sat...  also, google hangouts
would (should) work for me.  i know skype is *really* flaky, but the google
video chat has been pretty ok.

lets hope my newbishness dosn't turn anybody off :P
me

-- 
*  The wise man said: Never argue with an idiot. They bring you down to
their level and beat you with experience.
*  As a programmer, it is your job to put yourself out of business. What
you do today can be automated tomorrow. ~Doug McIlroy
No snowflake in an avalanche ever feels responsible.
---
CFO: “What happens if we train people and they leave?”
CTO: “What if we don’t and they stay?”
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] anyone know what happened to nlpwp?

2012-03-02 Thread serialhex
i was going through nlpwp.org learning haskell  natural language
processing at the same time, and a few days ago it just disappeared!  does
anybody know what happened to it?  i can still access the google cache, and
learn from there, but that'd be a pain for anybody new coming along who
can't access this site...  :(

hex

-- 
*  my blog is cooler than yours: http://serialhex.github.com
*  The wise man said: Never argue with an idiot. They bring you down to
their level and beat you with experience.
*  As a programmer, it is your job to put yourself out of business. What
you do today can be automated tomorrow. ~Doug McIlroy
No snowflake in an avalanche ever feels responsible.
---
CFO: “What happens if we train people and they leave?”
CTO: “What if we don’t and they stay?”
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] podcast?

2012-02-15 Thread serialhex
Does anybody know of any good haskell/fp podcasts out there?  i dont know
if my googling skillz are just failing me, but i can't seem to find
anything.  thanks all!
hex

-- 
*  my blog is cooler than yours: http://serialhex.github.com
*  The wise man said: Never argue with an idiot. They bring you down to
their level and beat you with experience.
*  As a programmer, it is your job to put yourself out of business. What
you do today can be automated tomorrow. ~Doug McIlroy
No snowflake in an avalanche ever feels responsible.
---
CFO: “What happens if we train people and they leave?”
CTO: “What if we don’t and they stay?”
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Fancy REPL

2012-02-09 Thread serialhex
On Thu, Feb 9, 2012 at 3:04 PM, Heinrich Apfelmus apfel...@quantentunnel.de
 wrote:


 I'm not so sure about the soon part, but yes, using FRP to make music is
 part of the plan.


you know, i've been thinking about this recently, and while i need more
haskell skillz if i want to do some sound synthesis, i think it would be
really spiffy to work on something like that!  are you working on this
privately or do you have a public repo one can clone?  a fully-haskell
sound synth program would be really spiffy!!  (esp if one could code new
synths in real-time in haskell)
hex

-- 
*  my blog is cooler than yours: http://serialhex.github.com
*  The wise man said: Never argue with an idiot. They bring you down to
their level and beat you with experience.
*  As a programmer, it is your job to put yourself out of business. What
you do today can be automated tomorrow. ~Doug McIlroy
No snowflake in an avalanche ever feels responsible.
---
CFO: “What happens if we train people and they leave?”
CTO: “What if we don’t and they stay?”
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-26 Thread serialhex
i wouldn't mind a cool mascot, so yes
hex

-- 
*  my blog is cooler than yours: http://serialhex.github.com
*  The wise man said: Never argue with an idiot. They bring you down to
their level and beat you with experience.
*  As a programmer, it is your job to put yourself out of business. What
you do today can be automated tomorrow. ~Doug McIlroy
---
CFO: “What happens if we train people and they leave?”
CTO: “What if we don’t and they stay?”
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] A Mascot

2011-11-21 Thread serialhex
On Tue, Nov 22, 2011 at 12:22 AM, Jeremy Shaw jer...@n-heptane.com wrote:

  - honey badger - can't beat that for 'robust' and 'fearless',
 http://www.youtube.com/watch?v=wPKlryXwmXk


i think you were referring to this vid:
http://www.youtube.com/watch?v=m7pGZudN8rE (nsfw... almost)
i +1 a honey badger for haskell.  i'm a newb and it rocks!!
hex

-- 
*  my blog is cooler than yours: http://serialhex.github.com
*  The wise man said: Never argue with an idiot. They bring you down to
their level and beat you with experience.
*  As a programmer, it is your job to put yourself out of business. What
you do today can be automated tomorrow. ~Doug McIlroy
---
CFO: “What happens if we train people and they leave?”
CTO: “What if we don’t and they stay?”
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] What is the status of GPU-accelerated Haskell?

2011-10-27 Thread serialhex
Hi, there is an OpenCL / Haskell thread floating around the ML, mostly it's
a dew ppl talking about merging the 5 (or so) bindings to the OpenCL api and
getting spiffy multi-threaded haskell-awesomeness out of that.  i think they
are discussing the benefits/drawbacks of a pure-ish api conversion or a more
haskell-ish conversion, or some combination thereof.

either way, it exsists, and it's happening (though i'm not so sure about
CUDA bindings...  but OpenCL will work on Nvidia  ATI cards the same)

hex



On Thu, Oct 27, 2011 at 3:45 PM, Rafael Gustavo da Cunha Pereira Pinto 
rafaelgcpp.li...@gmail.com wrote:



 Hi folks,

 I just bought a NVidia Fermi-based card and remembered reading a few months
 (years?) ago about some effort to accelerate array processing in Haskell
 using GPUs.

 How is this going on? Any progresses? Do we have GPU based DPH already?
 (the last one is a joke...)

 I keep thinking on the advantages of such GPU data processing on the signal
 processing field.

 Best regards,

 Rafael Gustavo da Cunha Pereira Pinto


 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe




-- 
*  my blog is cooler than yours: http://serialhex.github.com
*  The wise man said: Never argue with an idiot. They bring you down to
their level and beat you with experience.
*  As a programmer, it is your job to put yourself out of business. What you
do today can be automated tomorrow. ~Doug McIlroy
---
CFO: “What happens if we train people and they leave?”
CTO: “What if we don’t and they stay?”
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Subcategories on Hackage

2011-06-05 Thread serialhex
On Sun, Jun 5, 2011 at 1:36 PM, Brandon Allbery allber...@gmail.com wrote:

 On Sun, Jun 5, 2011 at 07:51, Andrew Coppin andrewcop...@btinternet.com
 wrote:
  Also, I don't think listing every package on all of Hackage in one giant
  page is very useful any more. (I gather it was only meant to be a
 temporary
  interface in the first place...)

 +1 (really +(foldl' (+) (repeat 1))...) — Hackage is *painful* these days.
 http://www.haskell.org/mailman/listinfo/haskell-cafe


i havn't a fscking clue how to implement such a beast, but i've seen
(somewhere) tags that have their own heirarchy, so you could have (for
instance)

Image Stuff
 -2D
 -3D
 -Fractal
 -...etc...

and also having multiple tags would help classify things, like a 3D Fractal
renderer would be under Image Stuff - 3D Image Stuff - Fractal and
probably even under Math Stuff (yeah, i know you *love* my technical names
:P )

just my 0.02 cents
hex


-- 

  Other than the fact Linux has a cool name, could someone explain why I
  should use Linux over BSD?

 No.  That's it.  The cool name, that is.  We worked very hard on
 creating a name that would appeal to the majority of people, and it
 certainly paid off: thousands of people are using linux just to be able
 to say OS/2? Hah.  I've got Linux.  What a cool name.  386BSD made the
 mistake of putting a lot of numbers and weird abbreviations into the
 name, and is scaring away a lot of people just because it sounds too
 technical.
-- Linus Torvalds' follow-up to a question about Linux
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Python is lazier than Haskell

2011-04-27 Thread serialhex
so, as a n00b to haskell i can't say much about its laziness, and not
knowing much about how python works i'm about the same there.  though i do
know ruby, and afaik ruby doesn't _care_ what type something is, just if it
can do something.  example from the rails framework:

#---
class NilClass  # nil is mostly equivalent to c's NULL
  def blank?
true
  end
end

class String
  def blank?
self.size == 0
  end
end

[, person, nil].each do |element|
  puts element unless element.blank?
end
#---

the output of course would simply be person, but that's not the object of
my post.  in ruby they use what some call duck typing  if it looks like a
duck and quacks like a duck... it's a duck.  unlike in most other
programming languages where you have to draw blood in order to check if it's
a duck (i mean, it could be a goose for all we know, and we all know what
geese do to our programs...)  and while this programming style might be
useful in this (and many other) contexts, there are probably a bunch of
others where it only gets in the way.

also, in case you are wondering... haskell is going to be the second
language i delve into.  i've already started ruby and will have to un-learn
a bunch of things because of that from what i read, but i find a number of
haskells features to be interesting.  and hey, it's a new way to think about
problems right?
hex
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] #haskell-game Haskellers Game Interest Group

2011-02-12 Thread serialhex
i assume you mean here: http://www.haskell.org/haskellwiki/Game_Development

http://www.haskell.org/haskellwiki/Game_Developmentthe link wasnt in your
orig post  i had to google it :P  i'm interested to see what you've got
here.

hex


On Sat, Feb 12, 2011 at 4:50 AM, Korcan Hussein korca...@hotmail.comwrote:


 Some of us interested in Haskell GameDev have formed chat room  Haskellers
 Interest Group, you can out find more info here. Just spreading the word
 around.

 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe