--- Log opened Thu Aug 12 00:00:01 2021 |
01:21 | | himi [sjjf@Nightstar-1drtbs.anu.edu.au] has joined #code |
01:21 | | mode/#code [+o himi] by ChanServ |
01:25 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
01:55 | | Degi [Degi@Nightstar-o17pfc.pool.telefonica.de] has quit [Operation timed out] |
01:56 | | Degi [Degi@Nightstar-odjhti.pool.telefonica.de] has joined #code |
03:14 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
03:15 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code |
03:15 | | mode/#code [+o Reiv] by ChanServ |
03:46 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
04:05 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code |
04:05 | | mode/#code [+o Reiv] by ChanServ |
04:15 | | abudhabi [abudhabi@Nightstar-kkco4a.adsl.tpnet.pl] has joined #code |
04:19 | | abudhabi_ [abudhabi@Nightstar-b5v8u2.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds] |
04:29 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
04:30 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code |
04:30 | | mode/#code [+o Reiv] by ChanServ |
04:42 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
04:47 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code |
04:47 | | mode/#code [+o Reiv] by ChanServ |
05:35 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
07:17 | | himi [sjjf@Nightstar-1drtbs.anu.edu.au] has quit [Ping timeout: 121 seconds] |
09:31 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
09:31 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
09:46 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
09:46 | | mode/#code [+o himi] by ChanServ |
10:02 | | catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
10:02 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Connection reset by peer] |
11:28 | | catalyst_ is now known as catalyst |
--- Log closed Thu Aug 12 12:30:41 2021 |
--- Log opened Thu Aug 12 12:30:57 2021 |
12:30 | | TheWatcher [chris@GlobalOperator.Nightstar.Net] has joined #code |
12:30 | | Irssi: #code: Total of 31 nicks [19 ops, 0 halfops, 0 voices, 12 normal] |
12:31 | | mode/#code [+o TheWatcher] by ChanServ |
12:31 | | Irssi: Join to #code was synced in 15 secs |
12:47 | | catalyst_ [catalyst@Nightstar-bq1l3m.dab.02.net] has joined #code |
12:49 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds] |
13:03 | <~Vornicus> | whee, shader debugging |
13:18 | < catalyst_> | graphical |
13:19 | | catalyst_ is now known as catalyst |
13:30 | <~Vornicus> | well now the vertices are right, why no drawy |
13:31 | <~Vornicus> | varyingcolor is white, |
13:36 | | catalyst_ [catalyst@Nightstar-kpfue5.dab.02.net] has joined #code |
13:37 | | catalys37 [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
13:39 | | catalyst [catalyst@Nightstar-bq1l3m.dab.02.net] has quit [Ping timeout: 121 seconds] |
13:40 | | catalyst_ [catalyst@Nightstar-kpfue5.dab.02.net] has quit [Connection reset by peer] |
13:55 | <~Vornicus> | https://cdn.discordapp.com/attachments/474705430434807819/875361519691522058/unknown.png there we go. |
13:55 | | catalys37 is now known as catalyst |
13:59 | <&[R]> | "My wife won't let me in the delivery room after I cheated on her, AITA" |
13:59 | <&[R]> | What's going on there vorn? |
14:01 | <~Vornicus> | this is a catenary: it's the way a chain or rope weighed down by only itself (and the flags count for this; a suspension bridge does not) hangs. I then divided it into a number of equal length pieces, with flags hanging off |
14:01 | <&[R]> | How does the shader play into this? |
14:01 | <~Vornicus> | indeed, internally, the corners of the flags along the rope are (as close as floating point lets me) 1 unit apart |
14:02 | <~Vornicus> | the shader is given the parameters of the catenary - the width, horizontal and vertical offset of the apex, length, and zero-point of the length function - and outputs the corners of the flags |
14:09 | <~Vornicus> | but also, holy shit the floating point errors |
14:10 | < catalyst> | floats eh |
14:13 | <~Vornicus> | the number of exponential functions in this program is Too Damn High |
14:43 | < catalyst> | are they growing |
14:43 | < catalyst> | uh |
14:47 | <~Vornicus> | so given a distance from the origin I use an exponential function to figure out the x value, and then I use another exponential function, feeding in the x value, to get the y value |
14:48 | <~Vornicus> | also (though I do this CPU side so all the stuff is done in double precision) all the parameters are done via a bunch more exponential functions. just bunches and bunches of sinh and cosh and an atanh thrown in there for good measure |
16:11 | < catalyst> | fun fun fun |
16:13 | <~Vornicus> | the worst things is when the thing is almost vertical and long compared to the hypotenuse, which runs into floating point errors, and when the thing is long enough that there's a very strong dip, which runs into "curve length isn't real-space length" problems |
16:53 | | Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code |
17:45 | < Alek> | funny how the flags stick straight out. |
17:45 | < Alek> | also how one end is higher than the other. |
17:46 | <~Vornicus> | the ends are whereever I wanted them. |
17:47 | <~Vornicus> | as for the flags, well, there is no physical simulation here at all, it's just math |
19:31 | <&[R]> | https://termbin.com/flae <-- brain teaser if you're so inclined |
19:51 | <@ErikMesoy> | I feel like "the only part of this that actually exists" is a misleading hint. Either that or I'm thinking of a different solution to the same numbers. |
19:54 | <&[R]> | Wait I fucked up |
19:54 | <&[R]> | Don't look at your PM here |
20:12 | <&[R]> | Electricalish question |
20:12 | <&[R]> | I have a device that reads levels of a magnetic field, we generally use this to locate power lines |
20:12 | <&[R]> | I'm using it near a control panel thing, and it's lighting up a conduit, but I follow the conduit and it stops appearing right where an empty conduit in the ground comes up |
20:12 | <&[R]> | Would the conduit being used as a ground make it have a magnetic field? |
20:34 | <~Vornicus> | this is a long shot - is it a bios boot order |
20:43 | <&[R]> | No |
20:47 | | Vorntastic [uid293981@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
21:49 | <~Vornicus> | it's definitely a permutation. I'm not entirely sure what it is, it's not a decimation order, that'd be 4 8 12 5 10 3 11 7 9 2 1 |
22:40 | | Kindamoody is now known as Kindamoody[zZz] |
22:49 | | Jon [Jon@Nightstar-2j6b4b.fios.verizon.net] has joined #code |
22:50 | | Jon [Jon@Nightstar-2j6b4b.fios.verizon.net] has left #code [] |
23:12 | | Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Ping timeout: 121 seconds] |
23:29 | < Yossarian> | some of you folks are good with web technology, right? |
23:30 | < Yossarian> | I'm looking at firefox's internal debug/dev console trying to figure out how https://www.uber.com/global/en/price-estimate/ works |
23:32 | < Yossarian> | I'm terrible at this web stuff, seems like the site is truly dynamic as POST requests are done as one types and addresses are pulled up dynamically and then a GET from googlemapsapi comes up, but I'd like to "scrape" or "fuzz" this site so I can continually get estimates even though they are estimates and have a slight delta to the prices in the app... |
23:33 | <~Vornicus> | welcome to the world of APIs. I can absolutely guarantee that you'll get rate limited |
23:34 | < Yossarian> | eh maybe that's too much to ask, I see the string when I hover over the button, debugging web shit is so annoying and stupid |
23:34 | < Yossarian> | I'm just curious about loose details |
23:35 | < Yossarian> | Vornicus: check time wouldn't be every 100ms, more like every 5 minutes |
23:41 | <&[R]> | Vornicus: do you want another hint? |
23:42 | <~Vornicus> | sure |
23:43 | <&[R]> | The numeric values of the set are both important, and unimportant. Don't do math on them. |
23:46 | | * [R] is curious what "decimation order" is |
23:50 | <~Vornicus> | it's the josephus problem: given n items in a circle and going around skipping k and then removing the next one, what order are the items removed |
--- Log closed Fri Aug 13 00:00:20 2021 |