[05:52] <slax0r> jutro
[05:52] <slax0r> TGIF
[05:55] <napsy> ^ ditto
[06:34] <metalcamp> jutro
[06:36] <slax0r> to je res
[06:58] <speed-> hai
[06:58] <zdobbie> hjao
[06:58] <slax0r> hoi
[07:01] <dz0ny> CrazyLemon: a nis reku da pr teh ne naročat
[07:03] <slax0r> dz0ny: namocit nas hoce
[07:06] <dz0ny> vse za 1% popusta
[07:06] <dz0ny> ti influencerji zadnje čase:P
[07:08] <slax0r> yep
[07:21] <CrazyLemon> dz0ny ne spomnim se :D
[07:21] <CrazyLemon> mislim js sm vso robo vedno dobu :D
[07:22] <dz0ny> neki rami neki :P
[07:22] <CrazyLemon> ja..ram ni bil tapravi.. za ryzen :D
[07:23] <slax0r> dz0ny: preden spet nekaj uporabim, to pa vem da si mi ti priporocil, test2doc, je se vedno top shit? ali mas spet kaj novega?
[07:27] <dz0ny> vmes sem šel na chi/docs
[07:27] <dz0ny> zdej pa nekaj swagger gledam
[07:28] <dz0ny> pa ni blo top shit
[07:28] <dz0ny> sam neki kar je za silo delal
[07:29] <slax0r> ce mi je chi kar nekaj
[07:29] <slax0r> zaj sem na gorilla
[07:29] <dz0ny> https://github.com/swaggo/swag
[07:29] <jabuk5> GitHub - swaggo/swag: Automatically generate RESTful API documentation with Swagger 2.0 for Go.
[07:29] <jabuk5> GitHub is where people build software. More than 27 million people use GitHub to discover, fork, and contribute to over 80 million projects.
[07:30] <slax0r> samo to potem moram te annotatione v komentarje davat
[07:30] <slax0r> to mi je fugly
[07:30] <dz0ny> sej drugi majo vsi to
[07:30] <dz0ny> tud un test2doc
[07:30] <dz0ny> v bitvu test2doc
[07:30] <dz0ny> je čist isto kot swag
[07:31] <dz0ny> sam drugace jepoimenovano
[07:32] <slax0r> ne rabis annotationov
[07:32] <slax0r> komentarje prebere za description
[07:32] <dz0ny> jp
[07:32] <dz0ny> no sam če hočeš kaj več povedat
[07:32] <dz0ny> pol rabiš anotatione
[07:33] <dz0ny> CrazyLemon: hostile takeover https://i.imgur.com/aHGZrYr.png
[07:33] <dz0ny> maš kak svg od ubuntu logota okol _P
[07:33] <slax0r> to je res ja
[07:33] <slax0r> hmmm
[07:34] <slax0r> what to use :D
[07:34] <dz0ny> test2doc ti še json vrine not
[07:34] <dz0ny> k ga pr testih nucaš
[07:35] <dz0ny> sam sagger je pa tko standard že
[07:35] <dz0ny> da se kaj druzga tud ne upoaš uporabljat
[07:36] <slax0r> pa z tem lahko potem tudi mock/test requeste delam?
[07:37] <dz0ny> why not?
[07:37] <slax0r> ja ne vem, iz tega exampla zgleda pretty basic
[07:40] <dz0ny> bom probu zdej na arso api
[07:40] <dz0ny> da vidmo to čudo
[07:41] <slax0r> a nisi se sprobal? :D
[07:42] <CrazyLemon> dz0ny sm vidu ja :>
[07:43] <slax0r> http://petstore.swagger.io/
[07:43] <jabuk5> Swagger UI
[07:43] <slax0r> tu je en example
[07:44] <slax0r> ja nic, bom pa se jaz to sprobal :)
[07:45] <CrazyLemon> dz0ny https://send.firefox.com/download/1b7cd1d714/#lkWUGtxVCxhcFzpQkfd15w
[07:45] <jabuk5> Firefox Send
[07:45] <jabuk5> Encrypt and send files with a link that automatically expires to ensure your important documents don’t stay online forever.
[07:45] <CrazyLemon> you have one hour
[07:46] <CrazyLemon> oziroma en prenos!
[07:46] <CrazyLemon> zdaj bo zihr slax_0r kliknu
[07:47] <slax0r> bom, ker si narobe napisal moj nick
[08:14] <metalcamp> :dramatic_music_intensifies:
[08:26] <dz0ny> slax0r: magic https://i.imgur.com/zdhBs14.png
[08:26] <dz0ny> to je kr napredek
[08:28] <slax0r> je boljse kot test2doc?
[08:28] <slax0r> ker jaz se kar premlevam naprej in nazaj
[08:29] <dz0ny> slax0r: https://arso.herokuapp.com/swagger/index.html
[08:29] <jabuk5> Swagger UI
[08:29] <dz0ny> dost bolše
[08:30] <dz0ny> k ti dejasnko model publisha
[08:31] <slax0r> pa da se jaz probam
[08:31] <slax0r> more ta prvo annotation bit na main.main() ?
[08:31] <slax0r> prvi*
[08:31] <dz0ny> zgleda ja
[08:31] <dz0ny> ne ni nujno
[08:31] <slax0r> https://github.com/swaggo/swag/blob/master/example/basic/main.go tega mislim
[08:31] <jabuk5> swag/main.go at master · swaggo/swag · GitHub
[08:31] <jabuk5> GitHub is where people build software. More than 27 million people use GitHub to discover, fork, and contribute to over 80 million projects.
[08:32] <slax0r> ker moj main.main() samo spf13/cobra inicializira, tisti pravim main je pa app.main()
[08:32] <slax0r> no bom probal pa bom videl
[08:32] <dz0ny> ja
[08:32] <slax0r> bom preskocil teste
[08:32] <slax0r> pa to potem spisem :)
[08:32] <dz0ny> po moje mora bit sam znotraj projekta
[08:33] <dz0ny> sori en package
[08:44] <slax0r> aja cak, to swaggerja extra rabim ne? sem mislil da server tudi zgenerira :)
[08:52] <CrazyLemon> so much swag this morning
[09:44] <dz0ny> slax0r: nardi ti doc.go
[09:44] <dz0ny> ti sam handler nardis
[09:45] <dz0ny> kr neat hack
[09:45] <slax0r> ali pa pohostas .json :P
[09:49] <msev-> greš v hosto pa nabereš json
[10:14] <slax0r> dz0ny: evo, pa sem nasel omejitev
[10:15] <slax0r> ce das recimo kot return type nek struct ki vsebuje custom type = panic
[10:17] <dz0ny> pomen da ti manjka stringer :)
[10:17] <dz0ny> (*mytype) func String() string {}
[10:19] <slax0r> niti ne
[10:19] <dz0ny> jsoner?
[10:19] <dz0ny> kaj je ze un JSONMarshal
[10:19] <dz0ny> neki od tega zihr
[10:19] <dz0ny> sm ze mel problem
[10:21] <slax0r> https://ptpb.pw/cB4E/go
[10:21] <jabuk5> pb
[10:21] <slax0r> to je cel type definition
[10:23] <dz0ny> kaj ti pa cel panic vrne?
[10:23] <slax0r> panic je tukaj: https://github.com/swaggo/swag/blob/master/property.go#L23
[10:23] <jabuk5> swag/property.go at master · swaggo/swag · GitHub
[10:24] <jabuk5> GitHub is where people build software. More than 27 million people use GitHub to discover, fork, and contribute to over 80 million projects.
[10:25] <slax0r> https://ptpb.pw/hSEl
[10:25] <slax0r> to je pa panic output
[10:29] <slax0r> zato ker je type definiran v drugem package-u? o.O
[10:35] <slax0r> zanimivo, torej type mam common.JSONB je v drugem paketu in potem je panic, ce pa odstranim common. in seveda JSONB type ne obstaja v tem paketu, potem pa swag init gre skoz, ampak pac pri modelu izpise unknown type JSONB
[10:35] <slax0r> because, fuck logic
[10:37] <slax0r> zgleda bom moral malo refactorat kodo ce bom hotel da to dela
[10:40] <dz0ny> ah tocn
[10:40] <dz0ny> men je tud faila za tole XMLName       *xml.Name `xml:"data" json:",omitempty"`
[10:50] <dz0ny> slax0r: https://github.com/swaggo/swag/issues/104
[10:50] <jabuk5> panic: not supported 'astSelectorExpr' yet. · Issue #104 · swaggo/swag · GitHub
[10:50] <jabuk5> GitHub is where people build software. More than 27 million people use GitHub to discover, fork, and contribute to over 80 million projects.
[10:50] <dz0ny> mal pocak
[10:50] <dz0ny> k recmo tega primera ne mores resit z refactoring
[10:53] <slax0r> dz0ny: sem ga ze, do neke mere
[10:53] <slax0r> naslendji problem je ker je type JSONB []byte
[10:53] <slax0r> panic: ParseDefinitions not supported 'Array' yet.
[10:53] <dz0ny> xml v ticketu
[10:54] <slax0r> ja, zato ker je type iz drugega paketa, zato ti faila
[10:56] <slax0r> jaz sem prej mel kodo strukturirano kot, app/bundles/foo in app/common in foo je vseboval controlelr in model, common pa base controller in base model in base model je mel definiran type JSONB
[10:56] <slax0r> zdaj sem pa refactoral tako da mam app/controller in app/model in sta foo_controller in base controller v controller in v model foo model in base model
[10:56] <slax0r> sam ker je JSONB slice gre spet v franze
[11:03] <slax0r> upam da to hitro postima
[11:31] <msev-> kako je možno da iz enga sessiona iz enga kompa dela x11 forwarding iz druzga kompa pa ne
[11:31] <msev-> če je na serverju naštiman da forwarda x11
[11:34] <metalcamp> magic ¯\_(ツ)_/¯
[12:26] <msev-> lynxlynx, a bi šla mali-janc smerco al pa kj tazga :D
[14:23] <lynxlynx> msev-: jst ostajam na šodrovskih
[18:46] <Lurker69> https://www.independent.co.uk/arts-entertainment/music/news/avicii-dead-musician-dj-swedish-tim-bergling-how-where-a8314936.html
[18:46] <jabuk5> Avicii dead: Swedish DJ and musician passes away aged 28 | The Independent
[18:46] <jabuk5> Swedish-born producer and DJ known as Avicii has been found dead in Oman. The musician - born Tim Bergling - was 28. Avicii's publicist Diana Baron confirmed the news in a statement that the DJ was in Muscat, Oman when he passed away.
[18:48] <dz0ny> jp
[18:48] <dz0ny> CrazyLemon: https://imgur.com/a/VloqUKB
[18:48] <jabuk5> Imgur: The magic of the Internet
[18:48] <jabuk5> Post with 0 views.
[18:51] <CrazyLemon> dz0ny jp
[18:51] <CrazyLemon> kr pokaži saši :>
[18:51] <CrazyLemon> dz0ny lahk pa narediš kakšne screenshote za ubuntu.si
[18:51] <CrazyLemon> da zamenjamo unity
[18:52] <CrazyLemon> če maš še vedno default desktop
[18:57] <dz0ny> mam
[18:57] <dz0ny> sej to je unity
[18:58] <dz0ny> mislim default desktop
[18:58] <dz0ny> zdej sem že vrgu appe stran
[19:00] <dz0ny> CrazyLemon: https://imgur.com/a/MIaUWUv
[19:00] <jabuk5> Imgur: The magic of the Internet
[19:00] <jabuk5> Post with 0 views.
[19:03] <CrazyLemon> dz0ny kaj si vrgu stran
[19:05] <dz0ny> un player
[19:06] <dz0ny> CrazyLemon: https://imgur.com/a/Mw9cHtM
[19:06] <jabuk5> Imgur: The magic of the Internet
[19:06] <jabuk5> Post with 0 views.
[19:06] <CrazyLemon> dz0ny why so many uploads :D
[19:07] <CrazyLemon> če bi welcome pa whats new bili v slovenščini bi bilo veliko boljše :D
[19:07] <CrazyLemon> bila*
[19:16] <dz0ny> to je pa ta nova tema
[19:16] <dz0ny> https://i.imgur.com/zlzyPot.jpg
[19:16] <CrazyLemon> Na merilnem mestu Koper luka 30,5 stopinje C
[19:17] <CrazyLemon> dz0ny nova?
[19:17] <CrazyLemon> seems the same to me
[19:22] <pitastrudl> sem se danes malo igral z seamless mode v virtualboxu, kr kul stvar, si napišeš par shortcutov še zravn z vboxmanage pa je vse dost bolš
[19:23] <pitastrudl> je kaka dobra alternativa teamviewerju? v13 je native ampak šele neka preview verzija, 12ka je pa v wine-u in dela sam probleme
[19:25] <CrazyLemon> https://www.youtube.com/watch?v=aY-0uBIYYKk
[19:25] <jabuk5> TESS Mission - YouTube
[19:25] <jabuk5> SpaceX is targeting launch of NASA’s Transiting Exoplanet Survey Satellite (TESS) on Wednesday, April 18 from Space Launch Complex 40 (SLC-40) at Cape Canave...
[19:39] <CrazyLemon> what
[19:39] <CrazyLemon> avicii died?
[19:41] <e1e> hello
[19:50] <dz0ny> pitastrudl: chrome app
[19:50] <dz0ny> če hočeš sam view
[19:50] <pitastrudl> nah, hočem tut kontrolo met
[19:51] <pitastrudl> mogoče bi spet tightvnc sprobu
[19:51] <pitastrudl> teamviewer je kul, v12 ma edini problem da ne captura key kombinacij in pol ne moreš alt+tabat npr
[19:51] <pitastrudl> pa sm meu ta problem že dostkrat