workspace stringclasses 4
values | channel stringclasses 4
values | text stringlengths 1 3.93k | ts stringlengths 26 26 | user stringlengths 2 11 |
|---|---|---|---|---|
elmlang | general | Oh great ! I've never noticed that. Thanks :slightly_smiling_face: | 2019-05-06T10:09:18.116700 | Wai |
elmlang | general | <@Niesha> I never looked inside the compiler code, maybe it just doesn't make sense to have Posix as comparable with the current packet structure. I'm pretty sure the good folks who wrote the compiler made that decision for a reason, so i was wondering which one it is :stuck_out_tongue: | 2019-05-06T10:12:58.117100 | Lilli |
elmlang | general | I always forget about this :sweat_smile: | 2019-05-06T10:14:11.117500 | Lilli |
elmlang | general | You need explicit compiler support for each type that should be `comparable` - you can't add new types to that list as a user. I assume `Time.Posix` just didn't make the cut. | 2019-05-06T10:14:20.117700 | Niesha |
elmlang | general | <@Niesha> thank you very much! | 2019-05-06T10:16:44.118000 | Lilli |
elmlang | general | Haskell and PureScript handle that via userspace `comparable` support via typeclasses, not sure how ReasonML does it | 2019-05-06T10:18:23.118200 | Niesha |
elmlang | general | With how many times that question has had to be answered I would love to see <https://github.com/elm/package.elm-lang.org/pull/285> merged | 2019-05-06T10:26:17.119200 | Augustus |
elmlang | general | Such are the woes of a BDFL | 2019-05-06T10:40:37.119500 | Danika |
elmlang | general | I'm working on drag and drop and I'm trying to consistently subscribe to `touchmove` events. It appears that `touchmove` events are only sent to the element on which `touchstart` happens. However, when we get the `touchstart` event, the element itself changes. If Elm doesn't recycle that node, we might not get the `tou... | 2019-05-06T14:29:40.123800 | Sofia |
elmlang | general | `Html.Keyed` is for preserving nodes :thumbsup: | 2019-05-06T14:30:39.124300 | Chae |
elmlang | general | Sweet! And do the identifiers only need to be unique between their siblings? | 2019-05-06T14:31:44.124800 | Sofia |
elmlang | general | That is an excellent question. I don’t know, but I’m curious too | 2019-05-06T14:32:27.124900 | Chae |
elmlang | general | Yes | 2019-05-06T14:54:58.125100 | Huong |
elmlang | general | Is there a "forum" lib for elm that works well? | 2019-05-06T15:33:55.126800 | Carter |
elmlang | general | (or, not that keen on hosting a forum, if there are hosted alternatives that would be nice aswell) | 2019-05-06T15:35:03.128100 | Carter |
elmlang | general | How about Discourse? | 2019-05-06T15:36:19.128600 | Bert |
elmlang | general | i found a forum on elmlang ABOUT elm but i dont seem to find a components/lib called discourse? | 2019-05-06T15:41:59.128700 | Carter |
elmlang | general | I built one for my company, but I'm leaving there and we never open sourced it. I would be down to make an open source project for this.. but you probably need one soon right? | 2019-05-06T15:42:11.128900 | Charity |
elmlang | general | I haven’t seen any forums written in Elm, it would require a backend as well. Discourse is nice but not embeddable IIRC (<https://www.discourse.org/>) | 2019-05-06T15:45:17.129100 | Alicia |
elmlang | general | Ah thanks. Its for a hobby project so It needs to be a free solution. | 2019-05-06T15:47:30.129400 | Carter |
elmlang | general | Is it possible to "pre-compute" the views? I've written a presentation in Elm containing several slides : <https://besnier.se/elm-beginner-and-production-compliant/> ; each slide is a satatic `Element Msg` value (yes i'm using `elm-ui`) which is rendered each time the user request it. However, the images "flash" with ... | 2019-05-06T16:09:20.134200 | Loralee |
elmlang | general | Well, if there is none available i take what could be available. | 2019-05-06T16:28:48.134600 | Carter |
elmlang | general | I get 0 hits when searching for "forum" on <http://package.elm-lang.org|package.elm-lang.org> | 2019-05-06T16:29:19.134800 | Carter |
elmlang | general | I would not expect to find a "forum" package.. I'd expect that to be a platform with a server and an elm FE. | 2019-05-06T16:30:08.135200 | Charity |
elmlang | general | I could atleast see an app or component that just defines an interface to server. | 2019-05-06T16:46:49.135400 | Carter |
elmlang | general | <@Huong> This sorta works, but because parent elements of our nice Keyed element can change, the `touchmove` event can get dropped on the floor sometimes. Is there a recommended approach for using `touchmove` in elm? | 2019-05-06T16:59:57.135600 | Sofia |
elmlang | general | <@Loralee> there is Html.Lazy for lazy rendering the views, but I don't think that will solve it, it sounds like maybe the server is returning headers that prevent the image from being cached? | 2019-05-06T17:23:08.137700 | Augustus |
elmlang | general | It seems like Elm is lying to me:
```
The `Html.Events` module does not expose `onWithOptions`:
8| import Html.Events exposing (onWithOptions)
^^^^^^^^^^^^^
``` | 2019-05-06T18:00:59.138000 | Royce |
elmlang | general | I copied the name directly from the docs page: <https://package.elm-lang.org/packages/elm-lang/html/1.0.0/Html-Events> | 2019-05-06T18:01:07.138300 | Royce |
elmlang | general | Damnit, never mind. Got bit by the 0.18/0.19 library thing… | 2019-05-06T18:02:05.138700 | Royce |
elmlang | general | You have to make a custom event decoder now | 2019-05-06T19:03:02.139300 | Danika |
elmlang | general | For posterity -- I've gotten this to work by:
1) Being extremely diligent about the structure of the nodes that I register the events on -- they have the same shape and tags at all times.
2) Putting `pointer-events:none` on all of the children of those nodes, so that they cannot be the targets of `touchstart`.
It work... | 2019-05-06T21:14:05.139400 | Sofia |
elmlang | general | hello | 2019-05-07T01:37:52.139900 | Johnetta |
elmlang | general | welcome <@Johnetta> | 2019-05-07T01:40:02.140200 | Earlean |
elmlang | general | Hi there. I am the quiet one in the back of the room. | 2019-05-07T01:41:28.141000 | Aurelia |
elmlang | general | Ha, Warren is so uncommon that I thought you were talking to me. | 2019-05-07T01:45:39.142100 | Aurelia |
elmlang | general | You're welcome too <@Aurelia> | 2019-05-07T01:46:12.142500 | Earlean |
elmlang | general | Cool. I am just getting the hang of Elm but I really like it so far. I even like all the vertical stretch in the code. | 2019-05-07T01:48:14.144000 | Aurelia |
elmlang | general | Anyone for some ideas on how to debug this error on CircleCI
```
I got an unexpected zip file from:
<https://github.com/Microsoft/elm-json-tree-view/zipball/2.0.0/>
I check the hash the zip, and it seems off:
Expected: 6e84a645c3c871ea742506eb1c9352c2a1b04b18
Actual: 2c6f4a6d554f9a95807ae02b0a5226038... | 2019-05-07T04:16:45.144600 | Lynn |
elmlang | general | there have been no changes to this repo recently and everything worked 24 hours ago | 2019-05-07T04:17:13.145000 | Lynn |
elmlang | general | I got the same error trying to install it locally. <@Carl> are you aware of the tag being force-pushed or something? :thinking_face: | 2019-05-07T04:25:04.145200 | Huong |
elmlang | general | Hey guys , i’ve made Ghost blog in Elm (it’s still work in progress)
can any one make review of my first Elm SPA : <https://github.com/Tarektouati/elm-ghost-blog> ? Thanks :pray: | 2019-05-07T04:39:21.146800 | Winford |
elmlang | general | is there a live-reload server built into elm? | 2019-05-07T04:49:59.147300 | Helena |
elmlang | general | like elm reactor, but with live reload? | 2019-05-07T04:50:06.147500 | Helena |
elmlang | general | <@Helena> <https://github.com/halfzebra/create-elm-app> provides live reload and lot of tooling for elm | 2019-05-07T04:53:16.148700 | Winford |
elmlang | general | here’s another alternative <https://github.com/simonh1000/elm-webpack-starter> | 2019-05-07T05:07:28.149000 | Lynn |
elmlang | general | <@Helena> <http://github.com/wking-io/elm-live|github.com/wking-io/elm-live> is something more lightweight without webpack | 2019-05-07T05:13:55.149800 | Joana |
elmlang | general | <@Helena> or you can just use Parcel as well :package::heart: <https://en.parceljs.org/elm.html> | 2019-05-07T05:21:33.150900 | Lionel |
elmlang | general | Could it have something to do with the org being renamed to `microsoft`? | 2019-05-07T05:43:33.151000 | Huong |
elmlang | general | yesh, is parcel the new go to? | 2019-05-07T06:30:47.151700 | Helena |
elmlang | general | indeed, I can see that there is a discrepancy between github and elm’s package manager | 2019-05-07T08:28:28.151800 | Lynn |
elmlang | general | repro by removing ~./elm | 2019-05-07T08:30:14.152000 | Lynn |
elmlang | general | and | 2019-05-07T08:30:15.152200 | Lynn |
elmlang | general | None | 2019-05-07T08:30:25.152400 | Lynn |
elmlang | general | installing with “microsoft” is also not possible | 2019-05-07T08:30:47.152800 | Lynn |
elmlang | general | Yeah, my best guess of what’s going on is this:
- package was published when it was `Microsoft`
- the hash of the zipball takes into account that it was named `Microsoft`
- now the org seems to be renamed to `microsoft`
- this means the zipball is every so slightly different, which gives you the hash issue
- even if it... | 2019-05-07T08:53:13.154500 | Huong |
elmlang | general | I’m not sure what the best course of action is - it might be best to push a 2.0.1 with a deprecation warning, and republish as `microsoft/...` | 2019-05-07T08:54:08.154700 | Huong |
elmlang | general | the bottom line is that the package cannot today be installed/used … unless you already have it in your `~./elm` cache | 2019-05-07T08:55:20.154900 | Lynn |
elmlang | general | elm-live is really easy, supports https, passes args to elm-make. "new" /= better :wink: | 2019-05-07T10:15:00.156100 | Kymberly |
elmlang | general | :package: | 2019-05-07T10:39:13.157300 | Danika |
elmlang | general | may it be the case that the Elm 18 compiler is sometimes wrong with circular dependency errors?
I read it like this: the first listed module imports the second, the second the third and so on. It's right for the first few entries but then suddenly it lists something that's not right... | 2019-05-07T11:40:39.159600 | Earnestine |
elmlang | general | <https://github.com/romariolopezc/elm-webpack-4-starter> this is more like to build a full web app with SASS and other thingies | 2019-05-07T12:05:13.159900 | Noelle |
elmlang | general | :slightly_smiling_face: | 2019-05-07T12:05:14.160100 | Noelle |
elmlang | general | Can someone recommend to me a path to serverside rendering? | 2019-05-07T19:04:41.161700 | Willodean |
elmlang | general | <@Willodean> use headless chrome? | 2019-05-07T21:08:01.162000 | Erlene |
elmlang | general | HAHAHAHA no | 2019-05-07T21:13:36.162300 | Willodean |
elmlang | general | Whats the problem with headless chrome? | 2019-05-07T21:31:25.163300 | Cornell |
elmlang | general | I know there’s <https://github.com/eeue56/elm-static-html>, though don’t believe it’s up to date for 0.19 | 2019-05-07T21:32:55.163700 | Cornell |
elmlang | general | <@Willodean> what purpose? Not needed for SEO: <https://webmasters.googleblog.com/2019/05/the-new-evergreen-googlebot.html> | 2019-05-07T22:37:09.164100 | Erlene |
elmlang | general | <@Erlene> 2 things. Performance and avoiding xhr requests. | 2019-05-07T22:45:32.165100 | Willodean |
elmlang | general | Hello. Is there a wait to compile in debug mode using elm reactor? | 2019-05-08T02:31:51.165700 | Allyn |
elmlang | general | <@Allyn> there is not | 2019-05-08T02:32:50.166000 | Earlean |
elmlang | general | I dont really see the interest of elm-reactor by now, I find it too limited | 2019-05-08T02:33:34.166700 | Allyn |
elmlang | general | the omission of the debugger from elm reactor I think was an oversight in the Elm 0.19 release. | 2019-05-08T02:34:32.167700 | Earlean |
elmlang | general | but elm reactor certainly isn't intended as your primary dev environment, it's a tool for getting started learning elm quickly | 2019-05-08T02:35:20.168700 | Earlean |
elmlang | general | we've been using elm live in our workflow for the last two years, hasn't skipped a beat: <https://github.com/wking-io/elm-live> | 2019-05-08T02:36:13.169800 | Ruthann |
elmlang | general | I was sugested to use elm-reactor for an intro to elm workshop | 2019-05-08T02:36:15.169900 | Allyn |
elmlang | general | but the lack of debug mode is a no-go for me | 2019-05-08T02:36:40.170400 | Allyn |
elmlang | general | I also use elm-live for my day-to-day coding | 2019-05-08T02:37:20.171300 | Allyn |
elmlang | general | haven't used it for a while, thought there was a debug flag in `elm make` no? | 2019-05-08T02:37:24.171500 | Ruthann |
elmlang | general | yes | 2019-05-08T02:37:39.171700 | Allyn |
elmlang | general | Elm-live just propagate the flags after the double dash to elm make | 2019-05-08T02:38:04.172300 | Allyn |
elmlang | general | then you could turn on debug mode using elm live and you'd have what elm-reactor doesn't have right? | 2019-05-08T02:38:35.173000 | Ruthann |
elmlang | general | I was not clear about my context. I’m hosting an elm workshop, to help people discovering elm. It’s quite long (3 hours at least), and I’m often given 2 hours only to do it. So I’m looking for ideas to simplify/accelerate setup. I removed elm-live after the pilot session because it’s one more tool to install, and it ad... | 2019-05-08T02:43:21.178000 | Allyn |
elmlang | general | <https://ellie-app.com/new> has the debugger built in now | 2019-05-08T02:44:30.178700 | Ruthann |
elmlang | general | It could be an idea indeed. I’ll look at it. Thanks for the suggestion. | 2019-05-08T02:45:39.179400 | Allyn |
elmlang | general | prolly as good as it gets, and you can intro ellie at the same time | 2019-05-08T02:47:03.179800 | Ruthann |
elmlang | general | You can’t have more than one file in ellie? | 2019-05-08T02:51:40.180300 | Allyn |
elmlang | general | don't think so :disappointed: | 2019-05-08T02:54:30.180500 | Ruthann |
elmlang | general | you'd have to keep your debugger part of the demo simple, pre made and share the links around | 2019-05-08T02:56:00.181700 | Ruthann |
elmlang | general | alternatively, create a repo with elm live, scripts to setup, install and get them to clone at start of demo | 2019-05-08T02:57:23.182700 | Ruthann |
elmlang | general | scripts are not really required, as the setup is just `npm install -g elm elm-format elm-test`. The problem is with people who do not have npm, or the access right issues in linux when installing this on linux (<https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally>) | 2019-05-08T03:01:29.185600 | Allyn |
elmlang | general | Feel like I'm missing something really obvious here,
> `Http.expectBytes GotData dataDecoder`
how do I write `dataDecoder` for the following?
```
type Msg
= GotData Bytes
```
i.e. just grab the `Bytes` from the response body | 2019-05-08T03:04:29.186800 | Kimbery |
elmlang | general | I think `expectBytesResponse` is an easier path for that kind of thing | 2019-05-08T03:09:12.187500 | Huong |
elmlang | general | ah yep, just saw that, thanks! | 2019-05-08T03:10:46.187800 | Kimbery |
elmlang | general | it does indeed expose the body directly, typed as `Bytes` | 2019-05-08T03:11:16.188200 | Kimbery |
elmlang | general | <https://github.com/rogeriochaves/spades> is an opinionated framework to write Elm apps. It also come with server-side rendering using `jsdom`. <https://github.com/alexkorban/elmstatic> also uses `isdom`, but it creates just static HTML. | 2019-05-08T03:34:38.188300 | Jin |
elmlang | general | I have not used either, but maybe it is something for you or gives you some inspiration. | 2019-05-08T03:35:01.188500 | Jin |
elmlang | general | Hi, JSON decoder masters, I have a json with a string field that I want to decode to custom type. That's easy, but that field also might be null and then it should decode to another type. If it's anything else, it should fail.
- "first" -> First
- "second" -> Second
- null -> Comment
- anything else should fai... | 2019-05-08T04:00:48.191100 | Bethel |
elmlang | general | You could lift the `null` case out of there, and have something like `oneOf [ null Comment, decodeEvent ]` | 2019-05-08T04:02:01.191900 | Huong |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.