IRC log of #jetrowebdev for Friday, 2026-01-23

KaraaaaaClean Code Episode 2 Notes05:49
KaraaaaaNames should reveal intent05:49
Karaaaaashouldn't need comments with sufficient names05:49
Karaaaaaif the purpose changes, so should the name05:49
Karaaaaanames are communications tools that should be clearly pronounceable05:49
Karaaaaaprefixes are unnecessary05:49
Karaaaaaclasses and variables are nouns, methods are verbs, booleans are predicates, but if a method returns a boolean, it should be written as a predicate, accessors use get then noun, properties should be nouns or predicates if boolean, enums should be adjectives05:49
Karaaaaaif a variable is only used near its declaration, it is ok to make it short so it is less redundant05:49
Karaaaaascope should be proportional to name length for variables05:49
Karaaaaafunctions and class names should be inversely proportional to scope05:49
KaraaaaaAvoid disinformation05:49
Karaaaaaavoid encodings05:49
Karaaaaaclean code should always read like well-written prose05:49
Karaaaaamy notes for clean code episode 205:49
*** Karaaaaa has quit (None)05:49
*** dcammue has quit (Ping timeout: 480 seconds)09:38
svayeGood morning dcammue fkoikoi and jkollie 11:51
jelknerGood day Jetro websters!11:52
jelknerCan we talk about fkoikoi's email?11:52
thomasboimahGood morning jelkner 11:52
fkoikoiGood morning jelkner 11:52
jelknerthomasboimah: can we?11:53
thomasboimahsure11:53
jelknerdid you get to read it?11:53
thomasboimahYes11:53
thomasboimahIt is about Decidim11:53
jelkner+111:53
jkollieGood morning everyone11:54
jelknerSo let me first say i was thrilled to read "but I'm back now"!11:54
jelknerit is so much better to work in pairs11:54
jelknerso i'm happy that jkollie won't have to work alone11:54
jelkneri think fkoikoi11:55
jelkneris making a wonderful proposal11:55
jelknerand if y'all agree, the question then becomes logistics11:55
jelknerhow to we implement her plan?11:55
jelknerthomasboimah: as you know, i describe the NOVA Web business plan as "Walking on two legs"11:56
jelknerone leg is Django custom web development11:56
thomasboimahand Decidim11:56
jelknerthe other leg is Decidim support11:56
jelknerso the only way i can see to implement fkoikoi's proposal is for Tony to set up a decidim for Jetro and NOVA to use again11:57
thomasboimahyep!11:57
jelkneror, for Jetro to use the NoVASEN Decidim we already have11:57
jelknerthere are advantages and disadvantages to both approaches11:58
jelknerlet me ask you a very practical question thomasboimah 11:58
jelknercan you support jkollie and fkoikoi attending a Jitsi meeting tomorrow at 22:00 UTC?11:59
jelkneri'm reluctant to do that11:59
thomasboimahyes i set that up this gone time. I was hoping we can try it you and I11:59
jelknerbecause we can't have you closing the meeting for everyone like you did last time! ;-)11:59
thomasboimahlol11:59
jkollieI think it will be okay if Tony can set up  a decidim for jetro11:59
jelkneryou don't need to be a host, thomasboimah 12:00
jelkneri'll do that12:00
jelknerthey just need to join the meeting12:00
jelknerlet's think this through12:00
jelknerwe could just have me bring up the question on my own12:00
jkollieor we can use the nova web site that is not being use right now12:00
jelkner+112:00
jelknerwe could do that12:00
jelknerbut it needs work12:00
jelknerso the question still comes back to us about that12:01
jelknerwe are trying to focus all our effort on the NoVASEN site12:01
mulbahYesterday I when through the business tracker code and I run it and add some invoice and Partner and try to understand the code base12:01
dcammueYes, that way you will be the last to leave the meeting because everyone will be listening and hosted by you12:01
mulbahACTION done 12:01
jelknerif we do a lot of things poorly, we won't get as much benefit as we will doing a few things well12:01
jelknerdcammue: i'm concerned with bandwidth issues12:02
jelkneri was thinking we shouldn't try this until you had the office setup12:02
jelknerand starlink even12:02
jelknerbecause we can't have people dropping connections and rejoining over and over12:03
dcammueCan we try it later today? We are wt the office right now12:03
jelknerit is disruptive to the work flow12:03
jelknerand lowers to the benefit of the meeting12:03
jelknerit also makes if feel frustrating instead of motivating12:03
dcammueOr can we try it now?12:03
jelknernot now, dcammue 12:03
jelknerbut tomorrow yes12:03
jelkneri need to teach in a few minutes12:04
jelknerwe are expecting a big snow storm on sunday12:04
dcammueJust like 5 minutes. Not long12:04
svayejelkner, dcammue fkoikoi and I tried the jisti call on monday and it wasn't bad12:04
jelknerok, let's give it a try12:05
jelknerhold on12:05
jelkneri'm old and i'm SLOW! :-(12:05
dcammueNot for jetro only svaye, for jeff to get us clearly 12:05
jelkneryes dcammue 12:05
jelknerthat's the issue12:05
thomasboimahhttps://meet.mayfirst.org/jetrotest12:06
svayelet's try it then12:06
dcammueTry this jeff12:06
dcammueTry the link jeff12:07
jelknerno, dcammue 12:07
jelkneryou try this link: https://meet.mayfirst.org/DecidimMiniSummit12:07
jelknerthat's the one we will be using tomorrow12:08
jelkneri just started the meeting12:08
jelknerwe don't want you to start the meeting12:08
*** mulbah has quit (Ping timeout: 480 seconds)12:16
jelknergreat seeing you!!!12:20
jelkneri love the place12:20
thomasboimahsure12:21
jelknercan't wait to get there!12:21
jelknerok, gotta go12:21
thomasboimahWE can't wait to see you too12:21
svayeHave a wonderful day jelkner 12:21
jelknerplease put the meeting in the NOVA Web Calendar12:21
jelkneryou too!12:21
dcammueOkay12:21
jelknerACTION signs off...12:21
*** jelkner has quit (Quit: Leaving)12:21
dcammueGreat day12:21
*** svaye has quit (Quit: Leaving)12:22
*** BigBrother has joined #jetrowebdev13:16
jelknerhello thomasboimah, so glad you're here!13:21
thomasboimahHello jelkner 13:21
jelknercan you please check irclogs.novawebdevelopment.coop ?13:21
jelknerit seems to be down13:21
jelknerthat's BAD!13:21
jelkneri rely on those logs all the time13:21
thomasboimahyeah it is down i am transfer it to mayfirst13:21
jelknerah, never mind13:21
jelknerthat's great13:21
jelkneri'll be patient13:21
thomasboimahOkay Cheif13:22
jelknerLOL13:22
thomasboimahlol13:22
jelknercan you give me an ETA?13:22
jelkneri'm working on my VISA application13:22
jelknerwe put the office address in the chat13:22
jelknerso i was going to look it up so i could fill out he form13:22
thomasboimahAbout 2hr13:23
thomasboimahBecause the DNS need to prepagate13:24
thomasboimah*propagate13:25
thomasboimahjelkner, it is up now13:47
thomasboimahyou can get the info you need from there13:48
thomasboimahjelkner, are you here?13:48
jkolliejelkner13:54
*** thomasboimah has quit (Quit: Leaving)13:57
*** jkollie has quit (Quit: Leaving)14:31
*** gabriel_jetro has quit (Ping timeout: 480 seconds)14:36
*** svaye has quit (Quit: Leaving)14:38
jelknerthomasboimah: the irc logs are back up. Have they been moved to MayFirst?14:53
thomasboimahNot yet but soon14:58
*** thomasboimah has left #jetrowebdev (None)15:03
*** gabriel_jetro has quit (Ping timeout: 480 seconds)15:16
jelknerhello gabriel_jetro 16:29
gabriel_jetroGreetings, jelkner, how're you this evening?16:29
jelknerare mulbah and thomas joining us for the next exciting episode of Clean Code?16:30
jelknerJosh just arrived16:30
jelknerand Kara and Ben will be here shortly16:30
jelkneri've got it queued up already16:30
gabriel_jetrois it episode 4?16:31
thomasboimahHi16:32
jgurarahi16:33
jelknerhi thomasboimah 16:33
jelknereveryone is here16:33
thomasboimahOkay16:34
jelknerthis episode is 1:34 minutes long16:34
jelknerclass isn't that long16:34
thomasboimahYep16:34
jelknerso we won't finish16:34
jelknerwe'll have to continue16:34
jelkneris mulbh coming?16:35
jelknermulbah16:35
thomasboimahNot too sure about16:35
thomasboimahThat16:35
Karaaaaahello thomasboimah 16:35
thomasboimahBut I can give him a call16:35
thomasboimahHello karaaaaa16:36
*** fkoikoi has quit (Ping timeout: 480 seconds)16:36
Penrosianhello!16:37
gabriel_jetroHello karaaaaa and everyone16:37
jelknerok, we'll assume mulbah is not with us16:37
gabriel_jetrothomasboimah check inbox16:37
jelkneri'll go over to the computer16:37
Karaaaaahello gabriel_jetro!16:38
jelkneryou can tell them to tell me to start16:38
Karaaaaaready?16:38
thomasboimah+116:38
Penrosian316:38
Penrosian216:38
Penrosian116:38
Penrosiango16:38
*** gabriel_jetro has quit (Remote host closed the connection)16:39
jelknerCunningham's rule: your code should do just what you'd expect16:43
jelknerkeep the number of function arguments to a minimum16:44
jelkneras few arguments as possible16:44
jgurara3 arguments max16:44
gabriel_jetro+116:44
jgurarano boolean arguments16:46
jgurarainstead, write two functions, one forthe true case, one for the false case16:46
Karaaaaapass data out in return value 16:48
Karaaaaamake two functions instead of passing null values16:50
jgurarapublic at top, private at bottom16:52
Karaaaaafunction calls should point down the listing with public high level functions at the top and private and increasingly detailed toward the bottom16:54
*** Penrosian has quit (Remote host closed the connection)16:55
gabriel_jetro+116:55
jgurarapolymorphic interface17:06
jguraraswitch statements fan-out, if one of the modules is changed, it can cause problems17:08
Karaaaaalow-level details should be separate from core application17:09
jguraradependency injection17:10
gabriel_jetrofunctional programming tell us to write program with no assignment statement17:17
gabriel_jetroby passing a value into a set of function, or loop it through a set of function17:18
jguraratemporal coupling - do things in a specific order, example is open then close17:20
gabriel_jetro+117:20
gabriel_jetroside effect are advice to not be eliminated....17:22
jelknerFunctions that change state, should not return values17:22
jelknerFunctions that return values, should not change state17:23
jelknerQCS17:23
jelknerQuery-Command Separation17:23
jelkneroops, CQS17:25
jelkneri had the order backwards17:25
jelknerTell, don't ask17:26
jelknerTell objects what to do, don't ask them for their state17:27
Karaaaaadont call methods of an object returned by a previous method call17:29
jguraraThe Law of Demeter17:29
gabriel_jetrothe law of demeter tell us it a bad idea for a single function to know the entire navigation structure of a system 17:30
jgurarasequence, selection, iteration17:33
gabriel_jetrofor example we just need to tell the function what to do..... "o.dosomething()";17:33
Karaaaaawere stopping here for now17:36
Karaaaaawe'll start with the error-handling part next time17:36
gabriel_jetrookay...17:39
jelknerok dcammue, did you add our meeting to the calendar yet?17:39
jelkneri haven't looked ;-)17:39
dcammueYes17:40
dcammueI did17:41
jelkneri just edited it a bit17:42
jelkneryou had it as an all day event17:42
dcammueOkay17:42
jelkneri changed it to 10 am to 12 noon EST17:42
jelknerand put in the notes 15:00 to 17:00 UTC17:42
jelknercool, i'll see you there17:42
jelknerthomasboimah, gabriel_jetro, we don't know when we'll meet next17:43
jelknerit all depends on the weather17:43
thomasboimahOkay17:43
gabriel_jetrookay17:43
jelknerbut i'll be home, and on irc a lot, while we are off17:43
thomasboimahIf anything you can let us know through mail17:43
jelkneraccept for the day i got to the Liberian embassy17:43
jelkneri'm hoping we have a day where school is closed but the embassy is open17:44
jelknerso i can get my VISQA17:44
jelknerVISA17:44
jelkneralright, i'm signing off...17:44
jelknersee you soon!17:44
jelknerACTION signs off17:44
*** jelkner has quit (Quit: Leaving)17:44
*** gabriel_jetro has quit (Quit: Leaving)17:45
*** Penrosian has quit (Quit: Leaving)17:47
Karaaaaagoodbye!17:50
*** Karaaaaa has quit (Quit: Leaving)17:50
*** tboimah has quit (None)17:51
*** jgurara has quit (Quit: Leaving)17:53
*** dcammue has quit (Ping timeout: 480 seconds)18:14
*** thomasboimah has quit (Quit: Connection closed for inactivity)19:47

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