Re: [Haskell-cafe] iPhone/Android and Haskell [Was: Embedded funcional programming?]

2010-04-17 Thread James Britt

Darrin Chandler wrote:

On Sat, Apr 17, 2010 at 08:21:06PM -0700, Jeffrey Scofield wrote:

As a side comment, I haven't noticed any reaction in the
Haskell/iPhone community about Apple's recent policy change.


I've seen some reaction in other language communities, and I'm sure you
can imagine what it's like. Understandable sentiments, but not very
productive.

I recently purchased an Android phone and spent a little time looking
around to see if Haskellers were doing anything there, but no luck so
far. Has anyone here done anything with Android?


I've done a simple app in Java, and some experiments with JRuby.

I've not done any thing Android with Haskell, but would love to give it 
a shot.  However, I don't know where to begin.



James


--

Neurogami - Smart application development

http://www.neurogami.com

ja...@neurogami.com




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


[Haskell-cafe] http://trac.haskell.org down?

2010-01-22 Thread James Britt
Been trying to reach http://trac.haskell.org for most of the morning, 
but nothing comes up.


Seems I'm not alone:

http://downforeveryoneorjustme.com/http://trac.haskell.org



James
--

Neurogami - Smart application development

http://www.neurogami.com

ja...@neurogami.com




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


[Haskell-cafe] Cannot rebuild GHC 6.12.1 due to Cabal type conflict

2010-01-21 Thread James Britt

Hey all.

I recently  wanted to rebuild GHC 6.12.1 from source (from a downloaded
tarball).

After the first install from that source I  went and updated Cabal (from
a tarball grabbed from Hackage).

When I now try to do a rebuild of GHC, I get this error

compiler/main/Packages.lhs:233:63:
Couldn't match expected type `InstalledPackageInfo_ String'
   against inferred type
`Cabal-1.8.0.2:Distribution.InstalledPackageInfo.InstalledPackageInfo_
m'
  Expected type: [InstalledPackageInfo_ String]
  Inferred type:
[Cabal-1.8.0.2:Distribution.InstalledPackageInfo.InstalledPackageInfo_
m]
In the second argument of `map', namely `conf'
In the first argument of `return', namely
`(map installedPackageInfoToPackageConfig conf)'
make[1]: *** [compiler/stage1/build/Packages.o] Error 1
make[1]: *** Waiting for unfinished jobs
make: *** [all] Error 2



(also here: http://hpaste.org/fastcgi/hpaste.fcgi/view?id=16380#a16380)


I'm running the build like this:


make distclean
sh boot
./configure --enable-shared
make -j 2


but (I'm guessing) it's looking at the already-installed Cabal libs and
not liking what it's getting.

Any ideas on how to get past this?

Thanks,

James Britt

--

www.jamesbritt.com   - Playing with Better Toys
www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com- The Ruby Store for Ruby Stuff
www.neurogami.com- Smart application development


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


Re: [Haskell-cafe] Howto start a bigger project

2009-11-16 Thread James Britt

Günther Schmidt wrote:
> Hi all,
>
> I'm stuck with a problem where I need serious help from other
> haskellers, in particular those that participate here on this list. It's
> a rather big project and I will need to set it up in an organized way,
> something with a blog, web page or other means.
>
> I tried to solve it by myself while asking the occasional question here
> but that turned out to be ineefective. The problem as such is certainly
> of interest for just about any programmer who is using Haskell for real
> world programming too.
>
> In short, to get started I'd appreciate some tips how to set this up.

Create a project on github.com.  It makes it dead easy for people to try 
out code and submit patches.


Do enough work so that the code is useful, even if the implementation is 
crap.


In fact, a crappy implementation may be a good thing; it makes it easier 
for people to find something to contribute.  And then they feel a part 
of the project.


Version 0.0.1 has to work right out of the box, be easy to install, be 
stupid obvious to use, and have non-zero value.  Promises mean nothing.


So, in practice, you need to start a really small project that could 
maybe become big but doesn't have to in order to be valuable right now.


I've ended up as a committer on more than a few projects because the 
code  solved a real problem in a simple and good enough way that I did 
not feel the need to go roll my own.  And when I encountered a bug or 
wanted a feature, it was easy to contribute.


But, key to all this, is getting people to feel they have a vested 
interest in the project succeeding, and that can be tricky.



James

--

Neurogami - Smart application development

http://www.neurogami.com

ja...@neurogami.com




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


Re: [Haskell-cafe] killer app sought

2009-10-03 Thread James Britt

Mark Wotton wrote:
> Hi,
>
> I've been writing a little binding from Ruby to Haskell called Hubris
> (http://github.com/mwotton/Hubris) which I think has some potential both
> for making Haskell web apps easier to write, and also for bringing the
> more adventurous Ruby programmers into the Haskell community. Code-wise
> it's coming along nicely, and once 6.12 is out it'll run without
> modifications at least on Linux (remains to be seen how long it'll take
> to get the Mac patches into shape). My real problem is marketing: I need
> a killer app that shows it's easy either to
>
> 1. wrap a kickarse Haskell library in a convenient Ruby web app shell
> 2. speed up a poorly performing Ruby web app
>
> I've been badgering the Ruby guys in Sydney that I know on the second
> point, but either none of them have performance problems, or none of
> them want to admit it.


Yeah, that can happen with some Rubyists. ;)

> The first is entirely possible - if you only
> attack the subset of problems where your runtime is dominated by the
> database and network latency, language performance is moot. Conversely,
> if that's your worldview, the other problems that could be attacked
> won't ever come to mind (to monstrously abuse the Sapir-Whorf 
hypothesis).

>
> So, I'm asking you guys. What are some really nice Haskell libraries or
> apps that could benefit from being shown off in one of the plethora of
> slick, mature web frameworks that exist in Ruby? Manuel Chakravarty
> suggested something with vector operations in order to take advantage of
> his 'accelerate' library (once it gets a GPU backend, of course), and
> more generally, something taking advantage of Haskell's support for
> multicore would be cool. (The standard edition of Ruby is still unicore,
> I believe.)

I've been trying to think of a nice back-end app to run via a Ramaze Web 
front end, to combine the best of Ruby Web dev with the speed and 
elegance of Haskell.  As mentioned, something that demonstrated 
multi-core-ability out of the box would be sweet.


Some thoughts came to mind on image or audio manipulation, though 
details escape me.Or maybe text analysis.


Showing that using Haskell is faster than using Ruby would be nice, but 
unimpressive, insomuch as people can already do that with C.  So, a good 
example might also play off of the benefit of writing in Haskell instead 
of C.



James Britt

--

Neurogami - Smart application development

http://www.neurogami.com

ja...@neurogami.com




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


Re: [Haskell-cafe] INVITATION

2008-06-22 Thread James Britt

Haskell Hall wrote:
> Haskell Hall is up and running. Haskell Hall is a mailing list, a 
forum, where you can discuss Haskell, functional programming and 
anything related, freely and openly with fellow enthusiasts. We welcome 
people of all abilities and know-how. So, if you fancy a change from 
what you get on Haskell Cafe send an email to 
[EMAIL PROTECTED] with the word subscribe in the subject 
field.The first 10 members will have access to the wine cellar. :-)



