<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:09:33] ⇨
Joins: asie
(~textual@078088168214.elblag.vectranet.pl)
L2[00:09:47] ⇨
Joins: dangranos (webchat@109.203.209.139)
L3[00:44:42] <ShadowKatStudios> Does OC have
a yield function?
L4[00:48:32] ***
Bizzycola is now known as Bizzycola|Offline
L5[01:04:52] <ping> ShadowKatStudios,
yes
L6[01:05:37] <ping> .wiki event.pull
L7[01:05:37] <^v> ping, event.pull([timeout:
number], [name: string], ...):string,... This, besides os.sleep()
should be the primary way for programs to "yield". This
function can be used to await signals from the queue, while having
unrelated signals dispatched as events.
L8[01:06:27] <ShadowKatStudios> Because I
have a program that waits for a message over the network,
translates it and pushes an event, but the program that listens for
that event doersn't get that event.
L9[01:06:52] <ping> code for both?
L12[01:11:25] <ping> D: those programs are
big
L13[01:11:54] <ping> would suggest you
debug the parameters for modem.broadcast
L14[01:13:01] ***
jesustk_off is now known as jesusthekiller
L15[01:13:24] <ping> also put a computer in
a simple while true do serialize event.pull
L16[01:13:36] <ping> i am tired
L17[01:14:12] <ShadowKatStudios> I think
I'll just rewrite
L18[01:14:21] <ShadowKatStudios> Maybe
virtual circuits this time...
L19[01:22:42] ⇦
Quits: ping (~notPing@c-71-238-153-166.hsd1.mi.comcast.net) (Quit:
Bed.)
L20[01:28:28] ***
jesusthekiller is now known as jesustk_off
L21[01:34:50] ⇨
Joins: ping
(~notPing@c-71-238-153-166.hsd1.mi.comcast.net)
L22[01:35:04] <ping> by bed i meant code
more
L23[01:35:35] <Death> yep.
L24[01:35:41] <Death> of course.
L25[01:36:48] <ping> hmm, conversion from e
to ^ wrong :/
L26[01:37:06] <ping> i mean, e to l
L27[01:37:11] <ping> the result is ^
L28[01:37:32] <ping> i fucked my math
somewhere :/
L29[01:39:48] <ping> fuck
L30[01:39:54] <ping> its closer now
L31[01:40:02] <ping> i accidentally
reversed something
L32[01:40:08] <ping> but heres what i have
so far:
L33[01:40:10] <ping> .df
iiiissiiiiiiiisiiiiiiiiosiiiiiiiiiisioiiiiiiiooiiiosiiiiiiisosiiiiiisosiiiiiiiiisiiiiiiosiiiiiiiiiiisoiiioddddddoddddddddosiiiiiiso
L34[01:40:10] <^v> ping,
Hello1$Wy|vn$
L36[01:41:27] <ping> .df
iiiissiiiiiiiisiiiiiiiiosiiiiiiiiiisioiiiiiiiooiiiosiiiiiiisdddddoddddddddddddosiiiiiiiiisiiiiiiosiiiiiiiiiiisddddddddddoiiioddddddoddddddddosiiiiiisdddo
L37[01:41:27] <^v> ping, Hello,
World!
L38[01:41:54] ⇨
Joins: Vexatos
(~Vexatos@p200300556E0DF80495EF2B7AB25DCDB9.dip0.t-ipconnect.de)
L40[01:43:52] <Vexatos> D:
L41[01:44:00] <Death> D:D
L42[01:44:07] <Vexatos> d:d
L43[01:44:14] <ping> ive sucessfully
generated a hello world automatically, much much smaller than the
one on esolang
L44[01:44:42] <Vexatos> Δ:Δ
L45[01:45:21] ⇦
Quits: Vexatos
(~Vexatos@p200300556E0DF80495EF2B7AB25DCDB9.dip0.t-ipconnect.de)
(Client Quit)
L46[01:45:38] <Death> x2-x1:y2-y1
L47[01:52:27] ***
tgame14|sleep is now known as tgame14
L48[02:07:50] ⇦
Quits: asie (~textual@078088168214.elblag.vectranet.pl) (Quit: I'll
probably come back in either 20 minutes or 8 hours.)
L49[02:18:27] <ping> okay, compressed it as
much as possible
L50[02:18:28] <ping>
iiisdsiiiiiiiiosiiisisioiiiiiiiooiiiosiisiiisdddddosiisiisddddosiiissiiiiiiosiiisiisddddddddddoiiioddddddosiiisisosiisiisdddo
L51[02:18:44] <Death> .df
iiisdsiiiiiiiiosiiisisioiiiiiiiooiiiosiisiiisdddddosiisiisddddosiiissiiiiiiosiiisiisddddddddddoiiioddddddosiiisisosiisiisdddo
L52[02:18:44] <^v> Death, Hello,
World!
L53[02:18:51] <ping> Though
L54[02:19:00] <ping> this isnt valid
deadfish
L55[02:19:09] <ping> i am resetting on
>= 256
L56[02:19:28] <ping> deadfish resets on
only 256
L57[02:19:38] <ping> so numbers can go past
-_-
L59[02:22:40] <^v> ping, fail text Deadfish
converter Written in Lua by infinikiller64 1.11KB
L60[02:28:14] <ping> heres the output table
serialized:
L62[02:28:30] <^v> ping, fail text Deadfish
table Written in Lua by infinikiller64 1384.23KB
L63[02:28:35] <ping> HOLY SHIT
L64[02:28:41] <ping> 1.3 MB?
L65[02:28:50] <ping>
DAAAAAAAAAAAAAYUM
L66[02:33:01] <ping> bed time
L68[02:45:51] ***
tgame14 is now known as tgame14|away
L69[02:55:43] ***
Death is now known as Death||Away
L70[03:15:04] ***
Bizzycola|Offline is now known as Bizzycola
L71[03:53:33] ⇦
Quits: jk-5 (~jk-5@5ED41A81.cm-7-5a.dynamic.ziggo.nl) (Ping
timeout: 186 seconds)
L72[03:56:28] ***
alekso56_off is now known as alekso56
L74[04:01:02] ⇨
Joins: jk-5 (~jk-5@5ED41A81.cm-7-5a.dynamic.ziggo.nl)
L75[04:05:03] ***
Sorroko_Off is now known as Sorroko
L76[04:12:07] ⇨
Joins: Johannes13
(~Johannes@p4FDEA885.dip0.t-ipconnect.de)
L77[04:29:12] ⇨
Joins: Johannes13_
(~Johannes@p4FDEA885.dip0.t-ipconnect.de)
L78[04:32:30] ⇦
Quits: Johannes13 (~Johannes@p4FDEA885.dip0.t-ipconnect.de) (Ping
timeout: 195 seconds)
L79[04:39:46] ***
Sorroko is now known as Sorroko_Off
L80[04:43:47] ***
Sorroko_Off is now known as Sorroko
L81[04:44:38] *** _ is
now known as Biohazard
L82[05:43:16] ⇨
Joins: asie
(~textual@078088168214.elblag.vectranet.pl)
L84[05:50:37] <Bizzycola> nice :p
L85[05:52:17] <Bizzycola> I need to get
ffmpeg/sox for linux and convert my audio converter for
computronics to linux. Then I need to host a minecraft server on
that same machine, with a webserver and some php so I can just
upload any audio file and have it converted then immediately grab
it and start writing to a tape :p
L86[06:03:04] ⇦
Quits: asie (~textual@078088168214.elblag.vectranet.pl) (Quit: I'll
probably come back in either 20 minutes or 8 hours.)
L87[06:11:11] ***
Cazzar is now known as cazzar|Away
L88[06:14:06] ***
alekso56 is now known as alekso56_off
L89[06:16:27] ⇦
Quits: SuPeRMiNoR2|Away (SuPeR@thatjoshgreen.me) (Ping timeout: 186
seconds)
L90[06:16:51] ⇨
Joins: SuPeRMiNoR2|Away (SuPeR@thatjoshgreen.me)
L91[06:16:58] ***
SuPeRMiNoR2|Away is now known as SuPeRMiNoR2
L92[06:22:57] ***
cazzar|Away is now known as Cazzar
L93[06:34:18] ⇦
Quits: ShadowKatStudios
(~chatzilla@c211-31-42-102.rochd5.qld.optusnet.com.au) (Quit: Stuff
tto do tomorrow :( *yawn*)
L94[06:46:41] ***
jesustk_off is now known as jesusthekiller
L95[06:53:10] ***
Johannes13_ is now known as Johannes13
L96[06:55:09] ***
jesusthekiller is now known as jesustk_off
L97[07:08:16] <Bizzycola> weird, ffmpeg
command doesn't work on linux :p
L98[07:08:25] <Bizzycola> the arguments
worked fine on windows..
L99[07:14:02] ⇨
Joins: asie
(~textual@078088168214.elblag.vectranet.pl)
L100[07:15:11] ***
Cazzar is now known as cazzar|Away
L101[07:35:16] <Wired> exit
L102[07:35:18] ⇦
Quits: Wired (~jacob@c-75-72-220-179.hsd1.mn.comcast.net) (Quit:
WeeChat 0.4.3)
L103[07:59:00] ⇦
Quits: ^v (~pingbot@c-71-238-153-166.hsd1.mi.comcast.net) (Ping
timeout: 190 seconds)
L104[07:59:10]
⇨ Joins: Lumien
(~lumien@p4FED44C8.dip0.t-ipconnect.de)
L105[08:04:53] <Bizzycola> okay noow my
converter works on linux :p
L106[08:28:34]
⇨ Joins: finkmac
(~finkmac@rdsl-0247.tor.pathcom.com)
L107[09:19:57] ⇦
Quits: asie (~textual@078088168214.elblag.vectranet.pl) (Quit: I'll
probably come back in either 20 minutes or 8 hours.)
L108[09:33:23] ***
alekso56_off is now known as alekso56
L109[09:46:09]
⇨ Joins: asie
(~textual@078088168214.elblag.vectranet.pl)
L110[09:49:39]
⇨ Joins: MrHohenheim_
(~MrHohenhe@195-38-107-194.pool.digikabel.hu)
L111[09:50:07]
⇨ Joins: Gopher
(~Gopher@98.sub-70-193-141.myvzw.com)
L112[09:50:07] <Kenny|Sleeping> \o
L113[09:51:28] <Gopher> hi, kenny,
all
L114[09:51:54] ***
Kenny|Sleeping is now known as Kenny
L115[09:52:09] <Kenny> yo
L116[09:52:20] ⇦
Quits: MrHohenheim (~MrHohenhe@195-38-107-194.pool.digikabel.hu)
(Ping timeout: 190 seconds)
L117[09:52:42] <Gopher> first task for
day: finish and integrate the savedlg as gml.filePicker. Then:
implement buffers, and refactor all drawing code to use them.
L118[09:52:54] <Gopher> actually, gonna
swap that. I'd rather work on the buffers right now.
L119[09:53:32] <SpiritedDusty>
buffers?
L120[09:53:47] <Gopher> canvases would be
a better word for them I guess
L121[09:53:51] <SpiritedDusty> oh
L122[09:53:52] <Kenny> Gopher, to save
myself a lot of time downloading that code and stuff, i just forked
the repo
L123[09:53:54] <Gopher> substitutes for
gpu, that draw to memory
L124[09:54:01] <SpiritedDusty> I see
L125[09:54:27] <Gopher> so complex and
overlapping draw instructions can be buffered and then presented
optimally
L126[10:02:34] ⇦
Quits: MrHohenheim_ (~MrHohenhe@195-38-107-194.pool.digikabel.hu)
(Quit: Leaving)
L127[10:02:48]
⇨ Joins: MrHohenheim
(~MrHohenhe@195-38-107-194.pool.digikabel.hu)
L128[10:07:46] <MrHohenheim> hi
L129[10:08:09] <MrHohenheim> off topic
someone have experience at vmware?:)
L131[10:14:45]
⇨ Joins: Gopher|omnom
(~Gopher@203.sub-174-237-50.myvzw.com)
L132[10:14:52] ⇦
Quits: Gopher (~Gopher@98.sub-70-193-141.myvzw.com) (Killed
(NickServ (GHOST command used by
Gopher|omnom!~Gopher@203.sub-174-237-50.myvzw.com)))
L133[10:18:07] ⇦
Quits: Gopher|omnom (~Gopher@203.sub-174-237-50.myvzw.com) (Ping
timeout: 194 seconds)
L134[10:18:22]
⇨ Joins: Gopher
(~Gopher@127.sub-174-252-160.myvzw.com)
L135[10:18:22] <Kenny> \o
L136[10:21:29] <MrHohenheim> oh moment i
think solve my stupid problem
L137[10:21:36] <MrHohenheim> hi
Kenny
L138[10:21:57] <Kenny> hey MrHohenheim
:)
L139[10:23:00] <MrHohenheim> or not
L140[10:23:07] <MrHohenheim> so we have
new forum nodebb
L141[10:23:16] <MrHohenheim> and i want to
make same for personal use
L142[10:23:25] <MrHohenheim> only problem
this not run win os
L143[10:23:34] <MrHohenheim> so i
installed ubuntu to my vmware
L144[10:23:47] <MrHohenheim> my problem
the network
L145[10:24:04] <MrHohenheim> i want to use
the virtual ubuntu for... hmm hard to explain
L146[10:24:13] <MrHohenheim> so localhost
192.168.1.xxx
L147[10:24:21] <MrHohenheim> and vmware
start 192.168.236.x
L148[10:24:41] <MrHohenheim> so i want to
set example 192.168.1.110
L149[10:24:49] <MrHohenheim> same ip for
portforwarding
L150[10:25:03] <Kenny> you want to link
the vmware so others can access it from outside?
L151[10:25:09] <MrHohenheim> yes
L152[10:25:14] <MrHohenheim> becuse my pc
run win7
L153[10:25:26] <MrHohenheim> and i want to
run the forum at my vmware ubuntu :)
L154[10:25:31] <Kenny> then the port
forwarding would be done in your router
L155[10:25:37] <Michiyo> Switch VMWare to
"Bridged Networking"
L156[10:25:38] <MrHohenheim> iknow not
this the problem
L157[10:25:45] <MrHohenheim> oh
L158[10:25:48] <MrHohenheim> hmm
L159[10:25:50] <Michiyo> It'll then pull a
IP from your primary network DHCP Pool
L160[10:26:31] <Michiyo> I don't have
VMWare installed ATM but it is somewhere in the network settings in
the VM panel
L161[10:26:35] <MrHohenheim> need check
the replicate psyical connentionstate?
L162[10:27:11] <MrHohenheim> of course
puusshme died
L164[10:28:42] <Michiyo> The check state
doesn't matter...
L165[10:29:02] <Michiyo> All it does is
tell the guest OS that the network cable is disconnected if it gets
disconnected from YOUR computer
L166[10:29:20] <Michiyo> I usually check
it, but it doesn't matter either way.
L167[10:30:06] <MrHohenheim> oke
L168[10:30:10] <MrHohenheim> give me few
min
L170[10:30:36] <MrHohenheim> i like this
desing
L171[10:34:13] <MrHohenheim> first time i
used koding.com and all fine just the port open have problems
L172[10:39:30] ⇦
Quits: asie (~textual@078088168214.elblag.vectranet.pl) (Quit: I'll
probably come back in either 20 minutes or 8 hours.)
L173[10:49:09]
⇨ Joins: mallrat208 (Mibbit@68.204.184.175)
L174[10:49:37] <Gopher> yikes.
L175[10:49:52] <Gopher> Ok, gonna have to
think very carefully about how I implement canvases.
L176[10:50:21] <Gopher> Just did a test, a
naive full-screen canvas buffer for a tier 3 monitor could use as
much as 1 meg of ram.
L177[10:52:38] <SpiritedDusty> o_O
L178[10:53:00] <Gopher> trying to figure
out how and why, because that seems crazy
L179[10:53:16] <Gopher> though... well,
not that crazy I guess when I /really/ think about it
L180[10:53:51] <Gopher> my idea of a
"naive" implementation involves rather a large number of
tables.
L181[10:57:09] <SpiritedDusty> compress
memory! xD
L182[10:57:44] ⇦
Quits: dangranos (webchat@109.203.209.139) (Ping timeout: 198
seconds)
L183[10:57:54] <Gopher> doing tests, a
single table {fg=0,bg=0,ch=" "} is around 130 bytes. so
one of those for all 8000 "pixels" would be 1040000, plus
the tables that contain and organize those into rows, so yeah,
1.1meg
L184[10:58:37] <Gopher> even doing spans,
grouping sequential pixels with same colors, would improve the
average case hugely but make the worst case even worse
L185[10:58:43] <Gopher> so I'm thinking...
strings, lol.
L186[10:58:56] <Gopher> More
computationally expensive, but those are my options, computation or
memory.
L187[11:03:02] <Gopher> yeah. Worst-case
using a simple string representation I can get down to 56k. Much
more reasonable.
L188[11:03:46] <Gopher> wait, no. In fact,
what.
L189[11:04:34] <Gopher> 56k is the string
length, but they're unicode strings, and computer.freeMemory
reports that that 56k string is taking 400k of memory O_o
L190[11:05:18] <MrHohenheim> Michiyo, did
you know why annoying ubuntu at virtual machine?
L191[11:05:26] <Gopher> hrm. no. sanity
check shows it's not.
L192[11:05:59] <Gopher> though building up
that string apparently spiked use to that level before gc had a
chance to kick in
L193[11:07:09] <Gopher> I'm sure this is
riveting stuff, but I'm going to stop with the play-by-play now
XD
L194[11:08:02] <Gopher> oh, delayed
response, what were you saying you forked earlier, kenny?
Gophers-Programs?
L195[11:08:30] <Kenny> yeah, and
definitely a delayed response hehe
L196[11:08:54] <Gopher> was looking at the
repo and remembered you saying something about it, but it doesn't
show any forks
L197[11:08:57] <Kenny> i said that over an
hour ago :P
L198[11:09:04] <Gopher> so I was confused,
renewing my interest in the statement
L199[11:18:06] <MrHohenheim> Michiyo, thx
works the bridge the good choice
L200[11:18:24] ⇦
Quits: Lumien (~lumien@p4FED44C8.dip0.t-ipconnect.de) (Quit:
Nettalk6 - www.ntalk.de)
L201[11:19:17]
⇨ Joins: Din
(~DinFer@as54.tr1.dlp368.bih.net.ba)
L202[11:19:36] <Din> haido
L203[11:24:16]
⇨ Joins: Din16
(~DinFer@as54.tr1.dlp368.bih.net.ba)
L204[11:25:00] <Kenny> DangISP :)
L205[11:25:25] <Kenny> brb lunch
time
L206[11:27:00] ⇦
Quits: Din (~DinFer@as54.tr1.dlp368.bih.net.ba) (Ping timeout: 190
seconds)
L207[11:35:51] <Kenny> Gopher foound a
small bug in the list box
L208[11:35:59] <Gopher> oh?
L209[11:36:24] <Kenny> if i use the mouse
and click on number eight it will highlight number six
L210[11:36:47] <Gopher> eh?
L211[11:36:59] <Gopher> in gmltest?
L212[11:37:03] <Kenny> you know the list
you have for the example
L213[11:37:13] <Kenny> one through
twenty-five
L214[11:37:32] <Gopher> oh, wow, when did
I break that? XD thanks, will fix in a bit
L215[11:37:49] <Kenny> if i click on
number eight it will highlight number six
L216[11:38:45] <Gopher> yeah, just did it
myself, clearly somewhere along the way I removed the bit that
added the scroll position to the clicked position
L217[11:39:22] <Kenny> caught it earlier
but just went back to the game and remembered it hehe
L218[11:41:31] <Gopher> just fixed
directly in repo, ty. You could've reported an issue if I wasn't
online at the time, I would've fixed it earlier if I'd known
:)
L219[11:42:20] <Gopher> when I rewrote the
click handler to call the new listbox:select method, I forgot to
add the scrollbar's scroll position to the clicked row
L220[11:42:30] <Michiyo> No problem
MrHohenheim. Sorry I'm AFK heh
L221[11:42:58] <Kenny> wasn't that. i only
found the issue about 20 mmins before you came online....
L222[11:43:21] <Kenny> i got doing
something else and forgot till i went back ion game a little bit
ago
L223[11:43:28] <MrHohenheim> np
L224[11:43:34] <Gopher> ah, well, thanks
in any case :)
L225[11:43:39] <MrHohenheim> sometimes vm
ubuntu gettin slow like a snail
L226[11:43:48] <Gopher> surprised I hadn't
noticed before I sync'd the last commits
L227[11:44:01] <Kenny> wasn't hard to
remember when i had the listbox staring me in the face in-game
hehe
L228[11:44:40] <Kenny> i was working with
it at the time and got caught up doing something else
L229[11:47:23]
⇨ Joins: asie
(~textual@078088168214.elblag.vectranet.pl)
L230[11:48:40]
⇨ Joins: ping
(~notPing@c-71-238-153-166.hsd1.mi.comcast.net)
L232[11:49:17] <ping> and ofc ^v
broke
L233[11:49:31]
⇨ Joins: ^v
(~pingbot@c-71-238-153-166.hsd1.mi.comcast.net)
L234[11:50:42] <ping> SKS, fishstacks IS
easier ;-;
L235[11:50:57] ⇦
Quits: asie (~textual@078088168214.elblag.vectranet.pl) (Client
Quit)
L236[11:51:33] <Kenny> ping, do you
realize those goobldy gook lines you post make it difficult to read
a log file quickly
L237[11:52:39] <Kenny> from now on, if you
want to do that coding for brainfuck and other code of that nature,
test it in some other channel
L238[11:52:58] <Gopher> \o/
L239[11:53:06] <Kenny> a line of text
50-100 chars of garbage is bs
L240[11:53:16] <ping> wat
L241[11:53:35] <Kenny> what my ass. you
know exactly what i'm talking about
L242[11:53:58] <Kenny> those stupid ass
translation shit you keep writing
L243[11:54:30] <Kenny> want me to scroll
back up and get that line of garbage from last night
L245[11:55:04] <ping> the deadfish
L246[11:55:33] <Kenny> and it's not just
been deadfish
L247[11:57:01] <Kenny> you can write that
shit al you want been when you start testing it in here again (and
getting others to use it) then you are going to be waiting outside
the door for a little while
L248[11:57:20] <Kenny> and that includes
PixelToast
L249[11:57:33] <Kenny> and ^v
L250[12:17:23]
⇨ Joins: Symmetryc
(webchat@pool-108-9-201-239.tampfl.fios.verizon.net)
L251[12:17:54] <ping> \o/ Symmetryc
L252[12:46:19]
⇨ Joins: asie
(~textual@078088168214.elblag.vectranet.pl)
L253[12:46:44] <Kenny> OK> Heads Up.
got a message for everyone in channel.........
L254[12:47:02] <Kenny> there is now a
message system in place for the channel to use
L255[12:47:20] <Kenny> the command is
~tell <nick> <message>
L256[12:47:20] <ping> what would that
be
L257[12:47:34] <Kenny> to get your
messages you use ~tells
L258[12:48:34] <Kenny> so if i want to
send a message to Gopher i would use ~tell Gopher this is a test of
the OC mesaage system
L259[12:49:01] <Kenny> for him to get them
he just types ~tells
L260[12:50:45] <Kenny> so any
questions
L261[12:51:07] <Gopher> none come to mind,
no
L262[12:51:34] <Kenny> i set thisd up so
we can get messages to those who are offline
L263[12:53:16] <Kenny> i could set it up
so that when oyu came in the channel it would auto trigger sending
the messages.....
L264[12:54:07] <Kenny> but so many people
'bitched' about the messages i was sending with an on JOIN: they
will just have to remember to check
L265[12:55:40] <Gopher> I would swear
espernet has a service for offline messages to registerd users,
because someone sent me such a message once, got notice after
connecting in my server window, after the motd
L266[12:55:57] <Kenny> uses
memomserv
L267[12:56:03] <Gopher> but I cna't for
the life of me remember the details, and with the esper web service
down, can't find espernet documentation either
L268[12:56:06] <Gopher> aah, right,
memoserv
L269[12:56:51] <Kenny> i'm familiar with
it. i could have it do it that way but then i'd have people asking
me how to use memoserv :P
L270[12:57:28] <Kenny> and this way you
get all messages at once instead of having to tell it to read 1
then read 2
L271[12:58:31] <Kenny> as a test
Gopher
L272[12:58:49] <Kenny> ~tell Gopher it
works reall simple like
L273[12:59:10] <Gopher> oh, right, that's
my cue
L274[12:59:11] <Gopher> ~tells
L275[12:59:27] <Kenny> you got a pm from
me with the message
L276[12:59:47] <Kenny> or it did a notice
to you
L277[12:59:58] <Kenny> should have any how
hehe
L278[12:59:58] <Gopher> guessin git only
sends the tells once then discards them, but does ~tells work in a
pm?
L279[13:00:07] <Gopher> it sent them,
yeah, via pm
L280[13:00:12] <Gopher> s/git/it
L281[13:00:26] <Kenny> i have it set to
remove the messages after you do a ~tells
L282[13:00:44] <Gopher> yeah, guessed as
much, but does pming ~tells work or just ~tells in the
channel?
L283[13:01:21] <Kenny> didn't test that
hehe
L284[13:01:25] <Kenny> ~tell Gopher it
works reall simple like
L285[13:01:33] <Kenny> try it in a pm
window
L286[13:03:48] <Kenny> it does not work in
a pm window
L287[13:14:06] <Kenny> that is it, y'all
can go back to being idiots again hehe
L288[13:15:18] <ping> ;_; the more i watch
TV the more i hate it
L289[13:15:24] ***
Death||Away is now known as Death
L290[13:15:39] ⇦
Quits: ping (~notPing@c-71-238-153-166.hsd1.mi.comcast.net) (Read
error: Connection reset by peer)
L291[13:16:00]
⇨ Joins: ping
(~notPing@c-71-238-153-166.hsd1.mi.comcast.net)
L292[13:16:08] <ping> random reset
L293[13:16:13] <ping> comcast punishing
me
L294[13:16:19] <Kenny> they dind';t like
you saying you hated tv
L295[13:16:36] ⇦
Quits: ^v (~pingbot@c-71-238-153-166.hsd1.mi.comcast.net) (Read
error: Connection reset by peer)
L296[13:16:45]
⇨ Joins: ^v
(~pingbot@c-71-238-153-166.hsd1.mi.comcast.net)
L297[13:16:55] *
Kenny does his best to keep from laughing
L298[13:16:59] <ping> ugh
L299[13:17:17] <ping> basketball is
retarded
L300[13:17:46] <ping> i want to turn off
the tv so bad l__l but other people are watching
L301[13:18:05] <Kenny> sudden power
outage?
L302[13:18:55] <ping> dunno, if i go into
basement they will know i did it ;-;
L303[13:19:16] <Kenny> extension cord,
paper clip
L305[13:19:34] <Kenny> plug it into an
outlet on that line and pop the breaker
L306[13:20:23] <ping> ive done that before
._.
L307[13:20:26] <Kenny> just make sure your
computer isn't on the same breaker
L308[13:20:31] <ping> but house was so
shitty
L309[13:20:37] <ping> it did nothing
L310[13:20:47] <ping> just made the paper
clip too hot to touch
L311[13:21:08] <Kenny> breaker is too big
for the line
L312[13:21:24] <ping> i am 90% sure there
was no breaker
L313[13:21:28] <Kenny> breaker should be
more than a 20 ampo breaker
L314[13:21:33] <Kenny> should not*
L315[13:22:03] <Kenny> ause doing tat
should blow any breaker or fuse
L316[13:22:07] <Kenny> cause*
L317[13:24:26] <ping> these times, i wish
i had one of those USB radios, so i can override our antenna
L318[13:24:51] <Kenny> a signal
jammer
L319[13:25:24] <Kenny> cable or
antenna?
L320[13:25:30] <ping> antenna
L321[13:25:57] <Kenny> then the signal
needs to be on the 23-24 KHz wavelength to shut down all tv
channels
L322[13:26:11] <ping> i would have to send
a valid signal, because digital tv has protection against
noise
L323[13:26:23] <ping> else it would just
static
L324[13:26:44] <Kenny> build a transmitter
hehe
L325[13:27:01] <Kenny> closeest signal
gets thru
L326[13:27:19] <ping> i wonder, do i have
low level voltage readings on my USB ports?
L327[13:27:31] *
Kenny used to run a renengade radio station hehe
L328[13:27:35] ⇦
Quits: Symmetryc
(webchat@pool-108-9-201-239.tampfl.fios.verizon.net) (Ping timeout:
198 seconds)
L329[13:27:36] <ping> so i can use it as a
serial cord
L330[13:27:58] <Kenny> USB uses 5v
L331[13:28:28] <ping> yeah, not sure on
the bit accuracy on the yellow and white tho
L332[13:29:33] <Kenny> red/black are power
other 2 are data
L333[13:30:04] <Kenny> i know that on the
plug the 2 outside wires are the power lines
L334[13:30:09] <Kenny> the 2 innner are
data
L335[13:30:20] ⇦
Quits: finkmac (~finkmac@rdsl-0247.tor.pathcom.com) (Ping timeout:
190 seconds)
L336[13:30:25] <Kenny> colors vary from
cord to cord
L337[13:30:43] <ping> i know the
surrounding cover is ground
L338[13:31:03] <Kenny> secondary
ground
L339[13:31:12] <ping> but cheap wires dont
have them -_-
L340[13:31:16] <Kenny> also used for
shielding
L341[13:31:54] <Kenny> the surrounding
cover is grounded to provide shielding from outside electricl
interference
L342[13:35:04] <Kenny> Gopher, the savdlg
listbox is going by 3 now
L343[13:35:12] <Kenny> what filoe did you
modify?
L344[13:35:19] <Gopher> hmm? going by 3
what?
L345[13:35:48] <Kenny> same issue before
but 3 instead of 2. so i must not have got the newest veriosn of a
file
L346[13:36:01] <Gopher> it wasn't by a
fixed amount before?
L347[13:36:30] <Kenny> yeah it was. let me
recheck sopmething
L348[13:36:56] <Gopher> wait.. what, huh,
the fix didn't fix? I hadnt' actually tested, made directly in repo
rather than sync...<_<
L349[13:36:59] <Kenny> it was my bad. i
didn't grab the right file
L350[13:37:27] <Kenny> it works ok
now
L351[13:38:40] <MrHohenheim> Michiyo,
finally works now, debian better then ubuntu
L352[13:39:48] <ping> yes
L353[13:39:50] <ping> yes it is
L354[13:40:59] <Kenny> Gopher: pm
window
L355[13:48:30]
⇨ Joins: Symmetryc
(webchat@pool-108-9-201-239.tampfl.fios.verizon.net)
L356[13:48:43] <Symmetryc> Hello
L358[13:50:30] <Gopher> hi,
Symmetryc
L359[13:50:51] <Symmetryc> Gopher:
Hey
L360[13:50:53] <Symmetryc> ping: Hey
L361[13:53:25] ***
prassel|off is now known as prasselpikachu
L362[13:54:15] <Symmetryc> Hmm, it appears
that Lua will start to emphasize a greater distinction between
integers and floats in 5.3...
L363[13:55:32] <ping> will start, or has
started
L364[13:56:02] <Symmetryc> Will start I
think
L365[13:56:11] <ping> Oh, misread that as
5.2
L366[13:56:19] <Symmetryc> :P
L368[13:56:54] <ping> Lua standalone
interpreter
L369[13:56:54] <ping> Can be used as
calculator; no need to prefix with '='
L370[13:56:59] <ping> :D :D :D
L371[13:57:05] <ping> took them long
enough
L372[13:57:56] <ping> "bitwise
operators"
L373[13:57:58] <ping> :D :D :D
L374[13:58:24] <Gopher> a greater
distinction implies there's /any/ distinction prior to 5.3
L375[13:58:30] <Gopher> which would be
news to me?
L376[13:59:19] <MrHohenheim> Kenny, can i
show you at private what i do/working the whole day?:)
L377[13:59:33] <ping> the list of changes
is tiny, i expect it will come out in a couple years
L378[13:59:35] <Kenny> sure
L379[14:02:57]
⇨ Joins: finkmac
(~finkmac@rdsl-0247.tor.pathcom.com)
L380[14:05:42] <Symmetryc> Gopher: I don't
think there is a distinction
L382[14:05:53] <Symmetryc> That's where I
got it from
L383[14:08:52] <Symmetryc> Woah, integer
divide operator: //
L384[14:09:26] ⇦
Quits: asie (~textual@078088168214.elblag.vectranet.pl) (Quit: I'll
probably come back in either 20 minutes or 8 hours.)
L385[14:10:15] <Gopher> indeed, was just
reading that. Lua with two numeric types seems strange.
L386[14:13:19] <ping> i dunno, i like
it
L387[14:13:58] <Symmetryc> I don't like it
:P
L388[14:14:19] <Gopher> I'd have to play
with it a while to decide if I like or dislike it. I can at this
time only say it is a significant change,.
L389[14:16:14] <ping> are there any
binaries available?
L390[14:16:58] <Symmetryc> Imo we should
just have the 5.2 numbers + // that returns a 5.2 number
L391[14:17:24] <Symmetryc> It seems a bit
meaningless
L392[14:17:34] <Symmetryc> But I suppose I
can't judge 'till I try
L393[14:17:44] <ping> "bxor":
the ~ (bitwise exclusive or) operation. Behavior similar to the
"band" operation.
L394[14:17:45] <ping> "bnot":
the ~ (bitwise unary not) operation. Behavior similar to the
"band" operation.
L395[14:17:47] <ping> umm, what?
L396[14:18:05] <Symmetryc> lol
L397[14:18:28] <ping> oh, i see
L398[14:18:37] <ping> it assumes if no
value given, its 0
L399[14:18:47] <ping> er, 256?
L400[14:18:50] <ping> idk
L401[14:18:51] <Symmetryc> Wait, the '~'
operation?
L402[14:19:05] <Symmetryc> So we can do
like ~false?
L403[14:19:13] <ping> no, bnot
L404[14:19:16] <ping> bitwise not
L405[14:19:55] <Symmetryc> I know, but you
just said `"bnot": the ___~____ (bitwise unary not)
operation`
L406[14:20:08] <Symmetryc> So does that
mean that ~ is now an operation
L407[14:20:12] <Symmetryc> *operator
L408[14:20:16] <Symmetryc> For bnot?
L409[14:22:13] <Gopher> changes in lua
5.3
L411[14:22:31] <Gopher> says bitwise
operators, so presumably, yes
L412[14:22:50] <Symmetryc>
Interesting
L413[14:23:08] <Gopher> all can be set in
metatables like add/sub/etc, lol
L414[14:23:18] <Symmetryc> Gopher: Just
wondering, if you could change/add something to Lua, what would it
be?
L415[14:23:59] <Gopher> probably that,
actually XD bitwise operators
L416[14:24:31] <Symmetryc> Nice
L417[14:24:41] <Symmetryc> I really want a
lambda syntax sugar
L418[14:24:44] <Gopher> as ping said, ~ is
binary bxor as well as unary bnot, also >>, <<, &,
and | are added
L419[14:24:58] <ping> i would add a way to
break on multiple levels
L420[14:25:10] <Gopher> ^^ this. yes, this
too.
L421[14:25:14] <ping> ie, for x=1,100 do
for y=1,100 do break 2 end end
L422[14:25:14] <Symmetryc> ping: They
already have that
L423[14:25:17] <Gopher> break(n)
L424[14:25:18] <ping> Symmetryc,
what
L425[14:25:25] <Symmetryc> ping: except
its really trashy
L426[14:25:29] <ping> in lua 5.1
too?
L427[14:25:33] <Symmetryc> It's called
goto xD
L428[14:25:57] <Gopher> lol. goto was
added in 5.2, so not in 5.1.
L429[14:26:04] <Gopher> And not anywhere
on my lua feature wish-list :P
L430[14:26:32] <Symmetryc> Something like
this is what I want: @(print("Hello World"))
L431[14:26:45] <Symmetryc> Where it is
equivalent to function() print("Hello World") end
L432[14:26:48] <ping> .lua while true do
while true do break(2) end end
L433[14:26:48] <^v> ping, lua:1: syntax
error near 'end'
L434[14:26:58] <Gopher> Symmetryc, so
what, you wanna be able to declare annonymous functions with
"myfunc = x => x*x"?
L435[14:27:01] <ping> Symmetryc,
what?
L436[14:27:09] <ping> it doesnt seem to
work :S
L437[14:27:21] <Din16> Any modders around
? ( that arent busy)
L438[14:27:38] <Symmetryc> Gopher: Yes,
but better syntax, I dislike how many C-type languages do it
L439[14:27:50] <Symmetryc> Gopher: And you
can already do it, by doing function() <stuff> end
L440[14:27:57] <Symmetryc> Except that's
too long xD
L441[14:28:18] <ping> looking at the 5.1
and 5.2 specs, no special parameters for break :/
L442[14:28:37] <Gopher> ping: he meant
goto can be used to effectively break(n)
L444[14:28:43] <Gopher> .lua for
i=1,10000000 do for j=1,1000000 do goto foo end end ::foo::
L445[14:28:44] <^v> Gopher, nil
L446[14:28:45] <Symmetryc> I propose
@(<stuff>), but they would probably have a better way of
doing it
L447[14:29:23] <ping> personally i would
use a precompiler to gsub that into normal lua code, its pretty
easy
L448[14:29:34] <Gopher> I see. Meh, I'm
happy with the annonymous function syntax as-is, myself.
L449[14:29:34] <Symmetryc> ^ I already do
that :P
L450[14:29:52] <Symmetryc> I have this
syntax to edit files already:
L451[14:30:05] <Symmetryc>
$("test.txt") = "Hello World"
L452[14:30:18] <ping> :P moi file
metatable is easier to implement
L453[14:30:34] <ping>
file["test.txt"]="Hello, World!"
L454[14:32:09] <Symmetryc> Hmm, do all
string lib functions tostring their inputs before acting upon
them?
L455[14:32:25] <ping> .lua
string.len(1337)
L456[14:32:25] <^v> ping, 4
L457[14:32:29] <ping> yes.
L458[14:32:43] <Kenny> what do you need
Din
L459[14:32:59] <Symmetryc> .lua
string.len(setmetatable({}, {__tostring = function() return
"2341" end}))
L460[14:32:59] <^v> Symmetryc, lua:1: bad
argument #1 to 'len' (string expected, got table)
L461[14:33:29] <Symmetryc> ping: nope
^
L462[14:33:37] <ping> well not call
tostring
L463[14:33:58] <ping> .lua
string.len(setmetatable({}, {__len = function() return 1337
end}))
L464[14:33:58] <^v> ping, lua:1: bad
argument #1 to 'len' (string expected, got table)
L465[14:34:01] <Symmetryc> So therefore
you couldn't do the $() thing with metatables
L467[14:34:16] <Symmetryc> ping: That's
different :P
L468[14:34:20] <ping> Symmetryc,
wha?
L469[14:34:30] <Symmetryc> ping: I'm
talking about casting everything to a string before acting on
it
L470[14:35:26] <Symmetryc> So when you try
to do print(file["test.txt"]), it will give you back
"Hello World" due to __tostring, but if you did
string.gsub(file["test.txt"], <stuff>) it would
error because the input is not a string
L471[14:35:29] <Symmetryc> It is a
table
L472[14:35:41]
⇨ Joins: asie|tab
(~asietab@078088168214.elblag.vectranet.pl)
L473[14:35:43] <Symmetryc> Unless you
overrode string
L474[14:35:58] <ping> incorrect,
file["test.txt"] would return a string
L475[14:36:12] <ping> brb
foooooooood
L476[14:36:16] <Symmetryc> Ohh yeah
L477[14:36:39] <Symmetryc> 'cause
__newindex is on the table not the value
L478[14:36:53] <Gopher> bbl
L479[14:36:58] ⇦
Quits: Gopher (~Gopher@127.sub-174-252-160.myvzw.com)
()
L480[14:38:49] ⇦
Quits: Din16 (~DinFer@as54.tr1.dlp368.bih.net.ba) (Quit:
Leaving)
L481[14:41:10] <ping> .>
file["test.txt"]
L482[14:41:10] <^v> ping, Hello,
World!
L483[14:41:13] <ping> \o/
L484[14:43:14] <Symmetryc> .lua
file["text.txt"] = "Hi"
L485[14:43:14] <^v> Symmetryc, lua:1:
attempt to index global 'file' (a nil value)
L486[14:43:23] <Symmetryc> :(
L488[14:43:29] <Symmetryc> .>
file["text.txt"] = "Hi"
L489[14:43:30] <^v> Nope.
L490[14:43:47] <ping> im not letting you
touch fs :P
L491[14:44:18] <Symmetryc> .lua for k, v
in pairs(fs.list("/")) fs.delete(v) end
L492[14:44:19] <^v> Symmetryc, lua:1: 'do'
expected near 'fs'
L493[14:44:19] <Symmetryc> :D
L494[14:44:27] <Symmetryc> jk loll
L495[14:44:35] <ping> there is no fs
:P
L496[14:44:52] <Symmetryc> So then how are
you not letting me touch it? :P
L497[14:45:13] <Symmetryc> Can I touch io
xD?
L498[14:45:38] <ping> nope
L499[14:45:43] <ping> its sanboxed
\o/
L500[14:46:28] <Symmetryc> .lua setfenv(0,
{})
L501[14:46:28] <^v> Symmetryc, lua:1:
attempt to call global 'setfenv' (a nil value)
L502[14:46:40] <ping> no setfenv in
5.2
L503[14:46:46] <Symmetryc> .lua __ENV =
{}
L504[14:46:47] <^v> Symmetryc, nil
L505[14:47:02] <ping> sandboxed :P
L506[14:47:16] <Symmetryc> Idk how to use
5.2 proply .-.
L507[14:47:23] ***
Biohazard is now known as `
L508[14:47:29] <ping> even if you got it
to work, it wouldnt have done anything
L509[14:47:36] <ping> because its popened
in a seperate process
L510[14:48:40] <Symmetryc> So every `.lua`
is a seperate one?
L511[14:51:25] <ping> yes
L512[14:51:49] ***
prasselpikachu is now known as prassel|off
L513[14:52:02] <ping> my bot is lua 5.1
because i need the libs for it
L514[14:52:17] <ping> so in order to 5.2 i
need a seperate process
L515[14:54:53] <Symmetryc> Did you make it
using LOVE?
L516[14:55:07] <SpiritedDusty> yes he made
it out of his heart from love
L517[14:55:25] <ping> i made a webserver
in LOVE2d
L518[14:56:02] <ping> everyone was like
.... why?
L519[15:01:48] ***
prassel|off is now known as prasselpikachu
L520[15:02:56]
⇨ Joins: Gopher
(~Gopher@172.sub-70-193-135.myvzw.com)
L521[15:02:56] <Kenny> \o
L522[15:03:17] <ping> :D Gopher
L523[15:03:32] <Gopher> hi, ping...
L524[15:04:10]
⇨ Joins: SoniEx2 (SoniEx2@189.55.8.56)
L525[15:05:13] <SoniEx2> so can I run this
with LuaJIT or am I forced to use slow AES and BigIntegers?
L526[15:05:50] <ping> LuaJIT is 5.1, so
no.
L527[15:06:51] <ping> Lua is extremely
fast, LuaJIT is only 50-70% faster in most cases
L528[15:07:07] <SoniEx2> LuaJIT is a lot
faster for AES
L529[15:07:22] <ping> what do you need AES
for ._.
L530[15:08:00] <SoniEx2> I wanna use
zerobin as a pastebin
L531[15:09:18] <SoniEx2> also I hate Lua
5.2
L532[15:09:40] <Symmetryc> SoniEx2:
?
L533[15:10:07] <Symmetryc> Some stuff is
good, some stuff is bad
L534[15:10:14] <Symmetryc> A lot of stuff
is bad
L535[15:10:20] <Symmetryc> But it's still
okay imho
L536[15:10:29] <SoniEx2> lua 5.2 doesn't
have the (s/g)etfenv hack
L537[15:10:40] ***
Sorroko is now known as Sorroko_Off
L538[15:10:53] <ping> i havent had any
throuble
L539[15:11:12] <ping> all my code with
setfenv is easy to port
L540[15:11:51] <SoniEx2> well I abuse
(s/g)etfenv and string metatables to do nice stuff
L541[15:12:43] <ping> so, noob
hacking
L542[15:13:38] <SoniEx2> more like
sandboxing
L543[15:13:40] ***
SirEnderBot is now known as SirEnderBot|DEAD
L544[15:13:44] <Kenny> SoniEx2: i wouldn't
advise coming in here and trying to start conflicts
L545[15:14:08] <SoniEx2> because being
able to set a string metatable for your program without affecting
other programs is great
L546[15:14:16] <ping> load has a _ENV
parimeter, you can still do this
L547[15:14:33] <SoniEx2>
(""):whatever bypasses _ENV
L548[15:14:40] *
Kenny slaps SoniEx2
L549[15:14:55] <SoniEx2> and you can't get
the caller's _ENV without getfenv
L550[15:15:11] ***
SirEnderBot|DEAD is now known as EnderBot
L551[15:15:43] <Kenny> !kick SoniEx2 You
will listen to me in this channel
L552[15:15:44] ***
SoniEx2 was kicked by zsh ((Kenny) You will listen to me in this
channel))
L553[15:15:56] <Kenny> that will get rid
of the ignoring me
L554[15:17:40]
⇨ Joins: SoniEx2 (SoniEx2@189.55.8.56)
L555[15:17:51] <SoniEx2> Kenny, I'm not
trying to start conflicts
L556[15:17:54] <Kenny> SoniEx2: i wouldn't
advise coming in here and trying to start conflicts
L557[15:18:07] <Kenny> it seems that way
when you flat ignore me
L558[15:18:07] ⇦
Quits: asie|tab (~asietab@078088168214.elblag.vectranet.pl) (Quit:
Yui <3)
L559[15:18:36] <SoniEx2> Kenny, well I'm
not trying to start conflicts so your statement doesn't apply to
me?
L560[15:19:18] <Kenny> oh no. seems to me
all you want to do is argue about your 5.1 lua being better than
5.2 simple because of the set(get)fenv
L561[15:20:00] <SoniEx2> no I came in here
to ask about LuaJIT
L562[15:20:12] <Kenny> and i am well aware
hat you have got yourself banned from a number of programming
channels
L563[15:20:46] <ping> its a main reason i
hesitated to move to OC, but i that was because i diddnt know much
about lua 5.2's environment system
L564[15:20:51] <Kenny> you asked your
question about LuaJIT and then proceeded to argue about lua 5.1.
beinbg better than llua 5.2
L565[15:21:14] <SoniEx2> ping started
talking about LuaJIT being 5.1 and OC being 5.2
L566[15:21:28] <SoniEx2> I prefer 5.1
because it lets me do proper string sandboxing
L567[15:21:45] <Gopher> a fine point, but
not relevant in #oc really
L568[15:21:45] <SoniEx2> and ping called
me a noob
L569[15:22:07] <SoniEx2> (and you did
nothing about it)
L570[15:22:19] <Symmetryc> SoniEx2,
(""):whatever...? How does that even hack?
L571[15:22:20] <Symmetryc> wat
L572[15:22:22] <ping> "abuse
(s/g)etfenv and string metatables to do nice stuff" i assumed
this meant breaking sandboxes
L573[15:23:00] <Kenny> now you are back
oln that kick of wanting to argue with me again
L574[15:23:13] <Kenny> for your info
L575[15:23:16] <Kenny> !op
L576[15:23:16]
zsh sets mode: +o on Kenny
L577[15:23:20] <SoniEx2> ping, I kinda
modify it to sandbox better?
L578[15:23:54] <SoniEx2> (it's kinda slow
tho...)
L579[15:23:58] <SoniEx2> also bbl
L580[15:24:12] <Kenny> and they will tell
you in here that i don't op myself very often
L581[15:24:13] <ping> :gsub is the only
thing that would be potentially bad, as you can give it a function
and it will execute it, evaiding some call detection
L582[15:24:33] <ping> though thats really
only for unserialization
L583[15:24:37] <Kenny> !deop
L584[15:24:38]
zsh sets mode: -o on Kenny
L585[15:24:56] <Symmetryc> Ahh, so string
stuffs don't use the current _ENV in 5.2?
L586[15:25:20] *
Kenny has no clue about that
L587[15:25:32] <ping> .lua load('return
("potato"):rep(2)',"=derp",{string={rep=function(t)
return "nope" end}})()
L588[15:25:33] <^v> ping,
potatopotato
L589[15:25:45] <ping> yeah, it doesnt use
the current env
L590[15:26:31] <Symmetryc> load ==
loadstring?
L591[15:26:34] <Kenny> try setting the
_ENV first
L592[15:26:42] <Symmetryc> What does the
"=derp" do?
L593[15:26:59] <Kenny> that is what should
return if the string isn't allowed to parse
L594[15:26:59] <ping> load (ld [, source
[, mode [, env]]])
L595[15:27:08] <ping> source is used for
identifying the chunk
L596[15:27:39] <Symmetryc> That's weird,
pgl must be out of date
L598[15:27:44] <Symmetryc> That's their
one
L599[15:28:02]
⇨ Joins: phillips1012 (~phillips1@72.42.104.172)
L600[15:28:07] <ping> .lua
load("error('Oh noes!')","=herp")()
L601[15:28:08] <^v> ping, herp:1: attempt
to index upvalue '_ENV' (a nil value)
L602[15:28:11] <ping> ._.
L603[15:28:17] <ping> i derpd when
sandboxing i guess
L604[15:28:30] <Symmetryc> .lua
getmetatable("").__call = function(self) print(self) end
local t = "Hello" t()
L605[15:28:31] <^v> Symmetryc, Hello |
nil
L606[15:28:34] <Kenny> they are still
showing data for 5.1
L607[15:28:35] <Symmetryc> Woah
L608[15:29:17] <Symmetryc> .lua local t =
"Hello" t()
L609[15:29:17] <^v> Symmetryc, lua:1:
attempt to call local 't' (a string value)
L610[15:29:20] <Gopher> .lua
t="Test" t()
L611[15:29:20] <^v> Gopher, lua:1: attempt
to call global 't' (a string value)
L612[15:29:27] <Gopher> not persistent
change, anyway, heh
L613[15:29:31] <ping> nah, env doesnt
persist :P
L614[15:29:40] <Symmetryc> Gopher: Haha,
was testing for the same thing xD
L615[15:29:51] <ping> i really cant add
that though
L616[15:30:12] <ping> well, maby with
sockets
L617[15:30:13] <Gopher> well, it shouldn't
persist, I was just curious if it /did/ persist
L618[15:30:18] <Symmetryc> .lua
getmetatable("").__tostring = function() return
"wat" end local t = "Something" print(t)
L619[15:30:18] <^v> Symmetryc, wat |
nil
L620[15:30:24] <ping> .lua
load("error('Oh noes!')","=herp")()
L621[15:30:25] <^v> ping, herp:1: Oh
noes!
L622[15:30:29] <ping> there, that works
now
L623[15:30:53] <ping> the = makes it
shorter
L624[15:31:06] <ping> it says string
"herp": if you dont
L625[15:31:15] <Symmetryc> .lua
getmetatable("").__tostring = function(self) return
self.."wat" end local t =
tostring(tostring(tostring("wat"))) print(t)
L626[15:31:16] <^v> Symmetryc,
watwatwatwatwat | nil
L627[15:31:51] <ping> lolwat
tostring(tostring(tostring ._.
L628[15:33:34] <Kenny> .lua
getmetatable("").__tostring = function(self) return
self.."wat" end local t =
tostring(tostring.rep("wat"), 5) print(t)
L629[15:33:34] <^v> Kenny, lua:1: attempt
to index global 'tostring' (a function value)wat
L630[15:33:56] <Kenny> .lua
getmetatable("").__tostring = function(self) return
self.."wat" end local t = tostring.rep("wat",
5) print(t)
L631[15:33:57] <^v> Kenny, lua:1: attempt
to index global 'tostring' (a function value)wat
L632[15:34:04] <Kenny> damn
L633[15:34:49] <Kenny> .lua
getmetatable("").__tostring = function(self) return
self.."wat" end local t =
tostring("wat"):rep(5) print(t)
L634[15:34:50] <^v> Kenny,
watwatwatwatwatwatwatwatwatwatwat | nil
L635[15:34:54] <Kenny> there
L636[15:37:04] <ping> .lua
getmetatable("")==getmetatable("")
L637[15:37:04] <^v> ping, true
L638[15:39:52] <Symmetryc> .lua
getmetatable("").__tostring = function() return 5
--[[**non-string value :D**]] end print("Hello")
L639[15:39:52] <^v> Symmetryc, 5 |
nil
L640[15:40:07] <Symmetryc> .lua
getmetatable("").__tostring = function() return {}
--[[**non-string value :D**]] end print("Hello")
L641[15:40:08] <^v> Symmetryc,
L642[15:40:19] <Symmetryc> ^ ?
L643[15:40:27] <Symmetryc> .lua
getmetatable("").__tostring = function() return true end
print("Hello")
L644[15:40:28] <^v> Symmetryc,
L645[15:41:46] <Symmetryc> .lua
debug.setmetatable(function() end, {hi = true})
print(debug.getmetatable(function() end).hi)
L646[15:41:46] <^v> Symmetryc, lua:1:
attempt to index global 'debug' (a nil value)
L647[15:41:56] <Symmetryc> ping: y u no
has debug
L648[15:42:40] <manmaed> i wounder if this
woruld work: while true do true = false done
L649[15:43:30] <Symmetryc> .python #does
this work?
L650[15:43:34] <Symmetryc> nop
L651[15:43:37] <Symmetryc> *nope
L652[15:44:19] <Symmetryc> .lua
getmetatable("").__index = function() end
(""):rep(5)
L653[15:44:19] <^v> Symmetryc, lua:1:
attempt to call method 'rep' (a nil value)
L654[15:45:47] <Symmetryc> .lua local gm =
getmetatable("") gm.__tostring = function() end
gm.__index = function() end string = nil local str = ""
pcall(function() print(str) print(str:rep(5)) print(string.rep(str,
5)))
L655[15:45:47] <^v> Symmetryc, lua:1:
unexpected symbol near ')'
L656[15:45:53] <Symmetryc> Nuuuu
L657[15:46:06] <Symmetryc> .lua local gm =
getmetatable("") gm.__tostring = function() end
gm.__index = function() end string = nil local str = ""
pcall(function() print(str) print(str:rep(5)) print(string.rep(str,
5)) end)
L658[15:46:07] <^v> Symmetryc, nil
L659[15:48:05] <SoniEx2> .lua
=getfenv
L660[15:48:05] <^v> SoniEx2, lua:1:
unexpected symbol near '='
L661[15:48:15] <SoniEx2> uhh it doesn't
use stdin :/
L662[15:48:25] <SoniEx2> .lua return
getfenv
L663[15:48:25] <^v> SoniEx2, nil
L664[15:48:29] <SoniEx2> meh :/
L665[15:49:13] <SpiritedDusty> are you
trying to break the sandbox? :P
L666[15:49:47] <SoniEx2> SpiritedDusty,
actually no I'm trying to oversandbox it
L667[15:49:52] <SoniEx2> if that's a
thing
L668[15:49:57] <SpiritedDusty> sandbox in
a sandbox?
L669[15:50:13] <SpiritedDusty> .lua return
_VERSION
L670[15:50:13] <Symmetryc> SoniEx2: You an
use the prompt by doing '.>'
L671[15:50:13] <^v> SpiritedDusty, Lua
5.2
L672[15:50:19] <Symmetryc> .>
=getfenv
L673[15:50:20] <^v> Nope.
L674[15:50:29] <Symmetryc> Oh wait I think
you have to have perms or something
L675[15:50:48] <Death> .lua local function
class ( index ) local cls = {} setmetatable( cls, { __index = index
or cls } ) end x.value = 1 function x:change( val ) self.value =
val return self.value end print( x:change( 3 ) )
L676[15:50:49] <^v> Death, lua:1: attempt
to index global 'x' (a nil value)
L677[15:50:54] <SoniEx2> basically for
getfenv with integers getting envs from the call stack you make a
read-only copy of the thing
L678[15:51:04] <SpiritedDusty> .lua _G =
nil
L679[15:51:04] <^v> SpiritedDusty,
nil
L680[15:51:06] <SpiritedDusty> D:
L681[15:51:09] <Death> .lua local function
class ( index ) local cls = {} setmetatable( cls, { __index = index
or cls } ) end local x = class( ) x.value = 1 function x:change(
val ) self.value = val return self.value end print( x:change( 3 )
)
L682[15:51:09] <^v> Death, lua:1: attempt
to index local 'x' (a nil value)
L683[15:51:20] <SpiritedDusty> wait does
it start up a new VM everytime you do .lua?
L684[15:51:37] <Symmetryc> SpiritedDusty:
each .lua is a seperate process
L685[15:51:38] <SoniEx2> (actually you
make a recursive read-only copy but w/e)
L686[15:51:48] <SpiritedDusty> .lua return
io
L687[15:51:48] <^v> SpiritedDusty, table:
006AB850
L688[15:51:56] <Death> .lua local function
class ( index ) local cls = {} setmetatable( cls, { __index = index
or cls } ) return cls end local x = class( ) x.value = 1 function
x:change( val ) self.value = val return self.value end print(
x:change( 3 ) )
L689[15:51:56] <^v> Death, 3 | nil
L690[15:52:00] <Death> WHOO
L691[15:52:05] <SpiritedDusty> ?
L692[15:52:06] <SoniEx2> also bbl
again
L693[15:52:09] <Symmetryc> Death: y u
spam
L694[15:52:22] <Death> I'm trying to fix
it.
L695[15:52:24] <SpiritedDusty> .lua return
require
L696[15:52:25] <^v> SpiritedDusty,
nil
L697[15:52:25] <Death> It errored.
L698[15:52:43] <Symmetryc> .lua return
io.popen
L699[15:52:43] <^v> Symmetryc, nil
L700[15:52:49] <Death> .lua local function
class ( index ) local cls = {} setmetatable( cls, { __index = index
or cls } ) return cls end local x = class( ) x.value = 1 function
x:change( val ) self.value = val return self.value end print(
x:change( 3 ) ) local y = class( x ) y:change( 17 ) print( x.value
) print( y.value )
L701[15:52:49] <^v> Death, 3 | 3 | 17 |
nil
L702[15:52:49] <SpiritedDusty> .lua return
debug
L703[15:52:50] <^v> SpiritedDusty,
nil
L704[15:52:58] <Death> coool.
L705[15:53:17] <SpiritedDusty> .lua
function a() b() end function b() a() end
L706[15:53:17] <^v> SpiritedDusty,
nil
L707[15:53:19] <Symmetryc> Death: what's
the point of y.change when you can just do y=5 or whatever
L708[15:53:30] <Symmetryc> SpiritedDusty:
hahaha
L709[15:53:32] <SpiritedDusty> .lua
function a() b() end function b() a() end a()
L710[15:53:32] <^v> SpiritedDusty, Time
limit exeeded.
L711[15:53:39] <Death> It's testing to see
if it'll change x.value
L712[15:53:54] <Symmetryc> .lua while true
do print("hi") end
L713[15:53:55] <^v> Symmetryc, hi | hi |
hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi
| hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi |
hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi
| hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi |
hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi
| hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi | hi |
hi | hi | hi | hi |
L714[15:54:03] ***
prasselpikachu is now known as prassel|off
L715[15:54:07] <Symmetryc> .-.
L716[15:54:12] <SpiritedDusty> .lua return
os.execute
L717[15:54:12] <^v> SpiritedDusty,
nil
L718[15:54:28] <Death> .lua while true do
x = x .. "herp\n" end print(x)
L719[15:54:29] <^v> Death, lua:1: attempt
to concatenate global 'x' (a nil value)
L720[15:54:43] <Death> .lua local
x="herp" while true do x = x .. "herp\n" end
print(x)
L721[15:54:43] <^v> Death, Time limit
exeeded.
L722[15:55:00] <SpiritedDusty> .lua for
k,v in pairs(_G) do print(k) end
L723[15:55:00] <^v> SpiritedDusty, assert
| collectgarbage | pairs | rawget | _VERSION | load | getmetatable
| select | type | ipairs | xpcall | rawequal | bit32 | string | io
| rawset | os | math | setmetatable | table | tostring | tonumber |
_G | next | error | pcall | rawlen | coroutine | print | nil
L724[15:55:11] <Symmetryc> .lua local x =
"wat" pcall(function() while true do x = x..x end end)
print(x)
L725[15:55:19] <SpiritedDusty> .lua
collectgarbage(‘count’)
L726[15:55:26] <SpiritedDusty> .lua return
collectgarbage('count')
L727[15:55:29] <SpiritedDusty> ?
L728[15:55:33] <Symmetryc> I think I broke
it...
L729[15:55:38] <Death> .lua
print("test")
L730[15:55:41] <Death> yep.
L731[15:55:44] <SpiritedDusty> welp
L732[15:55:49] <SpiritedDusty> you ruined
the fun
L733[15:56:07] <Symmetryc> :(
L734[15:56:19] <Symmetryc> .lua fun =
false
L735[15:56:30] <Death> .lua false
L736[15:56:43] <SpiritedDusty> well
Symmetryc can be our human lua interpreter
L737[15:56:50] <Symmetryc> k
L739[15:57:16] <SpiritedDusty>
.SymmetrycLua function a() b() end function b() a() end a()
L740[15:57:27] <Death> or ping ping and
yell at him.
L741[15:57:37] <SpiritedDusty> Ping
pong?
L742[15:57:42] <Symmetryc> SpiritedDusty,
Time limit exceeded
L743[15:57:47] <Death> pong ping
L744[15:58:12] <SpiritedDusty>
.SymmetrycLua, 1 / 0
L745[15:58:14] <Symmetryc> Isn't there an
IRC ping command?
L746[15:58:16] <Kenny> .lua
getmetatable("").__tostring = function(self) return
self.."wat" end local t =
tostring("wat"):rep(5) print(t)
L747[15:58:21] ⇦
Quits: ^v (~pingbot@c-71-238-153-166.hsd1.mi.comcast.net) (Ping
timeout: 186 seconds)
L748[15:58:27] <SpiritedDusty> Kenny, the
bot broke
L749[15:58:28] <Death> yay
L750[15:58:30] <Kenny> ping timeout
lol
L751[15:58:30] <Death> it bork.
L752[15:58:32] <Symmetryc> SpiritedDusty,
NaN
L753[15:58:48] <Symmetryc> Yeah, I think I
broke it :(
L754[15:58:54] <SpiritedDusty> just use
.SymmetrycLua! possibly the slowest interpreter ever
L755[15:59:02] <Kenny> SpiritedDusty: i
read was using something i KNEW worked before
L756[15:59:02] <Death> I was thinking
about making a Lua bot
L757[15:59:05] <Death> but it failed
horribly
L758[15:59:13] <Death> couldn't even get
LuaSocket to connect to IRC
L759[15:59:23] <Symmetryc> Kenny: It
hasn't been working for the past few minutes, I broke it
L760[15:59:32] <Symmetryc> I ran an
infinite loop in a pcall
L761[16:00:08] <SpiritedDusty> I’m bored..
time to write an IRC bot
L763[16:01:09] <ping> also, good
job.
L764[16:01:15] <ping> lua: not enough
memory
L765[16:01:32] <ping> who did it?
L766[16:01:38] *
Symmetryc hides
L767[16:01:51] <SoniEx2> ping, wait
L768[16:02:04]
⇨ Joins: DustBin
(~nodebot@24-205-168-216.dhcp.wsco.ca.charter.com)
L769[16:02:09] <SpiritedDusty> :DD
L770[16:02:22] <SpiritedDusty> the bot
that does nothing!
L771[16:02:38] <Symmetryc> ping: I ran an
infinite loop
L772[16:02:46] ⇦
Quits: DustBin (~nodebot@24-205-168-216.dhcp.wsco.ca.charter.com)
(Remote host closed the connection)
L773[16:02:46] <Symmetryc> ping: And it
never responded back
L774[16:02:56] <ping> ugh, i knew you
would spam while i was gone
L775[16:03:01] <SoniEx2> ping, also
<Symmetryc> .lua local x = "wat" pcall(function()
while true do x = x..x end end) print(x)
L776[16:03:08] <Symmetryc> ping: Btw the
infinite loop was in a pcall
L777[16:03:15] <Symmetryc> SoniEx2: Yeah,
that
L778[16:03:33] ⇦
Quits: jk-5 (~jk-5@5ED41A81.cm-7-5a.dynamic.ziggo.nl) (Ping
timeout: 186 seconds)
L779[16:04:03] <ping> Symmetryc, ah
L780[16:04:10]
⇨ Joins: DustBin
(~nodebot@24-205-168-216.dhcp.wsco.ca.charter.com)
L781[16:04:16] <SpiritedDusty> asdf
L782[16:04:24] <SoniEx2> ping, I can give
you a better bot
L783[16:04:30] <SoniEx2> with lua 5.2,
5.1, and even 5.3
L784[16:04:35] <Symmetryc> DustBin: .lua
print("hi")
L785[16:04:37] <ping> SoniEx2, no. you
cant
L786[16:04:44] <SoniEx2> ping, yes I
can
L787[16:04:48] <ping> you are seriously
stupid
L788[16:04:55] <SoniEx2> linux powered,
tho
L789[16:04:59] <Death> uhm.
L790[16:05:04] <Death> I don't think
there's a Lua 5.3
L791[16:05:04] <SoniEx2> (so it won't run
on your windows machine)
L792[16:05:06] <ping> lua 5.3 hasnt been
released
L793[16:05:07] <Death> is there?
L794[16:05:14] <SpiritedDusty> lua 5.3 is
in alpha or something
L795[16:05:20] <SoniEx2> ^
L796[16:05:24] <SoniEx2> and it's
public
L797[16:05:32] <ping> wha
L798[16:05:34] <ping> source. now.
L799[16:05:44] <SoniEx2> uhh I think it's
lua.org/work or something
L800[16:05:57] <ping> SoniEx2, i can
compile any dependancies so i can make it work on windows
L802[16:06:13] <ping> ah, ill add 5.3 to
^v
L803[16:06:15] ***
prassel|off is now known as prasselpikachu
L804[16:06:17] <ping> after i fix the
pcall thing
L805[16:06:32] ⇦
Quits: DustBin (~nodebot@24-205-168-216.dhcp.wsco.ca.charter.com)
(Remote host closed the connection)
L806[16:06:57] <Death> oh hey #lua on
freenode.
L807[16:06:58] <SoniEx2> also utf-8
L808[16:07:13] <Death> SoniEx2: you should
help me make a bot with LuaSocket
L809[16:07:30] <Symmetryc> Death: Use
tcp
L810[16:07:44] <ping> Death, its extremely
easy if you are good at Lua
L811[16:07:50] <ping> patterns make it
even easier
L812[16:07:59] <Death> I tried connecting
to irc.esper.net on port 6667 with luasocket
L813[16:08:19] <SoniEx2> it's easy if
you're good at sockets
L814[16:08:24] <ping> Death, can you join
this channel with PuTTY?
L815[16:08:34] <Death> I made a ewbserver
and I can't even make a bot.
L816[16:08:35] <SoniEx2> also timeouts are
nice for "multithreading"
L817[16:08:52] <Death> PuTTY?
L818[16:08:54] <SoniEx2> (not real
multithreading but good enough)
L819[16:08:58] <SoniEx2> also bbl
L820[16:09:06] <SoniEx2> for real
now
L821[16:09:10] <Death> can I just use
telnet?
L822[16:09:17] <prasselpikachu> Em
guys
L824[16:09:24] <ping> yes, but telnet
prevents you from using backspace
L825[16:10:19] <ping> prasselpikachu,
._.
L826[16:10:26] <Death> PowerShell telnet
works better
L827[16:10:31] <prasselpikachu> ping: Yes
xactly
L828[16:10:40]
⇨ Joins: jk-5
(~jk-5@5ED41A81.cm-7-5a.dynamic.ziggo.nl)
L829[16:11:02] <ping> thats some supreme
dickheadage
L830[16:11:42] <Death> blargh
L831[16:11:52] <Death> What's the raw
message to use when connecting?
L832[16:12:26]
⇨ Joins: DustBin
(~nodebot@24-205-168-216.dhcp.wsco.ca.charter.com)
L833[16:12:58] ⇦
Quits: DustBin (~nodebot@24-205-168-216.dhcp.wsco.ca.charter.com)
(Remote host closed the connection)
L834[16:13:02]
⇨ Joins: DustBin
(~nodebot@24-205-168-216.dhcp.wsco.ca.charter.com)
L835[16:13:17] <prasselpikachu> ping: Aka
"if you dont pay us money, we unfortunately cant help u debug
your server..."
L836[16:13:38] ⇦
Quits: DustBin (~nodebot@24-205-168-216.dhcp.wsco.ca.charter.com)
(Remote host closed the connection)
L837[16:13:45] ***
alekso56 is now known as alekso56_off
L838[16:14:00] <ping> Death, NICK
<nick>\nUSER <ident> ~ ~ :<desc>\n
L839[16:14:14] <ping> then respond to the
ping
L840[16:14:19] <ping> then JOIN
#oc\n
L841[16:14:22] <Death> Awesome,
thanks
L842[16:14:30] <ping> then PRIVMSG #oc
:\o/\n
L843[16:15:49] <Death> so nick
Archimedes\nUSER testing ~ ~ :<desc>\n
L844[16:15:51] <Death> what's 'desc'
L845[16:16:11] <ping>
* [Death]
(Death@bnc.deathprogramming.com):
DeathProgramming
L846[16:16:18] <ping> DeathProgramming is
desc
L847[16:17:30] <Death> blargh stupid
powershell
L848[16:17:35] ***
prasselpikachu is now known as prassel|off
L849[16:17:35] <SpiritedDusty> to identify
yourself its PRIVMSG NickServ identify myPassword123 right?
L850[16:17:44] <Death> Yeah
L851[16:18:15] <ping> PRIVMSG NickServ
:identify myPassword123
L852[16:18:20] <ping> forgot colin
L853[16:18:37] <SpiritedDusty> oh
L854[16:19:38]
⇨ Joins: DeathSquared
(~Death@2602:304:6822:2080:a148:85f1:8dde:93cb)
L855[16:19:44] <DeathSquared> HEEEEY
L856[16:19:49] ⇦
Quits: DeathSquared (~Death@2602:304:6822:2080:a148:85f1:8dde:93cb)
(Client Quit)
L857[16:19:57] <ping> Death^2
L858[16:19:59] <Death> oh hey ipv6
L859[16:20:02] <SpiritedDusty> is there a
way to check if another user is logged in
L860[16:20:10] <ping> to services?
L861[16:20:10] <Death> ping: I can't send
'^'
L862[16:20:15] <ping> Death, ik
L863[16:20:17] <Death> use a /whois on
them
L864[16:20:49] <SpiritedDusty> oh
thakns
L865[16:20:55] <ping> SpiritedDusty, when
joining i do send("WHO #oc %hna")
L866[16:21:11] <ping> which will grab the
account and host of everyone
L867[16:21:54] <Death> host = h, nick = n,
account = a ?
L868[16:21:57] <ping> then i use
txt:gsub("^:%S+ 354 "..cnick.." (%S+) (%S+)
(%S+)",function(host,nick,account)
L869[16:22:28] <ping> account is
"0" when they arent logged in
L870[16:22:53] <SpiritedDusty> I’m trying
to get my bot to identify with nickserv but how can I verify that
it worked?
L871[16:23:01] <ping> hmm
L872[16:23:37]
⇨ Joins: ^v
(~pingbot@c-71-238-153-166.hsd1.mi.comcast.net)
L873[16:23:44]
⇨ Joins: DeathSquared
(~Death@2602:304:6822:2080:a148:85f1:8dde:93cb)
L874[16:23:45] <ping> (pcall is broken,
still fixing it)
L875[16:23:58] <Death> heh realname
POTATO
L876[16:24:19] <ping> SpiritedDusty,
>:NickServ!NickServ@services.esper.net NOTICE ^v :You are now
identified for ☻ping☻.
L877[16:24:34] <ping> ☻ is \1 iirc
L878[16:24:46] ⇦
Quits: DeathSquared (~Death@2602:304:6822:2080:a148:85f1:8dde:93cb)
(Client Quit)
L879[16:25:01] <ping> .>
print("\1")
L880[16:25:02] <^v> ping, nil
L881[16:25:11] <ping> hmm
L882[16:25:12] <ping> maby not
L883[16:25:20] <SpiritedDusty> “You are
now identified for \u0002DustBin\u0002.” yay
L884[16:25:32] <ping> ah, \2
L885[16:26:23] <Death> .>
print"\2"
L886[16:26:23] <^v> Nope.
L887[16:26:31] <Death> .lua
print"\2"
L888[16:26:31] <^v> Death, | nil
L889[16:26:38] <Death> Niiiiiiil
L890[16:26:54] <ping> it actually returned
"\2" but my bot stripped it
L891[16:27:07] <Death> What's the
character when using telnet or something to add a space?
L892[16:28:04] <ping> wat
L893[16:28:32] <Death> I can't send more
than one word
L894[16:28:36] ⇦
Quits: Johannes13 (~Johannes@p4FDEA885.dip0.t-ipconnect.de) (Ping
timeout: 195 seconds)
L895[16:28:41] <ping> you forgot a
colin
L896[16:30:32] <Gopher> Shame, Colin's a
good guy
L897[16:30:53] <Symmetryc> .lua
pcall(while true do end)
L898[16:30:54] <^v> Symmetryc, lua:1:
unexpected symbol near 'while'
L899[16:31:09] <Symmetryc> .lua
pcall(function() while true do end end)
L900[16:31:09] <^v> Symmetryc, nil
L901[16:31:21]
⇨ Joins: DustBin
(~DustBin@24-205-168-216.dhcp.wsco.ca.charter.com)
L902[16:31:23] <SpiritedDusty>
%hello
L903[16:31:24] <DustBin> SpiritedDusty,
Hello world!
L904[16:31:31] <SpiritedDusty> :D
L905[16:31:31] <Symmetryc> .lua
pcall(function() while true do collectgarbage() end end)
L906[16:31:32] <^v> Symmetryc, nil
L907[16:31:48] <SpiritedDusty> .lua return
collectgarbage()
L908[16:31:49] <^v> SpiritedDusty, 0
L909[16:31:54] <Symmetryc> .lua local ok,
err = pcall(function() while true do collectgarbage() end end)
print(err)
L910[16:31:54] <^v> Symmetryc, nil |
nil
L911[16:32:04] <SpiritedDusty> .lua return
collectgarbage(‘count’)
L912[16:32:04] <^v> SpiritedDusty, lua:1:
unexpected symbol near char(226)
L913[16:32:10] <SpiritedDusty> ?
L914[16:32:19] <Symmetryc> %hello
L915[16:32:19] <DustBin> Symmetryc, Hello
world!
L916[16:32:26] <Symmetryc> %world
L917[16:32:30] <Symmetryc> :(
L918[16:32:38] <SpiritedDusty> :P
L919[16:32:38] <ping> SpiritedDusty, its
because your quote chars suck
L920[16:32:54] <ping> ‘/’ ~= '
L921[16:32:59] <SpiritedDusty> .lua return
collectgarbage(“count”)
L922[16:32:59] <^v> SpiritedDusty, lua:1:
unexpected symbol near char(226)
L923[16:33:05] <Symmetryc>
print('‘')
L924[16:33:10] <Symmetryc> .lua
print('‘')
L925[16:33:10] <^v> Symmetryc, ‘ |
nil
L926[16:33:18] <ping> “/” ~= "
L927[16:33:24] <Symmetryc> .lua
print(('‘'):byte)
L928[16:33:24] <^v> Symmetryc, lua:1:
function arguments expected near ')'
L929[16:33:26] <Symmetryc> .lua
print(('‘'):byte())
L930[16:33:27] <^v> Symmetryc, 226 |
nil
L931[16:33:33] <ping> you dont need print
ffs
L932[16:33:46] <ping> .lua
("”"):byte()
L933[16:33:47] <^v> ping, 226
L934[16:33:47] <Symmetryc> .lua
('‘'):byte()
L935[16:33:47] <^v> Symmetryc, 226
L938[16:34:12] <ping> its unicode
L939[16:34:22] <Symmetryc> .lua
debug
L940[16:34:23] <^v> Symmetryc, nil
L941[16:34:30] <Symmetryc> ping: add debug
pl0x
L942[16:34:47] <ping> Symmetryc, why
L943[16:35:07] <Symmetryc> ping:
debug.setmetatable
L944[16:35:12] <Symmetryc> ping:
debug.getlocal
L946[16:35:35] <ping> then you could break
out
L947[16:35:45] <Death> Exactly!
L948[16:35:47] <Symmetryc> ping:
how?
L949[16:36:01] <Symmetryc> debug.getfenv()
or something?
L950[16:36:05] <ping> debug.getlocal can
be used to grab _G
L951[16:36:13] <Symmetryc> I don't know
all of the debug commands
L952[16:36:32] <Symmetryc> But _G isn't
local
L953[16:36:54]
⇨ Joins: Death^2
(~Death@2602:304:6822:2080:a148:85f1:8dde:93cb)
L954[16:37:07] <Death^2> Testing
spaces
L955[16:37:07] <ping> you can use it to
get functions that will allow you to
L956[16:37:16] <Death^2> Herp lol :3
L957[16:37:18] ***
Death^2 is now known as Guest34238
L958[16:37:29] <Guest34238>
gaoddamnit.
L959[16:37:34] ⇦
Quits: Guest34238 (~Death@2602:304:6822:2080:a148:85f1:8dde:93cb)
(Client Quit)
L960[16:38:28] <ping> and i dont want you
to have access to sandbox breaking stuff, because you could do
nasty things to my comp
L961[16:38:42] <Symmetryc> :(
L962[16:38:53] <Symmetryc> can you give us
a debug with only setmetatable and getmetatable
L963[16:39:12] ⇦
Quits: DustBin (~DustBin@24-205-168-216.dhcp.wsco.ca.charter.com)
(Remote host closed the connection)
L964[16:39:15] <ping> you already have
setmetatable :|
L965[16:39:20]
⇨ Joins: DustBin
(~DustBin@24-205-168-216.dhcp.wsco.ca.charter.com)
L966[16:39:32] <SpiritedDusty> %hello 1 2
3 4 5 6
L967[16:39:32] ⇦
Quits: DustBin (~DustBin@24-205-168-216.dhcp.wsco.ca.charter.com)
(Remote host closed the connection)
L968[16:39:32] <Symmetryc> setmetatable ~=
debug.setmetatable
L969[16:39:37] <SpiritedDusty> and it
crashed
L970[16:39:42] <ping> gj dusty
L971[16:39:45] <Symmetryc>
debug.setmetatable can be used on functions and whatnot
L972[16:40:24] <Symmetryc> .lua
setmetatable(function() end)
L973[16:40:24] <^v> Symmetryc,
L974[16:40:43] <Symmetryc> .lua
setmetatable(function() end, {__call = function()
print("hi") end})()
L975[16:40:43] <^v> Symmetryc,
L976[16:40:47] <Symmetryc> :(
L977[16:41:08] <Symmetryc> .lua
-setmetatable(function() end, {__unm = function()
print("hi") end})()
L978[16:41:08] <^v> Symmetryc,
L979[16:41:11] <Symmetryc> :(
L980[16:41:46] <Death> .lua local function
class ( index ) local cls = {} setmetatable( cls, { __index = index
or cls } ) return cls end local x = class( ) x.value = 1 function
x:change( val ) self.value = val return self.value end print(
x:change( 3 ) ) local y = class( x ) y:change( 17 ) print( x.value
) print( y.value ) --derp
L981[16:41:46] <^v> Death, 3 | 3 |
17
L982[16:41:53] <Death> yay for random
function I made
L983[16:43:22] ***
cazzar|Away is now known as Cazzar
L984[16:45:08] <Gopher> ok... I get to
about 80% completion on my canvas objects when I realise I'm not
making what I actually need... lol
L985[16:45:23] <Gopher> I've almost
finished canvases you can draw to as if they were a gpu, and then
draw the result to the screen
L986[16:46:00] <Gopher> but the main point
was to buffer changes only, so those specifically can be drawn in
batches rather than individually, eliminating overwrites and the
like
L987[16:46:09] <Gopher> and this does not
do that.
L988[16:46:25] <Gopher> Also, I have been
specifically avoiding things like resizing or dragging substantial
gui elements
L989[16:46:42] <Gopher> do the ability to
redraw the buffer that what I have made gives me, I do not need.
>.<
L990[16:47:08] <Gopher> tunnel vision. Got
caught up in what I was doing and lost track of what I set out to
do :P
L991[16:47:27] <Gopher> ah well. What I've
made might be useful at some later point.
L992[16:47:42] <Symmetryc> back
L993[16:47:50] <Death> fron
L994[16:47:52] <Death> crap
L995[16:48:09] <Death> i blame m
keboard.
L996[16:49:01] <Gopher> hmm. Actually,
yes, if I ever implement tabbed pages of any sort, which I plan to,
the current canvas implementations will be handy for those. So not
time wasted, just ... priorities misallocated. Or something.
L997[16:49:28] <Symmetryc> Gopher: Wait,
so it's like the CC 1.6 window api?
L998[16:49:55] <Gopher> well, no. I mean,
sortof.
L999[16:50:18] <Gopher> They don't exist
in screen space, you tell it where to draw when you call their
draw() methods
L1000[16:50:41] <Symmetryc> It stores a
'screen' that can be manipulated, etc. and then you draw it,
right?
L1001[16:50:47] <Gopher> yawp.
L1002[16:50:50] <Symmetryc> Ah
L1003[16:51:01] <Gopher> Earlier on I
made something more directly like the window api
L1004[16:51:10] <Symmetryc> So sort of
the redirect api
L1005[16:51:15] <Symmetryc> That you
made
L1006[16:51:32] <Gopher> it didn't have
any internal buffer, it just acted like gpu and, if used to replace
gpu, could trick the any running program into outputting into a
window on the screen.
L1007[16:51:34] <Symmetryc> .lua
"are you working"
L1008[16:51:34] <^v> Symmetryc,
L1009[16:51:39] <Gopher> that was more
like redirect, heh
L1010[16:51:42] <Symmetryc> .lua
print("hi")
L1011[16:51:42] <^v> Symmetryc, hi
L1012[16:51:49]
⇨ Joins: Death^2
(~Death@2602:304:6822:2080:a148:85f1:8dde:93cb)
L1013[16:51:54] <Death^2> hai
L1014[16:52:19] <Death> Death^2:
L1015[16:52:26] <Gopher> it required a
lot of injecting and ended up being a bit of a mess, so it got
tossed in the misc bin to be forgotten for now
L1016[16:52:30] <Death^2>
L1017[16:52:39]
⇦ Quits: Death^2
(~Death@2602:304:6822:2080:a148:85f1:8dde:93cb) (Killed (NickServ
(GHOST command used by
Death!Death@bnc.deathprogramming.com)))
L1018[16:53:51] <Symmetryc> Sooo
yeah
L1019[16:53:53] <Kenny> Gopher: you do
know that the GPU has 2 methods for helping to do windows?
L1020[16:54:09] <Kenny> get and set
L1021[16:54:36] <Gopher> does it? I have
not seen any such methods on the component.gpu interface
L1022[16:55:04] <Kenny> look in my
OPenPrgrams git at the ks.lua file
L1023[16:55:06] <Gopher> unless you mean
copy and fill
L1024[16:55:17] <Kenny> there is a
savewin and restorewin functions that use it
L1025[16:55:57] <Gopher> ah. yes, I was
aware of fill and get. How did you think my guis were restoring the
backgroudn when closed? heh
L1027[16:56:28] <Gopher> given the
context I thought you meant something akin to redirects or the
window api
L1028[16:56:39] <Symmetryc> Gopher:
*.gss?
L1029[16:56:46] <Symmetryc> Gopher: What
does that mean?
L1030[16:56:49] <Kenny> i have savewin
which uses get to save a window and i have restorewin to put it
back
L1031[16:56:57] <Gopher> symmetryc,
bastard cousin of css, gui style sheets
L1032[16:57:15] <Kenny> not fill
L1033[16:57:23] <Symmetryc> Gopher: You
made it or is it some standard thing?
L1034[16:57:59] <Gopher> Symmetryc, I
made it. Kenny: hrm. Wait, you cna pass a table with fg/bg color to
set? O_o
L1035[16:58:19] <Kenny> it didn't get
that far in trying
L1036[16:58:53] <Gopher> gpu.get returns
character, foreground, background
L1037[16:59:04] <Gopher> oh, you're not
{}ing, so you're only preserving characters
L1038[16:59:05] <Gopher> not colors
L1039[16:59:08] <Kenny> i made those when
i started CompViewer and was using plain black and whbite
background
L1040[16:59:46] <Gopher> kenny, you've
been using my gui library, right?
L1041[16:59:52] <Kenny> when i did those
2 functiosn i had only been programming in lua for about 2-3
weeks
L1042[16:59:54] <Gopher> You realise it
does that, but with color as well?
L1043[17:00:07] <Kenny> ^
L1044[17:00:34] <Kenny> i didn't really
know jack about tables and all this other stuff
L1045[17:00:57] <Kenny> so yeah, those 2
functions are low grade as hell
L1046[17:01:09] <Kenny> they were done by
an extreme beginner
L1047[17:01:22] <Gopher> When preserving
color it gets more fun, as set can do strings but only in the
current color
L1048[17:01:35] <Gopher> and it seems
like the imposed overhead is fixed per set call
L1049[17:02:08] <Kenny> back then i
didn't know set did NOT due the colors but just the chars
L1050[17:02:10] <Gopher> get seems to be
"Free" (as free as any function call that reaches outside
lua, anyway), so copying what's there, no problem
L1051[17:02:47] <Gopher> so when saving
and redrawing, I build "spans," detecting letters with
the same color, so I minimuze the set() calls needed.
L1052[17:03:09] <Gopher> aanyway, yeah.
Tangent. I feel like I was saying something before
this...:scrolls:
L1053[17:03:26] <Gopher> hmm. nope,
doesn't look like it.
L1054[17:03:41] <Kenny> you were talking
about the 'canvas'
L1055[17:04:14] <Symmetryc> Gopher: Uhh
Tangent's in #computercraft :P
L1056[17:04:16] <Gopher> I need names for
these two disparate types of draw targets. Canvas, buffer, and if
combined, bufferedCanvas? Works.
L1057[17:04:33] <Gopher> bah
L1058[17:04:40] <Gopher> there was
nothing new in cc 1.6's lua
L1059[17:04:48] <Kenny> banfer?
L1060[17:04:49] <Gopher> new to the
built-in programs only
L1061[17:05:08] <Gopher> but users on the
forum (including me) had done every one of those things many times
before, usually better, lol
L1062[17:05:19] <Symmetryc> Lol
L1063[17:05:27] <Gopher> (not becasue
we're better than dan, but because dan's top priority in design is
ease of use)
L1064[17:05:28] <Symmetryc> Craftbang ==
multishell
L1065[17:05:37] <Symmetryc>
Basically
L1066[17:05:37] <Gopher> so dan covets
simplicity of design/interface for anything built-in
L1067[17:05:59] <Symmetryc> Plus did you
create one of them that uses ctrl + win # ?
L1068[17:06:00] ***
SuPeRMiNoR2 is now known as SuPeRMiNoR2|Away
L1069[17:06:12] <Gopher> yawp, also
called multishell like the builtin :P
L1070[17:06:16] <Kenny> and i've seen a
lot of users are getting pissed off at him
L1071[17:06:18] <Symmetryc> lol
L1072[17:06:23] <Gopher> exactly the same
as builtin but instead of the task bar, it was just ctrl+#
L1073[17:06:28] <ping> \o/
L1074[17:06:30] <ping> .jenkins
L1076[17:06:51] <Gopher> oh, and I had ps
and kill shell commands, too.
L1077[17:06:55] <Symmetryc> ping, did you
add debug stuffs :D?
L1078[17:07:02] <ping> Symmetryc,
no
L1079[17:07:06] <Gopher> and bg actually
ran them invisibly, not taking one of your 10 shell slots.
L1080[17:07:07] <Symmetryc> :(
L1081[17:07:12] <Symmetryc> ping:
pwease
L1082[17:07:16] <ping> Symmetryc,
No.
L1083[17:07:35] <Gopher> anyway, enough
about cc, heh.
L1084[17:07:46] *
Gopher goes back to work on the canvas and buffer
objects.
L1085[17:07:55] <Gopher> buffer is so
ambiguous... gpuBuffer?
L1086[17:07:59] <Kenny> why, puttiung CC
down is allowed in here hehe
L1087[17:08:01] <Gopher> gfxBuffer?
L1088[17:08:15] <Kenny> canfer?
L1089[17:08:32] <Gopher> I am not putting
CC down. I'm putting down the ignorant masses like DW20 who were
drooling over cc 1.6 includingf things you could've downloaded from
the cc forums 2 years ago XD
L1090[17:08:41] <Kenny> (can)vas +
buf(fer) hhe
L1091[17:08:57] <SpiritedDusty> aren’t
most updates in CC 1.6 mostly lua sided?
L1092[17:09:08] <Gopher> there's a lot of
"real" updates too
L1093[17:09:10] <Kenny> frojm what i
saw
L1094[17:09:14] <Gopher> but actually,
the BIGGEST changes are mostly invisible
L1095[17:09:18] <ping> whenever my mom
says "set the table" i say "table={}"
L1096[17:09:23] <Gopher> dan completely
restructured a huge amount of the underlying code
L1097[17:09:48] <Kenny> that was the
biggest change to CC
L1098[17:09:49] <Gopher> partly to make
tablets possible - computers were tileentities, now they are not -
and partly for the CCEdu version, which isn't publicly
available
L1099[17:10:00] <SpiritedDusty> it’s
funny how we haven’t seen many big updates recently then right when
OC came out, I saw news about CC 1.6 and it’s features
L1100[17:10:19] ***
Death is now known as Death||Away
L1101[17:10:21] <Kenny> OC is major
competiton for him
L1102[17:10:24] <Gopher> CC 1.6 has been
in development with tweets of progress since late december :P
L1103[17:10:26] <Symmetryc> ping: Haha,
whenever I'm talking about how good someone did on an exam or
something and they're like define good I think "#define
good" xD
L1104[17:10:28] <Gopher> oc has nothign
to dow ith the timing of 1.6
L1105[17:10:47] <SpiritedDusty> OC came
out early december
L1106[17:10:55] <ping> #define good
horrible
L1107[17:10:59] <Gopher> anyway, I'm a
member of /both/ communities, and refuse to engate in the pointless
drama everyone seems determined to create
L1108[17:11:05] <Symmetryc> #define true
false
L1109[17:11:08] <Symmetryc> >:D
L1110[17:11:41] <Gopher> so if you wanna
bash cc, fine, but I'm neither impressed nor, from this point,
listening :P
L1111[17:11:42] <Symmetryc> CC 1.6 dev
did pick up after OC came out, but I think it's just a
coincidence
L1112[17:12:02] <Kenny> I started out
messing with CC way back. quit messing with it when i couldn't get
any assistance in learning lua
L1113[17:12:14] <ping> Symmetryc, it was
because Cloudy quit
L1114[17:12:41] <Gopher> and now cloudy
has a real job, that pays, y'know, money.
L1115[17:12:42] <ping> so he couldnt say
"Nah" to all the ideas anymore
L1116[17:12:49] <Symmetryc> ping: Wait,
so you're saying that development became faster after one of the
devs quits? xd
L1117[17:12:55] <Gopher> heh. That may
well be a factor, ping.
L1118[17:12:58] <SpiritedDusty> Gopher,
did dan pay cloudy kitties?
L1119[17:13:07] <Gopher> I think sometime
after cloudy quit, dan actually looked at the suggestions subforum
for the first time in two years XD
L1120[17:13:21] <ping> yeah xD
L1121[17:13:33] <Gopher> cloudy was the
one who smacked down a lot of suggestions with prejudice XD
L1122[17:13:42] <SpiritedDusty> that was
his paycheck from CC
L1123[17:13:57] <ping> i am building lua
5.3, ^v will have it soon :3
L1125[17:15:43] <Symmetryc>
SpiritedDusty: Upvoted
L1126[17:16:50] <Gopher> pfft. That's
pretty tame by cloudy standards, and he has a legitimate point,
switching from 5.1 to 5.2 is a major breaking change. This is why
5.1 has hung around for so long in general
L1128[17:17:41] <Gopher> I don't feel
like digging, but he could be downright abusive with zero logic
behind it except "I'm cloudy fuck you" lol. I actually
/like/ cloudy, as a person, but as a PR representative, he is
somewhat ... lacking XD
L1129[17:17:50] <ping> SpiritedDusty, how
dare you mention that xD
L1130[17:17:55] <SpiritedDusty> xD
L1131[17:17:59] <ping> i feel bad
now
L1132[17:18:10] <ping> i think watcher
quit because of it
L1133[17:18:26] <Kenny> Gopher, have you
done any commits yet?
L1134[17:18:31] <SpiritedDusty> ping, he
did? :c
L1135[17:18:42] <Gopher> no, nothing's
finished enough to use yet, Kenny. Well, local commits only.
L1136[17:18:50] <Kenny> ok
L1137[17:18:57] <ping> SpiritedDusty, i
havent seen him in awhile :<
L1138[17:19:42] <SpiritedDusty> hehe…
iHome OS
L1140[17:20:16] <ping> i cant beleive
puush hasnt removed it...
L1141[17:20:34] <SpiritedDusty> isn’t
there a 30 day limit on pictures?
L1142[17:21:08] <ping> people still look
at that facking blog ._.
L1143[17:21:52] <ping> but i have to
admit, gavin got what he deserved
L1144[17:22:18] <SpiritedDusty> fuck
gavin, he can go suffer in a ditch
L1145[17:23:23] <ping> xD the antenna was
unplugged from the TV and its still getting a signal
L1146[17:23:35] <ping> its a
glitchball
L1147[17:23:37] <ping> but still
L1148[17:23:50] <Symmetryc> Dude I
literally rofl'd at the Gaveencraft thing hahahaha
L1149[17:24:53] <SpiritedDusty>
“<_HiThere> I coded html when i was 11” what is this
shit
L1150[17:25:56] <ping> woooooooooooooot
it finnally fucking compiled
L1151[17:26:04] <ping> k. adding in 5.2
now
L1152[17:27:14] <Kenny> ping, you said ^v
was getting 5.3 now it's 5.2? make up your mind
L1153[17:27:19] <ping> aand fuck, how do
i rename the output executables?
L1154[17:27:22] <ping> 5.3*
L1155[17:27:29] <Kenny> ren
L1156[17:27:51] <Kenny> ren them with a
.52 ext
L1157[17:28:13] <ping> when i do that, it
cant find the .dll
L1158[17:28:16] <ping> OH derp
L1159[17:28:20] <ping> yeah i got
it
L1160[17:28:28]
⇦ Parts: SpiritedDusty
(~SpiritedD@24-205-168-216.dhcp.wsco.ca.charter.com)
())
L1161[17:28:30] <Kenny> just the
exe's
L1162[17:28:33] <ping> ._.
L1163[17:28:34]
⇨ Joins: SpiritedDusty
(~SpiritedD@24-205-168-216.dhcp.wsco.ca.charter.com)
L1164[17:28:34] <Kenny> \o
L1165[17:28:34]
zsh sets mode: +o on SpiritedDusty
L1166[17:28:46] <SpiritedDusty>
accidently left
L1167[17:28:51] <Kenny> wrong button,
Dusty?
L1168[17:28:59] <SpiritedDusty>
yeah
L1169[17:29:50] <ping> i would show you a
snapshot, but puush isnt working
L1170[17:30:03] <ping> they diddnt even
bother to rename the .dll from lua52.dll
L1171[17:30:17] <SpiritedDusty> pussh
hasn’t been upoading my images for some reason
L1172[17:30:26] <ping> just uploads null
file :/
L1173[17:30:31] <SpiritedDusty> yeah same
here
L1175[17:30:46] <ping> and occasionally a
cut in half picture
L1176[17:32:22] <ping> :| cant find where
it outputs the dll
L1177[17:32:28] <Kenny> Gopher, the
listbox x,y coords are those inside the gui box, right?
L1178[17:33:51] <Gopher> can sometimes
depend on context?
L1179[17:33:56] <Symmetryc> Why do people
do t["key"] when they can just do t.key .-.
L1180[17:34:02] <Symmetryc> .lua
"testing"
L1181[17:34:02] <^v> Symmetryc,
L1182[17:34:09] <Gopher> but yeah, the
args to addListBox for position will be relative to the gui
L1183[17:34:10] <ping> Stary2001,
methinks i broke it
L1184[17:34:24] <Symmetryc> .lua
print("testing")
L1185[17:34:24] <^v> Symmetryc,
testing
L1186[17:34:32] <Gopher> in fact,
relative to the top-left body of the gui - if the gui has a border
or not is a factor
L1187[17:34:36] <ping> ah, not cating the
output table correctly
L1188[17:34:44] <Symmetryc> Yeh
L1189[17:34:57] <Symmetryc> .lua return
"testing"
L1190[17:35:04] <ping> lua: version
mismatch: app. needs 2.8859142781979e-312, Lua core provides
502
L1191[17:35:05] <Symmetryc> wat
L1192[17:35:05] <ping> ugh
L1193[17:35:09] <ping> sorry, i broke
some libs
L1194[17:35:26] <^v> Symmetryc,
testing
L1195[17:35:29] <ping> there
L1196[17:35:40] <Symmetryc> .lua
debug
L1197[17:35:40] <^v> Symmetryc,
L1198[17:35:42] <Symmetryc> :(
L1199[17:35:48] <Symmetryc> .lua require
"debug"
L1200[17:35:48] <^v> Symmetryc, lua:1:
attempt to call global 'require' (a nil value)
L1201[17:35:49] <ping> hmm, need to make
it print nil
L1202[17:36:00] <ping> after i make 5.3
though
L1203[17:36:47] <Symmetryc> Wait, can you
make 5.3 '.lua5.3 <stuff>'?
L1204[17:36:54] <Symmetryc> So that we
can still use 5.2
L1205[17:37:22] <ping> it will be .lua53
or .l53
L1206[17:37:42] <Kenny> had some
excitement here
L1207[17:38:08] <Kenny> some idiot came
flying around the corner at high speed and nearly lost it
L1208[17:38:43] <Kenny> cut sharp left ot
miss a tree and almost got a telephone pole
L1210[17:38:45] -Kibibyte- [ping] Rucka Rucka
Ali: We Drive Drunk | by thewordofrucka | 4m23s | 87w0d ago |
448,636 views | Rated:
4.84/5.00
L1211[17:39:22] <Kenny> i think a girl
that lives across the street knows who it was....
L1212[17:39:41]
⇦ Quits: Gopher (~Gopher@172.sub-70-193-135.myvzw.com) (Ping
timeout: 194 seconds)
L1213[17:39:49] <Kenny> she was takikng
pics of the marks in the street left by the car
L1214[17:41:16]
⇨ Joins: Gopher
(~Gopher@172.sub-70-193-135.myvzw.com)
L1215[17:41:16] <Kenny> \o
L1216[17:41:25] <ping> :D :D :D
L1217[17:41:32] <ping> .lua53 1 <<
4
L1218[17:41:33] <^v> ping, 16
L1219[17:42:38] <Symmetryc> .lua53
_VERSION
L1220[17:42:39] <^v> Symmetryc, Lua
5.3
L1221[17:42:39] <Gopher> whee
L1222[17:42:39]
⇦ Quits: Gopher (~Gopher@172.sub-70-193-135.myvzw.com) (Read
error: Connection reset by peer)
L1223[17:42:46]
⇨ Joins: Gopher
(~Gopher@172.sub-70-193-135.myvzw.com)
L1224[17:42:46] <Kenny> \o
L1225[17:42:54] <Symmetryc> .lua53 8.5 //
2
L1226[17:42:54] <^v> Symmetryc, 4
L1227[17:43:08] <Symmetryc> .lua53
math.fmod(8.5)
L1228[17:43:08] <^v> Symmetryc, lua:1:
bad argument #2 to 'fmod' (number expected, got no value)
L1229[17:43:21] <Symmetryc> .lua53
math.fmod(8.5, 2)
L1230[17:43:21] <^v> Symmetryc, 0.5
L1231[17:43:27] <Symmetryc> .lua53
math.fmod(8.5, 8)
L1232[17:43:27] <^v> Symmetryc, 0.5
L1234[17:43:52] <ping> encase anyone
doesnt want to go through all the shit i did
L1235[17:45:25]
⇨ Joins: bolens1112
(~bolens111@cpe-107-10-27-165.neo.res.rr.com)
L1236[17:48:04] <SpiritedDusty>
“encase”?
L1237[17:48:37] <ping> just encase?
L1238[17:48:42] <SpiritedDusty>
incase?
L1239[17:49:12] <ping> yeah
L1240[17:49:27] <ping> hint: sir dyslexia
here
L1241[17:50:03] <Symmetryc> .lua
"hi"
L1242[17:50:03] <Kenny> .lua53
math.fmod(8.5, 2)
L1243[17:50:03] <^v> Symmetryc, hi
L1244[17:50:04] <^v> Kenny, 0.5
L1245[17:50:17] <Symmetryc> .lua53
"2" + 0
L1246[17:50:18] <^v> Symmetryc, 2
L1247[17:50:19] <Kenny> fmod requires 2
numbers
L1248[17:50:36] <Symmetryc> Kenny:
Yep
L1249[17:51:02] <Symmetryc> .lua53
pcall(function() while true do end end)
L1250[17:51:03] <^v> Symmetryc, Time
limit exeeded.
L1251[17:51:09] <ping> Symmetryc, i fixed
it
L1252[17:51:11] <Symmetryc> .lua53
debug
L1253[17:51:12] <^v> Symmetryc,
L1254[17:51:16] <Symmetryc> .lua53
require
L1255[17:51:16] <^v> Symmetryc,
L1256[17:51:24] <Symmetryc> .lua53
true
L1257[17:51:25] <^v> Symmetryc,
L1258[17:51:28] <Symmetryc> wat
L1259[17:51:28] <ping> they are running
the same sandbox program
L1260[17:51:29] <ping> wat
L1261[17:51:35] <Kenny> .lua53
math.fmod(1008.5, 12)
L1262[17:51:35] <^v> Kenny, 0.5
L1263[17:51:36] <ping> hold on, i derpd
hard somewhere
L1264[17:51:49] <Kenny> .lua53
math.modf(1008.5, 12)
L1265[17:51:49] <^v> Kenny, 1008 |
0.5
L1266[17:52:12] ***
manmaed is now known as manmaed|AFK
L1267[17:54:21] <ping> oh yeah, the not /
xor operator
L1268[17:54:29] <ping> .lua53 ~255
L1269[17:54:29] <^v> ping, -256 |
-256
L1270[17:54:35] <ping> ._.
L1271[17:55:26] <ping> oh, only one
value
L1272[17:55:34] <ping> i was just messing
around with output
L1273[17:56:59] <ping> i am still
wondering how bnot(255) returns -256
L1274[17:57:42] <ping> who dares me to
make an identical thread asking for lua 5.3
L1275[17:58:51]
⇦ Quits: bolens1112
(~bolens111@cpe-107-10-27-165.neo.res.rr.com) (Ping timeout: 186
seconds)
L1276[17:59:38]
⇨ Joins: Symmetryc_
(webchat@pool-108-9-201-239.tampfl.fios.verizon.net)
L1277[17:59:44]
⇦ Parts: Symmetryc_
(webchat@pool-108-9-201-239.tampfl.fios.verizon.net)
())
L1278[17:59:50]
⇨ Joins: Symmetryc_
(webchat@pool-108-9-201-239.tampfl.fios.verizon.net)
L1279[18:01:33] <Kenny> bnot means not
256 so you get the counterpasrt of -256
L1280[18:02:06] <Kenny> Sym, button
problem?
L1281[18:03:00] <Gopher> some days I
really hate dealing with 1-indexed arrays.
L1282[18:03:12] <Gopher> even if they're
really tables just pretending to be arrays
L1283[18:03:24] <ping> Hmm
L1284[18:03:33] <ping> i can probably
compile a version for OC
L1285[18:03:42] <ping> who wants bitwise
operators? :D
L1286[18:04:37] <Kenny> doesn't 5.2
already have bitwise opperators
L1287[18:06:03] <Symmetryc_> back
L1288[18:06:10] <Kenny> Sym, button
problem?
L1289[18:06:13] <Gopher> because bitwise
operators make limited sense when all your numbers are floats,
which have to be converted to ints, bitwise-op'd, and then
converted back to floats
L1290[18:06:36] <Symmetryc_> Kenny: Nah,
I just accidently made a new window :/
L1291[18:06:42]
⇦ Quits: Symmetryc
(webchat@pool-108-9-201-239.tampfl.fios.verizon.net) (Quit: Web
client closed)
L1292[18:06:53] <Symmetryc_> Wait
what
L1293[18:07:01] ***
Symmetryc_ is now known as Symmetryc
L1294[18:07:14] <Kenny> join left join
^
L1295[18:07:26] <Symmetryc> Ohh, it was
the ghost from the other window...
L1296[18:07:47] <Kenny> nah that was the
_ one hehe
L1297[18:08:22] <Symmetryc>
Wait...what
L1298[18:08:27] <Symmetryc> I'm confused
lol
L1299[18:08:39] <Kenny> * Symmetryc_
(webchat@pool-108-9-201-239.tampfl.fios.verizon.net) has joined
#oc
L1300[18:08:39] <Kenny> [07:59] *
Symmetryc_ (webchat@pool-108-9-201-239.tampfl.fios.verizon.net) has
left #oc
L1301[18:08:39] <Kenny> [07:59] *
Symmetryc_ (webchat@pool-108-9-201-239.tampfl.fios.verizon.net) has
joined #oc
L1302[18:08:40] <Symmetryc> the _ one
/nick'd back to the normal one :P
L1303[18:08:53] <Kenny> look right
there
L1304[18:09:32] <Symmetryc> Oh, that
happens when I have my IRC tabs switched :P
L1305[18:09:45] <Symmetryc> I delete them
all, then /join in the right order again
L1306[18:10:02] <Kenny> hehe
L1307[18:12:24] <Symmetryc> Btw
L1309[18:12:54] <Symmetryc> Bet we could
make an even smexier oc one
L1310[18:13:20] <Gopher> not trivially,
with the current delays on gpu.set
L1311[18:13:41] <Symmetryc> aww
L1312[18:13:56] <Gopher> of course, with
graphical things like that, you can bog down every cc computer on a
server
L1313[18:14:20] <Gopher> there's actually
several things cc is better at. They're mostly things that are /bad
for servers/, but they exist XD
L1314[18:15:13] <Gopher> you've seen my
fire demo, right Symmetryc?
L1315[18:15:25] <Symmetryc> Gopher:
Yeah
L1316[18:15:53] <Symmetryc> Gopher:
Equally as cool btw
L1317[18:16:06] <Gopher> if you want to
be evil, run it on a max size monitor array with text size .5
XD
L1318[18:16:46] <Gopher> (on a server. in
ssp, it's fine)
L1319[18:16:49] <Gopher> well, slow, but
fine
L1320[18:17:26] <Symmetryc> Haha, I did
something like that except it was "while true do
term.setBackgroundColor(2^math.random(0, 15)) term.clear()
os.queueEvent("") coroutine.yield() end"
L1321[18:17:35] <Symmetryc> It was on
Grim's Server :P
L1322[18:17:59] <Gopher> heh. My logo
interpreter, one of the first things I ever released for cc, was
pretty hard on servers too, if you gave it complex programs and a
big monitor
L1324[18:20:07] -Kibibyte- [Gopher]
ComputerCraft Logo spiral demo | by gopheratl | 19s | 81w0d ago |
390 views | Rated:
5.00/5.00
L1325[18:20:38] <Cazzar> Maybe having
Kibibyte not notice the channel on the youtube would be nice.
L1326[18:20:55] <Gopher> ehrm, lol
L1327[18:21:08] <Gopher> was that really
81w ago? XD
L1328[18:22:46] <Gopher> anyway, loved
that, not so much the spiral itself, but that it was just a short
logo program running through my logo interpreter
L1329[18:23:45] <Gopher> to spiral :d :s
:a :c repeat :c [fd :d rt :a let [d sum :d :s]]
L1330[18:23:45] <Gopher> let [a 0] repeat
1000 [clean spiral .1 .1 8 300 wait .1 let [a sum :a 10] home rt
:a]
L1331[18:24:01] <Gopher> and people say
forth is cryptic. XD
L1332[18:24:14] <Symmetryc> lol
L1333[18:24:37] <Symmetryc> I hate having
to do work :(
L1335[18:30:15] <SpiritedDusty> ping, I
was about to put “No."
L1336[18:30:18] <SpiritedDusty> xD
L1337[18:30:24] <ping> does anyone know
how the binaries for OC were compiled?
L1338[18:30:38] <ping> iirc sangar said
something about them being striped
L1339[18:30:45] <Gopher> I know it
involved animal sacrifice and a voodoo queen
L1340[18:30:57] <ping> Gopher,
noted
L1341[18:31:04] <Gopher> but that's just
boilerplate scala, so not helpful
L1343[18:31:30] <Kenny> Got a challenge
for someone
L1344[18:31:39] <Symmetryc> Kenny:
?
L1345[18:32:23] <Kenny> play a game of MC
but the only thing you can use is a robot, you can't touch anything
else, you have to program the robot to do it :)
L1346[18:32:24] <SpiritedDusty> ping, was
that what you were looking for?
L1347[18:32:25] <ping> SpiritedDusty,
thanks
L1348[18:32:41] <ping> Kenny, that was
the turtle challenge in CC
L1349[18:32:53] <SpiritedDusty> we should
try to compile OC with lua 5.3
L1350[18:32:54] <ping> but it wasnt
really a challenge because turtles are OP
L1351[18:32:57] <Kenny> i know, i want to
see if someone can do it in OC
L1352[18:33:04] <ping> SpiritedDusty, i
am doing this
L1353[18:33:04] <Gopher> made slightly
easier by your ability to swap tools on the robot, but harder by
it's need for power
L1354[18:33:07] <SpiritedDusty> oh
L1355[18:33:23] <Gopher> well, I guess
you can swap tools in cc now, too
L1356[18:33:38] <SpiritedDusty> wait you
can do that now?
L1357[18:33:38] <Symmetryc> But robots
are like 10x more powerful than turtles...
L1358[18:33:41] <Kenny> yopu can sdtart
with a generator upgrade which allows it tohave fuel
L1359[18:34:10] <ping> Kenny, dont forget
a wood axe Dx
L1360[18:34:16] <ping> because you need
wood
L1361[18:34:24] <ping> in order to maek
tools
L1362[18:34:37] <Kenny> the trtle gets
the wood from a tree
L1363[18:34:45] <Gopher> not if it
doesn't have a tool, he meant
L1364[18:34:46] <Kenny> the robot gets
the wood from a tree
L1365[18:35:04] <Gopher> also, haha, you
said turtle, or tried to XD
L1366[18:35:13] <Kenny> yeah, i
know
L1367[18:35:34] <Bizzycola> Can robots
mine obsidian? :p
L1368[18:35:35] <Kenny> that was due to
you talking in the background
L1369[18:35:55] <Gopher> I would assume
so, with a diamond pick like a player
L1371[18:36:03] <SpiritedDusty> and it
was denied
L1372[18:36:06] <Gopher> but dunno,
barely used robots
L1373[18:36:26] <Bizzycola> Well if they
can't you'd have to intervene to go to the nether :p
L1374[18:36:37] <Bizzycola> also if they
can't get through nether portals..
L1375[18:36:44] <Gopher> SpiritedDusty,
lots of things in 1.6 were denied. Mostly by cloudy, we were
talking about that earlier. Cloudy left CC shortly before 1.6 work
started, heh.
L1377[18:36:50] <Kenny> and look who shot
it down
L1378[18:36:57] <Kenny> good old
Cloudy
L1379[18:37:04] <SpiritedDusty> :P
L1380[18:37:24] <ping> i refuse to take
credit for that image
L1381[18:37:31] <Kenny> now i see why
they were riding his ass
L1382[18:37:53] <Symmetryc> Lol lets
lynch Lyqyd Gopher
L1383[18:38:07] <Gopher> heh.
L1385[18:40:10] <Kenny> who knowa
hehe
L1386[18:40:49] <Kenny> cops caught that
guy
L1387[18:41:18] <ping> awesome
L1388[18:41:24] <Kenny> seems that car
was involved in a robbery on the west side and he was hauling ass
tgo make sure to get out of the area
L1389[18:41:51] <Kenny> the getaway
driver needs to learn how to drive at speed
L1391[18:42:06] -Kibibyte- [ping] Rucka Rucka
Ali: We Drive Drunk | by thewordofrucka | 4m23s | 87w0d ago |
448,651 views | Rated:
4.84/5.00
L1392[18:42:25] <Gopher> but then he's
just a chauffeur
L1393[18:42:50] <ping> note: i only
really like chiptune music, i listen to this because its fcking
helarious
L1394[18:43:09] <Kenny> might have
actually been involved if there were 2 or more peole
L1396[18:44:10] -Kibibyte- [Kenny] Funny Xmas
Song - Police Stop My Car.wmv | by barnyardparker | 2m1s | 124w4d
ago | 245,662 views | Rated:
4.82/5.00
L1397[18:44:45] <Kenny> i think that one
is hilarious too
L1398[18:45:15] <ping> lol
L1399[18:47:13] <Kenny> there was
something i ran into after hearing this video the first time
L1400[18:47:20] <Kenny> it made me
rofl
L1401[18:47:36] <Kenny> i went looking
for aome pics to do my own video of it
L1402[18:47:58] <ping> misread that as
"there was someone i ran into"
L1403[18:48:23] <Kenny> when i went
looking for police pics i ran up on one of a motorcycle cop riding
done the road with 2 dozen donuts on the back
L1404[18:49:03] <Kenny> what was so funny
is i thought the donut thing was just about American
cops.....
L1405[18:49:11] <Kenny> this was a cop in
Italy
L1406[18:49:26] <Kenny> with donuts on
the back of his motorccyle
L1407[18:49:36] ***
Cazzar is now known as cazzar|Away
L1408[18:49:57] <Kenny> and Super Caz
just took flight hehe
L1409[18:53:06] <Symmetryc> ping: You
there?
L1410[18:53:14] <ping> yep
L1411[18:53:34] <Symmetryc> ping: Does
lua53 have operator overloading
L1412[18:53:41] <Symmetryc> For all 'dem
bitwise ops
L1413[18:53:48] <ping> what do you mean
overloading?
L1414[18:53:48] <Symmetryc> So like
__xor
L1415[18:53:59] <ping> metacalls?
L1416[18:54:23] <ping> yes
L1418[18:55:35] <Symmetryc> yes :D :D
:D
L1419[18:55:39] <Symmetryc> such
sexy
L1420[18:56:06] <ping> <_>
L1421[18:56:57] <Symmetryc> .lua53 local
out = setmetatable({}, {__shl = function(_l, _r) print(_r) end })
out << "Hello"
L1422[18:56:58] <^v> Symmetryc, lua:1:
syntax error near '<<'
L1423[18:57:31] <Symmetryc> wat
L1424[18:57:43] <ping> out <<
"Hello" isnt an expression
L1425[18:57:54] <ping> er,
statement
L1426[18:58:02] <Symmetryc> .lua53 local
out = setmetatable({}, {__shl = function(_l, _r) print(_r) end})
return out << "Hello"
L1427[18:58:02] <^v> Symmetryc,
Hello
L1428[18:58:06] <Symmetryc> :D :D
:D
L1429[18:58:19] <Gopher> reading
something on optimizing in lua and just learned something
fascinating.
L1430[18:58:20] <Gopher> lua tables don't
just pretend to be arrays.
L1431[18:58:20]
⇦ Quits: Gopher (~Gopher@172.sub-70-193-135.myvzw.com) (Read
error: Connection reset by peer)
L1432[18:58:28]
⇨ Joins: Gopher
(~Gopher@71.sub-174-254-129.myvzw.com)
L1433[18:58:28] <Kenny> \o
L1434[18:58:33] <Gopher> yeesh.
L1435[18:58:36] <Gopher> as I was
saying
L1436[18:58:40] <Gopher> reading
something on optimizing in lua and just learned something
fascinating.
L1437[18:58:42] <Gopher> lua tables don't
just pretend to be arrays.
L1438[18:58:50] <Gopher> They are
implemented, effectively, as an array and a hashmap strapped
together.
L1439[18:59:03] <Symmetryc> Nice
L1440[18:59:33] <ping> this is why i like
Lua > every other lang
L1441[19:00:05] <Symmetryc> Lua >
every other _non-lisp_ lang
L1442[19:00:19] <SoniEx2> I still can't
set a function as a metatable for custom __metatable handling
L1443[19:00:58] <Symmetryc> SoniEx2: you
mean like have an object `t` where `getmetatable(t)` returns
`"Hello World"` or something?
L1444[19:01:27] <SoniEx2> (it would work
like setmetatable({},function(metamethodname) --[[etc]] return
realmetatable[metamethodname] end))
L1445[19:02:03] <ping> so... a metatable
within a metatable
L1446[19:02:26] <SoniEx2> Symmetryc, no
more like "print(getmetatable(t)) print(getmetatable(t))
print(getmetatable(t))" outputs "1 2 3"
L1447[19:02:36] <SoniEx2> or
something
L1448[19:02:41] <SoniEx2> maybe newlines
instead of spaces
L1449[19:02:53] <Symmetryc> You have to
override getmetatable for that
L1450[19:02:53] <Gopher> I like how you
said you "still can't" do this, as if it were a feature
someone had promised to deliver and they're late.
L1451[19:03:22] <Kenny> \o/
L1452[19:03:37] <Symmetryc> |o|
L1453[19:03:47] <SoniEx2> Gopher, no just
something I've been begging freenode's #lua for
L1454[19:04:01] <Symmetryc> SoniEx2: I'll
make it for ya
L1455[19:04:45] <Gopher> interesting. lua
never resizes a table down, even if you remove all elements from it
it keeps taking the same amount of memory.
L1456[19:04:49] <ping> .lua i=0
t=setmetatable({},{__metatable=function() i=i+1 return i end})
print(getmetatable(t)()) print(getmetatable(t)())
print(getmetatable(t)())
L1457[19:04:50] <^v> ping, 1 | 2 |
3
L1458[19:05:11] <SoniEx2> Symmetryc, ok
uhh, I need it to work for a + b where a and b are tables,
(""):stuff(), etc
L1459[19:05:22] <SoniEx2> and I don't
wanna call a metatable
L1460[19:05:53] <SoniEx2> (I want to
seamlessly integrate string metatable hacks with a sandbox)
L1461[19:06:27]
⇦ Quits: manmaed|AFK (~Ender@2e408cee.skybroadband.com) (Ping
timeout: 186 seconds)
L1462[19:06:43] <Symmetryc> .lua local sm
= function(_t, _h) return setmetatable(_t, setmetatable({},
{__index = _h}) end ; print(sm({}, function(_metaname) if _metaname
== "__tostring" then return "thing" end
end))
L1463[19:06:43] <^v> Symmetryc, lua:1:
')' expected near 'end'
L1464[19:07:05] <Symmetryc> .lua local sm
= function(_t, _h) return setmetatable(_t, setmetatable({},
{__index = _h})) end ; print(sm({}, function(_metaname) if
_metaname == "__tostring" then return "thing"
end end))
L1465[19:07:06] <^v> Symmetryc, table:
005EBAF8
L1466[19:07:16] <SoniEx2> doesn't
work...
L1467[19:07:29] <ping> .lua
getmetatable("").__add=function(a,b) return a..b end
return "potato"+"walrus"
L1468[19:07:30] <^v> ping,
potatowalrus
L1469[19:07:30] <Symmetryc> .lua local sm
= function(_t, _h) return setmetatable(_t, setmetatable({},
{__index = _h})) end ; print(sm({}, function(_metaname) if
_metaname == "__tostring" then return function() return
"thing" end end end))
L1470[19:07:30] <^v> Symmetryc, table:
0050BAF8
L1471[19:08:40] <Symmetryc> .lua
print(setmetatable({}, setmetatable({}, {__index = function(_key)
print(_key) end})))
L1472[19:08:40] <^v> Symmetryc, table:
003BBA80
L1473[19:09:16] <ping> what are you
trying to acheive?
L1474[19:09:18] <Symmetryc> Hmm, Lua
appears to access the metatable directly without falling back on
_it's_ metatable
L1475[19:09:21] <SoniEx2> I think it's
function(_table,_key)
L1476[19:09:33] <ping> yes, its
self,key
L1477[19:09:36] <Symmetryc> .lua
print(setmetatable({}, setmetatable({}, {__index = function(self,
_key) print(_key) end})))
L1478[19:09:36] <^v> Symmetryc, table:
0091BA80
L1479[19:09:36] <SoniEx2> also yeah
that's some recursion stuff
L1480[19:09:47] <Symmetryc> Nope, still
doesn't work
L1481[19:09:53] <ping> its not being
indexed
L1482[19:09:56]
⇨ Joins: manmaed
(~Ender@2e41e813.skybroadband.com)
L1483[19:09:56] <Kenny> \o
L1484[19:10:02] <Symmetryc> If it did, it
would be doing <some_val> | <some_val>
L1485[19:10:11] <Symmetryc> ping: Yes it
is
L1486[19:10:29] <ping> on the C level it
is
L1487[19:10:50]
⇦ Quits: BevoLJ (~BevoLJ@cpe-24-55-33-198.austin.res.rr.com)
()
L1488[19:10:57] <Symmetryc> When the
table gets printed, it gets tostring'd, when it gets tostring'd its
mt is checked, its mt doesn't have it, so _it's_ mt is *supposed*
to be checked
L1489[19:11:00] <Symmetryc> But it's
not
L1490[19:11:15] <ping> its tostringed on
the C level
L1491[19:11:28] <Symmetryc> :(
L1492[19:12:33] <SoniEx2> .53
print(_VERSION)
L1493[19:12:37] <SoniEx2> .lua53
print(_VERSION)
L1494[19:12:38] <^v> SoniEx2, Lua
5.3
L1495[19:13:16] <SoniEx2> .lua53
print(setmetatable({}, setmetatable({}, {__tostring = function()
return "nope" end})))
L1496[19:13:17] <^v> SoniEx2, table:
0034B5F8
L1497[19:13:24] <SoniEx2> uhh meh
w/e
L1498[19:13:44] <Symmetryc>
IllegalArgumentException up = new
IllegalArgumentException("Hello"); throw up; //lol
L1499[19:14:11] <Symmetryc> SoniEx2: It
doesn't tostring the metatable if it can't tostring the table
lol
L1500[19:14:46] <Symmetryc> .lua53
print(setmetatable({}, setmetatable({}, {__index = function(self,
_k) print(_k) end})))
L1501[19:14:47] <SoniEx2> uhh oh wait
nvm
L1502[19:14:47] <^v> Symmetryc, table:
0066B5F8
L1503[19:15:00] <Symmetryc> That should
track whatever metakeys are used
L1504[19:15:09] <Symmetryc> But it
doesn't, showing that it's all C-side
L1505[19:15:55] <SoniEx2> .lua53
print(setmetatable({}, {__index = function(self, _k) print(_k)
end}))
L1506[19:15:55] <^v> SoniEx2, table:
003AB670
L1507[19:16:02] <SoniEx2> huh
L1508[19:16:09] <SoniEx2> oh wait
L1509[19:16:12] <SoniEx2> nvm again
L1510[19:16:20] <SoniEx2> meh I should go
sleep
L1511[19:17:14] <ping> i couldnt get it
to compile
L1512[19:17:31] <ping> the lua source
seems to be patched
L1513[19:19:14]
⇨ Joins: bolens1112
(~bolens111@cpe-107-10-27-165.neo.res.rr.com)
L1514[19:21:30] <Kenny> hey bolens1112:
check your pm
L1515[19:22:44] <SoniEx2> .lua53
print(setmetatable({}, {__tostring = function() return
"/dev/null" end}))
L1516[19:22:45] <^v> SoniEx2,
/dev/null
L1517[19:23:07] <SoniEx2> ... hmm
L1518[19:23:33] <SoniEx2> what if you
could tostring/print file handles(?) to get the path?
L1519[19:24:13] ***
cazzar|Away is now known as Cazzar
L1520[19:25:55] <ping> SoniEx2, no thats
stupid
L1521[19:26:51] <Gopher> canvas library
is now ready for prime-time, which is a shame since I don't need
it. Now for the gfxbuffer library, which is what I actually needed
in the first place. >.<
L1522[19:26:52] <SoniEx2> well at least
you wouldn't have to handle.getFileDescriptor().getFilePath() ..
handle.getFileDescriptor().getFileName() or w/e
L1523[19:27:01] <SoniEx2> instead you
just tostring(handle) and you do all that
L1524[19:27:25] <SoniEx2> (also no I
didn't play with OC but w/e)
L1525[19:28:05] <SoniEx2> also can you
raw access an OC harddrive?
L1526[19:28:18] <SoniEx2> (so you have to
implement your own FS, etc)
L1527[19:29:11] <Symmetryc> Soni, even
better would be this:
L1528[19:29:23] <Symmetryc> local handle
= file.open("test.txt")
L1529[19:29:34] <SoniEx2>
handle.getFullPath?
L1530[19:29:44] <Symmetryc> print(handle)
--> prints out the contents of the test.txt file
L1531[19:29:58] <Gopher> how does taking
a filehandle of unknown origin and getting the path it referrs to
apply to sandboxing?
L1532[19:30:04] <Symmetryc> handle =
"hello world" --> test.txt is now "hello
world"
L1533[19:30:10] <Gopher> or have we
shifted topics to something less benign and I missed the
notice?
L1534[19:30:20] <ping> .>
file["test.txt"]
L1535[19:30:21] <^v> ping, Hello,
World!
L1536[19:30:32] <SoniEx2> Gopher, I'm
talking about random stuff because I'm too damn tired
L1537[19:30:34] <Symmetryc> handle +
"some string" --> appends to test.txt
L1538[19:30:40] <ping> .>
file["test.txt"]="Ur a potato"
L1539[19:30:40] <^v> ping, nil
L1540[19:30:42] <SoniEx2> Symmetryc,
no
L1541[19:30:46] <SoniEx2> handle ..
string
L1542[19:31:13] <Symmetryc> That will
change the dir of the handle
L1543[19:31:31] <SoniEx2> uhh why?
L1544[19:31:40] <Symmetryc> So like
handle .. "\thing" --> handle is now of
"\thing\test.txt"
L1545[19:31:45] <Symmetryc> Just to make
it more pointless lol
L1546[19:32:15] <Symmetryc> and then
#handle --> "test.txt"
L1547[19:32:20] <SoniEx2> meh I should go
sleep
L1548[19:32:41] <SoniEx2> #handle looks
interesting
L1549[19:32:42] <Symmetryc> handle * 5
--> The contents of test.txt are string.rep'd by 5
L1550[19:32:49] <SoniEx2> ew
L1551[19:33:09] <Symmetryc> handle - 6
--> The contents of test.txt are string.sub'd so that they are 6
chars shorter
L1552[19:33:31] <SoniEx2> uhh why not try
to remove a string?
L1553[19:33:43] <Symmetryc> Idk, I'm just
doing this 'cause I'm bored atm
L1554[19:33:55] <Symmetryc> lol you do
realize that this is not even feasible
L1555[19:34:05] <Symmetryc> handle - 6
isn't a statement anyways
L1556[19:34:26]
⇦ Parts: bolens1112
(~bolens111@cpe-107-10-27-165.neo.res.rr.com) ())
L1557[19:34:40] <Symmetryc> It would have
to be handle = handle - 6 or some crap, but that wouldn't make
sense because the file would be changed regardless if it assigned
back to handle
L1558[19:34:40] <SoniEx2> reverse the
string, try go finding, etc?
L1559[19:35:00] <SoniEx2> actually you
don't have to return from a metamethod?
L1560[19:35:08] <Symmetryc> handle /
"Hello" --> string.find(handle,
"Hello")
L1561[19:35:10] <SoniEx2> uhh oh
wait
L1562[19:35:24] <SoniEx2> wait you can't
use x-y as a statement?
L1563[19:35:26] <Symmetryc> -handle
--> reverses the string
L1564[19:35:33] <Symmetryc> .lua 5 -
6
L1565[19:35:33] <^v> Symmetryc, -1
L1566[19:35:33] <SoniEx2> as in even with
metatables?
L1567[19:35:43] <Symmetryc> Oh wait
that's a REPL...
L1568[19:35:50] <Symmetryc> No, you can't
use it as a statement
L1569[19:36:02] <SoniEx2> .lua53
print("test"); 5-6; return "false"
L1570[19:36:02] <^v> SoniEx2, lua:1:
unexpected symbol near '5'
L1571[19:36:06] <SoniEx2> meh :/
L1572[19:36:24] <SoniEx2> well you can
always return a status code
L1573[19:36:25] <Symmetryc> .lua local t
= setmetatable({3}, {__add = function(_l, _r) return _l[1] + _r[1]
end}) t + t
L1574[19:36:26] <^v> Symmetryc, lua:1:
syntax error near '+'
L1575[19:36:31] <Symmetryc> .lua local t
= setmetatable({3}, {__add = function(_l, _r) return _l[1] + _r[1]
end}) return t + t
L1576[19:36:31] <^v> Symmetryc, 6
L1577[19:36:31] <SoniEx2> so _ = handle -
"test"
L1578[19:36:33] <Symmetryc> See
L1579[19:36:50] <Symmetryc> SoniEx2: At
which point it becomes ugly and icky lol
L1580[19:36:59] <SoniEx2> true
L1581[19:37:08] <Symmetryc> Do you know
what would be cool?
L1582[19:37:10] <SoniEx2> but isn't that
the point of this convo?
L1583[19:37:17] <Symmetryc> If a:b is the
same as a:b()
L1584[19:37:28] <SoniEx2> oh so you like
D?
L1585[19:37:43] <Symmetryc> ^ um
wat
L1586[19:37:58] <SoniEx2> dlang?
L1587[19:38:07] <Symmetryc>
dartlang.com?
L1588[19:38:17] *
Michiyo facepalm
L1589[19:38:19]
⇦ Parts: Michiyo (Michiyo@kenobi.pc-logix.com)
(Leaving))