code logs -> 2022 -> Thu, 21 Apr 2022< code.20220420.log - code.20220422.log >
--- Log opened Thu Apr 21 00:00:51 2022
00:34 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [The TLS connection was non-properly terminated.]
00:35 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
00:35 mode/#code [+o himi] by ChanServ
01:18 gizmore|2 [kvirc@Nightstar-7fvci9.dip0.t-ipconnect.de] has joined #code
01:21 gizmore [kvirc@Nightstar-kdq96t.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds]
01:45 Degi [Degi@Nightstar-hgoo95.pool.telefonica.de] has quit [Ping timeout: 121 seconds]
01:45 Degi [Degi@Nightstar-f8i0p6.pool.telefonica.de] has joined #code
02:48 catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Connection closed]
04:55 Vorntastic [uid293981@Nightstar-phvupn.irccloud.com] has joined #code
04:55 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
05:06 * macdjord encounters a <marquee> tag in the wild for the first time in years. (He hadn't realized modern browsers still implemented it~)
05:10
<&McMartin>
Yay, web 1.0
05:10 * McMartin deploys an animated Starfury gif declaring UNDER CONSTRUCTION
05:38 * Kizor writes HTML by hand
05:47 * McMartin too, though he then hands it to WordPress.
05:48
<@macdjord>
Kizor: I do that myself anytime I have to edit HTML.
05:52
<@macdjord>
Admittedly, this mostly consists of taking fics in various forms of auto-generated HTML and stripping out unwanted formatting. (No, I don't need double-spaced paragraphs implemented with <br> tags. No, I don't need every paragraph to specify line width. No, I don't need do-nothing <spans>. Just give me a plain series of <p> tags, plus <em> and <strong> where needed.)
05:52 * McMartin is old enough to remember <b> and <i>.
05:52 * Mahal also
05:53
<&McMartin>
Which WordPress *does not parse*, to my considerable irritation
05:53
<&McMartin>
~ semantic web ~
05:53
<@macdjord>
McMartin: <_< Honestly, I not only remember them but use them. Functionally identical, fewer characters to type.
05:54
<&McMartin>
Well, functionally identical with the caveat that pasting it into WordPress does not properly convert it; it treats them as garbage and strips them.
05:55
<&McMartin>
I suppose s/convert/absorb/
05:55
<&McMartin>
also ugh I am weeks behind on my next article
06:13
<~Vorntastic>
I find that a lot of modern html tools do a pretty decent job of making proper HTML, but i do have to go in and do some things sometimes
06:14
<~Vorntastic>
Like i was doing a leaderboard and so messing with the index of numbered lists
06:14
<~Vorntastic>
That, nobody does
07:19
<@ErikMesoy>
I know some people who use <em> for dialogue emphasis and <i> for ship names and will argue that these are distinct things, the ship names are styled that way, not emphasized.
07:28
<~Vorntastic>
"The i element represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, a thought, a ship name, or some other prose whose typical typographic presentation is italicized."
07:29
<~Vorntastic>
"The em element represents stress emphasis of its contents."
07:29
<~Vorntastic>
Straight from w3
07:32
<&McMartin>
I see my little "~ semantic web ~" thing was not properly communicated
07:33
<&McMartin>
It is precisely this attitude that I am ruefully acknowledging (a) won while (b) being utterly useless
09:04 catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
13:24 Vorntastic [uid293981@Nightstar-phvupn.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
14:06
<@celticminstrel>
I (at least theoretically) use <em> for emphasis and <i lang=> for foreign-language terms.
14:20 Vorntastic [uid293981@Nightstar-phvupn.irccloud.com] has joined #code
14:20 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
14:58 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
14:58 mode/#code [+qo Vornicus Vornicus] by ChanServ
15:41 catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
15:41 catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Connection closed]
15:43 abudhabi__ [abudhabi@Nightstar-8rbdtr.adsl.tpnet.pl] has joined #code
15:46 abudhabi_ [abudhabi@Nightstar-79k9fa.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
16:29 Vorntastic [uid293981@Nightstar-phvupn.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
17:01 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code
17:40
< simon_>
my colleague thinks that if you assign a value to a variable, the program will be slower.
17:40
< simon_>
so he tends to write very long lines with quite deeply nested expressions.
17:41
< simon_>
he was looking me over the shoulder and commented on a loop body where I did 'let left_child = ...;\nlet right_child = ...;\nfoo.combine(left_child, right_child);' saying "You know, I wrote that in one line." suggesting there was some merit to it.
17:42
< simon_>
so I looked at him, removed the linebreaks and said "I did too!" :-D
18:07 catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
18:07 catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Connection closed]
18:11 catalyst_ [catalyst@Nightstar-374d30.dab.02.net] has joined #code
18:13 catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds]
18:51
<@Tamber>
I mean, I *guess* it could be slower but in realistic terms, probably not noticeably unless you have some tight real-time deadline to meet. (And then, of course, who's to say it's not automatically getting put in a variable behind the scenes anyway)
18:52 catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
18:53 catalyst_ [catalyst@Nightstar-374d30.dab.02.net] has quit [Ping timeout: 121 seconds]
19:18
<@gnolam>
What
19:18
<@gnolam>
Is your colleague named "Seb" by any chance?~
19:34
<&McMartin>
Your colleague has half-remembered a thing about 8-bit Microsoft-derived BASICs (and potentially some but not all others): in half-remembering it, he is also wrong~
19:35
<&McMartin>
Accessing a variable takes linear time based on the order in which the variables were declared, and declaring new variables after you've allocated a bunch of arrays is really expensive
19:35
<&McMartin>
what he has failed to realize is that it has to reparse the numbers every time so it's way faster to just put the number 23 in a variable named ZW call it ZW forever after!
19:36
<&McMartin>
~ science ~
19:37
<&McMartin>
(note: the above, while not *false*, is sarcasm. I would expect that if moving things in or out of constant variables measurably affected JS execution, JS minifiers would systematically do the thing that was faster while preserving size advantages.)
19:37
<&McMartin>
(I would *also* expect modern JITs to constant-fold and not respect the idea that local variables imply certain kinds of register assignments.)
19:51 Kindamoody[zZz] is now known as Kindamoody
20:29 abudhabi__ [abudhabi@Nightstar-8rbdtr.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
20:39 abudhabi__ [abudhabi@Nightstar-8rbdtr.adsl.tpnet.pl] has joined #code
23:16 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Ping timeout: 121 seconds]
--- Log closed Fri Apr 22 00:00:53 2022
code logs -> 2022 -> Thu, 21 Apr 2022< code.20220420.log - code.20220422.log >

[ Latest log file ]