IRC log of #novawebdev for Wednesday, 2018-04-11

*** replaceafill has joined #novawebdev10:20
*** zOnny has joined #novawebdev11:31
zOnnyreplaceafill: are you around ?11:44
replaceafillzOnny, yes11:44
zOnnyI am wondering if we can use the Board meeting that tendenci include in aea meetings option 11:45
replaceafillzOnny, you mean when you create events?11:46
zOnnyor should I just get the same table list for a while ? replaceafill 11:46
zOnnycorrect replaceafill 11:47
replaceafillzOnny, is this what you're talking about? http://aeava.org/templates/meetings-executive-board.php11:47
zOnnycorrect replaceafill 11:48
replaceafillzOnny, i think you could, have you shown the event options to jelkner?11:50
replaceafillzOnny, i think the more you "exploit" tendenci's features the better11:50
zOnnyI just want to make sure that we can use the options that tendenci already offers11:50
replaceafillzOnny, we should11:50
replaceafillzOnny, +1 from me on that11:50
zOnnybut yeah I should ask the customer first replaceafill 11:51
replaceafillzOnny, explain him the advantages11:52
replaceafillzOnny, if necessary you could use custom links that point to the calendar11:52
replaceafillzOnny, like this: https://demo.tendenci.com/events/board-meeting/11:52
replaceafillzOnny, that will filter all the events and show you only board-meeting's11:53
replaceafillzOnny, moving to the current month ofc11:53
zOnnyexactly that is what I am talking about11:53
replaceafillzOnny, the more you can show off the calendar, the better11:53
replaceafillzOnny, just for reference you can use any https://demo.tendenci.com/events/ + 'type-identifier-goes-here'11:54
zOnnyMost of events or meetings should have a target a calendar as many websites replaceafill 11:54
replaceafillzOnny, and you can customize types using the megamenu11:54
replaceafillzOnny, ype11:54
replaceafillyep11:54
replaceafillzOnny, i've been having this conflict with ORA11:54
replaceafillzOnny, internal conflict*11:55
replaceafillzOnny, i kind of like this layout: https://demo.tendenci.com/events/board-meeting/11:55
replaceafillzOnny, oops11:55
replaceafillzOnny, i meant this layout: https://ourrevolutionarlington.us/events.php11:55
replaceafillzOnny, and in tendenci the list view is not as awesome in my opinion11:56
replaceafillzOnny, https://demo.tendenci.com/events/search/?event_type=board-meeting&q=11:56
replaceafillzOnny, but we can improve it :)11:56
replaceafillzOnny, that last url is already filtering by type11:56
replaceafillzOnny, so you could also use it in a link in the navbar or wherever11:56
replaceafillzOnny, but i think you're in the right path if you want to reuse tendenci's features instead of creating custom pages11:57
zOnnycorrect, the first one looks pretty fancy 11:57
replaceafillzOnny, i think we could make the list view look similar to the ORA events page11:57
replaceafillzOnny, it's all templates after all :)11:57
replaceafillzOnny, but that's not a goal at the moment11:58
replaceafillzOnny, see how you can propose using the calendar11:58
zOnnycorrect, replaceafill 11:58
replaceafillzOnny, another option would be to have the calendar in the current layout11:58
replaceafillzOnny, and add some kind of popup there11:58
replaceafillzOnny, that shows you more information than the title11:58
zOnnyIn my case I thing tere not internal conflict at all replaceafill 11:58
zOnny*think11:58
replaceafillzOnny, good :)11:59
zOnny*there11:59
replaceafillzOnny, this is what i'd like to replace https://i.imgur.com/1aiyWoa.png12:00
replaceafillzOnny, with something like this: https://jqueryui.com/tooltip/#custom-content12:00
replaceafillzOnny, but that's far down the road :)12:00
replaceafillzOnny, btw, another reason to go with pure meetings to develop that page12:06
replaceafillzOnny, is that at some point they will like to have attendance12:07
replaceafillzOnny, tracked in those meetings12:07
zOnnyyou mean the tooltip showing the location ? replaceafill 12:07
replaceafillzOnny, yes, well, custom content as the tooltip, not maps specifically12:07
replaceafillzOnny, any html12:07
replaceafillzOnny, so you could have a bigger tooltip describing each event, showing picture + description12:08
replaceafillzOnny, it's only an idea12:08
replaceafillzOnny, for now let's stick to simple12:09
replaceafillzOnny, if you can sell the calendar right (and i think you could), we're in a good position12:09
replaceafillzOnny, there are many features events support12:09
replaceafillzOnny, RSVP12:09
replaceafillzOnny, attendance12:09
replaceafillzOnny, priced registration12:10
replaceafillzOnny, and i think AEA would be interested in those12:10
replaceafillzOnny, anything else you need to discuss?12:11
replaceafillzOnny, i need to go back to helios12:11
zOnnyabsolutelly! jelkner wants to bring them the best service  :)12:11
replaceafillzOnny, +112:12
zOnnythanks replaceafill thats it for me now.12:12
replaceafillzOnny, cool, good luck, i'll be around if you need me12:12
replaceafillzOnny, ttly12:12
replaceafillttyl12:12
*** mr_german has joined #novawebdev12:38
mr_germanreplaceafill, hello!12:51
mr_germanreplaceafill, I think, i have not anything to do, for now.12:52
replaceafillhey mr_german12:52
mr_germanjust wait for meet with12:52
mr_germanlouis12:52
replaceafillmr_german, cool12:52
replaceafillmr_german, you're free :D12:53
replaceafillmr_german, are you meeting today?12:53
mr_germanreplaceafill, yes12:54
replaceafillmr_german, cool, keep me posted12:54
mr_germanreplaceafill, I going to use this free time to test a few things in tendenci12:54
mr_germanreplaceafill, sure12:54
replaceafillmr_german, +112:55
mr_germanreplaceafill, I'm interested in tendenci8 with BS412:56
replaceafillmr_german, oh12:56
replaceafillmr_german, it's not there yet12:56
zOnnyhow to associate events ? :( someone ? please!12:57
zOnnynever mind I got it :)13:02
replaceafillmr_german, this is the closest i've seen it: https://github.com/aprildh31/tendenci/commits/master13:03
replaceafillmr_german, in case you want to dig :)13:03
replaceafillzOnny, associate events?13:03
replaceafillmr_german, *a way* would be to take tendenci8 branch and cherry pick those two last commits in april's branch13:05
replaceafillmr_german, but i'll leave that up to you :)13:05
mr_germanreplaceafill, oh thanks :D13:07
replaceafillmr_german, also: https://github.com/zostera/django-bootstrap413:07
replaceafillmr_german, in case you want to test it with plain django13:07
replaceafillok, back to tendenci, got distracted with an apache issue :/13:08
mr_germanreplaceafill, oh, this is cool13:08
mr_germanthanks again13:08
replaceafillmr_german, np13:09
*** replaceafill_ has joined #novawebdev15:02
*** zOnny has joined #novawebdev15:20
zOnnyhey replaceafill 15:20
replaceafillhey zOnny15:20
zOnnythere is a chance to set up a testing server for aea ? 15:21
replaceafillzOnny, sure15:21
replaceafillzOnny, i'll have it ready by tomorrow15:22
replaceafillzOnny, or sooner if i can15:22
zOnnyjelker will not like wait a see my laptop every time replaceafill 15:22
replaceafillzOnny, yeah, we need it anyway15:22
zOnnysure replaceafill 15:22
zOnnytake you time 15:23
replaceafillzOnny, i'll set up the _dev and _prod branches as usual and point them to the right places15:23
replaceafillzOnny, i'll ping you once it's ready15:23
replaceafillzOnny, and you need to learn how to access a django server in the same network15:24
replaceafillzOnny, so jelkner can connect to your laptop from his browser15:24
zOnnyhttps://paste.pound-python.org/show/ePBeUhgbtaBB40WELj8l/15:26
zOnnyI set up already in my laptop this branches replaceafill 15:26
replaceafillzOnny, did you branch those from the current master?15:27
zOnnyI took the master as a root15:27
zOnnycorrect replaceafill 15:28
replaceafillzOnny, you can push the _dev and _prod branches then15:28
replaceafillzOnny, so your changes land directly15:28
zOnnyyep replaceafill 15:28
zOnnyfirst to all I need get a aea_dev and push my zOnny/aea_cms there 15:31
zOnny*of15:31
zOnnyI did not create a aea_dev beacause we were pushing directly to _prod before 15:34
replaceafillzOnny, we should have both for each project15:35
replaceafillzOnny, even if we don't use _dev regularly15:35
mr_germanreplaceafill, did you shut down the intance for lee?15:53
mr_germandev-lee*15:53
replaceafillmr_german, oops, just restarted the server15:53
replaceafillmr_german, sorry15:53
mr_germanreplaceafill, oh, np15:53
replaceafillmr_german, it should be up15:53
replaceafillmr_german, now15:53
mr_germanreplaceafill, yep, thanks!15:53
replaceafillmr_german, i'm upgrading them all15:54
replaceafillmr_german, ping me when you're done using it please15:54
replaceafillmr_german, zOnny needs something set up there15:54
mr_germanreplaceafill, ok15:59
mr_germanreplaceafill, I am in a meeting15:59
mr_germanright now with louis15:59
replaceafillmr_german, kk15:59
zOnnyreplaceafill: I lose my mind in git :(16:01
replaceafillzOnny, we all do16:01
mr_germanreplaceafill, ok, my meeting is over16:10
mr_germanreplaceafill, go ahead16:10
mr_germanthanks!16:11
replaceafillmr_german, thank you and sorry again16:11
mr_germanreplaceafill, np :)16:11
replaceafillzOnny, ready https://aeava.novawebdevelopment.org/16:23
replaceafillzOnny, rebase master on your branch16:24
replaceafillzOnny, so you get the CI script change for AEA16:24
*** mjsir911 has joined #novawebdev16:36
*** jelkner has joined #novawebdev16:36
mjsir911hey replaceafill, /opt or /srv?16:36
jelknerreplaceafill, prepare for religious war ;-)16:36
mjsir911in regards to *served* data from apache16:36
replaceafilloh oh16:36
replaceafillACTION goes to hide16:36
replaceafillmjsir911, i've been doing everything from /opt16:37
replaceafillmjsir911, i have no idea what the standard is16:37
mjsir911I propose using /srv because its more fitting16:37
replaceafillmjsir911, can you explain the "fitting" part?16:38
jelknerjust to let you know, replaceafill, your the boss16:38
jelknerwe all have your back16:38
jelknerexcept mjsir911 16:38
replaceafill:D16:38
jelknerbut he wants a shot at convincing you16:38
mjsir911 /srv is said to be used for data that would be served by some sort of daemon16:38
mjsir911https://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/srv.html16:38
replaceafillmjsir911, why not /var/www?16:39
replaceafillmjsir911,  i mean, we're talking apache, right?16:39
mjsir911well /var/www was and still is the place most apache/http daemons look by default, but the FHS has evolved past that16:39
mjsir911web content isnt really *var*iable data16:40
replaceafillmjsir911, ok, what's the problem with /opt?16:41
mjsir911its not the place for what we want16:41
mjsir911https://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/opt.html16:41
mjsir911opt is typically used for optional addons16:41
replaceafillmjsir911, can you mention one practical advantage of /srv vs /opt?16:42
mjsir911there is no practical advantage to any of this, its purely semantics16:42
replaceafillmjsir911, i mean, if we're setting up everything from scratch16:42
replaceafillmjsir911, the new tendenci docs in fact use /srv16:45
replaceafillmjsir911, https://github.com/tendenci/tendenci/blob/tendenci8/docs/source/installation/installation.txt#L139-L14316:45
replaceafillmjsir911, the old ones used /var/www16:45
mjsir911yea, that seems to be the pattern16:46
mjsir911/var/www -> /srv/www16:46
replaceafillmjsir911, i have no problem in changing if you strongly recommend it16:46
mjsir911although they just use srv as the top level16:46
mjsir911I do, but I suggest we transition slowly as to not break anything16:46
mjsir911I've typically just set up symlinks to wherever people expect things to be16:47
replaceafillmjsir911, oh yeah, i didn't mean *now*16:47
mjsir911cool, so we're in agreement16:47
replaceafillmjsir911, well...16:48
replaceafillmjsir911, yes :)16:48
replaceafillmjsir911, i know about the FHS16:48
mjsir911yea buts its all very grey and up for interpretation16:48
replaceafillmjsir911, it's like... as long as the software works and more importantly THE SET UP IS DOCUMENTED16:48
replaceafillmjsir911, i'm fine either way16:48
mjsir911cool, thanks for clarification16:49
replaceafillmjsir911, the documentation part is where i usually slip :(16:49
replaceafillmjsir911, so any process you could share or recommend in that regard would be appreciated16:50
mjsir911what, in documentation?16:50
replaceafillmjsir911, yes, documenting infrastructure16:50
mjsir911I have as much of a problem documenting as you do, I end up just putting my name in apache's config file16:51
mjsir911around some lines that I've changed16:51
replaceafillmjsir911, i meant more of trying to solve the "oh no a spider killed our lead developer" type of problem16:51
replaceafillmjsir911, and nobody else knows where things are16:52
mjsir911yea I'm not sure, suggesting to look in the config to where things are is out of a question?16:52
replaceafillmjsir911, the comment in the apache config is a few steps further than that16:52
mjsir911well this is a genuine question since it's not really a place for a git repo16:53
mjsir911because the git repo is independent of the server16:53
replaceafillmjsir911, right, git is sometimes how i've seen it solved, but there must be something more appropriate16:54
replaceafillmjsir911, anyway16:54
mjsir911Jeff suggests to just have a set of standards16:54
mjsir911I think it would be reasonable to say `/srv/<some name related to project>`, if nothing is there check `/opt/<same thing>`, and lastly `/var/www/something`16:54
replaceafillmjsir911, what standard should i use to tell the new guy we're using linode and have 3 accounts?16:55
mjsir911huh?16:55
replaceafillmjsir911, oh, we're still in the /srv conversation :D16:55
mjsir911Well just as an example of standards16:55
replaceafillmjsir911, i understand that, but how was the new guy able to get to the server in the first place16:56
mjsir911ohhhhh16:56
mjsir911I see16:56
replaceafillmjsir911, assume nobody knows anything about the infrastructure16:56
mjsir911yea16:56
replaceafillmjsir911, vs the ideal case16:56
replaceafillmjsir911, i'll change my set ups to start pointing to /srv16:56
mjsir911if you don't have access to a linode you can change the root password through web interface16:57
mjsir911and we all have access to linode16:58
replaceafillmjsir911, i know16:58
replaceafillmjsir911, i still think we have a serious documentation problem16:59
replaceafillmjsir911, even if zOnny says our docs rock16:59
mjsir911I completely agree, but most things have documentation problems16:59
replaceafillmjsir911, if you bring someone new onboard, there's no place to point them16:59
mjsir911Do we have a novawebdev standards repo?17:00
mjsir911might as well get started now17:00
replaceafillmjsir911, ehhh nope17:00
replaceafillmjsir911, i've been trying to tell zOnny and mr_german to use 4 spaces and no TABs for some time ;)17:00
mjsir911I'll do that right now, might as well get started now17:01
replaceafillmjsir911, +117:01
replaceafillmjsir911, i'll follow17:01
replaceafillmjsir911, unlike what jelkner said, i'm no boss17:01
mjsir911what text editor do you use?17:01
replaceafillmjsir911, because i have no idea what i'm doing17:01
replaceafillmjsir911, oh no! this is going to get hairy17:01
replaceafillmjsir911, emacs24-nox17:01
mjsir911I'm just thinking, standard .vimrc :)17:01
mjsir911heh ok ill let you deal with that17:02
replaceafill:))17:02
replaceafillmjsir911, zOnny can use a few vim "modes"17:02
replaceafillmjsir911, for his editing17:02
mjsir911yea, it would be good to just have the editor do the standards for us17:02
replaceafillmjsir911, +1 and git hooks to catch them17:03
mjsir911Ooh I like that17:03
replaceafillmjsir911, that would help with mr_german using sublime text17:03
mjsir911Do we have a standard git repository layout?17:03
replaceafillmjsir911, nope17:04
mjsir911I've set up my local machine to start git repos with a src and README.md17:04
replaceafillmjsir911, it depends doesn't it?17:04
mjsir911yea17:04
replaceafillmjsir911, i mean, gitignore for python vs a tendenci theme17:04
mjsir911gitlab has templates for exactly this I think17:04
mjsir911[heh](https://google.github.io/styleguide/htmlcssguide.html#Optional_Tags)17:22
replaceafillmjsir911, https://docs.google.com/document/d/1gvehiyysgk2ArWHApg8MbjuHz36LWvh_-BL2foGnziU/edit17:26
replaceafillmjsir911, we got to the same doc :)17:26
mjsir911Thanks, will put in git17:26
mjsir911but specifically the section I linked suggests to not close the ending html tags17:26
replaceafillmy damn editor doesn't understand that yet :'(17:27
mjsir911yea i dont think thats good html code17:27
replaceafilloh! *optional* tags!17:28
replaceafilli thought it was "empty" ones17:28
replaceafillimg, link, meta17:28
zOnnyreplaceafill: git question17:28
replaceafillzOnny, aren't you and mjsir911 in the same physical space?!?!17:29
replaceafillzOnny, mjsir911 knows more about git17:29
zOnnyI understand17:29
replaceafillzOnny, not trying to be an a**, just providing the best "resource" available :P17:30
mjsir911in the classroom we're in like 4 conversations at the same time17:31
mjsir911at our physical location17:31
replaceafillmjsir911, zOnny envy you guys...17:32
jelknerreplaceafill, ourrevolutionarlington.us is down17:32
jelkneri'm composing an email to rand wilson17:32
replaceafilljelkner, i'm upgrading it17:32
replaceafilljelkner, hold on17:32
jelkneri want to show him our *working* tendenci sites17:32
jelknerwe have basically 3, yes?17:32
jelknernea4or.us17:32
jelknernovalaciro.org17:33
jelknerand (soon), ourrevolutionarlington.us17:33
jelkneris that accurate?17:33
replaceafilljelkner, can you define "working"?17:33
replaceafilljelkner, the site is back btw17:33
jelknersimply a url that a customer can see that "works"17:34
jelknerwhat is ambiguous about that?17:34
replaceafilljelkner, the (soon) part17:34
replaceafilljelkner, members.ourrevolutionarlington.us is tendenci and is being used17:34
jelkneri meant as soon as you made it work again ;-)17:34
replaceafilljelkner, ah17:34
replaceafilljelkner, lol17:34
replaceafilljelkner, ok17:34
replaceafilljelkner, it's up now17:35
jelkneryes, i saw that17:38
jelknerthanks!17:38
mjsir911replaceafill: question for your17:41
mjsir911"Don’t use meaningless block separator comments17:41
mjsir911"17:41
replaceafilljelkner, https://leecarter-dev.novawebdevelopment.org/17:41
replaceafilljelkner, fwiw that's tendenci too17:41
replaceafillmjsir911, well, yeah17:41
mjsir911what do you mean by that17:41
replaceafillmjsir911, i hate having to "maintain" that kind of comments17:41
replaceafillmjsir911, thinks like <!----- start footer ------>17:42
replaceafillmjsir911, then <footer>....</footer>17:42
mjsir911let me get an example...17:42
replaceafillmjsir911, <!----- end footer --->17:42
replaceafillmjsir911, https://gitlab.com/novawebdevelopment/nova-base-theme/blob/master/templates/homepage.html#L13217:43
mjsir911Don’t use meaningless block separator comments17:43
mjsir911oops17:43
mjsir911https://gitlab.com/edzon.quinteros/TWSBA-Forms/blob/master/css/global.css#L7317:43
mjsir911what about that^17:43
replaceafillmjsir911, well, it's not exactly the same, but i don't see any advantage to creating a tooltips.css file17:44
replaceafillmjsir911, and just import that17:44
mjsir911which would be preferred?17:44
replaceafillmjsir911, if the block is so important to you, move it out17:44
mjsir911ok, thanks17:44
replaceafillmjsir911, you need to understand how css debugging happens usually17:45
replaceafillmjsir911, we usually start at the developer tools in the browser17:45
replaceafillmjsir911, which can even point you to the line you're looking for because you clicked the element you're interested on17:45
replaceafillmjsir911, then you go to the editor and look for that line or css selector17:46
mjsir911yea but either all in one file or all in multiple files works the same way that way17:46
replaceafillmjsir911, yeah, after all this is a "global" file17:46
replaceafillmjsir911, meaning "put whatever you please inside"17:47
replaceafillmjsir911, if it was called colors.css17:47
replaceafillmjsir911, then probably a float: left doesn't make sense there17:47
replaceafillmjsir911, there are "standards" that deal with this17:47
mjsir911but for this specific file, you would suggest seperating it out?17:48
replaceafillmjsir911, why does the developer think the structure is important17:48
replaceafillzOnny, how a comment like /*======= [ TOOLTIPS ] =========*/ helps you17:49
replaceafillzOnny, i mean, if you have the "[data-tip]" right in the next line17:49
replaceafillmjsir911, bottom line, i'm fine with people doing it, i just find it unnecessary17:50
mjsir911ok, thanks for the clarification17:51
mjsir911zOnny is just ignoring you because he has no explanation17:51
replaceafilldamn zOnny!17:51
replaceafill:)17:51
mr_germanlol17:51
replaceafillhey we can as mr_german too!17:51
replaceafill:D17:51
mr_germanyes? replaceafill 17:52
replaceafillmr_german, it was a joke17:52
replaceafillmjsir911, zOnny mr_german for reference: https://smacss.com/17:52
replaceafillthat's just one of them17:52
replaceafillthere are several17:52
replaceafilland i think using an approach like that could help us get rid of the structure comments, at least in css17:52
mjsir911is gitlab having some problems today?17:53
replaceafillmjsir911, not that i have noticed17:53
jelknerreplaceafill, just emailed rand wilson17:58
replaceafilljelkner, i just read it17:58
jelknerbcc u and lelkneralfaro17:59
jelkneri've been busy trying to reach the national or office for lit17:59
jelknerno luck so far17:59
jelknerbut i have a week17:59
jelknerso i'll keep working on it17:59
jelknermy "b plan" will be a rush job with nrcerna this weekend18:00
jelknerto produce our own flier18:00
jelknerso when you talk to her, ask her to be ready if she can18:00
jelknerplease18:00
replaceafilljelkner, when would you need her?18:01
jelkneri would need to print the flier by Tuesday18:02
jelkneror Wednesday at the very latest drop dead date18:02
replaceafilljelkner, ok18:02
replaceafilljelkner, i'll give her a call tonight18:02
replaceafilljelkner, and ask her if she's free during the weekend18:03
jelknerthanks, man!18:03
replaceafilljelkner, and let you know tomorrow what she said18:03
jelknersuper18:03
jelknertalk to you tomorrow, replaceafill 18:06
replaceafillsee you tomorrow jelkner18:06
jelkneri'm signing off for today18:06
replaceafilljelkner, cool18:06
jelknerACTION signs off for the day18:07
*** mjsir911 has joined #novawebdev18:39
*** zOnny has joined #novawebdev19:49
*** mjsir911 has joined #novawebdev22:17

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!