<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:23:23] <Ariri> %tonk
L2[00:23:24] <MichiBot> I'm sorry Ariri, you
were not able to beat Ariri's record of 9 hours, 11 minutes and 21
seconds this time. 25 minutes and 11 seconds were wasted! Missed by
8 hours, 46 minutes and 10 seconds!
L3[00:23:32] <Ariri> got it
L4[02:10:42]
<BohemianHacks> messing around with the
geolyzer and the results arent what I'm expecting
L5[02:10:55]
<BohemianHacks> trying to just scan a
single block at x,y,z
L6[02:11:11]
<BohemianHacks> even after stacking scans
and averaging them, its telling me air has a hardness > 1
L7[02:11:46]
<BohemianHacks> stuff has worked fine when
doing a full column, but im not sure I am using the y parameter
right
L8[02:13:42]
<Forecaster>
show what you are doing
L10[02:29:16] ⇨
Joins: TheWaterMan
(TheWaterMan!webchat@ti0121a400-4055.bb.online.no)
L11[02:30:49] ⇨
Joins: ba7888b72413a16a
(ba7888b72413a16a!~ba7888b72@66.109.211.150)
L12[02:37:57]
<BohemianHacks> @Forecaster figured it out.
wasn't passing the other parameters it wanted I
guess(w,d,etc)
L13[02:41:28] ⇨
Joins: Inari
(Inari!~Pinkishu@pD9E38D7B.dip0.t-ipconnect.de)
L14[02:59:38] ⇦
Quits: Guest95051
(Guest95051!~vifino@b2b-78-94-116-114.unitymedia.biz) (Ping
timeout: 206 seconds)
L15[02:59:44] ⇨
Joins: vifino
(vifino!~vifino@b2b-78-94-116-114.unitymedia.biz)
L16[03:00:14] ***
vifino is now known as Guest71726
L17[03:03:30] ⇦
Quits: Corded (Corded!~MichiBot@eos.pc-logix.com) (Ping timeout:
378 seconds)
L18[03:03:48] ⇦
Quits: Zerant (Zerant!~Zerant@mx.brose.me) (Quit:
Leaving)
L19[03:03:55] ⇨
Joins: Zerant- (Zerant-!~Zerant@mx.brose.me)
L20[03:05:55] ⇨
Joins: Corded (Corded!~MichiBot@eos.pc-logix.com)
L21[03:05:55] zsh
sets mode: +v on Corded
L24[03:25:46]
<Ariri> any
recommendations?
L25[03:26:46]
<Forecaster>
play all of the games!
L26[03:26:51]
<Forecaster>
at the same time
L27[03:29:59]
<Ariri>
Alright will do
L28[03:30:07]
<Ariri> pc
crashes
L29[03:30:17]
<BohemianHacks> yay, got my geolyzer A*
working
L30[03:30:39]
<BohemianHacks> still very twirly and
unoptimized in terms of actual movement, mostly because my cost
function is poopy
L31[03:30:58]
<BohemianHacks> and it plows through grass
or hardness 0 stuff because it straight up cant see it
L32[03:31:01]
<BohemianHacks> but it works
L33[03:36:28] <TheWaterMan> Hello!
L34[03:37:02] <TheWaterMan> Whats even
happening in here?
L35[03:37:45]
<Forecaster>
all of the things and nothing
L36[03:37:48]
<Forecaster>
at the same time
L37[03:38:08] <TheWaterMan> Whats that
supposed to mean?
L38[03:38:31] <TheWaterMan> Doesnt make
sense
L39[03:38:25]
<Forecaster>
:D
L40[03:38:22]
<Forecaster>
all of the things, and nothing
L41[03:38:53]
<Forecaster>
it's not supposed to
L42[03:39:01] <TheWaterMan> Oh
L43[03:39:48] <TheWaterMan> Tried out
MineOS nayone?
L44[03:39:58] <TheWaterMan> anyone*
L45[03:40:00]
<Forecaster>
someone has, not me though
L46[03:40:36] <TheWaterMan> Its quite
good
L47[03:40:54]
<Forecaster>
I prefer openOS
L48[03:41:00] <TheWaterMan> Its like MacOS
just downscaled to work with opencomputers
L49[03:41:17] <TheWaterMan> I dont know how
to code so i installed a pre-made os
L50[03:41:31] <TheWaterMan> (From the
internet of course)
L51[03:41:33]
<Forecaster>
openos is a pre-made os...
L52[03:41:57] <TheWaterMan> Doesnt have a
"Visual-interface" though
L53[03:42:27]
<Forecaster>
you mean a graphical interface
L54[03:42:34] <TheWaterMan> Mhm
L55[03:42:43] ⇨
Joins: flappy
(flappy!~flappy@88-113-149-197.elisa-laajakaista.fi)
L56[03:42:46] <TheWaterMan> Going to log
off fom the web browser now
L57[03:42:55] ⇦
Quits: TheWaterMan
(TheWaterMan!webchat@ti0121a400-4055.bb.online.no) (Quit:
webchat.esper.net)
L58[03:43:01]
<Ariri>
observe everything occcuring at once from the side of the oc event
horizon
L59[03:43:03]
<Ariri> o ok
bye
L60[03:43:58]
<Forecaster>
what a fruitful conversation
L61[03:45:47]
<Ariri>
indeed
L62[03:59:59] ⇦
Quits: ben_mkiv (ben_mkiv!~ben_mkiv@i59F67823.versanet.de) (Ping
timeout: 202 seconds)
L63[04:04:05] ⇨
Joins: Vexatos
(Vexatos!~Vexatos@port-92-192-137-21.dynamic.qsc.de)
L64[04:04:05] zsh
sets mode: +v on Vexatos
L65[04:04:31] ⇦
Quits: Ariri (Ariri!uid378594@id-378594.hathersage.irccloud.com)
(Quit: Connection closed for inactivity)
L66[04:10:47] ⇨
Joins: whyireland
(whyireland!~whyirelan@64-227-20-31.ftth.glasoperator.nl)
L67[04:10:52] <whyireland> Hey boys!
L68[04:13:03]
<Ariri>
%hello
L69[04:13:03] <MichiBot> Ariri: Hello!
Welcome to #oc! The one and only opencomputers channel! Please ask
your questions directly (dont ask to ask) and provide error/code
examples! (Use pastebin.com if theyre more than one line!) Dont
mind the random conversation you might have walked into.
L70[04:14:18] ⇦
Quits: whyireland
(whyireland!~whyirelan@64-227-20-31.ftth.glasoperator.nl) (Ping
timeout: 190 seconds)
L71[05:13:39]
<Ariri>
Dashlane or Bitwarden?
L72[05:24:38] <Izaya> >Dashlane
L73[05:24:43] <Izaya> >License:
Proprietary software
L74[05:24:44] <Izaya> Not that one.
L76[05:27:48] <MichiBot>
Unlimited
Wireless Redstone Using Wolves 1.8 - 1.15 | length:
13m
11s | Likes:
9,807 Dislikes:
99 Views:
204,110 | by
ilmango | Published On 1/11/2019
L77[07:21:08] ⇨
Joins: baschdel
(baschdel!~baschdel@2a02:6d40:3625:6601:54fe:4e96:d22f:897c)
L78[07:21:37] ⇨
Joins: LeshaInc (LeshaInc!LeshaInc@fomalhaut.me)
L79[07:31:33] ⇨
Joins: BlueAgent (BlueAgent!~BlueAgent@110.146.209.71)
L81[08:33:20] ⇨
Joins: Inari
(Inari!~Pinkishu@pD9E38D7B.dip0.t-ipconnect.de)
L82[08:43:41]
<Forecaster>
%tonkout
L83[08:43:42] <MichiBot> Zounderkite!
Forecaster! You beat Ariri's previous record of 9 hours, 11 minutes
and 21 seconds (By 8 minutes and 55 seconds)! I hope you're
happy!
L84[08:43:43] <MichiBot> Forecaster has
stolen the tonkout! Tonk has been reset! They gained 0.009 tonk
points! plus 0.008 bonus points for consecutive hours! (Reduced to
50% because stealing) Current score: 1.32346
L85[09:27:36] ⇦
Quits: BlueAgent (BlueAgent!~BlueAgent@110.146.209.71) (Ping
timeout: 189 seconds)
L86[09:31:31] ⇦
Quits: LeshaInc (LeshaInc!LeshaInc@fomalhaut.me) (Quit: ZNC -
https://znc.in)
L87[09:55:57] <asie> %tonk
L88[09:55:57] <MichiBot> Dogast! asie! You
beat Forecaster's previous record of <0 (By 1 hour, 12 minutes
and 15 seconds)! I hope you're happy!
L89[09:55:58] <MichiBot> asie's new record
is 1 hour, 12 minutes and 15 seconds! asie also gained 0.0012 tonk
points for stealing the tonk.
L92[10:08:01] ⇨
Joins: LeshaInc (LeshaInc!LeshaInc@fomalhaut.me)
L93[10:35:48] <Inari> I'm bored
L94[10:36:31]
<Forecaster>
hi bored
L95[10:41:51] ⇨
Joins: BlueAgent (BlueAgent!~BlueAgent@110.146.209.71)
L96[10:45:02] <AmandaC> Forecaster is
dad
L97[10:46:58]
<Forecaster>
that explains where these crocs came from
L98[10:47:18] ⇦
Quits: BlueAgent (BlueAgent!~BlueAgent@110.146.209.71) (Ping
timeout: 198 seconds)
L99[10:54:06]
<Ariri>
Hehe
L100[10:55:38]
⇨ Joins: BlueAgent
(BlueAgent!~BlueAgent@110.146.209.71)
L101[10:56:56] ⇦
Quits: BlueAgent (BlueAgent!~BlueAgent@110.146.209.71) (Read error:
Connection reset by peer)
L102[11:17:20] <Vexatos> %tonk
L103[11:17:20] <MichiBot> Heckgosh!
Vexatos! You beat asie's previous record of 1 hour, 12 minutes and
15 seconds (By 9 minutes and 7 seconds)! I hope you're happy!
L104[11:17:21] <MichiBot> Vexatos's new
record is 1 hour, 21 minutes and 23 seconds! Vexatos also gained
0.0003 (0.00015 x 2) tonk points for stealing the tonk.
L105[11:17:37]
<AdorableCatgirl> holy fuck
L106[11:17:50]
<AdorableCatgirl> the minimum specs needed
for reach
L107[11:18:00]
<AdorableCatgirl> a mfing phenom 2 x4
L109[11:32:04]
⇨ Joins: ba7888b72413a16a
(ba7888b72413a16a!~ba7888b72@66.109.211.150)
L111[11:41:15] ⇦
Quits: baschdel
(baschdel!~baschdel@2a02:6d40:3625:6601:54fe:4e96:d22f:897c) (Ping
timeout: 189 seconds)
L112[11:47:02]
⇨ Joins: Thutmose
(Thutmose!~Patrick@host-69-59-79-181.nctv.com)
L113[12:25:39]
⇨ Joins: ba7888b72413a16a
(ba7888b72413a16a!~ba7888b72@66.109.211.150)
L114[12:45:08] ⇦
Quits: AdorableCatgirl
(AdorableCatgirl!~sam@pool-100-7-96-45.rcmdva.fios.verizon.net)
(Ping timeout: 190 seconds)
L115[12:50:02]
⇨ Joins: bauen1
(bauen1!~bauen1@ipbcc03b58.dynamic.kabel-deutschland.de)
L116[12:53:33]
⇨ Joins: AdorableCatgirl
(AdorableCatgirl!~sam@pool-100-7-96-45.rcmdva.fios.verizon.net)
L117[13:11:08]
<Ariri>
%tonk
L118[13:11:10] <MichiBot> Dogast! Ariri!
You beat Vexatos's previous record of 1 hour, 21 minutes and 23
seconds (By 32 minutes and 25 seconds)! I hope you're happy!
L119[13:11:11] <MichiBot> Ariri's new
record is 1 hour, 53 minutes and 48 seconds! Ariri also gained
0.00108 (0.00054 x 2) tonk points for stealing the tonk.
L120[13:19:53]
⇨ Joins: baschdel
(baschdel!~baschdel@2a02:6d40:3625:6601:54fe:4e96:d22f:897c)
L121[13:29:47]
⇨ Joins: ben_mkiv
(ben_mkiv!~ben_mkiv@i59F67823.versanet.de)
L122[13:32:40] ⇦
Quits: ben_mkiv (ben_mkiv!~ben_mkiv@i59F67823.versanet.de) (Killed
(NickServ (GHOST command used by
ben_mkiv|afk!~ben_mkiv@i59F678F9.versanet.de)))
L123[13:32:45]
⇨ Joins: ben_mkiv|afk
(ben_mkiv|afk!~ben_mkiv@i59F678F9.versanet.de)
L124[13:38:43] <ben_mkiv|afk> playing sc2
after years... Blizzard improved their bullshit business by putting
people in a queue for normal user login
L125[13:40:13] <ben_mkiv|afk> To avoid
sitting through the queue more than once, be sure to: Accept any
Terms of Use or License agreements promptly.
L126[13:40:21] <ben_mkiv|afk> because
thats what criminals do xD
L127[15:19:01]
<Tonatsi>
For the purpose of encryption using data cards; would It be
reasonable to simply use the encryption key again as the IV, or
does it become extremely easy to decrypt if the IV is the same as
the Key
L128[15:20:38] ⇦
Quits: AdorableCatgirl
(AdorableCatgirl!~sam@pool-100-7-96-45.rcmdva.fios.verizon.net)
(Ping timeout: 190 seconds)
L129[15:22:08] <CompanionCube> Tonatsi:
iirc Bad Things happen if the IV is not unique.
L130[15:26:06]
<Tonatsi> So
I should implement a random IV number that gets communicated
between the two endpoints. Got it.
L131[15:26:11]
<Tonatsi>
That'll be for a future version
L132[15:26:37] <Inari> For one, two
messages with the same key and same IV would end up yieldin gthe
same result. Different IV would mean different result. As far as I
understand
L133[15:26:52] <asie> %tonk
L134[15:26:52] <MichiBot> Fopdoodle! asie!
You beat Ariri's previous record of 1 hour, 53 minutes and 48
seconds (By 21 minutes and 54 seconds)! I hope you're happy!
L135[15:26:53] <MichiBot> asie's new
record is 2 hours, 15 minutes and 43 seconds! asie also gained
0.00074 (0.00037 x 2) tonk points for stealing the tonk.
L136[15:28:39]
<Tonatsi>
What confuses me is that there is seemingly no way to implement IVs
unless you send the next IV in your previous message
L137[15:28:58]
<Tonatsi>
and in effect; the IV and the Key are interchangeable
L138[15:29:03] <Izaya> I believe the usual
method is to use a counter
L139[15:29:13]
<Tonatsi>
hmm
L140[15:29:18]
<Tonatsi>
ok
L142[15:36:19]
⇨ Joins: AdorableCatgirl
(AdorableCatgirl!~sam@pool-100-7-96-45.rcmdva.fios.verizon.net)
L143[15:59:09] ⇦
Quits: baschdel
(baschdel!~baschdel@2a02:6d40:3625:6601:54fe:4e96:d22f:897c) (Ping
timeout: 198 seconds)
L145[16:38:10] <stephan48> i am getting
old
L146[16:37:53] <MichiBot> I'm sorry
stephan48, you were not able to beat asie's record of 2 hours, 15
minutes and 43 seconds this time. 1 hour and 11 minutes were
wasted! Missed by 1 hour, 4 minutes and 43 seconds!
L147[16:37:52] <stephan48> %tonk
L148[17:12:18] <Izaya> Lizzy: request for
a fedi handle field in OC forum profiles
L149[17:12:38] <Izaya> you can probably
knock out the MSN one too lmao
L150[17:18:03] ⇦
Quits: flappy (flappy!~flappy@88-113-149-197.elisa-laajakaista.fi)
(Ping timeout: 190 seconds)
L151[17:22:32]
<Zef> Is
there an easy way to get the unicode value for a certain
character?
L152[17:22:52] <Izaya> ~w unicode
L154[17:23:17] <Izaya> unicode.char by the
looks
L155[17:23:46]
<Zef>
unicode.char only takes a number, and converts into a
character
L156[17:23:56]
<Zef> I need
the other way around
L157[17:28:08] <Izaya> oh, so it
does
L158[17:28:10] <Izaya> apologies
L159[17:40:44] ⇦
Quits: Vexatos (Vexatos!~Vexatos@port-92-192-137-21.dynamic.qsc.de)
(Quit: Insert quantum chemistry joke here)
L160[17:43:14]
<Zef> So
that one little detail is what's stopping me from doing my advanced
graphics function
L161[17:44:26] <Izaya> I know there's a
way to do it
L162[17:44:28] <Izaya> I've done it
before
L163[17:44:43] <Izaya> wait
L164[17:44:45] <Izaya> hm
L165[17:44:57] <Izaya> oh
L166[17:44:59] <Izaya> ~w utf8
L168[17:45:02] <Izaya> brainleting
L171[17:45:41]
<Zef> one
small problem
L172[17:46:03] <Izaya> change to lua
5.3
L173[17:46:27]
<Zef>
Alright it's there now
L174[17:46:39] <Izaya> crafted CPUs
default to 5.3
L175[17:47:00] <Izaya> ones in creative
don't for ... some reason
L176[17:47:03]
<Zef> And
creative ones default to 5.2 I take it
L177[18:15:30] ⇦
Quits: AdorableCatgirl
(AdorableCatgirl!~sam@pool-100-7-96-45.rcmdva.fios.verizon.net)
(Ping timeout: 198 seconds)
L179[18:17:57] <Izaya> ooo
L181[18:18:01]
<Zef> uh
oh
L182[18:18:21] <Izaya> my favourite sort
of error
L183[18:18:40]
<Zef> I'm
trying to graph a squareroot function
L184[18:18:46]
<Zef> And
that's the error it's giving me
L186[18:25:21]
<Zef> Here's
the pastebin, it hasn't been fully tested yet though
L187[18:27:35]
<Zef> This
theoretically increases the display size by 2x in the x direction
and 4x in the y direction
L188[18:29:12] <Izaya> monochrome bitmap,
presumably?
L189[18:29:41]
<Zef> It's
making use of Braile characters
L190[18:29:50] <Izaya> ye
L191[18:31:52]
<Zef> Wait a
second
L192[18:32:16]
<Zef> I see
the problem, for some reason OC uses the 6 box braile and I wrote
it as if it were the 8 box version
L193[18:33:22]
<Zef>
Maybe..
L194[18:34:45]
<Ariri>
%tonk
L195[18:34:46] <MichiBot> I'm sorry Ariri,
you were not able to beat asie's record of 2 hours, 15 minutes and
43 seconds this time. 1 hour, 56 minutes and 52 seconds were
wasted! Missed by 18 minutes and 50 seconds!
L196[18:35:51]
<Ariri>
Huh?
L197[18:36:00]
<Ariri> Am i
doing my maths wrong?
L198[18:37:10]
<Zef> So
only if it's the bottom left one it crashes
L199[18:37:17]
<Zef>
Because it expects a number, but recieved a number
L200[18:38:27]
<Zef> Okay I
fixed the problem
L201[18:39:03]
<AdorableCatgirl> @Ariri DST
L202[18:39:16]
<AdorableCatgirl> i guess
L203[18:39:34]
<Ariri> It
says 18 min tho, and discord shows me in dst
L205[18:39:41]
<Zef> That
is cool
L206[18:43:18]
<AdorableCatgirl> o shit
L207[18:43:20]
<AdorableCatgirl> that's cool
L209[18:45:45]
<Zef>
Maximum resolution of 320 x 200 theoretically
L210[18:52:34]
<Zef> To
fill the whole screen by using nested for loops takes 17
seconds
L211[18:53:16] <Izaya> next: double
buffering
L212[18:53:26] <Izaya> if you're in mono
colour, you could get that down to 50 component calls
L213[18:53:40]
<Zef> Where
as doing the same thing but using the standard gpu.set takes 1.35
seconds
L214[18:54:32]
<Zef> Here's
the updated code
L215[18:53:44]
<Zef> So
just a tad faster
L216[18:53:45] <Izaya> or uh, 3.3
seconds
L218[18:55:23]
<Zef> Well
the way I did it was with nested loops and comparing the
computer.uptime before and afterwards
L220[19:07:20]
⇨ Joins: AdorableCatgirl
(AdorableCatgirl!~sam@pool-100-7-96-45.rcmdva.fios.verizon.net)
L221[19:11:43]
<Zef> I'm
kinda proud of this lol
L222[19:12:50]
<Ariri> its
pretty cool lol
L223[19:13:06]
<Ariri> its
pretty cool [Edited]
L224[19:19:19] ⇦
Quits: AdorableCatgirl
(AdorableCatgirl!~sam@pool-100-7-96-45.rcmdva.fios.verizon.net)
(Ping timeout: 202 seconds)
L225[19:30:27] ⇦
Quits: ba7888b72413a16a
(ba7888b72413a16a!~ba7888b72@66.109.211.150) (Ping timeout: 206
seconds)
L226[19:33:55]
⇨ Joins: ba7888b72413a16a
(ba7888b72413a16a!~ba7888b72@66.109.211.150)
L227[19:40:33] ⇦
Quits: Izaya (Izaya!~izaya@210-1-218-92-cpe.spintel.net.au) (Ping
timeout: 198 seconds)
L228[19:45:39] <AmandaC> %8ball load up
the computer again?
L229[19:45:40] <MichiBot> AmandaC: [ The
Bowling ball doesn't answer ]
L230[19:51:07]
⇨ Joins: AdorableCatgirl
(AdorableCatgirl!~sam@pool-100-7-96-45.rcmdva.fios.verizon.net)
L231[19:53:16] <AdorableCatgirl> a
L232[19:53:41] <AdorableCatgirl> also can
we get an f for izaya
L233[19:55:11] <CompanionCube> f
L234[19:58:51] <AdorableCatgirl> i should
probably do a sanity check on my shit and make sure it boots
L235[19:58:56] <AdorableCatgirl> i mean, i
imagine it will
L236[19:59:22] <AdorableCatgirl> it
couldn't minify with syntax errors and i don't see i could have all
that many bugs in 1.7kb
L237[20:00:17] <AmandaC> %8ball ^
L238[20:00:18] <MichiBot> AmandaC: Reply
hazy, try again
L239[20:16:07] <AdorableCatgirl> thanks
you jinxed it
L242[20:34:24]
<Ariri>
f
L245[20:44:38]
<AdorableCatgirl> before anyone asks, the
1st a dummy process, the 2nd prints the text, and the 3rth prints
the number
L246[20:44:46]
<AdorableCatgirl> now i'm gonna add one
more just to make sure it all werks
L248[20:46:05]
<AdorableCatgirl> well at least it works,
but now i have to fix some core problems
L249[20:49:49]
⇨ Joins: Izaya
(Izaya!~izaya@210-1-218-92-cpe.spintel.net.au)
L251[20:53:10] <ba7888b72413a16a> oops,
that txt file is truncated
L253[20:54:59] <AmandaC> Interesting
L254[20:55:26] <AmandaC> The uppercase 'J'
un-truncated it?
L255[20:56:28] <ba7888b72413a16a> well
that's just base64(unbase64(the id) + 1)
L256[20:56:30] <ba7888b72413a16a> :p
L257[20:57:42] <AmandaC> Nope, sorry
L258[20:58:49] <AmandaC> It's Canon now,
uppercasing the last character of a URL will make it longer,
pulling the data from the aether if otherwise unavailable
L259[20:59:11] <ba7888b72413a16a>
lol
L260[20:59:30] <ba7888b72413a16a> using
advanced markov chain technology
L261[20:59:53] <ba7888b72413a16a> or gpt2
if you want scientists to discover unicorns in peru
L262[21:12:04] <AdorableCatgirl>
okay!
L263[21:12:10] <AdorableCatgirl> i think i
should have my shit down pat now
L266[21:42:57]
<Paradoxical> Oof
L267[21:42:58]
<Paradoxical> ltkrnl_test$3 is how my
deadlines work for my projects
L268[21:45:16]
<AdorableCatgirl> well i mean, the last one
was to test if infinite deadlines work
L269[21:45:18]
<AdorableCatgirl> which they do
L270[21:45:22]
<AdorableCatgirl> and that's nice
L271[21:50:12]
<Ariri>
%tonkout
L272[21:50:13] <MichiBot> Zounderkite!
Ariri! You beat asie's previous record of 2 hours, 15 minutes and
43 seconds (By 59 minutes and 43 seconds)! I hope you're
happy!
L273[21:50:14] <MichiBot> Ariri has stolen
the tonkout! Tonk has been reset! They gained 0.003 tonk points!
plus 0.002 bonus points for consecutive hours! (Reduced to 50%
because stealing) Current score: 0.2076
L274[21:50:53]
<Ariri> no
dst error there
L275[23:09:28]
<Ariri>
%tonk
L276[23:09:29] <MichiBot> Fopdoodle!
Ariri! You beat your own previous record of <0 (By 1 hour, 19
minutes and 16 seconds)! I hope you're happy!
L277[23:09:30] <MichiBot> Ariri's new
record is 1 hour, 19 minutes and 16 seconds! No points gained for
stealing from yourself. (Lost out on 0.00132)
L278[23:43:15]
<The_Stargazer> how can I send JSON from
within OC?
L279[23:45:03] <Izaya> send? ez
L280[23:45:07] <Izaya> build? with
difficulty
L281[23:46:35]
<The_Stargazer> basically: I want to see if
I can send a message to Discord via OC
L282[23:46:39]
<The_Stargazer> (using a webhook)
L283[23:47:19]
<The_Stargazer> discord docs say I need to
make a POST request to the webhook URL, and send JSON data
L284[23:49:18] ⇦
Quits: bauen1
(bauen1!~bauen1@ipbcc03b58.dynamic.kabel-deutschland.de) (Ping
timeout: 190 seconds)
L285[23:53:03] <Izaya> IIRC the internet
component supports POSTs
L286[23:53:20] <Izaya> so it'd be easy
enough to send pre-programmed data
L287[23:54:40]
<The_Stargazer> ?
L289[23:55:23]
<The_Stargazer> how am I supposed to send
JSON?
L290[23:55:34] <Izaya> the same way you'd
send any other POST request?
L292[23:56:30] <Izaya> because that's a
Lua table?
L293[23:56:32]
<The_Stargazer> (would've made it a code
block but the grave key is apparently broken)
L294[23:56:40]
<The_Stargazer> then how do I send a bunch
of JSON
L295[23:56:49] <Izaya> write something to
encode data as JSON
L296[23:56:53] <Izaya> or use a library
someone else wrote
L297[23:57:01]
<The_Stargazer> I have Luvit's JSON
lib
L298[23:57:03] <Izaya> or pre-generate
your JSON stanzas
L299[23:58:54]
<The_Stargazer> using json.encode({content
= "Hi"}) doesn't work either
L300[23:59:09]
<The_Stargazer> the string generated is
{"content":"Hi"}
L301[23:59:15] <Izaya> are you giving it
the right data it wants?
L302[23:59:19]
<The_Stargazer> uhhhh
L303[23:59:24]
<The_Stargazer> i'm sending it json
L304[23:59:29]
<The_Stargazer> the discord docs say it
needs json
L305[23:59:33]
<The_Stargazer> do I need to set
Content-Type?
L306[23:59:38] <Izaya> no idea
L307[23:59:49] <Izaya> but if all it wants
is "JSON" then technically {} would work
L308[23:59:55]
<The_Stargazer> how do I even do that, it
won't let me put a - in
L309[23:59:58] <Izaya> because that's
valid JSON
L310[23:59:59]
<The_Stargazer> you need a 'content'
field