<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:16:36] ⇦
Quits: Cervator
(Cervator!~Thunderbi@2601:4c1:4001:1d5d:38ba:c542:238a:e865)
(Remote host closed the connection)
L2[00:30:01] ⇨
Joins: ben_mkiv
(ben_mkiv!~ben_mkiv@p579722B1.dip0.t-ipconnect.de)
L3[01:01:32] ⇨
Joins: Doty1154
(Doty1154!~Doty1154@2601:648:8000:134f:ddfc:a5fc:da05:dafa)
L4[01:37:07]
<habnabit>
bah, i can't figure out how i can tell what characters my terminal
can display in game
L5[01:37:14]
<habnabit>
the ones that come out ? seem almost random
L6[01:39:49]
<CntKillMe>
wym? typically you can display "printable" characters and
the rest just show up as boxes or something
L7[01:40:22]
<habnabit>
yes i want to know which are printable
L8[01:41:36]
<CntKillMe>
well in the ascii "set" it's anything between 32 and
126
L9[01:41:56]
<habnabit> i
can display ?
L10[01:41:57]
<CntKillMe>
not sure how it goes with utf-8 characters since there's much
more
L11[01:42:09]
<CntKillMe>
yeah that looks like a unicode char
L12[01:42:13]
<habnabit>
it is
L13[01:50:04]
<CntKillMe>
is there an 'fstab'-like thing openos has?
L14[01:50:04]
<CntKillMe>
when i isntalled openos i mounted a floppy to
/mnt/installdrive/home but i have to manually mount this when i
boot
L15[01:50:04]
<CntKillMe>
i just edited /etc/profile.lua to call fs.mount("addr",
"/home") but that's kinda weird
L16[01:51:10]
<CntKillMe>
also it'd be cool if opencomputers had partition support (like
maybe it'd just be folders in the HD's root directory) but that
would kinda require to have to rewrite the bootloader
L17[01:51:33]
<CntKillMe>
also it'd be cool if opencomputers had partition support (like
maybe it'd just be folders in the HD's root directory) but that
would kinda require to have to rewrite the bootloader and a lot of
other things [Edited]
L18[01:51:41]
<Forecaster>
you can use the .shrc file to run commands on startup
L19[01:52:00]
<CntKillMe>
would that go in /home?
L20[01:52:08]
<Forecaster>
it already is in the home dir
L21[01:52:26]
<Forecaster>
OpenOS places one there on install
L22[01:52:39]
<CntKillMe>
ah you know what ok that makes sense
L23[01:53:12]
<CntKillMe>
when i installed openos i actually had /mnt/drive/home mounted as
another harddrive but i got rid of that and used a floppy disk
instead (and i didnt transfer anything since i assumed its
empty)
L24[02:00:33]
<CntKillMe>
is there a way to have a .shrc in /etc or something
L25[02:00:36] ⇦
Quits: Thutmose (Thutmose!~Patrick@host-69-59-79-123.nctv.com)
(Quit: Leaving.)
L26[02:00:41]
<CntKillMe>
since, well, home wouldn't have been mounted yet :p
L27[02:00:45]
<CntKillMe>
and that's what i want to mount on boot
L28[02:06:02]
<Forecaster>
uh
L29[02:06:14]
<Forecaster>
discuss that with payonel when he returns
L30[02:20:23] ⇨
Joins: Vexatos
(Vexatos!~Vexatos@p200300556E187E09146E143E2B5C7819.dip0.t-ipconnect.de)
L31[02:20:23] zsh
sets mode: +v on Vexatos
L32[02:46:05] ⇦
Quits: Doty1154
(Doty1154!~Doty1154@2601:648:8000:134f:ddfc:a5fc:da05:dafa) (Read
error: Connection reset by peer)
L33[03:08:56]
<habnabit>
UGH finally figured out all the places primary components get
assigned and made them order by slots
L34[03:09:48]
<habnabit>
no more using the wrong gpu
L35[04:28:23]
<Forecaster>
oh
L36[04:28:24]
<Forecaster>
uh
L37[04:28:39]
<Forecaster>
apparently a robot using an ic2 fluid cell doesn't actually empty
it...
L38[04:29:12]
<Forecaster>
that's a pretty major bug...
L39[04:45:14]
<Forecaster>
well, specifically when using "place"
L40[04:45:30]
<Forecaster>
which might not be intended to work at all
L41[04:48:16]
<Forecaster>
but you can't sneak-use an item with "swing"
L42[04:48:50]
<Forecaster>
oh wait, I should try use
L43[04:50:39]
<Forecaster>
use doesn't empty the cell either
L44[04:50:44]
<Forecaster>
just puts a bucket into the tank
L45[04:53:27] ⇦
Quits: ben_mkiv (ben_mkiv!~ben_mkiv@p579722B1.dip0.t-ipconnect.de)
(Remote host closed the connection)
L46[04:54:20]
<Forecaster>
@Vexatos
L47[04:54:24]
<Forecaster>
so, fluid duplication
L48[04:54:26]
<Forecaster>
yay
L49[04:55:45] <Vexatos> I blame fluid
cells
L50[04:55:49] <Vexatos> definitely
100%
L51[04:55:57] <Vexatos> and 80% it's their
fault
L52[04:56:03] <Vexatos> because fluid cells
are weird
L53[04:56:11] <Vexatos> they are nothing
like any other fluid container
L54[04:56:16]
<Forecaster>
so #blameplayer then
L55[04:56:17]
<Forecaster>
got it
L56[05:09:17] ⇦
Quits: lp (lp!~lordpipe@66.109.211.167) (Ping timeout: 383
seconds)
L57[05:12:53] ⇨
Joins: FeherNeoH
(FeherNeoH!~feherneoh@szanto-c.koll.pte.hu)
L58[05:19:42] ⇨
Joins: lp (lp!~lordpipe@66.109.211.167)
L59[05:44:11] ⇨
Joins: ben_mkiv
(ben_mkiv!~ben_mkiv@p579722B1.dip0.t-ipconnect.de)
L60[05:45:41] <ben_mkiv> why do you use the
cells at all?
L61[05:45:51] <ben_mkiv> cant you use tank
controller?
L62[05:46:12]
<Forecaster>
watch mondays episode and you'll find out :P
L63[05:46:33] <ben_mkiv> i would rather
watch 10h loop of nyan cat
L64[05:46:34] <ben_mkiv> sorry
L65[05:46:47]
<Forecaster>
I don't care :P
L66[05:46:48] <ben_mkiv> not intended to be
a pun, but i cant stand lets plays xD
L67[05:47:04]
<Forecaster>
then you simply wont find out
L68[05:55:43] <Vexatos> it was rather
hot
L69[06:18:05]
<Forecaster>
What?
L71[06:48:42] <Vexatos> @Forecaster was it
not the lava episode?
L72[06:49:25] <Vexatos> or do you mean next
monday's ep
L73[06:57:29]
<Forecaster>
next mondays
L74[06:57:52]
<Forecaster>
in which the ramble about using fluid cells with robots will
be
L75[07:14:59] ⇨
Joins: Turtle
(Turtle!~SentientT@ip5657cbb2.direct-adsl.nl)
L76[07:28:25] ⇨
Joins: BearishMushroom
(BearishMushroom!~BearishMu@82-209-154-59.cust.bredband2.com)
L77[07:37:30] ⇨
Joins: Inari
(Inari!~Pinkishu@p4FC1E565.dip0.t-ipconnect.de)
L78[08:36:00]
<Forecaster>
hm, there's no way to prevent robots from using specific items is
there...
L79[08:36:12] <AmandaC> Forecaster:
code!
L80[08:36:19] <AmandaC> Just like how drag
and drop was implemented
L81[08:36:32]
<Forecaster>
what
L82[08:36:50] <AmandaC> what
L83[08:37:31]
<Forecaster>
yeah that's not helpful
L84[08:37:36]
<Forecaster>
I mean like a blacklist
L85[08:37:52] <AmandaC> I'm not awake yet,
expect sub-standard humour
L86[08:39:01] <Inari> %pet AmandaC
L87[08:39:01] *
MichiBot brushes AmandaC with tilda~. AmandaC recovers 3
health!
L88[08:41:58] <AmandaC> %give MichiBot the
LGBT agenda
L89[08:41:59] *
MichiBot accepts the LGBT agenda and adds it to her
inventory
L90[08:42:18] <Inari> LGBTI \o/
L91[08:44:19]
<Forecaster>
ohno
L93[08:47:33] <AmandaC> %ohyes
L94[08:47:33] <MichiBot> AmandaC: Still
no.
L95[08:47:36] <AmandaC> :(
L96[08:48:02]
<Forecaster>
xD
L97[08:48:16] <AmandaC> %blame
@Forecaster
L98[08:48:16] *
MichiBot blames @Forecaster for adding pumpkin deodorant to the
inventory!
L99[08:48:31] <AmandaC> Why would a pumpkin
need deodorant?
L100[08:48:39] <AmandaC> silly
MichiBot
L101[08:48:44] <vifino> S3: Yes, check out
that YouTube channel.
L102[08:48:50] <vifino> It's awesome as
heck.
L103[08:49:14] <Mimiru> AmandaC, ask
Inari.
L104[08:49:34] *
AmandaC paws at Inari, demanding an answer
L106[08:50:09] <Inari> Nono
L107[08:50:09] <MichiBot>
DRUM PAD
PLUGGED UP TO A 2000 VOLT JACOBS LADDER | length:
1m 36s
| Likes:
451 Dislikes:
0 Views:
11,688 | by
LOOK MUM NO
COMPUTER | Published On 19/2/2017
L108[08:50:13] <Inari> pumpkin-scented
deodorant
L109[08:50:56] <AmandaC> Inari: oh. That's
less interesting.
L110[09:05:39] <vifino> I need to get some
solenoids, more relays and some more pots. Robopot drumkit needs to
happen.
L111[09:05:53] <vifino> s/solenoids/linear
activators/
L112[09:05:53] <MichiBot> <vifino> I
need to get some linear activators, more relays and some more pots.
Robopot drumkit needs to happen.
L114[09:20:14]
<Forecaster>
This is a fun story
L115[09:23:07]
⇨ Joins: Thutmose
(Thutmose!~Patrick@host-69-59-79-123.nctv.com)
L116[09:24:24]
<Forecaster>
apparently the rocket wont get high enough to see any curvature
anyway
L117[09:24:39]
<Forecaster>
not that you need to go into space to prove the earth is
spherical
L119[09:31:54]
<Forecaster>
not purple!!!
L120[09:31:59]
<Wuerfel_21>
(The only button reads "Don't execute")
L121[09:32:13]
<Wuerfel_21>
LIke this is the dumbest shit ever
L122[09:32:13]
<Forecaster>
well, not being executed is generally a good thing
L123[09:32:25]
<Wuerfel_21>
lol
L124[09:41:32] <AmandaC> @Forecaster My
favourite part was when he didn't get authorisation from FAA/ NASA
to launch, and then people piled on "THE MAN IS TRYING TO STOP
US FROM SEEING THE TRUTH!!!"
L125[09:45:38]
⇨ Joins: Cervator
(Cervator!~Thunderbi@2601:4c1:4001:1d5d:fcac:48aa:fe41:228d)
L126[10:09:33] ⇦
Quits: Thutmose (Thutmose!~Patrick@host-69-59-79-123.nctv.com)
(Ping timeout: 198 seconds)
L127[10:15:33]
⇨ Joins: Nachtara
(Nachtara!~Nachiebre@2604:2d80:c02c:8376:f89a:60b:e406:2f40)
L128[10:27:10]
<CntKillMe>
DEAD
L129[10:50:40] ⇦
Quits: Unh0ly_Tigg
(Unh0ly_Tigg!~Unh0ly_Ti@c-24-21-196-226.hsd1.or.comcast.net) (Quit:
Leaving)
L130[10:51:13] <Inari> I feel ike this has
been linked her already
L132[10:56:48] ⇦
Quits: alekso56_
(alekso56_!~cax@2001:464b:c21a:0:745d:45ff:fe3b:a098) (Ping
timeout: 383 seconds)
L133[11:07:04] <Temia> I still love how
he's trying to use this as proof when the cruising altitude of any
given airplane in the last 80 years is higher. You'd think just
learning to fly one of those would be less trouble for the people
funding him.
L134[11:07:17] <Temia> Then again, logic
has obviously never been their strong suit.
L135[11:07:24] <Temia> Not a single one of
them.
L136[11:11:25] <ben_mkiv> Inari, there are
some nice ones xD
L137[11:17:16]
⇨ Joins: alekso56
(alekso56!~cax@2001:464b:c21a:0:745d:45ff:fe3b:a098)
L138[12:04:15]
<Forecaster>
You don't need to be in the air at all really
L139[12:22:06] <gamax92> Temia: but the
earth is actually a stellated_dodecahedron
L140[12:22:45] <Temia> I thought that was
Popstar.
L141[12:22:51] <Temia> Or whatever.
L142[12:58:53] <payonel> @status
@CntKillMe
L143[12:58:53]
<Discord>
CntKillMe is currently ONLINE
L144[13:05:03] <seebs> so i *think* i made
a robot with a debug card (yes i'm aware this is a potentially bad
idea), but i can't figure out how to interact with the debug
component, because the usual require(componentname) fails.
L145[13:05:25] <payonel> @CntKillMe: there
is not an fstab, the boot fs is mounted to rootfs, and every fs is
mounted to /mnt/***. if you want more mounts than that you can add
commands to /home/.shrc or /etc/profile.lua
L146[13:05:48] <AmandaC> The
"usual" way to interact with components is
`component.<componentname>`
L147[13:06:01] <AmandaC>
`require(componentname)` is if there's a higher-level OpenOS API
for it
L148[13:06:14] <AmandaC> like filesystem,
internet, etc
L149[13:06:16] <payonel> @CntKillMe:
"when i installed openos i mounted a floppy to
/mnt/installdrive/home but i have to manually mount this when i
boot" -- there are two parts in this i dont understand
L150[13:06:22] <Inari>
AmandaC.paw.tickle()
L151[13:06:29] *
AmandaC bats at Inari's finger
L152[13:06:32] <Inari> :p
L153[13:06:35] <Inari> %pet AmandaC
L154[13:06:35] *
MichiBot pets AmandaC with the codes to the nuclear launch
terminal. AmandaC recovers 4 health!, the codes to the nuclear
launch terminal melts into a puddle of unidentifiable
goo.
L155[13:06:59] <AmandaC> And thus,
humanity was saved from total nuclear annilation.
L156[13:07:51]
<CntKillMe>
Payonel, when I installed OPenOS I had mounted a drive to the home
directory of the target I was installing openos on
L157[13:08:07] <payonel> 1. what do you
mean you mounted the floppy to /mnt/installdrive/home. The floppy
would have already been mounted to a /mnt/${floppy_addr_prefix}/.
why did you need to mount it again. and 2. why did you mount it to
/mnt/xxx/home ?
L158[13:08:25] <payonel> additionally, why
do you have to continue to mount the floppy after install? and why
manually? it should auto mount in /mnt/***
L159[13:08:41]
<CntKillMe>
I wanted the floppy drive to serve as my /home
L160[13:09:06]
<CntKillMe>
Floppy disk*
L161[13:10:10] <payonel> so this is a rw
floppy? not the install floppy? the one you wanted for /home?
L162[13:10:16]
<CntKillMe>
Yeah
L163[13:10:19] <payonel> ah
L164[13:11:15] <payonel> so before you
installed, you had mkdir a home dir, and mounted your floppy
there?
L165[13:11:18] <payonel> then you
installed?
L166[13:11:25] <payonel> that means your
floppy root should have a .shrc, yes?
L167[13:11:27]
<CntKillMe>
Yeah
L168[13:11:57] <payonel> and you need to
manually mount your home dir each time now, and you want that to be
automatic?
L169[13:12:42]
<CntKillMe>
Yeah
L170[13:12:55] <payonel> ok cool. you have
a few options
L171[13:13:00] <payonel> but no, i dont
have an fstab
L172[13:13:14]
<CntKillMe>
What I was doing originally was editing profile.lua
L173[13:13:22] <payonel> yeah, that's one
of the options
L174[13:14:23] <payonel> run-on-boot
options are (not in any order) 1. rc, 2. /boot, 3.
/etc/profile.lua, 4. /home/.shrc, and 5. autorun files in mounted
filesystems
L175[13:14:43] <payonel> for this i would
recommend either /etc/profile.lua or an .autorun on your
floppy
L176[13:15:02] <payonel> the .autorun on
the floppy would have the nice advantage that your home dir would
auto-correct when you put the floppy in
L177[13:15:08] <payonel> in case you
remove/replace it without rebooting
L178[13:16:53]
<CntKillMe>
Ah ok would I have to re-set the working directory after mounting
it
L179[13:17:14] <payonel> no
L180[13:17:33] <payonel> there is no dir
'node' that your environment is holding onto
L181[13:17:43]
<CntKillMe>
Doesn’t profile.lua set it to /home (if it exists) though?
L182[13:18:03] <payonel> it sets $HOME to
/home, yes
L183[13:18:13] <payonel> but there is no
filesystem NODE that your shell has a reference to
L184[13:18:18]
<CntKillMe>
Ah ok
L185[13:18:36] <payonel> there are
definitely file and dir nodes underlying this
L186[13:18:42] <payonel> but, the shell
doesn't know about that
L187[13:18:50]
<CntKillMe>
Thank you, still new to OC so yeah
L188[13:19:10] <payonel> oh no
problem!
L189[13:19:20] <payonel> these are also
somewhat advanced questions about how openos run
L190[13:19:24]
<CntKillMe>
Out of curiosity you made openos?
L191[13:19:34] <payonel> you're not going
to find documentation for all of these questions :)
L192[13:19:37] <payonel> ye
L193[13:19:39] <payonel> yes*
L194[13:19:48]
<CntKillMe>
Ah that’s sick ty
L195[13:19:56] <payonel> :) you're
welcome
L196[13:20:06] <Vexatos> He didn't
L197[13:20:08] <Vexatos> only 98%
L198[13:20:11] <Vexatos> I made
note.lua
L199[13:20:16] <Vexatos> :3
L200[13:20:17] <payonel> haha, ok ok, true
enough
L201[13:20:17]
<CntKillMe>
:p
L202[13:21:05]
<CntKillMe>
Tbh someone should make a legit mbr implementation with partitions
and all that with unmanaged hds
L203[13:21:31]
<CntKillMe>
I think it’d be too slow tho
L204[13:23:32] <CompanionCube> why would
intentionally introduce that pile of hacks
L205[13:23:53]
<CntKillMe>
Being able to have separate partitions on a single drive would be
really cool
L206[13:24:21] <CompanionCube> there are
better choices than an MBR :p
L207[13:24:24]
<CntKillMe>
Being able to like, install openos and some other os on the same
drive
L208[13:24:27]
<CntKillMe>
True
L209[13:26:04] <CompanionCube> something
GPT-esque would be better
L210[13:27:09] <payonel> well, it's just
oc and mc :) it doesn't have to be a perfect drop in for exsting
mbr or gpt api rules
L211[13:27:50] <payonel> @CntKillMe you
could have a managed drive with directories, and mount those
separately
L212[13:28:30] <payonel> @CntKillMe mount
supports --bind, to mount dir to dir
L213[13:28:53] <payonel> `mount --bind
/mnt/foo/home /home`
L214[13:29:11]
<CntKillMe>
Oh cool it’d be even easier to use managed ones too
L215[13:30:31]
<CntKillMe>
How slow would dealing with unmanaged drives actually be though I’m
wondering
L216[13:30:40] <payonel> ok, i'm going afk
for a bit. hang around and feel free to ask me whatever else you
would like to know
L217[13:30:46] *
payonel is afk
L218[13:32:42]
<CntKillMe>
This is completely unrelated but I’m creating a tmux-esque
application and I’m wondering if openos sort of supports multiple
shells and if I can sort of redirect them or w/e
L219[13:49:31] <Skye> @CntKillMe, it sort
of does for some stuff, but isn't documented.
L220[13:49:39] *
Skye tosses @payonel at @CntKillMe
L221[13:49:55] <Skye> if you want full
support
L222[13:50:02] <Skye> you'd also need to
wrap the gpu component
L223[13:50:48] ⇦
Quits: ben_mkiv (ben_mkiv!~ben_mkiv@p579722B1.dip0.t-ipconnect.de)
(Ping timeout: 383 seconds)
L224[13:51:07]
<CntKillMe>
Are you lunate
L225[13:51:24]
<CntKillMe>
Anyways yeah I’ll check that stuff out
L226[13:55:27] <payonel> @CntKillMe it's
something i want to improve (tmux/screen like support)
L227[13:55:44] <payonel> there are things
in place, but i'm working/thinking of reworking still
L228[13:56:07] <payonel> anything in
/lib/tty is not an api -- that is to say, you can't rely on it
being there from release to release
L229[13:56:10]
<CntKillMe>
Yay openos is not dead
L230[13:56:14] <payonel> the term api
however is promised
L231[13:56:24] <payonel> ha no. i'm
working on it all the time
L232[13:56:56] <payonel> well, not all the
time
L233[13:57:04] <payonel> but it's not
dead
L234[14:05:04] <seebs> but i may be
missing something obvious
L235[14:05:04] <seebs> ... somehow i got
confused and did require("debug") rather than
require("component").debug
L236[14:05:43]
<CntKillMe>
What is plan9k and what’s the difference aaaa
L237[14:09:03]
<Skye> it
was made by
L238[14:09:09]
<Skye>
someone who doesn't exist?!
L239[14:09:10]
<Skye>
nuu
L240[14:09:14]
<Skye>
Magi6k died
L241[14:09:16]
<Skye> or
left
L242[14:09:17]
<Skye>
x_x
L243[14:15:21] ⇦
Quits: xarses (xarses!~xarses@c-67-180-86-164.hsd1.ca.comcast.net)
(Remote host closed the connection)
L244[14:20:01]
<habnabit>
@payonel did you see the thing i posted about primary
components/slots?
L245[14:42:33] ⇦
Quits: wolfmitchell (wolfmitchell!~mitchell@23-111-179-112.exho.co)
(Ping timeout: 198 seconds)
L246[15:06:12]
⇨ Joins: wolfmitchell
(wolfmitchell!~mitchell@23-111-179-112.exho.co)
L247[16:34:53]
⇨ Joins: Doty1154
(Doty1154!~Doty1154@2601:648:8000:134f:30b4:2f84:7ad5:7478)
L248[16:36:20] ⇦
Quits: Doty1154
(Doty1154!~Doty1154@2601:648:8000:134f:30b4:2f84:7ad5:7478) (Remote
host closed the connection)
L249[16:37:06]
⇨ Joins: Doty1154
(Doty1154!~Doty1154@2601:648:8000:134f:30b4:2f84:7ad5:7478)
L250[16:39:26] <gamax92> %lua bit32
L251[16:39:27] <MichiBot> table:
0x7fa480745540
L252[16:39:50] <Inari> %lua gamax92
L253[16:39:50] <MichiBot> nil
L254[16:40:29] <gamax92> %lua Inari
L255[16:40:29] <MichiBot> lewd
L256[16:43:04] <gamax92> %lua function
mul(m, n) local v=0 for i=0, 31 do if bit32.btest(n, 2^i) then
v=v+bit32
L257[16:43:04] <gamax92> .lshift(m, i) end
end return v end
L258[16:43:04] <MichiBot> main:1: 'end'
expected near <eof>
L259[16:43:34] <Inari> :D
L260[16:43:39] <Inari> %pet gamax92
L261[16:43:39] *
MichiBot brushes gamax92 with a foamy bath. gamax92 recovers 8
health!
L262[16:44:10] <gamax92> %lua function
mul(m, n) local v=0 for i=0, 31 do if bit32.btest(n, 2^i) then
v=v+bi
L263[16:44:10] <gamax92> t32.lshift(m, i)
end end return v end
L264[16:44:10] <MichiBot> main:1: 'end'
expected near <eof>
L265[16:44:12] <gamax92> ?????
L266[16:44:17] <gamax92> oh
L267[16:44:19] <gamax92> it's
splitting
L268[16:44:36] <gamax92> %lua function
mul(m, n) local v=0 for i=0, 31 do if bit32.btest(n, 2^i) then
v=v+bit32.lshift(m, i) end end return v end
L269[16:44:45] <gamax92> %lua mul(9,
3)
L270[16:44:45] <MichiBot> 27
L271[16:44:48] <gamax92> :S
L272[16:44:52] <gamax92> oh
L273[16:44:57] <gamax92> I need a
break.
L274[16:46:17] <gamax92> %lua function
mul(m, n) local v,c=0,1 for i=0, 31 do if bit32.btest(n, c) then
v=v+bit32.lshift(m, i) end c=bit32.lshift(c, 1) end return v
end
L275[16:46:25] <gamax92> %lua mul(81,
5)
L276[16:46:26] <MichiBot> 405
L277[16:46:59] <gamax92> Anyway there's a
complicated way to do multiplication
L278[16:47:19] ⇦
Quits: Inari (Inari!~Pinkishu@p4FC1E565.dip0.t-ipconnect.de) (Quit:
'Flow, like the river.' - Hanzo (Overwatch))
L279[17:53:49] <payonel> @status
@habnabit
L280[17:53:49]
<Discord>
habnabit is currently OFFLINE
L281[17:54:10] <payonel> Mimiru: does tell
work with corded? do i need @ for discord names?
L282[17:54:53]
<Forecaster>
Of course player blames OC for not sufficiently emulating a player
inventory
L283[17:55:26] <payonel> @forecaster? in
the forums?
L284[17:55:34] <Vexatos> yea OC already
has a mere two classes with like 100000000 lines of code for
that
L285[17:55:49]
<Forecaster>
pantone tell works with discord yes
L286[17:56:03]
<Forecaster>
Dammit autocorrect
L287[17:56:03] <Vexatos> ._.
L288[17:56:09] <Vexatos> mayonel
L289[17:56:42]
<Forecaster>
payonel no, in the railcraft channel
L290[17:56:55]
<Forecaster>
Where I told him about the issue
L291[17:57:22]
<Forecaster>
And yes, you need @ to tell a discord user
L292[17:57:50]
<Forecaster>
And it makes corded send them a PM on discord
L293[18:00:34] <payonel> ok coo
L294[18:02:11] <Arcan> %choose Space
Engineers or World of Warships or something else
L295[18:02:12] <MichiBot> Arcan: Space
Engineers
L296[18:21:52] <AmandaC> %choose
stationeers or other
L297[18:21:52] <MichiBot> AmandaC:
stationeers
L298[18:34:35] <Mimiru> tell to discord?
no I don't think so... PM support is super janky
L299[18:34:38] <Mimiru> it MIGHT
work
L300[18:34:40] <Mimiru> but I doubt
it
L301[18:34:51] <Mimiru> %tell @Mimiru
Test
L302[18:34:51] <MichiBot> Mimiru: @Mimiru
will be notified of this message when next seen.
L303[18:35:02]
<Mimiru>
.
L304[18:35:07] <Mimiru> Oh
L305[18:35:10] <Mimiru> I guess it
does.
L306[18:35:27] <Mimiru> Just... they won't
get a notification about it cause that's done via notice
L307[18:35:45] <Mimiru> and... if you're
@'ing them anyay it'll be in there mention history
L308[18:40:46] <Mimiru> payonel, ^
L309[18:42:46]
<habnabit>
@payonel i had to close discord because memory pressure
L310[18:42:48]
<habnabit>
anyway hi
L311[18:46:49] <payonel> @habnabit you
were concerned about the primary components and changed something
so that the primary is the same each time by sorting by slot?
L312[18:47:35] <payonel> @tell @mimiru
thanks
L313[18:47:54] <Mimiru> :P
L314[18:50:58]
<habnabit>
@payonel yeah. otherwise the gpu used is random on every boot
L315[18:54:15] <payonel> @habnabit what i
think would be nice would be to have a /etc/udev/rules.d/ created
when a system first boots
L316[18:54:23] <payonel> and it populates
it with things like the primary components used
L317[18:54:29]
<habnabit>
hah
L318[18:54:39] <payonel> you could then
edit those or delete them and have it recreate them
L319[18:55:04]
<habnabit>
hmm
L320[18:56:08] <payonel> the main reason i
haven't and probably won't do that ... is memory
L321[18:56:24]
<habnabit>
memory?
L322[18:56:29] <payonel> oh yeah
L323[18:56:38] <payonel> i've got 60k free
on tier 1 ram now
L324[18:56:43] <payonel> and i've worked
VERY hard to get there
L325[18:56:53]
<habnabit>
oh, you mean used by the OS
L326[18:56:57] <payonel> yeah
L327[18:57:08]
<habnabit>
devfs is a major contributor?
L328[18:57:14] <payonel> honestly, most
people have no idea how many things i can't do with openos because
of memory
L329[18:57:20] <payonel> no, devfs is
almost free
L330[18:57:28] <payonel> devfs has no mem
cost unless you use it
L331[18:57:50] <payonel> it costs about
500 bytes i think, maybe 700
L332[18:57:58] <payonel> to just almost
exist
L333[18:59:04] <payonel> for example,
loading the thread library costs abotu 40k iirc
L334[18:59:08] <payonel> about*
L335[18:59:26] <payonel> using tab
completion loads the full sh lib, i think about 25k
L336[19:00:20] <payonel> using a ; in your
shell command loads the full text parsing library, that's 15k
iirc
L337[19:01:00]
<habnabit>
hm. how would this use memory?
L338[19:01:07] <payonel> udev rules?
L339[19:01:11] <payonel> because it would
have to be check on load
L340[19:01:16] <payonel> on boot*
L341[19:01:24]
<habnabit>
oh, i didn't think you'd have a file to parse
L342[19:01:34]
<habnabit>
just, like, symlinks to devfs entries
L343[19:01:57] <payonel> to parse devfs i
have to full load devfs
L344[19:02:11]
<habnabit>
mm
L345[19:02:13] <payonel> sorry, not parse
i mean list or traverse
L346[19:02:35] <payonel> but no, id prefer
config rules
L347[19:02:52] <payonel> even if it was
symlinks though, that's a pretty big cost
L348[19:03:01]
<habnabit> a
text file containing just an address?
L349[19:03:02] <payonel> (due to
traversing devfs)
L350[19:03:15] <payonel> yes, i would have
to have a serializer and logic about what component is
primary
L351[19:03:22] <payonel> plus any other
features rules should have
L352[19:03:28]
<habnabit>
hmm
L353[19:03:30] <payonel> you have to weigh
this cost against the benefit
L354[19:03:36] ⇦
Quits: xarses_ (xarses_!~xarses@67.218.117.86) (Ping timeout: 186
seconds)
L355[19:03:42] <payonel> how many users
does this help vs the mem cost
L356[19:03:45]
<habnabit>
what about the lua serialization library
L357[19:04:08] <payonel> i'm not saying i
can't use that lib
L358[19:04:19] <payonel> i'm talking about
the logic to interpret the rules
L359[19:04:20]
<habnabit>
you were listing costs of all of these things
L360[19:05:04] <payonel> i guess what i'm
trying to say is that a boot system that uses udev/rules.d to
configure things about components is a feature
L361[19:05:17] <payonel> and that feature
is not free - anything we add there is added to boot mem cost
L362[19:05:38] <payonel> and any cost has
to be justified
L363[19:06:23]
<habnabit> i
dunno how one can make these things options
L364[19:06:27]
<habnabit>
optional
L365[19:09:32] <payonel> i'd probably make
a /boot/0?_udev.lua engine thingy
L366[19:09:37] <payonel> maybe make it
disabled by default
L367[19:10:04] <payonel> maybe put
something in /etc/udev/settings.cfg that enables/disables it
L368[19:12:52] <payonel> @habnabit also
... if i could run all the rules without having persist any event
listeners or inject any callbacks ... the memory would be reclaimed
as the engine itself would unload after it ran
L369[19:13:03] <payonel> ...
L370[19:14:45] *
payonel is afk
L371[19:14:51] ⇦
Quits: Vexatos
(Vexatos!~Vexatos@p200300556E187E09146E143E2B5C7819.dip0.t-ipconnect.de)
(Quit: I guess I have to go now. Bye ?)
L372[19:14:59]
<habnabit> i
guess it depends on whether you want it to reparse rules when new
components are connected
L373[19:15:10]
<habnabit>
or do anything at all
L374[19:25:47] ⇦
Quits: glasspelican
(glasspelican!~quassel@ktnron060ww-lp140-02-70-27-168-98.dsl.bell.ca)
(Remote host closed the connection)
L375[19:29:00]
⇨ Joins: glasspelican
(glasspelican!~quassel@ktnron060ww-lp140-02-70-27-168-98.dsl.bell.ca)
L376[19:54:45] ⇦
Quits: Turtle (Turtle!~SentientT@ip5657cbb2.direct-adsl.nl) (Read
error: -0x1: UNKNOWN ERROR CODE (0001))
L377[21:01:18] ⇦
Quits: Doty1154
(Doty1154!~Doty1154@2601:648:8000:134f:30b4:2f84:7ad5:7478) (Quit:
Leaving)
L378[21:07:09] ⇦
Quits: BearishMushroom
(BearishMushroom!~BearishMu@82-209-154-59.cust.bredband2.com) (Ping
timeout: 198 seconds)
L379[21:22:18]
⇨ Joins: Doty1154
(Doty1154!~Doty1154@2601:648:8000:134f:4005:7e95:526f:deb1)
L380[21:38:15] <gamax92> %lua mul(0,
43)
L381[21:38:15] <MichiBot> 0
L382[21:38:17] <gamax92> %lua mul(43,
0)
L383[21:38:18] <MichiBot> 0
L384[21:38:19] <gamax92> k
L385[21:43:57]
<CntKillMe>
does that work from here ??
L386[21:43:59]
<CntKillMe>
%lua print("abc")
L387[21:44:00] <MichiBot> abc
L388[21:44:03]
<CntKillMe>
ayy
L389[21:44:14]
<CntKillMe>
%lua os.execute("echo hi")
L390[21:44:15] <MichiBot> main:1: attempt
to call field 'execute' (a nil value)
L391[21:44:18]
<CntKillMe>
D'oh
L392[22:11:20] ⇦
Quits: Cervator
(Cervator!~Thunderbi@2601:4c1:4001:1d5d:fcac:48aa:fe41:228d) (Quit:
Cervator)
L393[22:18:45]
⇨ Joins: Vortex
(Vortex!webchat@umc-140094.dhcp.missouri.edu)
L394[22:18:54] <Vortex> hello?
L395[22:19:29] ⇦
Quits: Vortex (Vortex!webchat@umc-140094.dhcp.missouri.edu) (Client
Quit)
L396[22:19:33]
⇨ Joins: Vortex
(Vortex!webchat@umc-140094.dhcp.missouri.edu)
L397[22:19:40] <Vortex> is anyone here i
have a question
L398[22:22:59] ⇦
Quits: Vortex (Vortex!webchat@umc-140094.dhcp.missouri.edu) (Ping
timeout: 180 seconds)
L399[22:23:50]
⇨ Joins: MrFRZ (MrFRZ!webchat@209.54.86.115)
L400[22:24:04]
⇨ Joins: Vortex
(Vortex!webchat@umc-140094.dhcp.missouri.edu)
L401[22:24:07] <MrFRZ> Can anyone help me
with a library issue?
L402[22:30:01] <Izaya> Quite
possibly.
L403[22:30:09] <Mimiru> State your issue,
if someojne can help, they will.
L404[22:30:18] <Mimiru> s/j//
L405[22:30:18] <MichiBot> <Mimiru>
State your issue, if someone can help, they will.
L407[22:37:08] <MrFRZ> the script requires
component.lua and computer.lua
L408[22:37:32] <MrFRZ> But neither of
these library files are in /lib and I used the find command and
they aren't on the robot's filesystem
L409[22:37:55] <payonel> MrFRZ: they do
not require component.lua nor computer.lua
L410[22:37:57] <MrFRZ> Do I need a teir 3
robot or some addon to make these non-standard libraries
available?
L411[22:38:07] <payonel> they do
require("component" and
require("computer")
L412[22:38:11] <payonel> +)
L413[22:38:30] <payonel> but require
doesn't necessary load files named *.lua
L414[22:38:41] <MrFRZ> right, but I mean
they are requiring library files I cant find. The program is not
working
L415[22:39:05] <payonel> anyways, those
libraries are available to require and the packaging system when
openos boots
L416[22:39:12] <payonel> so i would ask,
are you booting openos?
L417[22:39:29] ⇦
Quits: Vortex (Vortex!webchat@umc-140094.dhcp.missouri.edu) (Ping
timeout: 180 seconds)
L418[22:40:36] <MrFRZ> yup. Btw, I just
ran find --name="components*" and a few entries have
popped up. I thought the script wasnt running because the files
were missing because I couldnt call computer.maxEnergy() from the
lua shell
L419[22:41:03] <payonel> MrFRZ:
require("compoennt") and require("computer")
are NOT loading files
L420[22:41:14] <payonel> those are
libraries injected into the package library cache during boot
L421[22:41:54] <payonel> what happens when
you call computer.maxEnergy() from the lua shell?
L422[22:42:12] <payonel> and, what error
do you see when you try to run that dig program?
L423[22:44:06] <MrFRZ> The miner.lua
program gets stuck saying it's waiting till batteries are full
(lines 488-454 in the file) and running computer.maxEnergy() gives
no output in the lua shell
L424[22:44:43] <payonel> first of all, if
libraries are missing for require(), require() throws an exception
and the program would crash
L425[22:44:48] <MrFRZ> granted, the
battery isnt full, but it was at 99% and I feel that's a bug in the
code so I was looking to change it. Trying to debug was when I
found computer.maxEnergy returns nothing in the lua shell
L426[22:45:00] <MrFRZ> and I've since dove
down the rabbit hole
L427[22:45:08] <Mimiru> do wee still need
='s in the lua shell? it's been a while.
L428[22:45:13]
⇨ Joins: knightkill
(knightkill!webchat@49.36.1.205)
L429[22:45:14] <Mimiru> s/ee/e/
L430[22:45:14] <MichiBot> <Mimiru>
do we still need ='s in the lua shell? it's been a while.
L431[22:45:18] <payonel> second of all, it
sounds like you might be running an old version of openos
L432[22:45:30] <payonel> in which you
would need, as Mimiru points out, a = at the start of the
line
L433[22:45:32] <MrFRZ> Im on a 1.10 MC
server
L434[22:45:42] <payonel> that tells me
nothing about the oc version
L435[22:45:51] <MrFRZ> OPenOS 1.61
L436[22:45:58] <payonel> regardless,
prefix your lua shell command with =
L437[22:46:00] <MrFRZ> 1.6.1
L438[22:46:04] <payonel> yes, 1.6.1 is
VERY old
L439[22:46:08] <payonel> a year old
now
L440[22:46:15] <MrFRZ> and how do I read
out the variable? and damn...
L441[22:46:18] <Mimiru> so yeah
=computer.maxEnergy()
L442[22:46:23] <MrFRZ> ohhh
L443[22:46:25] <Mimiru> should give you a
value in the lua shell
L444[22:46:53] <payonel> MrFRZ: so like i
said, the program would crash if require() failed
L445[22:47:58] <payonel> and it looks like
it will sleep for 1 second until energy is <= 100 from
full
L446[22:48:03] <payonel> seems
reasonable
L447[22:48:16] <payonel> perhaps a bit ...
strict honestly
L448[22:48:22] <payonel> maybe <= 1000
would be better
L449[22:48:25] <MrFRZ> ok, I'm getting a
value. Now I can debug the code to change the energy issue
L450[22:48:40] <MrFRZ> yeah, I think the
energy requirement is too high
L451[22:48:55] <MrFRZ> what line are you
suggesting I change to <= 1000?
L452[22:49:10] <payonel> 451
L453[22:49:12] <payonel> while
computer.maxEnergy() - computer.energy() > 100 do
L454[22:49:15] <payonel> while
computer.maxEnergy() - computer.energy() > 1000 do
L455[22:59:55] <MrFRZ> ok, well I got past
the battery part but this script just seems shitty. Now the robot
starts mining, digs one block and returns. Even if I give it
parameters to mine in a radius of 20 for example
L456[23:00:18] <MrFRZ> -_-
L457[23:03:40] <payonel> i dont have
experience with the script, sorry
L458[23:03:55] <payonel> though, it was
written by Sangar :|
L459[23:03:59] <Mimiru> I used it long
long ago, it worked well enough..
L460[23:04:08] <Mimiru> IDK bitrot may
have broken it though.
L461[23:04:56] <MrFRZ> not working anymore
it seems. on OpenOS 1.6.1 the robot starts mining the shaft and
then stops randomly with a Failed to dig shaft error
L462[23:05:03] <MrFRZ> then returns to
origin
L463[23:05:10] <MrFRZ> what is
bitrot?
L464[23:05:38] <Mimiru> "Software
rot, also known as code rot, bit rot, software erosion, software
decay or software entropy is either a slow deterioration of
software performance over time or its diminishing responsiveness
that will eventually lead to software becoming faulty, unusable, or
otherwise called "legacy" and in need of upgrade. This is
not a physical phenomenon: the software does not actually decay,
but rather suffers from a lack of being responsive and
L465[23:05:38] <Mimiru> updated with
respect to the changing environment in which it
resides."
L466[23:06:26] <MrFRZ> yeah, it was
written in 2015 so that's probably the case
L467[23:06:36] <Mimiru> basically enough
in the mod has changed, and the program itself hasn't been updated
that it's outdated.
L468[23:06:40] <Mimiru> I'
L469[23:06:48] <Mimiru> I'm not sure
that's the case.. but it's possible.
L470[23:06:58] <payonel> MrFRZ: fwiw, it
is highly unlikely to be openo at fault, and assuming it is not a
user error :), i would blame the 1.10 port of the robot code
L471[23:07:11] <payonel> openos*
L472[23:07:30] <payonel> but also, you are
on an outdated version of oc
L473[23:07:32] <Mimiru> Nope, sorry, PRing
a change now for openos -> openo
L474[23:07:40] <payonel> haha...crap
L475[23:07:46] <MrFRZ> It was user error
before, but I dont think it is now. I'm running the script with
default params
L476[23:07:57] <payonel> MrFRZ: though
i've not changed the robot move/dig code, so, not sure what to tell
you there
L477[23:08:45] <MrFRZ> I will probably
just try to find a different script
L478[23:08:48] <MrFRZ> or code my
own
L479[23:11:58] <Mimiru> pffft, no one
actually writes code.
L480[23:14:14]
⇨ Joins: Thutmose
(Thutmose!~Patrick@host-69-59-79-123.nctv.com)
L481[23:16:26] <payonel> heh
L482[23:16:39] <payonel> you know....i'm
working on openos right now..in fact
L483[23:17:07] <Mimiru> I stand behind my
statement, you're creatively copy/pasting code.
L484[23:17:08] <Mimiru> :P
L485[23:17:23] <payonel> haha
L486[23:19:03] <MrFRZ> I have another
question for you guys. I have a simpler mining script running right
now. Working fine. But when the robot encounters dirt it cant seem
to mine it. (holding a diamond pickaxe)
L487[23:19:23] <MrFRZ> is that because a
robot needs a specific tool, ie a shovel, to remove dirt?
L488[23:19:59] <MrFRZ> Actually, wow. Now
it cant mine uranium with a diamond pickaxe......
L489[23:26:48] <MrFRZ> whatever. I'll
figure this out later.
L490[23:26:54] <MrFRZ> Thanks for the help
though guys
L491[23:28:55] <payonel> Mimiru: i forgot
local
L492[23:29:21] <payonel> i was missing
local
L493[23:29:27] <payonel> ho.lee.crap
L494[23:29:40] <payonel> i have been
trying to debug this crap for most of the week
L495[23:29:45] <payonel> and i was missing
local
L496[23:29:59] ⇦
Quits: MrFRZ (MrFRZ!webchat@209.54.86.115) (Ping timeout: 180
seconds)
L497[23:30:15] <Mimiru> Been there.
L498[23:31:10] <payonel> wow
L499[23:31:13] <payonel> and now all my
tests pass
L500[23:31:18] <payonel> for crying out
loud
L501[23:31:29] <payonel> Mimiru: so i'm
trying to generalize a few different types of
"handle"
L502[23:31:38] <payonel> and then have all
handles owned by the process
L503[23:31:46] <payonel> so when the
process closes, all remaining handles do to
L504[23:31:57] <payonel> this actually
makes some of the system code pretty simple
L505[23:32:11] <payonel> it caused some
grief with my thread library because of some stupid assumptions i
had made
L506[23:32:38] <payonel> and then with my
pipe library because...well pipes are actually really complicated
coroutines black magic
L507[23:33:01] <payonel> but boy...this
has been a mess trying to debug. and i finalized realized that i
was using a global variable on accident
L508[23:33:27] <payonel> i was trying to
use a closure in a locally defined function
L509[23:33:27] <payonel> like
L510[23:33:51] <payonel> foo = get_thing()
return function() use_thing(foo) end
L511[23:34:01] <payonel> but having
forgot: "local
L512[23:34:06] <payonel> " in front
of foo ....
L513[23:34:09] <payonel> this all fell to
crap
L514[23:34:24] <payonel> anyways, yeah.
glad that's figured out now
L515[23:34:29] <Mimiru> \o/
L516[23:36:19]
⇨ Joins: ben_mkiv
(ben_mkiv!~ben_mkiv@p4FED4597.dip0.t-ipconnect.de)
L518[23:45:53] <Mimiru> good times.