The main thing about reddit is the community, not the underlying code,
and while I'm sure a SoC project could do something with the code, I
don't see how you could build such a community. And if you did build a
big community, then I think it would spiral out of control with only a
summers work to
Hello all,
I entered a little proposal in the issue tracker:
http://hackage.haskell.org/trac/summer-of-code/ticket/1570
As I see it, the graphical part could be a warm-up exercise with an
already useful product, and interaction with the rts would be the actual
challenge. Reasoning about
OK, I got it installed, but build warned me of duplicate dylibs, and
running my program gave a bus error.
So I port uninstalled gtk2, so now it compiled without warnings, but
the program won't run because I had been forced to uninstall pangoft
to uninstall gtk2.
So now I need to uninstall the
On 22 Mar 2009, at 10:28, Colin Adams wrote:
OK, I got it installed, but build warned me of duplicate dylibs, and
running my program gave a bus error.
So I port uninstalled gtk2, so now it compiled without warnings, but
the program won't run because I had been forced to uninstall pangoft
to
[co...@susannah ghc]$ ghc-pkg list
/usr/local/lib/ghc-6.11.20090319/./package.conf:
Cabal-1.7.0, array-0.2.0.1, base-3.0.3.0, base-4.0.0.0,
bytestring-0.9.1.4, containers-0.2.0.1, directory-1.0.0.2,
(dph-base-0.4.0), (dph-par-0.4.0), (dph-prim-interface-0.4.0),
I tried issuing the sudo port install command on the wiki page.
After some time running it failed with:
To fully complete your installation and make python 2.5 the default, please run
sudo port install python_select
sudo python_select python25
--- Cleaning python25
---
Achim == Achim Schneider bars...@web.de writes:
Achim Colin Paul Adams co...@colina.demon.co.uk wrote:
Why does cabal install nearly everything in the user repository
rather than the global repository?
Achim uh... because you're a mere user and don't have the rights to
Colin Adams colinpaulad...@googlemail.com wrote:
-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
-c _hashopenssl.c -o build/temp.macosx-10.3-i386-2.5/_hashopenssl.o
unable to execute
I just found out about GHood through this thread, and since it impressed me very much to see
something so cool, I feel bad making this comment... but I am always disturbed by the flickering
effect produced by java applets in my browser (FF 3.0) while scrolling. From an implementation
On 22 Mar 2009, at 11:32, Colin Adams wrote:
creating build/temp.macosx-10.3-i386-2.5
-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/
include/python2.5
-c _hashopenssl.c -o
Colin Paul Adams co...@colina.demon.co.uk wrote:
Why does cabal install nearly everything in the user repository rather
than the global repository?
uh... because you're a mere user and don't have the rights to do so?
try su -, then cabal update to fill root's $HOME/.cabal with the
needed
Colin Paul Adams co...@colina.demon.co.uk wrote:
Achim uh... because you're a mere user and don't have the rights
Achim to do so?
No, I own the machine.
Well, but it neither knows nor cares, unless you log in as root.
colin isn't allowed to write to /usr/local/lib/ghc-6.11.20090319/
So why doesn't it find packages then, when they are installed?
--
Colin Adams
Preston Lancashire
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
No. It's all recent.
2009/3/22 Hans Aberg hab...@math.su.se:
On 22 Mar 2009, at 11:32, Colin Adams wrote:
creating build/temp.macosx-10.3-i386-2.5
-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include
Colin Paul Adams co...@colina.demon.co.uk wrote:
So why doesn't it find packages then, when they are installed?
I've got no idea, what exactly are you trying to do, and how?
--
(c) this sig last receiving data processing entity. Inspect headers
for copyright history. All rights reserved.
Achim == Achim Schneider bars...@web.de writes:
Achim Colin Paul Adams co...@colina.demon.co.uk wrote:
So why doesn't it find packages then, when they are installed?
Achim I've got no idea, what exactly are you trying to do, and
Achim how?
I'm trying to re-compile ghc
On Sun, Mar 22, 2009 at 12:51 PM, Colin Paul Adams
co...@colina.demon.co.uk wrote:
Achim == Achim Schneider bars...@web.de writes:
Achim Colin Paul Adams co...@colina.demon.co.uk wrote:
So why doesn't it find packages then, when they are installed?
Achim I've got no idea, what
I should clarify that cabal install --global won't see the packages
installed in the user db, even if not run as root.
But it at least will take into consideration the available packages'
cache and the config file in ~/.cabal/
___
Haskell-Cafe mailing
On 22 Mar 2009, at 12:45, Colin Adams wrote:
No. It's all recent.
And MacPorts installs its own gcc. Achim Scheider pointed out that the
compiler name is missing, so the shell tries to execute '-DNDEBUG' as
a program. When I try it, I get:
$ sudo port install python_select
Password:
---
Hi.
I have noted that with Haskell projects that make use of Trac for issue
tracking, it is not possible to have syntax highlighting for Haskell code.
http://hackage.haskell.org/trac/hackage/wiki/WikiProcessors
Is someone working on this?
I can try to write a Trac plugin or patch to solve
On 22 Mar 2009, at 11:32, Colin Adams wrote:
I tried issuing the sudo port install command on the wiki page.
What did you try to install? ...
After some time running it failed with:
To fully complete your installation and make python 2.5 the default,
please run
sudo port install
On Sun, 2009-03-22 at 11:51 +, Colin Paul Adams wrote:
Achim == Achim Schneider bars...@web.de writes:
Achim Colin Paul Adams co...@colina.demon.co.uk wrote:
So why doesn't it find packages then, when they are installed?
Achim I've got no idea, what exactly are you
Andrea == Andrea Vezzosi sanzhi...@gmail.com writes:
Andrea On Sun, Mar 22, 2009 at 12:51 PM, Colin Paul Adams
Andrea co...@colina.demon.co.uk wrote:
Achim == Achim Schneider bars...@web.de writes:
Achim Colin Paul Adams co...@colina.demon.co.uk wrote:
So why
Duncan == Duncan Coutts duncan.cou...@worc.ox.ac.uk writes:
Duncan On Sun, 2009-03-22 at 11:51 +, Colin Paul Adams wrote:
Achim == Achim Schneider bars...@web.de writes:
Achim Colin Paul Adams co...@colina.demon.co.uk wrote:
So why doesn't it find packages then, when
2009/3/22 Hans Aberg hab...@math.su.se:
On 22 Mar 2009, at 11:32, Colin Adams wrote:
I tried issuing the sudo port install command on the wiki page.
What did you try to install? ...
Just what it says on the wiki page:
sudo port install glade3 libglade2 gstreamer gst-plugins-base
Hello,
I'm new to haskell, I'm wondering how can you write a function that will do
the following:
fromIntToString :: Int - String
this is a cast function to cast an Int to a String. I know such function
exist, however let's assume it didn't exist. How would I write such
function? Cause I have
yep, sounds great to me :-)
although with some hacks one can already have a poor mans real time
interface for heap profiling:
http://www.haskell.org/ghc/docs/latest/html/users_guide/hp2ps.html#id2677301
I agree that the effect of laziness can be very hard to grasp, sometimes it
even feels that I
On 22 Mar 2009, at 13:42, Colin Adams wrote:
After some time running it failed with:
To fully complete your installation and make python 2.5 the default,
please run
sudo port install python_select
sudo python_select python25
...The thing is that when I removed python_select and
Anonymous Anonymous temp.pub...@gmail.com wrote:
Hello,
I'm new to haskell, I'm wondering how can you write a function that
will do the following:
fromIntToString :: Int - String
this is a cast function to cast an Int to a String. I know such
function exist, however let's assume it
I'm new to haskell, I'm wondering how can you write a function that will do
the following:
fromIntToString :: Int - String
this is a cast function to cast an Int to a String.
I'll assume that by a cast you mean a conversion from one type to
another where no information is lost.
-- Let's
Achim Schneider bars...@web.de wrote:
Anonymous Anonymous temp.pub...@gmail.com wrote:
fromIntToString :: Int - String
intOfString = sum . map (uncurry (*)) . zip (map (10^) [0..])
. map intOfChar . reverse
/me hides under a stone and tries again, this time with the
This is both a bug fix release and a feature release.
The bug fix is a bit embarrassing, the indices were correct but the captured
text was wrong in version 1.1.0. Oops.
As of version 1.1.1 the following GNU extensions are recognized, all anchors:
\` at beginning of entire text
\' at end of
Anonymous Anonymous temp.pub...@gmail.com writes:
fromIntToString :: Int - String
...
PS: if possible please do not use any casting functions that are predefined.
This is a rather simplified version of the Show instance of Int from the
libs:
itos :: Int - String
itos x | x 0 = '-' :
Anonymous One,
I'm new to haskell, I'm wondering how can you write a function that will do
the following:
fromIntToString :: Int - String
Is this a homework assignment, perchance? Please take a look at
http://www.haskell.org/haskellwiki/Homework_help
Everyone here is glad to help, but we're
Thank you all for your answers, you've all been a great help to me!
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hello,
an answer from me, this is NOT the homework assignment. For my own homework
assignment, I had to create custom data types and convert a string
containing my datatype into my datatype. I will not expose my datatype, but
it is something with logical operators.
My approach would be using
John Dorsey wrote:
Anonymous One,
I'm new to haskell, I'm wondering how can you write a function that will do
the following:
fromIntToString :: Int - String
Is this a homework assignment, perchance? Please take a look at
http://www.haskell.org/haskellwiki/Homework_help
Everyone here is
If above is true, I am confused why we have to distinguish the terms which
have NF and be in NF? isn't the terms have NF will eventually become in NF?
or there are some way to avoid them becoming in NF?
Another way to think about it: what about terms which have no NF?
And given both kinds of
Hello
PG == Patai Gergely writes:
PG Hello all, I entered a little proposal in the issue tracker:
PG http://hackage.haskell.org/trac/summer-of-code/ticket/1570
PG As I see it, the graphical part could be a warm-up exercise with an
PG already useful product, and interaction with the rts
Rafael Cunha de Almeida wrote:
This e-mail is offtopic, but I suppose being a little offtopic every now
and then isn't that bad, specially if the subject is interesting. So,
here I go.
It's the cafe'. Very little is strictly off-topic here, and certainly
not this.
I'm happy to help anyone
On 2009 Mar 22, at 6:32, Colin Adams wrote:
creating build/temp.macosx-10.3-i386-2.5
-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/
include/python2.5
-c _hashopenssl.c -o
No, I haven't done that - I forgot about that command since I first
installed macports nearly a year ago. :-(
Bit I DID manage to get the ports all installed (thanks to lots of
help from Hans, and lots of individual port uninstalls followed by
port installs). And configured gtk2hs ok.
But when I
Hello Gergely,
Last Summer, I also proposed a Google SOC project for profiling,
called Parallel Profiling Support for GHC. This project was denied
for the Google SOC mostly due to the scope of the project and the
concern that the project would take far longer than the Summer. As
this project
although with some hacks one can already have a poor mans real time
interface for heap profiling:
http://www.haskell.org/ghc/docs/latest/html/users_guide/hp2ps.html#id2677301
I'm aware of that, even did it myself a few times. That's part of the
reason why I want something better. ;)
I agree
Hi!
Recently I've found interesting ACM research on C++ and Java efficiency.
This task also was been solved on lisp/scheme and is described on
http://www.flownet.com/ron/papers/lisp-java/
I tried to solve this task on Haskell but stuck with efficiency
problems (approx in 1000 times slower and
It never looked like a homework assignment to me, if someone puts as
much original thought into a mail than the OP, it's hard to believe he
wouldn't have mentioned the fact in case it was indeed homework.
Speaking of it, I don't really care whether something is homework or
not, what I care about
Last Summer, I also proposed a Google SOC project for profiling,
called Parallel Profiling Support for GHC. This project was denied
for the Google SOC mostly due to the scope of the project and the
concern that the project would take far longer than the Summer.
Yes, I'm aware of that trap.
Excerpts from Henning Thielemann's message of Sat Mar 21 22:27:08 +0100 2009:
On Fri, 20 Mar 2009, Nicolas Pouillard wrote:
Hi folks,
We have good news (nevertheless we hope) for all the lazy guys standing
there.
Since their birth, lazy IOs have been a great way to modularly
Hello Vasyl,
Sunday, March 22, 2009, 8:25:02 PM, you wrote:
i believe that i already seen this problem here a few years ago :)
what search structure you was used? i think that immutable hash
(represented as array of lists) would be useful here
Hi!
Recently I've found interesting ACM
I'm not sure what your problem is. I downloaded Trac not long ago, and
Haskell highlighting worked out of the box for me after installing
Pygments. Here's the proof (this is the wiki of a course I'm teaching):
http://kfarkas.iit.bme.hu/trac/bfp/wiki/EloadasAbsztrakciok1
The code to activate it
2009/3/22 Colin Adams colinpaulad...@googlemail.com:
No, I haven't done that - I forgot about that command since I first
installed macports nearly a year ago. :-(
Bit I DID manage to get the ports all installed (thanks to lots of
help from Hans, and lots of individual port uninstalls followed
Patai Gergely ha scritto:
I'm not sure what your problem is.
Yes, haskell support is available in recent versions of Trac.
I was trying with the Trac instance for Hackage/Cabal.
[...]
Manlio
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Brandon S. Allbery KF8NH wrote:
Glade works fine if all you want is to place widgets; but it won't
generate template code in Haskell (it will for C and C++) to connect
the widgets together, which is what I understand from you have to
type everything yourself.
I use Template
Hello,
I'm trying to transform a fragment of XML using HXT, specifically I'm
trying to strip out any disallowed content while retaining as much as
possible.
For example I might be given barevilblah/evil/bar. I want
to get rid of the 'evil' element but retain it's content resulting in
Hello Gergely,
2009/3/22 Patai Gergely patai_gerg...@fastmail.fm:
Last Summer, I also proposed a Google SOC project for profiling,
called Parallel Profiling Support for GHC. This project was denied
for the Google SOC mostly due to the scope of the project and the
concern that the project
Hi all,
I am pleased to announce a new version of Salvia, the lightweight
Haskell Web Server Framework with modular support for serving static
files, directories indices, default error responses, connection
counting and logging, HEAD and PUT requests, keep-alives, custom
banner printing,
On Sun, 22 Mar 2009, nicolas.pouillard wrote:
Excerpts from Henning Thielemann's message of Sat Mar 21 22:27:08 +0100 2009:
Maybe you know of my packages lazy-io and explicit-exception which also
aim at lazy I/O and asynchronous exception handling.
I was indeed aware of these two packages
Thanks for the point. I've found haskell solution there
http://www.haskell.org/haskellwiki/Phone_number
The second (shorter) solution is fantastic, it beats all other
languages, but I'll never wrote such code in reasonable time :)
2009/3/22 Bulat Ziganshin bulat.zigans...@gmail.com:
Hello
Excerpts from Henning Thielemann's message of Sun Mar 22 22:52:48 +0100 2009:
On Sun, 22 Mar 2009, nicolas.pouillard wrote:
Excerpts from Henning Thielemann's message of Sat Mar 21 22:27:08 +0100
2009:
Maybe you know of my packages lazy-io and explicit-exception which also
aim at
On Sun, 22 Mar 2009, nicolas.pouillard wrote:
It sounds like a nice idea, it would be great to have a straight-io package
to play a bit more with explicit exceptions in things like 'IO'.
Maybe I should then restrict lifting to LazyIO to SIO actions. That would
not make LazyIO safe, but
Maurício wrote:
Notice that rotX, rotY and pos are meant to be used as comunication
between the keyboardMouse and display functions. They need to be set as
0 first, so display won't do anything. Only when they user press a few
buttons that those values change, so display behaves accordanly.
On Sun, Mar 22, 2009 at 08:10:28PM -0300, Rafael Cunha de Almeida wrote:
Doing it like that I could have all the definitions in one module, but
it doesn't solve another important problem: keyboardMouse and display
functions have to have as many parameters as there are IORefs.
You may always
On Sun, 22 Mar 2009, Achim Schneider wrote:
Anonymous Anonymous temp.pub...@gmail.com wrote:
Hello,
I'm new to haskell, I'm wondering how can you write a function that
will do the following:
fromIntToString :: Int - String
this is a cast function to cast an Int to a String. I know such
Vasyl Pasternak wrote:
The entire code I placed on
http://hpaste.org/fastcgi/hpaste.fcgi/view?id=2764
Could someone help me to make this code faster? I'd like to see
solution that will be elegant and fast, without heavy optimizations,
that will make code unreadable. Also, if it possible,
On 2009 Mar 22, at 19:10, Rafael Cunha de Almeida wrote:
Doing it like that I could have all the definitions in one module, but
it doesn't solve another important problem: keyboardMouse and display
functions have to have as many parameters as there are IORefs.
Or a single argument which holds
hranker is a fun little command-line utility I have written to help a
user rank a list of items (of any type implementing Show, Eq and Ord).
I hope the code is sufficiently clear that it could also serve as an
educational piece of code, especially for people wanting to learn how
to use the HCL
Ok, replying to the list this time. Darn Thunderbird not reading my
mind again.
Rafael Cunha de Almeida wrote:
Maurício wrote:
In one module, you can write:
--
giveMeFunctions = do {
newIORef ...
newIORef ...
newIORef ...
(...)
let f1 = ...
let f2 = ...
Hi,
I have a little program, which shows a message box when gets 'USR1'
signal. This works fine when I `kill -USR1 $PID`.
But my code in xmonad.hs does not work. No error throws out. And as
I inspected, the pid is right. Only nothing happened in my app. So I
wonder what is wrong?
28
68 matches
Mail list logo