As far as I can tell, stepcut was probably correct in his diagnosis before.
I was getting two processes started because of a stray cron job.
2010/2/26 Thomas Hartman tphya...@gmail.com:
Indeed, the error occurs when two processes are running at the same
time. One process isn't serving
Did you really seen 100ms pauses?! I never did extensive research on this but
my numbers are rather in microseconds range (below 1ms). What causes such a
long garbage collection? Lots of allocated and long-living objects?
Pavel.
On 28.02.2010, at 8:20, Luke Palmer wrote:
I have seen some
My experience agrees with Pavel.
I've never observed ones that size. I have an application that runs in
'rate equivalent real-time' (i.e. there may be some jitter in the
exact time of events but it does not accumulate). It does have some
visibility of likely time of future events and uses
On Sat, Feb 27, 2010 at 06:27:19PM -0500, Brandon S. Allbery KF8NH wrote:
I don't know of any Haskell bindings offhand, but getmntent() and
friends are the standard library interface for identifying mountpoints
and statfs()/statvfs() are the interface for getting information about
them.
Luke Palmer wrote:
I have seen some proposals around here for SoC projects and other
things to try to improve the latency of GHC's garbage collector.
I'm guessing making the GC concurrent (i.e., so you can perform GC
without having to stop all Haskell threads) would probably help in the
Hello,
I come across the paper Monad Transformers and Modular Interpreters
(http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.17.268) alas
the code is in Gofer and I'm not certain how all of it translates to
Haskell.
Are there other papers out there that translate this to Haskell?
Hi Günther
Wolfram Kahl has a tech report 'A Modular Interpreter Built with Monad
Transformers' with a Haskell translation.
http://www.cas.mcmaster.ca/~kahl/FP/2003/Interpreter.pdf
Best wishes
Stephen
2010/2/28 Günther Schmidt gue.schm...@web.de:
Hello,
I come across the paper Monad
Daniel Fischer wrote:
Am Mittwoch 24 Februar 2010 23:17:46 schrieb Andrew Coppin:
Erlend Hamberg wrote:
if you open the software manager and go to configuration →
repositories, you should be able to add new software sources. i use
the following repository:
Server name:
Donn Cave d...@avvanta.com wrote:
I imagine I'm at fault somewhere in this, since I am also responsible
for the GHC port to Haiku, but just wondering if this suggests an
obvious course of inquiry to anyone. I assume it's not working as
intended, as from the documentation I would rather have
Am Sonntag 28 Februar 2010 13:23:11 schrieb Andrew Coppin:
Daniel Fischer wrote:
Or, go to http://software.opensuse.org/search/ , type ghc [alex,
happy, ...] in the search box, click the search button and
1-click-install.
This works - and adds all the Haskell stuff to the respositories
On Feb 28, 2010, at 05:17 , Matthias Kilian wrote:
On Sat, Feb 27, 2010 at 06:27:19PM -0500, Brandon S. Allbery KF8NH
wrote:
I don't know of any Haskell bindings offhand, but getmntent() and
friends are the standard library interface for identifying
mountpoints
and statfs()/statvfs() are the
Hi
When I do:
cabal list --simple-output | grep -i HaXml 1.20
I get:
HaXml 1.20
HaXml 1.20.1
HaXml 1.20.2
But when running:
runhaskell Setup.hs configure
I get:
Configuring XrcAccessors-0.0...
Setup.hs: At least the following dependencies are missing:
HaXml -any
My cabal file
Am Sonntag 28 Februar 2010 14:41:03 schrieb Mads Lindstrøm:
Hi
When I do:
cabal list --simple-output | grep -i HaXml 1.20
I get:
HaXml 1.20
HaXml 1.20.1
HaXml 1.20.2
So there are versions HaXml 1.20* available on hackage
But when running:
runhaskell Setup.hs configure
For that,
Hello!
I have a class Drawable, and some datatypes which are instances of it, and I
would like to be able to draw them all at once!
drawMany window [image, text, otherImage]
I think the type of the function drawMany would be:
drawMany :: Window - [forall a. (Drawable a) = a] - IO ()
However it
Hi
The --user flag did the trick. Thank you very much.
/Mads
Daniel Fischer wrote:
Am Sonntag 28 Februar 2010 14:41:03 schrieb Mads Lindstrøm:
Hi
When I do:
cabal list --simple-output | grep -i HaXml 1.20
I get:
HaXml 1.20
HaXml 1.20.1
HaXml 1.20.2
So there are
Sorry, no luck with that.
But you can, probably, define some customized comma:
data DrawPair a b = DrawPair a b
(,) :: a - b - DrawPair a b
(,) = DrawPair
instance (Drawable a, Drawable b) = Drawable (DrawPair a b) where ...
drawMany :: Drawable a = Window - a - IO ()
...
drawMany window $
Luke Palmer wrote:
I have seen some proposals around here for SoC projects and other
things to try to improve the latency of GHC's garbage collector. I'm
currently developing a game in Haskell, and even 100ms pauses are
unacceptable for a real-time game. I'm calling out to people who have
Quoth Achim Schneider bars...@web.de,
Donn Cave d...@avvanta.com wrote:
I imagine I'm at fault somewhere in this, since I am also responsible
for the GHC port to Haiku, but just wondering if this suggests an
obvious course of inquiry to anyone. I assume it's not working as
intended, as from
Daniel Fischer wrote:
Am Sonntag 28 Februar 2010 13:23:11 schrieb Andrew Coppin:
Amusingly, I installed the GHC package, and then discovered that while
GHC runs, it won't compile anything. But if you (manually) install GCC
as well, *then* it works. (Isn't that the package manager's job?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi
i'm currently doing some work on a personal site and was considering
giving a haskell web tool a spin. i have a fairly complex apache
configuration, so i don't want to try to replace it with a native
haskell server, but instead use haskell via an
Am Sonntag 28 Februar 2010 17:52:19 schrieb Andrew Coppin:
It also puts the binary in a strange place, but I guess I can live with
that...
Which strange place? By default, it should go to ~/.cabal/bin, I think.
Anyway, you should add that to your path, put something like
if [ -z `/bin/echo
Daniel Fischer wrote:
Am Sonntag 28 Februar 2010 17:52:19 schrieb Andrew Coppin:
It also puts the binary in a strange place, but I guess I can live with
that...
Which strange place? By default, it should go to ~/.cabal/bin, I think.
Indeed. You'd expect it to be in some
On Sun, Feb 28, 2010 at 6:30 PM, Andrew Coppin
andrewcop...@btinternet.comwrote:
Daniel Fischer wrote:
if [ -z `/bin/echo ${PATH} | /usr/bin/grep cabal` ]
then
export PATH=/home/andrew/.cabal/bin:$PATH
fi
in your .bashrc
Uh... what?
that snippet supposes you have cabal
Am Sonntag 28 Februar 2010 18:30:59 schrieb Andrew Coppin:
Daniel Fischer wrote:
Am Sonntag 28 Februar 2010 17:52:19 schrieb Andrew Coppin:
It also puts the binary in a strange place, but I guess I can live
with that...
Which strange place? By default, it should go to ~/.cabal/bin, I
Anyway, I'm currently attempting to get cabal-install to work...
What's the problem?
Downloading the .tar.gz from hackage, unpacking it and running
bootstrap.sh *should* get you a working cabal-install with minimum fuss.
No problem, I just haven't finished it yet.
I just retried
Nice blog post:
http://importantshock.wordpress.com/2009/01/18/jquery-is-a-monad/
#g
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Or like this, with the benefit of using lists.
data DrawableObj a = forall a.Drawable a = DrawableObj a
a , b = DrawableObj a : b
drawMany (a,b,c,[])
2010/2/28 Miguel Mitrofanov miguelim...@yandex.ru:
Sorry, no luck with that.
But you can, probably, define some customized comma:
data
On Sun, Feb 28, 2010 at 10:03 AM, Heinrich Apfelmus
apfel...@quantentunnel.de wrote:
Luke Palmer wrote:
I have seen some proposals around here for SoC projects and other
things to try to improve the latency of GHC's garbage collector. I'm
currently developing a game in Haskell, and even 100ms
jkff wrote:
Or like this, with the benefit of using lists.
data DrawableObj a = forall a.Drawable a = DrawableObj a
a , b = DrawableObj a : b
drawMany (a,b,c,[])
I like this solution, but it's a pity I think that Haskell doesn't provide a
way to use types like [forall a. (Drawable a) =
You can actually write that type with impredicative polymorphism, but it
doesn't do what you seem to want: it makes a list of polymorphic values
(i.e., universally quantified ones, not existentially).
But that's going away soon, anyway...
On Sun, Feb 28, 2010 at 1:49 PM, Yves Parès
David Virebayre wrote:
On Sun, Feb 28, 2010 at 6:30 PM, Andrew Coppin
andrewcop...@btinternet.com mailto:andrewcop...@btinternet.com wrote:
Daniel Fischer wrote:
if [ -z `/bin/echo ${PATH} | /usr/bin/grep cabal` ]
then
export
drawMany is just sequence dressed up a bit:
I assume you have this class:
class Drawable a where
draw :: Drawable a = a - Window - IO ()
So, the key is to remember that functions and IO actions are first-class values!
data Box = ...
instance Drawable Box where ...
box :: Box
box = ...
Am Sonntag 28 Februar 2010 20:07:28 schrieb Andrew Coppin:
Oh, right. So it's checking whether it's already in the search path
before adding it.
Right.
I would have just added it. ;-)
That wouldn't do much harm, you'd just have it several times in your $PATH
(which means it'll take a
Daniel Fischer wrote:
Let me guess, you'd have tried ';' as the path-separator?
I didn't know you have to use export for this to work...
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Hello Brad,
I can't provide an anecdote, but you can run a native Haskell server
like Happstack behind Apache and use mod_proxy to pass all requests to a
certain vhost and/or path to it.
Greets
Ertugrul
brad clawsie claw...@fastmail.fm
Am Sonntag 28 Februar 2010 20:40:15 schrieb Andrew Coppin:
Daniel Fischer wrote:
Let me guess, you'd have tried ';' as the path-separator?
I didn't know you have to use export for this to work...
You probably wouldn't need export in SUSE, there $HOME/.bashrc is sourced
in /etc/profile (I
On Sun, Feb 28, 2010 at 6:31 AM, Yves Parès limestr...@gmail.com wrote:
Hello!
I have a class Drawable, and some datatypes which are instances of it, and
I
would like to be able to draw them all at once!
drawMany window [image, text, otherImage]
I think the type of the function drawMany
Andrew Coppin wrote:
Now, hypothetically, I should have a Linux Haskell system, so I can
actually compile *anything* that's on Hackage.
Heh, I forgot how much fun building Gtk2hs is. ;-) The only library I've
ever seen that takes more than 11 seconds to build... (Currently at 10
*minutes*
I just run a happstack server on an alternative port, and then use mod_proxy
to forward requests to the alternative port.
For example, happstack.com is hosted at:
http://src.seereason.com:9021/
but apache on that machine has a happstack.com config that looks like:
VirtualHost *:80
There is a link to Try Haskell! -- an interactive, online Haskell
interpreter (see http://tryhaskell.org/) under February 2010 under 1
Headlines on the Haskell - HaskellWIki Web page (see
http://www.haskell.org/).
While I could be mistaken, there do not seem to be any announcements for
February
On 28 February 2010 01:55, Diego Souza dso...@bitforest.org wrote:
currently when one install a cabal package it compiles it and then install
generated binaries. I wonder whether or not it would be useful to have
pre-compiled binaries as many package managers usually do (e.g. apt). I
often
Am Sonntag 28 Februar 2010 22:57:05 schrieb Andrew Coppin:
Andrew Coppin wrote:
Now, hypothetically, I should have a Linux Haskell system, so I can
actually compile *anything* that's on Hackage.
Heh, I forgot how much fun building Gtk2hs is. ;-)
But that's not yet on hackage :)
The only
Benjamin L. Russell wrote:
There is a link to Try Haskell! -- an interactive, online Haskell
interpreter (see http://tryhaskell.org/) under February 2010 under 1
Headlines on the Haskell - HaskellWIki Web page (see
http://www.haskell.org/).
While I could be mistaken, there do not seem to be any
On 28 February 2010 05:55, Andrew Coppin andrewcop...@btinternet.com wrote:
It won't work for arbitrarily complex structures, however. My main point was
that if you make the constructors abstract and provide functions to query
the structure, now you can't pattern match against it.
We do,
DekuDekuplex:
There is a link to Try Haskell! -- an interactive, online Haskell
interpreter (see http://tryhaskell.org/) under February 2010 under 1
Headlines on the Haskell - HaskellWIki Web page (see
http://www.haskell.org/).
While I could be mistaken, there do not seem to be any
Andrew Coppin andrewcop...@btinternet.com writes:
Benjamin L. Russell wrote:
There is a link to Try Haskell! -- an interactive, online Haskell
interpreter (see http://tryhaskell.org/) under February 2010 under 1
Headlines on the Haskell - HaskellWIki Web page (see
http://www.haskell.org/).
Am Sonntag 28 Februar 2010 23:20:00 schrieb Ivan Miljenovic:
/me really wishes people stopped thinking of Cabal as a package manager
/me really wishes there were package managers as useful and easy as Cabal
for things other than Haskell :D
___
Louis Wasserman schrieb:
Yo,
Man, I'd never used FFI before, but it's really not as scary as I'd
feared.
I've implemented a more comprehensive interface to GLPK's simplex
solver and -- rather importantly, for my own needs -- its MIP solver.
This doesn't depend on hmatrix, and in fact, it
For reference: any Ord type can be used as a variable. (It's pretty sweet.)
However, you have a good point. I just uploaded the newest version, which
provides a newVariables monad operation for Enums. (This makes a key
assumption that any element of [v..] will compare as greater than or equal
On Sun, Feb 28, 2010 at 2:06 AM, Pavel Perikov peri...@gmail.com wrote:
Did you really seen 100ms pauses?! I never did extensive research on this but
my numbers are rather in microseconds range (below 1ms). What causes such a
long garbage collection? Lots of allocated and long-living objects?
It's been a long time coming, but jhc-0.7.3 is here. If you have been
following the darcs repository, there are not a whole lot of new
changes, but there have been substantial fixes since 0.7.2 for those
that use the tarballs or rpms.
http://repetae.net/computer/jhc/
One of the most important
---
Haskell Weekly News
http://sequence.complete.org/hwn/20100228
Issue 151 - February 28, 2010
---
Welcome to issue 151 of HWN, a newsletter covering
Hello.
I was looking into the possibility of doing Summer of Code as a student,
when I found Haskell.org's
TRAChttp://hackage.haskell.org/trac/summer-of-code/report/1.
I was particularly interested in Efficient Maps using Generalised Trees and
the New Purely Functional Data Structures/Containers
Hello cafe,
While I was studying for my computer graphics test I have tomorrow I
realized that maybe some of the major problems I've read so far about
Radiosity Rendering Algorithms may be reduced significantly if it was
implemented in Haskell and taking advantage of the lazy evaluation so that
enferris:
Hello.
I was looking into the possibility of doing Summer of Code as a student, when
I
found Haskell.org's TRAC. I was particularly interested in Efficient Maps
using
Generalised Trees and the New Purely Functional Data Structures/Containers
Library. I'd love to work on either
you could have a look at these ...
bjpop-ray - search on web
hray - http://users.elis.ugent.be/~kehoste/Haskell/HRay/
Hello cafe,
While I was studying for my computer graphics test I have tomorrow I
realized that maybe some of the major problems I've read so far about
Radiosity Rendering
56 matches
Mail list logo