/srv/irclogs.ubuntu.com/2016/04/10/#snappy.txt

=== Guest13975 is now known as devil_
DomiHello, 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
oparozNodeJS? Python? PHP?10:39
oparozAh, no you mean core without any other snaps available...10:40
DomiIs ist possible to use the gpio with NodeJS or PHP? No I mean with snaps10:40
oparozIt's possible to make the calls, but I don't know if Snappy will block access to the hardware or not10:42
oparozNote, I'm just an enthusiast10:43
oparozShould be really quick to find out10:43
DomiI did not find a tutorial on how to use the gpio pins of the rasberry pi with ubuntu snappy10:59
ogra_for 15.04 images there is the piglow package in the store, you could take a look at that one11: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 binaries11:04
ogra_there is no limit in languages, C# will definitely work if you bundle the right bits11: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
Domiok what language would you recomment for easy use?11:17
ogra_the one you are most familiar with :) and the snapcraft autotools or make plugins11:21
ogra_thats surely the easiest ... or ... the copy plugin which only copies binaries in place ... and you produce the binaries as you like11:21
ogra_there are plenty of ways ;) pick your own poison11:22
ogra_there are some examples and a hacking guide at https://github.com/ubuntu-core/snapcraft11:23
Domiis 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 soon11:35
ogra_16.04 does use snapcraft to biuld the snaps11:37
Domiok thank you11:43
Domiis there a list which snaps i can use with snappy install11:46
netphreakHi, guys!12:23
popeyenabled 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
popeyI even tried destroying my classic dimension and recreating it13:15
popeysame13:15
ogra_yeah, known bug ....13:18
ogra_(there was a workaround ... )13:18
ogra_bug 156436913:21
ubottubug 1564369 in Snappy "sudo broken in latest classic" [Critical,Confirmed] https://launchpad.net/bugs/156436913:21
oparozType it from the non-classic shell13:21
Domiis there a tutorial on how to pack python code into a snap?13:53
ogra_Domi: yes, see the python examplers in the snapcraft source14:23
popeythanks ogra_14:48
popeyogra_: that workaround worked.. around. :)14:59
ogra_:)15:07
baum_Will there be openstack on ubuntu core arm?15:46
ogra_if someone packages it15:47
baum_And how do I use dnsmasq-arm on there15:48
ogra_no idea what dnsmasq-arm is ...15:50
netphreakIs 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 self15:54
baum_It should be used as a dns-server15:54
baum_In didn't find really find any docs on the /apps/dnsmasq-arm.howy directory15:57
netphreakDoes snappy maven plugin support armhf architecture?17:14

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!