workspace
stringclasses 4
values | channel
stringclasses 4
values | text
stringlengths 1
3.93k
| ts
stringlengths 26
26
| user
stringlengths 2
11
|
---|---|---|---|---|
elmlang | general | I could probably live with it though, if I heard something anything about if this is actually in the pipeline to be fixed or not? | 2019-01-09T17:00:37.895600 | Jenice |
elmlang | general | I understand the reasoning for not talking too publicly about new features or releases but this is a bug with the existing release and it is causing a lot of people problems, and those are just the ones that come on the slack here and report it. For a language which is so wonderfully friendly to new users, being confronted with an unsolvable Haskell error seems like a real shame to me | 2019-01-09T17:03:19.898500 | Jenice |
elmlang | general | I'm curious, how are you building Elm? Like are you using webpack, parcel, create-elm-app, or just vanilla elm tool chain? | 2019-01-09T17:08:56.898700 | Teddy |
elmlang | general | Ejected `create-elm-app` | 2019-01-09T17:09:13.898900 | Jenice |
elmlang | general | So its webpack basically | 2019-01-09T17:09:24.899100 | Jenice |
elmlang | general | hrmm, interesting, okay well that ruins my theory.
We do all our work in non-ejected `create-elm-app` and thought maybe that had something to do with it, but I don't think the ejection is causing it.
I do hope this gets patched soon. | 2019-01-09T17:11:16.899300 | Teddy |
elmlang | general | Me too | 2019-01-09T17:22:07.899700 | Jenice |
elmlang | general | what does ‘ejected’ mean? | 2019-01-09T17:58:29.904100 | Shelli |
elmlang | general | Im baffled that we don’t have a moderation team | 2019-01-09T18:23:17.944700 | Danika |
elmlang | general | we do. I'm here. | 2019-01-09T18:24:08.946000 | Georgene |
elmlang | general | deletin' stuff | 2019-01-09T18:24:14.946400 | Georgene |
elmlang | general | thank you | 2019-01-09T18:24:37.947100 | Jolanda |
elmlang | general | :+1: | 2019-01-09T18:24:45.947300 | Jenice |
elmlang | general | So when you use create-elm-app you can 'eject' into the webpack configuration it uses: <https://github.com/halfzebra/create-elm-app/blob/master/README.md#want-a-custom-setup> | 2019-01-09T18:25:46.948700 | Jenice |
elmlang | general | Actually more baffled there’s no native slack way to mention admins unless you know who they are | 2019-01-09T18:27:38.952900 | Danika |
elmlang | general | Thank you <@Georgene> | 2019-01-09T18:27:48.953500 | Danika |
elmlang | general | it's really not meant for communities like this. | 2019-01-09T18:28:05.954100 | Georgene |
elmlang | general | FYI: <@Deja> is basically write-only. If you need help with something, it's better to ask in <#C3FKL0A8H|admin-help>. | 2019-01-09T18:28:20.954500 | Georgene |
elmlang | general | we'll definitely have to revisit that after today though. | 2019-01-09T18:28:31.954800 | Georgene |
elmlang | general | Could be good to make <@Deja> mentions get forwarded to all admins or something? Via email | 2019-01-09T18:29:08.957100 | Evita |
elmlang | general | perhaps this list of admins should be updated? <https://github.com/elm-community/slack#admins> | 2019-01-09T18:29:10.957200 | Reva |
elmlang | general | I did post in <#C3FKL0A8H|admin-help> to be fair ^^ | 2019-01-09T18:29:39.959000 | Danika |
elmlang | general | and that's why I saw it. Thanks. | 2019-01-09T18:31:04.961600 | Georgene |
elmlang | general | right-o then. That's cleanup done, more-or-less. | 2019-01-09T18:31:22.962000 | Georgene |
elmlang | general | Aye so someone mentioned a haskell bug... | 2019-01-09T18:32:02.963500 | Danika |
elmlang | general | Thanks, Brian. Is there a way to disable the ability to use @-channel/@-everyone in this channel? | 2019-01-09T18:32:03.963600 | Rosanne |
elmlang | general | You can probably personally disable channel mentions for yourself | 2019-01-09T18:32:21.964400 | Danika |
elmlang | general | ok, so transparency note time:
- some sockpuppets signed up and spammed a bunch of offensive stuff
- a couple people mentioned them in <#C3FKL0A8H|admin-help>, which was the place we look
- I deactivated their accounts and removed the messages
in the future, <#C3FKL0A8H|admin-help> is the place to go. | 2019-01-09T18:32:51.965100 | Georgene |
elmlang | general | True, but that won't stop the trolling since most people still have notifications on by default | 2019-01-09T18:33:05.965500 | Rosanne |
elmlang | general | You can’t disable channel mentions. At least not for general | 2019-01-09T18:33:07.965600 | Siu |
elmlang | general | I'm really curious about this, because I didn't get the @'s in this channel, and that setting is turned off in this Slack. | 2019-01-09T18:33:09.965700 | Georgene |
elmlang | general | yeah, the admins are gonna have to get together and figure out a plan. Sorry for the noise, folks. | 2019-01-09T18:33:42.966900 | Georgene |
elmlang | general | Thanks for the transparency Brian | 2019-01-09T18:34:12.967700 | Danika |
elmlang | general | The troll was editing out their use of @-..., for one thing. I saw both an @-channel notification and an @-everyone | 2019-01-09T18:34:48.968100 | Rosanne |
elmlang | general | Slack is an awkward one for public communities when it comes to situations like this; it’s not really built for it, but its also a tool lots of us are already using professionally or elsewhere. | 2019-01-09T18:35:59.969700 | Danika |
elmlang | general | I think there may be some Slack bug which allows this. | 2019-01-09T18:36:07.969800 | Georgene |
elmlang | general | noted, thanx | 2019-01-09T18:37:22.970000 | Shelli |
elmlang | general | Hi everyone. New Elmer here. I posted a question in Beginner channel along with a brief intro. Simply put..I cannot find elm-make on my system. any ideas? | 2019-01-09T18:42:43.971900 | Royal |
elmlang | general | it is `elm make` in the newest version of the language | 2019-01-09T18:43:12.972500 | Danika |
elmlang | general | ahhhh | 2019-01-09T18:43:19.972800 | Royal |
elmlang | general | Confusing I know | 2019-01-09T18:43:21.972900 | Danika |
elmlang | general | thanks | 2019-01-09T18:43:31.973500 | Royal |
elmlang | general | elm-<command> is 0.18, 0.19 is the latest version | 2019-01-09T18:43:37.973900 | Danika |
elmlang | general | hey everyone, if more problems come up in any of the channels for the rest of the day feel free to ping me directly in addition to posting in <#C3FKL0A8H|admin-help>. slack isn't really designed for big, open communities so it's hard to prevent stuff like this from happening but we can definitely clear stuff out and ban accounts as quickly as possible | 2019-01-09T18:46:15.978300 | Lashawnda |
elmlang | general | well it was worth it if I now have a source of guidance on my journey. I'm attempting to build my business website and I've chosen elm over the usual route. The reasoning, I'm learning Racket in HTDP, and didn't want to muddy the waters by learning JS. | 2019-01-09T18:46:40.978600 | Royal |
elmlang | general | also, it turns out that one of the accounts involved was impersonating a real user in this slack so if you saw the exchange and recognize their picture or name take a second to assess before responding | 2019-01-09T19:15:56.980500 | Lashawnda |
elmlang | general | if i have updates i'll post them in <#C3FKL0A8H|admin-help>. i'm about to share some more info right now | 2019-01-09T19:48:00.984400 | Lashawnda |
elmlang | general | <@Lashawnda> set the channel purpose: This channel is for team-wide communication and announcements. All team members are in this channel.
Our Code of Conduct is found at <https://github.com/elm-hub/assets/blob/master/slack-code-of-conduct.md> | 2019-01-09T20:07:21.984800 | Lashawnda |
elmlang | general | <@Lashawnda> set the channel purpose: Code of Conduct: <https://github.com/elm-hub/assets/blob/master/slack-code-of-conduct.md>
Get help with Slack or notify admins of issues in <#C3FKL0A8H|admin-help> | 2019-01-09T20:08:00.984900 | Lashawnda |
elmlang | general | hi, i have been reading this issue about private repos, | 2019-01-09T20:37:15.985300 | Leopoldo |
elmlang | general | but i m still stack in a middle | 2019-01-09T20:37:21.985500 | Leopoldo |
elmlang | general | is it possible to slight modify existing installed packages? | 2019-01-09T20:37:42.986000 | Leopoldo |
elmlang | general | Has anyone used this? Does it work very well? <https://github.com/gicentre/prettier-plugin-elm> | 2019-01-09T22:58:15.987000 | Telma |
elmlang | general | I use it. Works for me | 2019-01-09T23:11:47.987400 | Rosalee |
elmlang | general | cool. the stress of having to format elm on top of all the other learning has been a roadblock for me before | 2019-01-09T23:27:39.987900 | Telma |
elmlang | general | Is there a way to send a `Result` over a port, from JS back to Elm? | 2019-01-09T23:33:12.988300 | Bernardo |
elmlang | general | I have a bit of JS which can fail in exciting ways, and I'd like to either `send(Ok, ())` or `send(Err, someErrorMessage);` | 2019-01-09T23:35:12.989700 | Bernardo |
elmlang | general | <@Bernardo> Encode it into a `Value` and send that through | 2019-01-10T00:05:29.990200 | Earnest |
elmlang | general | <@Earnest> ah, so time to learn about `Value` then :joy: | 2019-01-10T00:06:28.990700 | Bernardo |
elmlang | general | <https://package.elm-lang.org/packages/elm/json/latest/Json-Encode> | 2019-01-10T00:07:20.991200 | Earnest |
elmlang | general | I'm not entirely sure what :thanks: is :thinking_face: :smile: | 2019-01-10T00:08:29.992800 | Bernardo |
elmlang | general | A brain in a shirt that's too small, that skips leg day, & has snakes for arms? | 2019-01-10T00:10:10.993400 | Earnest |
elmlang | general | hey folks, another thing that is quite interesting thing.
recently we've got request to improve performance of the views and I am trying to hard to come up with the model that would allow to me safely implement new approach. Let's maybe start off with requirements. There are 2 distinct requests per "groupId" that I have to execute. One must finish successfully in order to even display the data and second request is auxiliary to provide user some context data out of the associations from object in first request. Also, number of "groupIds" for each I execute those 2 requests should be considered infinite (i..e there can be 1 but also 10). Not to mention that objects that must resolve have to be coupled with user-inputs-ish props
a.k.a -> `type alias ServerData = {obj: Obj, changeRequest, }`, where `obj` is the server response and `changeRequest` is sth to allow user to interact with it.
so now I have this auxiliary data, let's call it `ObjDetails` that is fetched for the same `groupId` from another endpoint that may fail but it will not fail everything. That means that I am targeting sth along ``type alias ServerData = {obj: Obj, changeRequest, details; ObjDetails}`.
I cannot exactly wrap my head around those facts:
1. I cannot use `Task` because I need both requests per `groupId` to resolve without killing each other (i,e, one fails). I assume if I could've that would simplify a lot
2. I have troubles figuring how to safely pull information from second request result. I assume that trying to do that withing `update` is not exactly a nice idea as there are two distinct messages per `groupId` and actually response from either of requests is stored inside the main models dictionaries where keys are `groupId`. So I guess it has to be done within `view` a.k.a. gluing all things up together
Basically, I hope that with this description you might be able to pin point of relate to own business cases and how you resolved them
BTW. Associations are represnted via ids and there is no way to fetch full blown object (i.e. one request per `groupid` | 2019-01-10T02:09:20.005200 | Floy |
elmlang | general | if you have any tips, let's take it over in this thread
thx in advance | 2019-01-10T02:09:53.005300 | Floy |
elmlang | general | Hey there | 2019-01-10T02:52:40.005500 | Lynne |
elmlang | general | Quite an interesting intro :slightly_smiling_face: | 2019-01-10T02:52:57.005700 | Lynne |
elmlang | general | I wanted to be thorough :stuck_out_tongue: | 2019-01-10T02:53:59.005900 | Floy |
elmlang | general | So, you are saying you can't use tasks because you need both requests to resolve without killing each other | 2019-01-10T02:54:08.006100 | Lynne |
elmlang | general | Where does information about tasks killing each other originate from? | 2019-01-10T02:54:21.006300 | Lynne |
elmlang | general | Tasks themselves are independent entities | 2019-01-10T02:54:31.006500 | Lynne |
elmlang | general | <https://package.elm-lang.org/packages/elm/core/latest/Task#map2> | 2019-01-10T02:54:50.006700 | Floy |
elmlang | general | Note in there | 2019-01-10T02:54:53.006900 | Floy |
elmlang | general | or is it like that `map2` fails if and only if the first one fails | 2019-01-10T02:55:15.007200 | Floy |
elmlang | general | ? | 2019-01-10T02:55:19.007400 | Floy |
elmlang | general | No, if either | 2019-01-10T02:55:31.007600 | Lynne |
elmlang | general | But it just means you can't use `map2` :slightly_smiling_face: | 2019-01-10T02:55:39.007800 | Lynne |
elmlang | general | Which is far less strickter | 2019-01-10T02:55:44.008000 | Lynne |
elmlang | general | what would you use? | 2019-01-10T02:55:57.008300 | Floy |
elmlang | general | I would just fire two separate tasks, let them come with results and store these results in two separate `Dict`s | 2019-01-10T02:56:20.008500 | Lynne |
elmlang | general | that's what I have right now in the model | 2019-01-10T02:56:32.008700 | Floy |
elmlang | general | the problem is combining both | 2019-01-10T02:56:45.009100 | Floy |
elmlang | general | I see, let me grasp a little more on the intro then | 2019-01-10T02:57:03.009300 | Lynne |
elmlang | general | You could actually look into `andThen` btw | 2019-01-10T02:57:44.009500 | Lynne |
elmlang | general | If I understand correctly first request must complete (meaning if it does not, you are not even interested in firing the second one) | 2019-01-10T02:58:08.009700 | Lynne |
elmlang | general | everything is also a bit complicated by a fact that those aforementioned `details` are in fact `Maybe`. Meaning my object from first request says `detailsId: Maybe DetailsId` :stuck_out_tongue: | 2019-01-10T02:58:20.009900 | Floy |
elmlang | general | But it will mean that requests will not be asynchronous | 2019-01-10T02:58:22.010100 | Lynne |
elmlang | general | given the volume of data I need to handle there, I am trying to stay away that fact | 2019-01-10T02:58:51.010300 | Floy |
elmlang | general | Do you mean you need things to run asynchronously? | 2019-01-10T02:59:11.010500 | Lynne |
elmlang | general | those literally can't be synchronous and given the underlying data source I cannot exactly expect paging now, maybe in future - still I need to address performance issues :confused: | 2019-01-10T02:59:35.010800 | Floy |
elmlang | general | Well, let's focus on present then | 2019-01-10T02:59:52.011000 | Lynne |
elmlang | general | Ok, then, yes, combining tasks won't work. Actually `map2` is also running tasks synchronously, so that's another reason why it is not suitable | 2019-01-10T03:00:31.011200 | Lynne |
elmlang | general | exactly so | 2019-01-10T03:02:01.011400 | Floy |
elmlang | general | I think I have pretty much similar situation in my app actually. I need to load data from two sources and only when it is there I can initialize a component. In your case it means you don't have to wait for the second source probably and can render as soon as you get `Obj` | 2019-01-10T03:02:53.011600 | Lynne |
elmlang | general | So actually you can combine stuff in `update` and to solve performance issues you have to I think | 2019-01-10T03:03:14.011800 | Lynne |
elmlang | general | That's how I addressed it:
```
type ModelState
= NotInitialized
| Initializing (Maybe x) (Maybe y)
| Initialized (x, y)
``` | 2019-01-10T03:03:50.012000 | Lynne |
elmlang | general | is it considered a good practice/solution? I mean I will need to have two separate messages for that? | 2019-01-10T03:04:17.012200 | Floy |
elmlang | general | So if you had a `Dict GroupId (ModelState Obj ObjDetails)` you could populate it with correct `ModelState`s | 2019-01-10T03:04:36.012400 | Lynne |
elmlang | general | Having two separate messages is unavoidable I think | 2019-01-10T03:04:52.012600 | Lynne |
elmlang | general | You basically run two things in parallel and don't know when either of them completes | 2019-01-10T03:05:15.012800 | Lynne |
elmlang | general | How else would you address t his? There has to be a point somewhere to wait and combine the results. That's what `update` is for. | 2019-01-10T03:05:42.013000 | Lynne |
Subsets and Splits