<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod">
    <title>gmane.comp.lang.haskell.yesod</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5359"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5358"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5357"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5356"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5355"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5354"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5353"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5352"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5351"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5350"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5349"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5348"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5347"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5346"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5345"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5344"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5343"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5342"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5341"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5340"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5359">
    <title>cookbook using HashDB and v1.2?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5359</link>
    <description>&lt;pre&gt;Hi,

I'm trying to follow this example (
https://github.com/yesodweb/yesod/wiki/Using-HashDB-In-a-Scaffolded-Site) with 
Yesod 1.2.

I'm getting this error:

Model.hs:8:1: Warning:
    The import of `Data.Typeable' is redundant
      except perhaps to import instances from `Data.Typeable'
    To import instances alone, use: import Data.Typeable()

Foundation.hs:131:10:
    No instance for (Data.Typeable.Internal.Typeable User)
      arising from a use of `Yesod.Auth.$gdmmaybeAuthId'
    Possible fix:
      add an instance declaration for
      (Data.Typeable.Internal.Typeable User)
    In the expression: (Yesod.Auth.$gdmmaybeAuthId)
    In an equation for `maybeAuthId':
        maybeAuthId = (Yesod.Auth.$gdmmaybeAuthId)
    In the instance declaration for `YesodAuth App'


Is this cookbook recipe still up-to-date? Does anyone how to solve?

Thanks in advance,
david

&lt;/pre&gt;</description>
    <dc:creator>davidbe</dc:creator>
    <dc:date>2013-05-19T11:23:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5358">
    <title>question about threads</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5358</link>
    <description>&lt;pre&gt;this is probably a silly question, but i wonder: if i'm using 
System.Process's waitForProcess, which is blocking, how does it interact 
with Yesod (using warp)?  importantly, it doesn't block a separate user's 
from connecting to the server does it?  

so basically i'm asking because i'm debugging a "thread killed" bug and i 
see a message like this:

[Error#yesod-core] thread killed &amp;lt; at &amp;gt;(yesod-core-1.1.8.3:Yesod.Internal.Core 
./Yesod/Internal/Core.hs:550:5)

i'm suspecting i'm just running a lot of waitForProcess in that route 
(upload file, and lots of command line processing of file) in my Yesod code 
and i'm not quite handling them right.

thanks!

&lt;/pre&gt;</description>
    <dc:creator>Victor Chou</dc:creator>
    <dc:date>2013-05-19T09:35:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5357">
    <title>Re: Tables in Database</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5357</link>
    <description>&lt;pre&gt;What you're probably looking for is the list of EntityDefs[1]. This is
what's generated by the persistFileWith call in the scaffolding. You can
add mkSave[2] to the share call in Model.hs[3] to save this value to a
normal Haskell variable, or could write a custom TH function to do
something with those values at compile time.

[1]
http://haddocks.fpcomplete.com/fp/7.4.2/20130508-82/persistent/Database-Persist-Types.html#t:EntityDef
[2]
http://haddocks.fpcomplete.com/fp/7.4.2/20130508-82/persistent-template/Database-Persist-TH.html#v:mkSave
[3] https://github.com/yesodweb/yesod-scaffold/blob/postgres/Model.hs#L13


On Fri, May 17, 2013 at 10:36 PM, Mark Baran &amp;lt;mebaran-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Michael Snoyman</dc:creator>
    <dc:date>2013-05-19T07:22:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5356">
    <title>Re: Yesod Fixtures / Loading Records into DB during Development and Testing</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5356</link>
    <description>&lt;pre&gt;You can use normal Persistent operations, include deleteWhere and insert.
There's currently no such thing as a "wipe the database" command, though
theoretically it could be generated via TH.


On Fri, May 17, 2013 at 4:21 AM, Mark Baran &amp;lt;mebaran-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Michael Snoyman</dc:creator>
    <dc:date>2013-05-19T06:46:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5355">
    <title>my Installation Experience for Yesod 1.2 FWIW</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5355</link>
    <description>&lt;pre&gt;Had a little trouble doing the upgrade at first until I realized I was 
upgrading from an older version of the scaffold than many others.

I don't have an error free build yet but I do have a compiling and running 
one!
https://docs.google.com/file/d/0B-FuAUZZOHk6SlpIM1hfMlBpbVE/edit?usp=sharing

That is my diffs file for the changes I had to make... It seems like a few 
of them hadn't been touched on yet so might be helpful but maybe not.

For stuff that is definitely helpful,

https://github.com/yesodweb/yesod/wiki/1.2-upgrade

Was awesome...

I think the changes seem really good.  You can just look at the types and 
know what is going now.  Very cool, I hope more people pick up yesod.

Anyway I just wanted to say great job to all the ppl involved in the 
rewrite!

&lt;/pre&gt;</description>
    <dc:creator>Scott Murphy</dc:creator>
    <dc:date>2013-05-18T00:21:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5354">
    <title>Re: thread killed error during upload and transfer to db</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5354</link>
    <description>&lt;pre&gt;Michael,
  at any rate I'm going to abandon investigation of this issue for now 
because when I made the effort to do things in a better way (loading 
everything first into a staging table)
i get some efficiency improvements. That being said, we (i.e. the yesod 
community) really need to have a conduit sink that loads CSV lines
into tables. Ideally we'll be able to connect this sink to a conduit that 
emits text data. For postgresql back ends, underlying this operation should
be the COPY command 

COPY tablename [ ( column [, ...] ) ]
    FROM STDIN....
If this was implemented, my 10 second upload (using multiple inserts)
could be turned into a 1 second upload so
I consider this to be a big ommission in the existing toolset.

THanks,
   Mike W.


On Thursday, May 16, 2013 9:17:27 AM UTC-4, Michael Snoyman wrote:

&lt;/pre&gt;</description>
    <dc:creator>Michael Walton</dc:creator>
    <dc:date>2013-05-17T21:41:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5353">
    <title>Tables in Database</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5353</link>
    <description>&lt;pre&gt;Hey all,

Is there anyway to ask Persistent for the names of the tables in the 
current Persistent schema?  It must generate it for the migration work on 
first run: how would a user access it?

Thanks,
Mark

&lt;/pre&gt;</description>
    <dc:creator>Mark Baran</dc:creator>
    <dc:date>2013-05-17T19:36:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5352">
    <title>Re: respondSourceDB as JSON object</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5352</link>
    <description>&lt;pre&gt;There's currently no streaming JSON library (at least that I know of). It's
something I considered adding for Yesod 1.2, but didn't get around to. The
basic idea would be to have an interface similar to how streaming XML
responses, but sending events. A good candidate for building on top of
would be json-types[1], though intergration with aeson would be very nice.

If anyone's interested in pursuing this, I'd be happy to discuss and take
part in the code. I just haven't had the need to do it immediately.

[1]
http://hackage.haskell.org/packages/archive/json-types/0.1/doc/html/Data-JSON-Types.html#t:Event


On Fri, May 17, 2013 at 11:53 AM, Tero Laitinen &amp;lt;tolaiti2-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Michael Snoyman</dc:creator>
    <dc:date>2013-05-17T09:35:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5351">
    <title>respondSourceDB as JSON object</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5351</link>
    <description>&lt;pre&gt;The handler in streaming-db demo streams entities from database as a 
response: 

getHomeR :: Handler TypedContent
getHomeR = do
    runDB $ do
        runMigration migrateAll
        deleteWhere ([] :: [Filter Person])
        insert_ $ Person "Charlie"
        insert_ $ Person "Alice"
        insert_ $ Person "Bob"
    respondSourceDB typePlain $ selectSource [] [Asc PersonName] $= 
awaitForever toBuilder
  where
    toBuilder (Entity _ (Person name)) = do
        sendChunkText name
        sendChunkText "\n"
        sendFlush

How could I wrap the response into a JSON object?

Basically, it would be enough to add a header text '{ result=[' and a 
footer text ']}', but I didn't figure out how to do this with conduits.

Tero

&lt;/pre&gt;</description>
    <dc:creator>Tero Laitinen</dc:creator>
    <dc:date>2013-05-17T08:53:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5350">
    <title>Re: yesod-platform-1.2.0.1 installation, executables missing</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5350</link>
    <description>&lt;pre&gt;Thanks Kirill I forget about this novation :)
On May 17, 2013 12:53 AM, "Kirill Zaborsky" &amp;lt;qrilka-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Anton Cheshkov</dc:creator>
    <dc:date>2013-05-17T05:09:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5349">
    <title>Re: Re: Running multiple sites with yesod devel</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5349</link>
    <description>&lt;pre&gt;Yes, it's been included since December.


On Thu, May 16, 2013 at 11:49 PM, Robert Lee &amp;lt;robert.lee-Qr0l8DEfScYPYW11nqE3sg&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Michael Snoyman</dc:creator>
    <dc:date>2013-05-17T04:22:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5348">
    <title>Yesod Fixtures / Loading Records into DB during Development and Testing</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5348</link>
    <description>&lt;pre&gt;Hey all,

I'd like to have a set of records that are automatically loaded into the 
database into dev or test databases, clearing out any existing records in 
the process.  What's the best way to accomplish this in the Yesod ecosystem?

Thanks in advance!
Mark

&lt;/pre&gt;</description>
    <dc:creator>Mark Baran</dc:creator>
    <dc:date>2013-05-17T01:21:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5347">
    <title>Re: css content type selection</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5347</link>
    <description>&lt;pre&gt;I got it, I have a second runDB and had the wrong type for it.  Plus I 
think I needed another derive Typeable on a model though I am not sure on 
that one since I don't really understand derive typeable yet

On Thursday, May 16, 2013 1:01:17 PM UTC-5, Michael Snoyman wrote:

&lt;/pre&gt;</description>
    <dc:creator>Scott Murphy</dc:creator>
    <dc:date>2013-05-16T23:56:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5346">
    <title>Re: Yesod Events - Messaging</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5346</link>
    <description>&lt;pre&gt;There is a yesod-eventsource package, a wai-websockets package, and an
incomplete wai-sockjs project.

A package was just released for logging changes to persistent: you could
probably modify it to run callbacks.
http://devblog.soostone.com/posts/2013-05-10-snaplet-actionlog.html


On Mon, May 13, 2013 at 11:58 PM, Michael Snoyman &amp;lt;michael-cq0OxgmGHj5BDgjK7y7TUQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt;wrote:


&lt;/pre&gt;</description>
    <dc:creator>Greg Weber</dc:creator>
    <dc:date>2013-05-16T21:36:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5345">
    <title>Re: Re: Running multiple sites with yesod devel</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5345</link>
    <description>&lt;pre&gt;Is this working on 1.2? I am having the same problem with the latest 
scaffolding. "Hard coded" in the land of framework  flexibility seems very 
out of place.

On Wednesday, December 12, 2012 1:43:45 AM UTC-6, Michael Snoyman wrote:

&lt;/pre&gt;</description>
    <dc:creator>Robert Lee</dc:creator>
    <dc:date>2013-05-16T20:49:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5344">
    <title>Re: yesod-platform-1.2.0.1 installation, executables missing</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5344</link>
    <description>&lt;pre&gt;Use http://hackage.haskell.org/package/yesod-bin to get executables

Kind regards,
Kirill Zaborsky


2013/5/16 Anton Cheshkov &amp;lt;acheshkov-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;


&lt;/pre&gt;</description>
    <dc:creator>Kirill Zaborsky</dc:creator>
    <dc:date>2013-05-16T18:53:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5343">
    <title>yesod-platform-1.2.0.1 installation, executables missing</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5343</link>
    <description>&lt;pre&gt;Hello,

i have reinstall yesod-platfrom  version 1.2 to version 1.2.0.1

The problem that executables "yesod"  and others disappear from
~/.cabal/bin folder.

what does happen ?

i have ghc-7.6.2 and Ubuntu 13.04

&lt;/pre&gt;</description>
    <dc:creator>Anton Cheshkov</dc:creator>
    <dc:date>2013-05-16T18:32:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5342">
    <title>Re: css content type selection</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5342</link>
    <description>&lt;pre&gt;There shouldn't be very much database access code to change. What kinds of
error messages are you getting?

To fix the wai-app-static version, you can compile with:

    cabal install --constraint "wai-app-static == 1.3.1.3"


On Thu, May 16, 2013 at 7:34 PM, Scott Murphy &amp;lt;scottmurphy09-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;wrote:


&lt;/pre&gt;</description>
    <dc:creator>Michael Snoyman</dc:creator>
    <dc:date>2013-05-16T18:01:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5341">
    <title>Re: addStyleSheetAttrs</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5341</link>
    <description>&lt;pre&gt;It's inherently incompatible. combineStylesheets produces a single &amp;lt;link&amp;gt;
tag, so there's no way to have different sets of attributes. In the
specific case of media queries, you can always use &amp;lt; at &amp;gt;media inside the CSS.


On Thu, May 16, 2013 at 7:55 PM, Scott Murphy &amp;lt;scottmurphy09-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;wrote:


&lt;/pre&gt;</description>
    <dc:creator>Michael Snoyman</dc:creator>
    <dc:date>2013-05-16T17:55:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5340">
    <title>addStyleSheetAttrs</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5340</link>
    <description>&lt;pre&gt;So the heck with it, I am still going to try and upgrade my site.  

One of the things I ran into last time was the :$(combineStylesheets... 

What do you do if you were using addStyleSheetAttrs?  

&lt;/pre&gt;</description>
    <dc:creator>Scott Murphy</dc:creator>
    <dc:date>2013-05-16T16:55:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5339">
    <title>Re: css content type selection</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.haskell.yesod/5339</link>
    <description>&lt;pre&gt;It seems like to switch from 1.1.9.3 to 1.2 I have to do a whole hell of a 
lot of re-writing of my database access code.  
I don't know why cabal didn't break when I installed on my yesod 1.2 
system.  Because the .cabal file showed a &amp;lt; 1.2 requirement on yesod

wai-app-static is a sub dependency of yesod static?  What is the proper way 
to switch out something that is a sub dependency (in my scaffolded site 
there is no explicit reference to it)

Glad to see the website back up... I started trying to rewrite my code for 
1.2 yesterday but didn't even have the site there to help me!  I'll give it 
another try sometime soon.  

On Thursday, May 16, 2013 5:42:51 AM UTC-5, Michael Snoyman wrote:

&lt;/pre&gt;</description>
    <dc:creator>Scott Murphy</dc:creator>
    <dc:date>2013-05-16T16:34:17</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lang.haskell.yesod">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.haskell.yesod</link>
  </textinput>
</rdf:RDF>
