slax0r | jutro | 05:36 |
---|---|---|
b4d | hi | 05:46 |
metalcamp | zdravo | 06:08 |
slax0r | z naravo | 06:14 |
pitastrudl | jutro | 06:36 |
napsy | lp | 06:36 |
slax0r | dz0ny: around? | 07:36 |
dz0ny | slax0r: ping | 07:40 |
slax0r | dz0ny: golang db relational mapper, yay or nay? | 07:48 |
dz0ny | well do you have people who don't know how to write sql? | 07:59 |
msev- | a je miška na dopustu :D | 08:02 |
speed- | hey msev- | 08:02 |
speed- | bi nam dal update ljubezenskih prigod 19.4? | 08:03 |
speed- | :p | 08:03 |
slax0r | dz0ny: not really | 08:03 |
msev- | ja nč speed- nč pretresljivega :D | 08:04 |
slax0r | gre se samo zato da potem z database/sql moras rocno mapirat v struct za json marshal | 08:05 |
speed- | msev- ok dan je dolg, go for it! | 08:05 |
slax0r | to je edina prednost ki jo vidim v tem, ampak nisem preprican da se splaca cel bloat vlacit zraven samo zaradi tega | 08:05 |
msev- | dons mam predavanja o alpinizmu | 08:05 |
msev- | nimam cajta za babe | 08:05 |
slax0r | :O | 08:06 |
msev- | bros before hoes | 08:07 |
slax0r | https://5.imimg.com/data5/PR/XX/MY-21853420/agriculture-hand-hoe-500x500.jpg | 08:09 |
slax0r | these hoes? | 08:09 |
msev- | the saying is also applicable to those yeah | 08:10 |
slax0r | dz0ny: o temle razmisljam: https://github.com/go-gorp/gorp | 08:13 |
jabuk5 | GitHub - go-gorp/gorp: Go Relational Persistence - an ORM-ish library for Go | 08:13 |
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:13 |
slax0r | ni ravno relation mapper, je nesto izmedzu | 08:13 |
b4d | msev-: katera je zdaj v igri? | 08:18 |
b4d | se vedno ista? | 08:18 |
b4d | se je spet ogrela | 08:18 |
b4d | je kaj pisala? | 08:18 |
dz0ny | slax0r: na go še nism uporabljal orm | 08:37 |
dz0ny | v pythonu ogromnu sqlalchemy | 08:37 |
dz0ny | k je full mapper | 08:38 |
dz0ny | pa se ponavad zatakne k porab ogromno rama itd | 08:38 |
dz0ny | te zadeve delajo tko da vse kar je v bazi spravjo v model | 08:38 |
dz0ny | in maš pol tam tisoče objektov | 08:38 |
dz0ny | čeprav sploh tistih podatkov nisi rabil | 08:39 |
dz0ny | recmo da ma user model 100 columnov, ti jih vse naloži iz db v model instanco | 08:39 |
dz0ny | čeprov si ti rabil sam billing _date | 08:39 |
dz0ny | jst se jih izogibam :) | 08:40 |
dz0ny | orm na sploh | 08:40 |
slax0r | dz0ny: ja saj, samo gorp recimo nalozi potem samo billing_date ker si dal samo to v sql | 08:45 |
dz0ny | sam to ni pol mapper | 08:48 |
dz0ny | k mapper mora vedno vse nalozit | 08:48 |
dz0ny | k drugace ne ve kdaj je en property res nil al pa Null | 08:48 |
dz0ny | slax0r: gledam https://github.com/go-gorp/gorp#mapping-structs-to-tables pa vidim da to pocne | 08:49 |
slax0r | samo mislim da bom sel z pure database/sql, pa potem bo mel vsak query .Scan(&foo.Bar,....) pa je to to | 08:49 |
jabuk5 | GitHub - go-gorp/gorp: Go Relational Persistence - an ORM-ish library for Go | 08:49 |
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:49 |
dz0ny | torej nalozi vse | 08:49 |
slax0r | ja, lahko pa mu podas SQL namesto samo structa in struct in ti napolni pridobljene fielde v struct, ostali pa majo pac default empty value | 08:50 |
slax0r | saj pravim, gorp ni ravno orm | 08:51 |
slax0r | ma ne vem, pure database/sql pa basta | 08:51 |
dz0ny | slax0r: problem maš da se morš zavedeat, aha jst sm pa tle sam to zahteval | 09:01 |
dz0ny | dost programerjev ma problem | 09:01 |
dz0ny | preveč complexity daš | 09:02 |
dz0ny | drgač je bla ena hn debata | 09:02 |
dz0ny | speed-: https://news.ycombinator.com/item?id=16809620 | 09:03 |
jabuk5 | Ask HN: Raw SQL vs. ORM? | Hacker News | 09:03 |
dz0ny | me | 09:03 |
dz0ny | slax0r: https://news.ycombinator.com/item?id=16809620 | 09:03 |
jabuk5 | Ask HN: Raw SQL vs. ORM? | Hacker News | 09:03 |
dz0ny | bol maš problem z transakcijami, k folk spet ne ve kaj se dogaja | 09:04 |
dz0ny | pa connection properties | 09:04 |
dz0ny | k je spet tak black magic | 09:04 |
dz0ny | če hočeš hitr updejtat value v db rabiš spet neki tretjega psiat | 09:04 |
dz0ny | "select on update " recmo | 09:04 |
msev- | b4d, ja še vedno ista, nevem če je lih ful segreta sam greva pa za vikend na izlet | 09:16 |
msev- | bom vidu če bo nakonc lupčk...če nau se ne bom neki več ukvarjal z njo :D | 09:16 |
slax0r | dz0ny: ne ljubi se mi ljudi ucit programirat, potem lahko sam sprogramiram | 09:21 |
slax0r | ce ne ve kaj je transakcija potem naj raje gre vstran od mene :) | 09:21 |
slax0r | sicer ne razumem kaj mislis z "dz0ny@: slax0r: problem maš da se morš zavedeat, aha jst sm pa tle sam to zahteval" | 09:22 |
dz0ny | pač vedt mora kaj v ozadju orm počne | 09:45 |
slax0r | dz0ny: nebo nic pocel, ker ga ne bo :) | 09:53 |
slax0r | https://github.com/pilu/fresh to poznas? | 09:53 |
jabuk5 | GitHub - pilu/fresh: Build and (re)start go web apps after saving/creating/deleting source files. | 09:53 |
jabuk5 | GitHub is where people build software. More than 27 million people use GitHub to discover, fork, and contribute to over 80 million projects. | 09:53 |
dz0ny | mam kr makefile, pa vscode run on save :) | 10:03 |
=== Guest48873 is now known as speed- | ||
slax0r | dz0ny: makefile ne dela na windoze al? | 10:28 |
dz0ny | pojma nimam | 10:29 |
dz0ny | kdo resen pa še razvija na windows :P | 10:29 |
slax0r | mja, to mas pravo, mam na zalost par "ne resnih" :) | 10:36 |
slax0r | s/pravo/prav | 10:40 |
speed- | windoze my love! | 11:01 |
slax0r | evo enega neresnega | 11:07 |
metalcamp | slax0r: si pomislil, da bi jim docker vturil? | 11:19 |
slax0r | metalcamp: ne, ni mi prislo na pamet | 11:26 |
slax0r | kaj pa mislis? :D | 11:26 |
slax0r | saj verjetno bojo itak docker uporabljali za go dev | 11:26 |
slax0r | kako bojo pa php in ostali shizzle delali pa mi je vseeno :D | 11:27 |
metalcamp | :D | 11:29 |
metalcamp | eno neumno vprašanje - imam en repo v katerem bi moral popraviti nekaj commit msgjev | 13:04 |
metalcamp | če rewordaš commit se spremeni tudi hash, ne? | 13:04 |
slax0r | en neumen odogovor, poguglaj | 13:06 |
slax0r | :D | 13:06 |
slax0r | afaik reword je v bistvu "discard commit and make a new one" | 13:07 |
slax0r | torej ja, nov hash | 13:07 |
metalcamp | vidiš, msev- je bil pionir na tem področju | 13:07 |
metalcamp | lažje je vprašati kot poguglati | 13:07 |
metalcamp | :D | 13:07 |
slax0r | vse nas je okuzil :) | 13:07 |
metalcamp | ja nič, zgleda bo to halt coding pa pull all the new stuff | 13:12 |
dz0ny | metalcamp: seveda se | 17:17 |
zdobbie | "Ob 18.08 je v naselju Škofja vas, občina Celje, osebno vozilo zbilo kolesarja." | 17:24 |
zdobbie | banda avtomobilska | 17:24 |
slax0r | zda te je povozu? | 18:29 |
slax0r | damn lag | 18:29 |
=== jimi_ is now known as Guest68591 | ||
CrazyLemon | https://funtech.si/si/iskalnik/?search_company=10043&squery=yd2&brand=535 | 19:28 |
jabuk5 | Funtech - Iskalnik | 19:28 |
jabuk5 | Specializirana spletna trgovina s profesionalno računalniško opremo, gamersko opremo in zabavno tehnologijo. | 19:28 |
CrazyLemon | cene so kr kul | 19:28 |
robert0 | hi | 20:41 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!