*** willbarnard has joined #trustable | 06:47 | |
*** spinglet has joined #trustable | 07:01 | |
*** ecclescake has joined #trustable | 08:05 | |
*** toscalix has joined #trustable | 08:40 | |
*** Shaun has joined #trustable | 09:11 | |
flatmush | I've justs cleared the trustable cache, that might mean the next time you run a pipeline it'll take a while ikerperez | 09:41 |
---|---|---|
ikerperez | ok! | 09:43 |
tiagogomes | Have you also started a build to repopulate meanwhile? | 09:46 |
ikerperez | I am adding code to check if the results file has finished being written. For that I added the next line: ssh_command = ['ssh', '-oStrictHostKeyChecking=no', '-oUserKnownHostsFile=/dev/null', '-p5555', 'root@127.0.0.1', '[[ lsof | grep ./results.dat ]]'] | 10:02 |
ikerperez | ssh_command will store the output of the [[ ]] test? | 10:02 |
ikerperez | if not, what could I do? | 10:02 |
ctgriffiths | ikerperez: you could wait for the command that writes the file to complete https://docs.python.org/3/library/asyncio-subprocess.html#interacting-with-subprocesses | 10:16 |
ctgriffiths | so have this line after you create the process: await process.wait() | 10:16 |
ikerperez | ctgriffiths, I tried that yesterday but it wasn't working properly. I will try it again today just in case the new changes modify the behaviour | 10:31 |
ikerperez | thanks | 10:35 |
locallycompact | Can I have cow powers to create repos in trustable? | 10:38 |
locallycompact | paulsherwood? ^ | 10:41 |
locallycompact | anyone else has powers? | 11:20 |
* locallycompact has obtained powers | 11:40 | |
ikerperez | ctgriffiths, flatmush, tiagogomes can we trust the process.wait() statement? i have achieved results with it and without it and the files obtained without it are larger. | 11:46 |
ikerperez | https://paste.gnome.org/pbvzwlsha | 11:46 |
tiagogomes | I don't understand that output. I will also need more context to provide any help | 12:17 |
ctgriffiths | ikerperez: there's quite a significant variation in file size for both cases, is that expected? | 12:44 |
paulsherwood | locallycompact: use them wisely :) | 12:44 |
flatmush | ikerperez: Surely "wc -l" would be a better method (count the number of lines) | 12:46 |
locallycompact | paulsherwood: if you could establish how this builds on OSX that would be helpful https://gitlab.com/trustable/hstamp | 13:00 |
locallycompact | dunno if we'll continue with this specifically but probably will do something gtk on haskell shaped | 13:01 |
ikerperez | ctgriffiths, i just did some longer test out of the script. The size of the files still vary: https://paste.gnome.org/pqxgmphqd | 13:13 |
ikerperez | flatmush, but that command will only give me the number of lines written at the moment of the execution, right? They could be more lines left to be written. Or that command will wait until the file is completely written? | 13:14 |
flatmush | just for use right now | 13:16 |
flatmush | you're currently comparing file sizes which are variable because of the number of characters in a number | 13:16 |
flatmush | but surely, the number of lines should be the same each run? | 13:16 |
flatmush | so using "wc -l" instead of comparing file sizes would make more sense | 13:16 |
flatmush | I'm not suggesting you put any of that into a script or anything | 13:17 |
ikerperez | a ok. | 13:19 |
ikerperez | Just did it, the number of lines vary too | 13:19 |
ikerperez | But there are closer between them that the size | 13:20 |
ikerperez | https://paste.gnome.org/ppteblxqw | 13:20 |
paulsherwood | locallycompact: sorry, what do i need to do? | 14:14 |
locallycompact | what's the first error you hit if you run `stack build` in that repo with stack installed | 14:15 |
locallycompact | from https://docs.haskellstack.org/en/stable/README/ | 14:15 |
*** shaunmooney has joined #trustable | 14:30 | |
*** Shaun has quit IRC | 14:32 | |
paulsherwood | locallycompact: hmmm. so i'm now just running randoum builds from the internet :/ | 15:20 |
paulsherwood | haskell community happy to just download stuff at will, i expect? | 15:21 |
locallycompact | you're building from a stackage manifest | 15:24 |
paulsherwood | whatever that means, it's falling into the usual trap of pulling loads of stuff from the internet | 15:26 |
paulsherwood | https://paste.baserock.org/bekosunade | 15:26 |
locallycompact | so this i guess http://macappstore.org/gobject-introspection/ | 15:27 |
* paulsherwood is not guessing | 15:28 | |
*** spinglet has quit IRC | 15:38 | |
paulsherwood | locallycompact: https://paste.baserock.org/ikogazezuv | 15:48 |
locallycompact | mm that's new | 15:50 |
* paulsherwood is not surprised | 15:51 | |
locallycompact | I don't know these gtk doodads | 15:52 |
locallycompact | http://brewformulas.org/Pango ? | 15:52 |
paulsherwood | locallycompact: https://paste.baserock.org/efuzocodef | 15:57 |
locallycompact | jjardon: what's the difference between gdk and gtk? | 15:58 |
locallycompact | I think this one would have covered the others http://brewformulas.org/Gtk+ | 16:01 |
jjardon | locallycompact: gdk is a low level library gtk talks against. So you can still use gdk APIs from gtk and gdk implement the platform dependent stuff | 16:01 |
locallycompact | or is that gtk2 | 16:02 |
jjardon | There are backends for x11, Wayland, win32, quartz (osx) etc | 16:02 |
locallycompact | I see | 16:03 |
jjardon | gtk2 is only the version; current is gtk3. In development is gtk4 | 16:03 |
locallycompact | jjardon: trying to install gtk3 on osx but this says version 2.something http://brewformulas.org/Gtk+ | 16:04 |
jjardon | locallycompact: yeah that is gtk2, no gtk3 | 16:04 |
*** willbarnard has quit IRC | 16:05 | |
locallycompact | surely 3 exists for osx | 16:06 |
*** shaunmooney has quit IRC | 16:09 | |
jjardon | locallycompact: not so sure; you have to have someone that actually do the job to port to gdk3/gtk3; not sure that happened (or if the current status is less complete than the one in gtk2) | 16:11 |
jjardon | That might help: https://wiki.gnome.org/Projects/GTK+/OSX/Building#Gtk.2B-_3 | 16:13 |
* locallycompact is only speculating that 3 is required here | 16:14 | |
locallycompact | felt like it had been out a while though | 16:14 |
locallycompact | hm | 16:15 |
*** ecclescake has quit IRC | 16:19 | |
locallycompact | maybe this http://macappstore.org/gtk3/ | 16:27 |
paulsherwood | locallycompact: https://paste.baserock.org/hoxadocuzo | 17:03 |
paulsherwood | seems to have completed | 17:03 |
paulsherwood | ok it runs, does nothing useful. i assume this is just a hello world? | 17:09 |
locallycompact | yes hello world | 17:27 |
paulsherwood | ok | 17:27 |
locallycompact | thanks | 17:27 |
paulsherwood | np | 17:27 |
*** toscalix has quit IRC | 18:22 | |
*** paulwaters_ has quit IRC | 20:53 | |
*** traveltissues has quit IRC | 21:22 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!