Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Arian van Putten
    @arianvp
    Yo! :) See you settled on something else than Matrix in the end?
    Michael Snoyman
    @snoyberg
    Yeah, I still like Matrix in principle, but the lag issues were pretty extreme. We test drove Gitter for the Stackage Curator team, and everyone seemed pretty happy
    Arian van Putten
    @arianvp
    Yeh it's not quite there yet. But I have high hopes. Especially with the French Government investing now
    Michael Snoyman
    @snoyberg
    Hey everyone, I kinda just made this room the official hub for tomorrow's Hackathon 😃 https://twitter.com/snoyberg/status/1004150943414276096?s=19
    Thai
    @Thai11353119_twitter
    Hello! I'm a second year university student studying computer science. During my first year, only Haskell was taught in all my computer science classes. I'm love Haskell and am excited to continue to learn the language. I believe the only computer science teacher I've had is going to continue to teach all course material with Haskell for as long as he is employed. He's actually a mathematician, which is pretty cool.
    Thai
    @Thai11353119_twitter
    Can someone please share some info about the hackathon tomorrow. I understand it will be at Boulder, but I don't know what times.
    Michael Snoyman
    @snoyberg
    @Thai11353119_twitter it'll be at the wolf law building starting at 9am
    Thomas D
    @tthomasdd_twitter
    @snoyberg I'll be there between 9 and 9:30!
    Michael Snoyman
    @snoyberg
    👍
    Michael Snoyman
    @snoyberg
    For those in the hackathon, the issues I opened for today: https://github.com/snoyberg/haskell-hackathon/issues
    Anyone joining in remotely?
    Casey Allred
    @sbditto85
    I hope to participate a little ... my family is keeping me fairly busy though :)
    Casey Allred
    @sbditto85
    @snoyberg in Firefox there is an option to add a search engine when you are searching then you can search directly from Firefox search bar. I was wondering how hard it would be to add one for each LTS when you are on that page. Does that make sense? Right now it only allows you to add one to search the current LTS I believe
    Michael Snoyman
    @snoyberg
    I think it should be doable, I don't know what the markup would look like though. Do you know that offhand @sbditto85?
    Casey Allred
    @sbditto85
    I believe it’s similar to what is already there just changing the url to match the specific LTS version
    I’ll see if I can figure it out
    Michael Snoyman
    @snoyberg
    commercialhaskell/stack#3663
    Michael Snoyman
    @snoyberg
    @DanBurton You're the hero that Stack deserves commercialhaskell/stack#3922
    Dan Burton
    @DanBurton
    @snoyberg are there any docs about the 3-tiered package database thing that stack does?
    Attila Domokos
    @adomokos
    @snoyberg - can you please include that architecture doc here?
    Jens Petersen
    @juhp
    Shall we add a link to the Stackage blog from stackage.org?
    Mihai Maruseac
    @mihaimaruseac
    I'd say so
    Jens Petersen
    @juhp
    Done :)
    Michael Snoyman
    @snoyberg
    :fireworks:
    Pawel Szulc
    @rabbitonweb
    hi, quick question, how can i run the whole suite of Stack’s integration tests?
    Pawel Szulc
    @rabbitonweb
    no implementation yet but at least integration test added commercialhaskell/stack#4136 :)
    Pawel Szulc
    @rabbitonweb
    @snoyberg is there document for stack contributors
    so i dont have to ask simple questions like "how can i run the whole suite of Stack’s integration tests?”
    Pawel Szulc
    @rabbitonweb
    Pawel Szulc
    @rabbitonweb
    @mihaimaruseac are intergation tests fired after PR is merged (on Stack project)?
    Michael Snoyman
    @snoyberg
    No, they're too expensive for Travis to run, we have them running on a totally different server with unfortunately no Github integration
    Actually, I think we only run them nightly, again due to the high runtime cost
    Pawel Szulc
    @rabbitonweb
    we could potentially run them on gitlab
    there is a way to create a gitlab pipeline which has strongers servers for CI and run them periodically
    Mihai Maruseac
    @mihaimaruseac
    oh, that makes sense now; I made a PR a while ago and all tests passed and now I see I actually broke one integration test
    Ghost
    @ghost~5bd37f73d73408ce4face830
    Hi, was hoping I could do a quick check if anyone knows: Is everything from The Haskell Book (http://haskellbook.com/) still current? Like syntax and so forth. Any errata?
    Chris Allen
    @bitemyapp
    It's pretty up to datw
    date*
    There are only minor things like slightly different type signatures. I'm doing a pass of the book to harmonize it with GHC 8.4.3 right now.
    Saurabh Nanda
    @saurabhnanda
    Last message
    Last messge sent 2 months ago. Wow!
    Mihai Maruseac
    @mihaimaruseac
    But we're still here
    Heligo
    @AlterAc64
    Greetings, ladies&gents. Anyone worked with Ajax on a warp-server once?
    Lyle Kopnicky
    @lylek

    Hi @snoyberg (or anyone else who might have input), I have a question about using RIO. I have an application that first needs to load some config files and do some transformation of them. I'd like to store the config file data in the RIO environment (App), but that means I can't populate the App and call runRIO until I've collected that config data.

    Unfortunately that means that if I encounter errors in the config file data, I can't call logError, etc., since I'm not yet in the RIO monad. This seems like a sort of chicken-and-egg problem.

    Is the appropriate solution to bootstrap by using App types and separate phases of runRIO? E.g, create a Bootstrap datatype for the phase where it's loading the config files. It would already be set up with a logger and process context. Once that is done and has loaded the config data, that call to runRIO would return a Config structure. Then I'd have an App type which included everything from Bootstrap plus the Config data, and I'd do a second call to runRIO.

    Only thing is, it seems like a bit of redundant boilerplate to have to create two similar data types, Bootstrap and App, where App just has one additional field.

    Is there a more canonical way of handling this?

    Michael Snoyman
    @snoyberg
    That's the right directional way of doing this, and very close to what we do in Stack. If all you need is process execution and logging, you can use the built in SimpleApp.
    Lyle Kopnicky
    @lylek
    SimpleApp would probably work at that point, thanks.
    It also occurred to me that I could put the Config data in an MVar and just not initialize it until I have something to put in it. But if I accidentally wrote code in the bootstrap phase that tried to read the MVar, it would just hang. Sort of the MVar version of having a Maybe and assuming that it's a Just.