code logs -> 2017 -> Thu, 14 Sep 2017< code.20170913.log - code.20170915.log >
--- Log opened Thu Sep 14 00:00:57 2017
00:25
< sshine>
okay, I'm brainfarting here. if (real) solutions to all quadratic equations can be written on the form (x-a)*(x-b) = 0, then how does that translate into solutions on the form ax^2 + bx + c = 0 where a > 1?
00:25
< sshine>
it seems that (x-a)*(x-b) = 0 necessitates an x^2 part with a fixed coefficient of 1.
00:26
< sshine>
but there exists solutions as long as b^2 - 4ac >= 0.
00:27
< sshine>
I'm experimenting with generating easy to solve quadratic equations. I figured the easy way would be to just pick the roots and generate an equation from them. that way I can be sure that the roots are e.g. small integers. :)
00:28 * Vornicus points someone at vstruct.
00:29
<~Vornicus>
a(x-x_1)(x-x_2)...etc
00:29
<~Vornicus>
sshine: ^
00:30
<&ToxicFrog>
Vornicus: oo, for what purpose?
00:30
< sshine>
Vornicus, ah, thanks!
00:31
< sshine>
Vornicus, so I can just pick a random a, x_1, x_2 and calculate b and c.
00:31
<~Vornicus>
reading in binary data, I know that. I don't recognize the format from what little I see, though.
00:34
<~Vornicus>
sshine: that's right. You can even pick a fractional x_1 and x_2 and figure out an a value that gets you back to integers.
00:38
<&ToxicFrog>
Vornicus: well, feel free to point them at me if they have questions/comments/bug reports
00:39
<~Vornicus>
I've got a thing around here somewhere that makes random arithmetic problems. http://duznanski.github.io/pilllllllz.html here we are.
00:39
<~Vornicus>
(random arithmetic problems of particular shapes that is)
00:51 celticminstrel [celticminst@Nightstar-ce0j0u.dsl.bell.ca] has joined #code
00:51 mode/#code [+o celticminstrel] by ChanServ
01:06 Derakon[AFK] is now known as Derakon
04:19 Jessikat [Jessikat@Nightstar-e99un0.dab.02.net] has joined #code
04:19 Jessikat [Jessikat@Nightstar-e99un0.dab.02.net] has quit [The TLS connection was non-properly terminated.]
04:19 Jessikat [Jessikat@Nightstar-e99un0.dab.02.net] has joined #code
04:19 Jessikat [Jessikat@Nightstar-e99un0.dab.02.net] has quit [The TLS connection was non-properly terminated.]
04:19 Jessikat [Jessikat@Nightstar-e99un0.dab.02.net] has joined #code
04:19 Jessikat [Jessikat@Nightstar-e99un0.dab.02.net] has quit [The TLS connection was non-properly terminated.]
04:20 Jessikat [Jessikat@Nightstar-e99un0.dab.02.net] has joined #code
04:30 Jessikat` [Jessikat@Nightstar-e3r.tcr.132.82.IP] has joined #code
04:34 Jessikat [Jessikat@Nightstar-e99un0.dab.02.net] has quit [Ping timeout: 121 seconds]
04:51 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has quit [[NS] Quit: brb reboot]
04:57 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has joined #code
04:57 mode/#code [+ao McMartin McMartin] by ChanServ
05:25 celticminstrel [celticminst@Nightstar-ce0j0u.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
05:55 Derakon is now known as Derakon[AFK]
06:05
<&McMartin>
What the fuck, GTK3.
06:05
<&McMartin>
What the fuck
06:05
<&McMartin>
So!
06:05
<&McMartin>
GTK3 uses GObject, which has a retain/release model like old-school mac stuff but slightly dumber
06:05
<&McMartin>
Except it's *much* dumber
06:06
<&McMartin>
Because here I have a widget with more retains on it than its parent
06:06
<&McMartin>
And so the parent is destroyed and the child is destroyed outright innstead of merely having its refcount decremented
06:06
<~Vornicus>
that is dumb.
06:40 Netsplit Deepthought.Nightstar.Net <-> Krikkit.Nightstar.Net quits: Emmy-zZz, @ToxicFrog, @Tamber, sshine, @Namegduf, RchrdB, @crystalclaw, @PinkFreud, @abudhabi, @Derakon[AFK], (+7 more, use /NETSPLIT to show all of them)
06:41 Netsplit over, joins: &jerith, RchrdB, @Tamber, @gnolam, &[R], @Attilla, @himi, &Derakon[AFK], @abudhabi, sshine (+5 more)
06:41 Netsplit over, joins: @PinkFreud, &ToxicFrog
07:18 Vornicus [Vorn@Nightstar-ct9c67.ma.comcast.net] has quit [Connection reset by peer]
07:20 Vornicus [Vorn@Nightstar-ct9c67.ma.comcast.net] has joined #code
07:20 mode/#code [+qo Vornicus Vornicus] by ChanServ
08:42 Kindamoody[zZz] is now known as Kindamoody
08:52 Jessikat` [Jessikat@Nightstar-e3r.tcr.132.82.IP] has quit [[NS] Quit: Bye]
08:53 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has quit [Connection closed]
08:54 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has joined #code
08:54 mode/#code [+ao McMartin McMartin] by ChanServ
09:15 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
09:21 Degi [Degi@Nightstar-onjf33.dyn.telefonica.de] has joined #code
09:50 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has quit [Ping timeout: 121 seconds]
10:07 Jessikat [Jessikat@Nightstar-e3r.tcr.132.82.IP] has joined #code
10:15 Emmy-zZz is now known as Emmy
10:45 Kindamoody is now known as Kindamoody|afk
11:00 Jessikat` [Jessikat@Nightstar-im4ah0.dab.02.net] has joined #code
11:02 Jessikat [Jessikat@Nightstar-e3r.tcr.132.82.IP] has quit [Ping timeout: 121 seconds]
11:02 Vornicus [Vorn@Nightstar-ct9c67.ma.comcast.net] has quit [Connection closed]
11:44 Jessikat` is now known as Jessikat
14:41 Degi [Degi@Nightstar-onjf33.dyn.telefonica.de] has quit [[NS] Quit: Leaving]
16:09 macdjord|slep [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
16:09 mode/#code [+o macdjord|slep] by ChanServ
16:11 mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
17:30 Jessikat` [Jessikat@Nightstar-7108a2.dab.02.net] has joined #code
17:33 Jessikat [Jessikat@Nightstar-im4ah0.dab.02.net] has quit [Ping timeout: 121 seconds]
17:48 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
17:48 mode/#code [+o macdjord] by ChanServ
17:50 macdjord|slep [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
17:59 Jessikat` [Jessikat@Nightstar-7108a2.dab.02.net] has quit [Ping timeout: 121 seconds]
18:50
<&[R]>
"Note that the challenge token is bound to your IP and port (as opposed to the [session ID]), and lasts up to 30 seconds. You read that right, it's up to; it's not "your token will expire after 30 seconds", it's "every token ever" is expired every 30 seconds. This means it's entirely possible that you may get a token and use it within the same second and have it expire. "
18:57
<&ToxicFrog>
18:58 Vornicus [Vorn@Nightstar-ct9c67.ma.comcast.net] has joined #code
18:58 mode/#code [+qo Vornicus Vornicus] by ChanServ
19:02 Degi [Degi@Nightstar-onjf33.dyn.telefonica.de] has joined #code
19:20
<@Tamber>
...that's... Well, it's...
19:20
<@Tamber>
uh
19:37
<&[R]>
Also
19:37
<&[R]>
"You'll need to provide your challenge token, or you will not receive any reply. If you provide a token and it's wrong, you still won't receive a reply.
19:37
<&[R]>
So basically: ask for token, send request immediately, wait for a timeout, if no reply, ask for token, send request immediately.
19:41
<@Tamber>
RCaaS?
19:41
<&[R]>
RC?
19:41
<&[R]>
Also no
19:42
<@Tamber>
Race Condition as a Service
19:42
<&[R]>
Ah
20:58
<@TheWatcher>
That sounds hilarious
20:59
<@TheWatcher>
It's practically demanding that you DOS them
21:21
<~Vornicus>
and you'd better make sure you automatic timeout isn't 30 seconds
21:21
<~Vornicus>
otherwise you'll be sitting there a while
21:27
<&[R]>
TheWatcher: It's the "Query" protocol for minecraft servers
21:29
<@TheWatcher>
Oh
21:29
<@TheWatcher>
This shocks me not in the slightest, then~
21:30
<&[R]>
Pretty much
21:31
<&[R]>
There's an entire wiki dedicated to Minecraft's networking stuff
21:33 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has joined #code
21:49
<@TheWatcher>
And many broken minds
21:58 * Alek shakes his head.
23:04 Emmy is now known as Emmy-zZz
23:31 Degi [Degi@Nightstar-onjf33.dyn.telefonica.de] has quit [[NS] Quit: Leaving]
--- Log closed Fri Sep 15 00:00:58 2017
code logs -> 2017 -> Thu, 14 Sep 2017< code.20170913.log - code.20170915.log >

[ Latest log file ]