[08:17] <napsy_> lp
[09:24] <CrazyLemon> .vreme koper
[09:24] <jabuk2> ARSO: Koper Kapitanija (4m): 7.6°C @12.02.2017 9:00 UTC.
[09:24] <jabuk2> Vlažnost: 77% zahodnik 0.7 m/s (2.5 km/h)
[09:24] <jabuk2> Sončni vzhod: 07:12:57, Kulminacija: 12:20:42, Sončni zahod: 17:28:27
[09:24] <jabuk2> Dan je dolg: 10ur 15min 30s, Luna je v ščipu
[10:34] <CrazyLemon> .vreme koper
[10:34] <jabuk2> ARSO: Koper Kapitanija (4m): 8.1°C @12.02.2017 10:00 UTC.
[10:34] <jabuk2> Vlažnost: 80% severozahodnik 2.9 m/s (10.4 km/h)
[10:34] <jabuk2> Sončni vzhod: 07:12:57, Kulminacija: 12:20:42, Sončni zahod: 17:28:27
[10:34] <jabuk2> Dan je dolg: 10ur 15min 30s, Luna je v ščipu
[10:48] <zdobbie> nc cakat
[10:51] <CrazyLemon> se kakšno stopinjo pol pa odrinem
[11:13] <CrazyLemon> http://www.monitor.si/novica/m-nchen-bo-v-sredo-glasoval-o-vrnitvi-na-windows/178683/
[11:13] <jabuk2> München bo v sredo glasoval o vrnitvi na Windows | Monitor
[11:13] <jabuk2> Utegne se zgoditi, da se bo največji prehod javne uprave na odprto kodo po poldrugem desetletju klavrno končal z vrnitvijo na izhodišče.
[11:13] <CrazyLemon> L
[11:23] <CrazyLemon> .vreme koper
[11:23] <jabuk2> ARSO: Koper Kapitanija (4m): 8.2°C @12.02.2017 11:00 UTC.
[11:23] <jabuk2> Vlažnost: 77% severozahodnik 4.1 m/s (14.8 km/h)
[11:23] <jabuk2> Sončni vzhod: 07:12:57, Kulminacija: 12:20:42, Sončni zahod: 17:28:27
[11:23] <jabuk2> Dan je dolg: 10ur 15min 30s, Luna je v ščipu
[11:26] <skyx> ilka win! :D
[11:26] <jabuk2> http://www.gifbin.com/bin/20048442yu.gif
[11:35] <msev-> idioterna, sorry žural sm včer
[11:35] <msev-> drgač bi z veseljam šu
[11:35] <msev-> ful je blo dobr pomoje sm plesal z 12 puncami pa vse so ble super zadovoljne :D
[11:42] <msev-> Bravo Ilka
[11:42] <msev-> svaka čast carka
[11:51] <msev-> ej folk
[11:52] <msev-> djte mi spet z githubam pomagat
[12:19] <skyx> msev-: kj te heca?
[12:19] <msev-> ja nč pač kko nardim repo
[12:19] <msev-> a "git add ."
[12:19] <msev-> a kko
[12:20] <skyx> na roke poklikas na github
[12:20] <skyx> potem pa clone naredis ali pa git init in dodas :)
[12:20] <msev-> pol pa git commit -m "first commit" && git push
[12:20] <skyx> jp
[12:20] <skyx> msev-: https://github.com/new
[12:20] <msev-> a morm na roke piklikat
[12:20] <msev-> poklikat
[12:21] <msev-> aha zastopm
[12:21] <msev-> tist korak je nujn
[12:21] <msev-> da na githubu
[12:21] <msev-> ok
[12:21] <skyx> tole je iz terminala opcija - https://coderwall.com/p/mnwcog/create-new-github-repo-from-command-line
[12:36] <msev-> skyx,
[12:37] <msev-> ka pa zj k sm se zmotu pa sm dal pyc file zravn
[12:37] <msev-> ga pač deletam kaj pa pol
[12:37] <msev-> tale  git commit -m "first commit" && git push ne dela
[12:37] <skyx> kaj ti pa napise?
[12:38] <speed-> git commit -am "ble"
[12:38] <speed-> lahko das
[12:38] <speed-> ce ne das git add
[12:38] <msev-> Your branch is up-to-date with 'origin/master'.
[12:38] <msev-> Changes not staged for commit:
[12:38] <msev-> 	deleted:    SunSkill/__init__.pyc
[12:38] <msev-> no changes added to commit
[12:40] <msev-> a pol speed- tvojo varianto prvo
[12:41] <msev-> speed-, nč se ni zgodl na githubu
[12:41] <msev-> a morm zj dat git push
[12:41] <skyx> msev-: http://stackoverflow.com/questions/9701238/git-how-delete-file-from-remote-repository?answertab=active#tab-top
[12:42] <msev-> yup je uspel tnx
[12:44] <skyx> ql
[12:44] <msev-> še forke se morm naučit handlat
[12:44] <skyx> msev-: kaj pa?
[12:44] <msev-> https://github.com/marksev1/Mycroft-SunSkill
[12:44] <jabuk2> GitHub - marksev1/Mycroft-SunSkill: relevant sun-times skill for Mycroft
[12:44] <jabuk2> Mycroft-SunSkill - relevant sun-times skill for Mycroft
[12:45] <msev-> a pr forkih samo pač forkaš pa pol kloniraš pa daš svoje change notr
[12:45] <msev-> pol pa pride vrjetn razlika k morš pull request nardit
[12:45] <msev-> pa to
[12:46] <skyx> ko naredis fork naredi pri tebi new repo z enakim imenom in pise da je fork
[12:46] <skyx> in imas svoj repo v katerem delas kar hoces potem pa PR
[12:49] <msev-> jp ql
[12:52] <msev-> very noice :)
[12:52] <msev-> ej skyx a si ti konkurenca od spacex :D
[12:53] <skyx> hehe lol :D
[12:53] <skyx> ne P
[12:53] <skyx> :P
[12:54] <msev-> ti si čist druga liga uni nimajo za burek
[12:55] <skyx> msev-: v originalu sem bil skynet pa je bilo ze zasedeno tako da sem potem kar x dal na konuc :D
[12:55] <skyx> koncu*
[12:55] <msev-> haha :D dobra
[13:02] <msev-> exo-open --working-directory %f --launch TerminalEmulator
[13:02] <msev-> kko že izberem default terminal emulator
[13:06] <msev-> nevermind
[13:06] <msev-> mi je ratal
[15:29] <yang> http://www.mtb.si/novice/4220-nov-hitrostni-rekord-na-serijskem-kolesu.html
[15:29] <jabuk2> Nov hitrostni rekord na serijskem kolesu
[15:29] <jabuk2> Markus Stöckl je šel dobesedno na glavo in mimo časomerilcev priletel s … kilometri na uro. Nov rekord "na suhem".
[16:25] <speed-> dobro mu je sel
[16:27] <speed-> skoraj kak ilka :)
[16:33] <yang> hehe
[16:49] <metalcamp> http://overapi.com/
[16:49] <jabuk2> OverAPI.com | Collecting all the cheat sheets
[16:49] <jabuk2> OverAPI.com is a site collecting all the cheatsheets,all!
[17:57] <yang> Tole je kdo igral ? https://en.wikipedia.org/wiki/Renegade_%28video_game%29
[18:05] <yang> https://www.youtube.com/watch?v=xmOKnH7Hx4A
[18:05] <jabuk2> Renegade - ZX Spectrum 128K - gameplay thru 35 levels - YouTube
[18:05] <jabuk2> I just had to make it. :) 35 levels in 128k version, score of over 0,5 milion points This is a legitimate gameplay video, it's just made out of 3 different a...
[18:46] <Matthai> hoj, eno vprašaje... ena kišta mi noče DNS resolvat
[18:46] <Matthai> nmcli device show pravi
[18:46] <Matthai> IP4.ADDRESS[1]:                         192.168.190.247/24
[18:46] <Matthai> IP4.GATEWAY:                            192.168.190.1
[18:46] <Matthai> IP4.DNS[1]:                             8.8.8.8
[18:46] <Matthai> IP4.DNS[2]:                             8.8.4.4
[18:46] <Matthai> se pravi po logiki bi moralo resolvanje delat?
[18:46] <yang> ja
[18:47] <Matthai> če rečem ping na IP, dela, če rečem ping na ime serverja,pa ne dela
[18:47] <yang> ker imas NAT-ano povezavo
[18:47] <yang> moras narediti prehod na zunanje omrezje
[18:47] <yang> to so privatni IPji IP4.ADDRESS in IP4.GATEWAY
[18:47] <Matthai> ne razumem
[18:48] <Matthai> ping www.slo-tech.com - ne dela
[18:48] <Matthai> ping 91.236.1.130 - DELA
[18:48] <yang> aha
[18:48] <yang> hm
[18:48] <Matthai> se pravi imam povezavo na omrežje
[18:48] <yang> imas ja
[18:48] <zdobbie> host www.slo-tech.com
[18:48] <zdobbie> kaj pravi?
[18:48] <Matthai> Could not resolve 'ports.ubuntu.com'
[18:48] <Matthai> reče po par minutah
[18:49] <Matthai> zdobbie, samo malo
[18:49] <yang> kaj imas v /etc/resolv.conf 8.8.8.8 in 8.8.4.4 ?
[18:49] <Matthai> še melje
[18:49] <Matthai> host www.slo-tech.com
[18:49] <Matthai> ;; connection timed out; no servers could be reached
[18:50] <Matthai> yang, da
[18:51] <yang> kaj pa ce vpises /sbin/route -n
[18:51] <zdobbie> do 8.8.8.8 ali 8.8.4.4 te spusti?
[18:51] <Matthai> Kernel IP routing table
[18:51] <Matthai> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
[18:51] <Matthai> 0.0.0.0         192.168.190.1   0.0.0.0         UG    600    0        0 wlan0
[18:51] <Matthai> 192.168.190.0   0.0.0.0         255.255.255.0   U     600    0        0 wlan0
[18:51] <yang> ping 8.8.8.8
[18:51] <Matthai> ping 8.8.8.8
[18:51] <Matthai> PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
[18:51] <Matthai> 64 bytes from 8.8.8.8: icmp_seq=1 ttl=58 time=61.0 ms
[18:51] <Matthai> 64 bytes from 8.8.8.8: icmp_seq=2 ttl=58 time=93.8 ms
[18:51] <Matthai> ja, susti
[18:51] <Matthai> spusti
[18:52] <yang> da ti morda NetworkManager daemon ne povozi /etc/resolv.conf nastavitev s kaksnimi svojimi...
[18:52] <Matthai> nmcli device show mi sicer pokaže wlan0, eth0, lo in tunl0 - tale zadnja ne vem kaj je
[18:52] <yang> tam potem pise # Managed by Network Manager
[18:53] <Matthai> yang, ja, ampak nmcli device show wlan0
[18:53] <Matthai> mi pravi
[18:53] <Matthai> IP4.DNS[1]:                             8.8.8.8
[18:53] <Matthai> IP4.DNS[2]:                             8.8.4.4
[18:54] <yang> cudno ker lahko pingas DNS
[18:54] <yang> resolva pa ne
[18:54] <yang> kaj tocno je zapisano v /etc/resolv.conf lahko pastas vse ?
[18:54] <Matthai> samo malo
[18:54] <Matthai> cat /etc/resolv.conf
[18:54] <Matthai> nameserver 8.8.8.8
[18:54] <Matthai> nameserver 8.8.4.4
[18:54] <Matthai> nameserver 193.2.4.247
[18:54] <Matthai> nameserver 193.2.4.248
[18:54] <yang> to zgleda ok
[18:55] <zdobbie> Matthai: probej tazadnji dve zakomentirat
[18:55] <zdobbie> al pa specificiraj DNS server v host komandi
[18:55] <zdobbie> host www.slo-tech.com 8.8.8.8
[18:56] <yang> naredi kot je svetoval zdobbie
[18:56] <Matthai> host www.slo-tech.com 8.8.8.8
[18:56] <Matthai> ;; connection timed out; no servers could be reached
[18:56] <Matthai> zakomentiral sem tudi
[18:56] <zdobbie> host -v www.slo-tech.com
[18:57] <yang> Matthai: imas morda firewall in port 53 slucajno blokiran ?
[18:57] <CrazyLemon> dig -x www.slo-tech.com | pastebinit :)
[18:57] <Matthai> host -v www.slo-tech.com
[18:57] <Matthai> Trying "www.slo-tech.com"
[18:57] <Matthai> ;; connection timed out; no servers could be reached
[18:57] <yang> dig @8.8.8.8 www.slo-tech.com any
[18:57] <zdobbie> host -T www.slo-tech.com
[18:58] <zdobbie> za TCP namest UDPja
[18:58] <zdobbie> probej se -4 in -6 specificirat
[18:58] <Matthai> ufw sem imel enablan, pa sem ga onemogočil
[18:59] <Matthai> host -T www.slo-tech.com
[18:59] <Matthai> ;; connection timed out; no servers could be reached
[18:59] <dk_> kaj dogaja?
[18:59] <Matthai> pač, fora je, da sem na to kišto povezan preko ssh
[18:59] <yang> "dig @8.8.8.8 www.slo-tech.com any"
[18:59] <zdobbie> hm
[18:59] <Matthai> dig @8.8.8.8 www.slo-tech.com any
[18:59] <Matthai> ; <<>> DiG 9.10.3-P4-Ubuntu <<>> @8.8.8.8 www.slo-tech.com any
[18:59] <Matthai> ; (1 server found)
[18:59] <Matthai> ;; global options: +cmd
[18:59] <Matthai> ;; connection timed out; no servers could be reached
[18:59] <yang> sumum da imas port 53 blokiran nekje
[19:00] <yang> 53 je DNS port
[19:00] <Matthai> http://pastebin.com/R6yJCf5h
[19:00] <jabuk2> sudo iptables -LChain INPUT (policy ACCEPT)targetprot opt source- Pastebin.com
[19:00] <Matthai> yang, vem
[19:01] <yang> kaj pa ce izklopis firewall je kaj drugace, ce takrat lahko resolvas, potem je v FW-ju problem
[19:03] <yang> "iptables -L -vn" pa daj na pastebin
[19:04] <skyx> kaj kej traceroute pravi?
[19:05] <yang> ce mu ne bi traceroute deloval tudi 8.8.8.8 ne bi uspel pingati
[19:08] <yang> Matthai: "dig +trace @8.8.8.8 www.slo-tech.com any"
[19:10] <yang> upam, da ga ni sesulo, ko je izklopil FW
[19:15] <Matthai> serm nazaj
[19:15] <Matthai> ne, to je en druga kišta
[19:16] <Matthai> http://pastebin.com/eqscYw4E
[19:16] <jabuk2> sudo iptables -L -vn[sudo] password for matej:Chain INPUT (policy ACCEPT 21 - Pastebin.com
[19:16] <matjaz> a si povezan direkt na net al prek kakšnega vpnja?
[19:16] <Matthai> direkt, preko wifija
[19:16] <Matthai> je pa res, da je tole armbian os
[19:17] <Matthai> fak
[19:17] <Matthai> faaaaak!
[19:17] <Matthai> v  /etc/resolv.conf
[19:17] <Matthai> sem dal v prvo vrstico IP od routerja
[19:17] <Matthai> in dela
[19:17] <Matthai> https://forum.armbian.com/index.php/topic/796-dns-resolving-in-customize-imagesh-worksworks-not-in-some-cases/
[19:17] <jabuk2> DNS resolving in customize-image.sh works/works not in some cases - Armbian build framework - Armbian forum
[19:17] <jabuk2> DNS resolving in customize-image.sh works/works not in some cases - posted in Armbian build framework: Hello,
[19:17] <jabuk2>  
[19:17] <jabuk2> Ive got a problem with DNS resolving and customize-image.sh.
[19:18] <jabuk2>  
[19:18] <jabuk2> One setup works (home), one setup does not (office).
[19:18] <jabuk2>  
[19:18] <jabuk2> Both setups are OS X (different major versions), Virtual Box (different major versions), Network Bridging and Ubuntu 14.04. Building images (Banana Pi M1/M2/R1 jessie next) without customize-image.sh works perfectly, espacially the ap...
[19:18] <Matthai> tole je bilo
[19:18] <matjaz> sam da si rešil
[19:18] <matjaz> sam pazi, resolv.conf se ponavadi generira avtomatsko
[19:18] <matjaz> ne vem kakšna je konfiguracija na armbian sicer
[19:20] <Matthai> ja, ampak tole meni ni normalno
[19:21] <Matthai> sicer nmcli lahko nastavim da je dns statičen glede na network
[19:21] <Matthai> ampak tole me je čisto iz tira vrglo
[19:21] <Matthai> :-)
[19:21] <matjaz> to ti je samo naštimalo tak resolv.conf z dhcp konfiguracijo?
[19:23] <matjaz> ker board maš to? ima vgrajen wifi senzor?
[19:23] <matjaz> senzor ...
[19:23] <matjaz> čip!
[19:28] <CrazyLemon> zdobbie si gledal Davida?
[19:28] <zdobbie> cega
[19:28] <CrazyLemon> zdobbie david brent?
[19:28] <CrazyLemon> life on the road?
[19:28] <zdobbie> ne, v officeu
[19:29] <CrazyLemon> .yt david brent life on the road
[19:29] <jabuk2> DAVID BRENT: LIFE ON THE ROAD - OFFICIAL TRAILER [HD] https://www.youtube.com/watch?v=2THODznVOt8
[19:30] <zdobbie> vem za film
[19:30] <zdobbie> looks shabby https://www.rottentomatoes.com/m/david_brent_life_on_the_road
[19:30] <matjaz> it's david brent, what did you expect?
[19:33] -gh-jablana:#ubuntu-si- [ircbot] CrazyLemon created fix/title-nbsp (+1 new commit): https://git.io/vDrGr
[19:33] -gh-jablana:#ubuntu-si- ircbot/fix/title-nbsp c2c59dd CrazyLemon: Lets ignore non-breaking space
[19:33] <zdobbie> merchant mu manjka
[19:33] <matjaz> men kot mjuzičar ni kul
[19:33] -gh-jablana:#ubuntu-si- [ircbot] CrazyLemon opened pull request #60: Lets ignore non-breaking space (master...fix/title-nbsp) https://git.io/vDrGi
[19:34] <zdobbie> "go and get the guitar"
[19:35] <CrazyLemon> a ve kdo za kak decent imdb/tomatoes api?
[19:37] <matjaz> pa more bit zastonj zastonj ane?
[19:37] <matjaz> brez API ključev
[19:37] <CrazyLemon> it would be nice yes :D
[19:40] <CrazyLemon> tale david..so awesome :D
[19:44] <zdobbie> CrazyLemon: pejt the office gledat
[19:45] <zdobbie> 10h materiala za dve sezoni
[19:45] <zdobbie> .yt david brent go get the guitar
[19:45] <jabuk2> The Office - David Brent - Go and get the guitar https://www.youtube.com/watch?v=fBUrL7Naxt8
[19:45] <CrazyLemon> zdobbie sj sm gledal..sam ne oriđinal
[19:45] <zdobbie> JFC
[19:45] <zdobbie> tole https://www.youtube.com/watch?v=h-wfO6_eq-A
[19:45] <zdobbie> CrazyLemon: US The Office je pac, US
[19:45] <zdobbie> razpotegnjeno pa razvodenelo
[19:46] <CrazyLemon> zdobbie but still fun!
[19:46] <zdobbie> ja, sam potrata casa
[19:46] <zdobbie> fun/h
[19:46] <zdobbie> tole https://www.youtube.com/watch?v=-WxU9Fw9TxY
[19:47] <zdobbie> me sides
[19:47] <zdobbie> z slovenskega netflixa so dol pobral, banda
[19:47] <jabuk2> M 1.3 > 20.km JV od ZGORNJEGA GRUŠKOVJA @12/02/2017 20:38:51  https://maps.google.com/?q=46.15+N,+16.04+E
[19:55] <Matthai> matjaz, ja, je wifi
[19:55] <Matthai> matjaz, https://pravokator.si/index.php/2017/02/10/orangepi-zero-kot-spletna-kamera/
[19:55] <Matthai> tale board je
[19:55] <matjaz> vgrajen wifi
[19:56] <matjaz> daj preveri čas
[19:56] <Matthai> date
[19:56] <Matthai> Sun Feb 12 20:56:43 CET 2017
[19:57] <yang> Matthai: mislim da je bil razlog v tem, da DNS query na portu 53 ne more nazaj k tvoji masini v NAT-u pripotovati, lahko pa pride do gatewaya...
[19:57] <matjaz> kul, vprašam zato, ker ma kar nekaj the boardov težave s časom
[19:57] <matjaz> rpi3 incl
[19:57] <matjaz> teh*
[19:58] <Matthai> vsi imajo, zato moraš htpdate laufat
[19:58] <yang> kkukr sem prebral manual tm
[19:58] <Matthai> da synca
[19:59] <yang> lahko pa seveda port 53 forwardiras na tvojo NAT-ano masino v tem primeru pa bo verjetno delovalo potem
[20:00] <Matthai> ja, samo tole je zelo glupo narejeno v resnici
[20:01] <yang> ja
[20:01] <yang> najbolje se je sicer losati NAT-a ce je moznost (zaprosit ISP za vec javnih IPjev) z NATom so naceloma samo tezave
[20:04] <Matthai> ja, samo te naprave imam jaz namenjene temu, da jih postavim v poljubno omrežje
[20:04] <Matthai> pa da se mi potem preko 443 porta na openvpn server povežejo
[20:05] <yang> lahko tudi probas nastimati IPv6, v tem primeru lahko potem promet poteka preko IPv6 ki nima NATa
[20:05] <Matthai> potem pa lahko preko tunela pridem v ta omrežja oziroma so dostopne samo preko VPN networka
[20:05] <Matthai> na eni teh napravic imam temperaturne senzorje za po hiši
[20:05] <yang> IPv6 promet ima prioriteto pred IPv4, ce je dual stack masina
[20:20] <idioterna> yang: od kdaj so pa z NAT tezave?
[20:21] <yang> od zmeri :)
[20:22] <idioterna> js se nism vidu
[20:23] <jabuk2> M 2.2 > 22.km  J od VARAŽDINA (HRVAŠKA @12/02/2017 21:17:06  https://maps.google.com/?q=46.11+N,+16.4+E
[20:36] <msev-> idioterna, dj pliz povej kdo je zejn no :D
[20:37] <msev-> da mu loh direkt težim a promet api :D
[20:37] <zdobbie> kdoe
[20:37] <zdobbie> kdor nic ne pije?
[20:38] <msev-> haha
[20:38] <msev-> ja res
[20:39] <yang> msev-: a pol ti je ratal tole izvest https://www.youtube.com/watch?v=xmOKnH7Hx4A#t=5m32s
[20:39] <msev-> ne sam danceal sm
[20:39] <msev-> :D
[20:39] <yang> pol nis dobu special bonusa
[20:41] <msev-> nope
[20:54] <CrazyLemon> zejn je tist k je jedu hruske
[21:05] <Matthai> ej, še eno python vprašanje bi imel... neki pogrepam po bazi in dobim časovne intervale, in sicer začetek intervala, konec intervala, temperatura
[21:05] <Matthai> torej: 12:00:00 13:00:00 22.6
[21:05] <Matthai> kako bi v pythonu izpis popravil, da bi pisalo 12 - 13
[21:05] <Matthai> brez :00:00
[21:06] <CrazyLemon> lahk bi uporabu split pa bi uporabu sam prvi del?
[21:06] <CrazyLemon> split(':')[0] or smth
[21:06] <CrazyLemon> sam če imaš to en sam string.. pol ne bo šlo tko :)
[21:07] <Matthai> aha, to jaz preberem iz baze in imam reading[0], reading[1]
[21:07] <CrazyLemon> reading[0] = '12:00:00' ?
[21:07] <Matthai> da
[21:09] <Matthai> se pravi: reading[0].split(':')[0] ?
[21:09] <Matthai> mislim, včeraj sem šele začel v pythonu programirat
[21:11] <CrazyLemon> Matthai yup
[21:11] <CrazyLemon> Matthai js tudi..sorta kinda :D
[21:11] <CrazyLemon> print reading[0].split(':')[0]
[21:11] <CrazyLemon> bi mogu izpisat 12
[21:12] <CrazyLemon> pol to preprosto shraniš v intervalStart intervalEnd etc.
[21:12] <CrazyLemon> če potrebuješ spremenljvke..če ne pa sam izpišeš or smth
[21:12] <Matthai> AttributeError: 'datetime.time' object has no attribute 'split'
[21:13] <CrazyLemon> zakaj je reading time object? :)
[21:14] <Matthai> aha, čaki
[21:15] <Matthai> http://pastebin.com/dSBwRUyu
[21:15] <jabuk2> [Python] # coding: utf-8# namesti: sudo apt-get install python-matplotlibimport s - Pastebin.com
[21:15] <msev-> ka pa je ta psycopg2
[21:15] <msev-> psyco :D
[21:16] <msev-> aha postgresql adapter
[21:16] <Matthai> torej, na RPi sem si nalotal dva temperaturna senzorja in potem včeraj sklamfal program, ki bi na 1 sekundo bere podatke in piše v bazo
[21:17] <Matthai> tole je 2. del, ki prebere iz baze
[21:17] <msev-> vidm ja
[21:17] <msev-> kam pa shranjuješ podatke
[21:18] <msev-> a na sd kartico :D
[21:18] <Matthai> v glavnem, ker nimam pojma o pythonu sem pač googlal in potem prilagajal najdeno svojim potrebam
[21:18] <Matthai> msev-, ja
[21:20] <msev-> to ni dobr Matthai k bo crknla sd kartica
[21:20] <msev-> zlo hitr, k nemara da se ful piše nanjo
[21:21] <CrazyLemon> Matthai kaj pa sploh vrne avg_hourly_temp ?
[21:21] <CrazyLemon> seznam?
[21:21] <Matthai> ne, povprečno emperaturo v tistem časovnem intervalu
[21:21] <CrazyLemon> Matthai torej 22.6 ?
[21:22] <Matthai> da
[21:22] <CrazyLemon> s kje dobiš pol 12:00:00 pa 13:00:00 ?
[21:22] <CrazyLemon> ker če daš for reading in avg_hourly_temp:
[21:22] <CrazyLemon> bo v readingu tisto kar je v avg_hourly_temp
[21:22] <CrazyLemon> torej 22.6
[21:23] <Matthai> jao, se pravi se brezveze kompliciral :-)
[21:23] <CrazyLemon> definitivno :D
[21:24] <matjaz> CrazyLemon, a si že šaltal na bs4? :)
[21:24] <CrazyLemon> matjaz ne..on my todo list :(
[21:24] <CrazyLemon> :)*
[21:25] <Matthai> CrazyLemon, aja, ne sem narobe prebral
[21:25] <msev-> a bs4 je beautifulsoup 4
[21:26] <Matthai> reading mi vrne tri elemente, prvi, 2. in 3. stolpec
[21:27] <Matthai> prva dva sta začetek in konec intervala, 3. pa je temperatura
[21:28] <CrazyLemon> Matthai dej pred tist for print avg_hourly_temp
[21:28] <CrazyLemon> pa nekam prilepi izpis prosim
[21:33] <Matthai> http://pastebin.com/zqPKD07z
[21:33] <jabuk2> [(datetime.time(11, 0), datetime.time(12, 0), Decimal('22.9022112211221122')), ( - Pastebin.com
[21:39] <msev-> a dht22 uporablaš
[21:41] <CrazyLemon> Matthai
[21:42] <CrazyLemon> moraš spremenit string tale datetime
[21:42] <Matthai> hmm, verjetno kar na bazi? ::text
[21:42] <CrazyLemon> https://repl.it/FhLf/1
[21:42] <jabuk2> repl.it - online REPL, Compiler & IDE
[21:42] <jabuk2> Powerful and simple online compiler, IDE, interpreter, and REPL. Code, compile, and run code in JavaScript, Python, Ruby, Java, Node.js, Go, Scheme, C, C#, C++, Lua, CoffeeScript and much more.and more programming languages.
[21:42] <CrazyLemon> Matthai ^
[21:43] <CrazyLemon> strftime pa določiš izpis časa
[21:43] <CrazyLemon> v tem primeru bi rad sam uro tko da je %H
[21:44] <Matthai> da best, deluje
[21:45] <Matthai> pa sem se še ene nove stvari naučil :-)
[21:45] <Matthai> tnx!
[21:45] <CrazyLemon> js tudi..nikoli ne uporabljat datetime.time :P
[21:45] <matjaz> zato se pač uporablja arrow :)
[21:45] <CrazyLemon> stop showing off!
[21:46] <matjaz> izpoguglej ga, boš vidu!
[21:46] <CrazyLemon> sej sm ga! lih!
[21:46] <CrazyLemon> berem! ok?
[21:46] <matjaz> CrazyLemon, vsaj eden
[21:46] <matjaz> *khm* msev- *khm*
[21:46] <Matthai> ok, next question will be... kako narisat graf iz tega :-)
[21:46] <msev-> ja arrow je zakon
[21:46] <Matthai> ampak ne vem, če bi to danes
[21:46] <Matthai> :-)
[21:47] <matjaz> Matthai, za grafe maš pa kup možnosti
[21:47] <msev-> mislm da hoče uporabt matplotlib
[21:47] <msev-> k ma že notr v skripti
[21:47] <matjaz> Matthai, https://github.com/vinta/awesome-python#data-visualization
[21:48] <matjaz> aja, ok, pol pa amtplotlib :Dž
[21:48] <matjaz> -ž
[21:48] <matjaz> matplotlib*
[21:48] <matjaz> ffs
[21:48] <msev-> fat fingerz
[21:48] <CrazyLemon> arrow zgleda kul :)
[21:48] <msev-> ja zakon je
[21:48] <msev-> js sm tut čist navdušen
[21:49] <CrazyLemon> ok..arrow sux..proof ^
[21:49] <msev-> humanize() je kul tut
[21:50] <CrazyLemon> https://scontent-fra3-1.xx.fbcdn.net/v/t1.0-9/16406457_10202949033962390_2252310773308233798_n.jpg?oh=f6bc0ef115eb418b2c86b5dab7f5f724&oe=5948B228
[21:50] <CrazyLemon> ahaha
[21:50] <CrazyLemon> https://scontent-fra3-1.xx.fbcdn.net/v/t1.0-9/16387955_10202949036202446_8323162967942235989_n.jpg?oh=c1ac403615d6cf77fa4fa33209210e70&oe=59445B90
[21:50] <CrazyLemon> so awesome :D
[21:50] <CrazyLemon> https://scontent-fra3-1.xx.fbcdn.net/v/t1.0-9/16473199_10202949037642482_7960625442302164293_n.jpg?oh=08e74d053579e4fb5fd6fd6922a49589&oe=5943917C
[21:50] <CrazyLemon> https://scontent-fra3-1.xx.fbcdn.net/v/t1.0-9/16427288_10202949037802486_1741005771778288219_n.jpg?oh=0d57e8b191ddcc790fbd46fed9a61e1d&oe=5907ECB3 <- najboljša do zdaj :D
[21:51] <matjaz> kva si to zaen pejdž zej  najdu :D
[21:52] <CrazyLemon> :D
[21:52] <CrazyLemon> same cvetke!
[21:52] <msev-> hecn sam ne zastopm fore unga dežnička
[21:53] <CrazyLemon> msev- seveda ne zastopiš..k nisi električar :D
[21:54] <idioterna> da ne hre wada na strom
[21:54] <msev-> aja haha dobra
[21:55] <Matthai> mnja, matplotlib je bila prva stvar, ki sem jo zgooglal
[21:55] <Matthai> če ima kdo boljšo idejo, I am listening :-)
[21:56] <msev-> nevem Grafana npr
[21:56] <msev-> da interfaceaš z Grafano za super-lepe grafe
[21:56] <msev-> al pa node-red dashboard za mal mn lepe ampak še kr lepe grafe
[21:56] <msev-> daš v mqtt in potem node-red dashboard
[21:56] <CrazyLemon> sure..kill him with a fork while you're at it
[21:56] <Matthai> ideja je,da bo na koncu toweb app
[21:57] <msev-> to nevem pol :D
[21:58] <matjaz> Matthai, ena izmed knjižnic na tistem linku mislim da dela .html pejdže z grafi
[21:59] <matjaz> nisem pa ziher
[21:59] <matjaz> jap, bokeh
[22:07] <msev-> Holly shizzle ta bokeh looks nice