| 29 May 2021 |
sterni (he/him) | In reply to @pennae:matrix.eno.space might give it a try when(/if) we manage to put nixos on the thing yeah it's not really urgent there don't seem to many ghcHEAD users, but it'd be nice to sort these issues out until the next GHC release comes out… | 16:53:37 |
pennae | ghc 8.6.5 took 8 hours to build last we tried, ghc 8.8 always failed with linker errors | 16:53:47 |
pennae | but as mentioned that's a year ago now | 16:53:58 |
Roos | In reply to @Las:matrix.org FWIW I think you'll have a very hard time compiling anything until the new native code gen backend is released (GHC 9.2.1 IIRC) How about compile times? | 16:54:07 |
Las | Yeah that's what I meant. They should be tolerable with the new NCG backend AFAIU. | 16:54:26 |
pennae | gentoo had the additional "feature" of always providing ghc with the newest llvm version, which ghc wasn't all too fond of. that may have been a part :D | 16:55:08 |
Roos | In reply to @Las:matrix.org FWIW I think you'll have a very hard time compiling anything until the new native code gen backend is released (GHC 9.2.1 IIRC) * How about compile times? (not the compiler compilation time, rather using the new version to compile haskell projects) | 16:54:32 |
Roos | What's NCG? | 16:54:53 |
Roos | ncg | 16:55:17 |
Las | Native code generator | 16:55:23 |
Las | (generation?) | 16:55:26 |
pennae | (also, at least llvm isn't registerised :P) | 16:55:59 |
matthewcroughan | Hey guys, just wondering if I could get a little help with using Haskell for the first time, I want to use an MQTT library just to see how Haskell works a bit:
user: matthew ~/tmp/haskell took 6m27s
❯ nix-shell -p 'ghc.withPackages (ps: [ ps.net-mqtt ])'
user: matthew ~/tmp/haskell via ❄️ impure (shell)
❯ cat mqtt.hs
import Network.MQTT.Client
main :: IO ()
main = do
let (Just uri) = parseURI "mqtt://test.mosquitto.org"
mc <- connectURI mqttConfig{} uri
publish mc "tmp/topic" "hello!" False
user: matthew ~/tmp/haskell via ❄️ impure (shell)
❯ ghc mqtt.hs
[1 of 1] Compiling Main ( mqtt.hs, mqtt.o )
mqtt.hs:6:20: error: Empty record update
|
6 | mc <- connectURI mqttConfig{} uri
|
| 17:04:43 |
matthewcroughan | https://hackage.haskell.org/package/net-mqtt | 17:05:11 |
matthewcroughan | The code I've given is from the client publishing example in the Readme. | 17:05:58 |
srid | matthewcroughan: Since this is a Haskell question, also checkout #haskell:matrix.org | 17:06:10 |
matthewcroughan | Oh, brilliant. | 17:06:17 |
matthewcroughan | Wow that's a big server. Making my Synapse instance scream. | 17:07:02 |
matthewcroughan | Matrix is really fun when you get into the right communities. | 17:14:27 |
Roos | It certainly is! | 17:15:03 |
Roos | Now, finding the right communities, that's the issue x) | 17:15:17 |
| * Roos impatiently waits for CCC | 17:15:57 |
| Magic_RB set a profile picture. | 17:28:11 |
maralorn | why are we code-owners for this PR? https://github.com/NixOS/nixpkgs/pull/124785/files | 18:50:21 |
maralorn | Roos: I just wanted to recommend https://serverstats.nordgedanken.dev/spaces to you. It is quite useful in discovering Spaces. Sadly it seems to be down/have no data currently. | 18:51:54 |
Roos | Huh, interesting idea ^^ | 18:56:13 |
Roos | Is it using data from matrix-traveler? | 18:56:18 |
Roos | s/using data/supposed to be using data/ xD | 18:56:33 |
maralorn | Roos: I am not sure I think it might be a second bot. | 18:57:51 |
Roos | Suddently it has data :D | 18:57:58 |