00:00:00 --- log: started haskell/05.05.06 00:00:26 Gahhh - Robert Dewar apparently learned Algol 68 by reading the report. I wish I had that level of skill. :-) 00:01:16 dbremner: you can have given time. After reading the haskell report I felt like I'd rather read reference docs instead of language tutorials. 00:03:00 this method excludes the C++ standard, of course. 00:03:49 Gahhh: the lisp hyperspec is pretty trashy too 00:03:51 Gahhh - I learn languages by immersion. 00:04:39 lispy - it's intended as a reference. 00:05:09 immersion is good. What I don't like is tutorials (having to) leaving out content along the steps. My brain tries to autocomplete the missing pieces then, and I am confused later on. 00:05:51 Gahhh - exactly. I found SoE fairly frustrating. 00:06:01 SoE = ? 00:06:12 school of expre ? 00:06:14 Gahhh - the Haskell School of Expression. 00:06:32 I have that and I read it. I gained almost nothing from it. It collects dust now. 00:06:46 Gahhh - same. 00:07:09 dbremner: yeah, but have you tried to implement common lisp using it as a reference? 00:07:18 dbremner: i tried...and failed :) 00:07:34 lispy - how far did you get? 00:07:48 i got lost when i hit reader macros 00:08:03 the description of the read algorithm was very confusing as well 00:08:28 when that happened i went back to just implementing what i knew of lisp 00:08:47 and figured i'd fix stuff as it became a problem :) 00:09:07 then i ran out of free time (I became a grad student) and stopped working on it... 00:09:11 lispy - there are two ways to write a language standard. One is to formally define it - SML, Algol 68. Then you've got a consistent artifact frozen in time - additions take forever. The other method is describing it in English and dealing with the resulting errors. 00:10:00 blew english. I have an excerpt from the Python reference nailed to my cube's wall. It's unintelligible. 00:12:14 Gahhh - an approach that makes sense to me is to define behavior of the language with a Haskell interpreter. 00:14:06 --- join: iblechbot (~iblechbot@80.81.23.61) joined #haskell 00:15:34 dbremner: I think it's an inherent complexity problem most of the time. You can represent it worse, but probably not much better. 00:16:46 Gahhh - http://blogs.msdn.com/ericlippert/archive/2003/09/18/53053.aspx 00:18:56 heh 00:19:30 I suppose if you know denotational semantics, you can eat your cake too 00:19:32 Gahhh - and the related lambda discussion. http://lambda-the-ultimate.org/classic/message8778.html 00:20:17 Gahhh - I'm currently reading Denotational Semantics: The Scott-Strachey Approach to Programming Language 00:20:17 Theory 00:20:58 Do you find it useful ? 00:21:07 interesting, my PL prof last term decided that no one uses denotational semantics anymore so we didn't discus it 00:21:14 ond now i've been hearing about it a lot lately :) 00:21:18 lispy - I can easily believe that. 00:21:34 lispy - I often feel that CS is in a dark age of sorts. 00:21:38 lispy: what did he say that they were using then ? 00:21:39 which one is denotional semantics? small-step or big-step? 00:22:09 Gahhh: she, and we studied operational and um...the other one that slips my mind at the moment 00:22:56 is the other one formal semantics? 00:23:04 lispy - axiomatic? 00:23:09 ah yeah 00:23:18 lispy - the big three. 00:23:36 isn't (axiomatic > denotational) semantics ? 00:25:26 Gahhh - AFAICT it's a different approach entirely. http://burks.brighton.ac.uk/burks/foldoc/49/9.htm 00:26:02 I just love how Frank Atanassow bashes things. 00:26:21 well, i finally decided which problem to study. The instructions say to write 1 page describing what you want to work on. Hmm...I did it in two sentences. Some how I think I may be missing something... 00:26:41 --- join: Si\ (~simon@host81-152-108-94.range81-152.btcentralplus.com) joined #haskell 00:27:20 dcoutts: ping. 00:27:35 lispy: and what is it ? 00:28:09 a modified version of Knight's tour 00:28:15 lispy - my favorite smart alec response to "any questions?" was "describe the nature of consciousness." 00:28:25 in this version the boards have missing holes 00:28:32 dbremner: have you read that entire thread you posted for me ? It talks about why the guy did the DS for javascript. 00:28:44 --- join: _JusSx_ (~davide@adsl-187-56.38-151.net24.it) joined #haskell 00:28:53 DS? 00:29:00 denot seman 00:29:03 ah 00:29:12 I abbrev aggress tonite 00:29:16 :) 00:29:26 "You can read this for pleasure or personal edification. It's probably quite hard to get hold of now. It's a classic, and it's completely out of date. A bit like Plutarch." 00:29:26 Gahhh - yep. That's where I got the idea from. 00:29:29 that's okay as long as you don't get annoyed when i ask what it means :) 00:29:51 Gahhh - er the quote is from a review of the Denotational Semantics book I'm reading. 00:30:06 --- quit: sbeyer ("fump") 00:31:24 can I read it for profit ? 00:32:02 Gahhh - presumably. 00:32:12 Is it the Strachey? 00:32:42 <_JusSx_> đŋß 00:32:51 --- join: Itkovian (~Itkovian@d51A5D159.access.telenet.be) joined #haskell 00:32:56 <_JusSx_> ßðđŋħ€ŋŧ€łł«ðđŋ𻢫»«»«»«»«»«»»«»«» 00:33:06 --- join: ramen (ramen@ip68-2-168-7.ph.ph.cox.net) joined #haskell 00:33:45 --- join: magr (~magr@patroclus.uebb.cs.tu-berlin.de) joined #haskell 00:33:54 Psuedonym - yes. 00:34:10 Yeah, I read that 13 odd years ago, and it was out of date then. 00:34:30 Gahhh - I got interested in DS after reading a thesis titled Realistic Compiler Generation. 00:34:34 It's not Dragon Book out of date. 00:34:38 Oooh, good title. 00:34:46 Is that online somewhere? 00:34:50 Psuedonym - that's ok, I've got shelves of out of date boks. 00:35:04 the dargon book is out of date?! 00:35:09 Psuedonym - possibly, I've got it as a book. 00:35:11 I have an ACM Computing Reviews from October 1966. 00:35:15 reffie: Sure is. 00:35:19 It's 20 years old. 00:35:28 --- join: shawn_ (~shawn@c-24-7-48-11.hsd1.ca.comcast.net) joined #haskell 00:35:33 Pseudonym that doesn't necessarily mean it's out of date. 00:35:46 i found a book i like better than the dragon book 00:36:00 It doesn't mention SSA form, graph coloring register allocation, cache optimisation, bottom-up code generation... 00:36:05 Code scheduling... 00:36:19 it's called "Modern Compiler Design" by Grune, Bal, Jacobs and Langendoen 00:36:20 Psuedonym - it's always amusing reading descriptions of stacks before the term was used. 00:36:21 Basically doesn't mention anything that modern compilers do except LR parsing. :-) 00:36:47 Pseudonym you mean optimization techniques 00:36:56 it even describes how to make an haskell complire 00:37:08 as one of the motivations of a whole chapter :) 00:37:22 the amusing thing is that they refer to C as the portable assembler 00:37:35 I'd be disappointed if modern compilers weren't doing any new things that are not in the dragon book. 00:37:41 No, I don't mean optimization techniques. 00:37:45 Not just that. 00:37:49 I mean modern intermediate forms, too. 00:38:47 Psuedonym - Realistic Compiler Generation is Peter Lee's thesis. 00:38:57 My favourties are Muchnick and the second edition of Appel. 00:39:02 @wiki Muchnick 00:39:03 http://www.haskell.org/hawiki/Muchnick 00:39:04 Sorry. 00:39:07 @google Muchnick 00:39:09 http://www.arsenyart.com/ 00:39:11 Hmm. 00:39:39 Psuedonym - I've got Comp- w/Continuations and Modern Compiler Implementation in ML 2ed. 00:39:47 hmmm, building ghc-6-4-branch with ghc-6.4 failed for me (x86_64) 00:39:48 http://www.softpanorama.org/Bookshelf/TOC/muchnick1997.shtml 00:40:08 Yes, the Modern Compiler Implementation (not the "basic techniques" one) is one of the best. 00:40:18 And probably the best introduction these days. 00:40:34 Though it helps, if reading the C and Java versions, if you translate the examples back into ML. 00:41:14 Muchnick's "Advanced Compiler Design and Implementation" is an incredibly good book. 00:41:27 If you're into the backends rather than the frontends. 00:41:47 --- quit: jewel (Connection timed out) 00:42:10 Psuedonym - I purchased most of my compiler books after reading the comp.compilers archives. 00:42:16 * Pseudonym nods 00:42:35 --- join: jewel (~jewel@ppp-202.176.99.74.revip.asianet.co.th) joined #haskell 00:44:12 --- quit: Itkovian () 00:45:23 Psuedonym - Concepts of Programming Languages was wretched, though. 00:45:54 Haven't read it, but thanks for letting me avoid it. 00:46:14 where do you guys find the time to read all those books 00:46:22 I've been at it for a while. 00:46:23 Psuedonym - I spotted enough logical and syntax errors in the first 50 pages to give up. 00:46:38 I commute an hour each way on the train. 00:46:47 I tend to get quite a bit of reading in. 00:46:58 Especially if you know how to skim. 00:47:09 reffie - I'm single, obsessive, and have insomnia. My job involves lots of meetings and pointless emails. Abstract CS is how I escape. 00:47:22 I'm reading "Generative Programming" at the moment, and believe me, this is a book you WANT to skim. 00:47:37 So knowing which bits to skim or skip is essential. 00:47:42 Psuedonym - Scott Meyers made a similar comment to me. 00:47:56 About Generative Programming? 00:48:08 Psuedonym - yes. 00:48:15 You know him IRL, or is this an online forum thing? 00:48:33 I met him IRL once. 00:48:37 Psuedonym - he came to speak at the local user group and I talked with him afterwards. 00:48:42 * Pseudonym has a lot of respect for him, even if he still has the same haircut he had in the 70s 00:48:46 heh 00:48:52 very nice guy 00:48:58 Yeah, I got that impression. 00:49:01 And very practical. 00:49:11 He has a good bullshit detector, unlike Coplien. 00:49:27 Though in Coplien's case, he generates so much of it... 00:50:02 Psuedonym - IIRC, we were discussing metaprogramming or some such and that book came up. 00:50:07 Right. 00:50:16 my brain stops after some time. Even if I had insomnia, I couldn't do anything good with it. 00:50:18 --- quit: lisppaste2 (Ping timeout: 14400 seconds) 00:50:50 The more I think about it, the more I think I should spend my commuting time writing rather than reading. 00:51:02 There's a category theory book that needs to be written, IMO. 00:51:05 writing code or articles ? 00:51:27 One that doesn't assume you're already a theoretician, but also doesn't assume you know nothing. 00:52:07 Psuedonym - if you write that book, I will buy it. 00:52:12 Most category theory books can be summed up: All that stuff you already learned the hard way can be simplified! Isn't that cool! 00:52:12 well, good night all 00:52:13 --- part: lispy left #haskell 00:52:15 Night. 00:52:42 how many CT books have you people read ??? 00:52:51 I've read about six, probably. 00:52:57 holy monad... 00:53:08 But you know something? 00:53:14 I still don't understand them! 00:53:30 you mean all of them. You know some CT now. 00:53:31 Psuedonym -off and on, at least 3 or 4. I skim various parts of various books. 00:53:50 Except for "COnceptual Mathematics", which I understood, but it didn't go far. 00:54:11 Psuedonym - I used category theory at work to represent our new SLA. 00:54:21 Oooh, cool. 00:54:25 Oh, I know some of them. 00:54:49 But for example, I've read six descriptions of the Yoneda lemma, and I now know what it's _for_, but I still don't understand what it _says_. 00:54:53 Psuedonym - My boss liked the result. I'd read some of Conceptual Mathematics at the time. 00:55:22 I already have a title worked out, BTW. 00:55:38 I shall call this book: "Abstract Nonsense: Categories for the Armchair Computer Scientist" 00:56:16 Anyway. 00:56:21 ENough pipe dreaming. I must go home. 00:56:22 Psuedonym - I like the description "the social lives of sets". I know there's a pun there waiting to be discovered. 00:56:22 Nytol! 00:56:24 Pseudonym: since you are a sucker for CT text, maybe you read this too: http://www.cs.man.ac.uk/~david/categories/book/book.pdf (Rydeheard's Computational Category Theory). I havent read it. 00:57:19 I just have pdf's lying around everywhere. 00:57:52 Gahhh - I've got a pdf collection also. Lots of standards for odd languages, theses, etc. 00:57:58 I have read it, once upon a time. 00:58:09 I don't ever recall seeing the term "natural transformation" in it, though. 00:58:21 But I might be wrong. 00:59:20 Such scary jargon: "toposes". 00:59:55 "you won't understand shit $#^&" 01:00:11 --- join: timbyr_ (~timbyr@ppp3-5.lns1.syd3.internode.on.net) joined #haskell 01:00:12 "Toposes" is actually fairly straightforward. 01:00:31 A topos is just something that you can play as fast and loose with as you can with a set. 01:00:57 Anyway, I have to go. 01:00:58 Nytol! 01:00:59 --- quit: Pseudonym ("using sirc version 2.211+ssfe") 01:01:20 Gahhh - I've always liked this quote. "No proper program contains an indication which as an operator-applied 01:01:20 occurrence identifies an operator-defining occurrence which as an 01:01:20 indication-applied occurrence indentifies an indication-defining 01:01:20 occurrence different from the one identified by the given indication 01:01:20 as an indication-applied occurrence." --ALGOL 68 Report 01:01:55 Are you KIDDING ME!!! 01:01:57 lol 01:02:12 oh my god 01:02:36 the python quote is outdone. My cube wall will be updated tomorrow. 01:02:48 Python quote? 01:03:00 Gahhh - it was the 60s, drugs were cheap and plentiful. 01:03:08 I have an obscure paragraph from the python lang reference on my wall. 01:03:19 this is 4x better 01:04:05 dbremner: which section is it in ? 01:04:51 --- join: dblhelix (~stefan@j53155.upc-j.chello.nl) joined #haskell 01:06:41 whoa apparently this is a famous quote. many google hits. 01:07:00 Gahhh - I saw it in an email sig. 01:07:14 --- quit: timbyr (Read error: 113 (No route to host)) 01:10:11 dbremner: it's not in the revised algol 68 01:10:18 Gahhh - 4.4.1 01:10:51 Gahhh - of original. 01:11:10 ah 01:11:42 do you have a link to that ? 01:12:16 Gahhh - google found this. http://groups-beta.google.com/group/net.followup/browse_frm/thread/f644eee57a64ad81/6a3e08d0ac0fe9d7?q=algol+68+report+%22No+proper+program+contains+an+indication+which+as+an+operator+%22+-quote+-lipitor&rnum=83&hl=en#6a3e08d0ac0fe9d7 01:13:09 thanks 01:15:24 going to bed. nite dbremner and all. 01:15:46 Gahhh - night 01:27:46 --- join: glimming (~glimming@p89.kthopen.kth.se) joined #haskell 01:30:12 --- quit: blackdog (Read error: 113 (No route to host)) 01:31:46 --- join: Oejet (proxyuser@cpe.atm2-0-1071147.0x3ef2a7ea.boanxx10.customer.tele.dk) joined #haskell 01:32:48 suppose it would help if I were actually building 6-4-branch... ;) 01:33:27 HEAD seems to be building fine on i386 though fwiw 01:36:18 --- quit: Gahhh (Read error: 60 (Operation timed out)) 01:36:43 --- quit: jewel (Read error: 145 (Connection timed out)) 01:39:25 --- quit: dblhelix ("(Mac OS update requires restart)") 01:41:07 --- quit: shawn_ (Read error: 110 (Connection timed out)) 01:42:13 Good day, #haskell. 01:43:22 Morning, Oejet. 01:44:00 --- join: JaffaCake (~simonmar@tide71.microsoft.com) joined #haskell 01:50:29 --- quit: glimming (Remote closed the connection) 01:52:03 --- join: boegel (~boegel@ip-81-11-219-142.dsl.scarlet.be) joined #haskell 01:54:21 --- quit: _JusSx_ ("leaving") 01:57:17 --- join: jewel (~jewel@ppp-202.176.99.109.revip.asianet.co.th) joined #haskell 01:58:05 --- quit: asmodai ("be right back") 02:00:13 --- join: glimming (~glimming@p89.kthopen.kth.se) joined #haskell 02:00:40 Can someone provide me with the TWO definitions of monad in Haskell : Kleisli triple vs. Monad 02:00:46 Which one is Monad type class? 02:00:51 >>= vs >> 02:00:53 ? 02:02:17 glimming: Fisk. 02:02:28 --- join: asmodai (~asmodai@sakko.demon.nl) joined #haskell 02:02:50 glimming: Could you rephrase that? 02:03:27 There are two definitions of monads around. 02:03:33 Which one is the Monad type class? 02:03:58 Both >>= and >> are members of the Monad type class. 02:04:38 And neither are monads. 02:04:56 Argh 02:05:10 the binary operator in the monad class must satisfy certain laws. 02:05:23 That is not my question 02:05:37 I know that a type constructor instantiating Monad is what you calla monad 02:05:38 So 02:05:59 My question is what are the TWO (equivalent) definitions 02:06:00 of monads 02:06:05 that are around in category theory 02:06:07 in terms of Haskell 02:06:12 Kleisli triples vs. Monads 02:06:14 which one is Monad? 02:06:34 --- join: TheHunter (~TheHunter@wwsx24.win-screen.uni-wuerzburg.de) joined #haskell 02:06:42 the hunter, please check backlog 02:07:06 If two definitions are isomorphic then it is an implementation detail what operators happen to be the primitive ones. 02:07:14 Well 02:07:20 I am going to ask my students to prove them isomorphic! 02:07:58 and note also that the actual proof may or may not be expressible in haskell 02:08:24 ;-) 02:09:04 Hehe. 02:10:16 glimming, they are all equivalent. 02:10:23 Yeah 02:10:28 so which one is Monad class? 02:10:34 However, you have to forget about the fail kludge the Monad type class implements. 02:10:41 --- quit: kaol ("/me shuts down X and tries to get his new USB mouse to work") 02:10:51 Which I do not understand anyway - what is the Fail anyway? 02:11:22 Fail is not an issue 02:11:23 the reason for fail is that pattern matching can be handled gracely in do-notation. 02:11:23 ;-) 02:11:30 aha 02:11:34 Can you give an example, or a link? 02:12:06 Given monads S and T, what does it mean to write ST in terms of Haskell - is this combining/composing monads (is there a reference)? 02:12:13 I am still lost as to which definition Monad uses... 02:12:28 http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#9 02:12:45 these are the laws that the standard libs assume. 02:13:15 for fail, check the report (translation of do-notation) 02:13:35 I've found this line at a tutorial: data Bool = False | True 02:13:57 But using ghci I get SyntaxError: invalid syntax. What is wrong here? 02:15:37 MarcWeber: You have to save it in a file and then load it with GHCi. 02:15:57 (and Bool is already defined in the prelude) 02:17:04 glimming, monad transformers: http://homepages.inf.ed.ac.uk/wadler/topics/monads.html (combining monads). 02:17:42 you might also wanna check the references of the "composing monads using coproducts" paper. 02:18:00 Cool 02:18:02 Thanks 02:18:10 I am working with the author of the 2nd paper, neil Ghani! 02:18:11 ;-) 02:18:13 --- part: glimming left #haskell 02:21:03 --- join: bourbaki (~bla@p5091FBF0.dip.t-dialin.net) joined #haskell 02:21:07 moin 02:21:57 moin 02:23:42 hey hows it going? 02:24:18 it's ok. 02:24:58 --- join: goron (~ron@zonnebloem.demon.nl) joined #haskell 02:25:22 boegel are you there? 02:25:23 I know get an executable using ghc. But when I try to execute it I get the errormessage Permission denied. Permission is -rwxr--r-- ? I've also tried to execute it as root. Same result 02:25:59 on what OS? 02:26:06 --- join: thbot (~thbot@wwsx24.win-screen.uni-wuerzburg.de) joined #haskell 02:26:10 gentoo linux 02:26:11 and is the partition mounted noexec or something? 02:26:41 No. I haden't that problems before (using gcc or fpc or something else..) 02:26:44 thbot: @pl (SII(S(K(S(S(K(SII(S(S(KS)(S(K(S(KS)))(S(K(S(S(KS)(SS(S(S(KS)K))(KK))))) (S(S(KS)(S(KK)(S(KS)(S(S(KS)(S(KK)(S(KS)(S(S(KS)(S(KK)(SII))) (K(SI(KK)))))))(K(S(K(S(S(KS)(S(K(SI))(S(KK)(S(K(S(S(KS)K)(S(S(KS)K)I) 02:27:13 TheHunter whats that? 02:27:16 --- join: TheHunter_ (~TheHunter@wwsx24.win-screen.uni-wuerzburg.de) joined #haskell 02:27:22 --- part: TheHunter_ left #haskell 02:27:30 MarcWeber: How are you invoking GHC? 02:27:45 module "base timed out 02:27:45 module "pl" screwed up: thread killed 02:27:50 bourbaki, a test of may latest lambdabot feature. 02:28:04 ghc -o test --make test.hs 02:28:06 --- join: glimming (~glimming@p89.kthopen.kth.se) joined #haskell 02:28:10 and what are these symbols doing? 02:28:10 ooops 02:28:11 back again 02:28:23 So monads in Haskell are in Kleisli form not monoid form! 02:28:39 --- quit: boegel (Read error: 110 (Connection timed out)) 02:28:50 this being the easier thing to program with, yes (though TheHunter disagrees, IIRC) 02:29:15 Is this line sufficient to create a HelloWorld program? main=print("Hello World") 02:31:21 my point was that it's often more sensible to base monads on fmap and join and that there really should be a class Functor m => Monad m relationship. 02:31:58 and, =<< is often more convenient than >>=. 02:32:37 m >>= f = join (fmap f m) 02:32:56 m >> n = m >>= \_ -> n (You can forget that) 02:33:04 MarcWeber: yes, though I'd suggest putStrLn not print 02:33:11 you can forget fail as well. 02:33:21 if you do it with print you'll get the quotes printed too, for slightly complicated reasons 02:33:24 Heffalump: All I want to do is getting started ;) 02:33:34 return = eta 02:33:37 join = mu 02:35:30 --- quit: thbot ("killed by SIGINT") 02:37:30 Marcweber :: are you the owner of the file?, you probably want chmod 0755 filename 02:38:06 Heffalump: Lemmih Sorry.. I thought I was on the right partition.. You were right.. no rights to execute.. ;( 02:40:13 Now it's all working.. (The problem wasn't neither haskell nor the computer.. it was the persion in front of it (again)... ;) 02:41:42 --- quit: jewel (Connection timed out) 02:43:32 --- join: thbot (~thbot@wwsx24.win-screen.uni-wuerzburg.de) joined #haskell 02:43:44 thbot, @libsrc Control.Monad 02:43:45 http://http://darcs.complete.org/fptools/libraries/base/Control/Monad.hs 02:44:16 aarrggh! my firefox has a weird bug that makes this address point to microsoft.com 02:44:38 hehe mine too 02:44:38 thbot, @libsrc Control.Monad 02:44:39 http://darcs.complete.org/fptools/libraries/base/Control/Monad.hs 02:46:01 thehunter :: it isn't a buf 02:46:03 bug 02:46:16 df_, how can it not be a bug? 02:46:21 firefox puts anything that it doesn't know into a google are you feeling lucky search 02:46:50 it sees that http:// is an invalid url and does a search for http using google, which gives microsoft.com 02:47:03 you can disable it by changing a config option 02:47:16 i see. gotta turn that off. 02:47:37 about:config 02:47:45 keyword.enabled = false 02:48:06 hey thanks. 02:50:45 --- join: masm (~masm@c-217-70-66-127.bragatel.pt) joined #haskell 02:51:39 --- quit: bourbaki (Read error: 131 (Connection reset by peer)) 03:01:09 --- join: aleator (~aleator@e82.kekkola.jyu.fi) joined #haskell 03:01:41 --- quit: glimming (Read error: 101 (Network is unreachable)) 03:02:16 --- quit: goron (Remote closed the connection) 03:06:22 --- quit: thbot ("killed by SIGINT") 03:12:22 moin 03:12:42 moin. 03:13:27 ooh, what's this? ~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~module "pl" screwed up: thread killed 03:13:31 oops. sorry 03:13:43 wireless playing up. 03:13:53 --- join: karingo (~karingo@209-180-169-151.ptld.qwest.net) joined #haskell 03:13:55 i've taken the liberty to make lambdabot a bit more concurrent. 03:14:05 :) cool! 03:15:33 ah, and for that i've merged the LB and IRC monads, renamed IRC.hs to Lambdabot.hs. 03:15:50 yeah, that's ok. 03:16:19 i think we can start thinking about factoring out an IRC library now. 03:16:35 I'd like the Module/MODULE/state stuff factored out 03:17:08 yep. it should be stripped down a lot. 03:17:28 s/stripped/split into relevant modules/ 03:17:39 --- part: sladegen left #haskell 03:18:19 yep, the idea is that the Module/MODULE/state stuff stays in Lambdabot.hs (that's what the modules import). 03:18:40 and Lambdabot.hs use the IRC library to manage the connection. 03:19:11 yep. sounds good. 03:22:07 --- join: glimming (~glimming@dyna222-227.nada.kth.se) joined #haskell 03:23:13 Is indenting done by tabs or spaces (how many)? 03:24:16 both, but it is best to just use spaces. 03:24:57 2 spaces per indent? tab=8 spaces as usual? 03:25:15 http://haskell.org/hawiki/HaskellStyle 03:25:28 * TheHunter uses 2 spaces. 03:25:40 MarcWeber: there are some examples there 03:25:50 most people seem to prefer 3 or 4. 03:25:53 but probably best to just read some code and see which looks good to you 03:26:04 and then there's the braindead indenting that i think haskell-mode does. 03:27:03 What is the mistake in: "tySynD n [] (appT (varT $ mkName "ForeignPtr" ) (varT m))" ? 03:28:01 --- join: goron (~ron@zonnebloem.demon.nl) joined #haskell 03:29:35 dons, sent you a mail. You will have to register a password for lambdabot and put it into the file State/passwd as "password". The current situation where everybody can just /nick ddarius and @msg register foo is very disturbing. 03:30:14 oh, good point 03:30:58 aww, boring :-) 03:31:11 (but yes, good plan) 03:31:15 --- quit: iblechbot (Connection timed out) 03:34:07 --- join: gabor (~Gabor_Gre@gauss.gwydiondylan.org) joined #haskell 03:34:09 TheHunter: I've tried to copy an examplor of a tutorial but I've been getting an indentation error ( suggestion of compiler). Then I've read that haskell uses a kind of python indenting.. So I wondered what's correct 03:34:46 MarcWeber, the number of spaces you indent doesn't matter as long as everything's aligned properly. 03:39:09 Thanks a lot.. Will have lunch now (afk) 03:39:40 --- join: JohnMeacham (~john@adsl-69-231-247-76.dsl.irvnca.pacbell.net) joined #haskell 03:39:50 --- join: shelarcy (~shelarcy@ntchba140253.chba.nt.ftth.ppp.infoweb.ne.jp) joined #haskell 03:43:09 Does anyone know where copies of thomas johnsson's papers are? I am looking for the one that used to be at http://www.cs.chalmers.se/~johnsson/Papers/analysing-heap-contents.ps.gz 03:44:47 --- join: lisppaste2 (~lisppaste@common-lisp.net) joined #haskell 03:47:25 The full title is 'Analysing Heap Contents in a Graph Reduction Intermediate Language' 03:47:41 --- quit: glimming (Read error: 60 (Operation timed out)) 03:56:25 --- quit: lambdabot ("New code") 03:56:35 --- join: lambdabot (~lambdabot@manzano.cse.unsw.EDU.AU) joined #haskell 03:57:50 @version 03:57:50 lambdabot 2p460, GHC 6.4 (OpenBSD i386) 03:57:50 darcs get http://www.cse.unsw.edu.au/~dons/lambdabot 03:59:19 is 460 just a count of the patches? 03:59:20 --- quit: goron (Remote closed the connection) 03:59:21 dcoutts: Kudos. gtk2hs is really neat. 04:01:36 @seen TFK 04:01:37 TFK is in #haskell. I last heard TFK speak 12 hours, 2 minutes and 22 04:01:37 seconds ago, but I have missed 8 seconds since then. 04:01:48 Good morning. 04:01:56 morning. 04:02:28 You rang? 04:02:38 that was fast. Anyway, lambdabot is ready for implementing a announce-listener. 04:02:53 i've created a stub in Plugins/Paste.hs. 04:03:46 Coo! Thanks :-) but I'm afraid I won't be able to hack at it in the following week (or two) at all. 04:04:06 --- join: boegel (~boegel@ip-81-11-219-142.dsl.scarlet.be) joined #haskell 04:04:18 --- join: sbeyer (~fixme@p54B812AF.dip0.t-ipconnect.de) joined #haskell 04:04:31 --- join: CosmicRay (~jgoerzen@2002:4545:7206:1:20e:a6ff:fe5c:55e1) joined #haskell 04:05:00 Real life is getting on my nerves :-/ 04:05:05 oh, nice. 04:08:11 --- part: shaggy left #haskell 04:10:04 --- join: glimming (~glimming@dyna222-227.nada.kth.se) joined #haskell 04:21:45 Heffalump, yep, it's the darcs patch count 04:26:02 --- join: broquaint (~chatzilla@81.187.213.103) joined #haskell 04:32:29 --- join: kaol (~kaol@bickymi.proput.fi) joined #haskell 04:33:30 --- join: cptchaos (~cptchaos@d131219.adsl.hansenet.de) joined #haskell 04:36:47 --- join: basti_ (~basti@p54AE0150.dip0.t-ipconnect.de) joined #haskell 04:37:02 hi 04:37:24 Guten Tag, Herr basti_. 04:37:42 :P 04:38:25 pfft, no German greeting for CosmicRay.... :-) 04:41:24 Aber doch, willkommen zum Kanal, CosmicRay. 04:42:07 danke :-) 04:42:21 * CosmicRay had to look up Kanal :-) 04:42:45 <-- doesn't know much German yet 04:45:22 hmm there's a nice article about german in the german wikipedia 04:46:25 "The rules of declination are very sublte, which makes learning german difficult in the beginning" 04:46:41 (12 declination classes) 04:50:02 --- join: goron (~ron@zonnebloem.demon.nl) joined #haskell 04:50:13 --- quit: glimming (Read error: 110 (Connection timed out)) 05:00:00 --- quit: CosmicRay ("Leaving") 05:02:27 --- quit: sorje (Remote closed the connection) 05:02:39 --- join: sorje (~martin@localhorst.lddd.org) joined #haskell 05:03:46 --- join: iblechbot (~iblechbot@145.16-dial.augustakom.net) joined #haskell 05:12:05 basti_: What is a declination? 05:12:58 uhhm... german words get different suffixes in different "cases" (Kasus?) 05:13:43 I know about cases, but are there 12 of them? 05:13:45 nominativ, genitiv, dativ, akkusativ... 05:13:54 no there's 12 different ways to decline a word 05:14:01 Oejet: in finnish there is :) 05:14:37 12 different ways of how to do it 05:14:44 and some exceptions. 05:14:49 tuomov: Cool, there are six in Russian. But isn't it just shifting from "declinations" to cases? 05:15:16 err? 05:15:18 a case is a syntactical construct, where a declination is a morphological one to reflect a changing case 05:15:21 cases correspond to propositions 05:15:24 s/pro/pre/ 05:15:46 "des hauses" and "der maus" are both genitive, but "haus" and "maus" belong to different declination classes. 05:16:47 basti_: finnish has that many real cases, and more declinations 05:16:52 ibid: i know. 05:16:52 http://www.cs.tut.fi/~jkorpela/finnish-cases.html 05:16:53 =) 05:17:09 --- quit: boegel (Read error: 110 (Connection timed out)) 05:17:11 I don't even know how many ways there are to inflect a word.. 05:17:16 ah, meant to say that to Oejet , apparently :) 05:17:45 http://de.wikipedia.org/wiki/Deutsche_Sprache#Deklination < "Substantive und Deklinationsklassen" 05:17:47 http://www.ling.helsinki.fi/~fkarlsso/genkau2.html 05:18:06 ibid: lol 05:18:46 those are all possible forms of the word "kauppa" 'shop' 05:18:50 the base words change somewhat with the different inflections, but it's all apparent from the syntax 05:18:57 there aren't diffent classes as such 05:19:03 includes independent combination of cases, possessive suffixes and so on 05:19:13 tuomov: actually, there are 05:19:27 tuomov: we finns just aren't taught about them 05:19:36 tuomov: because we get it from our ear :) 05:19:59 tuomov: Nice schema. I think I can recognise instruktiivi from Russian. 05:20:09 ibid: it isn't all apparent from the syntax? 05:20:18 two similar words could change differently? 05:20:33 tuomov: you mean morphology, yes? 05:20:43 all the consonent gradatation and stuff 05:20:48 tuomov: syntax is how you arrange words into sentences etc 05:21:23 tuomov: there are different endings for different words, depending mostly on how their stems end 05:21:41 exactly, it's apparently from the stem, there are no different classes that you should know 05:22:01 i think that would be "declitation classes" then, anyway 05:22:10 tuomov: well, there are different classes, it's just that they're rather regular :) 05:22:30 finnish and hungarian have lots of cases but are pretty regular i heard... 05:22:32 ibid: Funny kauppa page. 05:22:47 and not all stem variations come from consonant gradation and wovel harmony 05:23:00 as opposed to french or german for example... not many cases, but pretty irregular 05:23:14 basti_: for finnish at least, yes 05:23:24 genders are very irregular in these afaik? 05:23:38 spanish as a bit more regular genders (a/o ending often indicates the gender) 05:23:43 genders are, and cases are, and sometimes cases are applied for no apparent reason 05:24:05 for example on letters you would (if you would) address people in genitive... 05:24:16 Genders in Danish appears to be random. 05:24:43 genders are random in most languages aren't they? 05:24:45 how do you decide what gender to use for a new word? 05:24:52 in danish, for example? 05:24:55 good question -g- 05:24:56 or german? 05:25:04 --- join: malcolm (~malcolm@abbess.demon.co.uk) joined #haskell 05:25:04 well, english a/an can be considered a degenerated gender.. 05:25:07 Gut feeling? 05:25:10 in german it's somewhat "common sense" 05:25:15 and it is rather regular... as far as the pronunciation is :) 05:25:30 "Computer" for example is male, because "er" is a very male ending 05:25:40 "Bildhauer" (sculptor) is certainly male for example 05:25:45 tuomov: there are three pronunciations for the two articles, are there not?:) 05:25:59 indeed 05:26:08 and for the there are two pronunciations too 05:26:09 basti_: could you then have a female Computerin, for example as a joke? 05:26:18 ibid: in a joke, you could, yes. 05:26:42 in spanish o (masc.) and a (fem.) endings indeed can some times indicate a slightly different concept 05:26:45 but it's not always all that clear. The Duden has the last word. 05:26:54 although not always o=masc, a=fem, but often 05:27:01 (Duden being THE german spelling dictionary) 05:27:23 basti_: heh, i was trying to visualize some set of _dudes_ who define it :) 05:27:30 i dont know how they decide that. 05:27:32 Der Duden? 05:27:33 -g- 05:27:48 "Der Duden"... "Duden" is a name, but books being addressed are male. 05:27:58 (another case of irregularity) 05:28:21 is duden a private or a government body? 05:28:44 its a book, primarily, but there's a private institution that does the decisions 05:28:51 it's the books editors 05:29:14 its not that this would be considered all that important i think. 05:29:22 the finnish language has a governmental office 'the language office' that makes recommendations about finnish usage 05:29:27 there is some debate about spelling, but i consider that rather ridiculous 05:29:51 for example, a point of debate was when and if to triple consonants. 05:29:56 finnish is actually two languages... the spoken and the written 05:30:01 which have very little do with each other :) 05:30:02 tuomov: not just two 05:30:09 tuomov: very much, actually 05:30:09 really ,do they differ? 05:30:14 didn't think they did. 05:30:14 well, not if you consider all the dialects 05:30:18 in what way do they differ? 05:30:20 tic`: superficially 05:30:27 Okay. 05:30:42 there are things like minä vs. mä ( 05:30:44 spoken finnish is uses much simpler forms and is a bit more analytical in nature 05:30:45 ('I') 05:30:51 lots of stuff is dropped 05:30:54 yeah 05:30:57 written finnish sounds very formal spoken 05:31:04 minä menen kouluun vs. mä meen kouluun 05:31:23 tuomov: but you must realize that there is no one spoken finnish 05:31:27 i know that in german you'd write things that you hardly speak (for example, most official documents are worded in pretty twisted ways) 05:31:57 tuomov: it varies between locations, and not completely acording to the traditional dialects 05:32:07 no one spoken finnish, but the dialects are perhaps closer to each other these days than to the written language 05:32:26 thats extreme. 05:32:32 considering that the finnish written language is based on one particular dialect... 05:32:38 basti_: and not really true 05:32:42 ahh. 05:32:42 :) 05:32:44 basti_: tuomov is exaggerating 05:32:47 i see. 05:33:23 well standard german (which is the base for the written form) is an artificial dialect too (although similar to the hannover dialect) 05:33:26 the vocabulary differs a lot, yes, but the "grammar" is rather similar: simple 05:33:30 basti_: but there are significant differences even in word formation, as tuomov said, spoken finnish uses many contractions: menen -> meen 05:33:40 yes of course 05:33:51 but almost every language does that i think 05:33:53 minä -> mä 05:34:01 --- join: _JusSx_ (~davide@adsl-187-56.38-151.net24.it) joined #haskell 05:34:04 some even reflect it in writing ("I am" -> "I'm") 05:34:08 basti_: exactly, that's why i said tuomov was exaggerating :) 05:34:13 -g- 05:34:17 ibid: but in some parts mie/... 05:34:21 basti_: you *can* write spoken finnish 05:34:23 tuomov: true 05:34:27 thats great. 05:34:37 you can't really write the harsher german accents. 05:34:46 well you can but you won't be able to read them easily 05:34:51 basti_: at least, most of it 05:35:12 some dialects use sounds that have no spelling in standard german 05:35:15 basti_: of course, for the thicker dialects, it takes a lot of effort to read them :) 05:35:19 hehehe 05:35:22 * basti_ nods 05:35:38 actually 'd' in written finnish has no standard pronunciation.. 05:35:42 but the classic spoken finnish is rather simple to read 05:35:59 why not? 05:36:01 d vs. ð? 05:36:04 tuomov: actually there is a standard pronunciation for d, it's just that not all dialects *use* d 05:36:05 it can be written, pronounced as e.g. english d, as j, i, soft r, etc. 05:36:10 there's little in Swedish that differ from spoken. 05:36:15 s/written/dropped/ 05:36:16 oh wow -g- 05:36:26 basti_: d is not part of the native alphabet 05:36:48 you mean the d sound isn't in the finnish language? 05:36:51 basti_: it's not really that people say it differently, it's just that the written language uses d where other dialects use r etc 05:36:57 (or just in allophone cases) 05:37:02 --- quit: cwest (Read error: 110 (Connection timed out)) 05:37:03 basti_: not in the traditional language 05:37:06 i see. 05:37:24 first language without a "d" i'm hearing of 05:37:25 basti_: the traditional finnish alphabet is a lot smaller than the english one, even if it adds äö:) 05:37:25 =) 05:37:26 d was chosen to indicate a sound that differs in the different dialects 05:37:52 i heard finnish has only allophonous "sibilants" (s, z, sh, dsh etc.) 05:38:00 basti_: finnish lacks b, d, g, q, x, z 05:38:03 it seldom occurs in base forms of words, but more often in inflected words 05:38:15 in loan words it is the normal english d, though 05:38:16 "x" and "q" are not real sounds anyway :P 05:38:20 basti_: the traditional language, that is. newer loanwords use them 05:38:42 --- quit: sbeyer ("knack") 05:38:53 --- join: sbeyer (~fixme@p54B812AF.dip0.t-ipconnect.de) joined #haskell 05:38:58 sh should be written as s with an inverted hat, an dsh, I think as z with an inverted hat 05:39:08 (and those are not found in latin1) 05:39:12 hehe 05:39:29 oh yeah 05:39:29 but again, they only occur in loan words such as chess; sakki 05:39:41 finnish has one sound that has no corresponding letter 05:39:46 ohh 05:39:50 ng as in english thing 05:40:00 so what do you write instead? 05:40:07 ng 05:40:10 it's written as n before k and when doubled it is written as ng 05:40:14 oh and nk too 05:40:17 i see. 05:40:23 ng is the *doubled* version 05:40:26 german has lots of "double" letters 05:40:41 au, oi, sch, ch etc. 05:40:51 well, finnish has long vowels and consonants 05:40:58 long consontants? 05:41:02 which are doubled when written 05:41:03 how does that work? 05:41:03 double consonants 05:41:12 long vowels and double consonants 05:41:14 long vowels just sound longer, long consonants have a stop before drop 05:41:17 ah 05:41:40 tuomov: it is usual to talk about double consonants, not long consonants 05:41:41 like, glottal plosive? 05:41:55 long vowels are written by doubling the letter 05:42:06 or no its not a plosive when it stops the vowel 05:42:08 well, long glottal consontants are like that anyway 05:42:15 nn, mm, ll are just long sounds 05:42:21 ah yes. 05:42:26 kk is k with a stop 05:42:37 you mean in a-ka? 05:42:39 like 05:42:43 @get-definition K 05:42:44 i don 05:42:45 K = \x y.x 05:42:46 't get that 05:42:51 a-ka? 05:42:58 well "aka" vs. "a-ka" distinction 05:42:59 sounds like akka? 05:43:10 never heard of a-ka 05:43:11 (a since you can't say k without a vowel) 05:43:21 hmm 05:43:25 it's more like ak-a 05:43:27 * basti_ tries to think of an english example 05:43:35 ah 05:43:45 no, I think a-ka would be more correct.. 05:43:55 ak-ka, more 05:44:03 yes 05:44:12 its really hard to talk about how to pronounce one's native language isnt it? ;) 05:44:40 basically, you come to the k position, then hold without sound, and resume from that same position 05:44:52 mm i think i see what you mean 05:45:47 german has the habit of starting words that start with a vowel not with the vowel but with a glottal plosive. 05:45:51 whereas with a single k you just hit the k position without the holding 05:46:01 that makes it really hard to learn languages where the glottal plosive is a proper sound 05:46:06 * basti_ nods 05:47:44 * basti_ wants to learn something REALLY foreign once. 05:47:46 (the usual finnish voicing of the k in isolation is k followed by a long o) 05:48:19 in isolation? you mean like in spellings? 05:48:24 yeah 05:48:27 i see 05:48:37 where english would use kay or something like that :) 05:48:41 * basti_ nods 05:49:24 german is really stupid in that respect. "sch" (about the same as sh in english) is spelled "es-ce-ha" 05:49:33 d'oh. 05:49:33 ;) 05:50:26 the german style of using ha for h has always sounded comical to me 05:50:31 are s, c and h pronounced as es, ce, ha? 05:50:33 basti_, can you give an example for such a "glottal plosive"? 05:50:34 in finnish, we use h with a long o :) 05:50:55 tuomov: yes 05:51:07 * Philippa_ wonders if she should stop prodding Uncle Bob on clf... 05:51:28 so it comes from that writing.. is there a symbol for sch? like ß=ss? 05:51:31 TheHunter: there is no letter which would correspond to it. I think english does it too, but i haven't listened THAT close to native speakes until now 05:51:45 tuomov: no its written sch, and its pronounced as english "sh" 05:51:51 how's that pronounced as by the way as an alphabet? 05:51:54 ah well, he did cause me to have or remember a minor insight about type classes and refactoring 05:52:04 basti_, a word where this thing is especially noticable? 05:52:18 --- join: Itkovian (~Itkovian@d51A5D159.access.telenet.be) joined #haskell 05:52:40 TheHunter: any that starts with a vowel. 05:52:44 http://www.phonetik.uni-muenchen.de/Lehre/Skripten/TRANS1/TRANS1Plosive.html 05:52:49 there is an .au file of the sound 05:54:02 basti_, ok, thanks. 05:54:18 oh they write that it's not in every place. 05:55:41 --- quit: TheHunter ("bye") 06:09:13 --- quit: magr ("Client exiting") 06:17:54 --- join: boegel (~boegel@ip-81-11-219-142.dsl.scarlet.be) joined #haskell 06:20:05 --- quit: tintin (Read error: 104 (Connection reset by peer)) 06:26:24 --- quit: _JusSx_ ("leaving") 06:27:35 --- quit: boegel ("Leaving") 06:45:08 --- nick: eno-zzz -> eno 06:45:59 --- join: _JusSx_ (~davide@adsl-187-56.38-151.net24.it) joined #haskell 06:51:03 --- join: tintin (1000@tintin.user) joined #haskell 06:56:22 --- join: isomer_\ (~isomer@Toronto-HSE-ppp3859501.sympatico.ca) joined #haskell 06:57:32 --- quit: Lemmih ("deircing.") 07:00:15 @get-definition X 07:00:15 X = \x.x K S K 07:01:10 @get-definition f 07:01:11 f not defined 07:01:14 :) 07:10:41 --- join: Philippa (~somewhere@cpc2-clif3-5-0-cust210.nott.cable.ntl.com) joined #haskell 07:10:41 --- quit: Philippa_ (Read error: 104 (Connection reset by peer)) 07:18:57 --- quit: goron ("Lost terminal") 07:18:57 --- quit: Paltas (Read error: 104 (Connection reset by peer)) 07:21:46 @eval S I I 1 07:21:47 type error 07:22:04 --- join: goron (~ron@zonnebloem.demon.nl) joined #haskell 07:25:43 --- quit: goron (Client Quit) 07:30:32 --- quit: Itkovian () 07:34:31 --- nick: Tou[t]qen -> Touqen 07:54:11 --- join: CosmicRay (~jgoerzen@2002:4463:7269:1:20e:a6ff:fe66:c5a3) joined #haskell 07:55:20 --- quit: eno ("BitchX-1.1-final -- just do it.") 07:56:03 --- join: foxy_ (~mcphail@203-79-72-84.cable.paradise.net.nz) joined #haskell 07:56:32 Is there a Cabal expert about? 07:57:55 Just ask, it is always better than asking to ask. 07:58:09 --- quit: tintin (Read error: 110 (Connection timed out)) 07:58:21 I know something of the perl6 cabal, but somehow I don't think that's what you have in mind :-) 07:58:54 --- join: Itkovian (~Itkovian@d51A5D159.access.telenet.be) joined #haskell 07:59:11 * musasabi has packaged a few libraries and knows the source a litle bit, but by no means I am an expert in it. 08:00:39 --- quit: tic` ("CGI:IRC") 08:01:54 --- join: Paltas (~bo@nat.kollegienet.dk) joined #haskell 08:03:49 --- quit: ooooo (Read error: 110 (Connection timed out)) 08:04:31 --- join: meta_perl (~metaperl@nat1.global.mediaplex.com) joined #haskell 08:05:34 is the $topdir reference in Cabal packages supposed to be resolved before the librarydirs value is returned in Distribution.* ? 08:08:04 --- join: meta_perl_ (~metaperl@nat.la.valueclick.com) joined #haskell 08:08:43 --- quit: foxy_ ("Bye") 08:09:17 --- join: foxy__ (~mcphail@203-79-72-84.cable.paradise.net.nz) joined #haskell 08:10:43 --- quit: _metaperl (Read error: 145 (Connection timed out)) 08:15:19 --- join: _metaperl (~metaperl@nat.la.valueclick.com) joined #haskell 08:19:10 --- quit: meta_perl_ (Read error: 60 (Operation timed out)) 08:22:03 --- join: meta_perl_ (~metaperl@nat.la.valueclick.com) joined #haskell 08:23:19 --- quit: Itkovian () 08:26:16 --- quit: meta_perl (Read error: 110 (Connection timed out)) 08:29:10 autrijus: ping 08:30:33 --- quit: _metaperl (Read error: 60 (Operation timed out)) 08:31:42 --- join: meta_perl (~metaperl@nat1.global.mediaplex.com) joined #haskell 08:34:21 --- join: Lemmih (~david@port97.ds1-oebr.adsl.cybercity.dk) joined #haskell 08:36:34 --- join: Arsilan (~Arsilan@x1-6-00-0e-5c-ed-05-63.k695.webspeed.dk) joined #haskell 08:36:42 --- join: _metaperl (~metaperl@nat.la.valueclick.com) joined #haskell 08:38:28 --- join: eno (~eno@adsl-68-123-120-70.dsl.snfc21.pacbell.net) joined #haskell 08:39:22 --- quit: juhp (Read error: 110 (Connection timed out)) 08:39:42 --- nick: eno -> eno-away 08:39:48 --- join: juhp (~jens@YahooBB219055112045.bbtec.net) joined #haskell 08:41:03 --- join: boegel (~boegel@ip-81-11-219-142.dsl.scarlet.be) joined #haskell 08:42:16 --- join: [1]meta_perl (~metaperl@nat.la.valueclick.com) joined #haskell 08:44:06 --- quit: elk (Read error: 110 (Connection timed out)) 08:46:40 --- quit: meta_perl_ (Read error: 113 (No route to host)) 08:46:50 --- join: Itkovian (~Itkovian@d51A5D159.access.telenet.be) joined #haskell 08:47:51 --- join: meta_perl_ (~metaperl@nat1.global.mediaplex.com) joined #haskell 08:50:30 --- join: TheHunter (~TheHunter@p54AB2DC2.dip0.t-ipconnect.de) joined #haskell 08:52:41 --- quit: meta_perl (Read error: 110 (Connection timed out)) 08:52:42 --- nick: meta_perl_ -> meta_perl 08:55:19 --- join: meta_perl_ (~metaperl@nat1.global.mediaplex.com) joined #haskell 08:57:00 --- join: vidvandre (~vidvandre@217-213-130.0502.adsl.tele2.no) joined #haskell 08:57:32 --- join: Gahhh (~lolz@adsl-63-204-133-113.dsl.snfc21.pacbell.net) joined #haskell 08:58:04 --- quit: _metaperl (Read error: 113 (No route to host)) 08:59:09 --- join: [2]meta_perl (~metaperl@nat.la.valueclick.com) joined #haskell 09:00:28 --- nick: [2]meta_perl -> _metaperl 09:00:47 --- nick: _metaperl -> metaperl 09:01:41 --- quit: [1]meta_perl (Read error: 113 (No route to host)) 09:03:21 --- join: goron (~ron@zonnebloem.demon.nl) joined #haskell 09:03:50 --- quit: meta_perl (Read error: 60 (Operation timed out)) 09:05:43 Hey jeg vil godt starte en diskusion 09:05:55 Er det godt at halshugge folk 09:06:04 hvilket teirister jo gør idag 09:07:15 OK jeg starter, jeg syntes det er godt 09:07:36 fordi usa angreb irak og derfor gør teristerne kun gængæld 09:08:02 det er fair play, krig er aldrig ærlig, sådan er krigens grusomheder 09:09:03 er inegn der har lyst til at deltage i diskusionen 09:09:21 der er anderledes end jeres kedelige snak om mega bit og tiger bit 09:10:16 I don't know how many people will understand you in whatever language are you speaking, sorry. 09:10:33 --- quit: Itkovian () 09:10:36 Oh ok, I wnated to start a debate 09:10:39 looks like danish.. 09:10:45 it's danish 09:10:52 yes, 09:11:10 why would you start such a discussion in #haskell ? 09:11:20 I think its ok that teorists cut the thoat of thjir hostages 09:11:49 Because its funiere then the boring debate you have about giga bit and tiger bit and so one 09:12:03 on 09:12:50 SO what do you gyes think that it is ok 09:13:29 it is still the wrong channel IMO.. 09:14:16 ops? 09:14:17 yeah, from what little I could understand from the text with my rusty swedish.. 09:14:22 probebly, but isent it a interesting debate 09:14:36 --- quit: meta_perl_ (Read error: 110 (Connection timed out)) 09:14:38 I meah, yeah, wrong channel 09:14:43 not yeah to the question posed 09:16:27 Thank you, 09:16:48 --- join: vivek (1000@tintin.user) joined #haskell 09:16:49 But dosn't it even interest you these stuff 09:17:16 --- nick: vivek -> tintin 09:18:18 Arsilan: Well, #terrorist-politics might care. I do not think #haskell does, however interesting that debate might be 09:18:51 ok, 09:19:51 --- join: Svrog (~Svrog@ppp1C1A.dsl.pacific.net.au) joined #haskell 09:20:09 hi 09:21:13 has anyone here tried to recompile ghc 6.4 on os x 10.4? 09:21:25 i'm having some problems with the mangler 09:22:18 If you have gcc 4 you'll want ghc from CVS 09:22:48 --- join: sylvan (~sylvan@c83-248-106-71.bredband.comhem.se) joined #haskell 09:22:54 i tried it with both gcc 4 and 3.3 and i get the same problem 09:23:09 undefined symbol ___DISCARD__ 09:24:29 ooo, did I just see ghc 6.4 hit sid? 09:25:22 Do you read -changes or something? 09:25:30 i haven't had the chance to really look at the mangler but from what i could tell it's supposed to remove all lines containing that particular symbol from the asm code so i tried compiling a simple c file with just 1 function and ran the script on the resulting asm code - it didn't seem to remove all instances of ___DISCARD__ from the code 09:25:35 no, but I'm subscribed to ghc and hugs on the pts 09:25:40 Ah, right 09:25:47 Igloo: anyway, SWEET. thanks. 09:31:55 --- join: Itkovian (~Itkovian@d51A5D159.access.telenet.be) joined #haskell 09:32:19 * CosmicRay downloads the source to build it for amd64. 09:33:29 --- join: ex__nor (~exnor@ppp113-151.static.internode.on.net) joined #haskell 09:33:45 --- quit: Svrog () 09:35:33 What is a good way of displaying images with haskell? Anything that takes a (foreign) pointer to a pixelbuffer? 09:36:19 If you want to generate images then writing out ppm files and using other tools to convert them is easiest 09:36:28 --- quit: metaperl (Read error: 131 (Connection reset by peer)) 09:36:34 If you want to actually put them onscreen yourself then you probably want wxhaskell or gtk2hs 09:38:50 --- quit: eno-away (Remote closed the connection) 09:39:09 I have homegrown thingy for manipulating bitmaps and haskell wrapper for that. I would need something interactive for displaying changing image. 09:39:24 I fail to find means to do this in gtk2hs. 09:41:28 aleator, there is a way to do this in gtk2hs but it hasn't made it to a released version yet. 09:42:03 --- quit: ex_nor (Read error: 60 (Operation timed out)) 09:42:09 see http://haskell.org/gtk2hs/archives/2005/04/28/hray-screenshots/ for proof that such a thing can be done 09:43:02 boegel's HRay program generates a list of colours which we then splat into to a PixBuf and display that onscreen 09:43:14 I've also got a demo that does animation in this manner 09:43:43 hopefully this stuff will be in the next release 0.9.8 or with a little more hassle you can get it working now 09:43:52 dcoutss_: Ah. Do you need to serialize to haskell list in between? 09:44:16 aleator, no, that was just the way that boegel's ray tracer emitted its results 09:44:51 the PixBuf is just an array of pixels 09:45:05 Igloo: do you know if ghc 6.4 is registerized on amd64? 09:45:31 dcoutts_, That sounds nice. I will look it up. Thanks. 09:45:32 It's not 09:45:37 rats 09:45:45 jaffacake is working on that though, iirc? 09:46:05 yup 09:46:35 I think 6.4 might have some support, but it's not enabled in the deb 09:46:40 aleator, you can check the gtk2hs-users mailing list for the discussion over boegel's HRay example, or just ask me if you need the code or examples 09:48:08 we were using as a primitive a function which draws a full Pixbuf by taking a callback of type (Int -> Int -> (Word8, Word8, Word8)) 09:48:54 we figured this was faster than providing arbitary writing & indexing operations 09:49:39 if necessary it could be made faster still by using (Int -> Int -> (#Word8, Word8, Word8#)) or (Int -> Int -> Word32) 09:49:40 --- quit: Gahhh (Read error: 110 (Connection timed out)) 09:51:44 dcoutts_, Ok. I found the discussion. Seems like what I want. Thanks. 09:52:40 aleator, great. feel free to ask on the mailing list if you have any issues / questions. 09:53:14 --- join: hlafarge (~hugues_la@vol75-8-82-233-237-8.fbx.proxad.net) joined #haskell 09:53:25 --- join: _SamB_ (naesten@ts001d0772.wdc-dc.xod.concentric.net) joined #haskell 09:53:55 dcoutts_: Sure. 09:54:03 CosmicRay: pong 09:54:34 --- join: shawn_ (~shawn@24.7.48.11) joined #haskell 09:56:59 --- quit: hlafarge (Client Quit) 09:57:01 hmm.. trying to build wxwidgets, configure fails with "checking if the C++ compiler requires -ext o... configure: error: cannot figure out if compiler needs -ext o: cannot compile 09:57:01 See `config.log' for more details. 09:58:16 hi autrijus 09:58:25 wanted to talk to you about your licensing question 09:58:32 --- quit: ramen (Client Quit) 09:58:34 did you get my brief e-mail from last night? 09:59:02 CosmicRay: yeah I did 09:59:28 ok. first thing I want to do is make sure you're not wanting to use any GPL'd modules that others wrote, since it's not in my power to relicense those 09:59:49 those are mostly Peter Simons' work, such as Hsemail, IIRC 10:00:19 sure. and yeah, it'd be fine to use them as modules 10:00:31 i.e. optional, nonmandatory modules that the user has to link for herself 10:00:38 ah 10:00:40 ok. 10:00:41 but not depended upon by the pugs proper 10:00:54 in that case, next question is, do you know if LGPL is compatible with your Artistic 2.0? 10:01:13 I've never encountered Artistic 2.0 before, so I'm just trying to figure out what the most compatible approach is 10:01:15 yes, I'm pretty sure it is. so if you relicense as LGPL, I can simply use it. 10:01:31 ok, that would probably make it easiest on everyone then, since there is already LGPL code in there. 10:01:39 that would be wonderful indeed. 10:01:47 what I will probably do is make a separate LGPL branch that has all the GPL'd code from others pulled out 10:02:18 Pugs made heavy use of hs-plugins since dons relicesed it under lgpl, too 10:02:18 is darcs or svn your primary vc for pugs? 10:02:36 oh sweet, so you've already got lgpl in there too.l 10:02:41 svn currently is, but thanks to svk, replaying changes from one to another is not too troublesome. 10:02:48 * CosmicRay hates license proliferation and tries to avoid it when possible 10:02:50 ok. 10:02:59 I was just curious since I use darcs for missingh. 10:03:12 I will probably be able to get that up yet today, and if not, this weekend for sure. 10:03:13 nod. I used darcs until Pugs 6.0.4 or something 10:03:45 but then it became apparent that svn is a better social choice... so I kept darcs as a mirror 10:04:05 --- quit: malcolm () 10:04:13 that would be wonderful. thanks! 10:04:23 I also noticed that you are using ghc 6.4. musasabi recently ran some compile testing to make sure missingh builds with 6.4, so you should be good there, but he was saying there was some trouble with my build scripts for the unit tests with 6.4 due to changes in the way it handles testing 10:04:44 6.4 just hit sid today so I may be able to fix that this weekend, but if not, it would be about a week until I get that due to a vacation next week 10:04:55 svn better social choice in perl circles, you mean? 10:04:59 s/svn/svk/ 10:07:12 s/it handles testing/it handles packages/ 10:07:50 partly that, but also the fact that we are approaching 100 committers soon 10:08:04 with many large-sized refactorings 10:08:10 and darcs was already showing signs of slowdown. 10:08:25 bummer 10:08:37 igloo has been working on that, but yeah it does still have its weak points 10:08:41 *nod* 10:08:59 so, not against darcs -- I miss the identifier renaming thing -- but I chose the practical route :) 10:09:24 how is svk these days? I tried it awhile back and found it rather awkward and buggy, and generally less useful than arch for distributed stuff. 10:09:26 (althought I did teach clkao and convinced him to implement patch dependency algorithm.) 10:09:29 but I know it was being worked 10:09:40 yeah. 1.0 is coming like, this week 10:09:46 much UI and stability work 10:09:50 --- quit: boegel (Read error: 110 (Connection timed out)) 10:10:00 good 10:10:10 after 1.0 there's plans to imitate even more of darcs's UI. 10:10:14 heh 10:10:28 have I heard rumors of svk supporting darcs as a native backend? 10:10:30 like the chunk navigation during interactive checkin, patch context based merge, etc. 10:10:51 there were plans, but I was too occupied to really write a darcs->revml converter. 10:11:01 ah. well it would be cool. 10:11:13 will svk be cloning the spin-for-days-on-weird-conflicts also? :-) 10:11:58 no, svk's 3-way merge dependency analysis runs in O(n) time :) 10:12:06 --- quit: foxy__ ("Bye") 10:12:45 if darcs one day does that, I will need to reevaluate my choice and maybe sit down and write the revml interop :) 10:12:51 --- quit: SamB (Read error: 110 (Connection timed out)) 10:16:36 hehe 10:17:44 --- quit: shelarcy () 10:24:49 --- join: fraxtal (~fraxtal@0-1pool107-115.nas6.savannah2.ga.us.da.qwest.net) joined #haskell 10:25:04 --- join: Maddas (~user@starlight.deadbunny.com) joined #haskell 10:27:18 --- quit: sylvan ("Lämnar") 10:27:44 --- quit: fraxtal (Client Quit) 10:33:30 --- quit: iblechbot (Connection timed out) 10:35:28 --- join: sylvan (~sylvan@c83-248-106-71.bredband.comhem.se) joined #haskell 10:36:21 --- join: themaximus__ (max@themaximus.user) joined #haskell 10:37:06 --- quit: themaximus_ (Read error: 104 (Connection reset by peer)) 10:43:58 --- quit: sylvan (Remote closed the connection) 10:44:41 --- join: ToughShooter (~ts@p54B059D2.dip.t-dialin.net) joined #haskell 10:44:55 --- part: ToughShooter left #haskell 10:46:08 --- join: sylvan (~sylvan@c83-248-106-71.bredband.comhem.se) joined #haskell 10:49:26 --- quit: Arsilan ("Leaving") 11:07:19 --- join: bourbaki (~bla@p5091FBF0.dip.t-dialin.net) joined #haskell 11:07:23 moin 11:10:07 --- quit: broquaint ("Chatzilla 0.9.68a [Firefox 1.0.3/20050414]") 11:10:58 --- join: a5_ (~frederik@66.81.100.52) joined #haskell 11:12:52 --- quit: _SamB_ (Read error: 104 (Connection reset by peer)) 11:16:59 --- join: shapr (~user@2002:53e2:b108:0:0:0:0:2) joined #haskell 11:17:46 --- quit: masm ("Leaving") 11:17:53 * shapr throws lambdas 11:18:54 Oejet: hey, can you create an author page? 11:19:33 shapr: I sure can, shapr. 11:19:52 Oejet: Manuel Chakravarty wanted to talk to you about your tutorial but couldn't find your email address. 11:20:01 * Oejet hides. 11:20:06 He liked it :-) 11:20:10 I'll forward the email to you. 11:20:12 * Oejet runs 11:20:23 like hell 11:21:16 Hey, wouldn't it be cool to see your name in the FFI docs as the original author of the included tutorial? :-) 11:21:29 Wow. 11:21:58 Did you get the email? 11:22:53 Yes! 11:23:29 Ok, I'm glad he wanted Mr. Franksens suggestions included. 11:23:30 --- quit: a5 (Read error: 110 (Connection timed out)) 11:24:43 kosmikus: Am I way too late to write up stuff for HC&AR? 11:26:01 Philippa: hey, have you seen Alistair Bayley's in-progress article on TmrWiki? What's an OO Data Consumer? 11:26:25 foo, blackdog is offline. 11:26:31 --- join: iblechbot (~iblechbot@87.18-dial.augustakom.net) joined #haskell 11:28:38 Philippa: how close is the next version of Flippi? It looks like there will be a new wiki for lambda-the-ultimate.org devoted to refactoring the past posts from thread mode into document mode. Someone else suggested using an FP wiki and I'd like to suggest Flippi. 11:29:46 --- quit: shawn_ (Read error: 110 (Connection timed out)) 11:30:15 anybody here beside me who likes wmaker? 11:30:32 CosmicRay: Is your fptools repo updated from cvs? Do you send patches back in the other direction? 11:30:38 jlouis: aye! 11:31:11 vegai: I need ideas. Do you have some resources beside the default setup? 11:31:29 do you mean themes or something fancier? 11:31:32 Oh hey, I had an idea to use QuickCheck to instrument code for laziness detection, but I'm not sure if it'll actually work. 11:31:56 vegai: themes, primarily 11:32:10 yeah, there's this great site... let me see if I have it in my bookmarks 11:32:37 shapr: Author page setup. You can just send him my confirmation and email if you like. 11:32:49 http://lonelymachines.org/wm_themes.html -- there you go 11:33:02 vegai: thanks 11:33:02 I'm pretty sure that those are the most impressive ones out there 11:33:41 some of them are, anyway 11:34:07 Oejet: I think you should send him an email, and probably mention your future plans for the FFI tutorial. For example, maybe you plan on updating the tutorial for Issue Three? 11:34:38 shapr: Man, I knew there were some catch. :-) 11:35:00 * shapr grins evilly 11:35:04 * shapr laughs 11:36:30 Ok, I'll send him an email. shapr, thanks for telling me. 11:36:57 --- quit: Spherical` (Read error: 110 (Connection timed out)) 11:37:08 --- join: _SamB_ (naesten@ts001d0104.wdc-dc.xod.concentric.net) joined #haskell 11:37:09 Good work deserves encouragement :-) 11:37:14 shapr: do you have anything written on the QuickCheck lazyness-thing? 11:37:47 Good work leeds to more more usually, not less. 11:38:10 s/more more/more work/ 11:39:09 musasabi: No, it's a vague idea about taking the derivative of input/output of top level functions. Does that make any sense? 11:39:28 Oejet: Hah, only if you choose to do so :-) But it definitely improves your reputation. 11:39:46 If you want to do a PhD or get a job in Open Source, that sort of work is a good investment. 11:40:42 --- join: eslio (~dave@firewall.cesar.org.br) joined #haskell 11:41:34 vegai: thanks, looks nice 11:41:41 hmm.. freshmeat editor totally ruined the first sentence of my riot announcement 11:43:06 is it necessary to download gcc to install ghc? 11:43:17 the msi package 11:50:03 --- quit: nailbiter (Read error: 110 (Connection timed out)) 11:50:35 shapr: I don't quite know how that can be done with functions being opaque and all. 11:52:49 shapr: functions can have different degrees of lazyness depending on the input so that can make things hard. 11:54:06 --- join: malcolm (~malcolm@abbess.demon.co.uk) joined #haskell 11:58:30 --- join: icb (~icb@cpe-66-108-251-241.nyc.res.rr.com) joined #haskell 12:03:13 shapr: I do update it from cvs approximately every 24 hours, but patches are not sent back to cvs right now 12:03:50 hey hey! ghc6.4 is built! 12:04:10 --- join: _JusSx__ (~davide@adsl-187-56.38-151.net24.it) joined #haskell 12:09:49 --- quit: TFK (Read error: 104 (Connection reset by peer)) 12:10:17 --- join: TFK (tfk@IGLD-80-230-204-19.inter.net.il) joined #haskell 12:14:04 --- join: arjanb (arjanb@borganism.student.utwente.nl) joined #haskell 12:18:42 shapr: (hcar) better now than never :) 12:19:51 JohnMeacham: are you there? 12:20:28 hmm, three people in a row responding to questions from shapr in scrollback, while shapr is not here :-) 12:20:55 --- quit: cptchaos (Read error: 113 (No route to host)) 12:20:55 --- quit: eslio ("Leaving") 12:21:21 --- quit: _JusSx_ (Read error: 110 (Connection timed out)) 12:24:30 tuomov: apropos riot -- no updates for hcar? 12:24:42 shapr: Email sent to Mr. Chakravarty. 12:24:56 CosmicRay: 4 12:27:15 --- quit: tintin (Read error: 60 (Operation timed out)) 12:27:38 heh 12:28:19 Oh, forgot about it. I just finally released a new version although not much has happened lately 12:28:45 if I get an AMD64 box and put Debian-AMD64 on it, can I easily use it to build i386 packages too? 12:29:06 tuomov: can you write an update then, please? 12:29:45 Heffalump: yes, you can set up an i386 chroot on it 12:29:48 there isn't much to write about... 12:30:23 maybe a note on hs-plugins.. 12:30:26 tuomov: just take the old version and add a sentence that you released a new version any why its better than the old one? 12:30:58 tuomov: or that, yes; it's really not about quantity, but if a project is alive, it's good to reflect that in the report 12:33:02 sent. 12:33:45 thanks 12:37:40 --- quit: lisppaste2 (Read error: 131 (Connection reset by peer)) 12:41:28 --- join: a5 (~frederik@66.81.100.52) joined #haskell 12:41:38 hi a5 12:42:01 hi 12:42:03 --- quit: ex__nor (Read error: 110 (Connection timed out)) 12:42:31 has anyone tried using HSX11? 12:43:11 CosmicRay: ping 12:45:14 ah, Graphics.X11... 12:45:57 kosmikus: hi 12:45:58 --- join: lisppaste2 (~lisppaste@common-lisp.net) joined #haskell 12:46:16 CosmicRay: your MissingPy entry looks incomplete 12:47:04 kosmikus: oh? hmm. 12:47:13 I don't have a copy of it anymore, can you shoot me one/ 12:47:31 sure 12:47:34 * shapr boings 12:47:47 shapr: lots of stuff for you in scrollback :-) 12:47:52 * shapr reads 12:48:57 CosmicRay: sent 12:49:20 kosmikus: thanks 12:52:22 musasabi: what about a separate Lazable instance that's a counterpart of Testable? 12:52:28 * shapr thinks that's a very silly name. 12:52:45 kosmikus: right, I'll whip up some entries and send them in. 12:52:49 Oh I should make one for TMR! 12:52:58 Oejet: excellent thanks! 12:53:17 tuomov: want to write about Riot for TMR? 12:54:21 Does anyone know Esa Pulkkinen's email address? 12:54:43 Aha, Google to the rescue! 12:57:51 --- quit: bourbaki (Read error: 110 (Connection timed out)) 13:00:15 shapr: yes, TMR is probably the most important entry you have to write :) 13:01:04 --- nick: themaximus__ -> themaximus 13:02:59 Speaking of which, do you know of anyone I could recruit for a Generic Haskell overview article? I suspect you already have enough stuff to do at the moment, who's doing GH nowadays? 13:02:59 --- join: cptchaos (~cptchaos@d131219.adsl.hansenet.de) joined #haskell 13:03:43 kosmikus: sent you a fix, thanks 13:03:43 Oh, I could ask Claus Reinke for overview articles of FunWorlds and/or HaRe. 13:03:57 shapr: you could ask dblhelix 13:04:06 Excellent, thanks :-) 13:04:12 hmm, any swedes in here? 13:04:27 Do I count? 13:04:37 Do I? 13:04:46 shapr: close enough :-) http://changelog.complete.org/node/3 13:04:55 I was reminded of that as I'm packing for camping next week. 13:04:57 CosmicRay: thanks 13:05:13 Oejet: hmm, you're danish, right? maybe you'll get a good laugh :-) 13:05:44 * shapr laughs 13:06:29 That's really funny. 13:06:35 :-) 13:07:08 shapr: what is there to write about?-) 13:07:28 shapr: you probably know the type of lantern that they're talking about, the kind that coleman invented in like 1906 13:07:31 a small curses tutorial? 13:07:36 (I should update riot to hscurses, btw...) 13:07:43 pour in some gasoline, pump up the pressure, and there ya go. brightness. 13:07:45 Yesterday I formed a theory that the high incidence of teenagers who consider Sweden overly capitalistic and go join the Red Front is actually a reaction against Sweden being safe to the point of boredom. 13:07:55 heh 13:07:58 tuomov: oh, good idea! 13:08:31 what is the Red Front? 13:08:37 It's the communists. 13:08:40 ah. 13:09:11 Their principle activity seems to be sticking up posters that say "US out of Iraq!" and "Stop Us Imperialism now!" 13:09:13 over here, the fundamentalists would probably think it has something to do with being gay. 13:09:18 heh 13:09:39 I hate it when Kansas gets on slashdot. 13:09:43 it is *never* for anything good. 13:09:50 What I find amazing is that the Communists here are xenophobic, extremely conservative, want all the foreigners out of the country, etc etc. 13:10:15 hmm, sounds like the republicans, hmm hmm 13:10:16 "communists" 13:10:17 Ya know, Sweden for Swedes and all that. 13:10:36 there was this funny "national bolsheviks" site somewhere.. 13:10:38 Funny thing is that real Swedes are actually the Sami who keep getting their land taken away from them. 13:10:56 Just like native americans in the USA. 13:11:27 yeah, the usa is one of the few places where just who the natives were is clear-cut, and of course the anti-immigration forces are just as much anti-native 13:11:45 try to figure out who the real germans or the real british are and you're in for a real treat :-) 13:12:05 It's pretty clear cut here in Sweden as well. 13:12:16 * shapr shrugs 13:12:28 was sweden old norse country too? 13:12:29 Norway and Finland too 13:12:34 The whole thing is obviously silly, but the teenagers haven't noticed that yet. 13:12:47 And the Sami extend to parts of Russia as well 13:13:02 In my less than humble opinion, if these teenagers really wanted to make the world a better place they should get out and help the people in their neighborhood. 13:13:38 That's the kind of thing that really does make a positive difference, and is much more likely to spread to others friends and neighborhoods. 13:14:03 right. 13:14:14 like bush is going to listen to a bunch of teenage swedish communists. 13:14:48 the whole idea sounds like something for a great comedy involving the SNL cast :-) 13:15:02 You're right, it does. I hadn't thought ofthat. 13:15:06 heh 13:16:38 There's a swedish word that's something like "sticker pushers" that means someone who puts up posters like this. I want to print up a bunch of palm sized stickers that say "Stop sticker pushers!" and put them on top of these Red Front posters. 13:16:39 * sbeyer learned some basic words/phrases/grammar Swedish today 13:16:49 and you're talking about swedish 13:16:51 .o( funny ( 13:16:52 hej sbeyer, hur mår du? 13:17:00 Jag bor i Sverige, var bor du? 13:17:18 sigh, time for me to run, alas 13:17:25 shapr, Jag bor i Tyskland ;) 13:17:32 cya next time CosmicRay! Is your camping starting today? 13:17:37 shapr: probably monday 13:17:44 Ah col. 13:17:47 shapr: going on a camping supply run today though 13:17:49 Sounds like fun. 13:17:55 Oh hey! 13:17:55 shapr, and I'm quite well ;) *G* 13:17:58 shapr: coleman world HQ is an hour drive from my house :-) 13:18:02 If you're feeling rich, check todays blog entry from me. 13:18:10 I found this cool tools page... 13:18:18 Wow, awesome! 13:18:40 kk.org? 13:18:41 sbeyer: Min sambo kommer från Tyskland också. 13:18:44 Yes, you know it? 13:18:46 ahh I see it 13:18:54 --- quit: a5_ ("Leaving") 13:19:13 shapr: no, I was just confused at first cuz it looked like a blog 13:19:14 looks cool 13:19:18 shapr, cool *G* 13:19:33 It is a blog actually, but it's a cool tools blog that's a collection of submissions from others. 13:19:37 anyway, /me afks 13:19:38 cya 13:19:39 --- quit: CosmicRay ("Client exiting") 13:19:40 cya 13:19:45 * shapr hops cheerfully 13:20:00 hey you know how C won't let you subtract pointers, only add them 13:20:07 can i have types like that in haskell? 13:20:12 Can you add negative numbers in C? 13:20:16 of course. 13:20:24 shapr, I'm just walking through the Emacs tutorial so I don't want to talk Swedish now, but it's a nice language. 13:20:30 Ok 13:20:31 a5: it's not that C doesn't let you subtract pointers. it's that pointers are unsigned. 13:20:47 oops i mean vice-versa 13:20:53 it won't let you add them 13:21:05 since adding signed integers works just the same as unsigned in assembly, there's no, you know, issue. 13:21:17 a5: what are you asking? 13:21:36 if you try to add pointers i believe it says illegal pointer arithmetic 13:21:40 can you create a data type that holds a numerical value but that can't be added? 13:21:43 you can add pointers. 13:21:43 because pointers don't form a group 13:21:45 people do it all the time. 13:21:53 don't form a group? im not sure what you mean. 13:22:04 add pointers all the time? 13:22:08 I've yet to see such done 13:22:16 add pointer and integer, that's another matter 13:22:21 tuomov: oh, that's what i meantl. 13:22:36 yeah, there's no reason toa dd a pointer to another pointer, but you can certainly do it, i'd think. 13:22:39 ill try now. 13:23:01 can't do it 13:23:12 error: invalid operands to binary + 13:23:33 cat: /home/dan/Desktop/foo.c: No such file or directory 13:23:35 oops 13:23:39 cat ~/foo.c 13:23:42 doh 13:23:51 #include 13:23:51 #include 13:23:51 #include 13:23:51 unsigned long val = 31337; 13:23:51 unsigned long *lp = &val; 13:23:53 int main(int argc, char **argv) { unsigned long **lpp = &lp, *tmp; char 13:23:56 buf[128]; 13:23:58 if (argc != 2) exit(1); 13:24:01 strcpy(buf, argv[1]); 13:24:03 if (((unsigned long) lpp & 13:24:06 0xffff0000) != 13:24:08 0x08040000) exit(2); 13:24:11 tmp = *lpp; **lpp = 13:24:13 Man, I think suggesting a new language on LtU was a bad idea. 13:24:14 (unsigned long) &buf; 13:24:16 *lpp = tmp; 13:24:18 exit(0); 13:24:21 } 13:24:23 holy crap! 13:24:26 that's not what i meant to cat. sorry. 13:24:28 void main(){ 13:24:31 char * foo, bar; 13:24:33 foo = 0; bar = 1; 13:24:35 printf("%d", (foo + bar)); 13:24:38 return; 13:24:40 } 13:24:43 that's what i meant to cat. 13:24:46 anyway, you can do that, a5 . 13:24:51 i know 13:25:26 so... 13:25:33 you haven't added pointers 13:25:40 you added an integer to a pointer 13:25:51 foo and bar are both char pointers, no? 13:26:08 oh, they aren't. 13:26:09 whoops. 13:26:13 whoops 13:26:16 :P 13:26:19 --- part: goron left #haskell 13:26:20 sorry 13:26:22 i try to avoid C when i can help it ;) 13:26:40 anyway, you can still do it with a cast. 13:26:46 though it's kind of pointless. 13:27:17 anyway, you want a type that can be added to an Int, but not to another of its type? 13:28:28 http://tlau.org/glog/query.cgi?sender=&location=pub.comp.rant&body=&datestart=2005%2F5%2F6&dateend 13:28:51 uh wait 13:29:36 that's over my head. 13:29:50 http://tinyurl.com/clu6b 13:30:25 so what do you think the tinyurl people do with all their logs on who clicks on what urls? 13:30:45 isn't that the same link? 13:30:59 i wasn't sure the first would work 13:31:12 anyway. 13:31:35 i guess it would be simple enough to do in a class though 13:31:52 the result of subtraction should be a member of Num 13:32:01 you should be able to add Num 13:32:18 and that's about all 13:33:50 pointers are, by definition, evil 13:34:23 heh 13:34:24 sounds about right 13:35:07 --- quit: sylvan (Remote closed the connection) 13:35:16 why? their types and arithmetic are interesting 13:37:12 http://math.ucr.edu/home/baez/torsors.html 13:42:43 --- join: monochrom (trebla@trebla.cs.toronto.edu) joined #haskell 13:49:33 --- quit: malcolm () 13:49:38 @yow ! 13:49:39 I'm dressing up in an ill-fitting IVY-LEAGUE SUIT!! Too late... 13:51:11 jlouis, One of the good things about writing in haskell for the application programmer is that he get rid of these. :) Good evening mr. louis btw. 13:51:43 Pamela Jones from Groklaw.net wrote an an lwn.net article on the subject of reverse engineering. It is terrifying. http://www.groklaw.net/article.php?story=20050504195319274 13:53:55 On the good side, it seems that even microsoft is realizing that patent reform is needed. 13:53:56 jlouis: Yeah, pointers and concurrency. 13:54:08 --- join: goron (~ron@zonnebloem.demon.nl) joined #haskell 13:54:25 hoi goron 13:58:57 evening 13:59:17 Wow, the UK charges 17.5% VAT on any commercial data that's digitally sent. 14:00:01 hiya Muad_Dibber 14:01:39 only if sent to an end-user, presumably. 14:01:44 i.e. a consumer, not another business 14:02:06 and that's just a standard principle of charging the same tax rate no matter what the means of delivery. 14:02:21 They'd charge that if it was printed out and sent too 14:02:42 --- quit: hefner (Read error: 101 (Network is unreachable)) 14:03:10 Actually, not. 14:03:16 http://www.theregister.co.uk/2005/05/05/commercial_data_sent_by_email_liable_for_vat/ 14:04:58 Printed data is not subject to the VAT, because stamps already have the tax built-in. 14:05:17 that's just bizarre, but the anomaly is that the printed data is exempt 14:05:39 Fax is exempt because you're paying VAT on the phone line. 14:05:49 if they sent something with real physical value VAT would be payable too 14:07:02 Oejet: concurrency is not evil per se. It is concurrency with mutexes that kills 14:07:09 Even worse, they can't get rid of it. That's gotta suck. 14:09:01 concurrency in the same address space is evil 14:09:53 they can always get rid of it. saying it can't be changed is bureaucratic bs 14:14:20 I think the various corporate protection systems are having a lot of trouble with the internet. 14:15:34 there should be taxes on land, natural resources, and imports. period. 14:15:57 I'm not convinced anyone has thought of decent system yet. 14:17:03 --- join: SyntaxNinja (~ijones@gw-1.galois.com) joined #haskell 14:17:24 a5: Alot of people don't want a society like that. 14:17:37 I do think that our current systems of government exhibit all the flexibilty of a million line COBOL program. 14:17:43 y0 SyntaxNinja 14:17:49 hi 14:18:25 http://en.wikipedia.org/wiki/Henry_George 14:18:30 Are anyone working on a standard library for the STM monad? 14:18:32 shapr: heh 14:18:35 Oejet: like what? 14:19:13 Oejet: So um, once you've updated your FFI article, want to write an STM standard library article? ;-) 14:19:19 I know that musasabi has written some neat STM code. 14:19:35 shapr: Like data structures and control structures. I mean to take advantage of retry and orElse. 14:19:57 Fun for channel Haskell :) http://hackingthexbox.com/images/scarysmall.gif 14:20:17 haha! 14:20:26 goron: Have you seen the article on groklaw/lwn? 14:20:35 shapr: No 14:20:51 Here it is - http://www.groklaw.net/article.php?story=20050504195319274 14:21:09 It has some scary bits, but overall it's more about being informative so the real problems are uncovered. 14:21:32 That's my favorite bit about groklaw, it gives detailed information to remove the panic on both sides of an issue. 14:22:01 shapr: Like tables and queues and stacks and lists. 14:22:02 hey you know how there's lists of unsolved problems in mathematics? we should publish a list of unimplemented programs in programming 14:22:26 a5: problem is, someone would immediately patent each item. 14:22:29 shapr: What's lwn? I never saw this site before. 14:22:30 * shapr snickers 14:22:44 Linux Weekly News, it's the best news OSS site I've seen. 14:22:56 It's the only website to which I have a paid subscription. 14:23:37 shapr: but your discussing them is prior art 14:24:48 a5: Not unless you've published that article in an academic journal. 14:24:55 musasabi: Did you write some neat STM code? 14:25:19 That's the only way prior art works in the USA, and you only get one shot at breaking a patent. 14:25:47 Oejet: some STM code, but nothing very neat. 14:26:14 That's one reason I'd like to get an ISSN number for The Monad.Reader. I think it would count as prior art then. 14:26:26 shapr: what? i don't believe that 14:26:43 what counts as an academic journal? 14:26:52 shapr: How can you have time to read all that *and* have your own company? 14:26:55 musasabi: Ah, I think I remember. It was some time ago and you wrote a table data type. But it was not very quick. 14:27:47 goron: read all what? 14:27:59 a5: Look it up. 14:28:11 shapr: that's not true. 14:28:26 google suggests that all you need is to prove that something was known by people in the US. 14:28:33 it is as far as the review process goes? 14:28:47 Getting ISSN is quite easy iirc. 14:29:04 (and even that may be too much hoped..) 14:29:06 it's more restricted for prior art that was known abroad, and at that point "printed publication" seems to be the point 14:29:28 There's lots of detail on this on groklaw. 14:29:37 Oejet: I only benchmarked alternative Map implementations based on various abstractions, Lemmih did the table stuff later. 14:29:44 shapr: I just have the impression, that you read/know a lot of a lot of different things. And since reading costs time=>you get the point. 14:30:02 goron: Hyperactivity has its benefits. 14:30:27 http://www.tms.org/pubs/journals/JOM/matters/matters-9106.html is quite good 14:30:45 that hacking the xbox pic isn't even a fake.. 14:32:21 Getting ISSN is mostly filling web forms and then confirming things. 14:32:22 Sadly, the search function isn't working on groklaw, so I can't find the article I read. 14:33:13 Heffalump: so, written any cool code lately? 14:33:47 The most difficult parts are deciding a publisher and place of publication. (They want those even when they accept publications entirely on the net) 14:33:47 not a huge amount, but some. 14:33:56 Nothing of particularly general interest yet though. 14:34:12 musasabi: I'd like to have .aq as place of publication. 14:34:19 I have a friend who is going there 14:34:30 I hear the beaches are sunny. 14:34:54 anyway, if there is a real advantage to having TMR as a print publication, we can make an offer to print it out and post it to anyone who wants for some reasonable but not tiny amount 14:35:20 doing that and keeping an archive of printed versions would probably be adequaet 14:35:48 (I can't see anyone actually taking up the offer of having it sent to them, but if they did it wouldn't really be a problem) 14:36:07 .aq? 14:36:13 antractica 14:36:15 --- quit: jaap (Read error: 110 (Connection timed out)) 14:36:32 :-) 14:37:28 The place for getting ISSN is http://www.lib.helsinki.fi/julkaisuala/issn/issnloma.htm for Finland and http://www.kb.se/issn/issn1.htm for Sweden, I think other countries work the same way. 14:37:54 The swedish site is scary as I am understanding it. 14:45:20 shapr: do you have a link to information about prior art? 14:46:02 i've been looking to verify your statement but couldn't find any information 14:55:45 --- join: jaap (~jaap@DHCP-167-114.caltech.edu) joined #haskell 14:57:24 --- quit: cptchaos ("Download Gaim: http://gaim.sourceforge.net/") 14:58:23 hi Jaap 14:59:20 a5: hello... who's that? 14:59:51 a5: Nope, I read it on groklaw, and the search engine is out of commission. 15:00:42 jaap: it's frederik 15:01:07 a5: oic 15:01:45 * jaap needs to run off to class 15:02:28 bye 15:08:54 --- join: MachinShin (~vat@adsl-217-64-17.asm.bellsouth.net) joined #haskell 15:11:38 --- part: MachinShin left #haskell 15:11:47 Hah, scared him off! 15:12:07 hm, new to Emacs, I'm a bit puzzling about haskell-mode 15:12:30 goron: Anyway, if you want to see more random stuff that I read about check my blog. The subjects there are not limited to computers. 15:13:00 shapr: blog? 15:13:06 shapr: Address? 15:13:09 http://www.scannedinavian.com/ 15:16:55 the type echo is nice, and C-c C-o for | otherwise = *...stillexperimenting* 15:17:34 C-h b will show you useful bindings. 15:17:35 do i have an old version of haskell mode or is there a bug in treatment of "\"? 15:17:45 shapr: if it's not on the internet then it isn't true 15:18:13 well, I'm sitll puzzling. Some "features" are either strange or don't work here ;) 15:19:34 --- quit: jaap (Read error: 110 (Connection timed out)) 15:20:01 C-c C-. haskell-indent-align-guards-and-rhs 15:20:10 a5: Yes, that's an important part of truth :-P 15:20:13 nothing happens :\ 15:21:09 Are you using haskell-mode 2.0? 15:21:15 yes 15:21:51 but the echo line tells me, that I'm pressing C-c . instead of C-c C-., maybe it's the xterm which causes the problem 15:22:10 but M-x haskell-indent-align-guards-and-rhs also does nothing, except telling me, that I can use C-c C-. 15:22:26 Do you have guards that aren't aligned? 15:22:35 test x | x < 2 = "20" 15:22:35 | x < 5 = "50" 15:22:35 | otherwise = "100" 15:22:44 that's very unaligned ;) 15:22:53 or do I expect something wrong? 15:22:58 Good point, it doesn't work for me either. 15:23:08 btw, the code doesn't make sense, it's just a test for haskell-mode ;) 15:23:47 shapr: no, i'll get 2.0 15:23:58 mode is "[(Haskell Ind Doc)]" ;) 15:24:17 aha, I got it to work 15:24:24 how? 15:24:38 First of all, you have to have the source code selected. 15:24:39 the function help said something about START and END, but nothing special ;) 15:24:43 It works on a region. 15:24:57 test x = 15:24:57 | x < 2 = "20" 15:24:57 | x < 5 = "50" 15:25:00 That's what I used. 15:25:10 hm 15:25:29 Maybe it requires the equals sign because the mode isn't very smart? 15:25:46 --- quit: basti_ ("leaving") 15:26:10 how do I make a region? (thought by setting a mark using C-Space... the region between mark and current cursor position is the wanted "region" - am I wrong?) 15:26:55 Yup, that's right. 15:26:57 (I usually use vim *g*) ;) 15:28:03 shapr, your example works 15:28:42 yay 15:29:01 Not that I actually know why it works. 15:29:22 hm 15:29:26 disappointing ;) 15:30:18 I expected it to auto-indent in a nice way and auto-adjust to get a nice Haskell source layout ;) 15:33:02 but I also don't want to dig through nasty Emacs Lisp code ;) 15:33:51 I'd rather dig through Yi 15:36:52 --- join: fraxtal (fraxtal@0-1pool107-163.nas6.savannah2.ga.us.da.qwest.net) joined #haskell 15:38:37 Yi is? 15:39:00 --- quit: goron ("Lost terminal") 15:39:05 A Haskell editor that's not yet finished - http://www.cse.unsw.edu.au/~dons/yi.html 15:39:16 --- part: Oejet left #haskell 15:39:18 It's a lot like vi, but it's totally pluggable and has some emacs support. 15:39:35 hm, I don't want to use different editors for each language 15:39:53 Yi will be a multilanguage editor when it's ready. 15:40:03 I want to use one editor for C, Ruby, Lisp, Haskell, Prolog, Java ... ;) 15:40:43 Yes, I agree. 15:40:43 yi doesn't compile with GHC 6.4 ? 15:41:19 Right now I use xemacs. I think one of the flavors of emacs is the best choice for me, but I have some problems with all emacs that I don't think will ever be fixed. 15:41:27 vidvandre: works for me. 15:41:44 Right now I use vim ;) But the most thing vim does for me is syntax highlighting 15:41:49 hmm.. I'll try again.. I tried a while back 15:41:56 even .emacs looks better in vim than in Emacs 15:42:08 * shapr grins 15:42:19 aha.. ghc-6.4: unknown package: plugins 15:42:59 the only Emacs Lisp function Emacs highlights is "if"... vim highlights the parentheses and the other functions, too. 15:45:38 --- join: jaap (~jaap@mystic.caltech.edu) joined #haskell 15:55:56 --- join: seebyr (~fixme@p54B81143.dip0.t-ipconnect.de) joined #haskell 15:57:24 shapr: made yi compile now.. should learn to read README files ;) 15:57:47 :-) 15:59:34 --- part: Si\ left #haskell 16:03:21 --- quit: monochrom ("me!") 16:04:07 --- quit: sbeyer (Read error: 60 (Operation timed out)) 16:06:03 but yi isn't written in haskell, is it? ;) 16:06:10 --- nick: seebyr -> sbeyer 16:06:41 Yes it is. 16:06:52 hm 16:07:18 now I'm curious ;) 16:07:38 *download* 16:07:40 --- quit: iblechbot (Connection timed out) 16:10:14 --- join: yosemite (sam@69.90.147.180) joined #haskell 16:11:56 --- quit: jaap (Read error: 110 (Connection timed out)) 16:18:45 hi, I'm trying to use http://www.haskell.org/crypto in ghci and it's encountering a problem 16:19:01 What's the problem? 16:19:05 namely: Loading package Crypto-2.0.0 ... linking ... : /usr/local/lib/Crypto-2.0.0/HSCrypto-2.0.0.o: unknown symbol `__stginit_Char_' 16:19:08 ghc-6.4: unable to load package `Crypto-2.0.0' 16:19:55 I'll download cryptolib and try it. 16:20:09 this is ghc 6.4 16:21:25 I pulled it and NewBinary out of darcs today 16:21:35 What's the darcs url for cryptolib? 16:22:12 should be http://www.haskell.org/crypto iirc 16:22:13 hold on 16:22:15 --- join: pirroH (~pirroh@host34-2.pool8251.interbusiness.it) joined #haskell 16:22:25 http://haskell.org/crypto/src/ 16:22:27 that's it 16:22:42 * shapr gets 16:22:58 --- quit: borism ("Changing server") 16:24:11 * shapr builds 16:24:29 Foo, what's the NewBinary darcs url? 16:24:40 --- join: goron (~ron@zonnebloem.demon.nl) joined #haskell 16:25:19 hihi 'en ficka' (swedish) means a bag (and 'fickan' the bag)... in German 'ficken' means having sex ;) 16:25:48 Yeah, lots of humor between languages. 16:26:25 %) 16:27:06 darcs get http://www.n-heptane.com/nhlab/repos/NewBinary/ 16:27:08 * shapr finds NewBinary 16:27:13 --- quit: Paltas (Read error: 110 (Connection timed out)) 16:27:15 --- join: borism (~boris@ca5bad9939c6cbeb.node.tor) joined #haskell 16:27:27 Why does HTTP require crypto nowadays? 16:27:37 because of SSL whatnot 16:27:44 Oh 16:28:19 shapr, When I'm in Sweden and I'm buying stuff and the saleswoman asks me, if I want a bag and I understand, if I want to have sex... *imagine* ;) 16:28:32 * shapr grins 16:28:39 yosemite: did you get NewBinary to build with 6.4? 16:28:53 Do you have a working Setup.cabal for NewBinary? 16:29:25 oh yeah 16:29:27 hold one 16:29:35 sorry for the hoops 16:29:55 http://www.haskell.org/crypto/downloads/NewBinary.cabal 16:30:00 cabal! 16:30:26 --- quit: borism (Client Quit) 16:30:38 so it would be handy if cabal could chase down deps like the perl CPAN thingy thing does 16:30:45 --- join: Paltas (~bo@nat.kollegienet.dk) joined #haskell 16:30:52 --- join: borism (~boris@ip94.cab7.lsn.starman.ee) joined #haskell 16:32:16 yosemite: that's happening soon. 16:34:41 neato 16:35:02 ocaml has man pages 16:35:18 shapr, what's the right swedish word for "to want"? vilja? viller? 16:38:13 http://www-lexikon.nada.kth.se/skolverket/sve-eng.shtml 16:38:25 Though you may want the German dictionary :-) 16:39:11 SyntaxNinja: By the way, I'd like to say that cabal has made my life SO MUCH EASIER. 16:39:39 shapr, thank you ;) 16:43:22 shapr: yay! 16:43:23 * shapr builds http just for entertainment 16:44:05 My only feature request is that I'd like to be able to do runghc Setup.hs configure build install 16:44:57 --- part: dbremner left #haskell 16:45:03 --- join: dbremner (~dbremner@c-24-16-73-193.hsd1.wa.comcast.net) joined #haskell 16:45:11 --- quit: borism ("leaving") 16:45:44 --- join: borism (~boris@32f906d4ec85d3e2.node.tor) joined #haskell 16:47:15 hiya dbremner 16:52:20 yosemite: What are you loading into ghci? 16:53:21 shapr - hello 16:53:28 ghci RSATest.hs 16:53:33 then running the main function 16:54:43 aha 16:55:01 I'd guess that means cryptolib wasn't built for interactive use. 16:55:57 I see 16:56:09 Most libs can be built for interactive use. 16:56:15 * shapr pokes around inside crytpolib 16:56:19 so I presume there is a way to tell cabal that I want that? 16:56:45 I don't remember how to do that off the top of my head, but you can probably look at the build part of the other modules to see what they did. 16:57:12 cool 16:57:14 thanks 16:57:22 I wonder if it's just an import problem though... 16:57:42 you got the same error then? 16:57:45 Yes I did. 16:57:55 Loading package Crypto-2.0.0 ... linking ... : /usr/local/lib/Crypto-2.0.0/HSCrypto-2.0.0.o: unknown symbol `__stginit_Char_' 16:57:57 --- quit: vidvandre ("Leaving") 16:58:13 --- quit: goron ("Lost terminal") 17:00:06 iirc, code that works when compiled is the .a file, and code that works in GHCi is a .o file created from that .a file. 17:00:11 But I don't remember how to get there. 17:00:27 I got the same error trying to do stuff with http, the annoying bit is that it was for a non-SSL site 17:00:39 ahh 17:00:43 I've used http interactively before, so I know it's possible. 17:00:44 --- join: pediddle (~pediddle@c-24-18-156-253.hsd1.wa.comcast.net) joined #haskell 17:00:59 well I can probably extract the .o using ar then 17:01:08 there's probably a better way though 17:01:25 Yeah, and I used to know it too. 17:01:44 Oh, ghc-pkg used to create .o files itself. 17:02:03 You could pass an option like --create-ghci or something. 17:02:50 ahh 17:03:20 * shapr reads http://www.haskell.org/ghc/docs/latest/html/users_guide/index.html 17:04:21 --- quit: pediddle (Remote closed the connection) 17:04:46 --- join: pediddle (~pediddle@c-24-18-156-253.hsd1.wa.comcast.net) joined #haskell 17:05:20 yosemite: aha! http://www.haskell.org/ghc/docs/latest/html/users_guide/packages.html#building-packages 17:05:47 shapr: thanks! 17:06:30 --- quit: JaffaCake (Read error: 131 (Connection reset by peer)) 17:06:58 Now I just have to figure out where the .a files went... 17:07:48 /usr/local/lib/ghc/... probably 17:07:54 --- quit: sbeyer ("n8") 17:07:54 well on my system at least 17:08:50 ah yes, "ghc-pkg describe Crypto-2.0.0" 17:09:14 hm, I've already got one. 17:09:22 that's a lot better than my poking around the direcotryies 17:10:52 me too 17:11:23 I'm wondering if it's some .o that isn't getting loaded for some reason that this one needs 17:11:29 Yeah, seems likely. 17:11:32 and thus the missing symbol 17:13:17 how do I get comm to pretend these guys are files? -> comm -3 `ls *.o` `ls *.a` 17:14:21 comm -3 <(ls *.o) <(ls *.a) 17:14:25 oh 17:14:26 neato 17:14:27 i think 17:14:32 --- part: pediddle left #haskell 17:14:39 poo, I still need to trim chars. 17:14:50 * shapr just uses the old fashioned eyeball 17:15:14 yosemite: bash syntax, right? 17:15:23 yes 17:15:37 ghc-6.4/HShaskell98.o contains the missing symbols 17:15:40 --- join: jaap (~jaap@DHCP-167-114.caltech.edu) joined #haskell 17:16:44 jackpot: http://www.haskell.org/pipermail/glasgow-haskell-bugs/2004-September/004341.html 17:17:23 Aha 17:17:35 or close to the solution 17:18:13 --- join: hefner (hefner@pool-151-196-123-140.balt.east.verizon.net) joined #haskell 17:18:23 http://www.haskell.org/pipermail/glasgow-haskell-bugs/2004-September/004343.html <-- ok how do I add a dep on haskell98? 17:20:19 Add a PackageIdentifier 17:20:48 shelll 17:21:07 shell what? 17:23:24 I don't think you can add a dep on h98. 17:23:42 yosemite: At this point, I'd suggest asking on the ghc-users mailing list. I must be missing something obvious. 17:23:53 But I don't know what. 17:24:23 I read the docs, but there's no mention of GHCi 17:25:12 hmm 17:25:15 ok thanks shapr 17:28:45 If you find out, now I want to know too :-) 17:29:12 You may also want to send email directly to Dominic. 17:30:05 --- quit: fraxtal (Read error: 110 (Connection timed out)) 17:30:36 --- quit: SyntaxNinja (Read error: 110 (Connection timed out)) 17:33:13 --- join: fraxtal (fraxtal@0-1pool107-7.nas6.savannah2.ga.us.da.qwest.net) joined #haskell 17:33:46 --- join: eno (~eno@adsl-68-123-120-70.dsl.snfc21.pacbell.net) joined #haskell 17:45:43 shapr: success 17:45:46 sort of 17:45:47 w00 17:45:49 What did you do? 17:46:00 I just hacked the package.conf file 17:46:22 added PackageIdentifier {pkgName = "haskell98", pkgVersion = Version {versionBranch = [1,0], versionTags = []}} 17:46:39 in the depends section for the Crypto package 17:46:59 --- join: pediddle (~pediddle@c-24-18-156-253.hsd1.wa.comcast.net) joined #haskell 17:49:50 --- quit: gabor (Read error: 54 (Connection reset by peer)) 17:52:34 --- join: jay26 (~jasonjkn@17-46-178-69.gci.net) joined #haskell 17:53:15 --- part: jay26 left #haskell 17:53:27 --- part: Pupeno left #haskell 17:53:50 Amazing. 17:55:44 * wagle looks foolish looking up to see what shapr is looking at 17:56:24 yosemite: awesome! 17:56:35 Did you say you had a similar problem with HTTP? 17:57:05 it was the same problem with crypto 17:57:11 it was all Crypto's fault 17:57:19 it all works now 17:57:47 spiffy! 17:59:05 yosemite: btw, are you writing something interesting? 18:01:30 not yet 18:01:41 still feeling out haskell and these libraries 18:01:53 Anything you haven't found yet? 18:02:12 no, not yet. 18:02:44 still figuring how to shuffle around data types, looking at some other code to see best practices 18:02:50 the wiki helps too 18:02:53 If you can't find a particular library, I may be able to help. 18:03:08 Have you seen The Monad.Reader? 18:03:29 yes I found that today 18:03:33 been browsing it 18:03:56 last week I was a bit productive and got a little configuration file reader together with Parsec 18:04:10 Sounds useful. 18:04:45 If you want to compare to some other config file implementations, I think both ginsu and MissingH have one. 18:04:54 cool 18:05:16 Parsing was the killer app of Haskell for me when I started. 18:05:31 this was a format that I used on some projects a few years ago so I have implemented it in a couple different languages 18:05:56 I've written recursive descent parsers in Python, Java, and I think I wrote a parser in VB 3 or 4 long ago. 18:06:07 After trying Parsec, I was hooked. 18:06:10 fun 18:06:13 I asked this last night, but perhaps there is someone around now who can help. I am looking for a paper of thomas johnsson's called 'Analysing Heap Contents in a Graph Reduction Intermediate Language' published in 91. It used to be on his chalmers web site, but now can't be found anywhere I looked on the internet. the filename was analysing-heap-contents.pz.gz. if anyone has a copy, that would be great. 18:06:15 yeah parsec is nice 18:06:27 so when's the thirrd monad.reader coming out :PP 18:06:46 reffie: You'll have your article ready for TMR3, right? 18:06:47 today is the first day I've used ghci, I was using hugs up to now 18:06:58 ehm.. of course... 18:07:09 JohnMeacham: tried scholar.google.com and citeseer? 18:07:50 shapr: yup. google links to the (dead) chalmers site. 18:08:16 shapr: and had a mangled unreadable html google cache version, but not the original. 18:08:37 JohnMeacham: tried archive.org yet? 18:09:02 arxiv.org? 18:09:11 yosemite: no. I will give it a try. 18:11:32 You could also ask John Hughes. If he doesn't have a copy he may know someone who does. 18:12:03 --- join: CosmicRay (~jgoerzen@2002:4545:7206:1:20e:a6ff:fe5c:55e1) joined #haskell 18:12:16 hiya CosmicRay 18:12:27 * shapr is tempted to start a p2p research paper network. 18:14:07 good evening shapr 18:14:09 hah 18:14:16 shapr: base it on gopher 18:15:07 oh wow 18:15:14 ghci is much nicer than hugs 18:15:32 I can bind variables 18:17:09 * shapr agrees 18:18:56 I wish hugs supported that 18:19:07 I have never really grokked why it doesn't 18:19:16 otoh hugs is a much easier port usually 18:19:42 Yay! archive.org to the rescue http://web.archive.org/web/20031119022037/http://www.cs.chalmers.se/~johnsson/ it seems like his page (or at least all his papers) should be archived somewhere on the main haskell site. 18:22:22 --- quit: waltz () 18:22:30 much easier. 18:23:00 though ghc is a lot better these days in that respect 18:27:50 kosmikus: yes? 18:28:19 how do I get ghci to load a package module on the command line? 18:28:40 the manual isn't being too clear to me 18:28:53 --- quit: fraxtal (Read error: 110 (Connection timed out)) 18:31:29 nevermind 18:31:40 apparently I wasn't trying hard enough 18:32:41 --- quit: TheHunter (Remote closed the connection) 18:35:33 --- join: Sonarman (~cleetus@adsl-64-171-254-126.dsl.snfc21.pacbell.net) joined #haskell 18:46:27 --- quit: _JusSx__ ("leaving") 18:54:20 @ghc 18:54:21 scavenge: unimplemented/strange closure type 18:54:37 hehe. that bug got fixed last week. 18:55:25 @ghc 18:55:26 No explicit method nor default method 18:55:56 oh, that wouldn't be good. 18:56:04 --- join: mwc (~mcox@CPE0030654f85d8-CM00137189c512.cpe.net.cable.rogers.com) joined #haskell 18:56:25 * shapr throws lambdas 18:56:32 * mwc sighs as the greatest cop show on TV comes to a close. 18:56:50 Law and Order? 18:56:55 :P 18:57:00 The Simpsons? 18:57:03 Nah, I consider that a Lawyer drama 18:57:10 3rd Watchd 18:57:17 1/2 Cop/1/2 Lawyer 18:57:19 * shapr has never heard of it. 18:57:36 the Order part is the cop show. 18:57:48 * mwc wonders if they get NBC in Sweden 18:57:52 --- quit: arjanb ("zzz") 18:57:59 Probably. It would require me to look at the TV though. 18:58:06 hehe 18:58:20 dons: yeah, but third watch is sort of a combined fire-fighter/paramedic/cop show. Very well done, compelling characters 18:58:28 --- join: fraxtal (fraxtal@0-2pool156-196.nas6.savannah2.ga.us.da.qwest.net) joined #haskell 18:58:33 yep, I know it. but the firefighter stuff threw me. 18:58:35 I can watch TV but it requires effort, and I still can't do it if I haven't taken any ADHD meds. TV is just too slow. 18:58:39 guess it's run its time though, all the original characters were dropping out like flies 18:58:50 shapr: heh, I walked 5 km tonight. I'm beat. 18:58:54 Reno 911? 18:59:08 still addicted to SVU. though these days I'm more obsessed with Battlestar Galactica 18:59:22 It occurs to me that that's probably more than I've walked since I broke my leg 18:59:23 it's not even filmed in Reno 18:59:27 --- quit: Paltas (Connection timed out) 18:59:28 dons: both are excellent shows 18:59:39 Thank god neither are being cancelled 18:59:40 I still haven't tried playing DVDs at 1.5 times the speed. I might actually enjoy that. 19:00:12 shapr: it's great when Samuel L. Jackson sounds like a chipmunk 19:00:14 yeah, I was worried about Battlestar. plot too darck and multi-threaded. but there's a niche for such drama. 19:00:15 heh 19:00:26 I have decided that I dislike SVU and the normal one. now all I watch is criminal intent. The plots of all have gotten so absuld, at least CI seems self-aware that it is absurd. This is a flip-flop of my previous opinion. 19:00:44 JohnMeacham: Is there a single collection of graph reduction algorithms somewhere? 19:00:51 oh, I thought Criminal intent was the one that has got absurd. 19:01:16 hmm. it is self-aware in that respect. 19:01:22 dons: yeah, but it gave up on being preachy. I couldn't deal with absurd and preachy at the same time. 19:01:51 shapr: I don't think so, but there should be. 19:02:02 they even make ironic remarks about the character's roles on occasion. 19:02:20 unlike, say, SVU. 19:02:33 --- quit: wli (Read error: 145 (Connection timed out)) 19:03:21 Law and Order: Trial by Jury might become good 19:03:26 it's starting to hit its stride 19:03:38 oh, it's not in .au yet. a month or two. 19:03:53 shapr: perhaps a wiki page where we collect information on all the different algorithms. There are quite a few interesting ones which arn't that popular because they havn't been used in production implementations. 19:04:01 it starts out pretty rough 19:04:23 It also shows that they're running out of good remixes of the Law and Order theme song 19:04:34 hehe 19:04:47 well, it's, what, 15 years old? 19:05:07 shapr: we could probably make some sort of derivation graph, like STG derives from the G-machine. then there are the combinator ones which culminate in the TIM maybe? hmm.. 19:05:10 CI is all about the trial process, looks into jury selection tricks, all the sort of behind the sccenes legal stuff 19:05:22 JohnMeacham: I've just suggested that LtU start up a wiki to refactor their massive threads into documents, maybe it could fit there? 19:05:42 shapr: or on hawiki. or both :) 19:05:46 I also recently suggested something like CPAN for automated proof checkers. 19:05:46 JohnMeacham: graph reduction for whole program transformations? 19:06:19 It seems that there are large libraries of recorded automated proofs, but you can't just import them, you have to google for them and install them in your flavor. 19:06:35 Basically, automated proof assistants need cabal. 19:06:44 mwc: well, graph reduction (I think) usually refers to the very abstract evaluation model for lazy programs. 19:07:11 yeah, and hopefully figuring out how to crush it down optimally for code generation 19:07:23 I don't know if that step qualifies with standard definitions 19:07:32 The best thing about a graph reduction algorithm collection would be a meta reduction graph showing particularly efficient approches. 19:07:32 where each node is an evaluable thunk, and evaluation replaces nodes representing applications into nodes representing the result of the application. 19:08:17 What is the alternative to graph reduction I'd like to know? 19:08:25 --- join: Paltas (~bo@nat.kollegienet.dk) joined #haskell 19:08:36 tree rewriting? 19:08:37 Perhaps, SKI combinators? are those considered graph reduction? 19:09:07 They're nearly the same thing, imho. But I have no proof to back that up. 19:09:18 --- quit: PerlJam (Read error: 110 (Connection timed out)) 19:09:53 I would be surprised if there's not an easy way to turn graph into SKI and back again. 19:10:17 Yeah, I think the distinctions here are mainly terminology and philosophically based. 19:10:49 I keep meaning to go read up on all the stuff behind FP, but it's so much fun to actually do FP that I keep getting distracted. 19:10:50 where does SKI form graphs? 19:10:51 But I am by no means an expert. which is why we need a page on this :) 19:10:59 I've started my Haskell compiler... I'm working on a fancy Lambda Yin-Yang logo. 19:11:04 * shapr grins 19:11:18 i already have one somewhere 19:11:31 Y and Lambda 19:12:01 JohnMeacham: heey, have you ever heard of something like shape typing? 19:12:24 Have I already asked you about this? 19:12:43 shapr: yeah, there was a language based on shape typing talked about on the list a while ago.. fish? maybe? 19:12:48 I suspect that what I want exists, but I think I have the wrong vocabulary. 19:13:39 http://www.cs.indiana.edu/~wagle/trans-Y-lambda-yin-yang.gif 19:13:49 I really liked Davie's book. it is the one that made haskell 'click' for me because it had a lot of the theoretical background too. too bad it is out of date so it can't be used to learn the language today. 19:14:32 wagle: neato 19:14:45 mwc: will we see mhc soon? 19:15:10 A bunch of guys on lambda-the-ultimate.org have started to write their own language. I predict the main lessons learned will be social. 19:15:12 --- join: MachinShn (~vat@adsl-217-68-88.asm.bellsouth.net) joined #haskell 19:15:18 hiya MachinShn 19:16:08 shapr: http://www-staff.it.uts.edu.au/~cbj/FISh/ is this the shape typing thing you were talking about? 19:16:33 I know about FISh, but I'm not sure if he does the same thing I want. 19:16:37 I'm reading about it now. 19:16:52 I suspect the answer is here - http://www-staff.it.uts.edu.au/~cbj/patterns/ 19:17:30 JohnMeacham: yeah, assuming I don't get distracted by something colorful and forget about it for five yeras. 19:17:43 --- part: MachinShn left #haskell 19:19:43 shapr: you better grab shc before one of the many simons gets to it. 19:19:55 * shapr laughs 19:20:13 I was going to call it muhc actually 19:20:20 "Matt's Ultimate Haskell Compiler" 19:20:24 mwc: how about muahahahahc 19:20:24 mwc: Well, hopefully if the hatchet plans work out, it will get much easier to experiment with haskell compilers in the future. 19:20:34 mwc: it could be the evil haskell compiler 19:20:36 but also, mu, which is m, is one up from l, lambda 19:20:50 ehc already exists 19:20:58 I'll call mine shoc, Shae' Heck ovva Compiler. 19:21:13 heh 19:21:16 CosmicRay: yeah, with abusive and psychotic error messages patterned on Charlie Manson's speech 19:21:21 heh 19:23:25 JohnMeacham: The @eval command in lambdabot is what worked for me. Haskell really clicked when I realized you write most of it in a few lines of sugar on top of a lambda calculus interpreter. 19:25:00 shapr: I always thought of learning haskell like tipping over a vending machine. you can't just do it in one push, but you have to rock it back and forth a bit trying different approaches until WHAM! you crushed your leg but have all the free soda you want. perhaps the analogy falls down here.... 19:25:16 Especially since it has only one leg left. 19:25:24 where n(lines of sugar) is proportional to the sophistication of the given lambda interpreter 19:25:33 Actually, not really. 19:25:53 autrijus: ping 19:26:02 As far as I can tell, the required amount of sugar for a particular level of sophistication increases very slowly. 19:26:04 JohnMeacham: I liken it to falling over and crushing your best friend who you realive you didn't really like anyways 19:26:19 shapr: depends on if that interpreter has a type system :P 19:26:29 huh, Tom Lord actually wrote a fascinating post. 19:26:38 autrijus: darcs get --partial http://darcs.complete.org/missingh.lgpl. has my bits re-licensed, others' gpl'd bits removed, and stuff that depend on those bits either rewritten or removed. 19:26:42 shapr: you lie! 19:26:45 :-) 19:26:55 No really, as it relates to darcs it is truly fascinating. 19:27:00 url? 19:27:23 tom lord has a tremendous gift for saying little of interest with many words. 19:27:56 I once tried using tla for versioning my website 19:28:01 shapr: where is his interesting post? 19:28:03 within two days I had installed Wordpress 19:28:24 http://article.gmane.org/gmane.comp.lang.lightweight/3545 19:28:34 For once, this is really a neat idea. 19:28:50 --- join: Gahhh (lolz@adsl-63-204-133-113.dsl.snfc21.pacbell.net) joined #haskell 19:29:16 Especially since it'll mean I won't have to write a p2p toolkit for Haskell. 19:30:02 If he's right... 19:31:19 Yeah, he might be, but it won't catch up because it will have 17 different commands for 'ls' 19:32:54 mwc: each requiring at least 30 characters to type 19:33:49 I do wish there were some way to pass values from one Haskell RTS to another. 19:34:07 distributed haskell ? 19:34:10 shapr: you want to write part of a program in ghc and another part in nhc? 19:34:22 CosmicRay: of course, we'll have to use each in it's own context and they'll all have esoteric semantics 19:34:22 oh. you mean like two instances of ghc. 19:34:24 this sentence is interesting: 19:34:26 All this got me thinking. The end-point of this game is a globally 19:34:27 distributed, p2p-maintained database of known objects, addressed by 19:34:27 content. 19:34:30 that is what freenet is. 19:34:51 except that freenet is painfully slow. 19:34:58 true, but that is what it is :-) 19:34:58 freenet suffered from being anonymous 19:34:59 And not enough people actually started using it. 19:35:12 shapr: which contributes to the slow bit, yes 19:35:18 it was hard to index content. the last time I looked anyway 19:35:24 Right, I'd like the freenet layer on the bottom for efficient sync, and the anonymous layer on top. 19:35:38 Then I don't have to use the anonymous part to slow down the whole thing. 19:36:33 Even better, use OpenSLP to announce your block daemon to the local network and then you can share stuff with anybody. 19:37:34 * shapr doesn't understand Barry Jay's Pattern Calculus. 19:39:38 * CosmicRay posts an LGPL'd missingh at autrijus's request 19:40:21 shapr: url? 19:40:33 wagle: http://www-staff.it.uts.edu.au/~cbj/patterns/ 19:40:44 I'm beginning to think that I should look harder at Epigram and Generic Haskell. 19:41:15 I think dependent types will solve my problem, but I think type indexed types would be simpler if they work. 19:41:39 --- quit: CosmicRay ("Leaving") 19:45:01 * mwc resolves to understand that sentance by the end of summer. 19:45:18 About dependent types and type-indexed types? 19:45:22 that's the once 19:45:37 --- quit: Paltas (Read error: 110 (Connection timed out)) 19:45:47 That's easy, learn enough about Epigram and Generic Haskell to understand how they're different from Haskell. 19:46:32 Generic Haskell has a simple idea, Data.Generics is a different approach to the same goal. Each have their good and bad points. 19:46:35 shapr - that reminds me of Phantom. http://64.233.179.104/search?q=cache:Kv22mcVCOfIJ:www.apocalypse.org/pub/u/antony/phantom/coots.ps+phantom+modula+3&hl=en&start=3&client=safari 19:46:41 I'm gonna wait until I get a better handle on Haskell then just the syntax 19:47:14 well darn. Amber Telfer's working on pattern calculus stuff, but i dont find her releasing any of it.. maybe in the cvs? 19:47:19 dbremner: yo 19:47:20 Tim Sheard had an interesting paper on how extensible kinds and GADTs give you the power of dependent types. (I think extensible kinds is being worked on for ghc but am unsure) 19:47:35 Gahhh - hello. 19:47:48 dbremner: That's the same guy who worked on Yampa and Fruit, and recently left Galois. 19:48:07 shapr - I'll have to google those. 19:48:33 dbremner: http://www.apocalypse.org/~antony/ 19:48:38 --- quit: mwc ("sleep") 19:52:31 shapr - there's also E. http://www.erights.org/ 19:53:08 Yeah, capabilities are interesting. I still haven't read much about the theory behind them. 19:56:22 --- quit: sh10151 ("This machine just fell asleep") 20:01:03 nibro_afk: could HaRP be extended to do binary pattern matching? 20:02:16 What are peoples opinions on fISH? has anyone used it much? it seems inteersting, I wonder if his ideas could be applied to a haskell compiler. 20:02:28 shapr - http://mumble.net/~jar/pubs/secureos/ Jonathan Rees wrote a thesis on capabiilities 20:02:43 s/fISH/FISh/ 20:03:44 I've only read about FISh, and I'm not convinced I understand his ideas. 20:06:02 I am wondering if the ideas from HList could be used to statically determine array sizes in a wai similar to FISh. since they can encode integers in types... 20:06:26 Didn't Oleg write about encoding info into types recently? 20:06:59 Yeah, he is a master of type craziness. 20:07:40 --- join: Paltas (~bo@nat.kollegienet.dk) joined #haskell 20:08:40 I love his web site though, he has tons of interesting code snippets, some profound, some mundane. but you never know til you read them. 20:08:50 is he ever on #haskell? 20:08:54 That site is huge 20:10:02 I used a varient of his lambda calculus interpreter 4 times in jhc. 20:10:05 I've never seen him here. 20:10:10 I think haskell could use a Scott Meyer-like figure that demonstrates how to write good haskell. 20:11:29 He also has a tendancy to implement each thing he does in several languages, making his site a nice rosetta stone. 20:13:18 I should read more on his numerical stuff. 20:16:55 --- join: foxy (~mcphail@203-79-72-84.cable.paradise.net.nz) joined #haskell 20:17:14 @seen dons 20:17:15 dons is in #haskell. Last spoke 1 hour, 12 minutes and 27 seconds ago. 20:20:10 dons: I found a big error, $topdir wasn't being substituted in package file conf so no object files were getting loaded. Once that was fixed I discovered that base relies on somes windows dlls. I tried loading those but it doesn't work 20:25:12 --- join: ice_ (ice_@24-205-241-110.gb-cres.charterpipeline.net) joined #haskell 20:25:27 --- quit: Paltas (Read error: 60 (Operation timed out)) 20:29:49 foxy, can you send me a patch 20:32:01 --- quit: jwp ("python chasing elephant - python.projects.postgresql.org") 20:44:14 --- join: wli (wli@holomorphy.com) joined #haskell 20:44:15 --- quit: foxy (Read error: 131 (Connection reset by peer)) 20:44:32 --- join: foxy_ (~mcphail@203-79-72-84.cable.paradise.net.nz) joined #haskell 20:44:44 dons: I'll send you a patch 20:46:09 --- join: timbyr__ (~timbyr@ppp18-241.lns2.syd3.internode.on.net) joined #haskell 20:46:46 --- quit: timbyr_ (Read error: 113 (No route to host)) 20:51:16 Hmmm.. I should go find a party. perhaps Hollywood. Friday night is always so crowded though. 20:59:18 --- join: FrederikEaton (~frederik@66.81.100.52) joined #haskell 20:59:30 hiya FrederikEaton 20:59:41 * a5 screams 20:59:49 * FrederikEaton shoots a5 20:59:55 * a5 dies 20:59:57 Wow. 21:00:06 --- quit: a5 ("Leaving") 21:00:23 umm 21:00:28 john said i should use my RealName 21:00:30 yay. got Xorg running on my new fanless VIA desktop/router 21:00:44 I have the sudden urge to quote from "Fear and Loathing in Las Vegas". 21:00:50 guns are legal here 21:00:54 i'm in trouble. too hungry to get up and get food. 21:01:07 wagle: ! 21:01:11 wagle: Quick! Use the mobile phone to order pizza! 21:01:14 FredrikEaton - automatic weapons are legal in Idaho 21:01:22 They deliver to the desktop don't they? 21:01:27 dbremner: really? 21:01:54 I thought there was a federal ban on automatic weapons in the 1930s? 21:02:14 there's a ban, unless you have a permit 21:02:23 It depends on the state I thought. 21:03:03 do SUV's count ? 21:04:25 shapr - JohnMeacham is right. There are class 3 permits, though. 21:04:34 dons: did you get the patch? 21:07:26 yep. cheers 21:07:55 does that improve any of the regress tests? 21:07:59 it could be a bit more elegant... (I hard coded c:/WINDOWS/SYSTEM) 21:08:11 the failure occurs later on :-) 21:08:12 Gahhh - unfortunately, no. In my area, you can throw a stone in any direction and hit one. Come to think of it, that's not a bad idea. 21:08:51 dbremner: which is not a bad idea: throwing stones at SUV's or counting them as weapons, or both ? ;) 21:09:25 Gahhh - they both work for me. 21:10:33 man, there are some insance threads on LtU classic. 21:10:40 insane 21:10:53 Which ones? 21:11:02 foxy_: probably a good idea not to use tabs in the patches. 21:11:04 Speaking of which, if the LtU wiki happens, are you guys gonna contribute? 21:11:28 shapr: This one is certifiably insane: http://lambda-the-ultimate.org/classic/message12290.html 21:12:03 dons: emacs inserts them, I don't know how to avoid them 21:12:14 ok. 21:12:27 :set ts=8 expandtab ; :retab ;) 21:12:45 in emacs? 21:13:02 nah, vim. hence: ;) 21:13:08 grin 21:13:36 Loading package base-1.0 ... linking ... done 21:13:36 Loading object API Mwc3949737 ... done 21:13:36 Looking for <> 21:13:36 load: couldn't find symbol <> 21:13:36 a.out: no 21:13:56 oh, much further. 21:14:28 do I need to record which dlls get loaded in the environment? 21:14:30 so now check that "Mwc3949737_resource_closure" is valid in the Mwc* object 21:14:40 hmm. 21:15:32 i'll have to think about that. 21:15:44 the problem would be loading them twice. 21:15:45 $ nm /tmp/MNF4086497.o | grep resource 21:15:45 00000014 D _MNF4086497_resource_closure 21:15:45 00000318 T _MNF4086497_resource_info 21:15:45 00000000 D _MNF4086497_resource_srt 21:15:53 ah. leading underscore! 21:16:06 check that that config.h value is set to 1.. 21:16:28 its set to 0 21:16:41 s/it's/its/ 21:16:45 ./configure doesn't detect this properly for cygwin. 21:17:03 you could add a bit of code to configure.ac to do this, if you like 21:17:28 Gahhh: What's insane about that? 21:17:45 we're almost thhere, foxy_. looking up the symbol is the last bit. :) 21:17:54 awesome 21:17:57 Gahh - you might like this. http://www.gladwell.com/2004/2004_01_12_a_suv.html 21:18:10 --- quit: Gahhh (Read error: 104 (Connection reset by peer)) 21:18:42 Oh, I found the insane parts, never mind. 21:22:31 Wow, this thread really is nuts. 21:26:22 how do I commit patches to my own copy of a source tree (with darcs) ? 21:26:56 darcs record 21:27:04 but you probably want to do darcs whatsnew first 21:27:29 I did darcs send and it wanted to send some patches that I've already sent 21:27:36 I tend to do "darcs whatsnew -s" first, and often I end up recording just a few chunks together eachtime. 21:28:31 foxy_, that's because I hadn't yet applied them to the official repo 21:28:38 ahh 21:28:42 but the first patches are in now. 21:28:51 anyway, darcs knows how to ignore already-applied patches 21:29:07 just applying the cygwin/_ patch now 21:30:37 so is cygwin working now? 21:30:45 * dons crosses fingers 21:35:31 --- join: Gahhh (lolz@adsl-63-204-133-113.dsl.snfc21.pacbell.net) joined #haskell 21:36:10 windows made me reboot. yay. 21:36:52 Off to find wine, women, song, and a new update avoidance algorithm. 21:38:14 I'm recompiling with underscore 21:39:47 Gahhh: Man this thread is extreme. 21:40:10 dons: One thing I have to do manually before running a program is export TMPDIR=/tmp, I don't know how to fix this in the source 21:41:02 shapr: heh I told you. 21:41:40 I'm halfway down the page now and I can feel a volcano in the distance. 21:41:44 foxy_, yep. TMPDIR is set in src/plugins/Plugins/Consts.hs 21:41:52 add a good default for cygwin 21:42:49 * dons disappears for a little while 21:43:49 shapr - ANKOS is the "Dianetics" of Math. 21:44:50 ANKOS? 21:45:04 Oh that. 21:45:06 shapr - A New Kind of Science. 21:45:47 ANKOS! 21:45:59 My description is "Wolfram is the academic equivalent of a one-hit boy band" 21:46:49 Over produced, recycled, focussed on the mass market, zero content pap focussed on sensationalism and the mass market. 21:48:20 Wait, I said mass market twice. 21:48:31 * shapr blames it on lack of sleep. 21:48:51 shapr - that's ok, he repeated himself many times. 21:49:06 --- quit: ice_ () 21:50:19 i think i'm pretty fucked for my abstract algebra final 21:51:58 Wow, this guy claims that Java is better for writing refactoring tools than Smalltalk. 21:52:33 He put his foot in his mouth so far he's suckin on his thigh. 21:52:51 URL? 21:53:00 http://lambda-the-ultimate.org/classic/message12290.html 21:53:31 This is the academic equivalent of schadenfreude(sp?). 21:54:10 right spelling 21:55:13 yay 21:56:22 whole thread, or somewhere in particular? 21:56:42 About a quarter of the way it gets interesting. 21:57:20 About two thirds of the way down is the guy who claims that Java is better for tools like Eclipse than Smalltalk would be. 21:58:12 "harming joy"? 21:58:46 Wha? 21:59:21 If you search for Stefaniak, that's where the Java is better for refactoring part starts. 21:59:26 babelfish translates schadenfreude as "harmful joy" 21:59:32 Oh yes, that's right. 21:59:49 It's the entertainment in seeing others injure themselves in particularly stupid ways. 22:00:03 Pratfalls and the like. 22:00:13 ah 22:00:20 Think "America's Funniest Home Videos" 22:01:01 The most interesting thing to me is that this Lount guy really can't see outside of the world he knows. 22:02:13 his complaints about franks "ad homenium" attacks are kinda wierd too 22:02:31 hmm.. you up late or up early? 22:03:05 skew? or me? 22:03:14 (i'm falling asleep.. at you are however many hours in front of me) 22:03:40 gnight 22:03:42 maybe I'm a bit strange, but I read most of that stuff as meta-procedural suggestions about how finding useful information, thinking carefully, and crafting effective messages 22:03:51 In my current rotating schedule I sleep from 10am to 5pm. 22:03:57 I put in a full workday in bed! 22:04:39 I thought the point about meta not being any different was telling. 22:04:51 Hofstadter mentions that early in GEB. 22:05:20 that's a great book 22:05:34 I wonder how much of this sort of trouble people have because they haven't read it? 22:05:57 GEB is just one source of those ideas, but it is a good source. 22:06:36 You have a good point though, people who have never been exposed to this sort of stuff can rarely discuss it. 22:07:27 GEB is good, but it's a little too all over the place. 22:07:34 This guy obviously doesn't know anything about type inferencing. 22:08:01 Some people seem to think mostly in terms of specific examples, and make a few abstractions through sheer effort 22:08:52 Some people are bad at generalizing. 22:09:03 That's what you said, right? 22:09:28 not exactly, many people are pretty good at generalizing from specifics 22:10:05 The trouble seems to be collapsing the meta-levels and thinking about abstractions in and of themselves. 22:10:08 the inexact terminology also adds fuel to the fire. 22:10:29 Oh, and I think that guy was mostly missing the point about parametric polymorphism 22:11:00 I just love it when somebody unleashes F Atanassow. 22:11:05 Yeah, it's so much fun. 22:11:08 flame on! 22:11:23 and the whole idea of *thinking* about your code... 22:12:07 skew: I tried to reason about my code today, but it's such a mess of imperative stuff that I ended up firing printf's to understand it. Embarassing. 22:27:32 --- join: foxy (~mcphail@203-79-72-84.cable.paradise.net.nz) joined #haskell 22:29:33 whew, I finished the thread. 22:30:04 tee hee 22:31:54 I have a suspicion that you have to have at least a few points on the crackpot scale to get far enough into CS to be able to even talk about all this. 22:33:17 shapr - I've heard more than one person advance the theory that FP does something to the brain. 22:33:51 Did they say what it does to the brain? 22:34:06 narcotics ? 22:34:18 I think it definitely decreased my tolerance for the sort of syntactic bullshit I dealt with for years in Java. 22:34:55 shapr - same, and PHP makes me wince. 22:35:35 well, I can tell you writing an interpreter in Python after knowing Haskell was quite an adventure 22:35:36 shapr - the context was Boost and the FC++ library. 22:35:51 I think the healthiest attitude in programming is to realize that engineers have been building bridges for thousands of years, and programmers have been building programs for ... how long? 22:36:24 I dont think number of years is an equivalent currency between the two fields. 22:36:25 I shudder to think what bridges were like in the first fifty years. (I bet the bridges shuddered too) 22:36:39 Yeah, true. 22:36:50 bridges worked, just like x86 assembly worked. 22:36:50 lots of interesting stuff has happened in bridge building the last fifty years or so too.. 22:36:53 But the essence of my point is that software engineering is in its infancy. 22:37:07 shapr - in Programming Pearls, there's an essay comparing the Golden Gate bridge to software. 22:37:17 I'll have to read that. 22:37:53 --- quit: Sonarman (Read error: 110 (Connection timed out)) 22:39:53 Gahhh - older architectures were often simpler. It's hard to have race conditions on a TRS-80. 22:41:14 dbremner: I think people are too hard on software. Why such high expectations ? I am more disappointed by how governments/justics system/economies work (or not) than by C++. In comparison, CS shines imho. 22:41:53 Yeah, governments suck. 22:42:26 I've suggested SimPolitik, an open source economy simulator where the candidates have their proposed changes and model results online. 22:42:42 And you can download the changes and run the simulation yourself. 22:42:47 I need to write a bribery plugin for that app. 22:43:26 shapr - there was a Korean system similar to that. 22:43:43 Did it work? 22:44:16 shapr - http://www.sfgate.com/cgi-bin/article.cgi?file=/news/archive/1999/09/14/international0110EDT0424.DTL 22:44:59 shapr - one of the examples in Sources of Power is a mental model of the Polish economy. It's an excellent book. 22:45:41 Gahhh: the trick is getting bribery predictions accurate enough to be useful to you, while keeping the main simulation inacurrate enough that the inefficiencies you introduce to collect bribes are lost in the noise :) 22:45:52 --- quit: foxy_ (Read error: 110 (Connection timed out)) 22:46:06 Yes, that's brilliant. 22:46:13 Thta's exactly the sort of thing I wanted to do! 22:46:27 is it? 22:46:40 sorry, the Posdaq 22:46:41 that sounds more like a futures market, which is also really cool 22:46:45 shapr - we discussed it in the International Political Econ class I was taking at a time. 22:46:50 shapr - at the time. 22:47:08 I thought you were talking about having the politicians try their hand at running a simulated economy? 22:47:47 shapr: oh, I didn't think *you* were in it for the bribes 22:47:57 I do FP for the chix man. 22:51:28 good luck with that. 22:55:42 chicks dig fp 22:55:49 and encapsulation 22:59:05 * shapr laughs 22:59:15 In my experience FP is a good way to get rid of chix. 22:59:30 "I'm tired of hearing about monads, let's talk about something else." 22:59:34 --- quit: Itkovian () 23:00:30 shapr - that reminds of this quote from k5. "Sure, you're not tracking down seg faults in your pointerless language, but that doesn't mean it works! You're just tracking down something else instead!" 23:00:30 "You know what I'm tracking down instead of seg faults? A cold beer! That's what I'm tracking down, Chester! And I'm bangin' Claudia Schiffer! Functional programming rules!" 23:00:43 dbremner: lol 23:00:57 Haskell - Cold, down, easy. 23:01:50 Gahhh - jacob on k5 has a couple diaries about programming language flamewars. http://www.kuro5hin.org/story/2001/7/7/111852/2129 23:02:09 * shapr laughs 23:04:53 Long ago I was comparing Java and Python... 23:05:14 in reality, it just means I can throw down some Zope stuff and then play more crack attack rather than wrestling with J2EE for months \n ya know, no one on #java plays crack-attack \n I think there's a not so hidden truth there. 23:06:05 I dont think there is a lot of point in comparing languages. It's a good idea to know many, tho. 23:06:41 I think there's a great point in comparing languages, as long as you compare the languages yourself, in how work for you. 23:07:03 But maybe I just said the same thing you said. 23:08:08 we can point out the differences but I don't think we can ever come to an irrefutable conclusion if one is better than the other. The individual is to choose the one appropriate for the job. 23:08:21 Oh, I agree with that. 23:08:27 Thing is, most people don't know the differences. 23:08:51 most people know very little about very few things. 23:08:57 Gahhh - I disagree with that. There are a lot of ideas that have disappeared in newer languages. 23:09:26 dbremner: newer ? I didn't say older languages were worse. 23:10:34 Gahhh - There are some features that were common in older languages but are absent in newer languages. Nonreserved keywords, for example. 23:11:32 --- join: Svrog (~Svrog@ppp1C1A.dsl.pacific.net.au) joined #haskell 23:11:33 dbremner: ok. so that makes them inferior ? 23:11:45 hi 23:11:59 hi Svrog 23:12:09 is there anyone here who has some experience with cross compiling haskell? 23:12:23 ghc to be precise 23:14:45 Gahhh - I would say that C88 > K&R. 23:16:07 dbremner: Heh. Well, I think you know what I meant. 23:18:44 --- quit: thou ("Leaving") 23:23:26 --- quit: Svrog () 23:27:41 * shapr throws lambdas 23:29:34 --- quit: aleator (Remote closed the connection) 23:30:13 * Lemmih ducks. 23:32:21 --- join: fraxtal_ (fraxtal@0-2pool156-231.nas6.savannah2.ga.us.da.qwest.net) joined #haskell 23:32:37 * dons is back, on a brand new network :) 23:32:46 you need to throw that in a try block: try { \x -> x+1 } catch ( s-expr ) { return IO (); } 23:32:52 though hardware hacking makes me feel icky 23:33:11 foxy_ says "it looks like cygwin is working" yay! 23:33:30 what is working in cygwin ? 23:33:33 @karma+ foxy 23:33:34 foxy's karma has been incremented 23:33:38 hs-plugins 23:33:40 ah 23:33:55 is there a ghc/cygwin or is it with the ghc/mingw on cygwin ? 23:34:15 don't know. 23:36:50 shapr: I now saw your post on the LtU wiki. seems like a good idea. Some of those threads have a lot of stuff written that can serve as reference. 23:39:26 I'll sign you up to the list of people willing to turn threads into documents then :-) 23:40:23 Doesn't that require me to at least understand what the threads are about ? :) 23:42:24 straight ghc with cygwin 23:43:12 dons: I don't understand the configure process. My attempt hack the configure.ac file failed 23:45:21 you where hacking it to do what? 23:45:31 the underscore problem, or something else? 23:49:02 the underscore problem and to define CYGWIN 23:49:44 you could check the output of `uname`, and use that to set the variables you wish. 23:50:11 if you then want them in config.h or config.mk, you need to add defaults to config.h.in (for example), and use AC_SUBST(FOO) in configure.ac 23:50:40 so it's a mixture of shell programming, and m4/autoconf macro hacking 23:50:45 aah, I need defaults 23:50:51 @FOO@ 23:50:52 Unknown command, try @listcommands. 23:51:01 where FOO is the variable you want to get a value for 23:51:24 it should work for the underscore variable though, right? as it's already defined in config.h? 23:52:06 no, that didn't work 23:52:35 --- join: cptchaos (~cptchaos@d131086.adsl.hansenet.de) joined #haskell 23:53:27 are you running autoconf after messing with configure.ac? 23:53:55 --- quit: fraxtal (Read error: 110 (Connection timed out)) 23:54:04 yup 23:59:59 --- log: ended haskell/05.05.06