Mailing List Archive

Subject Sender Date
LambdaConf 2015 - Discount code for group members - One of the organizers of LambdaConf contacted me to offer us a discount code for 10% off registration. You can find information about the conference at its homepage at http://www.degoesconsulting.co­m/lambdaconf-2015/ He asked that this code not be share Mike Apr 23, 2015 1:17 PM
Promotional note has gone out to CSC372 - Exactly what it sounds like: I mentioned our group to CSC372 and said we'd probably be meeting this month. Jeremiah N. Jan 20, 2015 8:02 PM
Re: [Tucson-Functional-Programmers­] Is there a Linux user group in Tucson? - I think you are looking for the TFUG . On Mon, Jan 19, 2015 at 1:47 PM, mari degrazia < Chas L. Jan 20, 2015 12:44 AM
Re: [Tucson-Functional-Programmers­] Is there a Linux user group in Tucson? - I think you are looking for the TFUG . On Mon, Jan 19, 2015 at 1:47 PM, mari degrazia < Chas L. Jan 20, 2015 12:44 AM
Re: [Tucson-Functional-Programmers­] Is there a Linux user group in Tucson? - You can try the Tucson Computer Society,  http://www.aztcs.org/ They have a monthly Linux meeting: Mari D. Jan 19, 2015 2:34 PM
Is there a Linux user group in Tucson? - Hi Friends, JMDarlackAtYahooDotCom Jan 19, 2015 2:22 PM
Re: [Tucson-Functional-Programmers­] What binds to what in Haskell? - I've never had a problem with any of these usages, but the Report is probably the most authoritative of those. -- Jeremiah On Mon, Jan 19, 2015 at 1:05 Jeremiah N. Jan 19, 2015 2:10 PM
What binds to what in Haskell? - I'm trying to be more precise in my Haskell slides for a class (CS 372 at the U). Are variables bound to values or are values bound to variables? The 2010 report uses the former but LYAH uses the latter. RWH uses both. :) Here's a sampling: LYAH: William M. Jan 19, 2015 1:05 PM
New members - So, I just realized I c Mike Oct 3, 2014 7:32 PM
Re: [Tucson-Functional-Programmers­] Python work in Tucson area - Sounds pretty great: even though I'm already employed in similar capacity I might send them a quick letter to get some details. I don't really like Python that much but I know it pretty well. Jeremiah N. Jul 30, 2014 7:33 PM
Re: [Tucson-Functional-Programmers­] Python work in Tucson area - Wow, I love Python. However, I have done some dev, and a lot of testing and JMDarlackAtYahooDotCom Jul 30, 2014 2:46 PM
Python work in Tucson area - Hi all, A local web dev group needs a Python programmer. Here is their portfolio:  http://jumpsand.com/ ... and here is the work blurb: Chris Van H. Jul 30, 2014 10:03 AM
IPFS Hiring - I have a friend working on a very  early-stage project to create a massive content-addressed distributed file system who is looking for a first hire. He has a lot of work to do over the ne Chas L. Jul 3, 2014 6:21 PM
Re: [Tucson-Functional-Programmers­] June meetup - Thanks Mike! If you (or anyone) need anything from me, feel free to reach out. On Tuesday, June 17, 2014, Mike < [address removed] > wrote: Chas L. Jun 17, 2014 1:55 PM
June meetup - With Chas and Chris out of town (congrats Chas, and good luck Chris!), Mike Jun 17, 2014 2:52 AM
Re: [Tucson-Functional-Programmers­] Haskell is Insanely Expressive - Slowly all made sense. I started with "hasAllChars" and re-derived from there to the explicit Kleisi endo composition. I see that KleisliEndo is a -> m a, and IIRC that is a coalgebra but with a stronger mona Chris Van H. Jun 12, 2014 9:04 AM
Haskell is Insanely Expressive - https://gist.github.com/cleich­ner/ffed0f7a0e39664a899c (Does anything make sense here?) Chas L. Jun 11, 2014 10:12 PM
Re: Thought you guys might have some fun with this - Oh, I misspelled that link. http://vindinium.org . Sorry about that. On Fri, May 30, 2014 at 1:32 PM, Jeremiah William Nelson Jeremiah N. May 30, 2014 1:34 PM
Thought you guys might have some fun with this - A friend of mine online introduced me to this AI contest: http://vindinum.org . Not too many people are doing it but quite a few of the folks I know have given it a shot. It's basically a MOBA played by Jeremiah N. May 30, 2014 1:32 PM
Programming with types (continuation of last night) - Hi all, We stumbled onto the topic of the power in programming at the type-level: using known program structure to fill in the contents of functions as an after-thought. I don't have a solid answer on how one might le Chris Van H. May 15, 2014 2:35 PM
Berkeley is cool! (Also, probably going to Mountain View tomorrow) - Just wanted to let everyone know I arrived safe and sound in Berkeley and had a nice afternoon with some friends from the internet. I'm probably taking the Caltrain to my uncle's some time tomorrow, after which I'll spend a few Jeremiah N. May 13, 2014 11:21 PM
Fetching student data with Wreq (sample program and talking point for Wednesday) - Hi All, Sorry for the silence but I have been busy. I had a few hours to sit down today and mess with a new Haskell library called Wreq [1]. The library is similar in functionality to Python's "requests" lib Chris Van H. May 13, 2014 7:04 PM
Re: [Tucson-Functional-Programmers­] vote for May meetup date - Moving my vote to the 21st because I'm flying out on the 13th, even though it seems pretty decided. On Thu, May 1, 2014 at 1:47 PM, Hoss < Jeremiah N. May 1, 2014 3:13 PM
Re: [Tucson-Functional-Programmers­] vote for May meetup date - : My vote is May 14th. +1 (i'm flying out to Berlin Buzzwords on the 21st) -Hoss Hoss May 1, 2014 12:08 PM
Re: [Tucson-Functional-Programmers­] BayHac '14 - I got a steal on plane tickets and jumped on it. I'll be arriving at SJC around 4pm on that Friday and taking a cab straight to Hackerdojo for Gabriel's talk. I can carpool people to Phoenix Sky Harbor on Friday t Chris Van H. May 1, 2014 12:01 AM
More updates on trip scheduling - To   Roy (Snail)   Kim (DD123) (not actually in the 'to' list because I don't know her email, but I'll relay this to her over IRC)   Chas   Chris   Ken Jeremiah N. Apr 30, 2014 12:22 PM
Re: [Tucson-Functional-Programmers­] BayHac '14 - OK, just sent out two emails so I'm a little tired, but cliffsnotes of new information - Ken can probably house me before the conference, but he won't be able to drive until after Friday. - Asked Roy f Jeremiah N. Apr 30, 2014 10:48 AM
Re: [Tucson-Functional-Programmers­] BayHac '14 - Oh, I just realized, I think I've been using "leave" inconsistently. From here on out, "leave" means "leave for Berkeley" and "return" means "return to Tucson." I'll update my docume Jeremiah N. Apr 30, 2014 1:23 AM
Re: [Tucson-Functional-Programmers­] BayHac '14 - Thanks for the speedy confirmation. My parse of your description of your housing situation was that it'd likely be possible for me to stay for a few days after Friday but probably not before. That's accurate, righ Jeremiah N. Apr 30, 2014 1:20 AM
Re: [Tucson-Functional-Programmers­] BayHac '14 - Also don't leave on the 16th because it is a bit silly to come all the way up here when something like this is going on and only go to two  talks. On Wednesday, April 30, 2014, Chas Leichner < chas@c Chas L. Apr 30, 2014 12:28 AM
Re: [Tucson-Functional-Programmers­] BayHac '14 - I live here all of the time, so I'm in town for the whole thing. If you try to drive up in one day it's pretty long, but better with multiple drivers. I was planning on leaving work promptly on Friday to make it to the pipes talk at 5 Chas L. Apr 30, 2014 12:27 AM
Re: [Tucson-Functional-Programmers­] BayHac '14 - It looks like I might be able to go. Think 75% as far as chanes go. The conference looks neat -- it's pretty near Berkeley to boot, and I'm hoping to get the chance to meet up with some friends (Kim and Roy) who go to college there Jeremiah N. Apr 30, 2014 12:20 AM
Re: [Tucson-Functional-Programmers­] vote for May meetup date - I don't know how many of us have finals but I only have a few and I'm pretty sure I'm free at about that time on the 14th. On Tue, Apr 29, 2014 at 3:09 AM, Chris Van Jeremiah N. Apr 29, 2014 9:00 AM
Re: [Tucson-Functional-Programmers­] vote for May meetup date - My summer internship plans conflict with the 21st.   My vote is then May 14th as well. On Tue, Apr 29, 2014 at 3:09 AM, Chris Van Horne < Matt G. Apr 29, 2014 7:20 AM
Re: [Tucson-Functional-Programmers­] BayHac '14 - I have a lot of floor space but basically no other amenities if people want to save money. I live about 30 minutes from mountain view in Burlingame. On Tuesday, April 29, 2014, Chris Van Horne < Chas L. Apr 29, 2014 6:54 AM
vote for May meetup date - Hi all, May is a difficult time for meetups due to vacations, internships, and finals. I'm putting up this month's date for vote: Wednesday May 14th (middle of finals week) or the following Wednesday, May 21st. Chris Van H. Apr 29, 2014 3:09 AM
BayHac '14 - Hi all, BayHac is May 16th (Friday) through May 18th in Mountain View, CA. The focus is on getting a bunch of Haskell enthusiasts together to talk and code, but there will also be a long list of presentations given by som Chris Van H. Apr 29, 2014 3:04 AM
Re: [Tucson-Functional-Programmers­] Algebraic Design - Chas, thanks for following up! This is exactly why I sought out the Tucson Functional Programming meetup, to better understand the truth of things. I'll start with the starred articles and hopefully make my way through all of them. Brandon Apr 29, 2014 1:38 AM
Re: [Tucson-Functional-Programmers­] Algebraic Design - Little more: http://cs.stackexchange.com/qu­estions/9648/what-use-are-grou­ps-monoids-and-rings-in-databa­se-computations Chas L. Apr 28, 2014 11:02 PM
Re: [Tucson-Functional-Programmers­] Algebraic Design - Also, very practical discussion of how basically every aggregation is a monoid: http://cstheory.stackexchange.­com/questions/16447/how Chas L. Apr 28, 2014 11:01 PM
Algebraic Design - I promised this a little over a month ago and then got thoroughly distracted with the new job. This is mostly a massive link dump, so I would actually send the thing out. If there is something you are confused about or wa Chas L. Apr 28, 2014 10:58 PM
Re: [Tucson-Functional-Programmers­] Sho programming language, freshman honors research - I've been living under a rock. All those things sound really cool but if I updated to 7.8.2 I would probably be too tempted to use them and that would be bad for 7.4.1 users. By the way, I just pushed a couple more ch Jeremiah N. Apr 17, 2014 1:30 PM
Re: [Tucson-Functional-Programmers­] Sho programming language, freshman honors research - Yeah, I don't expect special treatment for living at the edge. I was way too excited for this release though. Pattern synonyms, type holes, better type-level natural numbers, and way better I/O manager. What's not to like? On Chas L. Apr 17, 2014 1:28 PM
Re: [Tucson-Functional-Programmers­] Sho programming language, freshman honors research - No worries, I don't expect you to. (It still has me puzzled, though.) Right now I'm the most concerned about making sure it builds on 7.4.1, because I don't think a lot of people have actually migrated to 7.8. Jeremiah N. Apr 17, 2014 1:22 PM
Re: [Tucson-Functional-Programmers­] Sho programming language, freshman honors research - Still theoretical fix:  src/Sho/VM/Types/Accessors.hs:­67:11:     Illegal polymorphic or qualified type: Lens' VMState (Maybe Object)     Perhaps you intended to use RankNTypes or Rank2Types Chas L. Apr 17, 2014 11:14 AM
Re: [Tucson-Functional-Programmers­] GHC 7.8.2 install without haskell-platform - For what it's worth, a friend of mine is trying to install 7.8.2 on Windows and it seems simpler: it looks like Haskell.org provides windows binaries and Cabal is just a matter of downloading this:  Jeremiah N. Apr 17, 2014 10:43 AM
Re: [Tucson-Functional-Programmers­] Sho programming language, freshman honors research - GHC7.8.2 build should be fixed (untested) -- check the gitrepo. Being Haskellers, you're all theoretical computer scientists, so I figure a theoretical fix ought to be a sufficient. Jeremiah N. Apr 17, 2014 10:33 AM
Re: [Tucson-Functional-Programmers­] Sho programming language, freshman honors research - That sounds like exactly what I need, thanks. I was going to print my handouts now but my roommate is still sleeping and he gets really cranky at the slightest provocation, so I think I'll fix the build instead. Or Jeremiah N. Apr 17, 2014 10:22 AM
Re: [Tucson-Functional-Programmers­] Sho programming language, freshman honors research - You can use wildcards if they have a file suffix attached:  sholib/*.sho -- cwvh On Thu, Apr 17, 2014 at 8:28 AM, Jeremiah Nelson Chris Van H. Apr 17, 2014 9:16 AM
Re: [Tucson-Functional-Programmers­] Sho programming language, freshman honors research - Oh, thanks, that was really explicit and pretty much specifies everything I need to fix. (Well, there's a few other things I already knew about -- the missing license file, for one -- but they didn't seem to break Cabal in your case Jeremiah N. Apr 17, 2014 8:27 AM
Re: [Tucson-Functional-Programmers­] Sho programming language, freshman honors research - 7.8.2 ships with base 4.7, so something like:  base >= 4.3 && < 5 `executable' in sho.cabal is missing Rank2Types/RankNTypes in `other-extensions' which causes src/Sho/VM/Types/Accessors.hs to fail t Chris Van H. Apr 17, 2014 2:53 AM
Re: [Tucson-Functional-Programmers­] Sho programming language, freshman honors research - I haven't tested it on 7.8.2: what happens when you try? I have a feeling my cabalfile is using some unreasonable package versions but I haven't picked through it carefully. Actually, if you know anything about Cabal I'd appreci Jeremiah N. Apr 17, 2014 1:16 AM
Re: [Tucson-Functional-Programmers­] Sho programming language, freshman honors research - Note: I don't have a lot of time to look into this, but I can't seem to build sho under GHC 7.8.2 On Wed, Apr 16, 2014 at 10:04 PM, Chas Leichner < Chas L. Apr 16, 2014 10:58 PM
Re: [Tucson-Functional-Programmers­] Sho programming language, freshman honors research - This is really neat. I'm going to poke around with it. If you haven't already you can also put it in the cs facebook group:  https://www.facebook.com/group­s/211253238985724/ Chas L. Apr 16, 2014 10:04 PM
Sho programming language, freshman honors research - Just reiterating the plug I made at the meaning: Chris and William seemed pretty interested or at least willing to humor me, Mike somewhat less so. I wrote a cool programming language (still pretty unfinished) called Sho, Jeremiah N. Apr 16, 2014 10:01 PM
GHC 7.8.2 install without haskell-platform - Hi all, Recently the 7.8 versions of GHC were released and there has been some difficulty in getting it installed with the Haskell Platform. If you don't mind playing with the cutting-edge and getting your hands dirty Chris Van H. Apr 12, 2014 9:06 PM
Re: [Tucson-Functional-Programmers­] Anyone have an in with the CS faculty? (alternately, is anyone the CS faculty?) - Hey, thanks for your comments! I'm especially glad you've asked these questions because the only other person who's brought them up to me was a math guy who doesn't really like programming (he&# Jeremiah N. Apr 4, 2014 12:49 PM
Re: [Tucson-Functional-Programmers­] Anyone have an in with the CS faculty? (alternately, is anyone the CS faculty?) - I am curious why you chose a shared state over message passing. It just seems like a lot of pain--especially considering you exemplify it with a sort-of mutable scope in your examples. It appears your functions inherit scope and can modify Justin Van H. Apr 4, 2014 12:56 AM
Re: [Tucson-Functional-Programmers­] Anyone have an in with the CS faculty? (alternately, is anyone the CS faculty?) - I'll prepare a writeup later, but let me just answer some of those questions here too. (I'll probably use this message as some of the foundational material for the writeup later). Do you have a distilled, sin Jeremiah N. Apr 3, 2014 11:30 PM
Re: [Tucson-Functional-Programmers­] Anyone have an in with the CS faculty? (alternately, is anyone the CS faculty?) - Really impressive work. That is a lot of functionality done in a short timeframe. Do you have a distilled, single page write-up of what `sho' is, does, the research questions it is aimed at, and how you intend to answ Chris Van H. Apr 3, 2014 9:39 PM
Anyone have an in with the CS faculty? (alternately, is anyone the CS faculty?) - I'm in a bit of a predicament, but it could turn out to be an opportunity. Earlier this year I heard about the Honors College's first-year research program, and it sounded interesting, so I came to the Jeremiah N. Apr 3, 2014 10:31 AM
Re: [Tucson-Functional-Programmers­] The Next Meetup is About Cheating at Video Games - I meant to link to my Letterpress optimizer and the Letterpress game in the earlier email, Chas L. Mar 5, 2014 8:35 PM
The Next Meetup is About Cheating at Video Games - I have been playing Threes  quite a bit recently and would like to beat it in general. I am moving soon, so I'm not sure how much I will have done by next Wednesday, but I have some interesting ide Chas L. Mar 5, 2014 7:01 PM
Re: [Tucson-Functional-Programmers­] Spinoff from an exam problem - TL;DR: Haskell programs are execution hints, not sequentially executed lines of instructions. Looks consistent. I would never profile and draw conclusions from interpreted code. The +s call is not accurate. When I c Chris Van H. Mar 3, 2014 1:37 AM
Re: [Tucson-Functional-Programmers­] Spinoff from an exam problem - Here's the simple test that surprised me and led to my post: % cat prswap.hs prswap1 [] = [] prswap1 (a:b:xs) = b:a:prswap1 xs prswap2 [] = [] prswap2 list = reverse (take 2 list) ++ prswap2 (drop 2 list) m William M. Mar 2, 2014 9:28 PM
Re: [Tucson-Functional-Programmers­] Spinoff from an exam problem - +s in ghci is the easiest way to check these. Stepping up from there would be rtsopts profiling to get the memory+gc pressure statistics. If you want to make pretty graphs and/or really concerned with accurate cpu time readings, then the cr Chris Van H. Mar 2, 2014 7:42 PM
Re: [Tucson-Functional-Programmers­] Spinoff from an exam problem - criterion report Chas L. Mar 2, 2014 5:35 PM
Re: [Tucson-Functional-Programmers­] Spinoff from an exam problem - Technically your implementation is non-exhaustive for ranges < 4 :) With that said, I am sure Chas and Chris can comment more, but you can really easily check timing and memory usage with :set +s. You'll want to ru Justin Van H. Mar 2, 2014 4:47 PM
Spinoff from an exam problem - First, thanks for your many comments that helped through my first time teaching Haskell in CSC 372. My students benefited greatly from what I learned from you guys, especially Chas and Chris. It was my class' lucky day when I found a posted flyer for yo William M. Mar 2, 2014 3:14 PM
Types Not Tutorials -  https://www.fpcomplete.com/us­er/chowells79/types-not-tutori­als I'm not sure how I feel about this article in particular, but it is an interesting perspecti Chas L. Feb 26, 2014 8:54 PM
Re: [Tucson-Functional-Programmers­] Category theory talk - I am happy to see talks like this, as I like abstract algebra and think it is widely applicable to programming, but I feel like it went both too wide and too narrow in its scope. What follows is poorly focused musing. Chas L. Feb 13, 2014 10:50 PM
Perspective on Learning Haskell - Edward Kmett recently posted this about learning Haskell and it completely jives with my experience . I know many people in the gro Chas L. Feb 13, 2014 9:30 PM
Re: [Tucson-Functional-Programmers­] Category theory talk - I haven't had a chance to look at it yet, but have you looked over this ?  It's view of contravariant functors as an abstract &quo Chas L. Feb 11, 2014 1:13 PM
Category theory talk - I just watched this.  My brain agreed with what was being said, but I have by no means internalized what is going on.  I think its definitely worth the watch.  It touches on contravariance, which I am still struggling with.  I got the feeling that if Matt G. Feb 11, 2014 11:50 AM
Shameless Self-Promotion - I mentioned at our last meeting that I was distracted by an electronics project.  I finally got around to writing up the project if anyone is interested. Chas L. Feb 7, 2014 10:52 PM
Re: [Tucson-Functional-Programmers­] Simple program with Haskell at full power? - Chris, I really like your solutions and got behind on my email reading.The last one is pretty impressive, but it is really ugly. I'm going to take a crack at this and see if we can do better with a different data structure. I'll nee Chas L. Feb 7, 2014 10:50 PM
Re: [Tucson-Functional-Programmers­] Simple program with Haskell at full power? - Chris--nice work on this problem! What an interesting progression of solutions! William M. Feb 4, 2014 9:56 AM
Re: [Tucson-Functional-Programmers­] Simple program with Haskell at full power? - The following Haskell performs only 3% slower than the fastest C solution so far.  Chris Van H. Feb 3, 2014 11:14 PM
Re: [Tucson-Functional-Programmers­] Simple program with Haskell at full power? - I should probably note that with optimizations the C version is faster than the Haskell's version on my system, *but* your mileage may vary. This is again with the ASCII assumptions. Someone could probably comment on Justin Van H. Feb 3, 2014 8:18 AM
Re: [Tucson-Functional-Programmers­] Simple program with Haskell at full power? - I thought I would just post some food for thought glamorizing how great Haskell's text processing capabilities are in comparison to say C or C++. I consider myself a somewhat decent C++ programmer--and a pretty alrigh Justin Van H. Feb 3, 2014 7:49 AM
Re: [Tucson-Functional-Programmers­] Simple program with Haskell at full power? - That last post should have said, more accurately, "here is a structure with O(log n) access for a O(n*log n) insert disregarding the list and sort conversions." Anyways, I think this is the best I can do for tod Chris Van H. Feb 2, 2014 5:20 PM
Re: [Tucson-Functional-Programmers­] Simple program with Haskell at full power? - Here's a quick O(log n) solution. Runs 7x faster and in the default 8M stack. import qualified Data.Map as Map import Data. Chris Van H. Feb 2, 2014 3:18 PM
Re: [Tucson-Functional-Programmers­] Simple program with Haskell at full power? - I suppose we could just give a fast(er) program, but I think this is a good opportunity to showcase profiling in Haskell. Since this analysis will get really long, I've decided to break the email up. Below is just the identificatio Chris Van H. Feb 2, 2014 2:42 PM
Simple program with Haskell at full power? - One of my examples in CSC 372 is a simple character tallying program. Its output looks like this: % cal 2013 | runghc tally.hs 1082 1 164 2 156 3 55 8 36 7 36 6 36 5 36 4 36 0 36 9 35 34 u 30 S 25 T 24 e 23 r 21 ... I'd be cu William M. Feb 2, 2014 12:45 AM
Re: [Tucson-Functional-Programmers­] Question re "No instance for (X Y)" error message - The error of trying to implicit convert your 5 to a Num instance is reasonable, and the error message is correct in asking you to instantiate Num Char if you really want that conversion to happen. You should _never_ do the following, but it Chris Van H. Feb 1, 2014 7:42 PM
Question re "No instance for (X Y)" error message - I'm puzzled by this error message: > ord 5 :2:5: No instance for (Num Char) arising from the literal `5' Possible fix: add an instance declaration for (Num Char) Why does that error cite (Num Char)? It seems to be saying tha William M. Feb 1, 2014 7:21 PM
Re: [Tucson-Functional-Programmers­] A question about 'let' - Here's a belated Thanks! to Chris and Chas for those notes. Chris' mention of fromIntegral led to some especially good enlightenment! William M. Jan 26, 2014 8:04 PM
Re: [Tucson-Functional-Programmers­] A question about 'let' - Chris did a great job explaining the issues with type inference and interactive interpretation, so I won't elaborate any more, but if you are interested in demonstrating Haskell features in ghci, Chas L. Jan 24, 2014 8:01 AM
Re: [Tucson-Functional-Programmers­] A question about 'let' - When you ask for the type of '10', ghci actually lying to you in some sense. Think about it this way, if you had a Haskell program whose contents were only the integer '10', it wouldn't be a vali Chris Van H. Jan 23, 2014 3:56 PM
A question about 'let' - It was a pleasure meeting many of you last night at Gentle Ben's. My sometimes painful transition from SML to Haskell continues. I've got a question that I've had no luck with in books or on Google. If anybody could shed any light on it, that'd be gr William M. Jan 23, 2014 2:53 PM
Re: [Tucson-Functional-Programmers­] Reminder: The Great BF Bonanza with the Tucson Functional Programmers - I spent most of the break not-Haskelling (aside from occasionally writing oneliners to lord over friends working in less expressive languages) and out of communication, but I've got about 2 hours break today and I'll probably hack one out in Coffe Jeremiah N. Jan 22, 2014 8:54 AM
Reminder: The Great BF Bonanza with the Tucson Functional Programmers - Hey everyone, in case you forgot, we are meeting tomorrow at 6:30 at Gentle Ben's. The topic is brainfuck interpreters and also chilling out, so don't come if you aren't prepared to participate in one or more of those activities Chas L. Jan 21, 2014 9:43 PM
Re: [Tucson-Functional-Programmers­] Interpreter Update From CWVH - Super nice. I don't think I can any quicker in my implementation other than adding more strength reductions. I did find out for myself that using Foreign.Marshal.Array's mallocArray and allocaArray _are_ faster th Chris Van H. Jan 12, 2014 2:18 PM
Re: [Tucson-Functional-Programmers­] Interpreter Update From CWVH - I should also mention that the C compiler does correctly coalesce repeated operations (>>>> => p += 4) but I implemented that in my compiler to make it easier to implement algorithm recognition optimizations.  Chas L. Jan 10, 2014 12:58 PM
Re: [Tucson-Functional-Programmers­] Interpreter Update From CWVH - I got my code in decent shape and online. It works by converting the bf input into an intermediate representation, optimizing the intermediate representation, and th Chas L. Jan 10, 2014 12:45 PM
Re: [Tucson-Functional-Programmers­] Interpreter Update From CWVH - Before I actually started on the interpreter, I considered writing it in ES6, CoffeeScript, or some sort of 'better JavaScript', but I realized that my low-level JavaScript is generally written in the spirit of C so I kept it simple Jordan D. Jan 10, 2014 12:00 PM
Re: [Tucson-Functional-Programmers­] Interpreter Update From CWVH - Jordan: Nice to see a new face at TUFP. Look forward to checking out some typed array goodness. Any chance of throwing in some ES6 stuff? I haven' Chris Van H. Jan 10, 2014 8:54 AM
Re: [Tucson-Functional-Programmers­] Interpreter Update From CWVH - The gist, as promised. Mike Jan 9, 2014 10:21 PM
Re: [Tucson-Functional-Programmers­] Interpreter Update From CWVH - Mike, Cool. Let us know if you find anything and don't worry about the mandelbrot program, it's a completely asinine benchmark--who says it's even efficiently generated brainfuck! I& Chris Van H. Jan 9, 2014 7:15 PM
Re: [Tucson-Functional-Programmers­] Interpreter Update From CWVH - I figure can properly introduce myself at the meetup, but for now... hi, I'm Jordan! I did a bunch of work on my interpreter a few weeks ago and haven't really touched it since, but this discussion has been a good reminder to keep a Jordan D. Jan 9, 2014 6:57 PM

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy