<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:37:26] ⇦
Quits: JMK19 (~jmk19@ool-944ba8ba.dyn.optonline.net) (Ping timeout:
206 seconds)
L2[00:40:14] ⇦
Quits: Nachtara (~Nachiebre@173-22-110-5.client.mchsi.com) (Quit:
Always save before encountering a shiny.)
L3[00:48:52] ⇦
Quits: Cervator (~Thunderbi@2601:4c1:4000:1050:6967:5886:ecca:c893)
(Quit: Cervator)
L4[00:54:43] ⇨
Joins: lexiconicus
(webchat@DHCP-155-079.resnet.ua.edu)
L5[01:04:00] <lexiconicus> Hi, I was working
on setting up a oc server. I can't seem to get my remote terminal
to connect to the server when I shift right-click, is there
something I'm doing wrong?
L6[01:07:50] <fingercomp> you need to insert
a "Terminal Server" into the rack and connect it to the
side the server is connected to, and then click on the terminal
server while holding a remote terminal
L7[01:08:41] <lexiconicus> Thank you so
much!
L8[01:31:18] ⇦
Quits: lexiconicus (webchat@DHCP-155-079.resnet.ua.edu) (Quit: Web
client closed)
L9[02:09:23] ⇨
Joins: Inari (~Pinkishu@p5DEC64BE.dip0.t-ipconnect.de)
L10[02:25:33] ⇦
Quits: alekso56 (~cax@2001:464b:c2aa:0:745d:45ff:fe3b:a098) (Ping
timeout: 384 seconds)
L11[02:38:58] ⇦
Quits: techno156 (~techno156@137.154.137.113) (Quit:
Leaving)
L12[03:24:43] ⇨
Joins: alekso56 (~cax@ti0107a400-2521.bb.online.no)
L13[05:41:38] ⇨
Joins: BearishMushroom
(~BearishMu@90-231-174-194-no159.tbcn.telia.com)
L14[05:49:09] <g> a thought just occured to
me
L15[05:49:19] <g> now that nintendo has
released a portable console that is as graphically powerful as it
is
L16[05:49:29] <g> they're gonna get shunned
if they release another 3ds-like with terrible resolution
L17[05:54:50]
<20kdc>
Isn't the Tegra supposed to be Nvidia's mobile line? Pretty sure
Nintendo are intentionally lagging as far behind as possible here -
they probably couldn't have gotten away with another GameCube GPU
rehash. They'd be shunned for a bad 'main' console now or shunned
for a bad 'mobile' console later, and they took the 'later'
option.
L18[05:54:52] ⇨
Joins: VikeStep
(~VikeStep@192.43.96.58.static.exetel.com.au)
L19[06:11:23] ⇨
Joins: Vexatos
(~Vexatos@p200300556E5AFE62219131EAA6310C8E.dip0.t-ipconnect.de)
L20[06:11:23] zsh
sets mode: +v on Vexatos
L21[06:15:01] ⇨
Joins: Turtle (~SentientT@ip5657cbb2.direct-adsl.nl)
L22[06:20:02] <Vexatos> %tell Sangar daily
reminder to moo
L23[06:20:07] <MichiBot> Vexatos: Sangar
will be notified of this message when next seen.
L24[06:50:27] ⇦
Quits: npe|office (~NPExcepti@bps-gw.hrz.tu-chemnitz.de) (Remote
host closed the connection)
L25[07:00:38] ⇦
Quits: Vexatos
(~Vexatos@p200300556E5AFE62219131EAA6310C8E.dip0.t-ipconnect.de)
(Quit: I guess I have to go now. Bye ✔)
L26[07:03:18] ⇨
Joins: Vexatos
(~Vexatos@p200300556E5AFE62219131EAA6310C8E.dip0.t-ipconnect.de)
L27[07:03:18] zsh
sets mode: +v on Vexatos
L28[07:24:10] ⇨
Joins: Nachtara
(~Nachiebre@173-22-110-5.client.mchsi.com)
L29[07:29:25] ⇦
Quits: Tokiko (daiyousei@lorelei.tf) (Ping timeout: 190
seconds)
L30[07:31:52] ⇨
Joins: Tokiko (daiyousei@lorelei.tf)
L31[07:51:27] ⇨
Joins: SixDev
(uid64016@id-64016.hathersage.irccloud.com)
L32[08:13:38] ⇦
Quits: VikeStep (~VikeStep@192.43.96.58.static.exetel.com.au)
(Quit: Leaving)
L33[08:24:09] <XDjackieXD> gamax92: a VPN
server doesn't need a tun/tap device. IPSec for example doesn't
need one. many VPN protocol implementations do use them though
(OpenVPN, tinc, softether, ...)
L34[08:56:34] <vifino> @20kdc: I made our
ZPU emulator run on OC :P
L35[08:56:48] <vifino> And because it
actually has bitops, it is plenty fast.
L36[08:57:10] <vifino> ( Looking at you,
minetest. )
L37[08:57:58] <vifino> Right now, it only
runs an old version of REB, before DMA and all that.
L38[08:58:39] <vifino> I'm not currently at
my computer, so I can't compile a new version. I don't have your
latest changes either.
L39[09:03:02] <vifino> Maybe I'll port my
ZPU emulator to "Bare Metal", without an OS to clog up
resources. Component access and all.
L40[09:07:12] <vifino> I think I'll also
make memory (and peripherals, maybe) library-like.
L41[09:07:21]
<FLORANA>
hello :3
L42[09:07:54] <vifino> There are a few
different ways to emulate the memory. Tables, strings, tables of
strings, etc...
L43[09:07:57]
<FLORANA>
what is a ZPU?
L44[09:08:05] <vifino> A type of CPU.
L45[09:08:10]
<FLORANA>
oh
L46[09:08:19] <Forecaster> but kewl
L47[09:08:22] <vifino> Like ARM, x86,
etc..
L48[09:08:38]
<FLORANA>
ah
L49[09:08:49] <vifino> I definitly get it
to use less memory. It doesn't work without magical memory.
L50[09:09:00] <vifino> So, creative
computers only, pretty much.
L51[09:09:38]
<FLORANA>
i'm making my own emulator as well :3
L52[09:09:46]
<FLORANA>
cuz x86's IS is trash
L53[09:16:06] <Lizzy> %lua
L54[09:16:11] <Lizzy> %lua return
true
L55[09:16:11] <MichiBot> true
L57[09:17:14] <Lizzy> %lua assert(
type(Michiyo) == "number", "Michiyo is not a number,
she is a free woman!")
L58[09:17:14] <MichiBot> main:1: Michiyo is
not a number, she is a free woman!
L60[09:17:32] <Michiyo> lol, awesome.
L61[09:22:47] <vifino> @FLORANA: I can't
figure out what you mean with "IS", if that is meant as
an abbreviation. If it is, I never heard it.
L62[09:23:40]
<FLORANA> IS
= InstructionSet
L63[09:24:29]
<FLORANA>
it's the list of OPCODE(S) used
L64[09:24:41]
<FLORANA> on
a CPU
L65[09:24:58] <vifino> Geez. I thought
everyone uses insts as an abbreviaton for that.
L66[09:25:11]
<FLORANA>
lol
L67[09:25:31]
<FLORANA>
well IS is the shortest way of typing it
L68[09:25:33]
<FLORANA>
XD
L69[09:25:46] <bamajoe411> anyone know if
anyone has made a good text editor for oc?
L70[09:27:52]
<FLORANA>
btw(for thoses that don't know) i'm from a redstone server where we
make computers with redstone :3 (i've learned how stuff worked in
computers and now i'm taking my info to programming a emulator[and
this is like the 4th time i've restarted working on a emulator]
X3)
L71[09:35:29] <g> @20kdc RE your earlier
comment: nintendo have always used cheaper hardware to avoid
pricing themselves out of the market
L72[09:35:43] <g> that said every nintendo
game seems to squeeze the most out of the hardware that it can,
so
L73[09:36:40] <g> the thing is, if you're
buy a nintendo console, you are not buying it because of the
graphics
L74[09:36:58] <g> you're buying it because
you enjoy the style of gameplay their consoles have been known
for
L75[09:39:57] <g> ..that said, having
something portable that seems more powerful than the wiiu is quite
something
L76[09:46:43] ⇨
Joins: S3 (~S3@coreos2.lobsternetworks.com)
L77[09:47:05] <S3> wow sublime is kind of
dumb
L78[09:50:36] <Michiyo> I've made more in
sales today, than I have all week, and I've been open 50
minutes.
L79[09:53:26] <Lizzy> lol
L80[09:55:48] ⇨
Joins: xarses (~xarses@8.39.49.133)
L81[09:57:31] ⇨
Joins: xarses_ (~xarses@67.218.117.197)
L82[09:58:56] ⇦
Quits: xarses (~xarses@8.39.49.133) (Ping timeout: 180
seconds)
L83[09:59:43] ⇨
Joins: xarses (~xarses@67.218.117.197)
L84[10:00:56] ⇦
Quits: xarses_ (~xarses@67.218.117.197) (Ping timeout: 180
seconds)
L85[10:03:28] <Michiyo> sales this week
without today: 404.99, sales today 512.88
L86[10:04:19] <Forecaster> someone buy
something expensive?
L87[10:04:55] <Michiyo> someone bought 9
34.99 batteries, someone else bought a 119.99 antenna rotator, and
then someone bought various cables... for whatever the remainder
is
L88[10:05:19] <Vexatos> antenna rotator
sounds more useful than it probably is
L89[10:06:07] <Michiyo> well, we live in
the middle of nowhere, there are 3 cities with TV broadcasts, and
they're not in the same direction
L90[10:06:17] <Michiyo> one is east, one
west, and one north west..
L91[10:06:39] <Michiyo> so to get
everything we can get.... you either turn the antenna by hand, or
with a rotator
L92[10:09:41] <Vexatos> omnidirectional
antennae?
L93[10:11:01] <Michiyo> omni's are usually
pretty shitty range, or.. the ones that I can get are.
L94[10:11:27] <Michiyo> My omnis top out at
like 30 miles
L95[10:11:34] <Michiyo> it's 60 miles to
the nearest tower
L96[10:13:48] <Vexatos> Oh right,
murica
L97[10:13:57] <Vexatos> So radio coverage
isn't as good over there? :P
L98[10:14:19] <Vexatos> Over here, you have
radio towers placed so frequently you don't need to care
L99[10:16:00] <Michiyo> lel
L100[10:16:35] <Michiyo> like I said, 60
miles, closest, and it's behind a ridge, you either have to have a
50+ foot tall tower, or pray.
L101[10:16:47] <Vexatos> wow
L102[10:17:11] <Vexatos> Well, Germany is
26 times as densely populated
L103[10:17:17] <Vexatos> so it kind of
makes sense?
L104[10:19:10] ⇦
Quits: SixDev (uid64016@id-64016.hathersage.irccloud.com) (Quit:
Connection closed for inactivity)
L105[10:20:06] <Inari> %inv add the pointy
end of a radio tower
L106[10:20:10] <MichiBot> Inari: Added
'the pointy end of a radio tower' to inventory.
L107[10:20:45] <Vexatos> %inv add
electromagnetism
L108[10:20:46] <MichiBot> Vexatos: Added
'electromagnetism' to inventory.
L109[10:21:05] <Inari> %inv add
electronucleism
L110[10:21:05] <MichiBot> Inari: Added
'electronucleism' to inventory.
L111[10:23:48] <Michiyo> %inv list
L113[10:24:02] <Michiyo> %inv pre
cookie
L114[10:24:02] <MichiBot> Michiyo: Unknown
sub-command 'pre' (Try: add, remove, list)
L115[10:24:04] <Michiyo> Oh
L116[10:24:04] <Michiyo> right
L117[10:24:15] <Michiyo> I've not ran a
deploy yet
L118[10:24:16] <Michiyo> lol
L120[10:27:54] <Skye> Michiyo, couldn't
one get three antennas and connect them to the same coax?
L121[10:30:45] <Inari> "coax" is
such a lewd word to me :x
L122[10:32:02] <Michiyo> Skye, sure.. but
3 antennas would cost more than the rotator and one antenna
L123[10:32:16] <Skye> Inari, why?
L124[10:32:21] <Skye> Michiyo, ah
L125[10:32:22] <Michiyo> our 80 mile
antenna is $119.99
L126[10:32:29] <Michiyo> or 139.99
depending on which you get
L127[10:51:55] <Forecaster> what kind of
world is this where three antennas cost more than one antenna
L128[10:52:01] <Forecaster> shameful
D:
L129[10:52:13] ⇦
Quits: bauen1 (~quassel@2a02:810d:1980:1584:848a:c3bd:c683:8e22)
(Remote host closed the connection)
L130[10:53:23]
⇨ Joins: Trangar
(~Trangar@249-153-145-85.ftth.glasoperator.nl)
L131[11:09:53]
⇨ Joins: bauen1
(~quassel@2a02:810d:1980:1584:e53a:9878:6d1d:48fa)
L132[11:11:47] <AmandaC> Forecaster: this
truely is the worst possible timeline. :(
L133[11:15:13] <Michiyo> heh
L134[11:17:49]
⇨ Joins: Cervator
(~Thunderbi@2601:4c1:4000:1050:f090:c681:896:5140)
L135[11:30:15] ⇦
Quits: Nachtara (~Nachiebre@173-22-110-5.client.mchsi.com) (Quit:
Always save before encountering a shiny.)
L136[11:42:45]
⇨ Joins: Xilandro
(~Kodos@2602:306:ce20:6c30:f573:85e4:4c10:db4f)
L137[11:42:45]
zsh sets mode: +v on Xilandro
L138[11:44:38]
⇨ Joins: Nachtara
(~Nachiebre@173-22-110-5.client.mchsi.com)
L139[11:44:41] ⇦
Quits: Kodos (~Kodos@2602:306:ce20:6c30:f573:85e4:4c10:db4f) (Ping
timeout: 201 seconds)
L140[11:52:41] ⇦
Quits: Nachtara (~Nachiebre@173-22-110-5.client.mchsi.com) (Read
error: Connection reset by peer)
L141[11:53:14] <Forecaster> did you get
distracted from deploying the new update Michiyo? :P
L142[12:12:24]
⇨ Joins: bear989Sr
(~bear989@cpe-173-89-240-88.insight.res.rr.com)
L143[12:13:55] ⇦
Quits: bear989 (~bear989@cpe-173-89-240-88.insight.res.rr.com)
(Ping timeout: 206 seconds)
L144[12:23:35] <Mimiru> yeah, silly me,
getting distracted by work, at work and stuff
L145[12:23:36] <Mimiru> :P
L146[12:27:21] <AmandaC> Wait, you're
supposed to *do stuff* at work? TIL.
L147[12:28:42] <Mimiru> I know... I was
shocked too, but my boss was pretty clear about it
L148[12:29:40] <AmandaC> sounds like a
real downer, you should quit and find a new job.
L149[12:31:36] <Mimiru> I'd love too
:P
L150[12:41:20] <g> Wish I could find a
worthwhile job
L152[12:41:34] <g> Lot of people over here
going jobless
L153[12:42:43] <g> the government kinda
fucked us on that but they've started trying to fix this recently
(ireland)
L154[12:42:47] <g> will explain for anyone
that's interested
L156[12:44:54] <Forecaster> work
happens
L157[12:45:30] <g> not in ireland it
doesn't
L159[13:04:16] <Temia> How unusual. I'd
spin up an MC instance to look at that, but lazy.
L160[13:04:42] <AmandaC> Writing to it
doesn't seem to work
L161[13:05:26] <Temia> My initial guess
was that it was some manner of tmpfs, but if it's read-only, that
seems to defeat the point.
L162[13:07:15] <AmandaC> oh wait, my
writing code was wrong (Forgot to pass mode )
L163[13:08:08] <AmandaC> ah, yeah, tmpfs
seems to be right, reboot nuked it
L164[13:12:30] <AmandaC> if I have a tank
controller upgrade do I need a tank upgrade?
L165[13:18:14]
<20kdc> g:
and here I was thinking that Ireland might be a good place to
escape to
L166[13:19:04] ⇦
Quits: Trangar (~Trangar@249-153-145-85.ftth.glasoperator.nl)
(Quit: Leaving)
L167[13:29:33] <AmandaC> appears the
answer is yes. ~disassmbled the T-1000~
L168[13:31:47] <payonel> gamax92: you had
a question for me yesterday?
L169[13:34:22] <payonel> inari o/
L170[13:39:09] <Inari> payonel: o/
L172[13:39:55] <MichiBot> Tue Feb 28
15:16:31 CST 2017 @quasimondo: Sketch-to-face #pix2pix using least
squares loss after about 4 hours of training. It definitely
over-generalizes.
https://t.co/SvxTExOmFv
L174[13:41:31] <Inari> Haha
L175[13:42:41] <gamax92> payonel: ehh? is
404 for me
L176[13:43:48] <payonel> yeah...it's gone
for me too o_O
L177[13:44:10] <Inari> Weird
L178[13:44:12] <Inari> I saw it xXD
L179[13:44:30] <payonel> i'm just messing
around, it's my friend's pic -- but they didn't want it left on
imgur
L181[13:47:53] <payonel> gamax92: also,
what question did you have for me yesterday?
L182[13:50:18] <gamax92> this pix2pix
stuff is cool
L183[13:58:07]
⇨ Joins: Nachtara
(~Nachiebre@173-22-110-5.client.mchsi.com)
L184[14:08:56] ⇦
Quits: xarses (~xarses@67.218.117.197) (Ping timeout: 180
seconds)
L185[14:17:06]
⇨ Joins: xarses (~xarses@8.39.49.133)
L186[14:18:02]
⇨ Joins: xarses_ (~xarses@67.218.117.197)
L187[14:19:49] <AmandaC> payonel: is there
any reason the shell stuff in OpenOS doesn't show the alternate
options, just make them tab-through-able?
L188[14:21:02] ⇦
Quits: xarses (~xarses@8.39.49.133) (Ping timeout: 206
seconds)
L189[14:21:29] <Forecaster> that is a good
question
L190[14:21:36] <Forecaster> limited screen
space?
L191[14:22:24] ⇦
Parts: payonel (~payonel@2607:5300:60:9553::bad:c0de)
(Leaving))
L192[14:22:28]
⇨ Joins: payonel
(~payonel@2607:5300:60:9553::bad:c0de)
L193[14:22:29]
zsh sets mode: +v on payonel
L194[14:22:34] <AmandaC> limited screen
space can be abated by putting > 4 lines of options behind
another tab, and just showing a "..." in the other
cases.
L195[14:22:36] <payonel> wow, i really am
bad at that ---
L196[14:22:58] <payonel> i keep using ^w
to cut words, but i use hexchat now amd it closes my channel
tab
L197[14:23:03] <AmandaC> haha
L198[14:23:11] <payonel> AmandaC: openos
has tab completion, so i dont know what you mean
L199[14:23:16] <AmandaC> I think you can
change the keybindings to at least make it a no-op
L200[14:23:21] <AmandaC> payonel:
sec.
L201[14:23:32] <payonel> AmandaC: i tried
looking for that hotkey in hexchat and couldn't find it
L202[14:23:43] <payonel> but, i definitely
could have failed looking hard enough
L203[14:24:01] ⇦
Quits: ashka (~postmaste@server2.shellgratuit.com) (Quit: O
RLY)
L205[14:24:55] <AmandaC> I may just be
spoiled by my real-computer's shell tho
L206[14:25:19] <AmandaC> ( Which that is a
SS of)
L207[14:27:01] <payonel> i'm out of coke,
and i'm unhappy about that
L208[14:27:39] <payonel> AmandaC: well,
"spoiled" i am as well
L209[14:27:55] <payonel> it is my real
shell experience that got me involved with opencomputers
L210[14:28:22] <payonel> yeah i like the
"print the matches" behavior of my real shell, more than
the cycle-behavior in openos
L211[14:28:41] <payonel> it would
definitely be possible (note to Forecaster's comment) to force the
window to scroll a bit
L212[14:28:55] <payonel> i would also need
to page the results, there could be too many
L213[14:29:15] <payonel> it could at least
be a configurable option to enable that behavior
L214[14:29:22] <payonel> feel free to make
a request for it
L216[14:30:03] <payonel> Michiyo:
HUZAH!
L217[14:31:58] <payonel> AmandaC: also,
what is "SS" ?
L218[14:32:03] <AmandaC> Screen shot
L219[14:32:09] <payonel> oh :)
L220[14:39:26] <Inari> AmandaC: In Germany
that has some different connotations
L221[14:39:33]
⇨ Joins: Keridos|away
(~Keridos@ironhide.stw-bonn.de)
L222[14:42:13] <AmandaC> I forgot about
that. :P
L223[14:43:44] ***
Keridos|away is now known as Keridos
L224[14:43:48]
⇨ Joins: ashka
(~postmaste@server2.shellgratuit.com)
L225[14:48:01] <payonel> Inari: what
connotation? :)
L227[14:48:58] <payonel> oh, that :(
L228[15:05:21] <AmandaC> Well, it's a
start:
L230[15:05:52] <payonel> ha, nice!
:)
L231[15:07:22] <Inari> AmandaC: Ever
looked into OpenOS and its delayed loading of stuff? Quite
interesting
L232[15:08:18] <AmandaC> Inari: I saw
payonel's BTM talk which he talked about it some, but havn't done
any digging yet
L233[15:08:22] <Forecaster> this popcorn
is incredibly salty
L234[15:11:18] ⇦
Quits: xarses_ (~xarses@67.218.117.197) (Ping timeout: 206
seconds)
L235[15:11:26] <Forecaster> mostly on
account of me putting too much salt on them
L236[15:11:45] <Michiyo> lol
L237[15:11:47] <Forecaster> but it's also
somewhat jesus fault
L238[15:12:10]
⇨ Joins: xarses_ (~xarses@8.39.49.133)
L239[15:12:20] <Michiyo> What'd the
gardener do this time?
L240[15:13:05] <Forecaster> well if he had
a hand in the creation of everything, then everything is slightly
his fault
L241[15:13:17] <Forecaster> using the
finest logic here
L242[15:13:24] <Forecaster> vintage
logic
L243[15:13:28] <payonel> Michiyo: ha
L244[15:13:59]
⇨ Joins: xarses (~xarses@67.218.117.197)
L245[15:14:20] <Michiyo> payonel, :P
L247[15:14:58] <Forecaster> I don't know
any gardeners I'm afraid
L248[15:15:03] <Forecaster> if that's a
reference I don't get it :P
L249[15:16:08] ⇦
Quits: xarses_ (~xarses@8.39.49.133) (Ping timeout: 206
seconds)
L250[15:16:48] <Michiyo> It's a common gag
that lots of gardeners (here I guess not so much abroad.. lol) are
Mexicans, and Jesus is a Mexican name...
L251[15:17:06] <Forecaster> oh right
L252[15:17:10] <Forecaster> yeah I know of
that
L255[15:18:50] <Forecaster> hah! not
me!
L256[15:18:58] <Forecaster> I'm nowhere
near a beach
L257[15:20:38] <vifino> Oh, yeah, I made
my ZPU emulator run with a small basic under plan9k with just two
t3.5 ram sticks.
L258[15:21:51] ⇦
Quits: Nachtara (~Nachiebre@173-22-110-5.client.mchsi.com) (Quit:
Always save before encountering a shiny.)
L259[15:22:05] <gamax92> isn't that the
max? :P
L260[15:22:40] <vifino> Not for a
server.
L261[15:23:12] <vifino> You should totally
come check this out, gamax92.
L262[15:23:24] *
vifino is totally not super proud of himself
L263[15:23:26] <gamax92> watching game
grumps, hour long video :>
L264[15:23:42] <vifino> aww
L265[15:24:07] <vifino> oh, i wanted to
ask you something
L266[15:24:49] <gamax92> hmm?
L267[15:25:05] <vifino> do you know how
one could make relatively efficient memory storage? currently using
a table, key is the address, value is the byte.
L268[15:26:01] <gamax92> a string?
L269[15:26:13] <vifino> thought about
storing a bunch of strings in a table, each string representing a
couple bytes.
L270[15:26:25] <vifino> gamax92: but
performance! and memory usage!
L271[15:26:45] <gamax92> strings literally
would use less memory usage then a table of many numbers
L272[15:26:57] <gamax92> performance is i
dunno not tested it but works okay for representing memory in an
emulator
L273[15:27:27] <payonel> what's the
question?
L274[15:27:31] <vifino> concatenating huge
strings probably uses a lot of memory..
L275[15:28:36] <vifino> payonel: I have
made my ZPU emulator run on OC under plan9k. A plain table uses a
lot of memory, especially in regards to overhead.
L276[15:29:04] <vifino> I need something
not-much-worse performing that is less... terrible.
L277[15:30:00] <vifino> yeah, i could just
use a single string but i think concatenating huge strings results
in a lot of memory usage at the point of concatenation.
L278[15:30:13] <Skye> vifino, maybe not
use one number per byte
L279[15:30:34] <Skye> and also the problem
is that the index is a number too
L280[15:31:56] <vifino> I think a bunch of
smaller strings should be relatively efficient and won't end up
having half the memory twice in ram.
L281[15:32:26] <payonel> Michiyo: can
Corded pm me a list of current users?
L282[15:35:40] <Michiyo> currently?
no
L283[15:35:50] <Skye> payonel, move has
issues
L284[15:36:12] <Skye> "mv: cannot
write a directory, '/old', into itself, '/home/old#'"
L285[15:36:14] <Skye> spot the issue
L286[15:37:02] <payonel> woah, how did
that get past my massive cp and mv testing :)
L287[15:37:06] <payonel> sec, let me test
that
L288[15:37:36] <payonel> yikes
L289[15:37:39] <payonel> Skye: thanks
....
L290[15:37:43] <Inari> Haha
L292[15:39:06] <payonel> but i'll add that
case, and fix it
L293[15:39:16] <Forecaster> what's the
issue?
L294[15:39:25] <payonel> Forecaster: `mv
/old /home/old`
L296[15:40:25] <payonel> AmandaC: nice
work :)
L297[15:40:58] <AmandaC> That corruption
is the same I saw when I misunderstood gpu.fill as taking two sets
of coords, but it shouldn't be passing huge values to height
now
L299[15:41:11] <MichiBot>
The
Uncomfortable Effort of Thinking | length:
12m 10s |
Likes:
43,236 Dislikes:
230 Views:
400,106 | by
Veritasium | Published On 2/3/2017
L300[15:41:15] <Forecaster> speaking of
memory
L301[15:41:20] <Forecaster> sortof
L302[15:41:46] <Skye> when will Lua5.3 be
made default
L303[15:41:51] <gamax92> never
L304[15:42:01] <Skye> why?
L305[15:42:10] <gamax92> cause that would
break stuff
L306[15:42:20] <Skye> what would it
break?
L307[15:42:39] <Michiyo> payonel, I'll
work on that in a bit, btw
L308[15:43:03] <gamax92> old interactions
between integers and numbers which used to be numbers and
numbers
L310[15:43:34] <Skye> what exactly is the
incompatability?
L311[15:45:54] <gamax92> Skye: various
functions and operations in lua 5.3 that would silently convert
numbers to integers now give errors
L313[15:46:18] <Skye> that might cause
issues with something I'm trying to write
L314[15:46:21] <Skye> h,,
L315[15:46:47] <Skye> gamax92, one could
patch functions with pure lua, I guess you can't do so with the
operations?
L316[15:47:44] <gamax92> I don't remember
what the operation issues are, the only thing that comes to mind is
%, where n%0 errors and n%0.0 gives -nan
L318[15:48:37] <gamax92> cause that issue
came up with running openos tab complete in 5.3
L319[15:49:46] <Skye> I guess there's no
way to make it compatible fully? shame...
L320[15:50:25] <gamax92> sure, compile it
with a flag that makes it silently convert as it used to
L321[15:50:47] <gamax92> is what I ended
up doing here and I have a lua5.3-strict binary otherwise
L322[15:51:08] <Skye> gamax92, well...
it'd be nice if OC upgraded.
L323[15:51:21] <Skye> gamax92, why doesn't
OC have that to replace Lua 5.2 then? :P
L324[15:53:15] <vifino> because i am sure
there is a reason for that change.
L325[15:53:49] <Skye> well... have 5.3 and
keep it strict
L326[15:53:56] <vifino> If there wouldn't
be, why did it change at all?
L327[15:53:57] <Skye> and replace 5.2 with
the non strict 5.3?
L328[15:54:23] <AmandaC> then 5.2 isn't
5.2
L329[15:56:41] <Michiyo> Oh... payonel
thought... I'm not sure if this will dump EVERY user it can see, or
the connected to the current endpoint :/
L331[16:08:48] <Skye> payonel, is there a
way to require a package relative to the current file but not
relative to the working dir?
L332[16:09:00] <Michiyo> and it doesn't do
that when printing, so I guess it's an issue with the paste api I'm
using
L333[16:10:03] <Michiyo> Oh.. or it's a
feature I didn't know about
L334[16:12:05] ⇦
Quits: mallrat208 (~mallrat20@107-145-175-135.res.bhn.net) (Ping
timeout: 190 seconds)
L336[16:13:07] <Michiyo> (Also that's not
in corded yet, it's in Corded-Test command is !users)
L337[16:16:57] <vifino> os.sleep(0) yields
in plan9k, right?
L338[16:17:22] <vifino> because
os.sleep(0.001) seems to sleep for a whole second >_>
L339[16:24:03] <AmandaC> payonel: It seems
the corruption I'm seeing is from me misunderstanding how I can
shorten the cache entries' length to just what'd be new.
L340[16:25:28] <payonel> AmandaC: i would
clear everything from the prompt position to the end of the
screen
L341[16:25:35] <payonel> just a big fat
fill ' '
L342[16:25:42] <AmandaC> yup
L343[16:25:59] <AmandaC> The issue is I'm
slicing and dicing the cache wrong in the term.write of the
options
L344[16:26:18] <payonel> i see
L345[16:26:34] <payonel> this is a
function of term.read, btw (to tab complete)
L346[16:26:38] <AmandaC> I'd like it to
just contain what'd be "new" of the completion
L347[16:26:42] <payonel> so i could add an
option to the options table that is passed to term.read
L348[16:27:02] <payonel> you could say:
term.read({AmandaC_BetterTabComplete=true})
L349[16:27:07] <payonel> obviously...not
that literally :)
L350[16:27:20] <AmandaC> so eg,
/usr/lib/<tab> wouldn't have a series of columns of
/usr/lib/foo.lib but instead just foo.lib
L351[16:27:59] <AmandaC> What my require
does is overrides term.internal.tab with something that prints it
prettier. :P
L352[16:28:17] <Michiyo> payonel, will
that output work for your needs?
L353[16:28:27] <payonel> yep, it's
great
L354[16:29:46] ⇦
Quits: Corded (~Corded@hekate.pc-logix.com) ()
L355[16:29:58]
⇨ Joins: Corded (~Corded@hekate.pc-logix.com)
L356[16:29:58]
zsh sets mode: +v on Corded
L357[16:30:19] <Michiyo> that should do it
then
L358[16:30:21] <Michiyo> I hope
L359[16:30:21] <Michiyo> lol
L360[16:30:48] <Forecaster> gasp
L361[16:31:03] ⇦
Quits: MichiBot (~lb@hekate.pc-logix.com) ()
L362[16:31:19]
⇨ Joins: MichiBot (~lb@hekate.pc-logix.com)
L363[16:31:19]
zsh sets mode: +v on MichiBot
L364[16:31:54] <payonel> thanks Michiyo --
so how do i query it?
L365[16:32:15] <Forecaster> with
!users?
L366[16:32:17] <Michiyo> just send it a PM
with !users
L367[16:32:30] <Forecaster> yay I was
correct
L368[16:32:45] <payonel> nada
L369[16:32:50] <payonel> /msg MichiBot
!users
L370[16:32:52] <payonel> ^
L371[16:32:57] <payonel> hhaha
L372[16:33:00] <payonel> Corded ...
L373[16:33:01] <payonel> duh
L374[16:33:03] *
payonel runs
L375[16:33:28] <Forecaster> xD
L376[16:33:54] <payonel> Michiyo: how do
you like your "thanks", fist bump, high five, or
hugs?
L377[16:34:28] <Forecaster> cookies
L378[16:34:42] <payonel> needs be a
verb
L379[16:34:49] <payonel> not gonna cookie
anyone in irc, thanks :)
L380[16:34:57] *
CompanionCube cookies payonel
L381[16:35:03] <Michiyo> woaaah hey
now
L382[16:35:03] <Michiyo> :P
L383[16:35:04] <payonel> bad touch
L384[16:35:05] <payonel> no
L385[16:35:32] <Michiyo> %inv add
cookies
L386[16:35:33] <MichiBot> Michiyo: Added
'cookies' to inventory.
L387[16:35:37] <Michiyo> %inv
L388[16:35:37] <MichiBot> Michiyo: Unknown
sub-command '' (Try: list, add, remove, preserve, unpreserve)
L389[16:35:43] <Michiyo> %inv preserve
Cookies
L390[16:35:44] <MichiBot> Michiyo: Item
preserved
L391[16:35:51] <Michiyo> UNLIMITED
COOKIES!
L392[16:36:00] <CompanionCube> is there a
command to just get something randomly
L393[16:36:04] <Forecaster> alias is
"pres" iirc
L394[16:36:15] <Forecaster> %give
CompanionCube random
L395[16:36:15] *
MichiBot gives CompanionCube electromagnetism from her
inventory
L396[16:36:16] <AmandaC> %give
CompanionCube random
L397[16:36:18] *
MichiBot gives CompanionCube S3 from her inventory
L398[16:36:19] <Michiyo> theres a random
opti.. there it is :P
L399[16:36:37] <Forecaster> %give Michiyo
cookies
L400[16:36:37] *
MichiBot gives Michiyo cookies from her inventory
L401[16:37:04] <Michiyo> \o/
L402[16:37:18] <Forecaster> %give payonel
cookies
L403[16:37:18] <MichiBot> Forecaster: No
item found to give away.
L404[16:37:22] <Forecaster> oh
L405[16:37:24] <Forecaster> hm
L406[16:38:29] <Michiyo> o_o
L407[16:38:33] <Michiyo> %inv list
L410[16:38:49] <Michiyo> NOT UNLIMITED
COOKIES!
L411[16:38:58] <gamax92> do you like cat
monsters?
L413[16:39:14] <Forecaster> coulda sworn
that should have respected the preserve
L414[16:41:25] ⇦
Quits: Inari (~Pinkishu@p5DEC64BE.dip0.t-ipconnect.de) (Quit: 'The
wave-particle duality is like a struggle between a tiger and a
shark: each is supreme in his own element but helpless in that of
the other.')
L415[16:48:17] <payonel> AmandaC: put the
last_num_rows in the cache
L416[16:48:52] <payonel> well...
L417[16:48:53] <payonel> yeah
L418[16:49:09] <payonel> interesting ..
you have some clever ideas
L419[16:49:16] <payonel> but i was
thinking of things slightly differently
L420[16:49:26] <payonel> anyways, maybe it
would be easier to use the cache like i said
L421[16:49:47] <payonel> and when there is
no last_num_rows in the cache, just clear the whole screen from
dy+cy+1 to end
L422[16:49:57] <payonel> gpu.fill(dx,dy +
cy + 1, w, h, ' ')
L423[16:52:39] <AmandaC> Not the fill
that's wrong, it's the lines I mentioned to reduce the length of
the options I'm making visible:
http://a.ddna.cc/0p1919011441/Image%202017-03-03%20at%205.52.17%20PM.png
L424[16:53:15]
⇨ Joins: Nathan1852
(~Nathan185@hsi-kbw-091-089-189-253.hsi2.kabel-badenwuerttemberg.de)
L425[16:53:22] <AmandaC> I'm not clear
what I should be grabbing from input or similar to get the right
index to cut off the front of entries in cache
L426[16:53:38] <payonel> oh i see
L427[16:55:38] <AmandaC> For the limited
screen size that OC can has, I feel it'd be a better UX to cut off
the bit before you hit `tab` for the completion options
L428[16:57:25] <payonel> you'll want the
index, not the length
L429[16:57:45] <payonel>
unicode.sub(cache[i], input.index + 1)
L430[16:57:51] <payonel> that's just a
guess to +1
L431[16:58:04] <payonel> index i believe
is zero based
L432[17:08:33] <AmandaC> + 1 appears to be
making it worse
L433[17:09:47] <vifino> payonel:
loadstring doesn't take relative paths
L434[17:09:48] <vifino> fix pls
L435[17:10:07] <vifino> er
L436[17:10:08] <vifino> loadfile
L437[17:10:11] <vifino> close
enough.
L438[17:10:12] <AmandaC> lua
L439[17:11:35] <AmandaC> www
L440[17:11:38] <AmandaC> ww*
L441[17:12:48] <AmandaC> It seems the code
that handles completion now doesn't update index properly, or it
does so in a way that doesn't make sense to me. moving my code
before the "update-input" code maeks it work for the
first completion, but not subsiquent ones
L442[17:13:33]
⇨ Joins: xarses_ (~xarses@8.39.49.133)
L443[17:16:29] ⇦
Quits: xarses (~xarses@67.218.117.197) (Ping timeout: 206
seconds)
L444[17:17:14]
⇨ Joins: xarses (~xarses@67.218.117.197)
L445[17:17:18] ⇦
Quits: xarses_ (~xarses@8.39.49.133) (Ping timeout: 194
seconds)
L446[17:18:26] <payonel> AmandaC:
input.index is where the cursor is, index.data is the entire text,
input:update() writes more text to input.data and moves the
input.index, input:move() moves the index within the
input.data
L447[17:19:04] <payonel> note that
input:update() will write the text at input.index
L448[17:19:38] <Xilandro> Is it possible
to sort a table by a specific value in each entry
L449[17:20:11] ⇦
Quits: MichiBot (~lb@hekate.pc-logix.com) ()
L450[17:20:26]
⇨ Joins: MichiBot (~lb@hekate.pc-logix.com)
L451[17:20:26]
zsh sets mode: +v on MichiBot
L452[17:20:36] <AmandaC> payonel: that's
what I thought, but I'm unclear on why the unicode.sub(cache[i],
input.index) only works right on the first command, then.
L453[17:21:00] <payonel> yeah that's weird
to me as well
L454[17:21:08] <Michiyo> %inv add
cookies
L455[17:21:12] <MichiBot> Michiyo: Added
'cookies' to inventory.
L456[17:21:22] <Lizzy> ~oc gpu
L458[17:21:23] <AmandaC> but I'm running
low on spoons, so I may just leave it be for now and go watch some
youtube videos
L459[17:21:27] <Michiyo> %inv pre
cookies
L460[17:21:27] <MichiBot> Michiyo: Item
preserved
L461[17:21:38] <Michiyo> %give AmandaC
cookies
L462[17:21:38] *
MichiBot gives AmandaC cookies from her inventory
L463[17:21:40] ⇦
Quits: Crazylemon (~Crazylemo@207.62.170.220) (Remote host closed
the connection)
L464[17:22:16] <payonel> Xilandro:
table.sort takes a 2nd arg (optional) for a compare function
L465[17:22:26] <Forecaster> %inv
list
L467[17:22:59] <AmandaC> It also seems
like it doesn't work if I cache input.index in the cache, so I'm at
a total loss
L468[17:23:04]
⇨ Joins: AngelODeath
(webchat@lvlyon6102w-lp140-01-64-228-237-162.dsl.bell.ca)
L469[17:23:20] <AmandaC> (doesn't work
past the first tab-hit)
L470[17:23:48] <Xilandro> payonel, well,
specifically I want to sort a table that's generated from using
BetterStorage's crates by item count
L471[17:23:53] <AngelODeath> im looking
for some one to watch my stream and help me code and network
trainstations and refinerys
L472[17:24:25] <payonel> %lua return
0
L473[17:24:25] <MichiBot> 0
L474[17:24:35] <Xilandro> AngelODeath,
what sort of help are you looking for specifically? You'd have
better luck asking in here as opposed to asking someone to watch a
stream
L475[17:24:41] <payonel> %lua
t={"z","a"} return t
L476[17:24:41] <MichiBot> table:
0x7f453c001ac0
L477[17:25:16] <payonel> %lua
t={"z","a"} table.sort(t, function(a, b) return
a<b end return t[1], t[2]
L478[17:25:16] <MichiBot> main:1: ')'
expected near 'return'
L479[17:25:19] <payonel> bah
L480[17:25:26] <payonel> %lua
t={"z","a"} table.sort(t, function(a, b) return
a<b end) return t[1], t[2]
L481[17:25:26] <MichiBot> a, z
L482[17:25:30] <payonel> there
L483[17:25:54] <AmandaC> oh wait, I forgot
to reboot
L484[17:26:08] <payonel> AmandaC:
L485[17:26:09] <AmandaC> so yeah,
something's corrupting index between calls to the term.internal.tab
function
L486[17:26:20] <payonel> you can also
package.loaded[your_lib_name] = nil
L487[17:26:44] <AngelODeath> well im
looking to have muti computers talking to one doing central
computer for train control and refueling and truns to versus depots
and refinrys but this is far out of my ability
L488[17:27:20] <AmandaC> or rather,
input.index isn't behaving right. It seems to be changed to be eol
after the tab call
L489[17:28:10] <AmandaC> or rather,
input.index isn't behaving right. It seems to be changed to be eol
after the tab call
L490[17:28:12] <AmandaC> er, ww
L491[17:28:20] <payonel> AmandaC: :) well,
the input class is, i'll admit, a bit of voodoo
L492[17:28:26] <payonel> i didn't harden
it for public use
L493[17:28:43] <AmandaC> haha, fair
enough
L494[17:28:58] <payonel> it does handle
both vertial and horizontal scroll and with unicode correctly,
though
L496[17:30:26] <payonel> AmandaC: i may
work on this - but question, my tab complete (irl) is
different
L497[17:30:43] <payonel> i am more used to
a columnized print, as you've implemented, but then the prompt is
reprinted below
L498[17:30:51] <AmandaC> ah.
L499[17:30:57] <AmandaC> My shell does the
completion below IRL
L500[17:30:59] <payonel> were i to
integrate and build a solution for this
L501[17:31:09] <payonel> well, i could do
both i suppose
L502[17:31:11] <payonel> below and
above
L503[17:31:16] <payonel> but, what would
you like it named?
L504[17:31:19] <payonel> in the options
table
L505[17:31:20] <AmandaC> To do it above
the code would need to know what the prompt
L506[17:31:26] <AmandaC> +is
L507[17:31:59] <payonel> ah fair,
term.read() can be used from any "prompt"
L508[17:32:00] <AmandaC> honestly, I don't
mind anything in particular. Maybe something like graphical_tab or
so if you're not sure on any names yourself
L509[17:32:37] <AmandaC> anyway, going to
go off to typoland (getting off the compy, will pop in occasionally
from mobile)
L510[17:32:49] <payonel> ok, cool
L511[17:33:07] <AmandaC> ping me with any
questions, and I'll answer to the best of my ability. :P
L512[17:36:49] <Izaya> ~w gpu
L514[17:36:51] <Izaya> ~w computer
L516[17:37:21] <Izaya> ~w component
L518[17:44:21] <AngelODeath>
setWakeThreshold(threshold:number) is this like a sleep till the
number has been met
L519[17:48:06] <Vexatos> %tell Sangar
daily reminder to read tells
L520[17:48:08] <MichiBot> Vexatos: Sangar
will be notified of this message when next seen.
L521[17:48:22] <Sangar> yeah yeah
L522[17:51:00] <Vexatos> %tell Sangar yeah
yeah
L523[17:51:00] <MichiBot> Vexatos: Sangar
will be notified of this message when next seen.
L524[17:52:44] <payonel> AngelODeath: no,
that's the redstone strength needed to wake the machine up
L525[17:52:49] <payonel> Sangar: o/
L526[17:54:55] <Sangar> \o
L527[17:55:40] <Vexatos> Sangar, more
OCing confirmed?
L528[17:57:39] <AmandaC> Sangar's oc, do
not steal
L529[17:58:09] <Vexatos> "SANGAR NOW
OPERATES AT 6.2GHz"
L530[17:58:24] <Vexatos> Any more
puns?
L531[18:07:01]
<TYKUHN2>
Can I haz 1.2THz?
L532[18:09:13] ⇦
Quits: Nathan1852
(~Nathan185@hsi-kbw-091-089-189-253.hsi2.kabel-badenwuerttemberg.de)
(Read error: Connection reset by peer)
L533[18:09:33] <AmandaC> Only if you want
to let three magic blue smoke out
L534[18:09:46] <AmandaC>
S/three/the/
L535[18:11:11] <Vexatos> Sangar
<3
L536[18:11:16] ⇦
Quits: Vexatos
(~Vexatos@p200300556E5AFE62219131EAA6310C8E.dip0.t-ipconnect.de)
(Quit: I guess I have to go now. Bye ✔)
L537[18:13:02] ⇦
Quits: xarses (~xarses@67.218.117.197) (Ping timeout: 206
seconds)
L538[18:17:14] <ds84182> coprocessors or
riot
L539[18:19:54] <payonel> ha
L540[18:25:21] <Sangar> :P
L541[18:25:52]
⇨ Joins: VikeStep
(~VikeStep@192.43.96.58.static.exetel.com.au)
L542[18:26:25] <Sangar> sorry, busy
setting up laptop for the next two weeks... i'll be taking care of
my parents' cat, cause they'll be on vacation.
L543[18:26:39] <payonel> new laptop?
L544[18:26:42] <Sangar> meaning i'll more
or less only have my laptop.
L545[18:27:04] <Sangar> refurbished
x230
L546[18:27:23] <Sangar> so i'll either be
super productive, or super not
L547[18:28:44] <Ashindigo_> So I learned
that I have 203 tabs open on my browser
L548[18:28:51] <Ashindigo_> I may have a
problem
L549[18:29:34] <Sangar> that sounds like a
very familiar problem >_>
L550[18:33:52] ⇦
Quits: Turtle (~SentientT@ip5657cbb2.direct-adsl.nl) (Quit:
Nettalk6 - www.ntalk.de)
L551[18:35:54] <AmandaC> Ashindigo_: ye,
yes you do. I get itchy around 10 tabs before I start massacring
them
L552[18:36:18] <Ashindigo_> But I need
them!
L553[18:41:20]
⇨ Joins: techno156 (~techno156@137.154.137.113)
L554[18:43:29] ⇦
Quits: AngelODeath
(webchat@lvlyon6102w-lp140-01-64-228-237-162.dsl.bell.ca) (Ping
timeout: 180 seconds)
L555[18:43:35] ⇦
Quits: Cazzar (~CazzarZNC@vocaloid.lovers.at.cazzar.net) (Quit: ZNC
- http://znc.in)
L556[18:43:35] ⇦
Quits: Reika (~Reika@reika.kalseki.mods.abrarsyed.com) (Quit: ZNC -
http://znc.in)
L557[18:45:23]
⇨ Joins: Cazzar
(~CazzarZNC@vocaloid.lovers.at.cazzar.net)
L558[18:45:23]
zsh sets mode: +v on Cazzar
L559[18:45:40]
⇨ Joins: Reika
(~Reika@reika.kalseki.mods.abrarsyed.com)
L560[18:49:06] ⇦
Quits: techno156 (~techno156@137.154.137.113) (Quit:
Leaving)
L561[18:51:34]
<TYKUHN2>
God I hate C++ but it looks kewl
L562[18:53:16] <payonel> tykuhn2: i'm a
fan of c++ in case you had any questions
L563[18:54:14]
<TYKUHN2> So
curl is odd
L564[18:54:21]
<TYKUHN2> To
get data easily I'll pass it via pointers
L565[18:54:29]
<TYKUHN2>
(Probably)
L566[18:54:53]
<TYKUHN2> I
want to define what variable to store the pointer in but I don't
know the size of the data.
L567[18:55:04]
<TYKUHN2> Do
I still do char* data; or do I do some other type?
L568[18:55:14]
<TYKUHN2>
(Data is char type)
L569[18:55:45] <payonel> only use char* if
your api requires it
L570[18:56:46] <payonel> or if you are
manipulating bytes, and char "characters". but even then,
there are often better ways than a raw pointer
L571[18:57:06]
<TYKUHN2>
curl requires a write handler to receive data
L572[18:57:10]
<TYKUHN2> So
basically
L573[18:57:18] <payonel> you don't know
the "size"? is size the sizeof the type or the length in
bytes of a stream of data
L574[18:57:34] ⇦
Quits: Hobbyboy (Hobbyboy@hobbyboy.co.uk) (Ping timeout: 189
seconds)
L575[18:57:41]
<TYKUHN2>
Length of bytes in stream of data
L576[18:57:51]
<TYKUHN2>
Function is handling variable commands out and in
L577[18:58:12] <payonel> you're using some
existing curl api for c++? if so, what method are you
calling?
L578[18:59:29]
<TYKUHN2>
Doing the easy API
L579[18:59:35]
<TYKUHN2> so
curl_easy_perform()
L580[18:59:49]
<TYKUHN2> In
libcurl
L582[19:00:45] <payonel> there is no char*
in that
L583[19:01:43]
<TYKUHN2>
curl_easy_perform uses parameters set by curl_setopt
L584[19:02:15]
<TYKUHN2>
Particularly in this case curl_setopt(curl, CURLOPT_WRITEFUNCTION,
write_function);
L585[19:02:38]
<TYKUHN2>
and curl_setopt(curl, CURLOPT_WRITEDATA, dataprt);
L586[19:02:45]
<TYKUHN2>
and curl_setopt(curl, CURLOPT_WRITEDATA, dataptr);
L587[19:05:16]
<TYKUHN2> I
hope this is valid code ?
L588[19:05:33] <payonel> yeah, but --
forgive me, where is the question?
L589[19:05:59]
<TYKUHN2>
for dataptr I am using char* right?
L590[19:06:15]
<TYKUHN2>
Because I'm pointing to variable length char data.
L591[19:06:56] <payonel> for
curl_setopt(curl, CURLOPT_WRITEDATA, dataptr)? dataptr is void*,
but that's just "any dumb pointer"
L592[19:06:59]
<TYKUHN2> I
suppose it should because char[2] is just the third cell
consecutive of cell size char
L593[19:07:22]
<TYKUHN2>
The write_function example is void* because I want to say they
allow you to put anything in WRITEDATA
L595[19:08:02] <payonel> "A data
pointer to pass to the write callback."
L597[19:08:29]
<TYKUHN2>
Basically an arbitrary items
L598[19:08:43]
<TYKUHN2>
That way the write function can track what it's handling
L599[19:08:49] <payonel> btw, this is C,
not c++
L600[19:08:57] <payonel> at least, it is
c-style
L601[19:08:58]
<TYKUHN2>
Close enough
L602[19:09:11]
<TYKUHN2>
libcurl is designed for C but I'm writing it in C++
L603[19:09:24]
<TYKUHN2> So
far the IDE hasn't spat anything erroneous out.
L604[19:09:33] <payonel> "libcurl
will use 'fwrite' as a callback by default. " so you can give
it a FILE* by default
L605[19:09:54] <payonel> but if you supply
your own write function, you pointer can be to anything
L606[19:10:09] <payonel> your write
function can be coupled with the pointer you supply
L607[19:11:45] <payonel> the point is,
whatever pointer address you give to set opts, you will be given in
the write functio ncallback
L608[19:13:12]
<TYKUHN2>
IDE's pissed at me now because of "deprecated string to
char[78] conversion"
L609[19:13:32] <payonel> what's the line
of code look like?
L610[19:15:29]
<TYKUHN2>
What line of code?
L611[19:17:01] <payonel> for that
deprecated warning
L612[19:17:09] <payonel> also, what ide or
what compiler are you using?
L613[19:17:21]
<TYKUHN2>
IDE is Eclipse comiler is Cygwin
L614[19:17:36]
<TYKUHN2>
And that specific line contains private information
L615[19:17:58]
<TYKUHN2>
Although I fixed it by not making it a pointer I didn't intend to
make in the first place
L616[19:20:32]
<TYKUHN2>
Variable or field "curl" delcared void
L617[19:21:42]
<TYKUHN2> I
forgot the star
L618[19:23:53] *
payonel is afk
L619[19:24:37]
<TYKUHN2>
I'd love to learn C++ properly
L620[19:28:36]
<TYKUHN2>
"If the robot wants to hit the button and make tea equally,
then it will lie and manipulate you to hit the button if you made
it so it cannot itself"
L621[19:39:10]
⇨ Joins: Hobbyboy (Hobbyboy@hobbyboy.co.uk)
L622[19:43:16]
<TYKUHN2>
So
L623[19:43:19]
<TYKUHN2>
crap
L624[19:43:30]
<TYKUHN2>
have to pass length of array
L625[19:47:22]
⇨ Joins: Spectrum
(webchat@99-27-237-152.lightspeed.oshkwi.sbcglobal.net)
L626[19:47:52] <Spectrum> Hello, anyone
there?
L627[19:48:56]
<TYKUHN2>
¿Qué es una persona?
L628[19:51:37] <Spectrum> Hola yo no habla
mucho espanol
L629[19:51:51]
⇨ Joins: Doty1154
(~Doty1154@2601:648:8000:134f:10c0:19fa:90ac:cc76)
L630[19:52:01] <Spectrum> hello
L631[19:52:16]
<TYKUHN2>
Ugh C++ is pissy again
L632[19:52:46] <Spectrum> lol i don't know
even a fragment of what i am doing
L633[19:53:50] <Spectrum> so C++ is the
programming language for OC, right?
L634[19:54:24]
<TYKUHN2>
No
L635[19:54:27]
<TYKUHN2> OC
uses Lua
L636[19:54:28] <AmandaC> No, BrianFuck
is
L637[19:54:33] <AmandaC> Brain*
L638[19:54:39]
<TYKUHN2>
What is it with people and spelling Brain wrong
L639[19:54:50] <AmandaC> It's a
string-distance-1 typo to make
L640[19:54:55] <Spectrum> xD
L642[19:55:20]
<TYKUHN2>
PAYONEL ?
L643[19:56:02]
<TYKUHN2> Oh
it's one of those "I only care about errors during build"
errors
L644[19:56:58] <Spectrum> i have never
really done any programming with anything before so this will be
new to me xD
L645[19:59:57]
<TYKUHN2>
```static const int charSize = sizeof(char);``` becuase
L646[20:03:16]
<TYKUHN2>
@payonel do I need to include the ending null in the array count of
char?
L647[20:04:09] <Spectrum> i am soooo
confused right now
L648[20:04:34] ⇦
Quits: fingercomp
(~fingercom@host-46-50-128-141.bbcustomer.zsttk.net) (Ping timeout:
194 seconds)
L649[20:05:05]
⇨ Joins: fingercomp
(~fingercom@host-46-50-128-141.bbcustomer.zsttk.net)
L650[20:05:53]
<TYKUHN2>
?
L651[20:06:01]
<TYKUHN2>
Libcurl isn't being included
L652[20:06:57]
<TYKUHN2>
Spectrum ignore me, I'm coding something unrelated to OC
L653[20:08:31]
⇨ Joins: AngelODeath
(webchat@lvlyon6102w-lp140-01-64-228-237-162.dsl.bell.ca)
L654[20:12:56]
<TYKUHN2>
Just realised I included <string.h> might as well use
it
L655[20:20:52]
<TYKUHN2>
cannot convert char* to std::string
L656[20:22:23] <AngelODeath> i need help
making 1 computer talk to another main computer
L657[20:24:18]
<TYKUHN2>
What's your problem in particular?
L658[20:27:58] <AngelODeath> i have
absulotely no idea how to do it i have a basic very basic of
lua
L659[20:28:46]
<TYKUHN2> No
idea what you do know so that's not a good start ?
L660[20:29:44] <AngelODeath> i dont even
know where to start with the entier system i have in mind i do know
i want to computers to talk to each other
L661[20:32:02] <AngelODeath> basicly im
trying to make a train go pick up the carts from the mine but the
mine fills carts then sends them down to the linking bay after 5
carts are sitting linked the computer needs to detect there is 5
carts and sends a message to the home computer to send the
train
L662[20:33:46] <AngelODeath> thats the
basic idea but i have a few fail safes i need to add so the mine is
not sending more carts to the linking bay while the train has been
requested
L664[20:36:13]
<TYKUHN2>
WTF
L665[20:36:28]
<TYKUHN2>
C++ compiler spitting out syntax errors for #define
L666[20:38:23]
<TYKUHN2>
Well fixed it
L667[20:38:36]
<TYKUHN2>
Now I'm back to "undefined reference to
curl_easy_init()"
L668[20:43:11] <gamax92> "I have a
degree in doing exactly what I'm fucking up right now"
L669[20:44:31] <Spectrum> i am being
ambitious for not knowing whati am doing and trying to make a vr
chamber with opencomputers
L670[20:45:15]
<TYKUHN2>
\o/ I BUILT SUCCESSFULLY
L671[20:45:36]
<TYKUHN2> It
was not very clear that the place to put the linker parameter was
in the linker settings ¯\_(ツ)_/¯
L672[20:57:16]
⇨ Joins: mib_y3mc0u (Mibbit@67.213.24.203)
L673[20:57:20] <mib_y3mc0u> I have Excel
2010 and was wondering if anyone knows how to get the print pages
to be to the photo tray and not the main tray. I made some index
card sized pages but it is printing to the main tray and no photo
tray. proof here
http://tinypic.com/r/2ywv2gx/9
L674[20:58:44] <Xilandro> mib_y3mc0u, This
is a channel for a Minecraft mod, I think you're in the wrong
place
L675[20:59:17]
<TYKUHN2>
It's really cool debugging an uninitialized string
L676[20:59:21]
<TYKUHN2>
"sgfbasifuaghfsyg"
L677[20:59:44] <mib_y3mc0u> THERE IS NO
RIGHT FUCKING PLACE
L678[21:00:20] <Mimiru> Well.. someone has
anger issues..
L679[21:00:46] <mib_y3mc0u> NOIPE
L680[21:00:49] ⇦
Parts: mib_y3mc0u (Mibbit@67.213.24.203) ())
L681[21:02:46]
<TYKUHN2>
Damn I have to wireshark this
L682[21:04:09]
⇨ Joins: Nachtara
(~Nachiebre@173-22-110-5.client.mchsi.com)
L683[21:12:36] <Spectrum> i don't even
understand 5% of what i am looking through in the Lua thing
L684[21:13:08] ⇦
Quits: Ashindigo_ (uid202308@id-202308.hathersage.irccloud.com)
(Quit: Connection closed for inactivity)
L685[21:16:19]
<TYKUHN2>
I'll probably make a proper tutorial at some point
L686[21:33:59] ⇦
Quits: Spectrum
(webchat@99-27-237-152.lightspeed.oshkwi.sbcglobal.net) (Ping
timeout: 180 seconds)
L687[21:50:00] <AngelODeath> ok i have a
config value set Carts = 0
L688[21:50:58] <AngelODeath> if
component.getbundledinput(sides.north, colors.blue) =<0 then
Carts = +1
L689[21:51:04] <AngelODeath> will that
work
L690[21:53:16]
<TYKUHN2>
Maybe
L691[21:54:54] <AngelODeath> its default
value is 0 it ticks up 1 every time a cart pass's over the
diraction emiting track i need 5 carts before it moves to sending
out a redsone signal to another cable
L692[21:56:31] <AngelODeath> so it needs
to count 5 carts then call to another computer for a train but how
do i keep it looping till the 5th cart hits
L693[21:58:29]
⇨ Joins: ferdinand (Mibbit@67.213.24.203)
L694[21:58:47] <ferdinand> I have Excel
2010 and was wondering if anyone knows how to get the print pages
to be to the photo tray and not the main tray. I made some index
card sized pages but it is printing to the main tray and no photo
tray. proof here
http://tinypic.com/r/2ywv2gx/9
L695[22:00:28] <AngelODeath> is that
person a bot some one else just asked the same question
earler
L696[22:01:24] <ferdinand> Not a bot but
you can ignore me like you do anyways.
L697[22:02:47] <AngelODeath> what is the
comment out syntax // or --
L698[22:08:01] <Xilandro> ferdinand, do
you have the photo tray extended
L699[22:08:30] <ferdinand> It is made with
the printer
L700[22:09:15] <Xilandro> Okay, try this;
Lift the output tray, and extend the photo tray. Then remove all
the paper from the photo tray. Slide the photo tray alllll the way
into its slot, as far as it can go. Lower the output tray, then
press the OK button
L701[22:09:41] <Xilandro> Then turn it
off, unplug the cord from your electrical outlet, then the printer,
then disconnect the USB cable
L702[22:09:46] ⇦
Quits: Nachtara (~Nachiebre@173-22-110-5.client.mchsi.com) (Quit:
Always save before encountering a shiny.)
L703[22:09:59] <Xilandro> Wait ~60
seconds, reconnect the power cord to the printer FIRST, then the
outlet
L704[22:10:05] <Xilandro> Power it on
BEFORE reconnecting the USB
L705[22:10:27] <Xilandro> Then, try to
print your document again
L706[22:11:12] <Xilandro> Do -all- that
and see if it fixes it
L707[22:11:23] <ferdinand> Not usb3
L708[22:11:28] <Xilandro> I didn't
ask
L709[22:11:30] <ferdinand> The printer
shows
L710[22:11:45] <Xilandro> Okay, then you
need a USB3.0 cable and/or port on your PC
L711[22:11:53] <ferdinand> .Cannot.
L712[22:11:57] <Xilandro> No idea if that
would effect functionality
L713[22:12:04] <Xilandro> Okay, well do
those steps anyway
L714[22:12:04] <ferdinand> THE PRINTER IS
THERE
L715[22:12:07] <Xilandro> YES I KNOW
L716[22:12:08] <Xilandro> Fuck
L717[22:12:14] <Xilandro> Don't ask for
help if you're not willing to follow SIMPLE FUCKING
INSTRUCTIONS
L718[22:12:15] <ferdinand> DID NOT
WORK
L719[22:12:22] <Xilandro> You didn't even
wait 60 seconds
L720[22:12:26] <ferdinand> IT DID NOT
WOORK
L721[22:12:29] <Xilandro> So I know you're
bullshitting
L722[22:12:33] <Xilandro> !kckban
ferdinand Holy shit
L723[22:12:38] <ferdinand> MAYBE BECAUSE I
HAVE ALREADY TRIED IT
L724[22:12:39] <Xilandro> !kickban
ferdinand Holy shit
L725[22:12:39] ***
ferdinand was kicked by zsh ((Xilandro (Kodos)) Holy
shit))
L726[22:12:52] <Xilandro> Not the right
channel anyway
L727[22:13:02] <Xilandro> But Jesus H.
Christ on a stick
L728[22:15:41]
<TYKUHN2>
It's not a stick it's a cross
L729[22:22:57] ⇦
Quits: BearishMushroom
(~BearishMu@90-231-174-194-no159.tbcn.telia.com) (Read error:
Connection reset by peer)
L730[22:40:05] <Izaya> so two
sticks?
L731[22:50:11] <AngelODeath> --Mining
Depot CartsController print("Mining Depot
CartsController") --constants Carts = 0 if Carts => 4 then
component.getBundledInput(sides.north, colors.blue) =< 0 then
Carts = +1 elseif Carts = 5 component.setBundleOutput(sides.north,
colors.yellow, 250)
L732[22:50:22] <AngelODeath> im getting
errors from this
L733[22:54:14]
<TYKUHN2>
What's the error
L734[22:55:48] <AngelODeath> line 8 'then'
expected near '='
L735[22:56:10]
<TYKUHN2>
Keep in mind that you're lines got butchered when you put them into
IRC
L736[22:56:40] <AngelODeath> if Carts
=> 4 then component.getBundledInput(sides.north, colors.blue)
=< 0 then Carts = +1
L737[22:56:43] <AngelODeath> is line
8
L738[22:56:50]
<TYKUHN2>
Carts = +1 isn't valid
L739[22:56:57]
<TYKUHN2>
Carts = Carts + 1 is
L740[22:57:16]
<TYKUHN2>
Unless recently (as in Lua 5.3) added there is no increment
operator
L741[22:57:38] <AngelODeath> i changed it
same error
L742[22:58:24]
<TYKUHN2>
Not 100% sure
L743[22:58:58]
<TYKUHN2>
Flip the = and the > around
L744[22:59:06]
<TYKUHN2>
Lua appears pesky about that
L746[22:59:25] <AngelODeath> if u wanna
see it
L747[23:00:16]
<TYKUHN2>
The greater side of a greater/less than comparison should be the
side opposite the equality sign
L748[23:00:50]
<TYKUHN2>
That's a complete lie
L749[23:00:56]
<TYKUHN2>
This is why we have lua consoles at the ready
L750[23:01:10]
<TYKUHN2>
Atleast for Lua 5.3 the less/greather than is always to the
left
L751[23:01:17] <AngelODeath> k ill try
that
L752[23:01:48]
<TYKUHN2>
Jesus youtube gaming has an odd interface
L753[23:02:01]
<TYKUHN2>
Well its past midnight here. Can't stay much longer.
L754[23:02:38] <AngelODeath> first time
ive see the gaming interface
L755[23:03:29]
<TYKUHN2>
Might I add GCC building on windows is AMAZINGLY fast
L756[23:03:37]
<TYKUHN2>
(compared to other builder's I've used)
L757[23:04:04] <AngelODeath> yes now line
9 is saying the same
L758[23:04:46]
<TYKUHN2>
Attempt the previous fixes if they apply
L759[23:05:09] <AngelODeath> i did move
all the < and > to the left
L760[23:05:24]
<TYKUHN2>
You're missing an if
L761[23:05:27] <AngelODeath> it jsut moved
to line 9 with the same error
L762[23:07:55] <AngelODeath> great now
line 14 same and ive add then to it but no joy
L763[23:08:28]
<TYKUHN2>
Comparison of equality is ==
L764[23:08:47] <AngelODeath> do i still
need then
L765[23:10:08]
<TYKUHN2>
Every if is partnered with a then
L766[23:10:24]
<TYKUHN2>
Else also delays but does not remove the need for an end
L767[23:10:50] <AngelODeath> ive scripted
open tibia there was THEN DO is that a paramiter
L768[23:10:55]
<TYKUHN2>
static string gateway; not registering with the debugger ?
L769[23:11:13] <Xilandro> AngelODeath, can
you pastebin your entire code, so I can look at it?
L770[23:11:24]
<TYKUHN2> No
it's probably a different language
L771[23:13:22] <AngelODeath> i think i got
some where no errors
L772[23:13:40]
<TYKUHN2>
@payonel Thanks for the help. Although now std:strings hates me.
Cya o/
L773[23:14:23] <AngelODeath> i can still
paste bin it but ive solved this first issue
L774[23:16:07] <AngelODeath> if i want the
computer to print a value i do print(""Carts"")
right ?
L775[23:16:37] <AngelODeath> debug
perps
L776[23:19:14]
⇨ Joins: Nachtara
(~Nachiebre@173-22-110-5.client.mchsi.com)
L777[23:24:31] <Xilandro> If the value is
a string or number, just saying print(value) works
L778[23:24:32] <Xilandro> no quotes
L780[23:43:20] <AngelODeath> ive done some
changes but im erroring again
L781[23:43:41] <AngelODeath> i need to
constently check the carts then movon after that
L782[23:49:09] <Xilandro> Erm
L783[23:49:17] <Xilandro> What is 8-13
supposed to be doing
L784[23:49:26] <Xilandro> Explain in plain
English, try not to pseudo code
L785[23:56:00] <AngelODeath> so there is a
directional redstone emitter track that sends out a redstone signal
every time a cart pass's over it i need the code to check for 5
pulses so it adds Carts + 1 every time it detects the input of
restone till it hits Carts 5 which will then eventualy send a new
line of code
L786[23:57:03] <AngelODeath> the print
Carts is to debug i dont know if i even did that right
L787[23:59:48] <Xilandro> Hokay
L788[23:59:50] <Xilandro> Hang on a
few