=== Guest13975 is now known as devil_ | ||
Domi | Hello, I search a programming language which runs on Ubuntu core, Raspbian and Windows IoT. Java is not possible because there is no JVM for Windows Iot but does C#(mono) work on Ubnutu Core? | 10:38 |
---|---|---|
oparoz | NodeJS? Python? PHP? | 10:39 |
oparoz | Ah, no you mean core without any other snaps available... | 10:40 |
Domi | Is ist possible to use the gpio with NodeJS or PHP? No I mean with snaps | 10:40 |
oparoz | It's possible to make the calls, but I don't know if Snappy will block access to the hardware or not | 10:42 |
oparoz | Note, I'm just an enthusiast | 10:43 |
oparoz | Should be really quick to find out | 10:43 |
Domi | I did not find a tutorial on how to use the gpio pins of the rasberry pi with ubuntu snappy | 10:59 |
ogra_ | for 15.04 images there is the piglow package in the store, you could take a look at that one | 11:02 |
ogra_ | 16.04 (even though it wil completely replace 15.04 soon) is still re-defining the security bits ... the first chunk landed on friday but there is still some fine tuning needed ... ou will definitely be able to fully use your gpios :) | 11:03 |
ogra_ | as for languages ... snap package require you to bundle your language bindings, whi9ch means you can use anything you want as long as you have/find working binaries | 11:04 |
ogra_ | there is no limit in languages, C# will definitely work if you bundle the right bits | 11:05 |
ogra_ | (there is no default plugin for snapcraft though ... will be a bit more fiddly than packaging a java or nodejs app) | 11:06 |
Domi | ok what language would you recomment for easy use? | 11:17 |
ogra_ | the one you are most familiar with :) and the snapcraft autotools or make plugins | 11:21 |
ogra_ | thats surely the easiest ... or ... the copy plugin which only copies binaries in place ... and you produce the binaries as you like | 11:21 |
ogra_ | there are plenty of ways ;) pick your own poison | 11:22 |
ogra_ | there are some examples and a hacking guide at https://github.com/ubuntu-core/snapcraft | 11:23 |
Domi | is there any example how to use the gpio pins of the rasbperry pi? | 11:30 |
ogra_ | http://blog.mattyw.net/blog/2015/10/09/simple-piglow-snap-for-raspberry-pi-2/ | 11:35 |
ogra_ | but as I said, this is for 15.04 snappy... which will be EOL soon | 11:35 |
ogra_ | 16.04 does use snapcraft to biuld the snaps | 11:37 |
Domi | ok thank you | 11:43 |
Domi | is there a list which snaps i can use with snappy install | 11:46 |
netphreak | Hi, guys! | 12:23 |
popey | enabled snappy classic mode on my pi 3, and now get this when i sudo in classic... "sudo: no tty present and no askpass program specified" | 13:14 |
popey | I even tried destroying my classic dimension and recreating it | 13:15 |
popey | same | 13:15 |
ogra_ | yeah, known bug .... | 13:18 |
ogra_ | (there was a workaround ... ) | 13:18 |
ogra_ | bug 1564369 | 13:21 |
ubottu | bug 1564369 in Snappy "sudo broken in latest classic" [Critical,Confirmed] https://launchpad.net/bugs/1564369 | 13:21 |
oparoz | Type it from the non-classic shell | 13:21 |
Domi | is there a tutorial on how to pack python code into a snap? | 13:53 |
ogra_ | Domi: yes, see the python examplers in the snapcraft source | 14:23 |
popey | thanks ogra_ | 14:48 |
popey | ogra_: that workaround worked.. around. :) | 14:59 |
ogra_ | :) | 15:07 |
baum_ | Will there be openstack on ubuntu core arm? | 15:46 |
ogra_ | if someone packages it | 15:47 |
baum_ | And how do I use dnsmasq-arm on there | 15:48 |
ogra_ | no idea what dnsmasq-arm is ... | 15:50 |
netphreak | Is it possible to set target architecture on the snappy maven plugin? | 15:50 |
* ogra_ only knows dnsmasq ... and i guess you would have to bundle it in your owncloud snap together with all other services | 15:50 | |
baum_ | I is availabe on the snappy store by it self | 15:54 |
baum_ | It should be used as a dns-server | 15:54 |
baum_ | In didn't find really find any docs on the /apps/dnsmasq-arm.howy directory | 15:57 |
netphreak | Does snappy maven plugin support armhf architecture? | 17:14 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!