Re: [Haskell-cafe] [ANN] New OpenCV Bindings

2013-09-29 Thread Ivan Perez
us is that these raw bindings provide a new base to >> work from, and it's worthwhile to rethink the API we provide with a fresh >> start. >> >> >> On Sat, Sep 28, 2013 at 2:23 PM, Ivan Perez > > wrote: >> >>> The people working on HOpenCV are

Re: [Haskell-cafe] [ANN] New OpenCV Bindings

2013-09-28 Thread Ivan Perez
hese bindings then cv-combinators would be able to > benefit from this work. That said, my effort going forward is to provide > something equivalent to cv-combinators in expressiveness. I'm definitely > taking inspiration from the library though I'm not basing my work on their >

Re: [Haskell-cafe] [ANN] New OpenCV Bindings

2013-09-28 Thread Ivan Perez
I think they do work. cv-combinators depends on HOpenCV, which depends on OpenCV 2.0. On 28 September 2013 16:03, Arjun Comar wrote: > No, these are unrelated. Cv-combinators hasn't really worked since OpenCV > 2.0 waa released I believe. > On Sep 28, 2013 8:54 AM, "I

Re: [Haskell-cafe] Poll & plea: State of GUI & graphics libraries in Haskell

2013-09-28 Thread Ivan Perez
Hi Conal, hi café, I'm currently devoting most of my time to this and plan to continue doing so (in the form of a PhD and work via my company). I've been working on a thorough review of the current status and a comparative analysis (using a fairly demanding, well-known algorithm to compare severa

Re: [Haskell-cafe] [ANN] New OpenCV Bindings

2013-09-28 Thread Ivan Perez
Cool. Thanks a lot for uploading this. I have a question (and I confess that I haven't checked the link). How is this related to or overlaps with cv-combinators? Cheers Ivan On 28 September 2013 06:18, Arjun Comar wrote: > After receiving feedback, I went ahead and split out the raw C wrapper

Re: [Haskell-cafe] FP Complete competition clarification

2013-09-26 Thread Ivan Perez
Thank you, Mike. This is definitely not the answer I got when I contacted FP more than a month ago. It's good to see that they are broadening the definition :) On 26 September 2013 18:35, Mike Meyer wrote: > I got some clarification on what "unpublished" means for FP Complete > competition entr

Re: [Haskell-cafe] ANNOUNCE: New OpenGL packages

2013-09-21 Thread Ivan Perez
Thank you very much for the work. It is deeply appreciated. I'll test all of Keera's programs with these new versions and let you know if something comes up. Best regards Ivan On 15 September 2013 18:23, Sven Panne wrote: > New versions of the OpenGL packages are available on Hackage: > >

Re: [Haskell-cafe] Looking for GUI examples

2013-09-09 Thread Ivan Perez
You may want to check one of Keera Studios' apps. All four of these do what you want: https://github.com/ivanperez-keera/haskellifi-trayicon https://github.com/ivanperez-keera/keera-diamondcard-sms-trayicon https://github.com/ivanperez-keera/keera-three-balance-checker https://github.com/keera-stu

[Haskell-cafe] Default installation path of haskell platform in windows

2013-07-20 Thread Ivan Perez
Hi café, I just spent the whole day fighting ghc and cabal to get my program compiled in windows (and I haven't succeeded yet :) ) realgcc is not very happy about paths with spaces in them (I think there's an open bug about the way ghc calls realgcc, which manifests if you use extra-lib-dirs in t

[Haskell-cafe] Hoogle website not working?

2013-07-15 Thread Ivan Perez
Hi cafe, I'm seeing a binary executable file every time I try to access haskell.org/hoogle. I don't know if the maintainers are aware of this. Cheers. Ivan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/

Re: [Haskell-cafe] Announcement - HGamer3D - 0.2.1 - featuring FRP based GUI and more

2013-03-20 Thread Ivan Perez
This is very cool. I've been keeping an eye on this library for a few months. Keep it on! On 19 March 2013 15:18, Heinrich Apfelmus wrote: > Peter Althainz wrote: > >> Dear All, >> >> I'm happy to announce release 0.2.1 of HGamer3D, the game engine with >> Haskell API, featuring FRP based API a

Re: [Haskell-cafe] ANNOUNCE: Win32-services

2013-03-16 Thread Ivan Perez
I am happy to see this implemented. Thanks Michael! On 15 March 2013 00:49, Michael Steele wrote: > I uploaded a new packaged named Win32-services. This library is a partial > binding to the Win32 System Services API. It's now easier to write Windows > service applications in Haskell. > > The ha

Re: [Haskell-cafe] [Announcement] hArduino: Control your Arduino board from Haskell

2013-02-12 Thread Ivan Perez
I, too, am very happy to see this implemented. I'll give it a try and tell you how it goes. (not inmediately, sadly, I don't have my arduino with me.) Thanks a lot! On 11 February 2013 08:04, Alfredo Di Napoli wrote: > Sounds cool! > Thanks for your effort! :) > A. > > On 10 February 2013 22:54,

Re: [Haskell-cafe] [Haskell-beginners] ghc and android

2013-01-01 Thread Ivan Perez
Nathan, David is right. Using the x86 Android image in a VM could be fast enough (if you computer has virtualization support) I haven't tried to compile GHC for android myself. At the present time, and taking into account that it would probably be slow to execute and lack all the interesting libr

Re: [Haskell-cafe] Can cabal be turned into a package manager?

2012-12-16 Thread Ivan Perez
have something like this in cabal. On 16 December 2012 12:10, Ivan Perez wrote: > On 12 December 2012 18:16, Bardur Arantsson wrote: >> On 12/12/2012 06:01 PM, Janek S. wrote: >> >> Well, one big issue is that Linux distribution packagers have control of >> the entire

Re: [Haskell-cafe] Can cabal be turned into a package manager?

2012-12-16 Thread Ivan Perez
Well, one advantage of cabal over nix is that cabal works on windows. I haven't tried to install nix on windows, but: "Portability. Nix should run on most Unix systems, including Linux, FreeBSD and Mac OS X." Has anyone tried it? Cheers, Ivan On 12 December 2012 18:55, Ertugrul Söylemez wrote:

Re: [Haskell-cafe] Can cabal be turned into a package manager?

2012-12-16 Thread Ivan Perez
On 12 December 2012 18:16, Bardur Arantsson wrote: > On 12/12/2012 06:01 PM, Janek S. wrote: > > Well, one big issue is that Linux distribution packagers have control of > the entire stack. A (hypothetical) Haskell package manager wouldn't. In Gentoo, there are many package overlays apart from th

Re: [Haskell-cafe] Best approach to avoid dependency hells

2012-12-08 Thread Ivan Perez
ogram that depends on it. On 8 December 2012 16:32, Albert Y. C. Lai wrote: > On 12-12-08 07:39 AM, Ivan Perez wrote: >> >> When you install A, you may not know that you'll need to depend on a >> lower version of bytestring later on. Cabal will pick the highest >> vers

Re: [Haskell-cafe] Best approach to avoid dependency hells

2012-12-08 Thread Ivan Perez
On 8 December 2012 03:12, Albert Y. C. Lai wrote: > > I do not understand the conflict. First you have GHC, and it comes with > bytestring-0.9.2. Then one of two things happen, but I can't see a conflict > either way: > > * You request A, but A should be fine with the existing bytestring-0.9.2. >

Re: [Haskell-cafe] Maintainer of hgettext

2012-12-06 Thread Ivan Perez
, Dec 5, 2012 at 3:59 PM, Ivan Perez > wrote: >> Hello haskellers, >> >> A few months ago I sent an email to Vasyl Pasternak regarding a couple >> of bugs in hgettext [1], together with a small patch that fixes them. >> >> I never received an answer and I can see

[Haskell-cafe] Best approach to avoid dependency hells

2012-12-05 Thread Ivan Perez
Hello everyone, I've spent the last couple of days fighting my way around a dependency hell with my own libraries and packages. If I install them package by package (by hand), I'm very likely to hit one of these conflicts that I'm talking about. A simple example of something that did happen: - Pa

[Haskell-cafe] Maintainer of hgettext

2012-12-05 Thread Ivan Perez
Hello haskellers, A few months ago I sent an email to Vasyl Pasternak regarding a couple of bugs in hgettext [1], together with a small patch that fixes them. I never received an answer and I can see that the error persists. Does anyone know where he is? What would you recommend at this point? C

[Haskell-cafe] Is hackage.haskell.org down?

2012-12-04 Thread Ivan Perez
Hi haskellers, I've been having problems to access hackage.haskell.org for the past 2-4 hours. Is everything ok? Cheers, Ivan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] GHC for mobile devices?

2012-11-12 Thread Ivan Perez
I found [1] a few months ago. It outputs Java bytecode, so it should work on android. Given that Android development in java is very well supported in eclipse, you might want to use haskell/frege only for the internals of your program and keep coding your interface in Java. [1] http://code.google.

[Haskell-cafe] Solutions for multi-platform compilation?

2012-07-12 Thread Ivan Perez
Hi, I work developing multi-platform applications in Haskell. This poses the following problem: I cannot compile binaries for windows from linux (AFAIK). I "solved" this problem with the following sledgehammer: I installed windows in a VM, I installed GHC, I installed all the C/C++ headers & bina

Re: [Haskell-cafe] Maintainer of pngload listening?

2012-06-28 Thread Ivan Perez
ram should compile without problems this way. Cheers, Ivan On 28 June 2012 18:18, Ivan Perez wrote: > Hi, >  I am not the maintainer. > >  AFAIK, haskell98 is only used to import System in Test.hs. > >  You should be able to remove the dependency on haskell98 from the > cabal file

Re: [Haskell-cafe] Maintainer of pngload listening?

2012-06-28 Thread Ivan Perez
Hi, I am not the maintainer. AFAIK, haskell98 is only used to import System in Test.hs. You should be able to remove the dependency on haskell98 from the cabal file and install the library without problems. In order to test it, move Test.hs to a temp directory after installing the library, add

Re: [Haskell-cafe] HXT: Replace an element with its text

2012-06-26 Thread Ivan Perez
(And just to be as precise as I can and avoid confusion, when I said "link" I meant "unnamed anchor node with an href attribute") On 26 June 2012 10:15, Ivan Perez wrote: > Hi, > You code fails because a link is not a node of kind Text, I think. > What you want is

Re: [Haskell-cafe] HXT: Replace an element with its text

2012-06-26 Thread Ivan Perez
Hi, You code fails because a link is not a node of kind Text, I think. What you want is to get the text from a child node of an anchor node. I think the following should work: is_link :: (ArrowXml a) => a XmlTree XmlTree is_link = hasName "a" process_link :: (ArrowXml a) => a XmlTree XmlTree pro

Re: [Haskell-cafe] Install a script with Cabal?

2012-06-05 Thread Ivan Perez
I spent quite some time going through the cabal docs to generate some files automatically with hails. I totally feel your pain :) What I'm going to suggest is not really a solution to your problem, but since modifying the hooks to install specific programs is not the best solution either, you migh

