<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:03:59]
<Ocawesome101> Open Kernel 2 is now at
2066 lines of code, roughly 200 more than Open Kernel 1.
L2[00:04:01]
<Ocawesome101> Yikes.
L3[00:09:10]
<AdorableCatgirl> okay?
L4[00:09:20]
<AdorableCatgirl> do you know how many LoC
Zorya is?
L5[00:09:29]
<AdorableCatgirl> i sure don't
L6[00:12:30]
<The_Stargazer> so i've decided to call
this new version of libsimple™️ libsimple the second: electric
boogasimple
L7[00:18:53] ⇦
Quits: Renari (~Renari@70.44.83.129.res-cmts.bgr.ptd.net) (Read
error: Connection reset by peer)
L8[00:22:52]
<Saghetti>
libcomplex
L9[00:23:05]
<The_Stargazer> lol
L10[00:37:51] ⇨
Joins: Renari
(~Renari@70.44.83.129.res-cmts.bgr.ptd.net)
L11[01:06:34]
<The_Stargazer> ok question
L12[01:06:37]
<The_Stargazer> what does A + B
equal
L13[01:17:15]
<The_Stargazer> 8385552544633329063 of
course!
L14[01:17:43] ⇦
Quits: baschdel (~baschdel@156.67.140.32) (Remote host closed the
connection)
L15[01:18:10] ⇨
Joins: baschdel (~baschdel@156.67.140.32)
L16[01:19:03] ⇦
Quits: baschdel (~baschdel@156.67.140.32) (Remote host closed the
connection)
L17[01:20:57] ⇨
Joins: baschdel
(~baschdel@032-140-067-156.ip-addr.inexio.net)
L18[01:21:39] ⇦
Quits: baschdel (~baschdel@032-140-067-156.ip-addr.inexio.net)
(*.net *.split)
L19[01:21:55] ⇦
Quits: Vexatos (~Vexatos@port-92-192-32-150.dynamic.as20676.net)
(Quit: Insert quantum chemistry joke here)
L20[01:54:42] ⇦
Quits: Thutmose (~Patrick@host-69-59-79-181.nctv.com) (Quit:
Leaving.)
L21[01:56:34] ⇨
Joins: baschdel
(~baschdel@032-140-067-156.ip-addr.inexio.net)
L22[01:57:35] ⇨
Joins: FuriousTheCrusader (~furiousth@158.69.124.22)
L23[01:58:00] <FuriousTheCrusader> can OC
interact with a ME system?
L24[01:58:10] ⇦
Parts: FuriousTheCrusader (~furiousth@158.69.124.22)
())
L25[01:58:23] ⇨
Joins: Furious (~furiousth@158.69.124.22)
L26[01:58:37] <Furious> can OC interact
with an ME system?
L27[02:01:34] <Michiyo> IIRC yes, but don't
ask me how
L28[02:01:36] <Michiyo> lol
L29[02:02:20] ⇦
Quits: Furious (~furiousth@158.69.124.22) (Remote host closed the
connection)
L30[02:11:13]
<AdorableCatgirl> got a CRT
L31[02:11:19]
<AdorableCatgirl> i'll need to repair
it
L32[02:11:33]
<AdorableCatgirl> afaict it's either ever
so slightly damp or the degausser needs to be repaired
L33[02:22:51] ⇦
Quits: baschdel (~baschdel@032-140-067-156.ip-addr.inexio.net)
(*.net *.split)
L34[02:27:50]
<Zef>
What's going on with it?
L35[02:33:37]
<Ocawesome101> FS mounting now works in
Open Kernel 2! :D
L36[02:39:29] ⇨
Joins: Paraxenos (~Paraxenos@ip213.ip-54-39-122.net)
L37[02:41:56] ⇦
Quits: Paraxenos (~Paraxenos@ip213.ip-54-39-122.net) (Client
Quit)
L39[02:53:56]
<Saghetti>
%msg
L40[02:54:00]
<Saghetti>
reeeee
L41[02:54:39] <Amanda> It's %tell
L42[02:55:09] <Amanda> And I think they're
on discord anyway
L43[03:01:13] ⇦
Quits: ben_mkiv|afk (~ben_mkiv@88.130.157.64) (Ping timeout: 189
seconds)
L44[03:03:48]
<AdorableCatgirl> @Zef afaict it either
needs to be cleaned out or the degausser needs to be fixed
L45[03:04:25] ⇨
Joins: baschdel
(~baschdel@032-140-067-156.ip-addr.inexio.net)
L46[03:07:06]
<Zef> Well
what's the results of the problem with it?
L47[03:07:09]
<Zef>
What's it doing?
L48[03:07:56]
<AdorableCatgirl> well i turn it on, and
there's arcing in the monitor
L49[03:08:08]
<AdorableCatgirl> so i'll pop the case off
and see what's going on
L50[03:08:14]
<Zef>
Uh
L51[03:08:26]
<Zef>
Arcing in the tube?
L52[03:08:37]
<AdorableCatgirl> i mean
L53[03:08:41]
<AdorableCatgirl> i can't tell exactly
where it is
L54[03:08:51]
<Zef> So
it's auditory?
L55[03:09:08]
<ThePiGuy24> sounds like it needs
cleaning
L56[03:09:17]
<Zef> The
board might be split
L57[03:09:29]
<ThePiGuy24> or could be a loose
connector
L58[03:09:34]
<Zef> Dust
doesn't cause arcing
L59[03:09:36]
<Saghetti>
crts are scary
L61[03:09:59]
<AdorableCatgirl> CRTs are only scary if
you don't discharge anything
L62[03:10:07]
<ThePiGuy24> dust on its own doesnt, but
it can cause intermittent connections which do cause arcing
L63[03:10:11]
<AdorableCatgirl> discharge literally
everything and you'll be fine
L64[03:10:15]
<Zef> I'd
say vacuum tubes are scarier
L65[03:10:18]
<AdorableCatgirl> 👍
L66[03:10:39]
<AdorableCatgirl> anyways, i'll see what
i'm dealing with
L67[03:10:41]
<Saghetti>
wait why vacuum tubes?
L68[03:10:42]
<AdorableCatgirl> tomorrow or
something
L69[03:10:51]
<Zef> They
have to be run at 600v
L70[03:10:58]
<AdorableCatgirl> i also need to yoink the
CRT out of an imac g3
L71[03:11:00]
<Saghetti>
oh...
L72[03:11:08]
<Saghetti>
im small brain
L73[03:11:09]
<ThePiGuy24> well crt's are technically a
type of vacuum tube
L74[03:11:11]
<Zef> And
basically if there's a transistor in the modern equivalent of a
circuit
L75[03:11:26]
<Zef>
There's a vacuum tube in the 50s equivalent
L76[03:11:41]
<Zef>
Average radios used around 5
L77[03:11:52]
<AdorableCatgirl> anyways, i got a wild
ride ahead of me
L78[03:12:00]
<AdorableCatgirl> i would love to get this
CRT werking
L79[03:12:04]
<AdorableCatgirl> it's a fuckin neat lil
one
L80[03:12:05]
<ThePiGuy24> i like computers that use
relay logic :p
L81[03:12:07]
<AdorableCatgirl> 1600x1200
L82[03:12:13]
<Zef> Oh
god
L83[03:12:25]
<Saghetti>
wikipedia says that they don't operate at 600v
L84[03:12:27]
<Zef>
Relays are slow and take a lot of current
L85[03:12:29]
<AdorableCatgirl> 17ish inch
L86[03:12:42]
<Zef> What
does Wikipedia say they operate at?
L87[03:12:58]
<Zef>
There's a huge amount of different tubes that use different
voltages and stuff
L89[03:13:01]
<AdorableCatgirl> this sob
L90[03:13:02]
<AdorableCatgirl> i have this
L91[03:13:11]
<Saghetti>
yeah
L92[03:13:12]
<ThePiGuy24> vacuum tubes operate at
whatever voltage is needed to acheive the desired effect
L93[03:13:17]
<Saghetti>
^
L94[03:13:23]
<Saghetti>
like transistors
L95[03:13:33]
<Saghetti>
i'm still firm on believing that crts are scarier
L96[03:13:39]
<AdorableCatgirl> like i said
L97[03:13:45]
<Zef> I
sent Carlson's lab
L98[03:13:54]
<AdorableCatgirl> CRTs are only scary if
you don't discharge stuff
L99[03:13:58]
<Zef> If
you're truly interested in vacuum tubes he's the man
L100[03:14:08]
<ThePiGuy24> i do want a crt monitor but i
dont really have the space
L101[03:14:18]
<ThePiGuy24> it would have to be a small
on
L102[03:14:21]
<AdorableCatgirl> i could work on my
CRT
L103[03:14:27]
<ThePiGuy24> %s/on/one
L104[03:14:27] <MichiBot>
<AdorableCatgirl> i could work one my CRT
L105[03:14:27]
<AdorableCatgirl> but i really am not up
to it tonight
L106[03:14:34]
<AdorableCatgirl> what
L107[03:14:35]
<AdorableCatgirl> anyways
L108[03:14:46]
<ThePiGuy24> damnit you posted before i
did the substitution
L109[03:14:50]
<ThePiGuy24> :p
L110[03:15:22]
<AdorableCatgirl> i also need to soak this
fucking knot in oil
L111[03:15:29]
<AdorableCatgirl> so i can get it to fuck
off
L112[03:15:36]
<AdorableCatgirl> me and a friend are
working on a dnd campaign
L113[03:15:48]
<AdorableCatgirl> so we can also work on
my fucked up hair then too
L114[03:16:12]
<ThePiGuy24> dargh hair knots are a
pain
L115[03:16:17]
<AdorableCatgirl> mine is massive
L116[03:16:19]
<AdorableCatgirl> and like
L117[03:16:28]
<ThePiGuy24> i have way too much hair but
i like it
L118[03:16:29]
<AdorableCatgirl> roughly an inch from my
scalp
L119[03:16:35]
<AdorableCatgirl> so i need to get it
out
L120[03:16:40]
<AdorableCatgirl> i don't wanna go back to
short hair
L121[03:16:41]
<AdorableCatgirl> :(
L122[03:16:41]
<ThePiGuy24> oh god that must be
irritating
L123[04:54:44] ⇦
Quits: Amanda (~quassel@c-73-165-85-199.hsd1.pa.comcast.net) (Ping
timeout: 190 seconds)
L124[04:55:20]
⇨ Joins: Amanda
(~quassel@c-73-165-85-199.hsd1.pa.comcast.net)
L125[05:02:19]
<The_Stargazer> so uhh
L127[05:03:22] <Izaya> afternoon
nerds
L128[05:04:13]
<The_Stargazer> afternoon
L129[05:04:30]
<The_Stargazer> also: Izaya: i can guess
what time it is for you
L130[05:05:07]
<The_Stargazer> i predict it is currently
4:05PM
L131[05:05:32] <Izaya> according to my
computer, you are 7 seconds outside of incorrect
L132[05:05:57]
<The_Stargazer> well I mean
L133[05:05:57]
<The_Stargazer> i can't predict
seconds
L134[05:06:04]
<The_Stargazer> because as soon as i send
it it'll change
L135[05:06:05] <Elfi> Nice effort without
even a CTCP TIME command though
L136[05:06:20]
<The_Stargazer> nah i know this because
i'm two hours ahead lol
L137[05:11:26] <CompanionCube> i'm
surprised no-one has tonked yet
L138[05:11:29] <CompanionCube> who wants
it
L139[05:11:53]
<The_Stargazer> %tonk
L140[05:11:53] <MichiBot> Fopdoodle!
The_Stargazer! You beat Ocawesome101's previous record of 4
hours, 46 minutes and 50 seconds (By 7 hours, 9 minutes and 25
seconds)! I hope you're happy!
L141[05:11:54] <MichiBot> The_Stargazer's
new record is 11 hours, 56 minutes and 16 seconds! The_Stargazer
also gained 0.0358 (0.00716 x 5) tonk points for stealing the tonk.
Position #10 => #7. Need 0.02083 more points to pass
Kodos!
L142[05:11:56]
<The_Stargazer> might as well
L143[05:12:04]
<The_Stargazer> ...wow
L144[05:12:20]
<The_Stargazer> %tonkleadersr
L145[05:12:25]
<The_Stargazer> %tonkleaders
L147[05:12:54]
<The_Stargazer> thats nearly 12 hours
lol
L148[05:13:00]
<The_Stargazer> good luck beating
that
L149[05:13:12] <CompanionCube> imagine the
points for tonkout
L150[05:13:17]
<The_Stargazer> oh god yes
L151[05:14:12]
<The_Stargazer> ok so
L152[05:14:18]
<The_Stargazer> how do I calculate the
closest prime
L153[05:14:24]
<The_Stargazer> from a given number
L154[05:14:34] <CompanionCube> use a list
of prime numbers?
L155[05:14:49]
<The_Stargazer> yeah but hardcoding every
prime number is no
L156[05:15:16]
<Ocawesome101> @The_Stargazer yes that
looks like Morse code
L157[05:15:22]
<The_Stargazer> w r o n g
L158[05:15:55]
<The_Stargazer> it's a tap code
L159[05:16:31]
<The_Stargazer> if you decode that in
morse code you get the gibberish
`hhdsdh6sdh6sdibhbhnh6sdsdh6s`
L160[05:17:59] <CompanionCube> do you give
a fuck about 'efficency'
L161[05:19:08]
<The_Stargazer> i give a fuck about 'file
size'
L162[05:19:31] <CompanionCube> a very
simple method would be: generate enough primes to cover your
expected range
L163[05:19:40] <CompanionCube> go up the
list until you find one
L164[05:19:46] <CompanionCube> *the
one
L165[05:20:06]
<The_Stargazer> i mean
L166[05:20:06]
<The_Stargazer> i could just generate a
random number using what i've already got without fucking with
primes
L168[05:21:11]
<The_Stargazer> this is what I use to
generate a signature based on the two provided strings
L169[05:47:47]
<Kristopher38> @AdorableCatgirl do you
know how to repair CRTs?
L170[06:08:57] ⇦
Quits: Tahg (~Tahg@pool-71-184-110-95.bstnma.fios.verizon.net)
(Read error: Connection reset by peer)
L171[06:14:37]
⇨ Joins: Tahg
(~Tahg@pool-71-184-110-95.bstnma.fios.verizon.net)
L172[06:20:32]
<Saghetti>
%tonk
L173[06:20:32] <MichiBot> I'm sorry
Saghetti, you were not able to beat The_Stargazer's record of 11
hours, 56 minutes and 16 seconds this time. 1 hour, 8 minutes and
39 seconds were wasted! Missed by 10 hours, 47 minutes and 37
seconds!
L174[06:20:37]
<Saghetti>
jgnjnjrelrfe
L175[06:20:48]
<Saghetti>
why am i ~~disabled~~ bad at tonking
L176[06:22:36]
<Ocawesome101> well crap, I guess I have
to tonk at 1:30 now rather than 12:30
L177[06:23:08]
⇨ Joins: Ginkeo (~ginkeo@64.33.95.10)
L178[06:23:47] ⇦
Quits: Ginkeo (~ginkeo@64.33.95.10) (Client Quit)
L179[06:36:17]
⇨ Joins: Ginkeo
(~ginkeo@64-33-95-10-dynamic.midco.net)
L180[06:43:57] <Izaya> don't fuck with
CRTs
L181[06:44:04] <Izaya> CRTs are basically
human bug zappers
L182[06:45:03]
<Kristopher38> I know
L183[06:45:35]
<Kristopher38> Though there's one from
commodore listed on an auction site and I wish I knew how to repair
it :(
L184[06:45:47] <Izaya> t. harvests
capaciors from burned out CRTs
L185[06:45:51] <Izaya> capacitors*
L186[06:45:59]
<Kristopher38> Also as AC said, as long as
you discharge it you're fine
L187[06:46:12] <Izaya> probably,
anyway
L188[06:46:35]
<Kristopher38> What I meant to ask
was
L189[06:46:55]
<Kristopher38> Where should I start, is
there a guide on repairing CRTs?
L190[06:47:24]
<Kristopher38> Haven't really looked into
this
L191[06:47:31] <Izaya> the 8-bit guy *may*
have a video on it, I'd check there; I don't know about actual
guides on it though
L192[06:47:42]
<Kristopher38> You bet he has
L193[06:47:57] <Izaya> neat
L194[06:48:25]
<Kristopher38> I wonder how
@AdorableCatgirl learned to do that kind of stuff
L195[06:48:44] <Izaya> for once, I'd bet
against experimentation
L196[06:49:06]
<Kristopher38> Lmao yeah, I'm a low risk
taker
L197[06:50:11] <CompanionCube>
pre-announcing tonk times is a good way to have someone else tonk
before then
L198[06:50:44] <dequbed> Izaya: CRTs
aren't *that* bad, come on
L199[06:51:03]
<Ocawesome101> well, I mean, the time I
said is somewhere around 5-10 minutes after the clock ticks past
the tonk timer
L200[06:51:15] <Izaya> man have you seen
the number of capacitors in CRTs
L201[06:51:35] <Izaya> if fucking up
doesn't kill you, it'll give you a fright :D
L202[06:52:05] <Izaya> at any rate
L203[06:52:06] <dequbed> Izaya: CRTs will
much more likely hurt by just straight up imploding
L204[06:52:11] <Izaya> make sure it's
suitably discharged
L205[06:52:24] <Izaya> yeah big imploding
vacuum tubes are fun too
L206[06:53:23] <dequbed> Note: Do not
discharge the 15kV braun tube by touching it with your greasy
fingers. that tingles.
L207[06:53:31] <Izaya>
"tingles"
L208[06:53:34] <Izaya> [concern]
L209[06:54:05]
<Ocawesome101> lol
L210[06:54:06] <dequbed> It's not going to
kill you. Probably. At least not likely without an existing
precondition
L211[06:54:36] <Izaya> now that's what I
call confidence
L212[06:54:43] <dequbed> Or if you
discharge it with your tongue. That may very much kill you because
you'll bite your tongue off.
L213[06:54:57] <Izaya> bleed out via your
tongue
L214[06:55:03] <dequbed> Yep
L215[06:55:03] <Izaya> What a horrible way
to die.
L216[06:55:25] <dequbed> Pumeled to death
by a Kuka is also fun
L217[07:10:35]
<The_Stargazer> i wish lua had something
like
L218[07:10:38]
<The_Stargazer> in functions
L219[07:10:45]
<The_Stargazer> an `or` keyword
L220[07:10:45]
<The_Stargazer> like
L221[07:10:53]
<The_Stargazer> `math.random(2000 or
randomBase)`
L222[07:11:12]
<The_Stargazer> if randomBase is present,
use that, else use 2000
L224[07:12:45] <Izaya>
math.random(randomBase or 2000)
L225[07:13:04]
<The_Stargazer> yeah
L226[07:13:08]
<The_Stargazer> like that
L227[07:13:18] <Izaya> that's
L228[07:13:22] <Izaya> literally what you
want
L229[07:13:37] <dequbed> %lua print(x or
20)
L230[07:13:37] <MichiBot> 20
L231[07:13:40] <dequbed> ^
L232[07:13:55]
<The_Stargazer> that exists??
L233[07:14:05]
<The_Stargazer> %lua x = 200 print(x or
20)
L234[07:14:05] <MichiBot> 200
L235[07:14:09]
<The_Stargazer> well holy shit
L236[07:14:10]
<The_Stargazer> TIL
L238[07:19:17]
<The_Stargazer> thoughts on this?
L239[07:21:28] ⇦
Quits: gamax92 (~gamax92@c-73-153-119-160.hsd1.co.comcast.net)
(Quit: Leaving)
L240[07:24:26]
<The_Stargazer> uhh why is scrolling
suddenly super slow
L241[07:24:47]
<The_Stargazer> in google cloud shell
editor
L242[07:25:23]
<The_Stargazer> like its painfully
slow
L243[07:27:13] <dequbed> WTF are you even
trying to do with that code?
L244[07:29:12]
<The_Stargazer> generate an id
L245[07:30:17] <Izaya> what the FUCK
L246[07:30:21] <Izaya> >install
ocdevices
L247[07:30:25] <Izaya> >requires
commons
L248[07:30:28] <Izaya> >install
commons
L249[07:30:33] <Izaya> >conflicts with
other version
L250[07:30:33]
<Saghetti>
why are you calling a variable `_`?
L251[07:30:37] <Izaya> >take new
version out
L252[07:30:46] <Izaya> >missing
commons
L253[07:30:49]
<Saghetti>
that's usually the name of a variable you want to discard
L254[07:30:50] <Izaya> >put back
in
L255[07:30:53]
<The_Stargazer> yeah i discard it
L256[07:30:58] <Izaya> >conflicts with
nonexistent copy of commons
L257[07:31:05] <Izaya> I guess I don't get
to use OCDevices
L258[07:31:23]
<The_Stargazer> izaya: have you tried
`sudo rm -rf / --no-preserve-root`?
L260[07:31:31]
<The_Stargazer> huh
L261[07:31:32]
<Saghetti>
why can't you just do that?
L262[07:31:39]
<The_Stargazer> because readability
L263[07:31:45] <Izaya> The_Stargazer:
thank you for your worthless and entirely unnecessarily
contribution
L264[07:31:53]
<The_Stargazer> Izaya: no problem!
L265[07:31:57]
<Saghetti>
underscore is traditionally used like this:
L267[07:32:16]
<Saghetti>
literally a value you want to throw away
L268[07:32:42]
<Saghetti>
yeah you don't save it, but you should call it something other than
underscore
L269[07:34:17]
<Saghetti>
and why are you setting your seed to 2147483647?
L270[07:34:18] <Izaya> Where's the jenkins
for OCDevices/OpenGlasses2?
L271[07:34:22]
<Saghetti>
that's a security hole
L272[07:34:32]
<The_Stargazer> it is?
L273[07:34:38]
<Saghetti>
y e s
L274[07:34:40]
<The_Stargazer> i figured bigger = better
right?
L275[07:34:42] <dequbed> @Saghetti what's
the unicode value of that particular underscore in the big code
block? Because corded dropped that
L276[07:34:46] <Izaya> ._.
L277[07:34:47]
<Saghetti>
:facepalm:
L278[07:34:52] <Izaya> good to see you
have no idea what a seed does I guess
L279[07:34:58]
<The_Stargazer> no I don't
L280[07:35:06]
<The_Stargazer> i just figured "big
seed means more randomness"
L281[07:35:10] <dequbed> lol
L282[07:35:13]
<Saghetti>
:facepalm: :facepalm: :facepalm:
L283[07:35:22]
<Saghetti>
this makes my brain hurt
L284[07:35:23] <Izaya> I would say that I
need a drink, but I am already drinking.
L285[07:35:41] <dequbed> Izaya: Just get
popcorn and watch the world burn. It doesn't get better :p
L286[07:35:53]
<Saghetti>
The_Stargazer: you need to actually learn how psuedorandom number
generators work
L287[07:35:56]
<The_Stargazer> yeah
L288[07:36:09] <Izaya> or at least just
copy what everyone else does for them
L289[07:36:25]
<The_Stargazer> what's the best option for
generating a random number based on two string inputs a + b
L290[07:36:25] <dequbed> Or just straight
up use the code that people that know what's going on have
written.
L291[07:36:26]
<Saghetti>
dequbed: what did you mean when you said your last question?
L292[07:36:49]
<Saghetti>
@The_Stargazer why does it need to be random?
L293[07:37:06]
<The_Stargazer> because it needs to be
unique
L294[07:37:11]
<Saghetti>
ok so
L295[07:37:16]
<Saghetti>
i need to clarify some things
L296[07:37:19] <Izaya> have you
considered
L297[07:37:20] <Izaya> hashing
L298[07:37:20]
<Saghetti>
basically:
L300[07:37:33]
<Saghetti>
Izaya: was just gonna say that lol
L301[07:37:51]
<The_Stargazer> yeah but i don't wanna
hash a whole file
L302[07:37:53]
<Saghetti>
he already uses sha256, so why not use that to generate unique
codes?
L303[07:38:00]
<Saghetti>
why not?
L304[07:38:08]
<The_Stargazer> because it takes
time
L305[07:38:18]
<The_Stargazer> i was going to say data
card but then i realized i'm not using the data card
L306[07:38:25] <dequbed> Write it in
assembly instead, it'll be faster!
L307[07:38:38]
<The_Stargazer> i actually wanted to learn
asm once
L309[07:38:55] <Izaya> Intel's
gotchu
L310[07:39:11]
<Saghetti>
dequbed: the number for the underscore is 95
L311[07:39:12] <dequbed> Ew SHA. MD4 is
better.
L312[07:39:23]
<Saghetti>
md4?
L313[07:39:25] <dequbed> Huh. Izaya, where
do bug reports for Corded go?
L314[07:39:38] <dequbed> @Saghetti: Hash
so broken md5 is more secure
L315[07:39:51] <Izaya> Unsure. Poke
Michiyo.
L316[07:39:54] <Izaya> Maybe
L317[07:39:54]
<The_Stargazer> afk my friend wants to
play with me
L318[07:39:55] <Izaya> %source
L320[07:40:00] <Izaya> has an issue
tracker
L321[07:40:18]
<Saghetti>
@The_Stargazer do you want info on psuedorandom number generators
or not?
L322[07:40:26]
<The_Stargazer> later
L323[07:40:29]
<The_Stargazer> friend wants to play
mc
L324[07:40:29]
<Saghetti>
ok
L325[07:40:36]
<Saghetti>
you really need it tho
L326[07:40:40]
<Saghetti>
ping me when you're done
L327[07:40:47]
<Saghetti>
(and i'm hopefully not sleeping)
L328[07:40:53] <Michiyo> That's not
Corded's repo
L330[07:52:38]
⇨ Joins: Ariri
(~Ariri@2605:e000:1220:8039:bcfd:b18:e6a:f733)
L331[07:56:56]
<The_Stargazer> `Error:
java.lang.IllegalArgumentException: Parameter 'directory' is not a
directory` drunkass game
L332[08:03:58]
<Saghetti>
oh
L333[08:04:04]
<Saghetti>
you need to make a folder in .minecraft
L334[08:04:12] <Ariri> What email services
do people tend to use other than gmail, yahoo, etc.?
L335[08:04:22] <Izaya> cock.li
L336[08:04:24] <Michiyo> my own :P
L337[08:04:37] <Izaya> you will be
pre-banned from things if you use cock.li though
L338[08:04:42]
⇨ Joins: Inari
(~Pinkishu@pD9E8F435.dip0.t-ipconnect.de)
L339[08:04:45]
<Saghetti>
you need to manually create the `server-resource-packs` folder
@The_Stargazer
L340[08:04:53]
<The_Stargazer> ohh
L341[08:04:54]
<Saghetti>
that'll prevent it from crashing
L342[08:05:06]
<Saghetti>
ik it's a weird bug
L343[08:05:43]
<Saghetti>
i tried to do self-hosted mail, but i couldn't get dovecot to work
at all
L344[08:05:54]
<Saghetti>
i've tried many times
L345[08:06:06] <Izaya> self-hosted email
is pretty cursed
L346[08:06:13] <Izaya> especially if you
want to run it from a residential connection
L347[08:06:21] <Izaya> blame google,
unironically
L348[08:06:34]
<Saghetti>
i'm running it from a datacenter
L349[08:06:44]
<Saghetti>
self-hosted hardware gang rise up
L350[08:06:46] <dequbed> Izaya:
Residential email was banned before Google was a thing...
L351[08:07:09] <Izaya> dequbed: sure, but
Google broke email nonetheless
L352[08:07:10] <Izaya> :p
L353[08:07:10]
<ThePiGuy24> yeah i tried to run an email
server on my home network, didnt work great
L354[08:07:33]
<Saghetti>
gmail is spooky
L355[08:07:36] <Ariri> I want to run some
myself as I'm not fond of google reading all my emails without an
option to turn it off afaik
L356[08:07:38] <dequbed> But yeah, hosting
my own. Cursed, but a necessary curse
L357[08:07:45]
<Saghetti>
imagine giving google full permission to read all of your
emails
L358[08:07:59] <Izaya> just gonna say what
nobody wants to hear
L359[08:08:00] <dequbed> Ariri: Sign up
for HEY
L360[08:08:01] <Izaya> you could use
PGP
L361[08:08:03]
<Saghetti>
ex: one time i booked a flight, and google read through my email
without my consent and put it on the calculator
L362[08:08:16]
<Saghetti>
calendar*
L363[08:08:20] <Ariri> I was actually
looking into that
L364[08:08:21] <Izaya> Saghetti: they had
your consent, though
L365[08:08:30]
<Saghetti>
without my knowledge
L366[08:08:39]
<Saghetti>
i don't care about their ToS bullshit
L367[08:09:01]
<ThePiGuy24> remember, you sign your soul
away to them by agreeing to the tos
L368[08:09:19] <Ariri> HEY seems
interesting
L369[08:09:33]
<Saghetti>
legal jargon
L370[08:09:33]
<Saghetti>
[ ] I agree to the terms of service
L371[08:09:42]
<Saghetti>
every site out there, ever™️
L372[08:09:55] <Ariri> But at least you
can 'disable' location recording and etc
L373[08:10:02] <dequbed> Funny. Mine
doesn't do that @Saghetti.
L374[08:10:04] <Ariri> You cannot turn off
email reading
L375[08:11:13]
<Saghetti>
what if someone made self-hosted email really accessible
L376[08:11:43] <Izaya> My internal cynic
says: Google would deem it insecure and refuse to federate with it,
killing it before it gets off the ground.
L377[08:11:57] <Izaya> The voice of reason
says "if it were going to work it would've by now"
L378[08:12:02] <Izaya> mailinabox is a
thing, after all
L379[08:12:02] <dequbed> @Saghetti You
mean like mail-in-a-box? Yeah, *somebody* should *really* get on
with that!
L380[08:12:06] <Ariri> Wasnt there
something like that a little while ago but a cyber terrorist used
it and so the owners had to destroy it all for privacy's sake
L381[08:12:21]
<ThePiGuy24> protonmail
L382[08:12:22] <Ariri> Like Snowden-NSA
era
L383[08:12:38] <Izaya> does protonmail
allow clients other than their own yet
L384[08:12:42] <Izaya> or is that never
happening
L385[08:13:12]
<ThePiGuy24> remember, only the government
is allowed to have secrets
L386[08:13:52] <Ariri> And those secrets
are your data.
L387[08:14:36] <CompanionCube> Izaya: they
have a proxy thing you run locally iirc
L388[08:14:47] <Izaya> well that's
something
L389[08:15:20] <CompanionCube> i am a
shameful isp email user
L390[08:16:32]
<Saghetti>
isp email is gross
L391[08:16:54] <CompanionCube> Ariri:
you're thinking of lavabit btw
L392[08:16:58] <Ariri> isp email...?
L393[08:17:05] <Ariri> Ah right, thanks
CompanionCube
L394[08:18:25] <CompanionCube> yes, isp
email. the current provider is yahoo, but for a period it was
google.
L395[08:18:27] <dequbed> @Saghetti ISP
email is much better than yahoo or microsoft mail for
hosters.
L396[08:18:57] <CompanionCube> oof
L397[08:20:44] <CompanionCube> Ariri:
anyway the most important part of self-hosted email is the
domain
L398[08:21:39] <Ariri> Interesting^
L400[08:21:52] <Ariri> And how do you
mean, the name or location or what?
L401[08:22:15]
<ThePiGuy24> oh god not more cursed
domains again
L402[08:22:24] <Izaya> the arbitrary and
arcane DNS configuration
L403[08:22:26] <CompanionCube> using
someone else's domain locks your email to them
L404[08:22:45] <dequbed> @Saghetti that's
... apparently taken?
L405[08:22:52]
<Saghetti>
yes
L406[08:22:53] <Ariri> Oh right
L407[08:22:59] <dequbed> oh yeah lol
L408[08:23:02]
<Saghetti>
you can register an email address on there
L409[08:23:03] <CompanionCube> with your
own if you feel like your provider have turned into wankers you can
move to another
L410[08:23:07] <Ariri> Then how would you
ensure your domain is free?
L411[08:23:35] <Ariri> Free as in not
used
L412[08:23:43] <CompanionCube> buy
it
L413[08:24:03] <CompanionCube> and don't
look it up on scummy registrars
L414[08:24:04] ⇦
Quits: CarlenWhite (~CarlenWhi@63.sub-174-231-133.myvzw.com) (Ping
timeout: 200 seconds)
L415[08:24:05] <dequbed> @Saghetti: Stupid
idea but ... 64 character high unicode. Convert to punycode. Watch
the world burn.
L416[08:24:10] <CompanionCube> they might
buy it first
L417[08:24:42]
<Saghetti>
hmm
L418[08:24:44] <Ariri> I see
L419[08:24:45]
<Saghetti>
couldn't y
L420[08:24:53]
<Saghetti>
couldn't you make it longer with subdomains? [Edited]
L421[08:24:59]
<Saghetti>
and have a 128 char domain?
L422[08:25:02] <Ariri> Where do you
recommend I buy it?
L423[08:25:06]
<Saghetti>
or is the hard limit 64 chars
L424[08:25:18] <Michiyo> Ariri, I use
Namecheap
L425[08:25:24] <Michiyo> they're pretty
good
L426[08:25:26] <dequbed> No, 64 is per
domain part. Total size isn't limited at all
L427[08:25:38]
<Saghetti>
I just use Route 53
L428[08:25:50] <dequbed> Well... in the
RFC. In reality it's not that simple
L429[08:25:56]
<Saghetti>
i used to use aws for hosting my servers, so i decided to migrate
all my domains from godaddy
L430[08:26:07] <Ariri> Michiyo, thanks,
will look into
L431[08:26:07]
<Saghetti>
but now i just use aws as a registrar
L432[08:26:13]
<Saghetti>
and no longer host servers there
L433[08:26:41] <CompanionCube> godaddy
have quite the reputation and not in a good way, right?
L434[08:26:53]
<Saghetti>
haven't heard of that
L435[08:27:07] <Michiyo> Fuck
GoDaddy
L436[08:27:08] <Ariri> I know they *had* a
reputation
L437[08:27:17] <Michiyo> I moved all of my
domains off of them back in.. 2015?
L438[08:27:29] <Michiyo> 2012
L439[08:27:37] <Ariri> My name has been
claimed as a domain in 2005... oh well, probably wasnt going to use
it
L440[08:27:44] <Michiyo> 2011? IDK
somewhere in that area :P
L441[08:28:07] <CompanionCube> Ariri:
could always go for one of the uncommon TLDs
L442[08:28:18] <dequbed> ariri.rocks
:P
L443[08:28:27] <Ariri> Heh
L444[08:28:29]
<Saghetti>
i got saghetti.com
L445[08:28:31] <CompanionCube> inb4
ariri.tk
L446[08:28:32] <Michiyo> ariri.dev
L447[08:28:32] <Michiyo> !
L448[08:28:35] <Michiyo> :P
L449[08:28:43] <dequbed> Alternatively,
Ariri.sucks, ariri.bs, etc ;)
L450[08:28:49] <Ariri> Lolll
L451[08:28:51] <Michiyo> ariri.me is
free
L452[08:29:23]
<ThePiGuy24> i want a .su domain :p
L453[08:29:25] <Ariri> I like ariri.dev
and ariri.ai but I think I should be more of a dev first, lol
L454[08:29:32]
⇨ Joins: CarlenWhite
(~CarlenWhi@63.sub-174-231-133.myvzw.com)
L455[08:29:40]
<Saghetti>
sudo.su
L456[08:29:42] <Michiyo> .dev is nice, but
as a heads up you are *required* to use SSL
L457[08:29:54]
<Saghetti>
nvm that's taken
L458[08:29:56] <Michiyo> and self signed
doesn't count
L459[08:29:58] <Ariri> Michiyo, where are
you seeing that? Namecheap?
L460[08:30:12]
<ThePiGuy24> .su is the soviet union
:p
L461[08:30:20] <Michiyo> yeah namecheap
shows .dev as available, but I'm speaking from experience with .dev
lol
L462[08:30:24] <Ariri> Required as in, you
reallu should as a dev
L463[08:30:25] <CompanionCube> Michiyo:
good thing letsencryot exists eh?
L464[08:30:29] <Ariri> Oh
L465[08:30:54]
<Saghetti>
reeee
L466[08:31:01] <Michiyo> Yes, but it's
annoying when the panel I was using would forget to renew a cert,
or would just straight up fail to obtain a cert for a
subdomain.
L467[08:31:04] <dequbed> ariri.mail,
ariri.google, ariri.xxx Ariri.xyz. So many stupid tlds around
:D
L468[08:31:06]
<Saghetti>
cloudflare won't recognize my dns records
L469[08:31:19] <Ariri> ariri.google
lolll
L470[08:31:27] <Michiyo> or if I wanted to
host something on a .dev subdomain and didn't feel like doing a
reverse proxy just to add a ssl cert
L471[08:31:38]
<Saghetti>
ariri.xxx ( ͡° ͜ʖ ͡°)
L472[08:32:03] <Michiyo> Ariri.wtf
L473[08:32:03] <Michiyo> :P
L474[08:32:12] <dequbed> ariri.space,
however if you host mail on that it won't work half the time. So
many pages don't realize .space is a tld -.-
L475[08:32:13] <Ariri> Those look like
wierd boxes to me...
L476[08:32:29] <Ariri> ariri.wtf,
lol
L477[08:32:33]
<Saghetti>
cloudflare insists that i update my dns records
L478[08:32:33] <dequbed> ariri.no
L479[08:32:37]
<Saghetti>
it's been like 4 days
L481[08:32:39] <Ariri> Aww but I like
.space
L482[08:32:45]
<Saghetti>
still insists that i haven't updated them
L483[08:32:53] <Ariri> dequbed.yes
L484[08:32:54] <dequbed> Ariri me too! I
just have a backup .org too.
L485[08:32:57] <Michiyo> yeah I ended up
letting my .space expire because of thatr
L486[08:33:02] <Izaya> relatives that
won't buy used are infuriating
L487[08:33:06] <Ariri> Darn
L488[08:33:35] <Ariri> Michiyo, where did
you see ariri.me as free?
L489[08:33:37] <Izaya> gumtree listing:
one internet domain, lightly used, no warranty
L490[08:33:59] <Michiyo> Ariri, on
namecheap
L492[08:34:29] <Michiyo> Yes?
L493[08:35:01] <Michiyo> Free, available,
you can get it
L494[08:35:05] <Ariri> Oh, I see that
now
L495[08:35:05] <Michiyo> not free as in
free beer
L496[08:35:13] <Ariri> Aw shucks
L497[08:35:13] <Michiyo> :P
L498[08:35:24] <Ariri> But free beer is
the best beer
L499[08:35:31] <dequbed> Michiyo: I just
deal with it. Have to deal with shitty forms denying
me+yourshittysite@mydomain.org as well. Or worse when they do it in
js.
L500[08:35:43] <Izaya> no such thing as
good beer
L501[08:35:53] <dequbed> Izaya: Never been
to Amsterdam, have you?
L502[08:36:06] <Izaya> Afraid not.
L503[08:36:18] <dequbed> We should go
drink beer there some time ;)
L504[08:36:22] <Izaya> Though unless
there's something fundamentally different about the beer there, I
doubt I'll like it much.
L505[08:36:28] <Izaya> For sure :D
L506[08:36:46] <dequbed> I'm free this
summer :p
L508[08:37:04] <Izaya> Work's pretty quiet
over winter. Tempting, tempting...
L509[08:37:12] <Izaya> dequbed: hey I was
gonna ask you
L510[08:37:12] <Ariri> It is late at night
I suppose, I easily could
L511[08:37:19] <dequbed> Ariri: go for
it
L512[08:37:20] <Izaya> are
fastback/liftback cars common over there?
L513[08:37:36] <Michiyo> Ariri, whats the
confusion?
L514[08:37:43] *
Lizzian keeps forgetting that Australia has the seasons at
different times to us up in the northen hemisphere
L515[08:37:52] <Ariri> What part are you
saying is free?
L516[08:38:06] <dequbed> Izaya: ... Apart
from that two thirds of those come from Europe, no
L517[08:38:15] <Michiyo> Like I said. Free
as in you can buy it.
L518[08:38:21] <Michiyo> NOT free as in
it's gratis.
L519[08:38:29] <Michiyo> click the little
cart icon there next to the domain
L520[08:38:35] <Michiyo> and it'll be in
your cart for checkout
L521[08:38:44] <Lizzian> yay... work
firewall is still blocking i.imgur.com
L522[08:38:46] <Ariri> Oh. Well I feel
silly now.
L523[08:38:46] <Izaya> dequbed: I want one
they're cute
L524[08:38:56] <dequbed> Have .me become
cheaper or is that without VAT?
L525[08:38:58]
<ThePiGuy24> a better word would be
"available"
L526[08:39:11] <Izaya> does github still
give out domains if you have a student email address?
L527[08:39:12] <Michiyo> I clarified that
up a bit
L528[08:39:19] <Michiyo> [12:35:02]
<Michiyo> Free, available, you can get it
L529[08:39:26] <Michiyo> [12:35:06]
<Michiyo> not free as in free beer
L530[08:39:39] <Ariri> I must've missed
that message, my mistake.
L531[08:39:48] <Michiyo> [12:35:24]
<Ariri> But free beer is the best beer
L532[08:39:54] *
Michiyo squints
L533[08:39:57] <Ariri> And then completely
misinterpreted the second
L534[08:39:58] <Michiyo> anyway,
bedtime
L535[08:40:00] <Michiyo> good night
L536[08:40:04] <Ariri> Night night
L537[08:40:28] <Ariri> Considering I just
did that, I should to
L538[08:40:40] <Izaya> o/
L539[08:40:40] <Ariri> But I got
distracted from stuff I need to do...
L540[08:40:46] <Lizzian> as for email
things, i run my own postfix+dovecot setup, that's behind a Proxmox
Mail Gateway instance which does all my spam blocking
L541[08:40:47] <dequbed> Izaya: Well you
can certainly get one of those but you kinda first have to move
your ass over here, don't you? ;)
L542[08:41:05] <Izaya> dequbed: are
japanese ones available over there?
L543[08:41:08] <Izaya> this is
important
L544[08:41:45] <Ariri> Lizzian, is the
instance run by you as well or is it a service you pay for?
L545[08:41:54] <dequbed> Izaya: Definitely
but of course not all models
L546[08:42:17] <dequbed> Can you even pay
for proxmox?
L547[08:43:57] <Ariri> I'm not sure what
Proxmox is so
L548[08:44:08] <Lizzian> Ariri,
self-hosted
L549[08:44:16] <Lizzian> dequbed, you
don't need to for the basic stuff
L550[08:44:19] <Lizzian> brb
L551[08:44:29] <Ariri> Danke
L552[08:45:36] <dequbed> Ariri: Lizz is
Brit you don't need to speak german. They *won* the war.
L553[08:46:29] <Ariri> ... lol
L554[08:51:20]
<The_Stargazer> @Saghetti so what was this
about prngs?
L555[08:51:32]
<Saghetti>
so basically
L556[08:51:37]
<Saghetti>
prngs are determinstic
L557[08:51:41]
<The_Stargazer> they are what
L558[08:51:46]
<Saghetti>
deterministic
L559[08:51:50]
<The_Stargazer> whats that
L560[08:52:00]
<Saghetti>
the output is determinable
L561[08:52:08]
<Saghetti>
isn't random
L562[08:52:15]
<Saghetti>
so basically
L563[08:52:19]
<ThePiGuy24> given the same inputs, the
outputs will always be knowable
L564[08:52:23]
<Saghetti>
^
L565[08:52:26]
<The_Stargazer> ah
L566[08:52:35]
<Saghetti>
let's say that my seed is `62`
L567[08:52:38]
<The_Stargazer> so instead of using a set
seed, I should use a random one?
L568[08:52:51]
<Saghetti>
i will always generate the numbers 32, 17, and 89 in that
order
L569[08:52:55]
<Saghetti>
(just an example)
L570[08:53:00]
<Saghetti>
so basically
L571[08:53:04]
<Saghetti>
don't put in a seed
L572[08:53:13]
<Saghetti>
the OS will take care of that for you
L573[08:53:16]
<The_Stargazer> Oh
L574[08:53:20]
<Saghetti>
it uses the current time as the seed
L575[08:53:22]
<ThePiGuy24> usually you should use the
time as the seed, some do it automatically
L576[08:53:24]
<Saghetti>
so it's always ranom
L577[08:53:30]
<Saghetti>
so it's always random [Edited]
L578[08:53:35]
<The_Stargazer> So I should just do `local
key = math.random() + tonumber(keyRaw)`?
L579[08:53:40]
<Saghetti>
yeah
L580[08:53:44]
<The_Stargazer> ah
L581[08:53:50]
<Saghetti>
because setting it to 2^31 is useless
L582[08:53:52]
<ThePiGuy24> not perfect, but good enough
for most
L583[08:54:00]
<The_Stargazer> `/usr/lib/sha2.lua:2436:
attempt to get length of a number value (local
'message_part')`
L584[08:54:00]
<The_Stargazer> what
L585[08:54:22]
<Saghetti>
did you pass in a number and not a string?
L586[08:54:24] <Lizzian> back
L587[08:54:27]
<Saghetti>
to a sha function
L588[08:54:28]
<Saghetti>
wb
L589[08:54:42]
<The_Stargazer> uhhh
L590[08:54:44]
<Saghetti>
and i'm not gonna dive into csprngs right now
L591[08:54:54]
<The_Stargazer> oh
L592[08:54:57]
<The_Stargazer> i see the issue
L593[08:55:24]
<The_Stargazer> or not
L594[08:55:33] <Lizzian> Ariri, Proxmox is
mainly a VM/hypervisor panel thing (which i also use) but their
mail gateway acts as a "firewall" for email in-and-out of
a business network
L595[08:55:41]
<ThePiGuy24> basically: just dont use a
prng for anything that has to be cryptographically secure
L596[08:56:03]
<The_Stargazer> oh there we go i had to
`packaged.loaded.libsimple = nil`
L597[08:56:07]
<The_Stargazer> oh there we go i had to
`package.loaded.libsimple = nil` [Edited]
L598[08:56:08]
<Saghetti>
also @The_Stargazer , you want a random result every time,
right?
L599[08:56:10]
<The_Stargazer> yea
L600[08:56:15] <Ariri> Gotcha, thanks for
the info
L601[08:56:30]
<Saghetti>
so what you wanna do is take the hash of your data + a randomly
generated seed
L602[08:56:43] <dequbed> @Saghetti Any
PRNG can be a CSPRNG if your thread model is incompetent enough
;)
L603[08:56:44]
<Saghetti>
salt*
L604[08:56:48] <dequbed> threat*
L605[08:57:07]
<Saghetti>
so basically:
L606[08:57:12]
<Saghetti>
1. generate random string
L607[08:57:25]
<Saghetti>
2. calculate the hash of your data + the string
L608[08:57:30]
<Saghetti>
just append the string to the end
L609[08:57:37]
<The_Stargazer> well
L610[08:57:43]
<Saghetti>
3. store both the hash and salt
L611[08:57:46]
<The_Stargazer> i want to calculate a
random number from inputs a and b
L612[08:57:50]
<The_Stargazer> both inputs are
strings
L613[08:58:00]
<Saghetti>
sha256(a .. b)
L614[08:58:00]
<The_Stargazer> but i can't just return
the hash of A + B
L615[08:58:01]
<Saghetti>
done
L616[08:58:07]
<Saghetti>
why not
L617[08:58:15]
<The_Stargazer> an attacker could change
the files without changing A or B
L618[08:58:17]
<Saghetti>
it's perfectly fine
L619[08:58:21]
<Saghetti>
:facepalm:
L620[08:58:25]
<Saghetti>
ok.....
L621[08:58:33]
<The_Stargazer> A and B are usually a name
and desc
L622[08:58:44]
<Saghetti>
so how is this useful?
L623[08:58:47]
<The_Stargazer> ..it's not
L624[08:58:53]
<The_Stargazer> i just wanted to have
signing
L625[08:58:55]
<The_Stargazer> for files and repos
L626[08:59:01]
<Saghetti>
d u d e
L627[08:59:06]
<Saghetti>
this isn't how you do signing
L628[08:59:13]
<Saghetti>
you use rsa and crap
L629[08:59:19]
<The_Stargazer> there is no OC-RSA
L630[08:59:22]
<The_Stargazer> afaik
L631[08:59:26] <Izaya> ~w data
L633[08:59:31] ⇦
Quits: Backslash (~Backslash@d137-186-220-152.abhsia.telus.net)
(Read error: Connection reset by peer)
L634[08:59:31]
<The_Stargazer> nope.
L635[08:59:35]
<The_Stargazer> ocvm does not like the
data card
L636[08:59:49]
<Saghetti>
ok so basically
L637[09:00:01]
<Saghetti>
this is how digital signing works:
L638[09:00:06]
<Saghetti>
1. you write code
L639[09:00:14]
<Saghetti>
2. you sign the code with your private key
L640[09:00:21]
<Saghetti>
3. you put the signed code on the web
L641[09:00:32]
<The_Stargazer> where does the signature
go?|
L642[09:00:33]
<Saghetti>
4. anyone with the public key can verify it
L643[09:00:34]
<The_Stargazer> where does the signature
go? [Edited]
L644[09:00:42]
<Saghetti>
but they can't sign their own code
L645[09:00:49]
<Saghetti>
because that requires the private key
L646[09:00:52]
<The_Stargazer> ah
L647[09:00:57]
<Saghetti>
ok now slow down
L648[09:01:15]
<Saghetti>
i'm just trying to tell you how this works on a high level
L649[09:01:39]
<Saghetti>
the signature is stored using some weird rsa math stuff
L650[09:01:43]
<Saghetti>
that's my best explanation lol
L651[09:01:52]
<Saghetti>
i suggest checking out GnuPG
L652[09:02:05] <dequbed> @Saghetti You
have the patience of a saint. My condolences.
L653[09:02:23]
<Saghetti>
thanks!
L654[09:02:32]
<The_Stargazer> i mean i can think of one
use for this function
L655[09:02:37]
<The_Stargazer> IDs
L657[09:03:12]
<Saghetti>
even though you cant use it
L658[09:03:12]
<The_Stargazer> again: ocvm.
L659[09:03:17]
<The_Stargazer> oh]
L660[09:03:18]
<The_Stargazer> yeaH
L661[09:03:29]
<Saghetti>
just look at how the api calls work
L662[09:03:38]
<Saghetti>
you pass in data and a key
L663[09:03:42]
<Saghetti>
and get a signature out
L664[09:03:59]
<Saghetti>
and then you can pass in data, a public key, and a signature
L665[09:04:06]
<Saghetti>
and it tells you if it's valid or not
L666[09:04:15]
<Saghetti>
if it's not valid, you can refuse to load the code
L667[09:04:18]
<Saghetti>
if it's valid, run it
L668[09:04:26]
<Saghetti>
does this make sense?
L669[09:04:36]
<The_Stargazer> yep
L670[09:04:41]
<The_Stargazer> in fact
L671[09:04:45]
<The_Stargazer> instead of 'refuse to
load'
L672[09:04:49]
<The_Stargazer> just refuse to parse or
download
L673[09:05:03]
<Saghetti>
you need to download it to verify it lol
L674[09:05:10]
<The_Stargazer> uhhh hang on
L675[09:05:22]
<The_Stargazer> gimme a sec
L677[09:05:48]
<Saghetti>
bam
L679[09:05:50]
<Saghetti>
you're welcome
L680[09:05:59]
<Saghetti>
wait
L681[09:06:00]
<The_Stargazer> thanks
L682[09:06:01]
<Saghetti>
why key?
L683[09:06:04]
<The_Stargazer> i don't know
L684[09:06:12]
<The_Stargazer> i should probably change
it to `Signature`
L685[09:06:24]
<The_Stargazer> `Install-Package
Cryptography.ECDSA.Secp256k1` uhh what
L686[09:06:26]
<Saghetti>
wait no that's not lua
L687[09:06:28]
<Saghetti>
1 sec
L688[09:06:55] <dequbed> secp256?
shaaaaame :p
L689[09:07:48]
<Saghetti>
so there's no lua libs available
L690[09:07:56] <dequbed> Just use
RSA
L691[09:08:28]
<Saghetti>
isn't rsa different?
L692[09:08:36] <dequbed> It's not
ECC
L693[09:08:39]
<Saghetti>
encrypt with public, decrypt with private
L694[09:08:49]
<Saghetti>
we're talking about signing
L695[09:09:01]
<Saghetti>
encrypt with private, decrypt with public
L696[09:09:20] <dequbed> you can do both
with both
L697[09:09:24]
<The_Stargazer> Hang on
L698[09:09:25]
<The_Stargazer> Big brain
L699[09:09:27]
<The_Stargazer> Why don't I just
L700[09:09:31] <dequbed> and it's not like
*any* of this will be secure at all anyway.
L701[09:09:32]
<Saghetti>
not sign code
L702[09:09:35]
<The_Stargazer> Take a peek at the Java
Lua code for the data card
L703[09:09:44]
<Saghetti>
dequbed: ^^^^^^^^^
L704[09:09:45]
<Saghetti>
yes
L705[09:09:46]
<Saghetti>
thank yoiu
L706[09:09:51]
<Saghetti>
this is pointless
L707[09:10:02]
<The_Stargazer> i mean yeah i guess
L708[09:10:04]
<Saghetti>
@The_Stargazer good luck lol
L709[09:10:13]
<The_Stargazer> is it obfuscated
L710[09:10:15]
<Saghetti>
no
L711[09:10:18]
<Saghetti>
it's a lot of weird math
L712[09:10:21]
<The_Stargazer> oh
L713[09:10:22]
<Saghetti>
on top of weird math
L714[09:10:26] <dequbed> It's a fun
experiment. It's probably a nice play-like way to learn about
signing. But don't bother calling it secure.
L715[09:10:27]
<Saghetti>
on top of more werid math
L716[09:10:28]
<The_Stargazer> so weird maths soup
L717[09:10:33]
<Saghetti>
on top of more weird math [Edited]
L718[09:10:35] <dequbed> And if you want
to learn crypto RSA it *simple*. ECC is *NOT*.
L719[09:10:43]
<The_Stargazer> ECC?
L720[09:10:52] <dequbed> Elliptic curve
cryptography
L721[09:10:59]
<The_Stargazer> Oh
L723[09:11:09]
<The_Stargazer> I would google but `ECC
represents the world's leading lighting and furniture brands
exclusively in New Zealand.`
L724[09:11:19]
<Saghetti>
`A simple and secure ECDH and ECDSA library.`
L725[09:11:21]
<The_Stargazer> Cryptographic
furniture?
L726[09:11:22]
<The_Stargazer> 🤔
L727[09:11:33]
<ThePiGuy24> yes
L728[09:11:34]
<The_Stargazer> ah yes, secure
chairs
L729[09:11:37]
<Saghetti>
@The_Stargazer is this for your package manager?
L730[09:11:41]
<The_Stargazer> yepp
L731[09:11:49]
<Saghetti>
because if you pack in code signing, it's not simple any more
L732[09:11:57]
<The_Stargazer> the interface is
simple
L733[09:12:01] <dequbed> RSA only requires
you to understand modulo and you can go from there. ECC requires
you to understand Elliptic curves. They aren't hard if you have an
undergraduate maths education or equivalent but they are more
complex than modulo.
L734[09:12:03]
<The_Stargazer> the backend... eh not so
much
L735[09:12:16]
<The_Stargazer> I don't have either
lol
L736[09:12:23]
<The_Stargazer> I have never used
modulo
L737[09:12:30]
<The_Stargazer> it's like `num1 % num2`
right?
L738[09:12:33] <dequbed> Yes.
L739[09:12:54] <Izaya> <3 mod
L740[09:12:56]
<The_Stargazer> yeah I either havent used
that ever or used it ages ago and never since idk
L741[09:13:01] <dequbed> The important
part is that mod math has some neat laws.
L743[09:14:15]
<The_Stargazer> 7) because the files can
be anywhere
L744[09:14:20]
<Saghetti>
bad idea
L745[09:14:21]
<Saghetti>
why
L746[09:14:35]
<The_Stargazer> so you don't need to use
something like github for your files
L747[09:14:36]
<Saghetti>
there's a simple solution to ALL OF THIS
L748[09:14:41]
<The_Stargazer> what
L749[09:14:49]
<Saghetti>
wait before i get into that
L750[09:14:54]
<Saghetti>
why not github?
L751[09:14:57]
<Saghetti>
github is good
L752[09:15:08]
<The_Stargazer> for example: `Package
"MyCoolGame" at
"oc-games.com/mygame.simple"`
L753[09:15:08]
<The_Stargazer> yeah ik that
L754[09:15:11]
<The_Stargazer> but others might not
agree
L755[09:15:17]
<Saghetti>
ok so
L756[09:15:22]
<Saghetti>
here's a `simple` solution
L757[09:15:25]
<Saghetti>
use prefixes
L758[09:15:28]
<Saghetti>
ex:
L759[09:15:29]
<The_Stargazer> prefixes?
L760[09:15:40]
<Saghetti>
loading a package off of github could look like this
L761[09:15:43]
<Saghetti>
and bear with me
L762[09:15:44] ⇦
Quits: CarlenWhite (~CarlenWhi@63.sub-174-231-133.myvzw.com) (Ping
timeout: 378 seconds)
L763[09:15:47]
<Saghetti>
while i explain this
L764[09:16:01]
<Saghetti>
`simple install github:Saghetti0/test`
L765[09:16:14]
<Saghetti>
urls could look like this
L767[09:16:52]
<Saghetti>
off of a floppy disk could look like this
L768[09:17:13]
<Saghetti>
`simple install local:openirc`
L769[09:17:35]
<Saghetti>
where it installs a file named openirc.simple from the first fs it
finds
L770[09:17:51]
<Saghetti>
sound good?
L771[09:18:00]
<The_Stargazer> ok so the problem with
that is that most users will just want to do `simple install
openirc` or `simple install test`
L772[09:18:09]
<The_Stargazer> instead of having to know
what it's hosted on
L773[09:18:24]
<The_Stargazer> keep in mind this is
designed to be usable by people who are dumb as fuck
L774[09:18:29]
<Saghetti>
ok but explain this:
L775[09:18:40]
<Saghetti>
if they can be installed from a n y w h e r e
L776[09:18:51]
<Saghetti>
how will the package manager know what url to go to
L777[09:18:55]
<The_Stargazer> repos.
L778[09:18:58]
<Saghetti>
if you just specify `foobar`
L779[09:19:03]
<The_Stargazer> there's an `/etc/sources`
file
L780[09:19:09]
<The_Stargazer> it checks all the repos in
that for `foobar`
L781[09:19:13]
<Saghetti>
rjigriunriuhvehjvnvnr
L782[09:19:16]
<Saghetti>
reeeeeeeee
L783[09:19:23]
<The_Stargazer> isn't that how shit like
apt-get and yum do it
L784[09:19:25]
<Saghetti>
(if you can't tell, i'm kind of going insane)
L785[09:19:33]
<Saghetti>
but the thing is
L786[09:19:34]
<The_Stargazer> (yeah I'm sorry for my
stupidity lol)
L787[09:19:42]
<Saghetti>
where are you gonna get the file from?
L788[09:19:45]
<Saghetti>
github?
L789[09:19:52]
<The_Stargazer> hol up
L790[09:19:55]
<The_Stargazer> i'll dm you some
stuff
L791[09:19:58]
<The_Stargazer> the formats
L792[09:20:02]
<Saghetti>
why
L793[09:20:05]
⇨ Joins: CarlenWhite
(~CarlenWhi@63.sub-174-231-133.myvzw.com)
L794[09:20:08]
<Saghetti>
i'm just asking
L795[09:20:12]
<The_Stargazer> oh
L796[09:20:13]
<The_Stargazer> right
L797[09:20:15]
<The_Stargazer> well i mean
L798[09:20:18]
<Saghetti>
where will you download sources from?
L799[09:20:28]
<Saghetti>
where will you download /etc/sources from? [Edited]
L800[09:20:48]
<ThePiGuy24> im now messing about with
bogosort as its clearly the most efficient algorithm
L801[09:20:54]
<The_Stargazer> originally, *yes* it
downloads the core repos from github
L803[09:20:56]
<Saghetti>
bogosort master race
L804[09:21:08]
<Saghetti>
ok
L805[09:21:13]
<Saghetti>
now explain attackers
L806[09:21:24]
<The_Stargazer> uhhhh
L807[09:21:26]
<The_Stargazer> ¯\(ツ)/¯
L808[09:21:45]
<Saghetti>
oh
L809[09:21:45]
<Saghetti>
my
L810[09:21:48]
<Saghetti>
fucking
L811[09:21:48]
<Saghetti>
god
L812[09:21:50]
<Saghetti>
i
L813[09:21:50]
<Saghetti>
just
L814[09:21:52]
<Saghetti>
wasted
L815[09:21:53]
<Saghetti>
like
L816[09:21:55]
<Saghetti>
2
L817[09:21:56]
<Saghetti>
hours
L818[09:22:02]
<ThePiGuy24> f
L819[09:22:11]
<Saghetti>
eh whatever tho
L820[09:22:17]
<Saghetti>
the more sleep deprivation the merrier
L821[09:22:27]
<The_Stargazer> ^
L822[09:22:38]
<Saghetti>
so you don't even need signing
L823[09:22:43]
<Saghetti>
you can't attack this
L824[09:22:46]
<The_Stargazer> i mean
L825[09:22:49] <dequbed> @Saghetti: Honey,
I adore your patience. I only wish you would use it to teach the
willing instead.
L826[09:22:51]
<The_Stargazer> if someone attacked a user
repo location
L827[09:23:01]
<Saghetti>
:waitwhat:
L828[09:23:18]
<Saghetti>
dequbed: that's a good idea
L830[09:23:35]
<Saghetti>
hmm
L831[09:23:40]
<Saghetti>
so you're saying that
L832[09:23:50]
<The_Stargazer> and hey your time wasn't
completely wasted
L833[09:23:53]
<Saghetti>
lets say that someone sucks at web security
L834[09:23:58]
<The_Stargazer> you taught me some shit
and gave me some ideas
L835[09:24:10]
<Saghetti>
and they accidentally made it so anyone can upload files to
insecureserver.com using webdav
L836[09:24:12]
<Saghetti>
or something
L837[09:24:15]
<The_Stargazer> yeah
L838[09:24:24]
<Saghetti>
so then a hacker overwrites mycompromisedrepo
L839[09:24:35]
<Saghetti>
and then someone installs a package
L840[09:24:36]
<The_Stargazer> mmhmm
L841[09:24:41]
<Saghetti>
and it installs malicious stuff
L842[09:25:11]
<The_Stargazer> Yep
L843[09:26:10]
<Saghetti>
well then that's the users fault lol
L844[09:26:15]
<Saghetti>
they added the repo
L845[09:26:21]
<Saghetti>
and also
L846[09:26:27]
<Saghetti>
this seems so far out there
L847[09:27:23] <dequbed> @Saghetti And
then you would only be able to hack a virtual computer in a video
game where a much faster solution to the same problem is a pickaxe
or a bunch of TNT.
L848[09:27:32]
<Saghetti>
who the heck would attack some random website that only a few
people have as a repository so that they could overwrite some
packages that one of those few people might install so that they
can install malicious software on someone's computer in some video
game that doesn't even do much
L849[09:28:07]
<Saghetti>
and remember, how many people will actually be using simple?
L850[09:28:18]
<Saghetti>
at this point, the chances of someone getting a virus are 0%
L851[09:28:25]
<The_Stargazer> its kinda supposed to be a
replacement for oppm
L852[09:28:25]
<Saghetti>
and besides, where's the incentive for hackers
L853[09:28:30]
<The_Stargazer> but simple™️
L855[09:29:04]
<Saghetti>
ok so see this
L856[09:29:07]
<Saghetti>
i need to do something
L857[09:29:10]
<Saghetti>
to add this repo
L858[09:29:22]
<Saghetti>
and if this is meant for people who don't know much
L859[09:29:31]
<Saghetti>
do you think they're gonna be dealing with custom repos?
L860[09:29:36]
<The_Stargazer> good point
L861[09:29:58]
<The_Stargazer> i still think i should
keep the whole custom repo thing for advanced users
L862[09:30:09]
<Saghetti>
simple™️™️™️™️™️™️
L863[09:30:15]
<The_Stargazer> ™️simple
L864[09:30:22]
<Saghetti>
si™️ple
L865[09:30:36]
<The_Stargazer> s™️i™️m™️p™️l™️e:tm
L866[09:30:39]
<The_Stargazer> s™️i™️m™️p™️l™️e™️
[Edited]
L867[09:30:48]
<Saghetti>
also the only time i've ever used a custom repo
L868[09:30:53]
<Saghetti>
in my entire time using linux
L869[09:30:58]
<Saghetti>
is to install certbot
L870[09:31:03]
<The_Stargazer> certbot?
L871[09:31:07]
<Saghetti>
i literally haven't used it a single other time
L872[09:31:23]
<Saghetti>
certbot allows for free https certificates for your webserver
L873[09:31:27]
<Saghetti>
via lets encrypt
L874[09:31:39]
<Saghetti>
and tell me honestly
L875[09:31:49] *
Izaya intends to write something oppm-compatible
L876[09:31:50]
<Saghetti>
how many people do you think are gonna use this?
L877[09:31:59] <Izaya> if only so I can
use oppm packages on machines without an internet card
L878[09:32:07]
<Saghetti>
oh hey izaya
L879[09:32:23]
<Saghetti>
have you been watching us this whole time?
L880[09:32:26] <Izaya> tl;dr oppm but with
support for FRequest
L881[09:32:36]
<ThePiGuy24> izaya its not time for
software promotion
L882[09:32:51] <Izaya> the window is open
but I'm mostly shittalking in mumble, Saghetti
L883[09:33:01] <Izaya> I admire your
patience, though.
L884[09:33:01]
<Saghetti>
oh ok
L885[09:33:06]
<Saghetti>
ty
L886[09:33:42] <dequbed> Izaya:
shittalking in mumble sound fun.
L887[09:34:20]
<Saghetti>
ppl still use mumble?
L888[09:34:32] <Izaya> of course?
L889[09:34:34] <dequbed> Much better than
the current alternatives if you're on Linux
L890[09:34:51] <Izaya> TeamSpeak can
technically provide better audio but I don't want any of that yucky
non-free communication software
L891[09:35:03]
<Saghetti>
discord
L892[09:35:04] <Izaya> And I don't have
two microphones so it's pointless anyway.
L893[09:35:05]
<Saghetti>
...
L894[09:35:21]
<ThePiGuy24> ohgod repl.it has
LOLCODE
L895[09:35:27] <dequbed> @Saghetti: You
find gmail creepy for reading your mail but use Discord WHO ARE
DOING THE SAME?
L896[09:36:07]
<Saghetti>
at least they make it less obvious lol
L897[09:36:16] <dequbed> And that's ...
better?
L898[09:36:38]
<Saghetti>
sure
L899[09:36:41]
<ThePiGuy24> its worse
L900[09:37:01]
<Saghetti>
and would they have time to look through all of my messages
manually?
L901[09:37:09]
<Saghetti>
or are they just using bots
L902[09:37:12] <dequbed> ... They have
computer too...
L903[09:37:35] <Izaya> Startup elevator
pitch: A messaging app that doesn't use computers to route
messages.
L904[09:37:40] <dequbed> Like... they
*run* the servers underneath your guild's
""""server"""". They don't
*need* bots
L905[09:37:59]
<Saghetti>
Izaya: snail mail
L906[09:38:00] <dequbed> They can just
take all your messages as they are from their database and sell
them
L907[09:38:13] <dequbed> Oh and call
recordings if they care enough.
L908[09:38:23]
<Saghetti>
too much storage lol
L909[09:38:27] <dequbed> Hard drives are
cheap.
L910[09:38:46] <Izaya> you can use really
low bitrate opus and the voice is still comprehensible
L911[09:38:49] <dequbed> And running an
algorithm that tries to extract data from your voice profile is
even cheaper.
L912[09:39:36] <dequbed> Like Discord
could easily figure out shit like what's your biological gender
from your voice. And different shit too. We can make a
psychological profile based on handwriting, you think voice is
different?
L913[09:39:56]
<Saghetti>
but discord wouldn't need to data mine, they're vc backed
L914[09:40:00] <dequbed> LOL
L915[09:40:10] <Izaya> Oh you sweet summer
child.
L916[09:40:11] <dequbed> AND WHY DO YOU
THING INVESTORS PUT MONEY IN DISCORD?!
L917[09:40:33] <dequbed> Data is really,
*really* valuable. YOU CAN SELL THAT. In fact discord can *only*
sell you data.
L918[09:41:06] <dequbed> Investors *know*
that. And they want discord to store, analyze and mine everything
they can. Because that means they can sell that. And make their
money back.
L919[09:41:13]
<Saghetti>
yeah ik im making myself look like an idiot, but i'm sticking with
discord
L920[09:41:44] <dequbed> That's your free
choice. But honestly then you can use gmail too. Much less hassle
than setting up your own mail.
L921[09:42:30] <dequbed> But if you want
to stop data collection about you, *please* start with Discord.
They are much worse than gmail.
L922[09:42:45]
<Saghetti>
how do you know
L923[09:43:11] <dequbed> What part?
L924[09:43:16]
<Saghetti>
i would honestly think that gmail is worse
L925[09:43:19] <dequbed> No.
L926[09:43:31]
<Saghetti>
why not
L927[09:44:00] <Izaya> I don't necessarily
agree Google is better, but consider that Google would never sell
your data; it's too valuable for their own use. Discord can't use
it on its own beyond maybe store recommendations or, haruhi forbid,
ads.
L928[09:44:07] <dequbed> Gmail is mainly
used for "official" business. Stuff like what you buy,
where you're flying. Discord is used for private stuff. What
friends you have. What games you play, what your current problems
are.
L929[09:44:20] <dequbed> People use
discord to talk to friends about psychological problems.
L930[09:44:28] <dequbed> Do YOU use
Discord for that?
L931[09:44:49] <dequbed> Would you rather
have your mail be leaked or your DMs on Discord? Your recorded
calls?
L932[09:45:09]
<Saghetti>
yeah google won't sell your data, they just datamine it and use it
for adsense lol
L933[09:45:32]
<Saghetti>
why give it to someone else when you can datamine it
yourself?
L934[09:46:12]
<Saghetti>
and i would honestly think that datamining discord would be
harder
L935[09:46:21] <dequbed> So what? That's
their entire goal.
L936[09:46:42] <Lizzian> i mean... it's
not like there's self-bots that have already been data mining or
anything
L937[09:47:31] <dequbed> Google needs to
*also* scale a search engine. Discord is much easier to build from
an engineering standpoint. Discord can put much more energy
proportionally into mining everything. Especially because the
investors really want them to.
L938[09:48:01]
<Saghetti>
and couldn't you say the same thing about esper?
L939[09:48:09]
<Saghetti>
aren't they datamining?
L940[09:48:18]
<Saghetti>
how do they keep their servers up?
L941[09:48:27]
<Saghetti>
they already take logs of everything
L942[09:48:36]
<Saghetti>
how do we know they aren't datamining?
L943[09:48:50] <dequbed> ...
L944[09:48:54] <dequbed> Are you being
serious?
L945[09:49:17]
<Saghetti>
nah
L946[09:50:27]
<The_Stargazer> So I have this pattern
`"Package%s\".\"%sAt%s\".\""` and
this for loop Code Block pastebined
https://paste.pc-logix.com/lujiwafugi but the for
loop is only printing one package name.
L947[09:50:35]
<The_Stargazer> My rawData is `rawData =
"Package \"blah\" At
\"blah.com/blah.simple\"\nPackage \"blah2\" At
\"blah.com/blah2.simple\""`
L948[09:51:20]
<Saghetti>
try making sure your gmatch actually works
L949[09:51:27]
<The_Stargazer> how do I make sure it
actually works
L950[09:51:33]
<The_Stargazer> because it doesn't seem to
be
L951[09:51:33]
<Saghetti>
and hold on
L952[09:51:38]
<Saghetti>
why not use serialized tables
L953[09:51:44]
<Saghetti>
~w serialization
L955[09:52:15]
<The_Stargazer> i'm testing this in the
lua demo
L956[09:52:17]
<The_Stargazer> not ocvm
L957[09:52:27]
<The_Stargazer> so i don't have
serialization
L958[09:52:41] <Izaya> cut out the
checkArgs and the serialization lib works on plain Lua
L959[09:52:53] <Izaya> there's also a
smaller implementation in the PsychOS repo
L960[09:53:50]
<Saghetti>
some good implementations are here
L962[09:54:20]
<Saghetti>
and yeah, the implementation is here
L964[09:54:29]
<The_Stargazer> also normally the rawData
is just a bunch of strings
L965[09:54:35]
<The_Stargazer> well]
L966[09:54:38]
<The_Stargazer> plaintext actually
L967[09:54:47]
<Saghetti>
yeah
L968[09:54:53]
<Saghetti>
serialization converts a table into text
L969[09:55:01]
<Saghetti>
and deserialization converts text into a table
L970[09:55:08]
<Saghetti>
that's the whole point
L972[09:55:33]
<The_Stargazer> ^ basic repo
L973[09:55:58]
<Saghetti>
why not restructure it?
L974[09:56:09]
<The_Stargazer> like how?
L976[09:58:17] <Izaya> >calls program
"simple
L977[09:58:23] <Izaya> >makes difficult
to implement
L978[09:58:29]
<The_Stargazer> yeah um no
L979[09:58:29]
<The_Stargazer> the format is designed to
be simple
L980[09:58:29]
<The_Stargazer> wait
L981[09:58:35]
<The_Stargazer> how is this difficult to
implement
L982[09:58:46] <Izaya> it's less easy than
just deserializing
L983[09:58:50] <Izaya> or using an easier
to parse format
L985[09:59:06]
<Saghetti>
yeah
L986[09:59:11]
<Saghetti>
it's simple for humans to read
L987[09:59:15]
<Saghetti>
but not for machines
L988[09:59:26]
<The_Stargazer> that's my intention
L989[09:59:26]
<The_Stargazer> human-readable and
human-writable syntax
L990[09:59:45]
<The_Stargazer> i had a perfectly working
version until i deleted it by accident
L991[09:59:46]
<Saghetti>
just make a util
L992[10:00:00] <Izaya> I mean, I wrote the
programs.cfg for the Minitel repo by hand
L993[10:00:08]
<Saghetti>
repo_builder.lua
L994[10:00:09] <Izaya> if you can write a
Lua table you can write a serialized Lua table
L996[10:00:14] <Izaya> it's the same
thing, after all
L997[10:00:16]
<Saghetti>
i wrote this by hand
L998[10:00:21]
<Saghetti>
it wasn't that hard
L999[10:00:33] <Izaya> you could do even
better than that tbh
L1000[10:00:42]
<The_Stargazer> if i change it now i'll
have to change literally the entire impl
L1001[10:00:44] <Izaya> packages = {
["nrc"] = {.......} }
L1002[10:01:01] <Izaya> Do you have an
internal data structure that represents a repo?
L1003[10:01:06]
<The_Stargazer> ..no
L1004[10:01:08]
<Saghetti> but it will be simple™️r
L1005[10:01:22]
<The_Stargazer> it won't be
sim™️ple:tmr
L1006[10:01:24]
<The_Stargazer> it won't be sim™️ple™️r
[Edited]
L1007[10:01:28]
<Saghetti> it will be
L1008[10:01:34]
<The_Stargazer> it'll be harder for my
lazy ass to do lol
L1009[10:01:46] <Izaya> >fuck with
gsub and string parsing
L1010[10:01:48] <Izaya> vs
L1011[10:01:50]
<Saghetti> local repo =
serialization.deserialize(repoData)
L1012[10:01:51] <Izaya> >deserialize a
file
L1013[10:01:57] <Izaya> ?.?
L1014[10:02:08] <Izaya> if you go the
deserialization route you can even be oppm compatible
L1015[10:02:18]
<Saghetti> and from there, you can do
repo.name, repo.description
L1016[10:02:18]
<The_Stargazer> i--i can??
L1017[10:02:25]
<Saghetti> \\
L1018[10:02:33]
<Saghetti> yes
L1019[10:02:41]
<The_Stargazer> well holy shit why didn't
you just say that
L1020[10:02:44]
<Saghetti> even oppm uses it
L1021[10:02:54] <Izaya> ... You did
investigate the other options before deciding to write your own,
right?
L1022[10:03:17]
<The_Stargazer> yes
L1023[10:03:24]
<The_Stargazer> oppm is dead
L1024[10:03:26]
<Saghetti> i doubt that
L1025[10:03:36]
<The_Stargazer> iirc vexatos isnt
accepting new repos
L1026[10:03:39] <Izaya> ... So you know
that oppm uses serialized tables to store repository
metadata?
L1027[10:03:53]
<The_Stargazer> ...the law requires I
answer yes
L1028[10:03:59] <Izaya> And you know that
most OC software is published via oppm?
L1029[10:04:15]
<The_Stargazer> again oppm is dead
af
L1030[10:04:17]
<The_Stargazer> no new packages
L1031[10:04:20]
<The_Stargazer> atleast afaik
L1032[10:04:27] <Izaya> Someone isn't
paying attention, then
L1033[10:04:36]
<Kristopher38> Didn't someone say that you
can add your own repos or something?
L1034[10:04:40] <Izaya> ^
L1035[10:04:52] <Izaya> also, Vex may not
be adding repos to the default list, but repos can still add
packages
L1036[10:04:53]
<Saghetti> wait
L1037[10:05:00]
<Saghetti> you can add your own repos???
(/s)
L1038[10:05:11]
<The_Stargazer> you guys literally just
said
no don't do that when i suggested custom repos
L1040[10:05:27]
<Saghetti> dude
L1041[10:05:29]
<Saghetti> when did i say no
L1042[10:05:36]
<The_Stargazer> gimme a sec
L1043[10:05:48] <Izaya> Example A: an
active repository
L1045[10:06:14]
<The_Stargazer> also oppm requires a loot
disk
L1046[10:06:22] <Izaya> did you
know
L1047[10:06:23]
<Saghetti> i'm not saying no
L1048[10:06:26]
<Saghetti> i'm just saying
L1049[10:06:31]
<Saghetti> it's meant to be simple™️
L1050[10:06:36] <Izaya> you can use a
scrench on your OpenOS disk to cycle through loot disks?
L1051[10:06:44]
<Saghetti> are the noobs gonna deal with
that stuff?
L1052[10:06:49] <Izaya> or, you can
install oppm from the internet
L1053[10:06:53]
<The_Stargazer> you can??
L1054[10:07:03] <Izaya> oppm is two files
and one of them is {}
L1055[10:07:21] <Izaya> you can literally
wget the program and be on your way
L1056[10:07:38]
<The_Stargazer> oh,
L1057[10:07:42]
<The_Stargazer> oh.
L1058[10:07:51] <Ginkeo> is there any way
to interrupt a program running on openOS?
L1059[10:07:56]
<The_Stargazer> ^C
L1060[10:07:57]
<The_Stargazer> or ctrl-c
L1061[10:07:59] <Izaya> ctrl-c or
ctrl-alt-c
L1062[10:08:10]
<Saghetti> ctrl-alt-c is to force
interrupt
L1063[10:08:16]
<The_Stargazer> also alt-f4 but that kills
your whole game
L1064[10:08:18]
<Saghetti> hold the keys down for a few
secs
L1065[10:08:25]
<The_Stargazer> or mash them
L1066[10:08:29]
<The_Stargazer> i just mash them lol
L1067[10:08:35] <Izaya> I'm a big fan of
ctrl-alt-f2 ctrl-alt-delete, which reboots your machine
L1068[10:08:38] <Izaya> your real
machine
L1069[10:09:33] <Ginkeo> ctrl-c does not
work for me
L1070[10:09:40] <Ginkeo> but ctrl-alt-c
does
L1071[10:11:00] <Ginkeo> now is there any
way to disable/override that to have a "secure" system
where people can't exit your running program?
L1072[10:11:37] <Ginkeo> I want to make
it so i have to enter a password to close the program and return to
openOS
L1073[10:11:43]
⇦ Quits: Ariri (~Ariri@2605:e000:1220:8039:bcfd:b18:e6a:f733)
(Ping timeout: 202 seconds)
L1074[10:14:29] <Izaya> pcall will let
you catch the error being interrupted provides, probably
L1075[10:14:48] <dequbed> Probably, but
maybe not while using OpenOS. Then again, why bother?
L1076[10:15:57] <Ginkeo> what is
pcall?
L1077[10:16:15] <Izaya> ~w pcall
L1079[10:16:24] <Izaya> it lets you call
a function and catch any errors it returns
L1080[10:17:54] <Ginkeo> so the how would
I use that catch an interupt?
L1081[10:18:04] <Ginkeo> from
ctrl-alt-c
L1082[10:18:29] <Izaya> you could pcall
your read function, or pcall the whole program and loop it till it
returns true
L1083[10:20:01] <Ginkeo> what read
function? like anthing that pulles an event, such as
os.sleep?
L1084[10:20:36] <Izaya> yup
L1085[10:21:22] <Izaya> The error is
generated in event.pull() which then ripples upwards from anything
using it
L1086[10:22:25] <Ginkeo> ok so what jsut
so pcall(os.sleep()) then?
L1087[10:22:46] <Izaya> if that's when
people are interrupting the program, yeah
L1088[10:22:51] <Ginkeo> how do i define
what code to run on an error?
L1089[10:23:26] <Ginkeo> will os.sleep is
the only thing i have right now that calls event.pull() i
think
L1090[10:23:34] <Ginkeo> well*
L1091[10:23:50] <Izaya> pcall returns
either true or false, then whatever the function returns (if true)
or an error (if false)
L1092[10:24:10] <Izaya> ~w pcall
L1094[10:24:30] <Ginkeo> right, thank you
i will try it.
L1095[10:25:22] <Ginkeo> so is there any
reasion why ctrl-alt-c works but not ctrl-c? what is the
diffrence
L1096[10:25:40] <Izaya> There is
one
L1097[10:25:42] <Izaya> but I
forget
L1098[10:25:50] <Izaya> ctrl-alt-c is a
more srs bsns interrupt though
L1099[10:26:44] <Izaya> IIRC ctrl-c is
handled by the event library, but ctrl-alt-c errors in
computer.pullSignal, which is what event.pull uses
L1100[10:26:50] <Inari> %pet Izaya
L1101[10:26:50] <MichiBot> Inari is
brushing Izaya with a test item. Izaya regains 1d4 => 4 hit
points!
L1102[10:28:21] <Ginkeo> well i sort of
want to cech both of them, and allow exiting the programing after
endering a code.
L1103[10:31:17] <Ginkeo> so will it work
if i just pcall all my computer.pullSignal using stuff to block
ctrl-alt-c and listen for a ctrl-c event and put my exit code
there?
L1104[10:35:02] <Ginkeo> i am getting
error pcall value expected. what do i do?
L1106[10:36:23] <Ginkeo> ok it says bad
argument to pcall. i am doing pcall(os.sleep(0.01))
L1107[10:38:00] <Ginkeo> wate nevermind i
got it
L1108[10:38:08] <Ginkeo> i was doing it
wrong
L1109[10:39:00] <Ginkeo> so that worked,
can't inteupt it now. thnk you.
L1110[10:49:10] <Ginkeo> thats cool
corded.
L1111[10:49:30]
<ThePiGuy24> no im ThePiGuy24
L1112[10:49:50]
<ThePiGuy24> corded is a bot that links
IRC and Discord together
L1114[10:50:32]
<Bob>
why pcall os sleep lol
L1115[10:50:51] <Ginkeo> oh sorry. did
not know
L1116[10:51:09]
<ThePiGuy24> it would be pcalling whatever
os.sleep returns
L1117[10:51:15] <Ginkeo> to make
ctrl-alt-c not work B?ob
L1118[10:51:26]
<Bob> i
doubt it will work lol
L1119[10:51:34]
<Bob>
also pcall(f,...)
L1120[10:51:40]
<Bob>
you should not call the function inside
L1121[10:51:47]
<Bob>
but rather pump its args alongside it
L1122[10:51:57] <Ginkeo> ya i figgured
that out
L1123[10:52:02] <Ginkeo> also it does
work
L1124[10:52:26]
<Bob>
doing CRTL ALT C again will escape tough
L1125[10:52:39]
<Bob>
unless you re-emb into a pcall routine
L1126[10:52:51]
<Bob> i
have a cursed idea
L1127[10:52:58]
<Bob>
emb a coroutine into a pcall or something
L1128[10:53:04]
<Bob>
then you can't shut it down
L1129[10:53:06]
<Bob>
:GWlulurdMmmYea:
L1130[10:53:56] <Ginkeo> well i just
mashed it like crazy then held it down for like 10 secneds and
nothing happend
L1131[10:54:08] <Ginkeo> so what I did
seems to work
L1132[10:54:53] <Ginkeo> waht is re-emb
thoug?
L1133[10:55:31]
<Bob>
re-embedding
L1134[10:56:10] <Ginkeo> what are we
re-embedding?
L1135[10:56:45] <Ginkeo> well whatever
its fine
L1136[10:57:01] <Ginkeo> it seems to be
working for now
L1137[10:57:09] <Lizzian> %oclogs
L1139[10:59:02] <Ginkeo> time to add a
lisener for ctrl-c to create my onwn exit function
L1140[11:01:07]
⇨ Joins: Vexatos
(~Vexatos@port-92-192-32-150.dynamic.as20676.net)
L1141[11:01:07]
zsh sets mode: +v on Vexatos
L1142[11:09:26] <Ginkeo> time for bed,
goodnight
L1143[11:10:01]
⇦ Quits: Ginkeo (~ginkeo@64-33-95-10-dynamic.midco.net)
(Quit: goodnight)
L1145[11:26:43] <MichiBot>
Team
PetShop - Sweet Magic - Vostfr | length:
3m 40s | Likes:
1,519 Dislikes:
13 Views:
83,675 | by
LYN ShiroK |
Published On 3/10/2014
L1146[11:56:06]
⇨ Joins: ben_mkiv (~ben_mkiv@88.130.157.64)
L1147[11:57:39]
⇦ Quits: ben_mkiv (~ben_mkiv@88.130.157.64) (Remote host
closed the connection)
L1148[11:58:36] <Inari> Magicu
mirror~
L1149[12:01:01]
⇨ Joins: ben_mkiv (~ben_mkiv@88.130.157.64)
L1150[12:18:00]
<AdorableCatgirl> ya boi sam is now
legal
L1151[12:19:00]
<ThePiGuy24> ohno
L1152[12:19:25]
<Kristopher38> @AdorableCatgirl how do I
learn the power of fixing old CRTs?
L1153[12:19:56]
<AdorableCatgirl> @Kristopher38 my dad
worked on them
L1154[12:20:26]
<AdorableCatgirl> i learned how to more or
less service them
L1155[12:20:56]
<AdorableCatgirl> well, i know how to
safely poke at them
L1156[12:23:33]
<Kristopher38> Tfw my dad taught me almost
nothing electronics-related
L1157[12:24:01]
<ThePiGuy24> Tfw my dad taught me almost
nothing
L1159[12:38:55]
⇨ Joins: Skye (znc@nightfall.moe)
L1160[12:39:21] ***
Skye is now known as Guest24418
L1161[12:40:28]
<ThePiGuy24> hmmmst
L1162[12:46:49]
⇨ Joins: Thutmose
(~Patrick@host-69-59-79-181.nctv.com)
L1163[12:58:34] ***
Guest24418 is now known as Skye
L1164[15:13:02] <Michiyo> damn it Skye
get SASL working or something! lol
L1165[15:13:08] <Michiyo> -nickTrace-
Skye aka. Guest97234 aka. Guest73962 aka. Guest20540 aka.
Guest12362 aka. Guest27694 aka. Guest13199 aka. Guest31968 aka.
Guest53309 aka. Guest99086 aka. Guest32215 aka. Guest84936 aka.
Guest5444 aka. Guest66615 aka. Guest22628 aka. Guest53722 aka.
Guest57182 aka. Guest63804 aka. Guest10433 aka. Guest51606 aka.
Guest90694 aka. Guest61906
L1166[15:21:40]
⇦ Quits: ben_mkiv (~ben_mkiv@88.130.157.64) (Killed (NickServ
(GHOST command used by
ben_mkiv|afk!~ben_mkiv@88.130.157.20)))
L1167[15:21:45]
⇨ Joins: ben_mkiv|afk (~ben_mkiv@88.130.157.20)
L1168[15:26:03]
<MGR>
Ohno
L1169[16:11:36] <Amanda> %choose space
weed or space something-of-a-scientist-myself
L1170[16:11:36] <MichiBot> Amanda: Is it
a bird?! Is it a plane?! No! It's "space
something-of-a-scientist-myself"!
L1171[16:11:58] <Amanda> That actually
fits somewhat well,
L1172[16:13:23] <Amanda> %8ball remove
vscode nix config stuff?
L1173[16:13:23] <MichiBot> Amanda: Reply
hazy, try again
L1174[16:45:07]
⇦ Quits: ben_mkiv|afk (~ben_mkiv@88.130.157.20) (Ping
timeout: 202 seconds)
L1175[17:28:52]
<ThePiGuy24> %8ball ?
L1176[17:28:53] <MichiBot> ThePiGuy24:
I don't think that's a question...
L1177[17:29:08]
<ThePiGuy24> your'e not a question
L1178[17:30:58]
<ThePiGuy24> %tonk
L1179[17:30:58] <MichiBot> I'm sorry
ThePiGuy24, you were not able to beat The_Stargazer's record of 11
hours, 56 minutes and 16 seconds this time. 11 hours, 10 minutes
and 26 seconds were wasted! Missed by 45 minutes and 50
seconds!
L1180[17:31:17]
<ThePiGuy24> ah fuck i am bad at
maths
L1181[17:39:33]
<Nathan -
Not abel> I guessing that this has been asked before but is
there an plan to update oc beyond 1.12?
L1182[17:48:56] <Michiyo> No, matter of
fact we're stopping support for anything newer than 1.5.2
L1183[17:49:33] <dequbed> Michiyo: That
sounds like a lovely idea
L1184[17:51:03] <Michiyo> :P
L1185[17:51:07] <Michiyo> /s btw
L1186[17:51:15] <Michiyo> Before someone
takes me seriously
L1187[17:51:46] <dequbed> Aw and here I
was thinking we'd throw out all the MC ~Shit~Scriptkiddies (whoops,
freudian slip there) by just .. not updating.
L1188[17:56:23]
<Nathan -
Not abel> Why stop at 1.5.2 go 1.4
L1189[17:56:57]
<ThePiGuy24> 1.2 is where its at
L1190[17:57:13]
⇨ Joins: Ginkeo
(~Ginkeo@2001-48F8-1006-B42-4868-9870-9936-DAF0-static.midco.net)
L1192[17:58:06]
<ThePiGuy24> what is it meant to do and
what does it do instead
L1193[18:01:17] <Michiyo> Beta 1.0
FTW
L1194[18:01:29] <Michiyo> while ture
do?
L1195[18:01:32] <Michiyo> ture?
L1196[18:01:47] <Ginkeo> it is meant to
lisecn for a ctrl-c signel then prompt for a pin and exit the
program if the pin is corecct going back to the porgram if it is
not. insted it shows the prompt for a split second then returns
reguardless.
L1197[18:02:52] <Ginkeo> facepaulms
L1198[18:03:10] <Ginkeo> well that did
somthing
L1199[18:05:22] <Ginkeo> now it will show
the prompt and return to the if i don't press anything for 20
sceends, but after i press a key it puts the * but then it just
returns back to my main loop without even calling int().
L1200[18:05:39] <Ginkeo> do you need the
full code?
L1201[18:09:20] <Ginkeo> because now I
can't figure out what is going on, it's closing the handler and
returning to the main loop after just one press but I don't know
why
L1202[18:13:58] <Michiyo> put some debug
prints through the loop? I'm @ work and super busy ATM
L1203[18:14:05] <Michiyo> I'll take a
look if a I can
L1204[18:20:25] <Ginkeo> hmm it seems to
stop after 'inpin = inpin .. ch'
L1205[18:21:29] <Ginkeo> i have debug
prints right before and right after that line and i see the one
before but not the one after.
L1206[18:25:38] <Michiyo> print ch there
and confirm you're getting usable data?
L1207[18:31:49] <Ginkeo> no apprenty i am
getting the keybord address where i shuld be getting the charicter
pressed.
L1208[18:32:41] <Michiyo> add _, to the
start of your pull
L1209[18:32:42] <Michiyo> afk
L1210[18:38:18] <Michiyo> back,
L1211[18:38:31] <Michiyo> the first thing
returned by event.pull is the event name, address, then the
rest
L1212[18:38:52] <Michiyo> so
_,ka,ch,co,pn would discard the event name, and then the rest of
the variables should match up
L1213[18:39:13] <Ginkeo> ah ok will try
thnks
L1214[18:39:18] <Ginkeo> thank
L1215[18:39:19] <Ginkeo> s
L1216[18:44:09] <Ginkeo> now it is
displaying ch but it is sill failing the conatanate
L1217[18:45:39] <Ginkeo> also how do i
get the accule charictor form the char code?
L1218[18:48:45] <Michiyo> Someone may
have a better way but you can use the keyboard api, and use
keyboard.keys to look up the code, so like 0x52 is numpad0
L1219[18:48:54] <Michiyo> Honestly I'm
not sure... I've not OC'd in.. ages
L1220[18:52:07]
⇨ Joins: Vexaton
(~Vexatos@port-92-192-124-211.dynamic.as20676.net)
L1221[18:52:07]
zsh sets mode: +v on Vexaton
L1222[18:54:01]
⇦ Quits: Vexatos
(~Vexatos@port-92-192-32-150.dynamic.as20676.net) (Ping timeout:
204 seconds)
L1223[18:55:14] <Ginkeo> so i did a
sepreat test and turns out it is throwing an error at me trying to
concat a nil
L1224[18:55:40] <Ginkeo> how do i put the
firs value into the string then?
L1225[18:56:53] <Ginkeo> never mind got
it
L1226[18:56:54] <Ginkeo> thanks
L1227[18:58:52] <Michiyo> Nice
L1228[19:10:45] <Ginkeo> the keyboard api
is not giveing me the right thing eather
L1229[19:13:19] <Ginkeo> i want the
accule charitcher like i press a i want to see "a"
L1230[19:13:38] <Ginkeo> however this is
working better the before so thank you
L1231[19:13:49] <Michiyo> As I walked in
this morning I was handed basically 1/2-2/3 of my co-workers
workload.. so my availability for assistance is roughly -28
L1232[19:15:11] <Michiyo> there are 2
values returned from a key_* event, char, and code, both are ids.
the keyboard api wants the code
L1233[19:15:32] <Michiyo> I'm not sure
what the char is honestly :P Like I said I've not actually played
MC in close to 2 years at this point
L1234[19:15:55] <Michiyo> I launch MC
when I need to test if my mod compiles/works aaaand that's
basically it anymore.
L1235[19:17:06] <Michiyo> if you run
dmesg on the computer, and hit keys you'll see the events, and what
the data they contain is
L1236[19:19:09] <Ginkeo> ok i figgured
sothing out.
L1237[19:19:20] <Ginkeo> thank you very
much for everything
L1238[19:21:48] <Michiyo> Np, sorry I
wasn't able to give concrete or even really helpful advice :P
L1239[19:22:00] <Michiyo> I've forgotten
a lot from lack of use
L1240[19:28:42] <Ginkeo> no you advice
was verry useful
L1241[19:29:13] <Ginkeo> my program went
form not working to working thanks to you.
L1242[19:38:28]
⇦ Quits: Ginkeo
(~Ginkeo@2001-48F8-1006-B42-4868-9870-9936-DAF0-static.midco.net)
(Quit: Leaving)
L1243[19:41:11]
⇨ Joins: Backslash
(~Backslash@d137-186-220-152.abhsia.telus.net)
L1244[20:03:13]
⇨ Joins: ben_mkiv (~ben_mkiv@88.130.157.20)
L1245[20:23:57]
⇦ Quits: Vaur (~vaur@56.ip-149-202-44.eu) (Ping timeout: 204
seconds)
L1246[20:27:03]
⇨ Joins: Vaur (~vaur@56.ip-149-202-44.eu)
L1247[21:29:21]
⇦ Quits: MajGenRelativity
(~MajGenRel@c-73-123-203-209.hsd1.ma.comcast.net) (Quit:
Leaving)
L1248[22:46:19]
⇦ Quits: ben_mkiv (~ben_mkiv@88.130.157.20) (Ping timeout:
202 seconds)
L1249[22:49:44]
⇨ Joins: MajGenRelativity
(~MajGenRel@c-73-123-203-209.hsd1.ma.comcast.net)