<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:01:28]
<Renno> so
many libraries without documentation so no one knows how to use
them
L3[02:23:06]
<microwave>
it could not do it
L4[02:23:26]
<microwave>
it keeps saying i need to yield despite the fact that theres plenty
of yields there
L5[02:45:10]
<microwave>
nevermind it was trying to compress /dev/random
L6[03:09:27]
<microwave>
ok i got it to compress the entirety of OpenOS
L7[03:09:31]
<microwave>
from the root dir
L8[03:10:28]
<microwave>
its using the V2 compression algorithm, which is quite a bit worse
than the V1 which uses OC's data card, but it has filesize limits
due to the max input data into the data card
L9[03:29:28] * Amanda
collapses into a singularity of floof atop Elfi, soon she shall
have airships, then the foxen will rue the day they put them behind
tier iv science
L10[03:29:54] <Amanda> Night girls
L11[03:30:10]
<Spider
EveryOS> Might as well %tonkouit
L12[03:30:16]
<Spider
EveryOS> %tonkout
L13[03:30:16] <MichiBot> Jiminy Cricket!
Spider EveryOS! You beat your own previous record of 3 hours, 16
minutes and 36 seconds (By 3 hours, 18 minutes and 4 seconds)! I
hope you're happy!
L14[03:30:17] <MichiBot> Spider EveryOS
has tonked out! Tonk has been reset! They gained 0.006 tonk points!
plus 0.01 bonus points for consecutive hours! Current score:
1.1858618, Position #3 Need 0.1129264 more points to pass
Vaur!
L15[03:35:55] <Izzy> microwave:
string.pack/string.unpack for chunking data into appropriate
sizes
L16[03:36:32] <Izzy> LZ16 is
"LZ16" because it's LZSS with a 16-bit chunk header
L17[03:36:56] <Izzy> doing it that way
means you can stream arbitrary data into it and it Just Works
L18[04:51:35] ⇨
Joins: Hawk777
(~Hawk777@2001:569:7ca4:2a00:2501:423d:a22f:73d4)
L20[06:41:55] ⇨
Joins: Vexatos
(~Vexatos@p200300eaef378a0028eb081c101dd7e8.dip0.t-ipconnect.de)
L21[06:41:55] zsh
sets mode: +v on Vexatos
L22[06:55:48]
<Forecaster> January 0th is when I
schedule all my meetings
L23[07:35:29]
<Vaur>
%tonk
L24[07:35:30] <MichiBot> Dagnabbit! Vaur!
You beat Spider EveryOS's previous record of <0 (By 4 hours, 5
minutes and 12 seconds)! I hope you're happy!
L25[07:35:31] <MichiBot> Vaur's new record
is 4 hours, 5 minutes and 12 seconds! Vaur also gained 0.00409 tonk
points for stealing the tonk. Position #2. Need 0.3674318 more
points to pass Forecaster!
L26[08:22:17] ⇦
Quits: Hawk777 (~Hawk777@2001:569:7ca4:2a00:2501:423d:a22f:73d4)
(Quit: Leaving.)
L27[11:16:06] *
Amanda meows and looks around
L28[12:59:44]
<Forecaster> %tonk
L29[12:59:45] <MichiBot> Boom! Forecaster!
You beat Vaur's previous record of 4 hours, 5 minutes and 12
seconds (By 1 hour, 19 minutes and 3 seconds)! I hope you're
happy!
L30[12:59:46] <MichiBot> Forecaster's new
record is 5 hours, 24 minutes and 15 seconds! Forecaster also
gained 0.0066 (0.00132 x 5) tonk points for stealing the tonk.
Position #1.
L31[13:11:37] <lunar_sam> Izaya: thanks for
reminding me how long it's been since i worked on OSSM
L32[13:11:39] <lunar_sam> :v
L34[13:38:19] <lunar_sam> i have not wanted
to touch code in a long while
L35[13:44:31]
<Spider
EveryOS> %tonk
L36[13:44:31] <MichiBot> I'm sorry Spider
EveryOS, you were not able to beat Forecaster's record of 5 hours,
24 minutes and 15 seconds this time. 44 minutes and 46 seconds were
wasted! Missed by 4 hours, 39 minutes and 29 seconds!
L37[13:45:02]
<Spider
EveryOS> Oh, my phone didn't show me the new messages until
after I pressed send
L38[13:46:18]
<Spider
EveryOS> My summer job starts back up today, so I'll be busy.
But last night I ordered an FPGA. I'm gonna learn myself some
verilog
L40[13:53:20]
<Kristopher38> Have fun
L41[13:53:52] <Amanda> %choose mining laser
or cargo shios
L42[13:53:52] <MichiBot> Amanda: Out of
these two choices? I'd say "mining laser".
L43[14:07:39]
<Forecaster> Extreme red dot!
L45[14:10:08] ⇨
Joins: uis (~uis@95.165.156.213)
L46[16:00:53] ⇨
Joins: Hawk777
(~Hawk777@2001:569:7ca4:2a00:d46f:2297:b95a:2e01)
L47[18:06:53] ⇦
Quits: SquidDev (~SquidDev@autoclave.squiddev.cc) (Remote host
closed the connection)
L48[18:15:58] ⇨
Joins: SquidDev (~SquidDev@autoclave.squiddev.cc)
L49[18:25:24] ⇦
Quits: tehbeard (~tehesper@66.228.139.228) (Read error: Connection
reset by peer)
L50[18:25:28] ⇨
Joins: tehbeard (~tehesper@66.228.139.228)
L51[18:39:19] ⇨
Joins: thebread (~tehesper@66.228.139.228)
L52[18:39:19] ⇦
Quits: tehbeard (~tehesper@66.228.139.228) (Read error: Connection
reset by peer)
L53[19:21:00] <Amanda> Hrm
L54[19:21:13] <Amanda> I regret not making
my subway layer deeper
L55[19:24:36] <Amanda> %choose move wires
into the subway or keep them on the surface
L56[19:24:36] <MichiBot> Amanda: The proof
is in the pudding. Definitely "keep them on the surface".
Now please get it out of my pudding.
L57[19:24:48] <Amanda> Hrm hrm
L58[19:25:35] <Amanda> I'll revisit the
decision when I'm done prettying up the subway and adding lights to
it
L59[20:06:55]
<Forecaster> Mm wire pudding
L60[20:30:04]
<Vaur>
%tonk
L61[20:30:05] <MichiBot> Jeepers! Vaur!
You beat Forecaster's previous record of 5 hours, 24 minutes and
15 seconds (By 1 hour, 21 minutes and 17 seconds)! I hope you're
happy!
L62[20:30:06] <MichiBot> Vaur's new record
is 6 hours, 45 minutes and 32 seconds! Vaur also gained 0.0081
(0.00135 x 6) tonk points for stealing the tonk. Position #2. Need
0.3659318 more points to pass Forecaster!
L63[21:09:58] ⇦
Quits: uis (~uis@95.165.156.213) (Ping timeout: 183
seconds)
L64[21:10:13] ⇨
Joins: uis (~uis@95.165.156.213)
L65[21:21:03] <Amanda> Oh right, I was so
busy growing the factory this meowning, I completley forgot to
%splash @Forecaster with mutable silver potion
L66[21:21:03] <MichiBot> You fling a
mutable silver potion (New!) that splashes onto @Forecaster.
@Forecaster turns into a radiation unicorn until they have a bubbly
stainless steel potion.
L67[22:27:35] <Corded> >
<payonel> remember the discussions of OpenComputer Chan?
well, why no…
L68[22:27:35]
<Spider
EveryOS> Those look cool
L70[22:31:46]
<PewPewCricket> it does this and i dont
know
L71[22:31:49]
<PewPewCricket> whats wrong
L72[22:31:57]
<PewPewCricket> xpcall() has shitty
documentation
L73[22:34:26] <Hawk777>
xpcall(require("ocz"), exceptionHandler) is wrong.
L74[22:34:31] <Hawk777> You want
xpcall(require, exceptionHandler, "ocz")
L75[22:34:45] ⇦
Quits: Vexatos
(~Vexatos@p200300eaef378a0028eb081c101dd7e8.dip0.t-ipconnect.de)
(Quit: Insert quantum chemistry joke here)
L77[22:35:54]
<PewPewCricket> they need to make better
docs
L78[22:36:01]
<PewPewCricket> 😭
L79[22:37:35]
<PewPewCricket> why wont os.exit work in
exceptionHandler()
L80[22:37:40]
<PewPewCricket> * os.exit() work in
exceptionHandler()
L81[22:37:43]
<PewPewCricket> *
exceptionHandler()?
L82[22:44:11]
<PewPewCricket> this is so confusing
L83[22:44:37] <Hawk777> No idea, I haven’t
used xpcall.
L84[22:44:46]
<Kristopher38> os.exit is implemented by
the OS
L85[22:44:47] <Hawk777> If I need to catch
errors I usually use pcall and check the flag instead.
L86[22:45:19]
<Kristopher38> probably nobody thought
about handling this specific case for os.exit
L87[22:45:24] <Corded> >
<Kristopher38> os.exit is implemented by the OS
L88[22:45:24]
<PewPewCricket> okay but how do i exit in
the error handler
L89[22:45:27]
<Kristopher38> in whatever OS you're
using
L90[22:45:29]
<PewPewCricket> without os.exit()
L91[22:45:42] <Corded> >
<Kristopher38> in whatever OS you're using
L92[22:45:42]
<PewPewCricket> openOS
L93[22:46:57]
<Kristopher38> exit the program? don't do
it inside the error handler, check the value returned from xpcall
and exit if an error happened
L95[22:53:32]
<PewPewCricket> err should be -2
yes?
L96[22:55:21] <Hawk777> Per the
documentation of pcall, no, the first return value is true or
false.
L97[22:55:42] <Hawk777> On success, it
returns true followed by the return values of the called function;
on failure, it returns false followed by the error message.
L98[22:56:59]
<PewPewCricket> wwqfuh
L99[22:57:01]
<PewPewCricket> wait so
L101[22:57:38]
<PewPewCricket> * require("ocz")
```
L102[22:57:39] <Corded> in xpcall()
L103[22:57:40] <Hawk777> No.
L104[22:57:47]
<PewPewCricket> wdym no
L105[22:58:01]
<PewPewCricket> thats what im trying to
do
L106[22:58:05] <Hawk777> OK so the problem
is that you have two separate “err” variables.
L107[22:58:22] <Hawk777> One is the
top-level one which is set to the first return value of “xpcall”.
The other is the parameter to the noOCZ function.
L108[22:58:32] <Hawk777> “err = -2”
changes the latter, not the former.
L109[22:59:20]
<PewPewCricket> i canged err to error in
the fucntion
L110[22:59:22]
<PewPewCricket> same issue
L111[22:59:26] <Hawk777> Show me the
code.
L113[23:00:50] <Hawk777> That makes sense.
You set err to -2 inside noOCZ, and then right afterwards you set
it to false on line 13 when xpcall returns, replacing the previous
value.
L114[23:00:57] <Corded> >
<PewPewCricket> ?????
L115[23:00:58]
<PewPewCricket> same exact output as
this
L116[23:00:59] <Hawk777> Change “err” on
line 13 to “_” or something.
L117[23:01:16]
<PewPewCricket> just on line 13?
L118[23:01:19] <Hawk777> Yeah.
L119[23:01:37]
<PewPewCricket> attempt to compare nil
with number
L120[23:01:56] <Hawk777> Add “err = 0”
somewhere at the top of your code.
L121[23:02:06] <Hawk777> Maybe above the
noOCZ function definition.
L122[23:02:29]
<PewPewCricket> same error
L123[23:02:42] <Hawk777> Do you have a
trace showing on which line the error happened?
L125[23:03:18] <Hawk777> Anyway, can you
explain why you want to set “err” from inside noOCZ?
L126[23:03:38]
<PewPewCricket> i want to exit if it
errors
L127[23:03:40] <Hawk777> You didn’t change
the “err” on line 14.
L128[23:03:47] <Hawk777> OK so why not
just use the return value of xpcall?
L129[23:03:54] <Hawk777> You changed it on
line 19 instead.
L130[23:04:02]
<PewPewCricket> whar
L131[23:04:04]
<PewPewCricket> im confused
L132[23:04:05]
<PewPewCricket> so much
L133[23:04:06] <Hawk777> But you’re making
this really complciated.
L134[23:04:19]
<PewPewCricket> i dont know how to use
xpcall
L135[23:04:21]
<PewPewCricket> at all
L136[23:05:20] <Hawk777> Let me paste some
code.
L138[23:06:28] <Hawk777> The name “err”
isn’t really a good name any more, but you can rename that.
L139[23:08:07]
<PewPewCricket> 🙏
L140[23:08:22]
<PewPewCricket> thank you
L141[23:08:35] <Hawk777> Worked?
L142[23:08:39]
<PewPewCricket> yes
L143[23:08:44] <Hawk777> Excellent!
L144[23:09:25] <Hawk777> You probably want
to rename “err” to “ok” or something, because it’s backwards for
err—it’s true if the require succeeded, not if it failed.
L145[23:15:09]
<AR2000>
Back with a stupid question: I can't change the DNS server
advertised by my router because it won't give me the option to. Can
I somehow do it without having to completely replace the DHCP
server ?
L146[23:15:57] <Hawk777> You could
potentially set the DNS server statically on the machines on the
network.
L147[23:16:50] <Hawk777> For example, for
a Linux machine using dhcpcd, dhcpcd.conf has options to set
whether to use or ignore the DNS servers from the DHCP
response.
L149[23:35:18]
<PewPewCricket> * fifth arg if -f is
passed yeah?
L150[23:35:40]
<PewPewCricket> (i copied code from
rm.lua)
L151[23:39:02]
<Kristopher38> don't you want the
assignments the other way around?
L152[23:39:11]
<PewPewCricket> ?
L153[23:39:44]
<Kristopher38> you're overwriting whatever
is in the `args` table returned by `shell.parse`
L154[23:39:57]
<PewPewCricket> im stupid
L155[23:40:57]
<PewPewCricket> 😭