Live data from Hacker News

Running a startup on Haskell

bos.github.com

61–70 of 76 posts

Re: Running a startup on Haskell

#61
post #39

For background, Bryan gave this talk at the excellent Strange Loop 2011 conference ( https://thestrangeloop.com/ ). Abstract: https://thestrangeloop.com/sessions/running-a-startup-on-has... He also gave a workshop on Sunday (which I unfortunately was not able to attend): https://thestrangeloop.com/sessions/haskell-functional-progr...

For a different type of background, Bryan O'Sullivan is the author of some of the best Haskell libraries out there. The de facto standard JSON parser/serializer is his doing, for example, and his Riak client is the best I've seen in any language. This guy really knows what he's talking about.

I'm very impressed with the amount and quality of libraries they have released on Github [1].

Going to use the following in my "webmachine in Haskell" project.

  - aeson: Fast json library [2]
  - pronk: load test webservers [3]
[1]: https://github.com/mailrank/ [2]: https://github.com/mailrank/aeson [3]: https://github.com/mailrank/pronk

Re: Running a startup on Haskell

#62
post #9

I must hunt down and learn to use a QuickCheck-like library for my language. If I can't find one, I should write one. So what's the (best) equivalent of QuickCheck in Ruby? In other languages?

There's qc [1] for Javascript.

[1] http://willowbend.cx/2009/12/05/qc-js-quickcheck-javascript/

Re: Running a startup on Haskell

#63
post #12

It is pretty disappointing that they decided to go with c# for the local client. This pretty much guarantees that it will not work on Linux.

Not really, as long as they don't use Windows API directly and rely on .NET Framework they should be able to run it on MONO.

Mono's not an acronym, as far as I know.

Re: Running a startup on Haskell

#64

Earlier quoted context omitted.

See Mono.

See: actual Mono apps. I only have a handful of experiences with GUI-intensive C# apps on Mac and Linux. They were all flat-out bad, though.

(Banshee was mentioned already)

Tomboy

F-Spot

Gnome-Do(?)

Re: Running a startup on Haskell

#65

Can anyone comment on the claim "QuickCheck is shockingly more effective at finding bugs than unit tests"? I'd be interested in hearing other opinions.

It's worth noting that QuickCheck is used with functional code only. For non-functional code with side effects (e.g. database transactions), Haskell has unit test frameworks that are not too different from unit testing frameworks in other languages.

What distingishes QuickCheck from regular unit testing is that you give it a function to test, some invariants that must hold and an input generator. Some of this is automated with compiler magic (where possible) to make simple tests really simple to write. QuickCheck will then grind through a bunch of random inputs and see if the invariants hold, finally showing you the failed cases.

Re: Running a startup on Haskell

#66
post #9

I must hunt down and learn to use a QuickCheck-like library for my language. If I can't find one, I should write one. So what's the (best) equivalent of QuickCheck in Ruby? In other languages?

For C# I in fact thought of what is in the above quote and wrote my own: https://github.com/ane/DotCheck

It's not yet very advanced (sometimes the library is a bit messy), but it provides the basic QuickCheck functionality.

Re: Running a startup on Haskell

#67
post #54

Earlier quoted context omitted.

Did you know that that was a slideshow? You're seeing the title page, click on it to advance to the next page. repeat.

Except that, depending on your browser, it is impossible to navigate to the second slide. In opera mini, the slide itself is not clickable, there are no arrows visible, arrow keys are not available, and the "contents?" link points to a trunkated list starting at slide 15. I'd really like to read the presentation, but it is completely inaccessible.

[deleted]

Re: Running a startup on Haskell

#69
post #9

I must hunt down and learn to use a QuickCheck-like library for my language. If I can't find one, I should write one. So what's the (best) equivalent of QuickCheck in Ruby? In other languages?

For Perl it's a module called Test::LectroTest

* https://metacpan.org/module/Test::LectroTest

* http://community.moertel.com/ss/space/LectroTest

Re: Running a startup on Haskell

#70
post #54

Earlier quoted context omitted.

Did you know that that was a slideshow? You're seeing the title page, click on it to advance to the next page. repeat.

Except that, depending on your browser, it is impossible to navigate to the second slide. In opera mini, the slide itself is not clickable, there are no arrows visible, arrow keys are not available, and the "contents?" link points to a trunkated list starting at slide 15. I'd really like to read the presentation, but it is completely inaccessible.

http://www.opera.com/support/bugs/
Post reply on HN