<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:00:09] <AmandaC> Night nerds
L3[00:24:39] ⇦
Quits: Doty1154
(Doty1154!~Doty1154@c-69-181-167-40.hsd1.ca.comcast.net) (Read
error: Connection reset by peer)
L4[00:44:01] ⇨
Joins: jackmcbarn
(jackmcbarn!jackmcbarn@gateway02.insomnia247.nl)
L5[01:12:33] ⇨
Joins: Arimil
(Arimil!~Renari@75.97.175.72.res-cmts.bgr.ptd.net)
L6[01:14:52] ⇦
Quits: Renari (Renari!~Renari@75.97.175.72.res-cmts.bgr.ptd.net)
(Ping timeout: 202 seconds)
L7[01:33:51] <payonel> AmandaC: oh my
gosh
L8[01:33:59] <payonel> til what pil stands
for
L9[01:34:33] <payonel> Temia: what soni
thread? what is mastodon?
L10[01:36:28] <payonel> Izaya: what reverse
code?
L11[01:36:30] <payonel> irl
L12[01:36:46] <Izaya> I want to scroll
backwards
L13[01:37:00] <payonel> what is the irl
code?
L14[01:37:07] <Izaya> I forget uh
L15[01:37:16] <Izaya> (Also, mastodon is a
federated twitter clone)
L16[01:38:06] <Izaya> \27M according to
this
L17[01:38:17] <payonel> oh that looks like
a vt52 codde
L18[01:38:18] <payonel> code*
L19[01:38:31] <Izaya> I want to write a
text editor
L20[01:38:50] <payonel> in vt100 codes?
:)
L21[01:38:55] <Izaya> using only control
codes so I can use it out of game also
L22[01:39:30] <Izaya> So I'd prefer to
scroll backwards rather than redraw the screen
L23[01:40:06] <Izaya> When the cursor moves
up and etc
L25[01:41:08] <payonel> but that only moves
the cursor up a line
L26[01:41:11] <payonel> it doesn't scroll
the screen
L28[01:41:48] <payonel> anyways, in openos
we do have \27M
L29[01:43:02] <payonel> i dont have all of
those codes
L30[01:47:23]
<Forecaster>
@ the fb video
L31[01:47:55]
<Forecaster>
"every language is built, or not built, around it"
L32[01:47:56]
<Forecaster>
...
L33[01:48:11]
<Forecaster>
"Everything in the universe is either a potato, or not a
potato"
L34[01:49:58] <payonel> Forecaster: i have
my issues with that video. but having those issues also make me
feel like a jerk
L35[01:50:18] <Izaya> so I can scroll the
screen up? :D
L36[01:51:56] <payonel> Izaya: you can move
a cursor up, and if you move past the top, it'll push text
down
L37[01:52:06] <payonel> but..it doesn't
redraw the "lost" lines
L38[01:52:08] <payonel> nor does it
irl
L39[01:52:12] <Izaya> that'll do
L40[01:52:31] <Izaya> \27[H\27M
L41[01:52:40] <payonel> yep, you can do
that in openos too
L42[01:53:06] <Izaya> also is there a way
using only ANSI escapes to detect the size of the terminal?
L43[01:53:13] <payonel> yes
L44[01:53:19] <payonel> you can query the
terminal size
L45[01:53:47] <payonel> \27[6n
L46[01:53:54] <payonel> it'll write to
stdin buffer
L47[01:54:17] <Izaya> Query Cursor Position
<ESC>[6n
L48[01:54:25] <payonel> yes
L49[01:54:49] <payonel> you first move the
cursor to the bottom right
L50[01:54:56] <payonel> then return the
cursor (save, restore)
L51[01:55:06] <Izaya> right so
L52[01:55:21] <Izaya> you'd do like
L53[01:55:22] <payonel> the data written to
stdin is: string.format("\27%d;%dR", string.char(0x1b),
window.y, window.x)
L54[01:55:24] <payonel> derp
L55[01:55:32] <payonel>
string.format("\27%d;%dR", window.y, window.x)
L56[01:55:41] <Izaya> \27[1000;1000H
followed by \27[6n
L57[01:55:46] <payonel> yes
L58[01:57:52] <Izaya> neat
L59[01:58:21] <Izaya> ~w io.read
L61[02:01:04] *
Izaya frowns
L62[02:01:17] <Izaya> okay sure io.read
then reads that... once you press enter
L64[02:02:03] <Izaya> somewhat
arbitrarily
L65[02:02:06] <Izaya> excellent
L66[02:02:47] <payonel> ah
L67[02:02:52] <payonel> well
L68[02:02:57] <payonel> can you io.read(1)
?
L69[02:03:02] <Izaya> yes but no
L70[02:03:08] <Izaya> I can, but I have to
press enter
L71[02:03:14] <Izaya> sometimes
L72[02:03:17] <payonel> ...
L73[02:03:32] <Izaya> (fwiw I'm using
xfce4-terminal and native lua to test this)
L74[02:03:53] <payonel> and you have to
press enter "sometimes?"
L75[02:03:57] <payonel> care to
elaborate?
L76[02:04:06] <Izaya> sometimes it won't
return anything till I press enter
L77[02:04:12] <Izaya> other times it'll
return immediately
L78[02:04:59] <payonel> sorry -- i
understand what you meant by sometimes, but, if you've been able to
pinpoint the conditions for that
L79[02:05:14] <Izaya> actually never mind I
simply have to press enter
L80[02:05:16] <Izaya> neat
L81[02:06:12] <payonel> lame
L83[02:06:30] <Izaya> which is weird
because io.read is "equivelant to
io.input():read()"
L84[02:06:51] <Izaya> which according to
the docs I should be able to use a number to specify an amount but
the call only works once
L85[02:06:59] <Izaya> then it requires you
to press enter
L86[02:07:14] <Izaya> (that is, the
^[[77;239R line)
L87[02:07:27] <payonel> yeah, i
follow
L88[02:08:05] <payonel> it's just
disappointing because i thought it wrote to the buffer and yet it's
acting like the buffer is waiting on cursor read
L89[02:08:14] <payonel> cursor doesn't
write to stdin until newline is entered
L90[02:08:23] <payonel> there is a
"host" layer (irl) and in openos, i call it the cursor
layer
L91[02:08:26] <Izaya> can I shove a
"\n" into the buffer?
L92[02:08:33] <payonel> irl? i dont think
so
L93[02:08:53] <payonel> now, irl you can
make a c call and set stdin into "medium" mode, where you
dont have to read until newline
L94[02:09:00] <payonel> i dont have input
modes in openos
L95[02:09:07] <payonel> but you could
detect which env you were in i suppsoe
L96[02:09:09] <payonel> suppose*
L97[02:11:18] <Izaya> even if I
io.input():setvbuf("no") it doesn't work
L99[02:12:16] <Izaya> the recommended way
I've seen for nonblocking I/O in lua is "use luasocket and set
a socket's fd to stdin"
L100[02:13:08] <Izaya> yeah line buffering
on stdin or bust
L101[02:13:10] <Izaya> :|
L102[02:13:22] <Izaya> guess I'm not
writing a text editor
L103[02:14:16] <Izaya> the recommended way
is to use ncurses >.>
L104[02:14:25] <payonel> but, it's okay to
have a if _oc_ then ... else ... end wrapper
L105[02:14:30] <payonel> screw
ncurses
L106[02:14:51] <payonel> i'd wrap just
this one stdin call
L107[02:15:01] <payonel> because i dont
have openos support for it the real way
L108[02:15:17] <payonel> in fact, once you
get it working with a luasocket, you should let me know
L109[02:15:28] <payonel> then i'll maybe
make an openos emulation for it
L110[02:15:31] <payonel> :D
L111[02:15:37] <payonel> win:win
L113[02:19:36] <payonel> aye
L114[02:19:40] <payonel> that's the mode
change i'm talking about
L115[02:19:44] ⇦
Quits: Backslash (Backslash!~Backslash@88.153.113.13) (Quit:
Leaving)
L116[02:19:51] <payonel> i've been keeping
it in the back of my mind for a long time
L117[02:19:55] <payonel> whilst i make
cursor changes in openos
L118[02:20:40] <Izaya> what a pain
L119[02:20:44] <Izaya> oh well
L120[02:20:52] <Izaya> gotta do minitel
1.0 before I work on anything else
L121[02:21:02] <payonel> btw
L122[02:21:12] <payonel> that isn't the
level of control i was planning to give in openos
L123[02:21:20] <payonel> i read more of
the SO q+a you linked
L124[02:21:22] *
Izaya stares guiltily at the issue tracker
L125[02:21:30] <payonel> that, as you
already have read, is about a timeout on read
L126[02:21:41] <payonel> that i care less
about
L127[02:21:59] <payonel> i just want
simpler things. like unbuffered mode, where you can read by
byte
L128[02:22:07] *
Izaya nods
L129[02:22:26] <payonel> and, medium mode,
where you get all key hits, unmapped to keysyms
L130[02:22:43] <Izaya> I *thought* using
setvbuf to no would un-buffer it but no >.>
L131[02:22:57] <payonel> twould be too
simple
L132[02:24:13] <Izaya> True enough
L133[02:24:38] <Izaya> Plenty of people
would be out of a job if stuff worked as expected >.>
L134[02:25:18] <payonel> <.<
L135[02:34:51] <Izaya> luasocket method
doesn't work
L136[02:34:57] <Izaya> stdin:1: calling
'receive' on bad self (tcp{client} expected, got tcp{master})
L137[02:35:00] <Izaya> expected I
guess
L138[02:35:42] <Izaya> I'd have to connect
to something then call setfd
L139[02:37:35] <Izaya> connecting to
google then switching fds kinda works except now I'm just typing
into the voic
L140[02:37:37] <Izaya> void
L141[02:37:39] <Izaya> nice
L142[02:38:39] <payonel> there has to be a
better way
L143[02:42:01] <payonel> Izaya:
hmm...doing some googling, it doesn't seem luasocket is the easy
fix as i thought it would be
L144[02:42:02] <payonel> weird
L145[02:42:25] <payonel> well, changing
the stdin mode to medium might be the only way
L146[02:45:59] <Izaya> so I guess I have
to have a getch function that has a different mode for OpenOS and
native Lua
L147[02:46:01] <Izaya> nice
L148[02:46:35] <payonel> yes. and when you
get it working native, i'll review the code and decide how i want
it to look for openos
L149[02:46:45] <Izaya> expect it in like a
month
L150[02:46:47] <Izaya> :P
L151[02:46:52] <payonel> of course no
rush
L152[02:46:54] <payonel> :)
L154[03:07:35]
<Forecaster>
...
L155[03:07:37]
<Forecaster>
goddammit
L156[03:07:50]
<Forecaster>
I've been spending a lot of time trying to read an excel sheet in
code
L157[03:07:59] <asie> why not use a
csv?
L158[03:08:16]
<Forecaster>
with it not working, only to just find out the reason it didn't
work is because the file didn't upload and is 0 bytes
L159[03:08:17]
<Forecaster>
:|
L160[03:08:20] <payonel> Forecaster:
xslx?
L161[03:08:27]
<Forecaster>
because the source data is an xslx sheet
L162[03:08:36]
<Forecaster>
and I don't have control of that
L163[03:08:52] <payonel> :)
L164[03:08:55]
<Forecaster>
xlsx I eamn
L165[03:08:57]
<Forecaster>
xlsx I mean [Edited]
L166[03:09:17] <payonel> heh, i derped it
too
L167[03:09:56]
<Forecaster>
I only got this vague "The target table is not in the expected
format" exception
L168[03:10:30]
<Forecaster>
I can't believe "no data" is an unexpected format
:|
L169[03:10:40]
<Forecaster>
/s
L170[03:11:10]
<Forecaster>
oh
L171[03:11:18]
<Forecaster>
I was using the wrong file upload thing...
L172[03:11:41]
<Forecaster>
apparently .net doesn't care that there's no file selected
L173[03:11:46]
<Forecaster>
it just saves nothing to the path
L174[03:13:26]
<Forecaster>
I've spent a few hours on this :|
L175[04:04:01]
<Forecaster>
it works a lot better now that the file is actually
received..
L176[04:23:34]
⇨ Joins: Vexatos
(Vexatos!~Vexatos@p200300C10704FD60BA78F5D84E9A006A.dip0.t-ipconnect.de)
L177[04:23:34]
zsh sets mode: +v on Vexatos
L178[05:01:27] ⇦
Quits: logan2611
(logan2611!~logan2611@184-96-179-183.hlrn.qwest.net) (Read error:
-0x1: UNKNOWN ERROR CODE (0001))
L179[05:01:39]
⇨ Joins: logan2611
(logan2611!~logan2611@184-96-179-183.hlrn.qwest.net)
L180[07:01:08]
⇨ Joins: Thutmose
(Thutmose!~Patrick@host-69-59-79-181.nctv.com)
L181[07:38:16]
⇨ Joins: Inari (Inari!~Pinkishu@84.175.255.231)
L182[07:48:51] ⇦
Quits: Thutmose (Thutmose!~Patrick@host-69-59-79-181.nctv.com)
(Quit: Leaving.)
L184[08:03:12]
<Forecaster>
oh no, it's a beige person!
L185[08:03:29] <Inari> Thats a white blood
cell
L186[08:03:41] <Inari> %loot
L187[08:03:42] <MichiBot> Inari: You get a
loot box! It contains a paper crane.
L188[08:03:57] *
Inari attaches it to the end of AmandaC's tail
L189[08:06:03]
<MGR> The
lighting does make him look beige though
L190[08:06:19] <Inari> Yeah
L192[08:49:05]
<Forecaster>
+1 for IRS ninnies
L193[08:52:36]
<Forecaster>
weird, my computers don't respond to remote control
requests...
L194[08:52:41]
<Forecaster>
but they're shown as online
L195[08:52:51]
<Forecaster>
and my webserver is still available
L196[09:10:07]
⇨ Joins: ben_mkiv
(ben_mkiv!~ben_mkiv@p5B16EA08.dip0.t-ipconnect.de)
L197[09:49:45]
<Kodos> I
call bullshit on that story
L198[09:49:54]
<Kodos>
Simply because the Senator supposedly helped with the matter
L199[09:50:01]
<Kodos> And
we all know senators don't do anything that don't line their
pockets
L200[09:50:27] <ben_mkiv> %s senators
people
L201[09:50:40] <ben_mkiv>
s/senators/people
L202[09:50:41] <MichiBot> <Kodos>
And we all know people don't do anything that don't line their
pockets
L203[10:23:42]
<Mettaton_Fab> %loot
L204[10:23:42] <MichiBot> Mettaton_Fab:
You get a loot box! It contains a triangular ball.
L205[11:16:29]
<Forecaster>
aw dammit
L206[11:16:36]
<Forecaster>
the updater is enabled...
L207[11:16:51]
<Forecaster>
I launched the re-installed firefox and it looks like it's
updating
L208[11:19:43]
<Forecaster>
ah right
L209[11:20:06]
<Forecaster>
or wait no... I only copied in the extensions dir from the old
profile...
L210[11:20:09]
<Forecaster>
:|
L211[11:23:07]
<Forecaster>
sigh
L212[11:24:34]
<Kodos>
%loot
L213[11:24:34] <MichiBot> Kodos: You get a
loot box! It contains a weed.
L215[11:32:56] *
CompanionCube has acquired more manga
L216[11:44:16]
<Forecaster>
ugh
L217[11:44:18]
<Forecaster>
forget it
L218[11:44:21]
<Forecaster>
screw firefox
L219[11:44:41]
<Forecaster>
I got greasemonkey to work, so I can get my userscripts out
L220[11:47:22] <CompanionCube> but chrome
:(
L221[11:48:39]
<Forecaster>
I need to make my own app for my phone to send urls directly to my
downloading system
L222[11:48:47]
<Forecaster>
how do I app
L223[11:50:16]
<Forecaster>
well, bye firefox, you used to be good.
L224[11:50:22]
<Forecaster>
*uninstalled*
L225[11:53:52]
<Kodos> Just
get ~~Chrome~~ Vivaldi
L226[11:54:14]
<Forecaster>
I didn't like Vivaldi
L227[12:16:24]
⇨ Joins: enjarai
(enjarai!~enjarai@5ED0D786.cm-7-1d.dynamic.ziggo.nl)
L228[12:16:42] ⇦
Quits: enjarai (enjarai!~enjarai@5ED0D786.cm-7-1d.dynamic.ziggo.nl)
(Client Quit)
L229[12:18:10]
⇨ Joins: enjarai
(enjarai!~enjarai@5ED0D786.cm-7-1d.dynamic.ziggo.nl)
L230[12:18:17] ⇦
Parts: enjarai (enjarai!~enjarai@5ED0D786.cm-7-1d.dynamic.ziggo.nl)
())
L231[12:19:30]
⇨ Joins: enjarai2
(enjarai2!~enjarai2@5ed0d786.cm-7-1d.dynamic.ziggo.nl)
L232[12:19:31] ⇦
Parts: enjarai2
(enjarai2!~enjarai2@5ed0d786.cm-7-1d.dynamic.ziggo.nl)
())
L234[12:48:55]
<Kodos>
Bonus points if it’s your arts teacher and you show her
L236[12:51:36] <Inari> "I fill out
the paperwork with the IRS and SS Administration" Didn't know
Neonazis were that advanced in the US
L237[12:52:23] <AmandaC> %choose more
hallucinations or do something else
L238[12:52:23] <MichiBot> AmandaC: My
grandfather always told me that do something else is the way to
go!
L239[14:16:27]
⇨ Joins: Doty1154
(Doty1154!~Doty1154@c-69-181-167-40.hsd1.ca.comcast.net)
L241[14:37:57] ⇦
Quits: seebs (seebs!~seebs@24.196.59.174) (Quit:
Leaving)
L242[14:38:50]
⇨ Joins: seebs (seebs!~seebs@24.196.59.174)
L243[14:39:26] ⇦
Quits: seebs (seebs!~seebs@24.196.59.174) (Client
Quit)
L244[14:39:45]
⇨ Joins: seebs (seebs!~seebs@24.196.59.174)
L245[14:39:55] <seebs> Oh, hey. What if I
fixed the "account registration isn't working"
thing.
L246[14:41:05] <seebs> anyway, any tips on
how to actually investigate an NBT tag on an object would be
appreciated. (and if my previous messages got eaten because
espernet and my IRC client disagreed, let me know and I can
summarize.)
L247[14:41:37]
<Forecaster>
MineTweaker/CraftTweaker works for items
L248[14:42:17] <Inari>
"disagree"?
L249[14:43:09] <seebs> so i said a couple
of things, and there were no responses that i saw, which is
unusual-ish in this channel, and then i noticed that my espernet
server tab consisted of more lines of "SASL authentication
rejected" than I have scrollback.
L250[14:43:27] <seebs> and then I thought
"hey what if i fixed that and tried talking when i wasn't
likely being treated as a spambot by the IRC server"
L251[14:44:02] <seebs> and indeed, looking
from discord, i don't see messages there that i had seen on my end
in my IRC client here, so.
L252[14:44:22] *
Inari is bored
L253[14:44:24] ⇦
Quits: seebs (seebs!~seebs@24.196.59.174) (Client
Quit)
L254[14:44:32]
<seebs>
actually discord's more convenient anyway
L255[14:45:57]
<seebs> so i
am not entirely a newbie, but i'm a bit over my head for trying to
patch the mod significantly. what i want to do: sort thaumcraft
essentia jars, which have nbt tags to tell them apart. i found the
option for allowing access to nbt tags, but that seems to give me
raw binary bits. i think the canonical solution would be a mod
integration which adds direct and explicit support and exposes the
values it intends to expose, but this is beyond my
L256[14:45:57]
<seebs>
competence.
L257[14:46:41]
<seebs> so
i'm looking for, given objects which have nbt tags like { aspect:
"Ignis", amount: 247 }, how would I make an OC robot able
to extract this data and work with it as strings/numbers?
L258[14:49:05]
<Forecaster>
do you know they actually store their data like that?
L259[14:49:09] <asie> @seebs that's
strange
L260[14:49:27]
<seebs> if i
hold them and do `/mt hand`, i get something that looks like
that?
L261[14:49:34]
<Forecaster>
then yeah
L262[14:49:50] <asie> why were you using
SASL anyway?
L263[14:49:53]
<seebs> `
Item §2<thaumcraft:jar_normal>§a.withTag({Aspects: [{amount:
2, key: "praemunio"}]})`
L265[14:50:33]
<seebs> i
have NO idea. it may have been a hexchat default config, it may
have been corrupt config from having shared home directories over
multiple years of stuff... who the heck knows. but the nick wasn't
registered, so i registered it.
L266[14:51:42]
<seebs> so
my basic goal is to do something like `x =
invcont.getStackInSlot(...)`, then a miracle occurs, then have the
string "praemunio" and the number 2 available to
me.
L267[14:52:22]
<seebs> i
enabled the access-to-tags thing, and it yields something binary
which does not expand with `data.inflate`.
L268[14:53:12]
<seebs> i
looked at the database, but so far as i can tell, that won't work
well because of the amount field; it's not enough to have one thing
with each aspect, but i'd need one for each aspect, each amount,
and each type of jar and whether or not the jar has a label on it,
to have items which "match". unless the matches can be
imprecise, which I didn't see a way to do.
L269[14:54:55]
<seebs> i
can sort of read the code in the integrations enough to guess at
what a thaumcraft integration might look like, but not well enough
to build one and have a reasonable expectation that it would even
compile, let alone do what i intend.
L270[14:56:25]
<Forecaster>
dammit, enabling a PhoneGap app to receive shares from other apps
is more difficult that I thought it'd be :|
L271[14:56:42]
<Forecaster>
you'd think that'd be pretty basic functionality, but apparently
it's not standard
L273[15:07:17] ⇦
Quits: MajGenRelativity
(MajGenRelativity!~MajGenRel@c-73-123-203-209.hsd1.ma.comcast.net)
(Ping timeout: 180 seconds)
L274[15:07:30]
⇨ Joins: MajGenRelativity
(MajGenRelativity!~MajGenRel@c-73-123-203-209.hsd1.ma.comcast.net)
L275[15:08:31]
<Forecaster>
time to look at android studio I guess
L276[15:08:39]
<Forecaster>
hopefully it's easier with a proper app
L277[15:15:02] ⇦
Quits: MajGenRelativity
(MajGenRelativity!~MajGenRel@c-73-123-203-209.hsd1.ma.comcast.net)
(Ping timeout: 190 seconds)
L278[15:18:19]
⇨ Joins: MajGenRelativity
(MajGenRelativity!~MajGenRel@c-73-123-203-209.hsd1.ma.comcast.net)
L279[15:20:19]
⇨ Joins: Backslash
(Backslash!~Backslash@ip-88-153-113-13.hsi04.unitymediagroup.de)
L280[15:23:47] ⇦
Quits: MajGenRelativity
(MajGenRelativity!~MajGenRel@c-73-123-203-209.hsd1.ma.comcast.net)
(Ping timeout: 190 seconds)
L281[15:44:39]
<George WL⚡>
Just curious? What's your thoughts on prank programs?
L282[15:45:12]
<seebs>
define "prank"
L283[15:58:53] <Inari> Finding sensitive
info and questionable pictures to post to facebookon your account,
encrypting it all and throwing it into the dumpster, outputting
ear-piercing high pitched sounds and seizure inducing video. Then
you go "Relax, it's just a prank man"
L284[16:00:50]
<seebs> got
curious, started trying to implement thing, turns out not knowing
scala or the API is making this hard. :P
L286[16:01:39]
<seebs> this
fails because NBTTagList is a list of NBTBase, not of
NBTTagCompound, but I happen to have strong reason to believe that
actually it's a list of NBTTagCompound, but I have no idea how to
*do* anything with/about that.
L288[16:04:18]
<Forecaster>
I haven't done any hax D:
L289[16:22:48]
<George WL⚡>
@seebs nothing like that. More like spoofing deletion of a drive,
but not actually doing it
L290[16:27:47]
<seebs> in
general, my default is to think that if the person it happens to
won't think it's funny, it's not a great prank.
L291[16:36:09]
<George WL⚡>
That's always fair in my opinion too
L292[16:36:37]
<George WL⚡>
I also feel like I will only prank if they start it, and it becomes
a one-upmanship thing
L293[16:37:10]
<AceDoggo>
Guys if anyone could help me answer these two things, it would be
greatly appreciated:
L294[16:37:10]
<AceDoggo> -
Can you put an if statement in an if statement in LUA?
L295[16:37:11] <MichiBot> It's Lua, not
LUA. Name not an acronym.
L296[16:37:11]
<AceDoggo> -
How Do i set a variable? Just a normal variable.
L297[16:37:23]
<AceDoggo>
oof
L298[16:37:35]
<George WL⚡>
But I'll never break the golden rule. Don't destroy anything, don't
make any permanent damage. Don't do what you wouldn't want to have
done to you.
L299[16:37:59] <Izaya> AceDoggo: you can
nest things as much as you like
L300[16:38:08] <Izaya> and variable
assignment is x = y, to set x to y
L301[16:38:12] <Izaya> %pil
L303[16:38:18]
<AceDoggo>
Ty Izaya!
L304[16:38:48]
<AceDoggo>
Im currently just trying to make a login function.
L305[16:39:46]
<AceDoggo>
So, one last thing, Is there a way to set a timer, that goes off 5
minutes after youve stopped being active on the computer? Like, If
INACTIVE for 5 minutes, THEN set x = y
L307[16:42:06]
<Forecaster>
"Cosplay" yeah...
L308[16:42:57]
<seebs>
fwiw, i have code which may or may not work for the thaumcraft jar
aspects, but i forgot to turn off bufferedchanges so i couldn't
easily check because i am not good at the internal editor, so i
like to use an editor on the real filesystem.
L309[16:44:05] <Izaya> ~w event
L311[16:44:10] <Izaya> There's timers and
stuff there
L312[16:47:29]
<AceDoggo>
ty Izaya once again :D xD
L313[17:08:58]
<seebs> ...
scala has outsmarted me again
L315[17:09:51]
<seebs>
->
L316[17:09:51]
<seebs>
`[opencomputers]: found non-jar: 'thaumcraft:jar_normal'`
L317[17:13:59] ⇦
Quits: ben_mkiv (ben_mkiv!~ben_mkiv@p5B16EA08.dip0.t-ipconnect.de)
(Remote host closed the connection)
L318[17:14:35]
<seebs> so i
am completely stumped, because i have no idea what could be
happening here. so far as i know quoted things are strings, and the
return from getNameForObject is a string, I think, and they look
identical to me.
L319[17:15:24] <Michiyo> if
name.equals("this_name") is better javawise, I'd assume
scala has similar syntax
L320[17:15:27] <Michiyo> @seebs
L321[17:15:51] <Michiyo> == checks if they
are the same object, IIRC
L322[17:15:55]
<seebs> I
thought about that, and looked around, and found a tutorial saying
that == was better because it works also for nulls.
L323[17:16:02]
<seebs> But
that could be a completely wrong tutorial.
L324[17:16:22] *
Michiyo shrugs
L325[17:16:46] ⇦
Quits: Inari (Inari!~Pinkishu@84.175.255.231) (Quit: 'Customer
code. Composed of equal parts "custom" and
"err..."')
L326[17:16:48]
<seebs> oh.
so "==" is actually a call to .equals() anyway, not
reference-equality, because even though it's slower it's more
useful, apparently.
L327[17:16:59] <AmandaC> scala might
override == to mean .equals
L328[17:17:05] <AmandaC> Kotlin does at
lease
L329[17:17:14] <AmandaC>
s/lease/least/
L330[17:17:14] <Michiyo> Possibly, I don't
scala.
L331[17:17:14] <MichiBot> <AmandaC>
Kotlin does at least
L332[17:17:15]
<seebs> ...
or at least that was true in 2009, but it seems like the kind of
thing that would be durable
L333[17:17:44] <Michiyo> All of my addons
are Java for a reason :P
L334[17:17:47] <AmandaC> Other than the
like, 4 line patch I submitted to fix screen.turnOn/turnOff in
tablets, me either
L335[17:19:42]
<seebs> i
don't actually know either of them, particularly, but *apart* from
that i have a patch for handling thaumcraft essentia jars which at
least compiles, and appears to run... except that, as noted, it
produces the very surprising result that it doesn't think that
"thaumcraft:jar_normal" and
"thaumcraft:jar_normal" are the same string.
L336[17:45:48] <Michiyo> %js
[+!0]+[0]−!0−!0
L337[17:45:50] <MichiBot> <eval>:1:9
Expected ; but found error | [+!0]+[0]−!0−!0 | ^ in <eval> at
line number 1 at column number 9
L338[17:45:53] <Michiyo> aww
L339[17:46:11] <Michiyo> %js
[+!0]+[0]-!0-!0
L340[17:46:13] <MichiBot> 8.0
L341[17:46:17] <Michiyo> neat.
L342[17:47:23]
<George WL⚡>
Why all this mention of Scala, I though OC was programmed in
Lua?
L343[17:48:38]
<MGR> The
mod itself is written in Java and Scala
L344[17:49:30]
<George WL⚡>
I dunno about Lua, but JavaScript has
L345[17:49:30]
<George WL⚡>
`==` same value comparison
L346[17:49:31]
<George WL⚡>
`===` exact match, even type
L347[17:49:39]
<George WL⚡>
I dunno about Lua, but JavaScript has
L348[17:49:40]
<George WL⚡>
`==` same value comparison
L349[17:49:40]
<George WL⚡>
`===` exact match, including type [Edited]
L350[17:50:04]
<seebs>
`'thaumcraft:jar_void' (class
net.minecraft.util.ResourceLocation)`
L351[17:50:14]
⇨ Joins: parmort
(parmort!~parmort@pool-108-2-173-234.phlapa.fios.verizon.net)
L352[17:50:24]
<seebs> so!
it turns out it's not a string, it's a ResourceLocation. if i can
figure out how to convert that, i should be good.
L353[17:50:53] ⇦
Quits: parmort
(parmort!~parmort@pool-108-2-173-234.phlapa.fios.verizon.net)
(Client Quit)
L354[17:52:21] <Michiyo> IIRC there is a
method to go from ResourceLocation to name...
L355[17:52:31] <Michiyo> I'm at work and
don't have access to anything though
L356[17:52:52]
<seebs>
well, in Java it's `.toString()`, so I'll see if scala likes
that
L357[17:53:23] <Michiyo> well, there is an
actual method to get the item name from the resource
L358[17:53:32] <Michiyo> but toStringing
it might work
L359[17:54:16] <Michiyo>
getUnlocalizedName or... some crap
L360[17:54:41]
<seebs> i'm
guessing that that's the one producing the name that's displayed in
my debug message, which is Good Enough, probably
L361[17:55:07]
<seebs> then
maybe add a thing for vis crystals and phials doing the same thing
and hey, it fixes my problem
L362[17:55:36] <Michiyo> are you modding
OC directly, or doing an addon?
L363[17:58:21]
<seebs> just
modding OC directly
L364[17:58:35]
<seebs> it's
like 8 lines of code if I do it in OC, if I did it as an addon,
it'd be 200x as large
L365[17:58:48]
<seebs>
there's already existing code in the file in question for adding
specific tag processing for other mods
L366[18:01:45]
<seebs>
woot!
L368[18:02:10] ⇦
Quits: Keridos
(Keridos!~Keridos@static.56.72.76.144.clients.your-server.de)
(Quit: ZNC - http://znc.in)
L369[18:06:59]
⇨ Joins: Keridos
(Keridos!~Keridos@static.56.72.76.144.clients.your-server.de)
L370[18:28:59] <AmandaC> Keep in mind the
readme for the integrations package
L371[18:31:13]
<seebs>
Yeah, all seems to make sense. This is stuff you see on mouseover
with the standard UI, nothing hidden or secret. In older
thaumcraft, it was done as the metadata, now it's a tag.
L372[18:33:54] ⇦
Quits: Vexatos
(Vexatos!~Vexatos@p200300C10704FD60BA78F5D84E9A006A.dip0.t-ipconnect.de)
(Ping timeout: 190 seconds)
L375[18:46:45] ⇦
Quits: Keridos
(Keridos!~Keridos@static.56.72.76.144.clients.your-server.de)
(Quit: ZNC - http://znc.in)
L376[18:47:29]
⇨ Joins: Keridos
(Keridos!~Keridos@static.56.72.76.144.clients.your-server.de)
L377[18:47:30]
⇨ Joins: Vexatos
(Vexatos!~Vexatos@p200300C10704FD98E37932A56A95081D.dip0.t-ipconnect.de)
L378[18:47:30]
zsh sets mode: +v on Vexatos
L379[18:55:16] ⇦
Quits: logan2611
(logan2611!~logan2611@184-96-179-183.hlrn.qwest.net) (Remote host
closed the connection)
L380[18:57:35]
⇨ Joins: logan2611
(logan2611!~logan2611@184-96-179-183.hlrn.qwest.net)
L381[19:46:25] <AmandaC> Welp.
L382[19:46:33] <AmandaC> Bad news guys, I
got Stationeers to run on my laptop
L383[19:46:57] <AmandaC> Appears
something's fucky with dxvk under intel, because all I had to do
was force it to use opengl
L384[20:03:04]
⇨ Joins: Renari
(Renari!~Renari@75.97.175.72.res-cmts.bgr.ptd.net)
L385[20:04:28] ⇦
Quits: Vexatos
(Vexatos!~Vexatos@p200300C10704FD98E37932A56A95081D.dip0.t-ipconnect.de)
(Quit: Insert quantum chemistry joke here)
L386[20:05:09] ⇦
Quits: Arimil (Arimil!~Renari@75.97.175.72.res-cmts.bgr.ptd.net)
(Ping timeout: 190 seconds)
L387[20:11:26] <logan2611> I assume your
laptop is running linux
L388[20:33:03] ⇦
Quits: jazzpi (jazzpi!~jazzpi@2a03:4000:6:20f::2) (Quit: ZNC -
http://znc.in)
L389[20:34:35]
⇨ Joins: jazzpi
(jazzpi!~jazzpi@2a03:4000:6:20f::2)
L390[20:36:10]
⇨ Joins: Thutmose
(Thutmose!~Patrick@host-69-59-79-181.nctv.com)
L391[20:36:44]
⇨ Joins: Cervator
(Cervator!~Thunderbi@2601:4c1:4001:1d5d:dd33:2a05:2514:db1)
L392[20:42:51]
<rashy>
o/
L393[20:47:38]
⇨ Joins: aquawarp
(aquawarp!~yaaic@2600:1000:b12e:9df1:63e9:cd2a:735c:3b84)
L394[20:48:07] ⇦
Quits: aquawarp
(aquawarp!~yaaic@2600:1000:b12e:9df1:63e9:cd2a:735c:3b84) (Client
Quit)
L395[21:28:24] <payonel> AmandaC: why was
that bad news?
L396[21:34:03] ⇦
Quits: Cervator
(Cervator!~Thunderbi@2601:4c1:4001:1d5d:dd33:2a05:2514:db1) (Remote
host closed the connection)
L397[21:48:00]
<Kodos>
Space crack or something rather
L398[21:48:20]
<Kodos>
Actually, given context, seems like she was having issues with
running it on her desktop?
L399[22:26:26] ⇦
Quits: Teris (Teris!uid315557@id-315557.stonehaven.irccloud.com)
(Quit: Connection closed for inactivity)
L400[22:41:01] <Izaya> AmandaC: vulkan on
intel is a little wonky
L401[23:08:53] ⇦
Quits: Thutmose (Thutmose!~Patrick@host-69-59-79-181.nctv.com)
(Quit: Leaving.)
L402[23:14:51] ⇦
Quits: Backslash
(Backslash!~Backslash@ip-88-153-113-13.hsi04.unitymediagroup.de)
(Quit: Leaving)