Re: [Haskell-cafe] Building gtk on OS/X with platform 2012.2.0.0

2012-06-05 Thread Ivan Perez
This is a known issue ([1]), and my guess, according to [2], is that it is fixed in the latest version ([3]), which has not been uploaded to hackage yet. What happens if you install gtk from that repo instead? You may want to try to apply the patch to the version of gtk2hs that is available on hac

Re: [Haskell-cafe] An attempt at an EDSL for platform independent 3D animation

2012-06-04 Thread Ivan Perez
I tried it and it's very cool. Simple, but nice. It would be great to improve both this and Marionetta [1], so that we can create those dancing moves using this second package and have it generate instructions in your DSL (I fear the moves won't look so natural if we program all of them by hand).

[Haskell-cafe] FP freelancers group on linkedin

2012-06-04 Thread Ivan Perez
Hi, A while ago somebody posed the question "What if you get hit by a bus", regarding the apparent lack of Haskell developers that could continue somebody's work if something happened to them. I just created a linkedin group for FP programmers available for hire on a per-project basis ([1]). I hop

[Haskell-cafe] Announce: haskellifi-trayicon-0.0.1

2012-06-03 Thread Ivan Perez
Hi everyone, I wrote a small app that suggests default passwords for visible wifi networks (currently only some Telefonica & Jazztel Wifis in Spain, but could be extended). Not a big deal (less than 400 lines of code with the GUI), but some people asked me to release it, so here it is. Disclaimer

