be helpful).
--
Eugene Kirpichov
http://www.linkedin.com/in/eugenekirpichov
http://jkff.info/software/timeplotters - my performance visualization tools
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
:05 PM, Eugene Kirpichov ekirpic...@gmail.comwrote:
Couldn't read cabal file
--
Eugene Kirpichov
http://www.linkedin.com/in/eugenekirpichov
http://jkff.info/software/timeplotters - my performance visualization tools
___
Haskell-Cafe mailing list
:)
Feedback and sharing would be very welcome.
--
Eugene Kirpichov
http://www.linkedin.com/in/eugenekirpichov
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
in the
article :)
--
Eugene Kirpichov
http://www.linkedin.com/in/eugenekirpichov
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
differences between the
machines. The app does not use a lot of memory, and the machine is not
running out of physical or swap.
Regards,
Malcolm
On 04 Sep, 2012,at 04:01 PM, Eugene Kirpichov ekirpic...@gmail.com
wrote:
Hi Manish,
Please provide the input file, I'll debug
/\/ bis zum
send plaintext only - max size 32kB - no spam \ Abfallen
http://stefan-klinger.de
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
--
Eugene Kirpichov
http
On 04 Sep, 2012,at 04:01 PM, Eugene Kirpichov ekirpic...@gmail.com wrote:
Hi Manish,
Please provide the input file, I'll debug this.
On Mon, Sep 3, 2012 at 1:06 PM, Manish Trivedi trivman...@gmail.com wrote:
Hi,
I am running into a weird out of memory issue. While running timeplot over
have the above bugs.
- Mark
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
--
Eugene Kirpichov
http://www.linkedin.com/in/eugenekirpichov
We're hiring! http://tinyurl.com/mirantis
!
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
--
Eugene Kirpichov
http://www.linkedin.com/in/eugenekirpichov
We're hiring! http://tinyurl.com/mirantis-openstack-engineer
. Wouldn't it be appropriate to remove this
notice and ask people to use the 64-bit version unless they have a
specific reason not to?
--
Eugene Kirpichov
http://www.linkedin.com/in/eugenekirpichov
We're hiring! http://tinyurl.com/mirantis-openstack-engineer
/mailman/listinfo/haskell-cafe
--
Eugene Kirpichov
http://www.linkedin.com/in/eugenekirpichov
We're hiring! http://tinyurl.com/mirantis-openstack-engineer
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo
know
TimePlot wiki has quantile example but I havent been able to successfully
use it.
Regards,
-Manish
On Tue, Sep 18, 2012 at 10:48 AM, Eugene Kirpichov ekirpic...@gmail.com
wrote:
Hi Manish,
The meaning of @ is not what you think it is. It merely draws
colored bars, it does
Hi,
I'm the author and I'll reply tomorrow, sorry, going to sleep now :) thanks for
the interest in the tools anyway!
17.09.2012, в 21:40, Manish Trivedi trivman...@gmail.com написал(а):
Hi Folks,
I am trying to plot two tracks with different colors.
Following is my input file,
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
--
Eugene Kirpichov
http://www.linkedin.com/in/eugenekirpichov
We're hiring! http://tinyurl.com/mirantis-openstack-engineer
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
--
Eugene Kirpichov
http://www.linkedin.com/in/eugenekirpichov
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Use Debug.Trace.
It does not make sense to declare that heap is a monad, as a monad is an
abstraction of sequencing computations, and a heap is not an abstraction of
sequencing computations at all. You don't make your String class implement the
rendering engine interface just because you want
.
Qi
On Wednesday, July 11, 2012 5:28:17 PM UTC-5, Eugene Kirpichov wrote:
Use Debug.Trace.
It does not make sense to declare that heap is a monad, as a monad is an
abstraction of sequencing computations, and a heap is not an abstraction of
sequencing computations at all. You don't make
/haskell-cafe
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
A lot of people have done this :) eg from me: google up a fairly recent thread
from me about processing streams and perhaps the keyword timeplot (writing
from a dying phone, can't do myself)
27.05.2012, в 12:04, Chris Wong chrisyco+haskell-c...@gmail.com написал(а):
Hello all
I just came
Apfelmus
--
http://apfelmus.nfshost.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http
?
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
a preprocessing step of my own?
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
:37 AM, Eugene Kirpichov ekirpic...@gmail.com
wrote:
Thanks, this is exactly what I was looking for!
I might look some more into exposing VCS tags too, however.
On Wed, Feb 22, 2012 at 12:25 PM, Roel van Dijk vandijk.r...@gmail.com
wrote:
For each package myPackage Cabal generates
showMyGitVersion = $(do
v - qRunIO getRevision
lift $ case v of
Nothing - none
Just (hash,True) - hash ++ (with local modifications)
Just (hash,False) - hash)
On Wed, Feb 22, 2012 at 2:26 PM, Herbert Valerio Riedel h...@gnu.org wrote:
Hi,
Eugene Kirpichov ekirpic
On Wed, Feb 22, 2012 at 2:57 PM, Herbert Valerio Riedel h...@gnu.org wrote:
Eugene Kirpichov ekirpic...@gmail.com writes:
It can be used like this:
{-# LANGUAGE TemplateHaskell #-}
import Distribution.VcsRevision.Git
import Language.Haskell.TH.Syntax
showMyGitVersion :: String
Thanks!
I released it:
http://hackage.haskell.org/package/htrace
http://github.com/jkff/htrace
On Wed, Jan 25, 2012 at 4:18 AM, Felipe Almeida Lessa
felipe.le...@gmail.com wrote:
Really nice! Looks like it could be a useful mini-package on Hackage.
--
Felipe.
--
Eugene Kirpichov
+
6
+
7
+
8
+
9
+
10
55
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell
Have you tried generating a free theorem for :- ? (I haven't as I'm writing
from my phone)
24.01.2012, в 9:06, Ryan Ingram ryani.s...@gmail.com написал(а):
On Mon, Jan 23, 2012 at 8:05 PM, Daniel Fischer
daniel.is.fisc...@googlemail.com wrote:
On Tuesday 24 January 2012, 04:39:03, Ryan
Hi,
I've got a program that seems to spend much of its time allocating
short-lived objects, which therefore don't show up in +RTS -hy or alike.
Is there a way to get a breakdown by type of the objects that are being
*allocated* but not necessarily retained (disappear after gen0)?
--
Eugene
time0.21s ( 0.23s elapsed)
EXITtime0.00s ( 0.00s elapsed)
Total time2.26s ( 2.51s elapsed)
%GC time 9.3% (9.1% elapsed)
Alloc rate1,056,397,390 bytes per MUT second
Productivity 90.7% of total user, 81.5% of total elapsed
--
Eugene Kirpichov
% of total user, 82.3% of total elapsed
On Wed, Jan 18, 2012 at 8:22 PM, Eugene Kirpichov ekirpic...@gmail.comwrote:
Hi cafe,
Just wanted to inform you that I've been benchmarking my compute-intensive
stuff on ghc 7.0.4 vs 7.4.0, and 7.4.0 gave a large speedup - one program
that took 2.9s
Hi,
I'm fixing a build error in a package that depends on the RTS API, which
changed in 7.4, using #if __GLASGOW_HASKELL__ = 740.
However, build log shows that __GLASGOW_HASKELL__ is still 704, not 740 as
I'd expect.
Is this a bug?
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http
My bad, it *should* really be 704.
http://www.haskell.org/ghc/docs/latest/html/users_guide/options-phases.html#c-pre-processor
On Tue, Jan 17, 2012 at 3:35 PM, Eugene Kirpichov ekirpic...@gmail.comwrote:
Hi,
I'm fixing a build error in a package that depends on the RTS API, which
changed
3 installation.
GCC 4.6.2 builds on OS X 10.7 with Xcode 4.2. Build GMP 5.0.2 with clang,
and then GCC with /usr/bin/gcc - llvm-gcc-4.2. I think I saw someone guild
GCC 4.7, but this is highest stable.
Hans
From: Eugene Kirpichov ekirpic...@gmail.com
Oh well... looks like building ghc
be for myself, as
it's easier to do and I'd then quicker become able to build my application
with split-objs and shrink its executable size from 11 to 2Mb)
On Wed, Jan 11, 2012 at 9:48 PM, Brandon Allbery allber...@gmail.comwrote:
On Wed, Jan 11, 2012 at 02:12, Eugene Kirpichov ekirpic
overly long option strings into temp files.
It'd be fun for me to implement this as my first contribution to ghc; is
this a good idea in general?
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru
Oh well... looks like building ghc won't be easy, as it doesn't build with
llvm-gcc and it's not easy to get a real gcc on Lion. But I don't stop
trying :)
On Wed, Jan 11, 2012 at 11:12 AM, Eugene Kirpichov ekirpic...@gmail.comwrote:
Hi,
I'm building gtk2hs on a mac with -fsplit-objs
will bring the community the
most benefit?
Is there any effort on unifying them going on?
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http
Will this help?
data List a b where
List :: [a] - List a a
05.01.2012, в 17:12, Robbert Krebbers mailingli...@robbertkrebbers.nl
написал(а):
Hello,
in a Haskell development I have to represent paths that have elements of
alternating types. GADTs allow me to do this easily:
data
2011/12/26 Gábor Lehel illiss...@gmail.com
On Sun, Dec 25, 2011 at 9:19 PM, Eugene Kirpichov ekirpic...@gmail.com
wrote:
Hello Heinrich,
Thanks, that's sure some food for thought!
A few notes:
* This is indeed analogous to Iteratees. I tried doing the same with
Iteratees
)) / fromIntegral 100, but this frankly sucks and is rather
slow, there must be a better way.
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http
Whoa. Sebastian, you're my hero — I've been struggling with defining Arrow for
ListTransformer for a substantial time without success, and here you got it,
dramatically simpler than I thought it could be done (I was using explicit
queues).
I wonder if now this datatype of yours is isomorphic to
On Tue, Dec 27, 2011 at 7:23 AM, Sebastian Fischer fisc...@nii.ac.jpwrote:
2011/12/26 Eugene Kirpichov ekirpic...@gmail.com
Whoa. Sebastian, you're my hero — I've been struggling with defining
Arrow for ListTransformer for a substantial time without success, and here
you got it, dramatically
of the form (forall r . ListTo a
r - ListTo b r) - you just need (ListTo b [a]). This is a revelation for
me.
On Sun, Dec 25, 2011 at 2:25 PM, Heinrich Apfelmus
apfel...@quantentunnel.de wrote:
Eugene Kirpichov wrote:
In the last couple of days I completed my quest of making my graphing
On Mon, Dec 26, 2011 at 12:19 AM, Eugene Kirpichov ekirpic...@gmail.comwrote:
Hello Heinrich,
Thanks, that's sure some food for thought!
A few notes:
* This is indeed analogous to Iteratees. I tried doing the same with
Iteratees but failed, so I decided to put together something simple
://www.haskell.org/mailman/listinfo/haskell-cafe
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Superlinear speedup can occur due to the increased cache size.
24.12.2011, в 19:49, Burak Ekici ekcbu...@hotmail.com написал(а):
Dear List,
I am trying to parallelize Karatsuba multiplication with Haskell's
second generation strategies. Although, I am running the code on an
Intel
Well, assume that cache is x times faster than main memory and that the hot
working set size is y, and cache size of one core is z, and that the algorithm
is really bound by memory access. Then some simple math should give the answer
:) I can't do it myself now as I don't have a pen and paper
If the cache was infinitely faster, then doubling it would give an infinite
speedup for an algorithm whose working set was exactly one core's cache size.
24.12.2011, в 19:58, Burak Ekici ekcbu...@hotmail.com написал(а):
First of all, thanks a lot for your quick answer!
However, the
I mean exactly 2x one cores cache size of course.
24.12.2011, в 20:06, Eugene Kirpichov ekirpic...@gmail.com написал(а):
If the cache was infinitely faster, then doubling it would give an infinite
speedup for an algorithm whose working set was exactly one core's cache size
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Thanks, this makes sense.
On Sun, Dec 25, 2011 at 10:03 AM, Dan Doel dan.d...@gmail.com wrote:
On Sun, Dec 25, 2011 at 12:14 AM, Eugene Kirpichov ekirpic...@gmail.com
wrote:
On Sat, Dec 24, 2011 at 10:49 PM, Dan Doel dan.d...@gmail.com wrote:
I think it's good to be clear on all
Thanks.
Now it's working - it wasn't at the moment of my email.
On Sun, Dec 25, 2011 at 11:21 AM, Tom Murphy amin...@gmail.com wrote:
realworldhaskell.org/book
On Dec 25, 2011 1:46 AM, Eugene Kirpichov ekirpic...@gmail.com wrote:
See subject.
Is this expected?
--
Eugene Kirpichov
.
edges2eventsSummary, which applies a summary over a stream of long events
to a stream of rise/fall edges.
This means that you can define a stream transformer (Stream a - Stream
b) as a function (StreamSummary b - StreamSummary a), which can be much
easier. I have to think more about this idea.
--
Eugene Kirpichov
didn't
find one on hackage) or if someone expressed interest in making Chart avoid
having the whole input in memory.
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
___
Haskell-Cafe mailing list
Hi Axel,
When do you expect to publish an updated version of gtk2hs on hackage?
On Thu, Nov 3, 2011 at 1:02 PM, Eugene Kirpichov ekirpic...@gmail.com wrote:
Hi,
The actual thanks for tracking this down go to Vincent Hanquez for finding
that we're doing a lot of gmp calls (and for making me
in my copy.
On Thu, Nov 3, 2011 at 11:41 AM, Axel Simon axel.si...@in.tum.de wrote:
Hi Eugene,
On 02.11.2011, at 17:34, Eugene Kirpichov wrote:
Heh.
Guess what!
A simple {-# INLINE cFloatConv #-} helped to the same extent!
Axel, I think this change should be pretty easy to incorporate
- do
C.rectangle x y 1 1
C.fill
C.surfaceWriteToPNG s picture.png
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http
a
dozen seconds drawing.
On Wed, Nov 2, 2011 at 1:17 PM, Eugene Kirpichov ekirpic...@gmail.comwrote:
Hello,
I've got two very simple programs that draw a very simple picture using
cairo, doing a couple hundred thousand of cairo calls.
One program is in C++. The other is in Haskell and uses
changed FFI calls from __pkg_ccall_GC to __pkg_ccall. The performance
stayed the same; the overhead is elsewhere.
On Wed, Nov 2, 2011 at 1:31 PM, Claude Heiland-Allen cla...@goto10.orgwrote:
On 02/11/11 09:17, Eugene Kirpichov wrote:
Hello,
I've got two very simple programs that draw a very
cairo_rectangle cr x y 1 1
cairo_fill cr
pic - newCString picture.png
cairo_surface_write_to_png s pic
On Wed, Nov 2, 2011 at 1:58 PM, Vincent Hanquez t...@snarc.org wrote:
On 11/02/2011 09:51 AM, Eugene Kirpichov wrote:
Hi Claude,
I suspected that the issue could be about unsafe foreign
+gtk2hs-users
On Wed, Nov 2, 2011 at 2:10 PM, Eugene Kirpichov ekirpic...@gmail.comwrote:
Oh. This is pretty crazy, I wonder what they're doing with GMP so much...
I modified the Haskell program to use cairo directly, even with safe
calls, and it now takes the same time as the C program
Any idea how to debug why all the GMP calls?
I'm looking at even the auto-generated source for cairo bindings, but I
don't see anything at all that could lead to *thousands* of them.
On Wed, Nov 2, 2011 at 2:14 PM, Vincent Hanquez t...@snarc.org wrote:
On 11/02/2011 10:10 AM, Eugene Kirpichov
of constraints in functions below by usage of
CFloatConv.
On Wed, Nov 2, 2011 at 2:25 PM, Felipe Almeida Lessa felipe.le...@gmail.com
wrote:
+gtk2hs-devel
On Wed, Nov 2, 2011 at 8:15 AM, Eugene Kirpichov ekirpic...@gmail.com
wrote:
Any idea how to debug why all the GMP calls?
I'm looking at even
Sorry for re-sending, my previous attempt got ignored by gtk2hs-devel
mailing list as I wasn't subscribed. Now I am.
On Wed, Nov 2, 2011 at 3:14 PM, Eugene Kirpichov ekirpic...@gmail.comwrote:
Yay!!!
I made a small change in Types.chs and got my original cairo-binding-based
program
the SPECIALIZE pragma? It is part of the Haskell 98 and
Haskell 2010 specifications.
On 02.11.2011, at 12:14, Eugene Kirpichov wrote:
Yay!!!
I made a small change in Types.chs and got my original
cairo-binding-based program to be just as blazing fast. The only problem I
have with this is that I used
specifications.
I don't think it's going to make any difference, as the core already
have an specialized poor version. See my first e-mail.
--
Felipe.
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru
Thanks! I'll definitely consider your library in the future, but for now,
as we can see, there's no necessity in rewriting cFloatConv at all - {-#
INLINE #-} suffices :)
On Thu, Nov 3, 2011 at 3:30 AM, wren ng thornton w...@freegeek.org wrote:
On 11/2/11 7:14 AM, Eugene Kirpichov wrote:
I
Anton, I think the mapM inside searchBy is incorrect. You're threading state
between exploration of different branches, which you I think shouldn't be doing.
30.10.2011, в 19:44, Anton Kholomiov anton.kholom...@gmail.com написал(а):
I'm misunderstanding astar. I've thought that 'whole
'
In the data type declaration for `UTCTime'
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Oh, I see, thanks!
So then, I guess, the solution would be to use a fixed-precision integer
type instead.
On Fri, Oct 28, 2011 at 1:54 PM, Daniel Fischer
daniel.is.fisc...@googlemail.com wrote:
On Friday 28 October 2011, 11:41:15, Eugene Kirpichov wrote:
newtype Day = ModifiedJulianDay
Another question: Can I unpack some fields in a record and not unpack
others? Does their order matter then?
On Fri, Oct 28, 2011 at 1:57 PM, Eugene Kirpichov ekirpic...@gmail.comwrote:
Oh, I see, thanks!
So then, I guess, the solution would be to use a fixed-precision integer
type instead
On Fri, Oct 28, 2011 at 2:32 PM, Daniel Fischer
daniel.is.fisc...@googlemail.com wrote:
On Friday 28 October 2011, 11:57:54, Eugene Kirpichov wrote:
Another question: Can I unpack some fields in a record and not unpack
others?
Yes, no problem with that.
Does their order matter
Hi cafe,
Ubuntu 11.10 has been released, which includes support for multiarch
https://wiki.ubuntu.com/MultiarchSpec
Am I right that this will facilitate compiling Haskell code into x86
binaries on an x64 machine?
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com
), require gtk2.0, gmp3, libc6.
http://jkff.info/software/timeplotters-0.1-1_amd64.tar.gz *nix
binaries (amd64), require gtk2.0, gmp3, libc6.
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
___
Haskell
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http
/ByteString/Lex{,/Lazy} and try ghci'ing to them, doing the
modification I did and ghci'ing again.
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
wrappers.hs
Description: Binary data
___
Haskell-Cafe
.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
___
Haskell-Cafe mailing
regarding the same.
--
Rohit
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru
reallyUnsafePointerEq#, and it really is as unsafe as it sounds :)
20.07.2011, в 7:51, Nikhil A. Patil patil.nik...@gmail.com написал(а):
Hi,
Is there any way of getting the following code to immediately return
True without performing the element-by-element comparison? Essentially
this
Plain old lazy lists do not allow me to combine multiple concurrent
computations, e.g. I cannot define average from sum and length.
2011/7/1 Heinrich Apfelmus apfel...@quantentunnel.de:
Eugene Kirpichov wrote:
I'm rewriting timeplot to avoid holding the whole input in memory, and
naturally
you can.
runningAverage :: Int - [Double] - [Double]
runningAverage n xs = let chunk = take n xs
in (sum chunk / length chunk) : runningAverage (tail xs)
Lazy lists are absolutely ideal for this purpose.
Regards,
Malcolm
On 1 Jul 2011, at 07:33, Eugene Kirpichov
, Eugene Kirpichov ekirpic...@gmail.com
wrote:
I meant the average of the whole list - given a sumS and lengthS (S
for Stream), write meanS as something like liftS2 (/) sumS lengthS.
Or is that possible with lazy lists too?
Sure you can. Sum, length and mean could be calculated as left
fold
Thanks but I'm afraid that's still not quite what I'm looking for;
guess I'll have to define my desire by my implementation - so once
it's ready I'll show the result to cafe :)
2011/7/1 Alexey Khudyakov alexey.sklad...@gmail.com:
On Fri, Jul 1, 2011 at 12:54 PM, Eugene Kirpichov ekirpic
(maybe2list maybePrev) $ Just $ maybe empty (li . Just)
Looks like this can be made into an instance of Arrow and can be composed etc.
2011/7/1 Heinrich Apfelmus apfel...@quantentunnel.de:
Eugene Kirpichov wrote:
Plain old lazy lists do not allow me to combine multiple concurrent
computations
* Given a stream of numbers with times, split it into buckets by time
of given width and produce a stream of (bucket, 50%,75% and 90%
quantiles in this bucket)
* Sum a stream of numbers
Is this, perhaps, what comonads are for? Or iteratees?
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http
://www.haskell.org/mailman/listinfo/haskell-cafe
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
-windows.html) is dead.
Where to get pre-compiled binary libraries of Gtk+ ?
Thanks!
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
--
Eugene Kirpichov
Principal Engineer, Mirantis
/listinfo/haskell-cafe
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
://www.haskell.org/mailman/listinfo/haskell-cafe
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo
])])
Prelude Data.List Data.Map
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru
?
How can I diagnose what's wrong?
How is cabal install generally supposed to find that a dll is
needed, if I don't write it down in the extra-libraries field?
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru
--
--
Regards,
KC
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru
Sounds just terrific! Thanks!
06.05.2011, в 8:15, David Mazieres dm-list-haskell-c...@scs.stanford.edu
написал(а):
Hi, everyone. I'm pleased to announce the release of a new iteratee
implementation, iterIO:
http://hackage.haskell.org/package/iterIO
IterIO is an attempt to make
Hello,
Sorry for the broken link: the correct link to the presentation is:
http://jkff.info/presentations/two-visualization-tools.pdf
2011/4/30 Eugene Kirpichov ekirpic...@gmail.com:
Hello fellow haskellers,
I announce the release of timeplot-0.3.0, the analyst's swiss army
knife
,
be it an installation problem or a bug (the version is fresh released,
so this is quite possible).
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http
link was present (finally making some use of my
hosting...).
Here it is: http://jkff.info/presentations/two-visualization-tools.pdf
2011/3/17 Ferenc Wagner wf...@niif.hu:
Eugene Kirpichov ekirpic...@gmail.com writes:
2010/12/17 Henning Thielemann schlepp...@henning-thielemann.de:
Eugene
?
Thanks
Klaus
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
--
Eugene Kirpichov
Senior Software Engineer,
Mirantis Inc. http://www.mirantis.com
X from other people (I myself don't have it) -
like being unable to install it without first installing XCode, etc.
Can anyone help resolve this issue? I'm sure this is not expected
behavior. What further information would help find the cause?
--
Eugene Kirpichov
Senior Software Engineer
.
G.
On Thu, Feb 24, 2011 at 3:41 PM, Eugene Kirpichov ekirpic...@gmail.com
wrote:
Hello,
Below is an experience report from Artem (cc'd) on a failed
installation of Haskell platform on a Mac.
OS: OS X 10.6.6
CPU: Intel Core i5
Platform downloaded from:
http://lambda.haskell.org/hp
1 - 100 of 327 matches
Mail list logo