<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:09:43] ***
Kenny|AFK is now known as Kenny
L2[00:13:04] ***
alekso56 is now known as alekso56_off
L3[00:33:12] ***
SuPeRMiNoR2 is now known as SuPeRMiNoR2|Away
L4[00:37:49] ⇨
Joins: WaveCup (bot@stary2001.co.uk)
L5[00:39:06] ***
manmaed is now known as manmaed|AFK
L6[00:39:34] ***
SuPeRMiNoR2|Away is now known as SuPeRMiNoR2
L7[00:47:38] ***
Ir7_o[AWAY] is now known as Ir7_o
L8[00:47:57] <Ir7_o> Sangar?
L9[00:48:16] * Kenny
heads for the hills :)
L10[01:06:48] <Kenny> i think he might have
fallen asleep in his chair :)
L11[01:07:04] <Kenny> it is about 2am for
him
L12[01:12:03] ***
manmaed|AFK is now known as manmaed|Sleeeping
L13[01:14:18] <SpiritedDusty> hey ir7_o
whats wrong with the site?
L14[01:14:26] <SpiritedDusty> database
error?
L15[01:20:41] <Kenny> computer had a brain
fart?
L17[01:28:39] ⇦
Quits: Ir7_o (~Ir7_o@79.143.191.185) (Read error: Connection reset
by peer)
L18[01:28:47] ⇦
Quits: SpiritedDusty (~SpiritedD@79.143.191.185) (Read error:
Connection reset by peer)
L19[01:29:04] ⇨
Joins: Ir7_o
(Ir7_o@CPE-58-170-97-212.lns3.way.bigpond.net.au)
L20[01:29:23] zsh
sets mode: +o on Ir7_o
L21[01:30:54] ⇨
Joins: SpiritedDusty
(~SpiritedD@24-205-168-216.dhcp.wsco.ca.charter.com)
L22[01:30:54] zsh
sets mode: +o on SpiritedDusty
L23[01:31:03] <SpiritedDusty> !voice
L24[01:31:03] zsh
sets mode: +v on SpiritedDusty
L25[01:31:10] <SpiritedDusty> !deop
L26[01:31:10] zsh
sets mode: -o on SpiritedDusty
L27[01:31:15] <SpiritedDusty> !voice
L28[01:31:15] zsh
sets mode: +v on SpiritedDusty
L29[01:31:40] <Kenny> !boot hehe
L30[01:32:28] <Ir7_o> Dusty?
L31[01:32:31] <SpiritedDusty> yeah
L32[01:32:45] <Ir7_o> the issue was the
program called: Wnpp
L33[01:32:51] <Kenny> it's bad that you are
so cold you have to sit in a sleeping bag to stay warm
L34[01:32:58] <Ir7_o> since it was using
3306 and 80, it crash plesk
L35[01:33:00] <SpiritedDusty> oh.. I
installed that :/
L36[01:33:18] <SpiritedDusty> i thought I
specifically made it run on another port. my bad sorry
L37[01:33:20] <Ir7_o> If you need another
site added to plesk, I am happy to do so.
L38[01:33:46] <SpiritedDusty> well I tried
using nginx to see if there was a speed benefit compared to
iis.
L39[01:33:59] <SpiritedDusty> guess that
didn't work out well. sorry
L40[01:34:04] <Ir7_o> No issues, but
remember, 3306, 21, 80, 8080, 8443, 8444 and 443 are all being
used.
L41[01:34:10] <SpiritedDusty> alright
L42[01:34:25] <Ir7_o> make sure no ports
add up to them
L43[01:34:36] <Ir7_o> equal or whatever you
want to call it
L44[01:34:42] <SpiritedDusty> k
L46[01:35:06] <Ir7_o> you can turn on your
ZNC now to, all good now
L47[01:35:14] <SpiritedDusty> k
L48[01:35:27] <Ir7_o> (i had to do a
reboot, sorry)
L49[01:35:31] ⇦
Quits: SpiritedDusty
(~SpiritedD@24-205-168-216.dhcp.wsco.ca.charter.com) (Client
Quit)
L50[01:35:39] ⇨
Joins: SpiritedDusty_
(~SpiritedD@ip-185-191-143-79.static.contabo.net)
L51[01:35:39] zsh
sets mode: +o on SpiritedDusty_
L52[01:35:49] ***
SpiritedDusty_ is now known as SpiritedDusty
L53[01:36:03] <SpiritedDusty> !deop
L54[01:36:03] zsh
sets mode: -o on SpiritedDusty
L55[01:36:04] <SpiritedDusty> !voice
L56[01:36:04] zsh
sets mode: +v on SpiritedDusty
L57[01:36:20] <SpiritedDusty> hey Kenny is
there a way to make zsh auto voice me instead of auto op?
L58[01:36:58] <Kenny> !flags SpiritedDusty
+Vv
L59[01:37:08] <Kenny> you already have
it
L60[01:37:13] <SpiritedDusty> oh hm..
L61[01:37:15] ⇦
Parts: SpiritedDusty
(~SpiritedD@ip-185-191-143-79.static.contabo.net) ())
L62[01:37:18] ⇨
Joins: Ir7_o-
(~Ir7_o@ip-185-191-143-79.static.contabo.net)
L63[01:37:23] ⇨
Joins: SpiritedDusty
(~SpiritedD@ip-185-191-143-79.static.contabo.net)
L64[01:37:24] zsh
sets mode: +o on SpiritedDusty
L65[01:37:34] <SpiritedDusty> hmm its OPing
me instead of voice
L66[01:37:47] <Kenny> i'm gonna smack you
upside the head
L67[01:37:55] <SpiritedDusty> ;_;
L68[01:38:09] <Kenny> because touy dumb ass
wanted to be op, so deal with it
L69[01:38:16] <Kenny> your*
L70[01:38:24] <SpiritedDusty> fine
>.>
L71[01:38:31] ***
LordFokas|out is now known as LordFokas
L72[01:38:37] <Kenny> whe you have op it
doesn't do voice as that is unnecesary
L73[01:38:57] <Kenny> so if you deop you
have to voice yourself. i have to do it
L74[01:39:17] <Kenny> but i don't keep
running in and out of th channel either
L75[01:39:24] <Ir7_o> Hi, Ir7_o-
L76[01:39:57] <Kenny> you wanted hidden op,
i gave you that and you weren't satidfied
L77[01:40:09] <Kenny> so deal with what you
have dealt yourself
L79[01:40:22] <Ir7_o> brb
L80[01:40:25] ⇦
Quits: Ir7_o (Ir7_o@CPE-58-170-97-212.lns3.way.bigpond.net.au)
()
L81[01:40:25] ***
Ir7_o- is now known as Ir7_o
L82[01:40:41] ⇦
Quits: Ir7_o (~Ir7_o@ip-185-191-143-79.static.contabo.net) (Read
error: Connection reset by peer)
L83[01:41:14] ⇨
Joins: Ir7_o
(~Ir7_o@ip-185-191-143-79.static.contabo.net)
L84[01:42:21] <SpiritedDusty> /msg ChanServ
FLAGS #oc
L85[01:42:26] <SpiritedDusty> woops
L86[01:42:30] zsh
sets mode: +o on Ir7_o
L87[01:42:46] <Kenny> what the fuck are you
doing Dusty?
L88[01:42:56] <SpiritedDusty> trying to
figure out flags
L89[01:43:11] <Kenny> not doing that you
are
L90[01:43:13] <Kenny> not*
L91[01:43:24] <Kenny> that is specifically
checkikng the channel flagd
L92[01:43:28] <Kenny> flags*
L93[01:43:59] <Kenny> keep fuckikng with
that shit and i will take the op from you
L94[01:44:15] <Ir7_o> !replay Kenny: what
the fuck are you doing Dusty?
L95[01:44:16] <Ir7_o> !say what the fuck
are you doing Dusty?
L96[01:44:24] <Ir7_o> it didnt work
D:
L97[01:44:48] * zsh
what the fuck are you doing Dusty?
L98[01:45:07] <SpiritedDusty> Ir7_o
>.>
L99[01:45:07] <Kenny> !flags -Oo
SpiritedDusty
L101[01:45:19] <Ir7_o> didn't work..
.
L102[01:45:40] <Kenny> i wasn't treying to
right then
L103[01:45:41] <Ir7_o> ./cs flag #oc -Oo
SpiritedDusty
L104[01:45:50] <Ir7_o> :P
L105[01:45:58] <SpiritedDusty> whatever
screew the flags, i'll just leave it the way it is...
L106[01:46:21] <Kenny> you don;t need to
be fucking witrh the flags
L107[01:46:34] <Kenny> !flags
SpiritedDusty -oO
L108[01:46:35] -ChanServ-
Kenny set flags
-Oo on
SpiritedDusty.
L109[01:46:43] <Kenny> !deop
SpiritedDusty
L110[01:46:44]
zsh sets mode: -o on SpiritedDusty
L111[01:46:52] <Kenny> !voice
SpiritedDusty
L112[01:46:53]
zsh sets mode: +v on SpiritedDusty
L113[01:47:08] <Kenny> i'm not giving you
the option to attempt it when i'm not arond
L114[01:47:25] <SpiritedDusty> I couldn't
even do it in the first place, I didn't have permission
L115[01:47:30] <Ir7_o> Kenny: ./cs flags
#oc -q Sangar :P
L116[01:47:37] <Ir7_o> ;)
L117[01:47:40] <Kenny> you shouldn't haVE
EVEN BEEN FUCKIKNG TRYING
L118[01:47:56] <Kenny> !flags
L119[01:48:24] <Kenny> Sangar doesn't have
-q on him
L120[01:48:35] <Ir7_o> what is founder
then?
L121[01:48:36] <Kenny> that would be to
make it so he couldn't speak
L122[01:48:46] <Ir7_o> oh,
L123[01:48:47] <Kenny> founder is F
L124[01:48:49] <LordFokas> founder is f
and F
L125[01:56:08]
⇨ Joins: JoshTheEnder|BackInTheEther
(TheEnders@thatjoshgreen.me)
L126[01:56:08]
⇨ Joins: SuPeRMiNoR2 (SuPeR@thatjoshgreen.me)
L127[01:56:17]
⇨ Joins: AngieBLD (AngieBLD@thatjoshgreen.me)
L128[01:56:18] <Kenny2> people are still
connected but now there are 2 groups of servers rather thasn
one
L129[01:56:22]
⇨ Joins: LordFokas (LordFokas@thatjoshgreen.me)
L130[01:56:23]
zsh sets mode: +v on LordFokas
L131[01:56:50] *
Ir7_o slaps Sangar around a bit with a large trout
L132[01:57:02] <SpiritedDusty> I think its
night for him
L133[01:57:08]
⇨ Joins: SuperBot (SuperBot@thatjoshgreen.me)
L134[01:57:08] <Ir7_o> ok
L135[01:57:36] <Kenny2> this is good. i
don't see myself in here lol
L136[01:57:38]
⇨ Joins: EnderBot (TheEnders@thatjoshgreen.me)
L137[01:57:59]
⇨ Joins: Kenny (Kenny@thatjoshgreen.me)
L138[01:58:00]
zsh sets mode: +o on Kenny
L139[01:59:03] <Kenny2> ok dropping
out
L140[01:59:11] ⇦
Quits: Kenny2 (~Kenny@2602:306:ce9e:5150:d0cc:8170:8082:2288)
()
L141[01:59:17] <Kenny> and back
L142[01:59:20] <Kenny> !deop
L143[01:59:20]
zsh sets mode: -o on Kenny
L144[01:59:22] <Kenny> !voice
L145[01:59:23]
zsh sets mode: +v on Kenny
L146[01:59:42] <Kenny> not only did i have
a net split hit me, my bouncer went down
L147[01:59:54] <Kenny> tal about bad
luck
L148[01:59:57] <Kenny> talk*
L149[02:00:49] <Kenny> SpiritedDusty: in
further explaantion to your question. Espernet consists of about 8
different servers all linked to together
L150[02:01:02]
⇨ Joins: Ir7_o2
(Ir7_o@CPE-58-170-97-212.lns3.way.bigpond.net.au)
L151[02:01:16] <Kenny> when a link goes
down, it then splits it into 2 different groups
L152[02:01:40] <Ir7_o> !op Ir7_o2
L153[02:01:40]
zsh sets mode: +o on Ir7_o2
L154[02:01:42] <Kenny> you will see some
people leaving (*net split) while others stay here
L155[02:01:46] ⇦
Quits: Ir7_o2 (Ir7_o@CPE-58-170-97-212.lns3.way.bigpond.net.au)
(Client Quit)
L156[02:02:05] <Kenny> the people leaving
see the same thing about you (*net spolit) on their side of the
link
L157[02:02:23] <Ir7_o> did a 'netsplit'
occur?
L158[02:02:27] <SpiritedDusty> oh
L159[02:02:32] <LordFokas> because the
networks splitted \o/
L160[02:02:38] <Kenny> then when the link
is re-established you see a bunch of people joining all at
once
L161[02:02:46] <LordFokas> I don't think
so
L162[02:02:52] <LordFokas> our bouncer
went down
L163[02:02:55] <Kenny> yeah there was a
net split
L164[02:03:02] <Kenny> and the bouncer
went down
L165[02:03:23] <Kenny> both happened at
the same time
L166[02:03:29] <Ir7_o> ok, actully, I have
seen it where a server went down, it came back up and then crash
straight away.. the server flooded with connections.
L167[02:03:47] <Ir7_o> crashed*
L168[02:03:47] <Kenny> yeah, that has
happend also hehe
L169[02:04:21] <Kenny> basically sop many
people coming it the flood control was triggered and crashed the
server
L170[02:04:25] <Kenny> so*
L171[02:04:36] *
Ir7_o doesn't have the best English :L
L172[02:04:54] <SpiritedDusty> whats your
main language?
L173[02:05:10] <Ir7_o> Indonesian.
L174[02:07:03] <Kenny> the vps the bouncer
is on ios doing maintenance
L175[02:07:58] <Ir7_o>
*@ip-185-191-143-79.static.contabo.net grrr.. want to change
it..
L176[02:08:41] <Ir7_o> cant be as bad as:
*@CPE-58-170-97-212.lns3.way.bigpond.net.au
L177[02:09:31] <Kenny> !op
L178[02:09:31]
zsh sets mode: +o on Kenny
L179[02:09:41] <Kenny> !deop
L180[02:09:41]
zsh sets mode: -o on Kenny
L181[02:10:48] ***
Ir7_o is now known as Ir7_o[AWAY]
L182[02:11:00] <Ir7_o[AWAY]> ill be
around
L183[02:13:44] ***
AngieBLD is now known as AngieBLD|Off
L184[02:14:23] ***
LordFokas is now known as LordFokas|off
L185[02:16:27] ***
LordFokas|off is now known as LordFokas
L186[02:30:28] <Ir7_o[AWAY]> Kenny? ->
read the message
L187[02:30:38] ***
Ir7_o[AWAY] is now known as Ir7_o
L188[02:37:02] ***
SuPeRMiNoR2 is now known as SuPeRMiNoR2|Away
L189[02:45:54] ***
AngieBLD|Off is now known as AngieBLD
L190[02:53:22] ***
SuPeRMiNoR2|Away is now known as SuPeRMiNoR2
L191[02:56:19] ***
LordFokas is now known as LordFokas|off
L192[02:58:36] ***
LordFokas|off is now known as LordFokas
L193[03:00:00] ***
LordFokas is now known as LordFokas|off
L194[03:04:15] ***
SuPeRMiNoR2 is now known as SuPeRMiNoR2|Away
L195[03:07:46] ***
AngieBLD is now known as AngieBLD|Off
L196[03:12:51] ***
Ir7_o is now known as Ir7_o[AWAY]
L197[03:42:11]
⇨ Joins: finkmac
(~finkmac@68-68-10-184.applecreek.pathcom.com)
L198[04:17:14] ***
SuPeRMiNoR2|Away is now known as SuPeRMiNoR2
L199[04:25:29] <Kenny> anyone awake?
L200[04:26:05] <Kenny> SuPeRMiNoR2, how do
i call an outside script from within a script?
L201[04:26:30] <SuPeRMiNoR2> in oc?
L202[04:26:36] <Kenny> yep
L203[04:27:07] <SuPeRMiNoR2> i dont know
(i do know how to do that in the **other** computer mod
L204[04:28:09] <SuPeRMiNoR2>
shell.execute()
L205[04:28:11] *
Kenny smacks SuPeRMiNoR2 with a large trout "You are supposed
to know these things" :)
L206[04:28:19] <SpiritedDusty> I don't
think mentioning computer craft is a crime :P
L207[04:28:40] <SuPeRMiNoR2>
shell.execute("program.lua")
L208[04:28:44] <Kenny> wasn't for
mentioning CC, was cause he didn't know hehe
L210[04:36:21] <SuPeRMiNoR2> $slap
Kenny
L211[04:36:21] *
SuperBot slaps Kenny around a bit with a giant piece of
string
L212[04:36:26] <SuPeRMiNoR2> there all
even
L213[04:45:00] ⇦
Quits: Lathanael|Away (~Lathanael@p549728D7.dip0.t-ipconnect.de)
(Ping timeout: 190 seconds)
L214[04:48:42]
⇨ Joins: Lathanael|Away
(~Lathanael@p54970B10.dip0.t-ipconnect.de)
L215[04:49:27] ***
SuPeRMiNoR2 is now known as SuPeRMiNoR2|Away
L216[05:26:48] ⇦
Quits: finkmac (~finkmac@68-68-10-184.applecreek.pathcom.com)
(Quit: Nettalk6 - www.ntalk.de)
L217[05:31:24]
⇨ Joins: Kenny2
(~Kenny@2602:306:ce9e:5150:d0cc:8170:8082:2288)
L218[05:31:29] ⇦
Quits: Kenny2 (~Kenny@2602:306:ce9e:5150:d0cc:8170:8082:2288)
(Client Quit)
L219[05:48:43] ⇦
Quits: vv (~IceChat9@94-226-140-50.access.telenet.be) (Quit: Easy
as 3.14159265358979323846...)
L220[05:57:49] ***
Kenny is now known as Kenny|Sleeping
L221[06:21:08] ⇦
Quits: Ir7_o[AWAY] (~Ir7_o@ip-185-191-143-79.static.contabo.net)
(Read error: Connection reset by peer)
L222[06:49:08] ⇦
Quits: SpiritedDusty
(~SpiritedD@ip-185-191-143-79.static.contabo.net) (Read error:
Connection reset by peer)
L223[06:49:50]
⇨ Joins: Ir7_o
(Ir7_oAWAY@CPE-58-170-97-212.lns3.way.bigpond.net.au)
L224[06:49:50]
zsh sets mode: +o on Ir7_o
L225[06:50:30] <Ir7_o> !voice
EnderBot
L226[06:50:30]
zsh sets mode: +v on EnderBot
L227[06:53:15]
⇨ Joins: Ir7_o-
(~Ir7_o@ip-185-191-143-79.static.contabo.net)
L228[06:53:31] ⇦
Quits: Ir7_o (Ir7_oAWAY@CPE-58-170-97-212.lns3.way.bigpond.net.au)
(Client Quit)
L229[06:53:32] ***
Ir7_o- is now known as Ir7_o
L230[06:53:35] ⇦
Quits: Ir7_o (~Ir7_o@ip-185-191-143-79.static.contabo.net) (Read
error: Connection reset by peer)
L231[06:54:08]
⇨ Joins: Ir7_o
(~Ir7_o@ip-185-191-143-79.static.contabo.net)
L232[09:20:19] ***
JoshTheEnder|BackInTheEther is now known as
JoshTheEnder
L233[09:31:28]
⇨ Joins: LordJoda (webchat@141.84.9.209)
L234[09:31:28]
zsh sets mode: +o on LordJoda
L235[09:58:21] ***
alekso56_off is now known as alekso56
L236[10:14:27]
⇨ Joins: Wobbo
(~Wobbo@5ED58A7C.cm-7-6c.dynamic.ziggo.nl)
L237[10:18:55] <Wobbo> Hi
L238[10:23:01] <Forecaster> pi
L239[10:23:42] <Wobbo> rho
L240[11:02:56] <Wobbo> Can I send an EOF
in Lua?
L241[11:08:11]
zsh sets mode: +o on Ir7_o
L242[11:12:52] ***
manmaed|Sleeeping is now known as manmaed
L243[11:15:38] ***
Kenny|Sleeping is now known as Kenny
L244[11:16:36] ***
alekso56 is now known as alekso56_off
L245[11:17:15] <Wobbo> I have a question
for you, if you are writing and reading to and from a pipe, do you
expect the data that you read to disappear or to stay?
L246[11:27:34] ***
Kenny is now known as ibeleC
L247[11:28:22] ***
manmaed is now known as caMhceT
L248[11:28:39] ***
ibeleC is now known as MacTech
L249[11:30:37] ***
caMhceT is now known as manmaed
L250[11:31:00] ***
MacTech is now known as Kenny
L251[11:36:36] ***
Kenny is now known as MacTech
L252[11:37:35] ***
alekso56_off is now known as alekso56
L253[11:37:44] ***
MacTech is now known as Kenny
L254[11:38:25] <Sangar> mornin'
everyone
L255[11:38:41] <Wobbo> Morning
L256[11:40:48] <Sangar> eof: in which
context? but usually, eof in lua is signalled by a reading function
returning nil instead of... some string (even if it's zero
length)
L257[11:41:19] <Wobbo> Yeah, I wanted to
use EOF to signal that the write head of the pipe was closed, but I
used nil now
L258[11:41:52] <Wobbo> What values does a
file stream have that are absolutely necessary to implement? I do
have all the functions implemented now.
L259[11:43:02] <Sangar> for buffer.lua?
read write and close and seek methinks. but any of these may return
nil, "not implemented"/some other error message.
L260[11:43:24] <Wobbo> Ah, then I should
have everything for the pipes.
L261[11:43:28] <Sangar> cool
L262[11:43:47] <Wobbo> I will test it, and
then start working on io.popen
L263[11:43:58] <Sangar> you are awesome
:)
L264[11:44:48] <Wobbo> I wouldn't say that
to fast :P
L265[11:45:09] <Wobbo> Also, it might be
useful to make a wiki page with coding guidelines for pul
requests
L266[11:47:09] <Sangar> mmm, yes, that
would probably a good idea
L267[11:47:18] <Sangar> I'll get to it.
breakfast first, brb
L268[11:53:43] <Ir7_o> Sangar?
L269[11:54:47] <Sangar> yes?
L270[11:56:52] <Ir7_o> Hey! Anway: As you
may or may not now, Cloudy has left the ComputerCraft development
team.
L271[11:57:07] <Sangar> yep
L272[11:58:23] <Ir7_o> Just give me a
minute to word this:
L273[11:58:54] ***
Lathanael|Away is now known as Lathanael
L274[11:59:48] <Sangar> i had a very
friendly chat with him yesterday, after he even bothered to stop by
in the channel the day before that :)
L275[12:01:14] <Ir7_o> I think it would be
sensible to post on behalf of OC regarding his experiences; efforts
and achievements. Basically how he has 'shaped' the computer
related mods. As I believe, OC may not have occured without CC.
Understanding that you haven't been with CC (as such) I still
believe in suming up positives about him.
L276[12:01:55] <Sangar> you mean like a pr
statement on the homepage?
L277[12:02:25] <Ir7_o> and on the cc
forums.
L278[12:03:05] ***
manmaed is now known as Celebi
L279[12:03:30] ***
Celebi is now known as manmaed
L280[12:04:50] <Sangar> hm. i'll think
about it. i'm not really good at pr, so writing up something
not-weird might be pretty time consuming for me... we'll see.
L281[12:05:06] <Wobbo> Sangar, I found a
problem with the package library, will fix that quickly.
L282[12:05:17] <Sangar> ok
L283[12:05:45] <Ir7_o> Wait, is there
packages within OC?
L284[12:06:01] <Wobbo> require
"package" loads the package and returns it
L285[12:06:15] <Wobbo> Unless the module
loads the package into _G
L286[12:06:16] <Ir7_o> ok.
L287[12:06:24] <Wobbo> So no CC API's
(yet)
L288[12:07:07] <Ir7_o> What about JSON
reading API?
L289[12:07:31] <Wobbo> If it is written
for CC, no, if it is written for Lua 5.2, yes
L290[12:07:46] <Ir7_o> No, rather inbuilt
to OC?
L291[12:09:58] <Sangar> unless it's really
tiny, no directly in the rom. at some point i hope to have
something like cc's treasure disks (i'm thinking of "old"
hard drives that have a lot of garbage on them and a few useful
programs, so you'd have to "find" those useful programs
on the disks you find), anything relatively big would go on those
(whatever "big" is, i'll keep the right to decide that
:P)
L292[12:10:56] <Ir7_o> .. i am gonna query
you something:
L293[12:12:49] <Wobbo> Sangar, pull
request
L294[12:15:08] <Sangar> ah, right. that
function returns the error message directly, good catch.
thanks!
L295[12:16:06] <Wobbo> He should have
returned that error anyway, it was my fault to begin with anyway
:P
L296[12:17:48] ***
alekso56 is now known as alekso56_off
L297[12:24:29]
⇨ Joins: tofep
(~tofep@d27-99-26-85.bla802.nsw.optusnet.com.au)
L299[12:31:19] <Wobbo> Maybe something
about checkArg?
L300[12:34:01] <Sangar> hm
L301[12:38:04] <Kenny> morning,
Sangar
L302[12:38:22] <Sangar> morning
Kenny
L303[12:39:11] <Kenny> still haven't
managed to get my first cup of coffee hehe
L304[12:39:59] <Ir7_o> hey kenny
L305[12:40:10] <Ir7_o> any dreams?
;)
L306[12:40:53] <Wobbo> I'm going to get
some lunch. Later!
L307[12:42:32] <Kenny> l8r Wobbo
L308[12:45:26] <Kenny> !flags +*
Ir7_o
L309[12:45:38] <Kenny> !flags Ir7_o
+*
L310[12:45:39] -ChanServ-
Kenny set flags
+ARfirst on
Ir7_o.
L311[12:58:38] ***
Ir7_o is now known as Ir7_o[AWAY]
L312[13:02:35] <Wobbo> Sangar, I want to
test my pipe as a fully fledged file, what is the best way to get
this to work?
L313[13:03:57] <Sangar> dunno, open a file
in write mode, one in read mode and copy the data through your pipe
perhaps?
L314[13:04:17] <Wobbo> I mean, how do I
get it into a buffer?
L315[13:05:34] <Sangar> oh
L316[13:05:59] <Sangar> buffer.new
L317[13:06:07] <Sangar> buffer.new(mode,
stream)
L318[13:06:40] <Wobbo> But the buffer
module is not loaded into user land.
L319[13:07:11] <Sangar> eh?
require("buffer") should work just fine
L320[13:07:17] <Sangar> internet.lua uses
it for example
L321[13:07:17] <Wobbo> So do I have to pry
the jar open and add it into there?
L322[13:07:33] <Sangar> errr, shouldn't be
necessary now
L323[13:07:41] <Wobbo> require
"buffer" doesn't work in the lua prompt
L324[13:07:46] <Sangar> really?
L325[13:07:48] <Sangar> one sec
L326[13:07:59] <Sangar> (because it should
:X)
L327[13:09:43] <Sangar> huh. it does work
for me.
L328[13:10:10] <Wobbo> I'm using version
1.1.3
L329[13:10:16] <Sangar> ah
L330[13:10:20] <Sangar> there was no
buffer module back then
L331[13:10:26] <Wobbo> ah
L332[13:10:33] <Wobbo> How do I get the
devbuild?
L333[13:10:33] <Sangar> i extracted it
from the file system to reuse it for sockets
L335[13:10:49] <Sangar> wait for 61 to
finish building
L336[13:10:52] <Sangar> 60 will crash
:P
L337[13:11:27] <Wobbo> Alright
L338[13:12:15] <Sangar> 120 commits since
the last release... definitely time to get 1.2 wrapped up soonish
-.-
L339[13:13:06] <Wobbo> The updates are
coming out quick :P
L340[13:15:21] <Wobbo> Alright, installed
devbuild 61
L341[13:15:45] <Wobbo> Nice warning
L342[13:15:52] <Wobbo> about the
electricity
L343[13:19:17] <Wobbo> What is the mode
that buffer needs?
L344[13:19:22] <Sangar> heh. there's also
one in case an outdated of project red is detected, and if the
native library isn't available and it falls back to luaj. potential
of chat spam, but eh.
L345[13:19:48] <Sangar> depends, if it's
in both directions probably rwb
L346[13:20:22] <Sangar> which reminds me,
i wanted to make the buffer autoflush pending writes when reading
from it
L347[13:20:52] <Wobbo> Ah, in that case it
is easier to fold the pipe into one object, not in three
L348[13:24:39] <Wobbo> But wait, if it is
one object, and the writing process closes it, not knowing it is a
pipe, then the reading process should still be able to read it
right?
L349[13:25:13] <Sangar> yes
L350[13:25:36] <Wobbo> So the reading and
writing heads have to stay seperate
L351[13:25:51] <Wobbo> As far as I can
tell
L352[13:27:22] <Sangar> which makes me
realize that the sockets are probably kind of broken because the
buffer uses the same string for reading and writing right now (can
you tell it was originally for files only? can you? :P)
L353[13:27:52] <Wobbo> XD
L354[13:28:27] <Sangar> time to fix the
buffer...
L355[13:29:57] <Wobbo> So, I create one
buffer for reading, and one for writing. Those are returned by
pipe()
L356[13:32:16] <Wobbo> I have a problem
with the new serialisation behaviour
L357[13:32:55] <Wobbo> When I write to a
buffer, it returns the buffer itself. That is fine, I expected
that. But if I don't assign it, it prints the serialised version of
the buffer!
L358[13:35:18] <Sangar> that's just in the
interpreter. it now serializes results of what it evaluated before
printing them.
L359[13:35:47] <Sangar> so you don't get
`table: 123456` anymore, but the table in readable form
L360[13:35:53] <Sangar> merely a utility
thing
L361[13:35:56] <Wobbo> But it is pretty
annoying, maybe make him stop doing that when you append a ; like
matlab?
L362[13:36:37] <Sangar> i was actually
thinking of handling it similar to the vanilla lua interpreter - if
it's prefixed with a `=` print the result, otherwise don't
L363[13:36:55] <Wobbo> Ah, that is even
better
L364[13:39:19] <Wobbo> Sangar, how does
buffer expect the read function to work? Because I wrote
"Hello" to the pipe, flushed it, and I can see it is in
there. But when I use read() (no arguments) he returns Reading from
empty file(error that the pipe gives when you try to read while you
are at the end)
L365[13:41:14] <Sangar> read without args
tries to read a single line (i.e. it's like read("*L") or
was it "*l"?), if that's what you mean?
L366[13:42:07] <Wobbo> But then why does
it try to read further then the end of the buffer? read returned
nil, and "hello" is in the buffer for the reading
head
L367[13:42:32] <Sangar> that's weird.
gimme a sec to underp the buffer that i inevitably broke while
making read and write use separate buffers, then you'll have my
full attention.
L368[13:42:42] <Wobbo> Alright
L369[13:45:00] ***
JoshTheEnder is now known as
JoshTheEnder|BackInTheEther
L370[14:04:36] <Sangar> ok
L371[14:05:12] <Sangar> just did a quick
mini test and read worked even if didn't have a line end.
L372[14:05:39] <Wobbo> With the old buffer
or your underped one?
L373[14:05:48] <Wobbo> lsh
L374[14:05:52] <Wobbo> Nevermind
that
L375[14:06:05] <Sangar> underped one,
shouldn't really make much of a difference though, i think
L376[14:06:09] <Sangar> oh?
L377[14:06:16] <Wobbo> No, never mind the
lsh
L378[14:06:24] <Sangar> ah
L379[14:06:50] <Wobbo> I have been trying
to write a small shell that uses lua to create functions, but that
calls shell.execute if it can't find a function
L380[14:06:56] <Wobbo> it works for ls
XD
L381[14:07:07] <Sangar> fancy :)
L382[14:07:22] <Wobbo> Anyway, pipes
L384[14:07:55] <Sangar> do you have it
somewhere i can have a look? maybe it's just some assumption i make
in the buffer
L385[14:07:58] <Sangar> great
L386[14:08:15] <Wobbo> I guess that the
problem lays between the interaction of the buffer and the
pipe
L387[14:16:45] <Sangar> how do you call it
/ run it to get your effect?
L388[14:17:55] <Sangar> the exact code i
mean. just to make sure.
L389[14:18:12] <Wobbo> pipe = require
"pipe" readH, writeH = pipe()
writeH:write("Hello") writeH:flush() readH:read()
L390[14:18:26] <Wobbo> Out of the top of
my head
L391[14:18:34] <Sangar> ok
L393[14:19:50] <Wobbo> And then I can see
that "Hello" is inside the buffer for the reading
head
L394[14:22:07] ***
alekso56_off is now known as alekso56
L395[14:28:33] ***
JoshTheEnder|BackInTheEther is now known as
JoshTheEnder
L396[14:28:44] <Sangar> try not returning
the "reading from empty file" string. that basically says
"something went wrong" when it didn't really.
L397[14:28:51] <Sangar> i'll be away for a
bit.
L398[14:29:54] <Kenny> LordJoda, because
the colo got next to the http in the addy, it isn't letting someone
click on the link in their irc client
L399[14:30:00] <Kenny> colon*
L400[14:30:45] ***
JoshTheEnder is now known as
JoshTheEnder|BackInTheEther
L401[14:32:30] <Wobbo> It works now, Will
upload the latests version to github, so other people can play
around with it
L402[14:33:18] ***
alekso56 is now known as alekso56_off
L404[14:36:45] <Kenny> LordJoda: good set
of tutorials :)
L405[14:37:04] *
Kenny gives LordJoda a huge thumbs up
L407[14:55:22] <Kenny> hey wobbo, is it
possible to pass a vakue from the command line into a lua
program?
L408[14:55:29] <Kenny> value
L409[14:55:35] <Wobbo> What kind of
value?
L410[14:55:45] <Kenny> i want to pass in a
number
L411[14:55:47] <Wobbo> a string?
L412[14:55:53] <Wobbo> Just pass it in as
a string
L413[14:56:03] <Kenny> i would do Back
1
L414[14:56:08] <Kenny> or Back 15
L415[14:56:12] <Wobbo> Lua will convert it
into a number for you
L416[14:56:21] <Wobbo> that would
work
L417[14:56:26] ⇦
Quits: tofep (~tofep@d27-99-26-85.bla802.nsw.optusnet.com.au)
()
L418[14:56:37] <Wobbo> You can get the
arguments inside the program using ...
L419[14:56:38] <Kenny> how would i get
that parameter inside the program?
L420[14:57:03] <Wobbo> so local args =
{...} would stuff all the arguments given into the table args
L421[14:57:21] <Kenny> ok. thanks :)
L422[14:57:36] <Wobbo> If you want to do
something more fancy then just passing numbers, I would check out
shell.parse
L423[14:57:42] <Wobbo> yw
L424[14:59:02] <Kenny> wohoo it worked
:)
L425[14:59:18] *
Kenny slaps Wobbo on the back in thanks :)
L426[15:08:36] <Wobbo> I'm getting weird
behaviour from pcall, could one of you have a look at it?
L427[15:08:54] <Sangar> weird how?
L428[15:09:08] <Wobbo> I expect it to
return true, but it returns false
L429[15:09:37] ***
alekso56_off is now known as alekso56
L430[15:09:56] ***
AngieBLD|Off is now known as AngieBLD
L431[15:10:39] <Wobbo> And I can't find
the error, nor does it return one
L432[15:14:05] <Wobbo> So, basically, pall
return false, with an error that is nil
L433[15:14:12] <Wobbo> And I don't know
why
L434[15:14:27] <Sangar> huh
L435[15:14:41] <Sangar> code?
L437[15:15:24] <Wobbo> Just run the
program, type in something like ls() and it should run ls
L438[15:16:12] <Wobbo> The it prints
whether shell.execute could execute ls, then the value returned by
pcall, then the error if pcall returned false
L439[15:19:24] <Wobbo> Nevermind, found
it
L440[15:19:34] <Wobbo> I forgot an s
somewhere -_-
L441[15:19:47] <Sangar> ah :)
L442[15:20:09] <Wobbo> Now it works
correctly
L443[15:20:50] <Wobbo> So now I have a
shell that uses Lua syntax and treats programs as if they were
functions
L444[15:21:02] <Wobbo> which is pretty
neat
L445[15:22:43] <Sangar> start posting your
programs on the forum :D
L446[15:22:52] <Wobbo> Will do :P
L447[15:25:17] <Wobbo> But first, support
for aliases in lsh
L448[15:25:35] <Wobbo> Because those are
build into os.execute
L449[15:28:00] <Sangar> feel free to see
if it'd make sense to move that to the shell.execute - I may have
missed something back then, I really can't remember the reason it's
in there :/
L450[15:28:25] <Wobbo> Nah, I will just
call shell.getAlias, that should work as well :P
L451[15:31:51] <Wobbo> The forum is still
on oc.cil.li right?
L452[15:32:40] <Sangar> aye
L453[15:34:51] <Wobbo> How do I insert
code?
L454[15:37:15] <Sangar> [code]...[/code]
iirc
L455[15:37:37] <Wobbo> I just found out,
but I can't see the buttons for some reason :/
L456[15:46:21] <Wobbo> getopt is on the
forum now
L457[15:55:30]
⇨ Joins: vv3
(~IceChat9@2a02:1810:188b:2b00:1576:58e1:ccd4:ef4e)
L458[16:01:06] ***
SuPeRMiNoR2|Away is now known as SuPeRMiNoR2
L459[16:05:11] <Wobbo> And grep is
only
L460[16:05:14] <Wobbo> *online
L461[16:05:32] <Wobbo> I will wait with
lsh until it has some more functionality :P
L462[16:12:34]
⇨ Joins: Vexatos
(~Vexatos@p5B31EB7D.dip0.t-ipconnect.de)
L463[16:14:13] <Vexatos> Good day,
folks!
L464[16:14:26] <Wobbo> Sangar, is it okay
if I change io.popen a little? So it doesn't require a mode, but so
you can specify arguments for the program you are trying to
call?
L465[16:14:41] <Vexatos> io.popen
L466[16:14:43] <Vexatos> :D
L467[16:14:49] <Wobbo> I hope so :P
L468[16:14:59] <Vexatos> 'generates random
popes in your programs'
L469[16:15:40] <Sangar> hrm. maybe add the
args after the mode? then it'll still be compatible with the
vanilla lua definition.
L470[16:16:21] <Wobbo> But the standard
Lua popen is based on the C popen and has to have modes, but a pure
Lua implementation doesn't even need modes.
L471[16:16:46] <Wobbo> Since it can return
both the writing head for Stdin and the reading head for
Stdout
L472[16:17:48] <Sangar> it's just that
i've tried to stick to making things as conformant with standard
lua as possible up to now... but i guess popen is kinda special
anyway, so... yeah. whatever.
L473[16:18:54] <Wobbo> I can let the mode
specify what head should come first
L474[16:19:09] <Wobbo> That seems like a
valid alternative
L475[16:20:20] <Sangar> true
L476[16:20:22] <Sangar> sounds good
L477[16:22:24] <Wobbo> If I call io.input
on a corountine, will that only change the value in that coroutine?
or will that change the value on all coroutines?
L478[16:28:04] <Wobbo> Nobody knows?
L479[16:28:24] <Vexatos> Test!
L480[16:31:05] <Wobbo> It works that way
with shell.getPath/setPath
L481[16:31:36] <Wobbo> So I will have to
stuff that coroutine into its own environment first
L482[16:33:40] <Wobbo> Sangar, do events
get distributed across coroutines?
L483[16:35:35] <Sangar> io.input/output is
global by default, we'll have to introduce an environment per
"process" for the piping to use that, yeah. as for
events, yeah, they just get distributed to all callbacks registered
for them, regardless of which coroutine registered it.
L484[16:36:07] <Wobbo> Hacky little
environment that should work: setmetatable({io = setmetatable({},
{__index = io})}, {index = _G})
L485[16:37:44] <Sangar> aye. the reason i
scrapped my approaches in that direction was that this stops
working as soon as the program does a load/loadfile/dofile without
providing an environment, since those fall back to the global
environment then. wasn't sure i liked the possibly unexpected
behavior.
L486[16:38:23] <Wobbo> But is there a way
around that?
L487[16:39:38] <Wobbo> Because dofile
would use the environment in which it is defined as the global
environment, when none is specified
L488[16:39:58] <Sangar> that's the
problem
L489[16:40:08] <Sangar> so you'd have to
have a sandbox per program
L490[16:40:12] <Sangar> with a wrapper for
dofile etc
L491[16:40:15] <Wobbo> The only thing I
can think of is creating a separate dofile for in the custom
environment
L492[16:40:15] <Sangar> which sucks
L493[16:40:33] <Wobbo> But it is the only
way around it
L494[16:41:20] <Wobbo> Otherwise you would
have to tell the program it is run with popen, and that could be
even more disastrous, with people not paying attention to
that.
L495[16:41:45] <Sangar> aye. people could
still do _G.dofile, to explicitly load it outside that
"sandbox", so i guess it'd be... acceptable.
L496[16:42:03] <Sangar> i just didn't know
when it'd come to this, so i prioritized other things up to now
>_>
L497[16:42:31] <Wobbo> Both dofile and
load file call load right?
L498[16:42:42] <Wobbo> So only load needs
to be sandboxed?
L499[16:42:57] <Wobbo> Oh no, wait, they
call _G.load
L500[16:42:59] <Sangar> nah, all need to
be, because the method they call is an upvalue being the global
one
L501[16:44:28] <Wobbo> dofile will have to
be completely reimplemented, wouldn't it be wiser to chafe dofile
to use _ENV instead of _G?
L502[16:44:34] <Wobbo> *change
L503[16:45:55] <Sangar> erm, what exactly
do you mean by that?
L504[16:47:08] <Wobbo> _ENV is the
environment of the calling function if I am not mistaken, while _G
is the environment of the function itself. So if dofile used _ENV
instead of _G that problem would be solved
L505[16:48:35] <Wobbo> Could be wrong
though
L506[16:49:22] ⇦
Quits: LordJoda (webchat@141.84.9.209) (Quit: Web client
closed)
L507[16:49:39] <Sangar> afaik _ENV is just
the current env
L508[16:49:43] <Sangar> lemme test
L510[16:50:51] <Wobbo> From said wiki: Now
you can see that _ENV is an ordinary local variable, how all the
functions have access to the _ENV, and why if one function changes
_ENV all other functions in the loaded chunks will see the change.
That's why if you want a function to only change its own
environment, you need to make a new _ENV local that shadows the
original one.
L511[16:52:54] <Sangar> and how does that
help with dofile? it's still "fixed" based on where the
function is defined. not based on where it's called from.
L512[16:53:12] <Wobbo> That is true…
hmm…
L513[16:59:48] <Wobbo> Normally popen is
implemented in C, and I can't find anyone with similar problems on
google yet.
L514[17:00:36] <Sangar> it's a pretty
unusual use case after all :P
L515[17:02:03] *
Kenny made an OC controlled lumberjack platofrm :)
L516[17:02:13] <Wobbo> I guess that the
only way to implement this correctly is by fully sandboxing the
program that gets called, including a full reimplementation of
dofile
L517[17:02:22] ⇦
Quits: Vexatos (~Vexatos@p5B31EB7D.dip0.t-ipconnect.de) (Quit:
Greetings from Pastry Fork, Inc. ✔)
L518[17:02:42] <Sangar> yes. i tried to
overdo it when i first tried to tackle this, by also making events
per program... if it's just those methods, though, i think it'd
be... ok.
L519[17:08:16] <Wobbo> I'm just going to
shadow those functions
L520[17:08:43] <Wobbo> AKA, implement them
in the environment they have to run in. That is easier, and I think
saver
L522[17:18:04] <Sangar> ah. crap. it all
comes back to me now :X shell.execute will also need an override
since it uses loadfile...
L523[17:18:23] <Sangar> and in extension
os.execute because it uses the wrong shell.execute otherwise
L524[17:18:28] <Wobbo> I guess why you
stopped implementing it.
L525[17:18:33] <Sangar> exactly
L526[17:18:48] <Wobbo> Now a debug library
would be really usefull
L527[17:18:48] <Sangar> may some sort
of... "program env" getter in the shell api?
L528[17:19:04] <Sangar> yes it would,
but... it's the debug lib after all ^^
L529[17:19:14] <Wobbo> that wouldn't help
for os.execute
L530[17:20:05] <Wobbo> Alyway, the package
module is still flawed. In rule 61 the last , filepath shouldn't be
there
L531[17:20:16] <Sangar> it could be
adjusted accordingly (like any other api methods)
L532[17:20:31] <Wobbo> Yeah, that is
true
L533[17:23:09] <Wobbo> Anyway, the code is
on gist, so if anybody wants to work on it, it is available. I want
be working on it for at least three hours now
L534[17:23:42] <Wobbo> And, Sangar, I
don't know if you just read this but the package module is still
flawed. In rule 61 the last , filepath shouldn't be there
L535[17:24:12] <Sangar> i did but i got
sidetracked :X
L536[17:24:32] <Sangar> ah, i see
L537[17:24:34] <Sangar> I'll remove
it
L538[17:25:08] <Wobbo> Well, I'm going
now.
L539[17:25:11] <Wobbo> speak you
later!
L540[17:25:16] <Sangar> i'll probably just
clean things up a little and push 1.2 pre, see you later :)
L541[17:36:08]
⇨ Joins: ping
(~notSangar@2601:4:4500:887:50ad:887f:969c:8416)
L542[18:08:16] ***
JoshTheEnder|BackInTheEther is now known as
JoshTheEnder
L544[18:35:53] <Sangar> hmhmhm. nice. the
black looks a little too black for my taste, though, tbh :P
L546[18:37:08] <ping> better?
L547[18:40:12] <Sangar> aye. possibly too
light now? hard to tell. I think it should have the same...
brightness that the other gray blocks have. also, add the gradient
all of the other blocks have to make it fit in, and I like.
L548[18:40:40] ***
prassel|off is now known as prasselpikachu
L549[18:40:42] <Sangar> (e.g. basic screen
from the sides/back)
L551[18:52:45] <Sangar> looks great!
L553[18:55:47] <Sangar> it's just the
other side of an hdd :P
L554[18:56:24] <ping> lel
L555[18:56:49] <ping> the current hdd
texture looks like the disks are visible
L556[18:57:16] <Sangar> yeah, artistic
liberty so that people can actually recognize them as hdds :P
L557[18:58:36] <Sangar> while it's true
that your hdd texture looks like an hdd from the top i think it's a
little too... generic? :/
L558[18:59:46] <ping> it looks like a mini
SD card
L559[18:59:56] <Sangar> or an sdd
L560[19:10:40] ***
prasselpikachu is now known as prassel|off
L561[19:11:15] ***
prassel|off is now known as prasselpikachu
L562[19:16:50]
⇨ Joins: Vexatos
(~Vexatos@p5B31EB7D.dip0.t-ipconnect.de)
L563[19:17:02] <Vexatos> Hellöa
again!
L564[19:17:27] <Sangar> good evening
:)
L565[19:20:07] ***
JoshTheEnder is now known as
JoshTheEnder|BackInTheEther
L566[19:21:15] ***
prasselpikachu is now known as prassel|off
L567[19:22:00] ***
JoshTheEnder|BackInTheEther is now known as
JoshTheEnder
L568[19:22:10] ***
prassel|off is now known as prasselpikachu
L570[19:29:23] <Sangar> hahaha, nice one
:D
L571[19:29:48] <Vexatos> How?
L572[19:30:18] <Sangar> forgeground and
background get transparent -> where they overlap they're more
opaque
L573[19:30:37] <Vexatos> Bug using
101
L575[19:36:12] <ping> i never thought i
could do it
L576[19:37:18] <ping> leme close my 20
tabs, kill my dm, upgrade my drivers, disable internet/bluetooth,
and watch it double
L577[19:37:45] <Vexatos> What the
fridge
L578[19:37:51] <Vexatos> I have like 20 by
default
L579[19:38:32] <ping> just closing youtube
increased it by 100
L580[19:38:46] <ping> im even using
fallback drivers
L581[19:38:57] <ping> Vexatos,
linux.
L582[19:39:17] <Vexatos> Yea
L583[19:39:21] *
Vexatos ubuntu on nex PC
L584[19:39:22] <Vexatos> for sure
L585[19:39:41] <ping> nope
L586[19:39:45] <ping> ubuntu is crap
L587[19:41:29] <ping> aaand of cource i
have to recompile my kernel
L588[19:41:30] <ping> brb
L590[19:45:06] ***
manmaed is now known as manmaed|AFK
L591[19:46:02]
⇨ Joins: LordJoda
(~lordjoda@178-26-182-118-dynip.superkabel.de)
L592[19:46:03]
zsh sets mode: +o on LordJoda
L593[19:46:49] <Wobbo> Ubuntu is
user-friendly, but is starting to look more and more like OS X,
also behind the scenes. And I think that Canonical is more Evil
then Apple is, so I wouldn't chose Ubuntu.
L594[19:48:08] <Wobbo> I mean, who makes
its open source OS closed source? After people started saying that
Ubuntu sells your information to Amazon
L595[19:49:08] <Vexatos> Well
L596[19:49:15] <Vexatos> I did not use
linux before
L597[19:49:24] <Vexatos> So for a beginner
I think it's fine
L598[19:49:39] <Vexatos> the thing is, you
can always switch to a different OS as you like
L599[19:49:46] <Vexatos> Right?
L600[19:50:21] <Wobbo> Not really, you
would have to reinstall another OS on your HDD of course, the
packages in the package manager are slightly different.
L601[19:50:50] <Wobbo> Switching from a
POSIX system to another POSIX system isn't to hard, but there are
still differences.
L602[19:51:05] <Kenny> Sangar, I thought
of something about the recipes
L603[19:51:27] <Wobbo> For example. Here
on my OS X machine I normally only have BSD grep, while linux uses
GNU grep. And those are different
L604[19:51:55] <Wobbo> They still support
the options that OpenComputers Grep supports, but the other options
are platform dependent
L605[19:51:59] <Kenny> you have one item
that stops people who play peaceful mode from getting a
computer
L606[19:52:17] <Kenny> you require
fermented spider eye
L607[19:52:37] <Wobbo> There are more
recipes which are impossible on peaceful, even in vanilla.
L608[19:52:48] <Sangar> huh, interesting
point
L609[19:53:15] <Sangar> i kinda always
equalized peaceful with creative, never occurred to me people just
played normally on peaceful :P
L610[19:53:33] <Vexatos> Yea
L611[19:53:45] <Vexatos> Get Extra
Utilities and the peaceful table
L612[19:53:46] <Wobbo> I played index on
peaceful when I just started :P
L613[19:53:54] <Wobbo> *indev
L614[19:53:57] <Kenny> actually i'm not, i
simply thoguht of it because i need spider eyes and went outside
and could only find 4 spiders lol
L615[19:54:10] <Wobbo> XD
L616[19:54:14] <Sangar> :D
L617[19:55:13] <Sangar> I'll consider
change the recipes in that regard as soon as someone who actually
has that problem comes along :P
L618[19:55:22] <Kenny> it made me realize
that peaceful mode had no enemy mobs
L619[19:56:05] <Wobbo> I think that it
still isn't a problem then. They could change the recipes
themselves or install another mod which adds that to the game. Even
vanilla is restricted when you play on peaceful.
L620[19:58:16] <Wobbo> You can't build
sticky pistons when you play on peaceful
L621[19:58:37] <Sangar> oh! perfect
argument. thanks for that
L622[19:59:02] <Wobbo> The argument
doesn't work in 1.8 anymore :P
L623[19:59:18] <Sangar> it'll be a looong
time til oc meets mc 1.8 :P
L624[19:59:23] <Wobbo> But then you could
say that you can't craft a leash in peaceful
L625[19:59:53] <Wobbo> Or brewing stand,
you need blaze rods for those
L626[20:00:25] <Wobbo> Fishing rods need
string, which you can't get in peaceful
L627[20:02:18] <Wobbo> Oh never mind,
cobweb >.<
L628[20:10:27] ⇦
Quits: Vexatos (~Vexatos@p5B31EB7D.dip0.t-ipconnect.de) (Quit:
Greetings from Pastry Fork, Inc. ✔)
L629[20:11:17]
⇨ Joins: ping
(~notSangar@2601:4:4500:887:55a1:4e69:8f3a:ad23)
L631[20:11:50] <Wobbo> The fuck
L632[20:11:53] <Wobbo> really?
L633[20:11:55] <ping> yup
L635[20:12:07] <ping> want a video?
L636[20:12:14] <Wobbo> No, not
needed
L637[20:12:25] <ping> and now
L638[20:12:28] <ping> for optifine
L639[20:14:19] <LordJoda> a video with
2200 fps? I would love to see that...
L640[20:14:57] <ping> nah, it lowers a
ton
L641[20:15:13] <ping> probably only gona
be 1500
L642[20:17:55] <Wobbo> lsh should now be
able to run files. What kind of command line options would you
expect on a shell?
L643[20:18:16] <Kenny> Wobbo, you can also
card wool to get string
L644[20:18:29] <Wobbo> card?
L645[20:18:43] <Kenny> called combing in
real life
L646[20:19:07] <Wobbo> But that doesn't
work in minecraft as far as I know
L647[20:19:08] <Kenny> nvm. brain won't
function right
L648[20:20:04] <LordJoda> you can create
wool from strings^^
L649[20:25:52] <ping> nope, optifine
lowered my fps
L650[20:25:57] <Kenny> i know, just can't
remember the name of the tool to make string from wool hehe
L652[20:26:13] <Kenny> optifine has been
bugged for some time now
L653[20:32:44] <Wobbo> does anybody know a
command line option that you expect a shell to have?
L654[20:32:54] ***
prasselpikachu is now known as prassel|off
L655[20:33:59] <ping> Wobbo, sh
--help
L656[20:34:13] <Wobbo> Die is wel nuttig
ja :P
L657[20:34:48] <Wobbo> Suddenly switched
to Dutch XD That one is usefull
L658[20:37:18] ***
prassel|off is now known as prasselpikachu
L659[20:41:52] <Wobbo> Sangar, do auto
mounts need require for the filesystem API?
L660[20:42:52] <ping> shouldnt
L661[20:43:06] <Sangar> what do you
mean?
L662[20:43:22] <Wobbo> autorun I
mean
L663[20:43:34] <Wobbo> And the answer is
yes, I just found out
L664[20:43:50] <ping> strange, i have an
automount and it doesnt need require
L665[20:43:51] <Sangar> ah, yes. they're
just programs like any other.
L666[20:44:34] <Wobbo> ping, I use
devbuild 61, in version 1.1.3 it isn't needed
L667[20:46:02] <ping> will you still have
to do that in the next release?
L668[20:46:17] <ping> i just assumed it
was added in the rom programs to prevent the load order from
borking
L669[20:48:49] <prasselpikachu> Sangar: Do
you know of problems related to WAILA?
L670[20:50:26] <Sangar> waila is
"fixed" in the dev version (it's an ugly workaround but
avoids the crash)
L671[20:50:39] <Sangar> i edited that into
my post on the mcf, but that was probably too subtle
L672[20:50:57] <prasselpikachu> Okay, what
was the exact problem
L674[20:54:28] <prasselpikachu> Ah right
;)
L675[20:55:08] <Biohazard> :D
L676[20:56:49] <ping> :D Bio
L677[20:57:59] <prasselpikachu> Sangar:
Oh, are you german?
L678[21:00:52] <Sangar> aye
L679[21:01:05] <prasselpikachu> Sangar:
Tag auch
L680[21:01:12] <Wobbo> Nein, dan muss man
jawohl sagen! :P
L681[21:01:14] <Sangar> servus
L682[21:01:19] <prasselpikachu> LOL
L683[21:01:38] <prasselpikachu> wer ist
noch alles deutsch hier (außer Kilobyte)
L684[21:01:41] <Wobbo> What I learned
after five years of German lessons ^
L685[21:01:51] <prasselpikachu> Oh
L686[21:01:54] <prasselpikachu> Lel
L687[21:01:57] <Sangar> Wobbo: i couldn't
resist, I played around with providing a per program in the shell,
seems to work
L688[21:01:58] ***
LordFokas|off is now known as LordFokas
L689[21:02:09] <Sangar> *per program
env
L690[21:02:32] <Sangar> i return it as the
second result of shell.running
L691[21:02:33] <Wobbo> I only speak a
little bit of German, but I do understand it.
L692[21:02:45] <Wobbo> what do you mean
exactly?
L693[21:02:47] <prasselpikachu> Ok
^^
L694[21:02:53] <Sangar> and check that
where necessary (e.g. load() if env is nil)
L695[21:03:23] <Sangar> and now i think i
got io.input/output to work on a per program level
L696[21:03:28] <Sangar> with
inheritance
L697[21:03:33] <Sangar> \o/
L698[21:03:40] <Wobbo> neat!
L699[21:03:43] <prasselpikachu> \o/
L700[21:03:57] *
prasselpikachu highfives Sangar
L701[21:04:04] <Wobbo> so also no
overriding for load is needed for popen?
L702[21:04:16] <Sangar> aye
L703[21:04:22] <Sangar> well
L704[21:04:36] <Sangar> perhaps :P
L705[21:04:44] <Sangar> if it uses
shell.execute in some capacity
L706[21:04:46] <prasselpikachu> Sangar:
Never heard of superkabel tho.. Local cable provider?
L707[21:04:54] <Sangar> kabel
deutschland
L708[21:04:57] <prasselpikachu> Oh
L709[21:05:00] <prasselpikachu> Okay
L710[21:05:10] <prasselpikachu> Lol
superkabel
L711[21:11:19] <Wobbo> Is somebody here
good with environments?
L712[21:11:44] <Wobbo> Because I have a
"problem" with lsh's environment, and I don't get
it.
L713[21:12:55] <Wobbo> Oh, nevermind
L714[21:12:57] <Wobbo> I get it now
L715[21:16:00] ***
prasselpikachu is now known as prassel|off
L716[21:20:18] <ping> in other news
L717[21:20:20] <ping> cloudy quit
L718[21:21:26] <ping> >_>
L719[21:23:06] <Kilobyte> prassel|off:
shame on you for pinging me
L720[21:23:07] <Kilobyte> :P
L721[21:23:30] *
ping Kilobyte
L722[21:23:40] <ping> socket card for
oc
L723[21:23:42] <ping> kthx
L724[21:23:46] <Kilobyte> will come
L725[21:23:49] <Kilobyte> BUT
L726[21:23:53] <ping> BUTT?
L727[21:23:58] <Kilobyte> that too
(jk)
L728[21:24:08] <Kilobyte> no, really, last
2 months of school
L729[21:24:11] <Kilobyte> pretty busy
atm
L730[21:24:20] <ping> pretty not
busy
L731[21:24:25] <ping> being
homeshooled
L732[21:24:30] <ping> by computer
L733[21:24:41] <Kilobyte> so such thing
here
L734[21:27:27] ***
Biohazard is now known as `
L735[21:29:21] <Wobbo> Sangar, is there a
new devbuild already? And is it stable?
L736[21:30:27] <Sangar> should be up yes,
stable... i guess :P
L737[21:30:33] <Sangar> the things i tried
worked
L738[21:31:13] <Wobbo> I will pass for now
:P
L739[21:31:35] <ping> Wobbo, the current
dev build randomly overwrites segments of your memory
L740[21:31:55] <ping> which usually causes
segmentation faults
L741[21:32:20] <Wobbo> Oh, that is no
problem. I already expected that, so as a precaution I normally do
that anyway
L742[21:32:49] ***
prassel|off is now known as prasselpikachu
L743[21:33:38] <Wobbo> It only segfaults
once every two hours :)
L744[21:33:43] <prasselpikachu> ping: Wat
he quit?
L745[21:37:11] ***
prasselpikachu is now known as prassel|off
L746[21:38:37] <Sangar> latest dev should
be pretty stable. in fact, test it now, because i'll probably
release it as is as the first rc for 1.2
L747[21:38:47] <Wobbo> If Lua can't find a
value in the __index table, he looks into __index metatables
right?
L748[21:38:57] <ping> wot
L749[21:39:07] <Sangar> it's recursive
afaik, yes
L750[21:39:07] <ping> __index is a key in
a metatable
L751[21:39:26] <ping> if its a table, it
will index it
L752[21:39:29] <ping> so yus
L753[21:39:38] <Wobbo> Hmm…
L754[21:40:44] <Wobbo> Then, what is wrong
with this inherit?
L755[21:40:49] <Wobbo> function
lsh.inheritEnv(parent)
L756[21:40:49] <Wobbo> parent =
copyTable(parent)
L757[21:40:51] <Wobbo> if not parent._LSH
then
L758[21:40:52] <Wobbo> parent =
lsh.makeEnv(parent)
L759[21:40:54] <Wobbo> end
L760[21:40:55] <Wobbo> return
setmetatable({}, {__index = parent})
L761[21:40:55] <Wobbo> end
L762[21:42:03] <ping> i dont see
anything
L763[21:42:10] <ping> wrong
L764[21:42:30] <Sangar> me neither. just
to clarify, what i meant: setmetatable({},
{__index=setmetatable({},{__index={a=10}})}).a == 10
L765[21:43:23] <Wobbo> lsh.makeEnv makes
sure that the parent can call programs from the filesystem using
metatables, so that should be working…
L766[21:45:48] <ping> i dunt understand
:/
L767[21:48:56] ***
prassel|off is now known as prasselpikachu
L768[21:50:15] ***
manmaed|AFK is now known as manmaed
L769[21:51:18] <Wobbo> Maybe it doesn't
work because I use it as an environment
L770[21:51:23] ***
Kilobyte is now known as Higuy1235
L771[21:51:29] ***
Higuy1235 is now known as Kilobyte
L772[21:52:53] <ping> Wobbo, environments
changed so maby
L773[21:54:51] ***
prasselpikachu is now known as prassel|off
L774[21:56:32] <Wobbo> I derped, copyTable
doesn't copy metatables >.<
L775[21:56:58] <ping> Lol
L776[21:57:14] <Wobbo> Now it should
L777[21:57:32] <ping> i dont like
OOP
L778[21:57:43] <ping> well, the metatable
type
L779[21:59:19] <Wobbo> lsh is operational
again.
L780[21:59:39] <Wobbo> I will upload it to
the forum so you can use it now. OpenComputers first programable
shell
L781[22:00:56] <Sangar> fancy :)
L782[22:01:43] <Wobbo> Sangar, feature
request --! to specify which program has to run a file :P
L783[22:02:21] <Sangar> hmhmhm
L784[22:03:02] <Wobbo> --! /usr/bin/lsh -f
and you could write programs in lsh :P
L785[22:03:29] <Sangar> yeah, i get the
point. i'll consider it.
L786[22:05:20] <Sangar> thing is: normal
lua ignores the first line if it's a shebang, so it'd make sense to
keep it the same in oc, instead of going for --!
L787[22:05:31] <Wobbo> That is true
L788[22:06:27] <Wobbo> In AppleScript,
they just make the # into the start of a line comment, so you can
use both -- and #
L789[22:06:42] <Wobbo> But that would
never work for Lua
L790[22:14:40] <Sangar> in fact, I should
at least add the 'ignore first line if it starts with a #' thing to
loadfile either way, since it's standard lua behavior. adding a
check to the shell what program to launch for the file shouldn't be
that bad either... maybe later :P
L791[22:18:36] ***
JoshTheEnder is now known as
JoshTheEnder|BackInTheEther
L792[22:23:42] ⇦
Parts: Stary2001 (Stary2001@stary2001.co.uk) (Once you know what it
is you want to be true, instinct is a very useful device for
enabling you to know that it is))
L793[22:23:49]
⇨ Joins: Stary2001 (Stary2001@stary2001.co.uk)
L794[22:26:13] <Wobbo> lsh is online, I am
waiting for bug reports :P
L795[22:28:50] <ping> Wobbo, so..
L796[22:29:07] <ping> it just adds shell
programs into a env
L797[22:29:17] <Wobbo> Yes
L798[22:29:29] <ping> <_>
L799[22:29:42] <Wobbo> but dynamically, so
if you install a new program, it will call that as well
L800[22:30:10] <Wobbo> It basically allows
for shell scripting
L801[22:30:24] <Wobbo> but the syntax
isn't very nice for shell scripting
L802[22:33:49] <Wobbo> but hey, no better
alternative yet!
L803[22:36:48] *
ping makes an OS
L804[22:37:23] <Wobbo> Really? what is
wrong with OpenOS?
L805[22:39:52] <ping> its a shell.
L806[22:40:04] <Wobbo> Ah.
L807[22:40:23] <Wobbo> Can you script
it?
L808[22:40:44] <ping> because oc has a
higher resolution, windows, folder managers, etc are mor
viable
L809[22:41:07] <Wobbo> Ah, a graphical
Shell, that would be interesting
L811[22:42:53] <Wobbo> Jepordy?
L813[22:43:19] <Wobbo> Don't you mean
Jeopardy? That game that even a computer can win? :P
L814[22:43:38] <Wobbo> Yeah, that
one
L815[22:44:10] <Wobbo> I wouldn't know
what Jeopardy is if it wasn't for Watson XD
L816[22:50:17] ⇦
Quits: WaveCup (bot@stary2001.co.uk) (Remote host closed the
connection)
L818[22:52:55] <Wobbo> Is it such a shame
that I wouldn't know Jeopardy otherwise? They don't broadcast it
here in the Netherlands, as far as I can tell
L819[22:53:22] <ping> nah
L820[23:02:09] ***
SuPeRMiNoR2 is now known as SuPeRMiNoR2|Away
L821[23:17:57] <Wobbo> Sangar, you already
made it skip the first line? :P
L822[23:18:07] <Sangar> y
L823[23:19:07] <Sangar> last thing for
today though ^^ gotta get some sleep. gnight.
L824[23:19:58] <Wobbo> Me to, its already
tomorrow.
L825[23:20:04] <Wobbo> Bye!
L826[23:30:30] ⇦
Quits: vv3 (~IceChat9@2a02:1810:188b:2b00:1576:58e1:ccd4:ef4e)
(Ping timeout: 194 seconds)
L827[23:33:09]
⇨ Joins: Maru_
(webchat@ip68-103-100-246.ks.ok.cox.net)
L828[23:35:46] ⇦
Quits: Maru_ (webchat@ip68-103-100-246.ks.ok.cox.net) (Client
Quit)
L829[23:41:02] ***
Ir7_o[AWAY] is now known as Ir7_o
L830[23:42:57] <Ir7_o> mornin'
L831[23:47:23]
⇨ Joins: SpiritedDusty
(~SpiritedD@ip-185-191-143-79.static.contabo.net)
L832[23:47:24]
zsh sets mode: +v on SpiritedDusty
L833[23:50:52] ⇦
Quits: Stary2001 (Stary2001@stary2001.co.uk) (Ping timeout: 194
seconds)
L834[23:55:20] <Ir7_o> Sangar?
L835[23:55:27] <LordJoda> already
gone
L836[23:55:34] <Ir7_o> dang it.
L837[23:58:24] <LordJoda> but I guess he
will read back the log^^
L838[23:59:41]
⇨ Joins: Stary2001 (Stary2001@stary2001.co.uk)