Re: [Haskell-cafe] Tests by properties: origin?

2012-06-01 Thread Ivan Perez
Is this the paper you are looking for: http://www.eecs.northwestern.edu/~robby/courses/395-495-2009-fall/quick.pdf ? On 1 June 2012 11:20, Yves Parès wrote: > Yes ^^ but I can't find this paper, Koen Claessen website doesn't mention it > and the link on the page > http://www.haskell.org/haskellwi

Re: [Haskell-cafe] Requesting Feedback: I Love Haskell, but can't find a place to use it

2012-05-31 Thread Ivan Perez
On 31 May 2012 01:30, Jonathan Geddes wrote: > I love Haskell. It is my absolute favorite language. But I have a very hard > time finding places where I can actually use it! This has been bugging me for years and, like you, I think we ought to lean towards web-pages and mobile devices. Yesod has

Re: [Haskell-cafe] Profiling with QtHaskell

2012-04-20 Thread Ivan Perez
FYI, you'll also have to compile all the dependencies with profiling on as well. On 20 April 2012 12:40, Øystein Kolsrud wrote: > Well, the problem was that I didn't know how to go about compiling it with > profiling support. Thanks for the tip! I'll try that out. > > /Øystein > > > On Fri, Apr 2

[Haskell-cafe] Announce: keera-three-balance-checker-0.0.1

