<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:05:15] ⇦
Quits: Vexatos (~Vexatos@port-92-192-68-49.dynamic.as20676.net)
(Quit: Insert quantum chemistry joke here)
L2[00:34:11]
<ThePiGuy24> how the fuck does one do a
`filesystem.list()`
L3[00:34:18]
<ThePiGuy24> because i cant seem to get it
to work
L5[00:35:25]
<ThePiGuy24> i dont know how to use it
correctly
L6[00:35:35]
<ThePiGuy24> either that or its broken in
ocvm
L7[00:35:59]
<ThePiGuy24> but ls can use it
correctly
L8[00:36:26]
<ThePiGuy24> well, the full_ls can
L9[00:36:36] <Izaya> the component returns a
table but the API returns an iterator
L11[00:41:13]
<ThePiGuy24> yes, that is the directory of
the ocvm instance
L12[00:45:17]
<Ocawesome101> Huh.
L13[00:47:27] ⇦
Quits: Izaya (~izaya@210-1-218-92-cpe.spintel.net.au) (Ping
timeout: 198 seconds)
L14[00:49:11]
<Ocawesome101> You might do....
L16[00:49:22]
<Ocawesome101> Or something like
that
L17[00:49:30]
<Ocawesome101> @ThePiGuy24
L18[00:49:34]
<ThePiGuy24> hmmm
L19[00:51:42]
<ThePiGuy24> ok
L20[00:52:13]
<ThePiGuy24> the issue seems to be that it
cant seem to see the files in the frames directory
L21[00:53:35]
<Ocawesome101> Huh
L22[00:53:36]
<ThePiGuy24> ok it only works if i give it
the full path
L23[00:54:00]
<ThePiGuy24> but it doesnt give an error
if you give it an invalid path
L24[00:54:47]
<Ocawesome101> afaik the filesystem api
deals only in absolutes
L25[00:55:11]
<Ocawesome101> Probably written by a sith
/s
L26[00:56:38]
<ThePiGuy24> well ive been able to load
files from the working directory without giving an absolute
path
L27[00:57:17]
<Ocawesome101> Are you in OpenOS?
L28[00:57:25]
<ThePiGuy24> yes
L29[00:58:09]
<Ocawesome101> Ah.
L30[00:59:13]
<Ocawesome101> Most of OpenOS’ internals
are still a mystery to me
L31[01:00:21]
<ThePiGuy24> yeah it does seem a little
funky
L32[01:03:26]
<ThePiGuy24> well thanks for the sorta
help atleast
L33[01:04:47]
<Ocawesome101> Np
L34[01:18:28] <Amanda> %8ball snugafairy
and sleep?
L35[01:18:28] <MichiBot> Amanda: Outlook
not so good
L36[01:20:49] *
Amanda snugsanelfi, unplugsfor the night to veg out to youtube or
something
L37[01:21:08] <Amanda> I shan't start
reading again, lest I stay up til0500 by mistake again
L40[02:50:35]
<ThePiGuy24> wait i fucked up the
video
L41[02:51:11]
<ThePiGuy24> remember kids, mpeg video
needs more than 1.2kb/s
L43[02:51:54]
<ThePiGuy24> yes, that is full motion
video
L44[02:52:21]
<ThePiGuy24> not quite there yet, but
getting real close
L45[02:54:23]
<ThePiGuy24> aww the game crashed
L46[02:58:49]
<ThePiGuy24> ah i think i know the
issue
L47[03:12:13]
<uli> is
there a way in OC to give a computer an inventory & crafting
upgrade? I want to create an auto crafting system but I don't want
to make a robot just so they can do the crafting
L48[03:26:31]
<ThePiGuy24> i dont think there is
L49[03:26:45]
<uli>
:/
L50[03:27:06]
<uli> maybe
there should be, seems strange to limit crafting and inventory to
robots
L51[03:31:29] <payonel> @status
@ThePiGuy24
L52[03:31:29]
<Discord>
ThePiGuy24 is currently DO_NOT_DISTURB
L53[03:31:43] <payonel> @ThePiGuy24 fs
only+always uses absolute paths
L54[03:31:55] <payonel> so
fs.list("./frames") is "/frames" not
"/home/frames"
L55[03:32:09]
<ThePiGuy24> hmm
L56[03:32:24]
<ThePiGuy24> should throw an error
imo
L57[03:32:35]
<ThePiGuy24> would make it easier to
debug
L58[03:32:37] <payonel> use
shell.resolve(path) if you want relative path logic
L59[03:32:50]
<ThePiGuy24> yeah i ended up doing
that
L60[03:32:51] <payonel>
shell.resolve("./frames") would return /home/frames and
shell.resolve("/frames") would return /frames
L61[03:33:00] <payonel> what should throw
an error?
L62[03:33:10] <payonel> fs.list if the path
doesn't exist?
L63[03:33:24] <payonel> and by throw, you
mean return nil, err :) ?
L64[03:34:46]
<ThePiGuy24> yes, but it always returns
function
L65[03:34:54]
<ThePiGuy24> and never nill, err
L66[03:35:31] <payonel> that's not a bad
suggestion
L67[03:36:32] <payonel> but, the fs
component api has been around for quite some time, i generally
leave those types of behaviors untouched
L68[03:36:51]
<ThePiGuy24> hmm
L70[04:01:46]
<ThePiGuy24> minor wrapping issue, but
that can be fixed later
L71[04:02:06]
<ThePiGuy24> for now: sleep
L73[04:13:19]
<ThePiGuy24> the frames need to be in a
directory called `frames`, and need to be 1 bit per pixel, and
atleast 450 bytes long
L74[04:13:35]
<ThePiGuy24> being 60x60 in size
L76[04:53:03] ⇦
Quits: Cryptek (~TheCrypte@ircbouncehouse.com) (Quit: Glitch got
lose, I must catch him!)
L77[04:53:11] ⇨
Joins: TheCryptek (~TheCrypte@2607:fe90:4:b:5054::1)
L78[05:34:06] ⇦
Quits: CarlenWhite (~CarlenWhi@82.sub-174-241-136.myvzw.com) (Ping
timeout: 198 seconds)
L79[05:39:44] ⇨
Joins: CarlenWhite
(~CarlenWhi@82.sub-174-241-136.myvzw.com)
L80[05:47:34] ⇦
Quits: Thutmose (~Patrick@host-69-59-79-181.nctv.com) (Quit:
Leaving.)
L81[06:00:30] ⇦
Quits: bauen1 (~bauen1@ipb21baa2d.dynamic.kabel-deutschland.de)
(Ping timeout: 378 seconds)
L82[06:06:49] ⇨
Joins: Izaya (~izaya@210-1-218-92-cpe.spintel.net.au)
L84[06:09:28] <MichiBot> Ping reply from
Izaya 2.32s
L85[06:09:31] <Izaya> huh
L86[06:18:56] <CompanionCube> %p
L87[06:18:58] <MichiBot> Ping reply from
CompanionCube 0.71s
L88[06:22:52] <Izaya> ell
L89[06:22:58] <Izaya> Buried the cat
today.
L90[06:35:03] <Mimiru> :(
L91[06:35:05] <Mimiru> Sorry Izaya
L92[06:36:05] <payonel> BrightYC: o/
L93[06:36:15] <payonel> fingercomp:
o/
L94[06:36:18] <BrightYC> hello
L95[06:36:38] <payonel> can't get it to
repro, at all
L96[06:36:53] <BrightYC> mc
version&
L97[06:36:54] <BrightYC> ?
L98[06:37:11] <payonel> 1.12 oc release
192
L99[06:37:34] <BrightYC> you can wait 20-30
minutes?
L100[06:37:56] <payonel> i waited 17, just
outside chunk range
L101[06:38:01] <payonel> and i did a bunch
of restarts
L102[06:38:05] <BrightYC> =\
L103[06:38:09] <payonel> never broke
L104[06:38:56] <BrightYC> Hm, another mods
can contribute to this?
L105[06:39:04] <payonel> so what this
about deleting files?
L106[06:39:29] <payonel> are you telling
me you opened a ticket without first isolating the mod to prove
repro :P
L107[06:39:38] <payonel> without first
testig in a creative flat world :P
L108[06:40:55] <BrightYC> i test it in
1.7.10, OpenComputers-MC1.7.10-1.7.5.1290-universal, computers shut
down
L109[06:41:19] <payonel> this isn't even
on 1.12?
L110[06:41:26] <payonel> why don't people
tell me versions in bug reports
L111[06:43:35] <BrightYC> As of 1.12.2 i
did not notice this
L112[06:43:45] <payonel> none of that was
in your report
L113[06:43:56] <payonel> i'm getting
grumpy, i might look at this tomorrow
L114[06:44:07] <payonel> in the future -
giving a complete bug report is pretty nice
L115[06:44:16] <payonel> also, trying to
reduce repro is also helpful
L116[06:44:35] *
payonel is afk
L117[07:33:03] ⇦
Quits: ben_mkiv (~ben_mkiv@88.130.157.120) (Ping timeout: 190
seconds)
L118[07:35:00]
⇨ Joins: bauen1
(~bauen1@x5271792a.dyn.telefonica.de)
L119[07:56:23] ⇦
Quits: flappy (~flappy@88-113-149-197.elisa-laajakaista.fi) (Ping
timeout: 190 seconds)
L120[07:58:58] ⇦
Quits: Kleadron (~kleadron@c-73-254-147-9.hsd1.wa.comcast.net)
(Quit: Xbox overlords taking over the planet)
L121[08:38:41] ⇦
Quits: Izaya (~izaya@210-1-218-92-cpe.spintel.net.au) (Ping
timeout: 204 seconds)
L122[08:41:51] ⇦
Quits: bauen1 (~bauen1@x5271792a.dyn.telefonica.de) (Ping timeout:
204 seconds)
L123[08:44:27]
⇨ Joins: bauen1
(~bauen1@x59cc87cf.dyn.telefonica.de)
L124[10:20:41]
⇨ Joins: Izaya
(~izaya@210-1-218-92-cpe.spintel.net.au)
L125[10:20:41] ⇦
Quits: bauen1 (~bauen1@x59cc87cf.dyn.telefonica.de) (Read error:
Connection reset by peer)
L126[11:12:21]
<Zef> I
mean anytime I mentioned I used to use 1.7.10 I get told every
version is exactly the same
L127[11:26:36] <Lizzian> feature wise they
are, but there's probably slightly different logic for handling
shunk loading/unloading
L128[11:26:40] <Lizzian> s/sh/ch
L129[11:26:41] <MichiBot> <Lizzian>
feature wise they are, but there's probably slightly different
logic for handling chunk loading/unloading
L130[11:27:29] <Lizzian> %tonkout
L131[11:27:30] <MichiBot> Voldemort!
Lizzian! You beat your own previous record of 23 hours, 42 minutes
and 58 seconds (By 1 hour, 5 minutes and 32 seconds)! I hope you're
happy!
L132[11:27:31] <MichiBot> Lizzian has
tonked out! Tonk has been reset! They gained 0.024 tonk points!
plus 0.046 bonus points for consecutive hours! Current score:
0.31235
L133[11:27:41] <Lizzian> YES!
L134[11:27:45] <Lizzian>
%tonkleaders
L136[11:27:58] <Lizzian> HAH, I BEAT
CompanionCube
L137[11:28:39] <Lizzian> hmm, lol i'm
technically in the scoreboard twice
L138[11:59:15]
<Forecaster> :O
L139[11:59:25]
<Forecaster> I'm in fourth place now
L140[11:59:29]
<Forecaster> I need to fix this
L141[11:59:38]
<Forecaster> %putmeinfirstplace
L142[11:59:43]
<Forecaster> aw shoot
L143[12:10:00]
<Zef> %lua
print("Zef is now first in the tonk race")
L144[12:10:01] <MichiBot> Zef is now first
in the tonk race
L145[12:10:13]
<Zef> Woah
look at that!
L146[12:20:25]
⇨ Joins: bauen1
(~bauen1@x59cc87cf.dyn.telefonica.de)
L147[12:20:47]
<ThePiGuy24> %tonk
L148[12:20:48] <MichiBot> Fudge!
ThePiGuy24! You beat Lizzian's previous record of <0 (By 53
minutes and 17 seconds)! I hope you're happy!
L149[12:20:49] <MichiBot> ThePiGuy24's new
record is 53 minutes and 17 seconds! ThePiGuy24 also gained 0.00089
tonk points for stealing the tonk.
L150[12:21:04]
<ThePiGuy24> tonks
L151[12:25:26]
⇨ Joins: Thutmose
(~Patrick@host-69-59-79-181.nctv.com)
L152[12:36:28]
⇨ Joins: Teris
(uid315557@id-315557.brockwell.irccloud.com)
L153[12:52:44]
<Forecaster> %sip
L154[12:52:45] <MichiBot> You drink a
cloudy coral potion (New!). Forecaster turns into a pig dragon boy
until they eat a pie.
L155[12:53:12]
<Forecaster> I turned into Ganondorf
L156[12:54:02]
<ThePiGuy24> hmmmmm
L157[13:00:01] ⇦
Quits: bauen1 (~bauen1@x59cc87cf.dyn.telefonica.de) (Read error:
-0x1: UNKNOWN ERROR CODE (0001))
L160[13:30:41]
<DaComputerNerd> Aw ma I was gonna
tonkfail to bump it to my timezone but I was so tired last
night
L161[13:31:08]
<DaComputerNerd> man*
L162[13:31:15]
<DaComputerNerd> Autocorrect stop
L163[13:43:11] <payonel> BrightYC: hey man
- i'm back (i dont sleep much, and i'm at work now)
L164[13:44:32] <payonel> i'll take a look
again and your bug report some time this week. sorry the machines
aren't working. also sorry for my frustration last night - most of
it was sarcasm mixed with unrelated stress
L165[13:54:27]
⇨ Joins: bauen1
(~bauen1@x59cc87cf.dyn.telefonica.de)
L166[14:00:18] ⇦
Quits: bauen1 (~bauen1@x59cc87cf.dyn.telefonica.de) (Ping timeout:
189 seconds)
L167[14:23:37]
<Forecaster> %fling at payonel
L168[14:23:38] <MichiBot> Forecaster
flings Free Bird in a random direction. It hits payonel on the
heel. They take 1d4 => 1 damage!
L169[14:28:01]
⇨ Joins: Tao_Xiaobai (~tao_xiaob@27.9.221.130)
L170[14:29:04] <Tao_Xiaobai> .
L171[14:29:12] <Izaya> My connection is
fucked and for once I didn't do it. Spectacular.
L173[14:29:52] <Tao_Xiaobai> can i connect
other irc servers?
L174[14:30:13] <Izaya> Most likely.
L175[14:31:35] ⇦
Quits: Tao_Xiaobai (~tao_xiaob@27.9.221.130) (Client
Quit)
L176[14:31:53]
⇨ Joins: Tao_Xiaobai (~tao_xiaob@27.9.221.130)
L177[14:33:03] ⇦
Quits: Tao_Xiaobai (~tao_xiaob@27.9.221.130) (Client
Quit)
L178[14:36:03]
<AdorableCatgirl> Izaya: beans
L179[14:43:24]
⇨ Joins: Tao_Xiaobai (~tao_xiaob@27.9.221.130)
L180[14:51:12] ⇦
Quits: Tao_Xiaobai (~tao_xiaob@27.9.221.130) (Remote host closed
the connection)
L181[14:56:27]
<ThePiGuy24> Izaya: have you seen my
video? :)
L182[14:57:38] <Izaya> nop
L184[15:01:15]
<ThePiGuy24> sadly it isnt actual 3d
rendering, but it is video playback
L185[15:01:34] <Izaya> neat
L186[15:01:37] <Izaya> windows xp
screensaver
L187[15:01:44]
<ThePiGuy24> 450 bytes/frame
L188[15:02:16]
⇨ Joins: rason (~rason@178.46.88.224)
L189[15:03:08] <rason> Hello, how to write
simplest bootloader for pc?
L190[15:04:09]
⇨ Joins: x4 (webchat@178.46.88.224)
L191[15:04:36] ⇦
Quits: x4 (webchat@178.46.88.224) (Client Quit)
L192[15:15:42]
<Bob> rason
wydm by bootloader ?
L193[15:15:44]
<Bob>
EEPROM
L194[15:15:47]
<Bob> or
further ?
L195[15:16:17] <rason> yes, EEPROM
L196[15:16:29] <Izaya> ~w custom os
L199[15:16:36]
<Bob> have
a read
L200[15:16:43]
<Bob> Izaya
:GWmythicalHyperREEEE:
L201[15:16:56] <Izaya> I don't know what a
GWmythicalHyperREEEE is sorry
L203[15:17:27] <Izaya> hm, I wish IRC was
more decentralised, then we could have custom emojos like on
fedi
L204[15:17:39] <Izaya> not that I use
them, but it's the principle of the thing
L205[15:18:24] <Izaya> I wonder if that
XEP for emojos is being written
L206[15:18:26] <Izaya> I like that
idea
L207[15:19:07] <rason> M, when im checked
code of bios, i think what the shit
L208[15:19:09] <Izaya> Last I heard, the
idea was that each server would keep an index, with hashes, so
clients could keep a local cache of emojos and get dedup by storing
by hash
L209[15:19:48] <Izaya> Much cleaner than
the fedi approach of "every instance has its own and you will
download them from every instance"
L210[15:20:57]
<Bob>
probably but this would require an extention of the format and
such
L211[15:21:03]
<Bob> there
are unicode emojies
L212[15:21:03]
<Bob> but
come on
L213[15:21:05]
<Bob> wtf
is htis
L215[15:22:11] <Izaya> the unicode ones
are garbage tbh
L216[15:22:15] <Izaya> they should be in
the unicode PUA
L217[15:22:42] <Izaya> anyway nah so
L218[15:23:09] <Izaya> on fedi you can put
:emojos: in your posts and they get rendered by your server as an
image with alt text and everything
L219[15:23:16] <Izaya> the emojos are
stored on your server
L220[15:23:23] <Amanda> The whole point of
the unicode ones is to standardise the codepoints for common ones,
you can't go reassigning the PUA for that purpose.
L221[15:23:40] <Izaya> the idea is to
extend that to XMPP but clean up the semantics so clients don't
need to keep multiple cached copies of the same image
L222[15:23:50] <Izaya> Amanda: should be a
recommendation rather than the standard
L223[15:23:53] <Izaya> at best
L224[15:25:36] <Izaya> anyway yes, time 4
bed
L225[15:33:43]
<ThePiGuy24> rip
L226[15:40:03] ⇦
Quits: Thutmose (~Patrick@host-69-59-79-181.nctv.com) (Quit:
Leaving.)
L227[15:40:39]
⇨ Joins: Thutmose
(~Patrick@host-69-59-79-181.nctv.com)
L228[15:46:13] ⇦
Quits: rason (~rason@178.46.88.224) (Quit: Lost
terminal)
L229[15:54:39]
⇨ Joins: ben_mkiv (~ben_mkiv@88.130.156.165)
L230[15:54:42] ⇦
Quits: ben_mkiv (~ben_mkiv@88.130.156.165) (Remote host closed the
connection)
L231[15:57:45] <asie> ah, yes, video
playback in OC
L232[15:57:52] <asie> someone really needs
to beat Nadeshicodec - it's doable for sure
L233[16:03:11]
<ThePiGuy24> well i have the frames as
small as you can get without compression
L234[16:03:47]
<ThePiGuy24> 450 bytes for 60x60, 1 bit
per pixel
L235[16:08:54] <SquidDev> %tonk
L236[16:08:55] <MichiBot> Bejabbers!
SquidDev! You beat ThePiGuy24's previous record of 53 minutes and
17 seconds (By 2 hours, 54 minutes and 50 seconds)! I hope you're
happy!
L237[16:08:56] <MichiBot> SquidDev's new
record is 3 hours, 48 minutes and 7 seconds! SquidDev also gained
0.00291 tonk points for stealing the tonk.
L238[16:12:25]
⇨ Joins: ben_mkiv (~ben_mkiv@88.130.156.165)
L239[16:21:31] <Skye> %tonk
L240[16:21:39] <Skye> heck
L241[16:23:12]
⇨ Joins: asdf
(~asdf@140-146-201-31.ftth.glasoperator.nl)
L242[16:23:36] ⇦
Quits: asdf (~asdf@140-146-201-31.ftth.glasoperator.nl) (Client
Quit)
L243[16:28:00]
⇨ Joins: BomberPlayz
(~BomberPla@ip65.ip-51-75-159.eu)
L244[16:30:40] ⇦
Quits: BomberPlayz (~BomberPla@ip65.ip-51-75-159.eu) (Read error:
Connection reset by peer)
L245[16:31:32] ⇦
Quits: Izaya (~izaya@210-1-218-92-cpe.spintel.net.au) (Ping
timeout: 378 seconds)
L246[16:33:58]
⇨ Joins: Kleadron
(~kleadron@c-73-254-147-9.hsd1.wa.comcast.net)
L247[16:35:46]
⇨ Joins: Izaya
(~izaya@210-1-218-92-cpe.spintel.net.au)
L248[16:42:07] <Skye> %tonk
L249[16:42:07] <MichiBot> I'm sorry Skye,
you were not able to beat SquidDev's record of 3 hours, 48 minutes
and 7 seconds this time. 33 minutes and 12 seconds were wasted!
Missed by 3 hours, 14 minutes and 55 seconds!
L250[16:42:15] <Skye> HECK
L251[16:49:57]
⇨ Joins: bauen1
(~bauen1@ipb21baa2d.dynamic.kabel-deutschland.de)
L252[16:50:15]
⇨ Joins: Inari
(~Pinkishu@pD9E8F730.dip0.t-ipconnect.de)
L253[16:57:11]
⇨ Joins: Vexatos
(~Vexatos@port-92-192-68-49.dynamic.as20676.net)
L254[16:57:11]
zsh sets mode: +v on Vexatos
L255[17:04:03]
<ThePiGuy24> hecc
L256[17:06:20] ⇦
Quits: Teris (uid315557@id-315557.brockwell.irccloud.com) (Quit:
Connection closed for inactivity)
L257[17:16:06]
⇨ Joins: Teris
(uid315557@id-315557.brockwell.irccloud.com)
L258[17:30:48] <Amanda> %8ball cereal for
lunch?
L259[17:30:49] <MichiBot> Amanda: Signs
point to yes
L260[17:47:52]
⇨ Joins: gamax92
(~gamax92@c-73-153-119-160.hsd1.co.comcast.net)
L261[17:47:52]
zsh sets mode: +v on gamax92
L262[17:51:44] <Inari> %pet Amanda
L263[17:51:44] <MichiBot> Inari is
brushing Amanda with the letter 5. Amanda regains 1d4 => 2 hit
points!
L264[17:52:30] *
Amanda pivots her body around the ceral bowl to put it between
Inari and her noms.
L265[17:52:41] <Amanda> s/put it/put
herself/
L266[17:52:41] <MichiBot> * Amanda pivots
her body around the ceral bowl to put herself between Inari and her
noms.
L267[17:52:49] <Inari> haha
L268[17:55:27]
<Forecaster> %sip
L269[17:55:29] <MichiBot> You drink a
liquid automato potion (New!). Forecaster gets a sudden Spice
infusion. Forecaster can see the universe. [Spice Addiction
+1]
L270[17:55:36]
<Forecaster> ohno
L271[18:09:06]
<ThePiGuy24> congratulations on your spice
addiction
L272[18:42:24]
⇨ Joins: Vexaton
(~Vexatos@port-92-192-14-57.dynamic.as20676.net)
L273[18:42:25]
zsh sets mode: +v on Vexaton
L274[18:45:25] ⇦
Quits: Vexatos (~Vexatos@port-92-192-68-49.dynamic.as20676.net)
(Ping timeout: 204 seconds)
L275[19:18:48]
<Jason> is
there a way to do if numberA and numberB has a difference of +5 or
-5 do something?
L276[19:21:22] <Amanda> @Jason if
math.abs(numberA - numberB) == 5
L277[19:39:21] <Lizzian> %tonk
L278[19:39:22] <MichiBot> I'm sorry
Lizzian, you were not able to beat SquidDev's record of 3 hours, 48
minutes and 7 seconds this time. 2 hours, 57 minutes and 14 seconds
were wasted! Missed by 50 minutes and 52 seconds!
L279[19:39:26] <Lizzian> oh
L280[19:39:30] <SquidDev> Sorry
L281[20:03:08] ⇦
Quits: Victor_sueca (~Victor_su@90.165.120.190) (Ping timeout: 200
seconds)
L282[20:06:48]
⇨ Joins: Victor_sueca
(~Victor_su@90.165.120.190)
L283[20:11:35]
<SaltyKawaiiNeko> how do I get openos to
use certain GPU
L284[20:11:40]
<SaltyKawaiiNeko> on boot
L285[20:11:53]
<SaltyKawaiiNeko> I already have the code
to bind the GPUs to their screens, and it works
L286[20:12:08]
<SaltyKawaiiNeko> now, I need OpenOS to
choose the "main" GPU every time on boot
L287[20:12:21]
<SaltyKawaiiNeko> it seems to pick a
random one right now
L288[20:13:24]
<Forecaster> the primary component is
whichever appears first, which is random yeah
L289[20:15:00]
<SaltyKawaiiNeko> and any way to change
that...?
L290[20:15:10]
<Forecaster> modify OpenOS
L291[20:16:15]
<MGR>
^
L292[20:18:04]
<SaltyKawaiiNeko> and where should I
modify it?
L293[20:19:49]
<MGR> I
believe you'd want to modify init.lua
L294[20:19:52]
<MGR> I
could be wrong though
L295[20:22:48]
<SaltyKawaiiNeko> I've already modified
init.lua, but I don't know to modify the primary component
L296[20:22:57]
<SaltyKawaiiNeko> without
`component.setPrimary`
L297[20:23:05]
<SaltyKawaiiNeko> which is not available
in init.lua
L298[20:23:26]
<SaltyKawaiiNeko> because
`require("component")` is not available
L299[20:26:35]
<MGR>
There's a .setPrimary option, so you could try looking for where
OpenOS gets the primary, and set the primary just beforehand?
L300[20:26:41]
<MGR> I
don't know enough about the boot process
L301[20:28:01] <Mimiru> Someone airdrop me
some Spam Musubi plox
L302[20:28:11]
<Forecaster> wazzat?
L304[20:28:50] <Mimiru> "Spam musubi
is a popular snack and lunch food composed of a slice of grilled
Spam on top of or sandwiched in between a block of rice, wrapped
together with nori in the tradition of Japanese
omusubi."
L305[20:28:53]
<Forecaster> huh
L306[20:29:45] <Mimiru> Hawaiian joint up
the road makes it... so good..
L307[20:30:20] <Mimiru> they fry the spam
in a teriyaki sauce
L308[20:33:49]
<Forecaster> or do they?!
L309[20:33:53] <Mimiru> Yes
L310[20:33:58]
<Forecaster> oh
L311[20:34:14]
<Forecaster> well shoot, I blame the
Spice
L312[20:34:17] <Mimiru> lol
L315[20:35:42] <MichiBot>
Google Maps
Hacks by Simon Weckert | length:
1m 43s | Likes:
6,106 Dislikes:
291 Views:
857,374 | by
Simon
Weckert | Published On 1/2/2020
L316[20:35:44]
<Forecaster> hm
L317[20:36:50]
<Forecaster> this some old guy walking
around with a little cart full of phones with google maps running
to trick it into there being a lot of traffic xD
L318[20:37:14] <Izaya> ah yes
L319[20:37:17] <Izaya> hacking
L320[20:37:46]
<Forecaster> "lifehacks"
:P
L321[20:39:27] <payonel> @status
@SaltyKawaiiNeko
L322[20:39:27]
<Discord>
SaltyKawaiiNeko is currently OFFLINE
L323[20:39:55]
<20kdc>
want to get people who are too lazy to think about directions to
stay off a road?
L324[20:40:08]
<20kdc>
fake cars!
L325[20:40:16]
<20kdc>
...is that really a thing though
L326[20:40:43]
<Forecaster> is what what a thing?
L328[20:42:59] <payonel> @Forecaster: the
gpu can switch after boot, but the screen is sticky
L329[20:43:13] <payonel> i someone could
mimic the sticky-screen code to make the gpu sticky as well
L330[20:43:17] <payonel> i guess+
L332[20:44:04]
<Forecaster> nice attempt to ping me with
that even though I wasn't the one asking about it
L334[20:44:13] <payonel> yeah i know
:)
L335[20:44:21] <payonel> but that person
left, and you responded
L336[20:44:30] *
payonel shrugs
L337[20:44:31]
<Forecaster> though your attempt failed
because you didn't leave a space after my name
L338[20:44:42]
⇨ Joins: ba7888b72413a16a
(~ba7888b72@66.109.211.150)
L339[20:44:50] <payonel> well, for that i
blame corded
L340[20:44:51] <payonel> :)
L341[20:45:13] <payonel> or perhaps i
blame : being my irc client default autocomplete
L342[20:45:28] <payonel> and you are kind
enough to have an irc login with the same name :)
L343[20:45:41] *
Izaya would blame Discord for not doing pings properly,
personally
L344[20:46:01] *
payonel joins Izaya
L345[20:46:10]
<Forecaster> %care-o-meter
L346[20:46:10] <MichiBot> Forecaster:
Detecting trace amounts of background caring, but nothing
significant
L347[20:47:30]
<Kristopher38> @Mimiru those snacks look
like smd resistors
L349[20:48:34]
<Kristopher38> delet this
L350[20:49:53] <Mimiru> I could parse out
":" though I can't be sure that Forecaster and
Forecaster: don't both exist on Discord.. :P
L351[20:50:05]
<payonel>
ping both
L352[20:50:20]
<Forecaster> seems unlikely
L353[20:51:27]
<SaltyKawaiiNeko> I've solved my problem
regarding CPUs!
L354[20:51:33]
<SaltyKawaiiNeko> I've solved my problem
regarding multiple CPUs! [Edited]
L355[20:51:57]
<SaltyKawaiiNeko> for future reference,
I've created a boot script in `/boot` starting with `70_`
L356[20:52:52]
<SaltyKawaiiNeko> in it I can: 1) bind the
GPUs with their screens, 2) require `component` and
`component.setPrimary` for both the primary screen and the
gpu
L357[20:53:06]
<SaltyKawaiiNeko> after boot it will
successfully use the primary screen and its keyboard for the
shell
L358[20:53:15]
<SaltyKawaiiNeko> after boot OpenOS will
successfully use the primary screen and its keyboard for the shell
[Edited]
L359[20:53:31]
<SaltyKawaiiNeko> in it I can: 1) bind the
GPUs with their screens, 2) require `component` and then
`component.setPrimary` for both the primary screen and the gpu
[Edited]
L360[20:53:41]
<SaltyKawaiiNeko> in it I can: 1) bind the
GPUs with their screens, 2) require `component` and then
`component.setPrimary` for both the primary screen and its gpu
[Edited]
L361[20:56:05]
<Eternie>
Multiple CPU's? Sounds like that should've been GPU's
L362[20:56:06]
<Eternie>
No?
L363[20:56:11]
<SaltyKawaiiNeko> I've solved my problem
regarding multiple GPUs! [Edited]
L364[20:56:14]
<SaltyKawaiiNeko> GPUs
L365[20:56:15]
<SaltyKawaiiNeko> fixed
L366[20:56:30]
<SaltyKawaiiNeko> I don't know if there
should be an easier way for this
L367[20:56:38]
<SaltyKawaiiNeko> but with the current
status of the docs I can't do more
L368[20:56:57]
<payonel>
i've got about 5 minutes
L369[20:57:01]
<payonel>
what would you like me to fix?
L370[20:57:22]
<SaltyKawaiiNeko> are you asking me?
L371[20:57:27]
<payonel>
yep
L372[20:57:32]
<payonel>
also, the docs are wiki
L373[20:57:34]
<payonel>
you can fix too 🙂
L374[20:57:36]
<SaltyKawaiiNeko> okay so you can read
above but I'll summarize
L375[20:57:53]
<payonel>
well, chat history does not make docs 🙂
L376[20:57:56]
<payonel>
that's way too much work 🙂
L377[20:57:58]
<payonel>
esp. with 5 mins
L378[20:58:30]
<payonel>
what page in the docs is wrong or incomplete?
L379[20:58:33]
<SaltyKawaiiNeko> I wanted OpenOS to
deterministically always:
L380[20:58:34]
<SaltyKawaiiNeko> 1) correlate the same
GPU to the same screen, for each GPU-screen pair.
L381[20:58:34]
<SaltyKawaiiNeko> 2) use the same
GPU-screen pair for the shell, every boot
L382[20:58:57]
<SaltyKawaiiNeko> I've managed it with the
solution I've described above
L383[20:59:11]
<payonel>
that sounds like outside the scope of openos to support
L384[20:59:12]
<SaltyKawaiiNeko> just wondering if there
is a less convoluted solution...
L385[20:59:21]
<payonel>
it was my intention to make the screen stick on boot
L386[20:59:29]
<payonel>
meaning, the booting text is the same screen as the shell
L387[20:59:43]
<SaltyKawaiiNeko> that is what I have been
told, and the docs in question I am missing are the internals of
OpenOS itself dealing with the gpu management
L388[20:59:48]
<payonel>
well, i probably would have made the gpu stick, so the gpu didn't
switch during boot
L389[21:00:08]
<SaltyKawaiiNeko> I've gathered something
regarding the `component_available` signal for selecting the
primary but I couldn't figure that out at the end
L390[21:00:14]
<payonel>
but you want the gpu selection to be deterministic? not just
sticky?
L391[21:00:20]
<SaltyKawaiiNeko>
"sticky"?
L392[21:00:23]
<payonel>
what is the priority selection for a gpu ?
L393[21:00:57]
<payonel>
sticky as in, .. .the devices used during the boot up are the same
you are using when you get a shell
L394[21:01:20]
<SaltyKawaiiNeko> it's determined
manually. We have several screens disposed in certain way
physically, and we know their addresses. We also have the address
of each GPU and we have correlated them (depending on screen size
and importance vs GPU tier...) manually
L395[21:01:23]
<Forecaster> what if you could shift-click
with a gpu to make it a master, causing it to be loaded before any
non-master ones :>
L396[21:02:34]
<payonel>
@SaltyKawaiiNeko do you care if the bootup uses a different gpu? as
long as by the time shell is reached, everything is sorted
out?
L397[21:03:10]
<payonel>
keep in mind the trouble with boot is that i want it too start
printed boot statuses asap
L398[21:03:20]
<SaltyKawaiiNeko> I do not understand you
at all
L399[21:03:22]
<payonel>
so, the more logic we inject before that is...unfortunate
L400[21:03:56]
<Forecaster> my solution would solve that,
just grab the first primary gpu and start pouring into that
L401[21:04:14]
<SaltyKawaiiNeko> > what if you could
shift-click with a gpu to make it a master, causing it to be loaded
before any non-master ones :>
L402[21:04:14]
<SaltyKawaiiNeko> is this an actual
feature or an idea?
L403[21:04:21]
<SaltyKawaiiNeko> I'm getting really
confused because of this message
L404[21:04:23]
<Forecaster> an idea
L405[21:04:29]
<SaltyKawaiiNeko> ohh alright
L406[21:04:32]
<Forecaster> hence the "what
if"
L407[21:04:39]
<Forecaster> I wasn't being
sarcastic
L408[21:05:25]
<SaltyKawaiiNeko> payonel: my solution
actually does not work
L409[21:05:28]
<SaltyKawaiiNeko> it just failed
L410[21:05:40]
<SaltyKawaiiNeko> so this is no longer a
"how to make it nicer" question, but how to make it
work
L411[21:05:58]
<SaltyKawaiiNeko> the issue of this is
that it is not deterministic
L412[21:06:10]
<SaltyKawaiiNeko> it sometimes selects one
GPU, other times the other...
L413[21:06:13]
<SaltyKawaiiNeko> this is hell to
debug
L414[21:07:28]
<SaltyKawaiiNeko> @payonel ?
L415[21:08:20]
<Forecaster> it seems his 5 minutes are
up...
L416[21:08:29]
<Forecaster> he has been claimed...
L417[21:08:40]
<SaltyKawaiiNeko> holy shit I've been
trying to get this to work for 4 hours
L418[21:08:54]
<SaltyKawaiiNeko> I wish I could get some
more minutes... sigh
L419[21:08:58]
<SaltyKawaiiNeko> getting really
desperate
L420[21:09:20]
<SaltyKawaiiNeko> me and my friends, all
software engineers, can't make this work
L421[21:10:10]
<Forecaster> welcome, to the world of
tomorrow! I mean, the world of operating systems
L422[21:10:48]
<SaltyKawaiiNeko> honestly I've been
playing with osdev for 2 years and real systems are not fucking me
as harder as OpenOS is
L423[21:10:56]
<SaltyKawaiiNeko> the difference is the
documentation available
L424[21:17:42]
<payonel>
ok i'll poke here for a bit again
L425[21:17:57]
<payonel>
yeah, part of the complexity of openos is that i made it from the
openos of OC 1.5
L426[21:18:15]
<payonel> i
had to keep too many things the same
L427[21:18:39]
<payonel>
also, i didn't start build the openos we have today with the intent
of redoing as much as i did
L428[21:18:48]
<payonel> i
just kept doing more as more requests/bugs and memory needs came
in
L429[21:19:19]
<payonel>
anyways, some of these things are not part of the openos spec, so
not doc'd
L430[21:19:24]
<payonel>
anyways, how to make this work --
L431[21:20:21]
<payonel>
@SaltyKawaiiNeko when you boot the machine, you see some
quick/short "> ..." messages, and some
"Initializing ..." things
L432[21:20:56]
<payonel>
do you care if the gpu+screen used to print those "boot
up" messages are nondeterministic?
L433[21:21:28]
<payonel>
after that, you get a prompt (shell) - picking a gpu+screen for the
shell is secondary to the boot process
L434[21:21:50]
<SaltyKawaiiNeko> it depends on when we
are we talking. I would like to have the screen set up before the
shell executes `.shrc`
L435[21:21:58]
<SaltyKawaiiNeko> I do not care about the
boot messages
L436[21:22:16]
<payonel>
so you want motd and PS1 to print to your preferred
gpu+screen?
L437[21:22:25]
<SaltyKawaiiNeko> I mean ideally I would
like to see them in the main screen as well but I can pay that
price because it's only aesthetics
L438[21:22:43]
<payonel>
sure. btw, why is .shrc too late?
L439[21:23:20]
<SaltyKawaiiNeko> yes, the minimum would
be shell running `.shrc` and printing the motd with the main screen
set
L440[21:23:41]
<SaltyKawaiiNeko> so whatever fix we use
must happen before the shell starts I assume
L441[21:24:21]
<payonel>
but, just to keep it simple, what if .shrc did a screen clear, set
the gpus+screens, and then started the shell again elsewhere
L442[21:24:24]
<SaltyKawaiiNeko> > sure. btw, why is
.shrc too late?
L443[21:24:24]
<SaltyKawaiiNeko> because In `.shrc` I
launch stuff that assumes GPUs are already bound to the proper
screen and the shell is going to launch in the main screen as
well
L444[21:24:50]
<payonel>
ok so you just want a normal looking shell
L445[21:24:55]
<payonel>
in the screen that got the motd, etc
L446[21:25:02]
<payonel>
anyways - was just curious
L447[21:25:35]
<payonel> i
think having a preferred gpu+screen setup would be good in a boot/
then
L448[21:25:41]
<payonel>
can i see your 70_ ?
L449[21:26:10]
<payonel>
btw, i'm waiting for a meeting to start - so i might go afk
suddenly. sorry in advance
L450[21:26:15]
<SaltyKawaiiNeko> yeah in the secondary
screens I'm just going to launch control programs that do not
require interaction, they only show the status of my nuclear
reactor and some other things
L451[21:26:30]
<SaltyKawaiiNeko> and the main screen is
where I want the shell and OpenOS listening for keystrokes and
such
L452[21:27:20]
<SaltyKawaiiNeko> sure,
/boot/70customgpus.lua
L454[21:27:28]
<SaltyKawaiiNeko> sure,
/boot/70_custom_gpus.lua
L456[21:27:37]
<payonel>
i'm curious why a
L458[21:27:37]
<payonel>
was not sufficient
L459[21:27:56] <Inari> %pet @payonel
L460[21:27:56] <MichiBot> Inari is petting
@payonel with nothing. @payonel regains 1d4 => 4 hit
points!
L461[21:27:57]
<SaltyKawaiiNeko> same
L462[21:28:16] <Mimiru> .... a perfect
roll with nothing
L463[21:28:17]
<SaltyKawaiiNeko> the error I've observed
is that sometimes, like once every 20 boots, this happens:
L464[21:28:20] *
payonel blinks at Inari
L465[21:28:45]
<SaltyKawaiiNeko> main screen shows the
shell but with a low resolution because it using a tier 2 GPU which
should be set to a secondary screen
L466[21:29:11]
<SaltyKawaiiNeko> main GPU
(`component.gpu`) is set to the proper main GPU (tier 3) but
running `getScreen()` returns `nil`
L467[21:29:36]
<SaltyKawaiiNeko> main screen shows the
shell but with a low resolution because it is using a tier 2 GPU
which should be set to a secondary screen [Edited]
L468[21:29:51]
<SaltyKawaiiNeko> so something weird goes
on sometimes
L469[21:29:56]
<payonel>
@SaltyKawaiiNeko maybe remove the setPrimary on the screen, just
set primary gpu, and bind its screen
L470[21:30:07]
<payonel>
i'm not sure, i'd have to review what's going on
L471[21:30:11]
<payonel>
it's unexpected
L472[21:30:14]
<payonel>
i'm missing something
L473[21:31:50]
<payonel>
@SaltyKawaiiNeko nevermind, my idea wouldn't do it
L474[21:32:48]
<SaltyKawaiiNeko> hmm...
L475[21:32:48]
<payonel>
ah i think i know
L476[21:33:00]
<payonel>
lame
L477[21:33:11]
<payonel>
let me ponder before i speculate
L478[21:33:41]
<SaltyKawaiiNeko> btw, should this script
fail if pasted inside `autorun.lua`?
L479[21:34:04]
<payonel>
auto runs happens after boots/ during primray event handling
L481[21:34:08]
<payonel>
so, should be fine
L482[21:34:18] <Inari> @payonel I see you
learned from Mimiru
L483[21:34:33] <payonel> Inari: how's
that? :)
L484[21:34:37] <Mimiru> o_O
L485[21:34:42] <Inari> Always seems to
blink too when I do stuff
L486[21:34:49] <Mimiru> heh
L487[21:34:56] <payonel> ah, it's how cats
show affection
L488[21:35:03] <payonel> which you likely
kno
L489[21:35:04] <payonel> know*
L490[21:35:18] <Inari> :p
L491[21:36:07]
<payonel>
@SaltyKawaiiNeko ok,i have a likely solution - and we have a dumb
bug in openos that i'll fix, with your use-case in mind
L492[21:36:16]
<payonel>
so my fix is a hack, given the bug is still there
L493[21:38:55]
<SaltyKawaiiNeko> I'm listening with
interest
L494[21:39:27]
<payonel>
in boot/99user.lua (it doesn't matter where, just should be after
10)
L496[21:39:28]
<payonel>
and...please forgive my advice to require tty, it isn't a public
api 🙂
L497[21:40:02]
<payonel>
also, term_available isn't a long term solution. there are some
bits and bobs inside openos that are there as ideas and
beta-versions of things that might be api later
L498[21:40:23]
<payonel>
of course, these types of things seem to last for a long long time
🙂 but, i just dont like making promises about this sort of
thing
L499[21:40:28]
<SaltyKawaiiNeko> alright
L500[21:41:03]
<SaltyKawaiiNeko> due to the random nature
of this issue (not deterministic) I cannot assure you it has been
fixed...
L501[21:41:11]
<SaltyKawaiiNeko> but it seems to
work
L502[21:41:15]
<payonel>
with my idea ^
L503[21:41:18]
<payonel>
you tested that fast?
L504[21:41:36]
<SaltyKawaiiNeko> copy a snippet and
`reboot`, not a lot of work
L505[21:41:42]
<SaltyKawaiiNeko> let me reboot more
times...
L506[21:43:08]
<SaltyKawaiiNeko> I assume `gpu_addr` and
such is basically `component.get("shortAddress")`
right?
L507[21:43:21] <Mimiru> Hmm... OpenSec has
RFID cards... and you can tag entities with them... can you tag
Minecarts with them?
L508[21:43:25] <Mimiru> and if not I need
to change that
L509[21:43:32]
<SaltyKawaiiNeko> I don't know if
exceptions from boot scripts get reported anywhere but it seems to
be working
L510[21:44:05]
<SaltyKawaiiNeko> I mean I have not
observed that mysterious failure again
L511[21:44:32] <Mimiru> Quick someone go
test this for me!
L512[21:44:34] <Mimiru> :P
L513[21:44:58]
<SaltyKawaiiNeko> by the way, payonel. Do
you still have time?
L514[21:45:30]
<SaltyKawaiiNeko> I feel sorry for asking
this but the other day I asked a question, also about OpenOS, that
ended up without response
L515[21:45:38]
<SaltyKawaiiNeko> and you seem very
proficient, sir
L516[21:46:09]
<SaltyKawaiiNeko> so I was wondering if
you have time for, only if you want, help me with another small
question
L517[21:57:05]
<payonel>
event handler failures should be logged to /tmp/something
L518[21:57:10]
<payonel>
you could check there
L519[21:58:03]
<payonel>
and, i would hope to be proficient about openos stuff - i wrote
it†
L520[21:58:03]
<payonel>
†any bits i didn't end up rewriting, sangar has told me he doesn't
take blame for anymore
L521[21:58:35]
<payonel>
ah, /tmp/event.log
L522[21:59:07]
<payonel>
anyways, go ahead and ask
L523[21:59:10]
<payonel>
i'll respond as i can
L524[21:59:22]
<payonel>
also, always feel free to ping me directly, i always check my
pings
L525[22:41:44]
<Ocawesome101> Wait payonel you wrote
OpenOS?
L526[22:41:51]
<payonel>
yes
L528[22:42:14]
<Ocawesome101> I did not know that
L529[22:42:52]
<Ocawesome101> From what you said it
sounds like Sanger wrote it, then you rewrote it to be
better?
L530[22:44:18]
<payonel>
yeah, somewhat. i redid almost all of it
L531[22:44:41]
<payonel>
many of the bins i didn't change, nor the man pages
L532[22:44:43]
<payonel>
🙂
L533[22:45:03]
<payonel>
some of those even, i did change
L534[23:05:45] ⇦
Quits: Vaur (~vaur@56.ip-149-202-44.eu) (Ping timeout: 198
seconds)
L535[23:06:21]
⇨ Joins: Vaur (~vaur@56.ip-149-202-44.eu)
L536[23:12:40] <Mimiru> Oh, hey.. I just
found @"payonel" waaay back in the day in #cc logs
:P
L537[23:12:52]
<payonel>
oh dont look there
L538[23:12:55]
<payonel> i
was grumpy about lua
L539[23:13:06]
<payonel>
and i was trying to write a c# emulator for cc
L540[23:13:08]
<payonel>
zug
L541[23:13:14] <Mimiru> 2013-06-25
[19:28:02] <sugoi> d1 demo took me 8 hours to download,
50mb
L542[23:13:21] <Mimiru> lol! That's like
THE next line
L543[23:13:47]
<payonel>
and the cc dev guy, dan? he didn't agree with me on anything
L544[23:13:49] <Mimiru> [19:29:29]
<sugoi> i was really hoping dan200 would log on :) wanted to
show him my c# emulator :)
L545[23:13:59]
<payonel>
it was a lame emulator
L546[23:14:14]
<The_Stargazer> what the heck is that
username
L547[23:14:14] <Mimiru> I've been reading
back on myself..
L548[23:14:32]
<payonel>
@The_Stargazer i'm sugoi, payonel is my pseudopseudonym
L549[23:14:36]
<payonel>
🙂
L550[23:14:36]
<The_Stargazer> it's up there in the
'weird usernames' list along with 'AlexOniiChan'
L551[23:14:37]
<The_Stargazer> right.
L552[23:14:47]
<payonel>
payonel is my github name, i was part of irc long before github
existed
L553[23:15:02]
<The_Stargazer> why 'payonel' tho?
L554[23:15:09]
<The_Stargazer> is there a meaning behind
it?
L555[23:15:10]
<payonel>
at the time i created payonel for github and its email, i didn't
consider that irc and github would merge (shrug)
L556[23:15:39] <Mimiru> I didn't realize
we'd bumped into each other back then :P
L557[23:15:42]
<payonel>
yep, it essentially means "a bachelor"
L558[23:15:56]
<payonel>
like a single man (though it has no gender, so...bachelorette
too)
L559[23:16:07]
<payonel>
@Mimiru did we talk to each other?
L560[23:16:24] <Mimiru> Not yet, still
going through the logs heh
L561[23:16:56] <Mimiru> Lots of people I
miss chatting with :(
L562[23:18:08]
<The_Stargazer> unrelated: do you guys
think installing Minecraft itself and Technic so I can use
Minecraft's 64-bit Java without actually installing 64-bit Java is
big brain smarts?
L563[23:18:15]
<The_Stargazer> mostly it's laziness
though..
L564[23:18:37]
<The_Stargazer> wonder if Minecraft's java
runtime takes less time to download/install than an actual Java
install?
L565[23:19:48]
<The_Stargazer> also: how hard would it be
to write a socket listener in OpenOS?
L566[23:20:07]
<The_Stargazer> internet cards don't have
any kind of `listen()` function do they?
L567[23:20:49]
<payonel>
listen is for accepting connection requests. which we dont allow -
so no, there is no listen
L568[23:20:52]
<payonel>
you'd have to write a proxy
L569[23:21:23]
<The_Stargazer> oh
L570[23:21:32]
<The_Stargazer> also - is `computer` a
component or an API?
L571[23:22:12]
<payonel>
there is no openos /lib/computer.lua if that is what you mean
L572[23:22:17]
<payonel>
computer is one of the two core components
L573[23:22:21]
<The_Stargazer> ah
L574[23:22:22]
<payonel>
well, apis
L575[23:22:25]
<payonel>
🙂
L576[23:22:31]
<The_Stargazer> so it's impossible to
change `computer.runlevel`?
L577[23:22:38]
<payonel>
it is an api, there is no computer component, right?
L578[23:22:48]
<payonel>
haha, wow - i need to check that
L579[23:23:07]
<payonel>
ok yeah, computer is exposed as a component too
L580[23:23:27]
<payonel>
but its also one of two system level apis (what you have in
eeprom): `component` and `computer`
L581[23:23:54]
<payonel>
`computer.runlevel` is an openos thing, and i do anything special
with it
L582[23:24:08]
<payonel>
it was on of those messy things old old openos had that i never
removed
L583[23:24:14]
<payonel>
nor implemented to be something meaningful
L584[23:24:31]
<The_Stargazer> i'm writing a login daemon
and want to change the runlevel to 2
L585[23:24:44]
<The_Stargazer> just because, y'know,
linux runlevels
L586[23:27:08] ⇦
Quits: Vexaton (~Vexatos@port-92-192-14-57.dynamic.as20676.net)
(Quit: Insert quantum chemistry joke here)
L587[23:35:57]
⇨ Joins: Blue_595 (~Blue_595@47.196.78.56)
L588[23:36:03] <Blue_595> o/
L589[23:36:33] <Blue_595> i have a
question about the Computer API: are getBootAddress() and
setBootAddress() just a single non-volatile variable?
L590[23:37:27] <Blue_595> because i looked
inside the Lua BIOS and i found it just tries getBootAddress()
before finding a new drive, and when it does find a new drive it
runs setBootAddress(newDrive)
L591[23:38:44] <Blue_595> in other words,
is the value updated by setBootAddress() used by the machine to
boot in any way, or just by the EEPROM?
L593[23:39:13]
<payonel>
our EEPROM (Lua) thingie has that code
L594[23:39:27] <Blue_595> ok so the
machine just stores it in a small bit of non-volatile memory
L595[23:39:29]
<payonel>
this is an old old api we kept around in eeprom (lua) for legacy
purposes
L596[23:39:42]
<payonel>
and but that data field is custom, your custom eeprom may use that
data field differently
L597[23:39:58]
<payonel>
yes, eeproms have 2 data stores
L598[23:40:09]
<payonel>
accessed via get/set and getData/setData
L599[23:40:16] <Blue_595> for legacy
purposes; so if someone had an old copy of OpenOS?
L600[23:40:35]
<payonel>
more like if someone had an old custom os
L601[23:40:43] <Blue_595> right
L602[23:40:44]
<The_Stargazer> ok, so I can override
`computer.runlevel` to return something like `G.RUNLEVEL` and then
set `G.RUNLEVEL` to whatever runlevel I need
L603[23:40:45]
<payonel>
or an old version of openos too i guess
L604[23:40:59]
<payonel>
@The_Stargazer knock yourself out
L605[23:41:05] <Blue_595> yeah but they
wouldnt have much of a reason to not update OpenOS; it doesnt take
nearly as long as Windows
L606[23:41:06]
<payonel> i
dont care about runlevels, tbh
L607[23:41:13]
<The_Stargazer> are they unused?
L608[23:41:20]
<payonel>
they are unused
L609[23:41:22]
<The_Stargazer> ah
L610[23:41:39] <Blue_595> a very weird
function
L611[23:41:59] <Blue_595> and im assuming
@Corded is a bridge bot for... something (Discord?)
L612[23:42:19] <payonel> for irc
L613[23:42:21] <payonel> our true channel
home
L614[23:42:38] <Blue_595> but im on
irc
L615[23:42:44] <Blue_595> is it a
different channel?
L616[23:42:45] <payonel> i was using
discord because i'm lazy, and sometimes i dont have normal internet
access
L617[23:43:04] <payonel> corded is the
bridge between irc and discord, yes
L618[23:43:14] <payonel> opencomputers
discord server, and the #oc channel there
L619[23:43:33] <Blue_595> oh
L620[23:43:59] <Blue_595> so @Corded just
connects IRC and Discord (both #oc) together?
L621[23:44:04]
<MGR>
Yes
L622[23:44:19] <Blue_595> ok
L623[23:45:00] <Blue_595> also looking at
component.computer i noticed you can shut down and reboot computers
over the network
L624[23:45:08] <Blue_595> LAN-Boot in the
mod?
L625[23:45:37]
<payonel>
yes, and look at our redstone (and link card) for wake-on-lan type
api
L626[23:45:42]
<payonel>
and network card
L627[23:45:47]
<payonel>
you can send a message to wake (boot) a machine
L628[23:46:51] <Blue_595> and just
computer API, the beep() function accepts .- beeps
L629[23:47:09]
<payonel>
yeah, it has an optional param for freq
L632[23:48:08]
<payonel>
oh look nextcloud
L633[23:48:17] <Mimiru> heh yeah
L634[23:48:18]
<payonel> i
just got my nextcloud instance running this weekend
L635[23:48:25] <Mimiru> <3
nextcloud
L636[23:48:30]
<payonel>
holy crap, their installation process with mysql caused me hours of
frustration
L637[23:48:43]
<payonel>
so, no love yet
L638[23:48:48] <Mimiru> o_O
L639[23:48:49]
<payonel>
been using owncloud for years
L640[23:48:55] <Mimiru> I was up and
running in like 15 minutes.. lol
L641[23:49:04]
<payonel>
well you can eat my shorts
L642[23:49:13] <Mimiru> Wait.. how did you
install?
L643[23:49:32]
<payonel>
their installer absolutely refused to complete the setup, failed
immediately with login access failure for the oc_admin
L644[23:49:42]
<payonel>
tried python 2 and 3 via cli with occ
L645[23:49:45]
<payonel>
tried web ui
L646[23:49:46] <Mimiru> o_O
L647[23:49:48]
<payonel>
they all failed
L648[23:49:53] <Mimiru> Super
strange...
L649[23:50:08]
<payonel>
couldn't pre-make my ocadmin account of course because their
moronic installer would just change the name to ocadmin1
L650[23:50:21] <Mimiru> lol... :/
L651[23:50:23] <Mimiru> fun
L652[23:50:33] <Mimiru> No, wait.. the
other one.
L653[23:50:35]
<payonel>
tried with an older version of mysql, nope. tried nextcloud 17,
nope (i'm on 18)
L654[23:50:50]
<payonel>
finally got past that part by starting mysql directly with
skip-grant
L655[23:51:00]
<payonel>
but then, of course, it set my password wrong, so i couldn't log
in
L656[23:51:04]
<payonel>
oh no, first
L657[23:51:12]
<payonel>
it failed to start giving me 500s
L658[23:51:21]
<payonel> i
guessed (correctly) that it didnt give grant to the oc_admin
L659[23:51:25]
<payonel>
so i did that myself
L660[23:51:37]
<payonel>
got that passed 500, then couldn't log in. so i had to set the pw
manually via mysql
L661[23:51:40]
<payonel>
THEN it worked
L662[23:51:43]
<payonel>
so yeah, awesome work there
L663[23:52:42] <Mimiru> I had... none of
those issues..
L664[23:52:51] <Mimiru> I'm still on 17
here though..
L665[23:52:53] <Mimiru> so who knows
L666[23:52:55]
<payonel>
let me grab you another pair of my shorts... hold on
L667[23:53:02] <Mimiru> But yeah I dropped
owncloud ages ago
L668[23:53:14]
<payonel>
technically, i'm running both
L669[23:53:23]
<payonel> i
wanted something with more updates better support
L670[23:53:27]
<payonel>
also i was hoping for better perf
L671[23:53:33]
<payonel>
but so far, that still uscks
L672[23:53:49]
<payonel>
getting like ~5% cpu load on mysql, and almost zero io wait
L673[23:53:58]
<payonel>
but php is like (oh, you want to send more than 3 files at a time,
nah)
L674[23:54:26] <Mimiru> *grumbles*
L675[23:54:28] <Mimiru> yeah..
L676[23:55:02] <Mimiru> Annoyingly I have
my install behind a plesk reverse proxy... so I'm dealing with some
of its stupidity right now too
L677[23:55:24] <Mimiru> so like.. I can't
sync any file that plesk itself doesn't like.. no .dlls
L678[23:55:33]
<payonel>
haha LAME
L679[23:55:35] <Mimiru> my SWKotR saves
don't sync
L680[23:55:39]
<payonel>
why don't people let me do what i want to do!?
L681[23:56:14] <Mimiru> yeaaaaah
L682[23:56:25] <Mimiru> Cause end users
are dumb, yo.
L683[23:56:55] <Mimiru> And can't be
trusted with a "I'm not an luser" switch