code logs -> 2022 -> Fri, 18 Mar 2022< code.20220317.log - code.20220319.log >
--- Log opened Fri Mar 18 00:00:42 2022
00:54 gizmore [kvirc@Nightstar-6rag9p.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds]
02:39 Degi_ [Degi@Nightstar-gbk47u.pool.telefonica.de] has joined #code
02:41 Degi [Degi@Nightstar-vn0epi.pool.telefonica.de] has quit [Ping timeout: 121 seconds]
02:41 Degi_ is now known as Degi
04:12 Vorntastic [uid293981@Nightstar-phvupn.irccloud.com] has joined #code
04:12 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
07:03
< Pink>
Does html even have a concept of a text cursor for the page?
07:57 abudhabi__ [abudhabi@Nightstar-6lkkp0.adsl.tpnet.pl] has joined #code
08:00 abudhabi_ [abudhabi@Nightstar-n028am.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
08:19 macdjord is now known as macdjord|slep
08:31
<~Vorntastic>
I mean in a form field
08:31
<~Vorntastic>
But, sometimes
08:52
<~Vorntastic>
Hmmm, sort of. You can find the location of the cursor in the abstract text, but that doesn't give you pixel position. Suppose you could do a ghost element that matches the content and has an element you can find the location of at the cursor
09:03 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code
11:02
<@gnolam>
https://pbs.twimg.com/media/FODaCLdXsAcmzRm?format=jpg&name=4096x4096
13:10
<@celticminstrel>
AFAIK HTML does not have that concept for the page, but some browsers certainly do.
13:20 gizmore [kvirc@Nightstar-ng77s1.dip0.t-ipconnect.de] has joined #code
14:00 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
14:00 mode/#code [+qo Vornicus Vornicus] by ChanServ
16:22 Vorntastic [uid293981@Nightstar-phvupn.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
16:58 catalyst [catalyst@Nightstar-j2olvs.dab.02.net] has joined #code
17:01 catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds]
17:28 catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
17:31 catalyst [catalyst@Nightstar-j2olvs.dab.02.net] has quit [Ping timeout: 121 seconds]
18:44 macdjord|slep is now known as macdjord
19:52 Pink [Pink@Nightstar-oetkb4.ph.cox.net] has quit [Connection closed]
19:53 Pink [Pink@Nightstar-oetkb4.ph.cox.net] has joined #code
20:00 Pink [Pink@Nightstar-oetkb4.ph.cox.net] has quit [Connection closed]
20:02 Pink [Pink@Nightstar-oetkb4.ph.cox.net] has joined #code
20:26
<&ToxicFrog>
https://nitter.net/lunasorcery/status/1504900067098046464
20:28
<~Vornicus>
evil
20:28
<&ToxicFrog>
I know!
20:32 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
20:33 * Emmy doesn't get it
20:51
< ErikMesoy>
Emmy: The joke is that luna is telling fibs, the code examples are not doing arithmetic, they're doing funky operations which happen to look like arithmetic in this specific case.
20:55
<&ToxicFrog>
Yeah, it's exploiting the fact that "foo" is, under the hood, a pointer to a constant string in the .data segment, and that (a) math on pointers is legal and (b) * can be either the multiplication operator or the pointer dereference operator depending on context.
20:56
<&ToxicFrog>
So "-0.5" + 1 increments the pointer and ends up pointing to the "0" in "0.5"
20:57
<&ToxicFrog>
And 50**"2" is (50 * (*"2")), which derefences the pointer to get the ASCII character value of '2' -- which is 50 -- then multiplies that by 50.
20:57
< ErikMesoy>
You may find it educational to execute puts("hello world"+2); for a concrete understanding of what's going on underneath.
22:21 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Connection closed]
22:22 Kizor [a@Nightstar-nfsqa7.yok.fi] has quit [Connection closed]
22:23 Netsplit Traal.Nightstar.Net <-> Golgafrincham.Nightstar.Net quits: Alek, @celticminstrel, @ToxicFrog, Degi, @Syloq, @Reiver, gizmore, @Kindamoody, abudhabi__, @PinkFreud, (+2 more, use /NETSPLIT to show all of them)
22:24 ErikMesoy is now known as 754AA9359
22:24 gnolam is now known as 754ABAPOT
22:24 Netsplit over, joins: Alek, abudhabi__, celticminstrel, JustBob
22:24 ErikMesoy [Bruker@Nightstar-62dqfo.bb.online.no] has joined #code
22:24 Netsplit over, joins: Reiver, ToxicFrog, Degi, gizmore
22:24 gnolam [lenin@Nightstar-j9ajs0.priv.bahnhof.se] has joined #code
22:24 Kizor [a@Nightstar-nfsqa7.yok.fi] has joined #code
22:24 Netsplit over, joins: PinkFreud, Syloq
22:24 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code
22:24 Netsplit over, joins: Pink, @Kindamoody
22:24 ServerMode/#code [+ooaoaooooo celticminstrel JustBob Reiver Reiver ToxicFrog ToxicFrog gnolam PinkFreud Syloq Kindamoody] by *.Nightstar.Net
22:24 Tamber [tamber@furryhelix.co.uk] has quit [Connection closed]
22:24 catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds]
22:25 754ABAPOT [lenin@Nightstar-j9ajs0.priv.bahnhof.se] has quit [Ping timeout: 121 seconds]
22:25 754AA9359 [Bruker@Nightstar-62dqfo.bb.online.no] has quit [Ping timeout: 121 seconds]
22:27 catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
22:31 Tamber [tamber@furryhelix.co.uk] has joined #code
22:31 mode/#code [+o Tamber] by ChanServ
23:51 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Ping timeout: 121 seconds]
--- Log closed Sat Mar 19 00:00:44 2022
code logs -> 2022 -> Fri, 18 Mar 2022< code.20220317.log - code.20220319.log >

[ Latest log file ]