How does or will Haskell Hall differ?

I.e., why would I want to join another list?




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


Re: [Haskell-cafe] Re: HApps API Documentation?

2007-09-01 Thread James Britt

Martin Lütke wrote:
> James Britt  neurogami.com> writes:
>
>> Are there alternative sites for HAppS API docs?
>>
>> There are two links on http://happs.org/#documentation but both give
>> "File not found!" messages.
>>
>> Thanks,
>>
>> James
>>
>
> Just compile your one version from the HAppS source. Use runghc Setup.hs
> haddock.

OK, I can give that a shot.

I'm still curious about my original question, though.  Are there 
alternative online API docs for Happs?


> You do have have haddock installed, havent you?
>

I didn't.  I'm grabbing Alex from darcs now.


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


[Haskell-cafe] HApps API Documentation?

2007-09-01 Thread James Britt

Are there alternative sites for HAppS API docs?

There are two links on http://happs.org/#documentation but both give 
"File not found!" messages.



Thanks,


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


Re: [Haskell-cafe] Maintaining the community

2007-07-13 Thread James Britt

Donald Bruce Stewart wrote:
> As we sit here riding the Haskell wave:
>
> http://www.cse.unsw.edu.au/~dons/tmp/cafe.png
>
> with nearly 2000 (!) people reading haskell-cafe@, perhaps its time to
> think some more about how to build and maintain this lovely Haskell
> community we have. Just yesterday I received an email:
>
> "I posted it to Haskell-Cafe and received loads of brilliant
> responses. Wow, those guys are awesome. I'm definitely going to
> learn Haskell now."
>
> Which is *exactly* the kind of (view of the) community we want to build
> and encourage, so we can keep the Haskell project growing into the
> future.

Hear, hear.

I'm a Haskell newbie.  I've not posted much, but my copy of The Haskell 
School of Expression just arrived from Amazon, and I'm stoked.


>
> I think the main thing we need to remember is to help train new experts
> in the community, to be fluent in the culture, ensuring that expertise
> and a knowledge of the culture diffuses through the new people arriving.


All important.

I've spent a fair amount of time in the Ruby community.  I got started 
on Ruby around 2001, and found the community welcoming and helpful, even 
when I was asking what were likely many dopey questions.


The general climate was sufficient to make me want to be more involved; 
I went and started ruby-doc.org to do my share to help the community 
grow, and tried to stay active on Ruby lists to help others as I had 
been helped.  This was quite different from my experiences when learning 
other languages. To be fair, I don't really recall to what extent I was 
using  Usenet and discussion groups when learning Perl, PHP, or Java, 
but I don't think there was the same emphasis on niceness and the 
promotion of an explicit community culture.



I think Haskell has a reputation for being "hard", of being a dense, 
academic, egghead language. In short, it's scary.  The more people who 
try it who can report good responses from the community and code success 
stories the more people there will be who can help each batch of newcomers.



Thanks,


James Britt

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