[13:02:19] I will let you know when I see infobliss around here [13:02:19] @notify infobliss [13:49:13] hi [13:49:56] infobliss: although I don't require the fully-fledged commit messages, mind not using github default "Update blah"? [13:50:08] it's literally meaningless [13:50:24] for minor changes like spelling changes? [13:50:44] then say "fix spelling" etc. [13:51:03] ok [13:51:17] you don't have to specify what spelling is fixed, but point out the general change [13:51:27] ok [13:52:57] next thing I was supposed work on is to show specific forms on choosing specific glams [13:53:15] hmm. all we need is an id right? [13:53:18] but now after yesterday's discussion I am not sure if it will be required [13:53:30] yes [13:54:26] have you decided on my yesterday's question [15:25:23] the OOP question is still 23:10 think about this: what should each instance represent? [13:55:03] I am thinkinh [13:56:59] may be each instance represents an object with one glam's metadata in wikitext form [13:57:35] wikitext is string [13:57:51] yes [13:58:45] unless you want to subclass the glam classes to string, that doesn't make sense imo [14:00:01] I mean each instance is capable of doing the metadata mapping for the specific glam [14:00:16] you have a class for eash glam [14:00:36] so essencially you are suggesting that each class shall have only one instance [14:00:55] like singletons (did I spell that correctly) [14:01:10] yeah [14:02:07] well, in that case how would oop benefit compared to a bunch of functions? [14:02:37] or a-bunch-of-functions-in-a-dict [14:03:24] good point [14:03:29] let me think [14:03:40] creating a bunch of functions and a singleton is not the point of OOP [14:05:04] in fact all we need is: one function for metadata mapping per glam [14:05:38] nope :P [14:06:09] a. nobody wants to see a gigantic all-in-one function [14:06:27] b. you still wants to try extract id from url [14:07:36] a sec [14:07:52] c. one function for generating a suitable image filename [14:08:44] http://wikipedia.ramselehof.de/flinfo.php [14:08:57] you might want to look into this tool [14:09:08] it generates wikitext by url [14:09:19] https://gitlab.com/flinfo/flinfo [14:09:40] ok [14:10:16] it's php thougj [14:10:21] *though [14:10:47] i see [14:10:54] (which is one of the languages I hate) [14:11:14] mediawiki is also php [14:11:41] meh [14:12:00] nobody has the time to rewrite mediawiki [14:12:50] I once gave a link to someone else trying to convince them that php is bad. let me find it [14:14:56] https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/ [14:15:53] alright got it [14:16:05] ? [14:17:43] I mean reading through the blog it's apparent what's wrong with php [14:18:10] and also [14:18:37] it's philosophy says that "PHP was originally designed explicitly for non-programmers." [14:18:50] lol [14:20:59] i think it's well organised code though [14:21:15] you mean flinfo? [14:21:18] yeah [14:21:18] i mean the code of flinfo [14:22:29] but i get lost [14:22:37] too many files :P [14:23:11] you can stick to https://gitlab.com/flinfo/flinfo/blob/master/flinfo/code/FlinfoFlickr.php [14:23:17] this one does flickr [14:23:38] ok let me check [14:26:02] also https://gitlab.com/flinfo/flinfo/blob/master/flinfo/code/FlinfoWiki.php [14:26:11] looks like main code [14:31:38] ok [15:40:57] * zhuyifei1999_ can't believe I'm still reading that php blog [15:57:14] hahaha [15:57:24] I just came from dinner. [16:03:55] phew... done [16:04:30] :) [17:07:33] good night zhuyifei. tomorrow I will inform you regarding my study of flinfo. [17:07:42] k [17:07:46] going for watching a movie now [17:07:49] :) [17:08:07] which one? just curious? [17:08:13] spiderman [17:08:23] ok [17:08:40] have you watched? [17:08:51] asking just for reviews [17:08:54] not 100% sure [17:09:05] no it's the new release [17:09:12] no [17:09:16] "spiderman homecoming" [17:09:27] ok [17:10:21] I prefer those movies like "Interstellar" or "Inception" [17:10:36] and those like "The Lord of the Rings" [17:12:08] ok some sci fi and nice concepts [17:12:25] nice concepts? [17:12:35] inception [17:12:43] dream within dream [17:12:49] yeah [17:12:57] the same director [17:13:10] also lord of the rings is beauty :) [17:13:16] the concept too [17:13:19] yeah [17:13:29] well, I read the books as well [17:14:00] wow zhuyifei1999_ [17:14:11] those are really fat books [17:14:22] lol