2012-04-16 Thread Ivan Perez
Hi everyone, I wrote a small app to keep my Three Mobile PayG balance always under control. I've been using it for a while and it seems to work fine. It's just an icon docked in the system bar that shows the current balance when you move the mouse over it. If you don't know what Three Mobile is,

Re: [Haskell-cafe] Haskell Java interoperability

2012-03-10 Thread Ivan Perez
If nothing else helps, you may want to take a look at frege [1]. [1] http://code.google.com/p/frege/ On 10 March 2012 22:42, wrote: > I looked on haskell.org for solutions to Haskell/Java interop, but there > doesn't seem to be any current project. What is the status of Lambada or its > progeny

[Haskell-cafe] "Good" Java book? (not off-topic)

2012-02-16 Thread Ivan Perez
Hi, cafe, I find myself in the unusual position of having to recommend a few books on Java to people who want to use it professionally. As the people demanding this live in Burundi, I can't really say "Learn Haskell". Odds are they won't find a job there if they don't use mainstream languages. Is

Re: [Haskell-cafe] Cannot understand liftM2

2012-02-10 Thread Ivan Perez
To understand how liftM2 achieves the cartesian product, I think one way is to find liftM2's implementation and (>>=) implementation as part of []'s instantiation of the Monad class. You can find the first in Control.Monad, and the second in the standard prelude. Lists are monads, and as John (al

[Haskell-cafe] FP activities and researchers in Warwickshire

2012-02-07 Thread Ivan Perez
Hello, I recently moved to Kenilworth, Warwickshire, UK, and I'd like to know if there are meetings, talks, or any FP-related activities going on around here. I contacted somebody at Warwick University but, from what I understood, their Formal Methods group doesn't exist as such any longer and the

Re: [Haskell-cafe] ghc default options

2012-01-06 Thread Ivan Perez
I don't know if there's a ghc main config file (I haven't found any) but you can always use one of the following: 1) alias 2) Modify the lib field of one of the package config files in .ghc or /usr/lib/ghc, probably of ghc itself. 3) Modify your cabal files. You can use extra-lib-dirs or ghc-opt

Re: [Haskell-cafe] Level of Win32 GUI support in the Haskell platform

2011-12-30 Thread Ivan Perez
I'm using Gtk2hs in windows (and linux) with no big problems. Cairo also works. Glade does not allow me to use accents in the user interfaces on windows, but otherwise works ok. I haven't tried wx on windows. It works on linux and it provides a more "natural" interface (gtk will look like gtk also

Re: [Haskell-cafe] If you'd design a Haskell-like language, what would you do different?

2011-12-21 Thread Ivan Perez
> In Haskell, most of these assumptions are invalid: > >      * something may be curried or member of a strange typeclass (like >        printf). No assumptions about the number of arguments can be >        made >      * It may be possible that we do not yet know the type of a because >        we c

Re: [Haskell-cafe] If you'd design a Haskell-like language, what would you do different?

2011-12-21 Thread Ivan Perez
>> - Function overloading without classes. If it's not done, there must >> be a good reason for it >> (many good reasons, probably), but I really miss it. > > That does not play well with type inference. I understand that. But it may be ok in many simple situations, which is actually where I tend

Re: [Haskell-cafe] If you'd design a Haskell-like language, what would you do different?

2011-12-21 Thread Ivan Perez
In general, I like haskell the way it is, but there are a few things that I would like to see: (I am no language designer, so I don't know about the theoretical implications that these might have. Also, let me know if there exists a clean way to do any of the following): - Using subranges of insta

Re: [Haskell-cafe] How hard is it to start a web startup using Haskell?

2011-12-19 Thread Ivan Perez
I'm actually trying to make a list of companies and people using Haskell for for-profit real world software development. I'd like to know the names of those startups, if possible. -- Ivan On 18 December 2011 18:42, Michael Snoyman wrote: > On Sun, Dec 18, 2011 at 6:57 PM, Gracjan Polak wrote:

Re: [Haskell-cafe] What happens if you get hit by a bus?

2011-12-16 Thread Ivan Perez
Just like Michael, I've been learning what it means to be a professional Haskell programmer for a few months. I think the case of Ruby on Rails and Haskell are very, very, very different. Ruby on Rails has been around for many years. There are books, tutorials, examples, websites, etc. Still, the

Re: [Haskell-cafe] ANNOUNCE: hxournal-0.5.0.0 - A pen notetaking program written in haskell

2011-12-16 Thread Ivan Perez
Thanks :) It's working now. I tried it with XInput and without it. Lines seem smoother when XInput is activated. On 16 December 2011 11:33, Ian-Woo Kim wrote: > Hi, all, > > I just uploaded hxournal-0.5.1 which is implemented with .hxournal > config file, "Use X Input" menu enabled, and a fix fo

[Haskell-cafe] ANNOUNCE: keera-network-sms-diamondcard

2011-12-14 Thread Ivan Perez
m/ivanperez-keera/keera-network-sms-diamondcard In a few days I plan to release a small GTK frontend that I've been using for a few months. If you give either of them a try, I'd be glad to know where it got you. Cheers, Ivan Perez ___ Haskell-Ca

Re: [Haskell-cafe] ANNOUNCE: hxournal-0.5.0.0 - A pen notetaking program written in haskell

2011-12-14 Thread Ivan Perez
ot;stylus" or modify line 23 of the >> > source code csrc/c_initdevice.c  . >> > >> > I am going to modify this soon.  (not yet figured out how to detect >> > the tablet generally, >> > so I am thinking of making a configuration file for hxournal which

Re: [Haskell-cafe] ANNOUNCE: hxournal-0.5.0.0 - A pen notetaking program written in haskell

2011-12-13 Thread Ivan Perez
In other news, the program runs, but I can't draw anything. I tried it with a wacom and a mouse. Ian-Woo, let me know if you need me to run some tests or to try a new version before you release it. As a fan of xournal, I'd be glad to do so. Cheers, Ivan. On 13 December 2011 14:00,

Re: [Haskell-cafe] ANNOUNCE: hxournal-0.5.0.0 - A pen notetaking program written in haskell

2011-12-13 Thread Ivan Perez
Unfortunately, I have all the *-dev packages I need. Like somebody else said, it's a different problem. Linking the file worked for me. Cheers On 13 December 2011 02:43, Brandon Allbery wrote: > On Mon, Dec 12, 2011 at 19:22, Ian-Woo Kim wrote: >> >> A workaround is to make a symbolic link to

Re: [Haskell-cafe] ANNOUNCE: hxournal-0.5.0.0 - A pen notetaking program written in haskell

2011-12-12 Thread Ivan Perez
This is what I get when using the latest Ubuntu. libstdc++ is installed. Downloading hxournal-0.5.0.0... Configuring hxournal-0.5.0.0... Preprocessing library hxournal-0.5.0.0... Preprocessing executables for hxournal-0.5.0.0... Building hxournal-0.5.0.0... [ 1 of 41] Compiling Paths_hxournal (

Re: [Haskell-cafe] Tell cabal-install to generate only shared libraries

2011-11-03 Thread Ivan Perez
e) > [...] > override) > QuickCheck-2.4.1.1: file Test/QuickCheck/State.hi is missing (use --force to > override) > QuickCheck-2.4.1.1: file Test/QuickCheck/Exception.hi is missing (use > --force > to override) > QuickCheck-2.4.1.1: cannot find libHSQuickCheck-2.4.1.1.a on library

Re: [Haskell-cafe] Fwd: Ridiculously slow FFI, or cairo binding?

2011-11-02 Thread Ivan Perez
Thanks a lot for this. I've been developing a Graphic Adventure IDE in haskell that I'm about to release. It uses Cairo to draw game-state diagrams and this will sure solve my speed issues. 2011/11/2 Felipe Almeida Lessa : > On Wed, Nov 2, 2011 at 9:14 AM, Eugene Kirpichov wrote: >> Yay!!! >> I m

Re: [Haskell-cafe] Open CV or alternate image processing library for Haskell on windows?

2011-10-26 Thread Ivan Perez
tware that works both on Windows (XP and 7, both x86) and Linux (x86 & amd64). The software will be released in a few days, if everything goes well. You'll be able to find it at keera.es, but I'll let you know when I release it anyway. Cheers, Ivan Perez. PS. I just re-subscribed to th

Re: [Haskell-cafe] Haddock Parse Errors

2006-10-06 Thread Ivan Perez
Matthew Bromberg wrote: > ... > > I'm not sure why an auto-documentation tool shouldn't be a bit more > forgiving vis a vis it's syntax. Maybe flag errors as warnings but > keep on going. > ... I can't help you about the haddock thing but, in my experience, if you forgive that kind of mistakes, m