<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:31:59]
<The_Stargazer> How do you get the tier of
a component?
L2[00:33:06]
<The_Stargazer> Also, with
`component.isAvailable`, can you check if a method from that
component is available?
L3[00:44:15]
<Kodos> If
the component is available the method is. What usecase do you have
that you’d need to check for a specific methods availability
L4[00:44:34]
<Kodos> Also
I don’t think you can get the tier of something
L5[00:44:58]
<Kodos>
Other than checking for something only available with a specific
tier
L6[00:45:01]
<Mimiru> an
@optional method on a component if mod A isn't installed
L7[00:45:21]
<Mimiru>
would be a usecase for checking if a method exists
L8[00:45:35]
<Kodos> Ah
fair. Computeonics adds a lot of additional methods
L9[00:45:49]
<Kodos>
Tronics *
L10[00:46:30]
<The_Stargazer> My use case is checking if
data card's encryption is available
L11[00:46:41]
<The_Stargazer> and tier 1 doesn't provide
that
L12[00:46:44]
<The_Stargazer> also SHA-256
L13[00:48:03] ⇦
Quits: Kleadron
(Kleadron!~kleadron@c-73-254-147-9.hsd1.wa.comcast.net) (Ping
timeout: 202 seconds)
L14[00:48:13]
<Kodos> In
any case I don’t think tiers are available. It was mentioned once
but someone made the argument that it’s a bit immersion
breaking
L15[00:48:33]
<Kodos>
Personally I disagree but
L16[00:49:34]
<Kodos> I’d
love to get all sorts of detailed specs. Imagine a dxdiag report
generated in opencomputers for your ic machine specs
L17[00:49:44]
<Kodos> Oc
*
L18[00:49:58]
<The_Stargazer> yeah that'd be neat
L19[00:54:32] <Izaya> should cpio archives
have contents for directory entries
L20[01:00:13] ⇦
Quits: glasspelican (glasspelican!~quassel@2607:5300:201:3100::325)
(Quit: http://quassel-irc.org - Chat comfortably.
Anywhere.)
L21[01:02:31] ⇨
Joins: Kleadron
(Kleadron!~kleadron@c-73-254-147-9.hsd1.wa.comcast.net)
L22[01:02:34] <Izaya> fuck me this is a
pain
L23[01:02:36] <Izaya> cpio pls
L24[01:02:50] ⇨
Joins: glasspelican
(glasspelican!~quassel@2607:5300:201:3100::325)
L25[01:15:33] ⇦
Quits: ben_mkiv (ben_mkiv!~ben_mkiv@i59F6782F.versanet.de) (Ping
timeout: 206 seconds)
L26[01:23:59] <Izaya> cpio is a shit format
and I don't like it
L28[01:33:54] <MichiBot> Ariri: AmandaC
will be notified of this message when next seen.
L29[01:36:19] <Izaya> what the fuck
L30[01:36:31]
<Ariri>
What
L31[01:36:32] <Izaya> why is my header like
4x as long as the one cpio makes
L32[01:36:49]
<Ariri>
Uh
L33[01:36:53]
<Ariri> Cpio
bad?
L34[01:37:03] <Izaya> cpio is standards
compliant
L35[01:37:11] <Izaya> evidently my
implementation is FUCKED for some unknown reason
L36[01:37:14]
<Ariri>
That’s a file compression thing right? Or am I thinking of
something else
L37[01:37:18]
<Ariri>
:0
L38[01:37:38]
<Ariri>
Isn’t C++ supposed to be standards compliment too lol
L39[01:37:55] <Izaya> C++ is only a
standard
L40[01:38:26]
<Ariri> Yeah
something like that
L41[01:38:56]
<Ariri>
Standard programming or something in some industries as I remember
it
L42[01:39:29] <Izaya> no I mean
L43[01:39:30] <Izaya> C++
L44[01:39:33] <Izaya> is only
L45[01:39:35]
<Ariri>
Could you use the hash of the cpio for what you’re using?
L46[01:39:35] <Izaya> words on a page
L48[01:39:44]
<Ariri>
Oh
L49[01:39:47] <Izaya> because I'm trying to
generate cpio archives
L50[01:40:14]
<Ariri>
Oh
L51[01:40:14]
<Ariri> Not
sure how to help you then
L52[01:40:55]
<Ariri>
You’ve prob tried the advice I’d give
L53[01:42:06] <Izaya> and of course all but
gnu cpio uses the new ascii format rather than the binary
format
L54[01:42:14] <Izaya> which for whatever
reason the util on the forums uses
L55[01:43:01]
<Ariri>
That’s a pain (I think)
L56[01:58:25] <Izaya> this is why I wanted
to write my own archive format
L57[01:58:28] <Izaya> something
simple
L58[01:58:33] <Izaya> maybe I'll just
fuckin do that
L59[02:02:38] ⇦
Quits: Kleadron
(Kleadron!~kleadron@c-73-254-147-9.hsd1.wa.comcast.net) (Ping
timeout: 190 seconds)
L60[02:06:32]
<Ariri>
Hehehe I’m on chapter 30 already and it’s 12 am ahh the day is just
beginning and this ship is FLYING
L61[02:16:08]
<Forecaster>
%sip random
L62[02:16:09] <MichiBot> You drink a
resonating green potion (New!). Forecaster turns into a shark for
30 seconds.
L63[02:17:04]
<Forecaster>
%tonk
L64[02:17:05] <MichiBot> By my throth!
Forecaster! You beat Kodos's previous record of <0 (By 6 hours,
52 minutes and 2 seconds)! I hope you're happy!
L65[02:17:06] <MichiBot> Forecaster's new
record is 6 hours, 52 minutes and 2 seconds! Forecaster also gained
0.00687 tonk points for stealing the tonk.
L66[02:17:21]
<The_Stargazer> I think my Wi-Fi driver
just crashed my computer
L67[02:18:02]
<The_Stargazer> it bluescreened with
0x000001d8
L68[02:18:27]
<The_Stargazer> I did some research and
apparently someone had that error and they have a qualcomm atheros
wifi card
L69[02:18:34]
<The_Stargazer> which I also have
L70[02:19:33]
<The_Stargazer> so I'm guessing my wifi
driver crashed the computer
L71[02:20:27]
<The_Stargazer> that's new
L72[02:31:31]
<Zef>
Welcome to windows
L73[02:31:38]
<Zef> %drink
random
L74[02:31:38] <MichiBot> You drink a solid
lime potion (New!). Zef turns into a fish girl until your next sip
of water.
L75[02:31:54]
<Zef> Ew a
fish and a girl
L76[02:32:52] *
Izaya laughs manically
L77[02:33:04] <Izaya> new archive format is
smaller than cpio
L78[02:33:14] <Izaya> new archive format
takes zero effort to parse
L79[02:33:26] <vifino> does it have an
index?
L80[02:33:31] <Izaya> nop
L81[02:33:35] <vifino> then it sucks.
L82[02:33:38] <Izaya> thank
L83[02:33:42] *
Izaya hmms
L84[02:33:44] <vifino> you're
welcome.
L85[02:33:48] <Izaya> maybe I should write
one with an index
L86[02:33:53] <vifino> yes, you
should.
L87[02:33:54] <Izaya> that'd be much more
practical for an archival FS
L88[02:34:01] <Izaya> or I could implement
venti but on tapes
L89[02:34:03] <Izaya> that could be
neat
L90[02:34:45] <vifino> if you have a tape
drive, reading is pretty fast, but seeking is faster than reading
stuff you don't care about.
L91[02:35:00] <Izaya> right
L92[02:35:29] <vifino> and seeking once is
better than seeking until the next file header, reading that and
then doing another seek...
L93[02:35:58] <vifino> plus, if you'd have
an index in a known location, you could read that once on boot and
keep an offset table.
L94[02:36:24] <vifino> then reading becomes
seek + read instead of seek + read + seek + read
L95[02:36:29] <vifino> speed!
L96[02:36:50] <Izaya> yup
L97[02:37:01] <Izaya> but for now I want
something dumb enough to read as part of another BIOS
L98[02:37:27] <vifino> you just want an
archival format, not a compression format, right?
L99[02:37:32] <Izaya> right
L100[02:37:46] <vifino> let me dig up a
format i made a long time ago
L101[02:37:53] <Izaya> already wrote one
thanks
L102[02:37:58] <Izaya> unless you mean
with an index
L103[02:38:00] <Izaya> in which case
L104[02:38:02] <vifino> with index.
L105[02:38:02] <Izaya> :D
L106[02:38:24] <vifino> not sure if i have
the tools for it, but i know i have the spec somewhere
L107[02:38:35] <vifino> or a draft of a
spec.
L108[02:54:01] <Izaya> ayy got PsychOS
booting off the new archive format
L109[02:54:17] <Izaya> now I just have to
port the util to PsychOS...
L110[03:10:56] <Izaya> heyyyy
L111[03:11:03] <Izaya> successfully wrote
a filesystem to a tape :D
L112[03:13:51]
⇨ Joins: Prof_David
(Prof_David!~neuge@2a02:560:42cb:5600:2305:4374:c024:1913)
L113[03:17:23] ⇦
Quits: Prof_David
(Prof_David!~neuge@2a02:560:42cb:5600:2305:4374:c024:1913) (Remote
host closed the connection)
L114[03:22:37]
⇨ Joins: Prof_David
(Prof_David!~neuge@2a02:560:42cb:5600:2305:4374:c024:1913)
L115[03:26:07] ⇦
Quits: dustinm`
(dustinm`!~dustinm@static.38.6.217.95.clients.your-server.de)
(Quit: Leaving)
L116[03:26:42] ⇦
Quits: {Opsimath}Shawn
({Opsimath}Shawn!~shawn156@c-76-25-73-212.hsd1.co.comcast.net)
(Read error: Connection reset by peer)
L117[03:27:45]
⇨ Joins: dustinm`
(dustinm`!~dustinm@static.38.6.217.95.clients.your-server.de)
L118[03:37:38] ⇦
Quits: Yarillo
(Yarillo!~Yarillo@2001:660:4701:2004:5054:ff:feb8:97e9) (Ping
timeout: 190 seconds)
L119[03:39:04]
⇨ Joins: Yarillo
(Yarillo!~Yarillo@rumia.aius.u-strasbg.fr)
L120[04:22:20]
<The_Stargazer> Welcome to the 80s
L121[04:27:14] <Izaya> hell yeah
L122[04:27:22] <Izaya> once I can afford
some more hardware I'm gonna set up a BBS
L123[04:28:04] <vifino> I was planning to
set one up again.
L124[04:28:09] <vifino> If you want, we
can collaborate.
L125[04:28:15] <Izaya> I'm talking about
ingame
L126[04:28:19] <vifino> I have some phone
lines I plan to add, too..
L127[04:28:24] <vifino> Oh. Well.
Sure.
L128[04:28:44] *
vifino is slightly disappointed
L129[04:29:16] <Izaya> just realised I can
write a PsychOS program in the same vein as termsrv and run the
program like it were running locally
L130[04:31:11] <Izaya> could even just
tell termsrv to start something other than the shell
L131[04:31:13] <Izaya> ez
L133[05:00:56] <vifino> pretty simple
hashed and checksummed archive, you can ignore most things while
reading
L134[05:00:56] <Izaya> nice
L135[05:01:23] <vifino> if you only deal
with the small variant, lua's doubles will do just fine
L136[05:01:40] <vifino> after all, i doubt
you wanna store more than 2^32 4GiB files in MC, right?
L137[05:02:05] <Izaya> iunno man I have
big plans
L138[05:02:09] <vifino> haha
L139[05:02:18] <Izaya> I wouldn't rule it
out
L140[05:02:30] <vifino> i'll check if i
find the tools, but they should be pretty simple to write
L141[05:02:38] <vifino> might just rewrite
it once i'm back from work
L142[05:03:12] <vifino> i'm not sure if i
have updated variants of that draft, but it's the one i had in my
formats directory :D
L143[05:03:46] <vifino> i used it once in
a small kernel experiment of mine
L144[05:04:03] <vifino> initramfs style
stuff, yknow?
L145[05:04:08] *
Izaya nods
L146[05:04:41] <vifino> i'm not sure if
the sdbm algo was the best choice, but it certainly works and is
really easy to implement
L147[05:51:17] <CompanionCube> %tonk
L148[05:51:17] <MichiBot> I'm sorry
CompanionCube, you were not able to beat Forecaster's record of 6
hours, 52 minutes and 2 seconds this time. 3 hours, 34 minutes and
12 seconds were wasted! Missed by 3 hours, 17 minutes and 49
seconds!
L150[06:21:20] <Corded> *
<Forecaster> considers adding "sword" to the list
of transformations for some interesting combinations
L151[06:29:20] ⇦
Quits: Prof_David
(Prof_David!~neuge@2a02:560:42cb:5600:2305:4374:c024:1913) (Remote
host closed the connection)
L152[06:33:08] <AmandaC> Meow
L153[06:35:42]
<Forecaster>
*Shark noises*
L154[06:36:32] *
AmandaC looks at the storm clouds outside worryingly
L155[06:39:18]
⇨ Joins: bauen1
(bauen1!~bauen1@ipbcc038c0.dynamic.kabel-deutschland.de)
L156[07:01:03]
<The_Stargazer> It is now tommorow.
L157[07:01:14]
<The_Stargazer> One minute past tommorow to
be exct.
L158[07:01:18]
<The_Stargazer> One minute past tommorow to
be exact. [Edited]
L159[07:02:07]
<Forecaster>
but
L160[07:02:11]
<Forecaster>
Tomorrow Never Comes
L161[07:02:54]
<The_Stargazer> haha
L162[07:34:43] ⇦
Quits: bauen1
(bauen1!~bauen1@ipbcc038c0.dynamic.kabel-deutschland.de) (Ping
timeout: 190 seconds)
L163[07:37:33]
⇨ Joins: bauen1
(bauen1!~bauen1@ipbcc038c0.dynamic.kabel-deutschland.de)
L165[08:15:38] *
Temia flop.
L166[08:16:09]
<Forecaster>
I found a bug: not enough cowbell
L167[08:17:07]
⇨ Joins: Thutmose
(Thutmose!~Patrick@host-69-59-79-181.nctv.com)
L168[08:21:48] *
AmandaC cuddles up around Temia to protecc
L169[08:25:43]
⇨ Joins: dimon (dimon!~dimon@37.229.71.186)
L170[08:26:12]
⇨ Joins: dimon2 (dimon2!~dimon2@37.229.71.186)
L171[08:26:16] ⇦
Quits: dimon2 (dimon2!~dimon2@37.229.71.186) (Client
Quit)
L172[08:29:24] ⇦
Quits: dimon (dimon!~dimon@37.229.71.186) (Ping timeout: 190
seconds)
L173[08:59:51]
⇨ Joins: Vexatos
(Vexatos!~Vexatos@port-92-200-49-36.dynamic.qsc.de)
L174[08:59:51]
zsh sets mode: +v on Vexatos
L175[09:06:50]
<slenderking49> how do you connect the
computer to disord?
L176[09:07:42]
<Forecaster>
try googling "lua discord bot" or something similar
L177[09:08:14]
<slenderking49> oke thx
L178[09:14:01]
<Pegi 16>
Does anyone know if discord webhooks can be used with
internet.request? If so could you provide an example.
L179[09:15:42]
<Forecaster>
webhooks are not required
L180[09:16:13]
<Pegi 16>
?
L181[09:17:12]
<Forecaster>
a webhook just lets you set a custom name and avatar for a
message
L182[09:17:33]
<Forecaster>
you don't need to use webhooks in a bot
L183[09:17:34] <Mimiru> I think they're
wanting to be able to send data to a webhook from OC
L184[09:17:38]
<Pegi 16> Is
there another means of sending a message to discord via OC?
L185[09:18:01]
<Pegi 16>
^What @Mimiru said.
L186[09:18:40]
<Forecaster>
then just look up how webhooks work and what you need to send to
use them
L187[09:18:48]
<Forecaster>
internet.request just sends http requests
L189[09:19:59] <Mimiru> send the data to
the webhook URL you get on the create.edit webhook screen
L190[09:20:22] <Mimiru> you can likely
just send username, avatar_url, and content
L191[09:21:01] <Mimiru> hell, you don't
even need to send the avatar_url lol
L192[09:21:24]
<Pegi 16>
You are not required to send all data that could be sent.
L193[09:21:29] <Mimiru> username is
optional too, in theory you could just send content :P
L194[09:21:38]
<Pegi 16>
^
L195[09:22:04]
<bad at
vijya> b i r b
L196[09:22:06] <Mimiru> So yeah, just post
your JSON formatted content to the webhook URL
L197[09:22:08] <Mimiru> and.. done
L198[09:23:59]
<Forecaster>
is that cable over there supposed to be on fire?
L199[09:26:40]
<Pegi 16>
Tried this (I have the webhook stored in a variable and the embed
stored in a var too (just copied the one of the link you provided )
Still nothing```
L200[09:26:40]
<Pegi 16>
internet.request(webhook, "POST", json.encode({content =
embed}), {["Content-Type"] =
"application/json"})```
L201[09:37:55]
<Pegi 16>
Tried this (I have the webhook stored in a variable and the embed
stored in a var too (just copied the one of the link you provided )
Still nothing```
L202[09:37:55]
<Pegi 16>
internet.request(webhook, json.encode({content = embed}),
{["Content-Type"] = "application/json"})```
[Edited]
L203[09:38:43]
<Pegi 16>
Could you give me an example of executing a webhook? @Mimiru
L204[09:39:51]
<bad at
vijya> @Pegi 16 use TCP sockets
L205[09:40:22]
<bad at
vijya> iirc, internet card doesn't have a native method for POST
requests
L206[09:41:59]
<Pegi 16>
How would I go about doing that? *Right over my head*
L207[09:42:08] <fingercomp> it sends a
POST request when the request's body is given
L208[09:42:32]
⇨ Joins: Prof_David
(Prof_David!~neuge@2a02:560:42cb:5600:2305:4374:c024:1913)
L209[09:42:32] <fingercomp> there's
absolutely no need to use TCP sockets if you only need to send an
HTTP request
L210[09:43:51]
<Pegi 16>
But then you can't make a POST request?
L211[09:43:56]
<bad at
vijya> wait really?
L212[09:44:09]
<bad at
vijya> i guess i didn't read the docs all the way through
L213[09:44:11]
<bad at
vijya> l m a o
L214[09:45:05]
<Pegi 16> So
then the method I put above should work then?...but it
doesn;t.
L215[09:45:44] <fingercomp> @"Pegi
16" (assuming `json.encode({content = embed})` returns a
string) `internet.request(webhook, json.encode({content = embed}),
{["Content-Type"] = "application/json"})`
should send a POST request with a header attached
L216[09:46:04]
<Pegi 16>
Still nothing.
L217[09:46:22]
<Pegi 16> I
can link the pastebin if you like?
L218[09:46:37] <fingercomp> yes, that
would help
L220[09:47:16] <dequbed> Izaya: Implement
ar? It's not like it's a complex format.
L221[09:48:06] <fingercomp> @"Pegi
16" the code does not define `json.encode`
L222[09:48:47] <fingercomp> is the script
executed in a custom environment that has that function
defined?
L223[09:48:48]
<Pegi 16>
Oooooh :p. How would I convert it to a string?
L224[09:48:54]
<Pegi 16>
Nope,.
L225[09:49:30] <fingercomp> ah, then you
need to install a JSON encoding library on your opencomputer
L226[09:49:35]
<Pegi 16> I
am used of working with an environment that has a .json
library.
L227[09:49:48] <fingercomp> and `require`
it in the script
L229[09:52:26]
<slenderking49> could any one help me
L230[09:52:42]
<slenderking49> i coded some stuff and i
tried to cmd it but didnt work
L231[09:53:40]
<Pegi 16> So
I could just make a file get that from a pastebin then
require("jsonfilename.lua")
L232[09:56:03] <fingercomp> you should put
the library in `/home/lib/` (create that directory if it doesn't
exist yet: `mkdir /home/lib`) so that the program finds it
regardless of the current working directory
L234[09:58:46] <fingercomp> add something
like `local json = require("JSON")` and use that in the
program
L235[09:59:43]
<Bob>
Require iterates trough paths package.path and cpath for C libs
(non OC) and already had .lua extentions
L236[10:00:03]
<Bob> so
require("events") works since package.path already adds
the .lua at the end
L237[10:03:18]
<Pegi 16>
Still nothing fingercomp
L238[10:04:09]
<Bob>
/usr/lib actually works
L239[10:04:13]
<Bob> and is
made for user libs
L240[10:04:29]
<Bob> its in
package.path so require will look into that folder when trying to
load a module
L241[10:05:27]
<Bob> VSCode
:GWmemetownLULLLLLLLLLLL:
L242[10:05:33]
<Pegi 16> Do
you have to specify the dir of a file when using require that isn't
already built into the OS?
L243[10:06:01]
<Bob> Unless
you use a weird library and you should use . then
L244[10:06:20]
<Bob>
LuaSockets http requiring : require("socket.http")
L245[10:06:34] <fingercomp> @"Pegi
16" is the script throwing an error?
L246[10:06:37]
<Bob> You
shoud just put your Json lib into /usr/lib then require it
L247[10:07:04]
<Pegi 16>
Thats what I've done, where can I find the error?
L248[10:08:28]
<Bob> If
theres an error then Lua throws it at you
L249[10:08:38]
<Bob> Show
us if you have no clue about it
L250[10:10:06] <fingercomp> @"Pegi
16" I've just noticed the library expects you to use a colon
(`:`) when calling `encode`: `json:encode({content = embed})`
L251[10:10:21]
<Bob> it
passes itself?? bruh
L252[10:12:10]
<Pegi 16>
Nope, still nothing. Even move the JSON.lua (.json library) to the
/lib/ folder.
L253[10:12:15]
<Pegi 16>
Nope, still nothing. Even moved the JSON.lua (.json library) to the
/lib/ folder. [Edited]
L254[10:12:40] <Lizzy> could you show
example code that isn't working?
L256[10:13:04]
<Pegi 16> I
have it in autorun.
L257[10:13:17]
<Pegi 16> I
have it been downloaded and executed in autorun*
L258[10:14:21] <Lizzy> hmm, what happens
if you go into a lua prompt and manually type `json =
include('JSON')`?
L259[10:15:26]
<Bob>
pastebin is still down here
L260[10:15:34]
<Bob>
include you mean require
L261[10:15:38]
<Bob> %bap
Lizzy
L262[10:15:38] *
MichiBot baps Lizzy with the bard
L263[10:15:45] <Lizzy> yes, sorry
L264[10:16:03] <Lizzy> what language is
`include` used as an import statement?
L265[10:16:19] <Lizzy> cause it isn't lua
and isn't python so idk where the hell i got that from
L266[10:16:23]
<Pegi 16> No
error.
L267[10:16:51] <Lizzy> and is the `json`
variable now a dict containing the library functions?
L268[10:17:37]
<Pegi 16>
json is referring to a JSON.lua library found in /lib/
L269[10:17:58] ⇦
Quits: vifino (vifino!~vifino@b2b-78-94-116-114.unitymedia.biz)
(Ping timeout: 190 seconds)
L270[10:18:06] <Lizzy> hmm
L271[10:18:32]
<Bob> Lizzy
: HERETIC, PYTHON WITCH, ITS TIME FOR A CURSADE
L272[10:18:42]
<Bob> Lua
uses require
L273[10:18:44] <CompanionCube> Lizzy:
C?
L274[10:18:48]
<Bob> to
load libs
L275[10:19:00]
<Bob> wait
python is import right
L276[10:19:01]
<Pegi 16> I
could possibly execute it in a lua prompt with a message instead of
an embed, take me forever to write with the long ass webhooj.
L277[10:19:04]
<Pegi 16>
Yep.
L278[10:19:04]
<Bob> then
include must be C++ or C
L279[10:19:06] <Lizzy> python is
import
L280[10:19:10]
<Bob>
Yea
L281[10:19:14]
<Bob> im
gay
L282[10:19:22] <Lizzy> CompanionCube,
yeah, except i haven't done any C coding
L283[10:19:43]
<Bob>
Anything that was C influenced ?
L284[10:19:44] <Lizzy> actually, i wonder
if my brain thought of it from doing nginx configs
L285[10:19:58] <Lizzy> nothing directly
AFAIK
L286[10:20:08] <Lizzy> my brain is weird
sometimes
L287[10:22:19]
<Bob>
Welcome
L288[10:23:49] <Mimiru> PHP uses
include/require/require_once
L289[10:24:06] <Lizzy> haven't done any
PHP in a long time
L290[10:24:25]
<Forecaster>
also include_once
L291[10:24:26]
<Forecaster>
:>
L292[10:25:45] <Mimiru> ah, right
include_once
L293[10:25:49]
<Bob> Php
oofskies
L294[10:26:07]
<Forecaster>
probably the least used of the four
L295[10:31:40]
<bad at
vijya> y i k e s
L297[10:32:05]
<Pegi 16> Is
there a way to execute files while in the shell.
L298[10:33:32]
<The_Stargazer> @bad at vijya who would do
such a thing
L299[10:33:47]
<Bob> @Pegi
16 background thread ?
L300[10:34:18]
<Pegi 16>
Not sure, some way of executing a file to see what errors it
produces.
L301[10:34:37]
<The_Stargazer> the lua shell?
L302[10:34:39]
<Forecaster>
you just type the files path
L303[10:34:46]
<The_Stargazer>
`os.execute("/path/to/file")`
L304[10:34:57]
<bad at
vijya> @The_Stargazer Guy said "he got ripped off" or
something similar, but meaning is somewhat lost in
translation
L305[10:34:58]
<Forecaster>
do you mean the lua interpreter?
L306[10:35:09]
<The_Stargazer> >gets ripped off
L307[10:35:09]
<The_Stargazer> >burns down studio
L308[10:38:27]
<Pegi 16>
returns os.execute: file not found.
L309[10:39:33]
<The_Stargazer> ah, you meant the command
shell
L310[10:39:38]
<The_Stargazer> just type the file's
path
L311[10:41:27]
<Pegi 16> So
when I execute the file, im getting no error. Im completely lost at
this point.
L312[10:48:54]
⇨ Joins: Rahix
(Rahix!~Rahix@2001:7f0:3003:235f:7432:dd86:b273:f0ec)
L313[10:50:39]
⇨ Joins: vifino
(vifino!~vifino@b2b-78-94-116-114.unitymedia.biz)
L314[10:51:08] ***
vifino is now known as Guest97866
L315[10:55:02]
<Pegi 16>
Anyone know a possible solution
L316[10:55:10] <fingercomp> @"Pegi
16" do you mind if I send a request to the URL in the
script?
L317[10:55:26]
<Pegi 16>
Sure of course.
L318[10:56:01] <fingercomp> the server
returned 400 Bad Request
L319[10:56:18]
<Pegi 16>
Oof.
L320[10:56:22] <fingercomp>
{"content": ["Could not interpret \"[{u'color':
3224376, u'fields': [{u'name': u'Field 1', u'value': u'Value'}],
u'footer': {u'text': u'footer'}, u'title': u'Title'}]\" as
string."]}
L321[10:56:43]
<Pegi 16>
Somethen wrong with the json encode?
L322[10:57:12]
<Pegi 16>
Try setting ```content = "Hello World``` and see what you
get.
L323[10:57:19]
<Pegi 16>
That will send a standard message.
L324[10:58:10]
<Bob> string
unfinished smh
L325[10:58:21]
<The_Stargazer> ^
L326[11:02:13] <fingercomp> @"Pegi
16" I've just sent a request via an external program (not the
script because I'm having some problems with an OpenComputers
emulator I'm using); the server returned 204 No Content
L327[11:05:13] ⇦
Quits: Guest97866
(Guest97866!~vifino@b2b-78-94-116-114.unitymedia.biz) (Ping
timeout: 206 seconds)
L328[11:05:15]
<Pegi 16>
Ooof,
L329[11:05:24]
<Pegi 16>
Try setting ```content = "Hello World"``` and see what
you get. [Edited]
L330[11:06:52]
<Pegi 16> So
there is something wrong with the json:encode
L331[11:07:13]
<Pegi 16>
OMG
L332[11:07:15]
<Pegi 16> I
GOT IT TO WORK
L333[11:07:25]
<bad at
vijya> wait wot
L334[11:07:26]
<Pegi 16>
Nvcm
L335[11:07:31]
<Pegi 16>
that ws someone else ahhaahha
L336[11:07:33]
<bad at
vijya> there's json.encode/json.decode in OOS?
L337[11:07:45]
<Pegi 16> I
have downloaded the library.
L338[11:07:57]
<Pegi 16>
@Fingercomp Did you just send a webhook?
L339[11:07:58]
<bad at
vijya> oh
L340[11:07:59]
<bad at
vijya> okay
L341[11:08:15]
<Pegi 16>
Hello World[2]
L342[11:08:47]
<Pegi 16> I
got super excited for a second hahahhahaha.
L343[11:09:03] <fingercomp> yeah, this
time from the emulator
L344[11:09:23]
<Pegi 16>
What did you change/ could you show me.
L345[11:09:47] <fingercomp>
`internet.request(webhook, json:encode({content = "Hello World
[2]"}), {["Content-Type"] =
"application/json"})`
L346[11:10:09] ⇦
Quits: minecreatr (minecreatr!~minecreat@tterrag.com) (Quit: I left
for some reason)
L347[11:11:09]
<Pegi 16>
Thats weird, doesn't work for me.
L348[11:14:19]
<Pegi 16> Im
executing exactly what is found in the pastebin and nothing, no
error.
L349[11:15:05]
⇨ Joins: vifino
(vifino!~vifino@b2b-78-94-116-114.unitymedia.biz)
L350[11:15:35] ***
vifino is now known as Guest56553
L351[11:18:26]
<Pegi 16>
fingercomp?
L352[11:20:59]
<bad at
vijya> Izaya: How do you plan on netbooting an OS? :P Just
curious. I had an idea for netbooting Zorya.
L353[11:21:54]
⇨ Joins: ben_mkiv
(ben_mkiv!~ben_mkiv@i59F6782F.versanet.de)
L355[11:31:38] ⇦
Quits: Ariri (Ariri!uid378594@hathersage.irccloud.com) (Quit:
Connection closed for inactivity)
L356[11:31:46] ***
Guest56553 is now known as vifino
L357[11:32:06]
<Kodos>
%tonkout
L358[11:32:06] <MichiBot> I'm sorry Kodos,
you were not able to beat Forecaster's record of 6 hours, 52
minutes and 2 seconds this time. 5 hours, 40 minutes and 48 seconds
were wasted! Missed by 1 hour, 11 minutes and 13 seconds!
L359[11:32:14]
<Kodos>
Uwot
L360[11:34:28]
<Pegi 16> Im
getting HTTP response code: 403.
L361[11:35:30] <fingercomp> 403 is
forbidden
L362[11:35:47]
<Pegi 16>
Indeed, you know a fix.
L363[11:36:18]
<Pegi 16>
Indeed, you know a fix by any chance? [Edited]
L364[11:42:06] <fingercomp> I've never
used the Discord API and have no idea why it returns a 403
L365[11:42:29] <Vexatos> @Forecaster
something tells me your latest enter the gungeon episode has the
wrong name
L366[11:42:33] <fingercomp> I guess the
response body would explain what's going on, but OpenComputers has
no way to get that if there's an error
L367[11:42:34]
<Pegi 16> So
it works in the emulator just not the game?
L368[11:42:55]
<Pegi 16>
:p
L369[11:44:17]
<Pegi 16>
This is what discord has documented for 403:
L370[11:44:21]
<Pegi 16>
```
L371[11:44:21]
<Pegi 16>
The Authorization token you passed did not have permission to the
resource
L372[11:44:22]
<Pegi 16>
```
L373[11:44:38]
<Forecaster>
Vexatos: how so?
L374[11:45:24] ⇦
Quits: ben_mkiv (ben_mkiv!~ben_mkiv@i59F6782F.versanet.de) (Ping
timeout: 190 seconds)
L375[11:49:00]
⇨ Joins: Ariri
(Ariri!uid378594@id-378594.hathersage.irccloud.com)
L376[11:50:58]
<bad at
vijya> cool
L377[11:51:01]
<bad at
vijya> i made a hacky cli util
L379[11:51:54]
<bad at
vijya> perfect for the zorya netboot
L380[11:52:25]
<bad at
vijya> anyways i did need something so i could run zorya's
lanboot server in the background
L381[11:55:18]
<Forecaster>
hm, yeah, maybe it's wrong, but eh
L382[11:57:48] <fingercomp> @"Pegi
16" perhaps you've reached your request limit by sending too
many requests, and the server blocked you (probably
temporarily)
L383[11:59:23]
<Pegi 16> Ye
I think so, people are saying that they've tried sending webhooks
to discord and that when they are getting the error it is because
discord has blocked the request.
L384[11:59:26]
⇨ Joins: ben_mkiv
(ben_mkiv!~ben_mkiv@88.130.157.132)
L385[12:04:20] <Mimiru> I've had 403s from
bad useragents.. I wonder if the emulator is using a default user
agent, but OC isn't send one, or it's invalid.
L386[12:04:56]
⇨ Joins: Inari
(Inari!~Pinkishu@pD9E8EDAA.dip0.t-ipconnect.de)
L388[12:06:48] <Mimiru> I do know they
check useragent (They blocked Roblox before)
L390[12:08:40]
<Pegi 16> (
The webhook in there is invalid, so be sure to make one )
L392[12:09:16]
<Pegi 16> (
The webhook in there is invalid, so be sure to make one )
[Edited]
L393[12:09:32] <Mimiru> I'm @ work, so I'm
unable to help
L394[12:09:38] <Mimiru> other than tossing
out ideas, and wishing you luck
L395[12:10:53]
<Pegi 16>
Np, every idea/piece of help helps at this point.
L396[12:11:07]
<Pegi 16>
Thanks to 403.
L397[12:12:57] <Mimiru> If it *IS* the
useragent, I don't think you can send one with OC.
L398[12:13:06] <Mimiru> You'd have to
proxy the request through something that could.
L400[12:13:49]
<bad at
vijya> yea...
L401[12:23:16] <fingercomp> Mimiru: the
emulator I'm using is based on the source code of OpenComputers; in
particular, the internet card's code is nearly identical (sans
imports)
L402[12:23:24] <fingercomp> so I doubt
that is the case
L403[12:29:35]
<Kodos> Does
anyone talk to theoriginalbit
L404[12:37:45] ⇦
Quits: baschdel
(baschdel!~baschdel@151-056-210-188.ip-addr.inexio.net) (Remote
host closed the connection)
L405[12:37:53]
⇨ Joins: baschdel
(baschdel!~baschdel@151-056-210-188.ip-addr.inexio.net)
L406[12:42:03]
<Saphire>
Heeeey
L407[12:42:12]
<Saphire>
Did you know that Cmake can download git repos?
L410[12:53:06]
⇨ Joins: Kleadron
(Kleadron!~kleadron@c-73-254-147-9.hsd1.wa.comcast.net)
L411[12:53:47] <Skye> Oh no
L412[12:55:04]
<bad at
vijya> turns out
L413[12:55:27]
<bad at
vijya> i forgot to implement the fact that `component.list`
returns a table with a `__call` metamethod
L414[12:55:29]
<bad at
vijya> whoops
L415[12:58:40]
<bad at
vijya> fixed it B)
L416[12:59:10] <Skye> Oops
L418[13:07:41]
<bad at
vijya> i'm slowly gearing up for the Zorya v2 release
L419[13:07:45]
<bad at
vijya> slowly
L420[13:07:54]
<bad at
vijya> i'de decided tho
L421[13:08:12]
<bad at
vijya> to backport modules from v2 to v1, for now
L422[13:11:04]
<Pegi 16>
What is Zorya if you don't mind me asking?
L423[13:11:06]
<bad at
vijya> i've decided tho [Edited]
L424[13:11:11]
<bad at
vijya> my BIOS :P
L425[13:11:18]
<BobThePotato> bios
L426[13:11:20]
<BobThePotato> whew
L427[13:11:22]
<bad at
vijya> really a bootloader
L428[13:11:25]
<bad at
vijya> but w/e
L430[13:12:32]
<Pegi 16>
Ooooh hahahha :p
L431[13:12:50]
<bad at
vijya> tbh i really should just put Zorya's modules in their own
repo
L432[13:13:34]
<bad at
vijya> and make a util for Zorya in OpenOS
L433[13:14:21]
<bad at
vijya> also maybe even have an optional OEFI loader for OpenOS,
so it can have access to the `zorya` library but w/e
L434[13:15:12]
<bad at
vijya> Zorya can be found here:
L436[13:24:03] ⇦
Quits: ben_mkiv (ben_mkiv!~ben_mkiv@88.130.157.132) (Ping timeout:
198 seconds)
L437[13:51:37] ⇦
Quits: Ariri (Ariri!uid378594@id-378594.hathersage.irccloud.com)
(Quit: Connection closed for inactivity)
L439[13:54:10] <MichiBot>
Nintendo 3DS
eShop Loading Theme | length:
1m 40s | Likes:
89 Dislikes:
1 Views:
3,207 | by
tjtj012 |
Published On 9/4/2014
L440[13:54:23] ⇦
Quits: Kleadron
(Kleadron!~kleadron@c-73-254-147-9.hsd1.wa.comcast.net) (Ping
timeout: 202 seconds)
L441[14:01:12]
<Forecaster>
sounds like an alarm clock to me
L442[14:02:52] <Inari> Haha
L443[14:08:26]
⇨ Joins: {Opsimath}Shawn
({Opsimath}Shawn!~shawn156@c-76-25-73-212.hsd1.co.comcast.net)
L444[14:12:56]
⇨ Joins: Kleadron
(Kleadron!~kleadron@c-73-254-147-9.hsd1.wa.comcast.net)
L445[14:13:11]
⇨ Joins: ben_mkiv
(ben_mkiv!~ben_mkiv@88.130.157.132)
L446[14:26:02]
⇨ Joins: AzazazOfficial
(AzazazOfficial!~azazazoff@gamma.srv.hil.su)
L447[14:26:18] <AzazazOfficial> help
L448[14:26:23] ⇦
Quits: AzazazOfficial (AzazazOfficial!~azazazoff@gamma.srv.hil.su)
(Remote host closed the connection)
L449[14:27:05]
⇨ Joins: Azazazofficial
(Azazazofficial!~azazazoff@gamma.srv.hil.su)
L450[14:28:41]
<Forecaster>
help with what
L451[14:28:54] ⇦
Quits: Azazazofficial (Azazazofficial!~azazazoff@gamma.srv.hil.su)
(Remote host closed the connection)
L452[14:29:13]
<Forecaster>
%bye
L453[14:29:13] <MichiBot> Forecaster: Oh,
well, bye I guess...
L454[15:09:03]
<Ariri> Mild
concern
L455[15:10:51] ⇦
Quits: LeshaInc (LeshaInc!LeshaInc@fomalhaut.me) (Quit: prepare for
unforeseen consequences)
L456[15:18:17]
<Forecaster>
%sip random
L457[15:18:18] <MichiBot> You drink a
goopy caterium potion (New!). Forecaster turns into a shark for ten
minutes.
L458[15:18:26]
<Forecaster>
again?!
L459[15:18:36]
<Forecaster>
I mean *shark noises*
L460[15:25:44] ⇦
Quits: Prof_David
(Prof_David!~neuge@2a02:560:42cb:5600:2305:4374:c024:1913) (Remote
host closed the connection)
L461[16:05:24] <Inari> %give MichiBot a
rez trance vibrator
L462[16:05:25] *
MichiBot accepts the rez trance vibrator and adds it to her
inventory
L463[16:42:05] <Inari> %drink random
L464[16:42:05] <MichiBot> You drink a
viscous pink potion (New!). For about a second you know the
location of a great treasure.
L465[16:42:16] <CompanionCube> %drink
random
L466[16:42:17] <MichiBot> You drink a
oxidised void potion (New!). You see the sky briefly flash solid
dark blue then go back to normal.
L467[16:42:30] <Inari> %pet
CompanionCube
L468[16:42:38] <Inari> %pet
CompanionCube
L469[16:42:39] *
MichiBot brushes CompanionCube with a birb. 4 health
gained!
L470[16:42:48] <CompanionCube> woo
L471[17:18:55]
⇨ Joins: Ocawesome101
(Ocawesome101!webchat@38.65.248.41)
L472[17:19:04] <Ocawesome101> Hi peoples
:)
L473[17:19:41]
<Kodos>
Invalid connection. Please restart your OpenComputers
machine.
L474[17:19:55] <Ocawesome101> Wot
L475[17:20:16]
<Kodos>
Invalid connection. Please restart your OpenComputers
machine.
L476[17:20:40] ⇦
Quits: Ocawesome101 (Ocawesome101!webchat@38.65.248.41) (Client
Quit)
L477[17:20:45] <Inari> @Kodos you
troll
L478[17:20:51]
<Kodos>
?
L479[17:22:07]
<Brisingr
Aerowing> ...
L480[17:23:26]
<Brisingr
Aerowing> I prefer using the term AssButt HeineyBottom
KeisterTushie.
L481[17:23:50] <Inari> Thats way too long
to type out
L482[17:24:04] ⇦
Quits: Rahix (Rahix!~Rahix@2001:7f0:3003:235f:7432:dd86:b273:f0ec)
(Remote host closed the connection)
L484[17:25:36]
<Kodos> Xela
kebert
L485[17:34:35]
⇨ Joins: Ocawesome101
(Ocawesome101!~ocawesome@38.65.248.41)
L486[17:34:45] <Ocawesome101>
hellooooooo
L487[17:34:59] <Ocawesome101> Anyone else
here?
L488[17:35:27] ⇦
Quits: Ocawesome101 (Ocawesome101!~ocawesome@38.65.248.41) (Client
Quit)
L489[18:02:31]
<pentadyne>
there is nobody else
L490[18:02:32]
<pentadyne>
only you
L491[18:12:14]
<Kodos>
There is only zuul
L492[18:18:50] ⇦
Quits: Vexatos (Vexatos!~Vexatos@port-92-200-49-36.dynamic.qsc.de)
(Quit: Insert quantum chemistry joke here)
L493[18:19:54] <scj643> FFS
jetbrains
L495[18:20:15] <scj643> Toolbox isn't
working and is throwing SSL cert errors
L496[18:36:57] <CompanionCube> %tonk
L497[18:36:58] <MichiBot> Zounderkite!
CompanionCube! You beat Forecaster's previous record of 6 hours, 52
minutes and 2 seconds (By 12 minutes and 49 seconds)! I hope you're
happy!
L498[18:36:59] <MichiBot> CompanionCube's
new record is 7 hours, 4 minutes and 51 seconds! CompanionCube also
gained 0.00147 (0.00021 x 7) tonk points for stealing the
tonk.
L499[18:38:54] *
CompanionCube was expecting more stealing points for some
reason...maybe a tonkout would've been better
L500[18:45:24]
<Ocawesome101> Hi people
L501[18:48:00]
<Ocawesome101> How is you
L502[18:52:02]
<bad at
vijya> well i wanna jump off a bridge
L503[19:00:27]
<Ocawesome101> OOF why?
L504[20:26:24]
<Ariri>
doesnt tonkout reduce the # of points
L505[20:36:23] <AmandaC> %tell Inari I'm
fine, ended up reading all day, which explains my stomach
growling
L506[20:36:23] <MichiBot> AmandaC: Inari
will be notified of this message when next seen.
L507[20:36:36] <AmandaC> Night nerds
L508[20:36:48]
<Mimiru>
o/
L509[22:00:38] ⇦
Quits: Thutmose (Thutmose!~Patrick@host-69-59-79-181.nctv.com)
(Quit: Leaving.)
L510[22:54:39] ⇦
Quits: ben_mkiv (ben_mkiv!~ben_mkiv@88.130.157.132) (Remote host
closed the connection)
L511[23:49:24]
<Bob> also
for some reason when the OC screen center is offscreen then the
screen overlay isnt rendered, i mean it apears as it is off