<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:01:16] <Izaya> well, kinda
L2[00:01:17] <Xal> coderboy14: you have a
tier 3?
L3[00:01:25] <coderboy14> Yes, Xal.
L4[00:01:55] <Izaya> I think you need to
generate a keypair for each, generate a shared key on either end,
then use encrypt( with the shared key
L5[00:02:00] <Izaya> Not 100% sure
though.
L6[00:02:04] <Xal> pub, priv =
generateKeyPair()
L7[00:02:43] <Xal> and then you can generate
a shared secret with ecdh
L8[00:02:54] <Xal> coderboy14: are you
familiar with ElGamal?
L9[00:03:15] <coderboy14> I know that part.
I know how to get kays and whatnot. I have them generated both
client and server, and even had them exchange keys during my
handshake. I just now need to encrypt and decrypt. Okay, but what
do I do with that shared-secrete. No, I am not.
L10[00:03:43] <Xal> basically, if you have
a private key and a public key, you can get a shared secret
key
L11[00:04:14] <Xal> so have the client and
server exchange keys, and then ecdh(clientpriv, serverpub) will be
exactly the same as ecdh(serverpriv, clientpub)
L12[00:04:21] <Xal> now each side has a
shared secret
L13[00:04:31] <Xal> encrypt your messages
with encrypt(data, shared, iv)
L14[00:04:53] <coderboy14> Okay. Thank you!
Now I can compleate my VPN and banking system. :)
L15[00:05:45] <Xal> do you know what an iv
is?
L16[00:06:17] <Xal> it's ultra-important
that it's randomized
L17[00:07:06] <coderboy14> Not entirely.
What is it, and how do I generate/use it?
L18[00:08:05] <Xal> so, if you encrypt two
messages with the same key, you'll get the same ciphertext,
right
L19[00:08:26] <Xal> an attack can find
messages that have the same ciphertext and see "oh, those
messages are exactly the same!"
L20[00:08:34] <Xal> that gives him
important information regarding your communications
L21[00:08:44] <coderboy14> Yah. So, I'm
guessing that's like the salt. Then do I do asymetrix generation,
using some kind of tick based value?
L22[00:08:59] <coderboy14> Or should I have
one send it to the other?
L23[00:09:00] <Xal> nope, the data card has
a random(len) function
L24[00:09:04] <coderboy14> Ah.
L25[00:09:10] <Xal> add an IV to every
message
L26[00:09:17] <Xal> so that no two messages
will have the same ciphertext
L27[00:09:23] <Xal> the IV can be sent in
plain text
L28[00:09:36] <coderboy14> But, do I need
to transmit that IV value, and if so, how. I can't encode the IV
into the encrypted message, because I need it to decode.
L29[00:09:59] <Xal> just prepend the IV to
your message
L30[00:10:09] <Xal> it shouldn't be
encrypted, because you can't decrypt the message without the
IV
L31[00:11:21] <coderboy14> I may just
generate one IV per session, or, do something like this: have a
default IV, preknown on client and server, like "1234".
Use that to encrypt and send a new encoded IV for the session,
using the preknown IV to decode it, and using that IV for later
transmissions.
L32[00:12:19] <Xal> coderboy14: for this to
be effective you have to use a new IV every message
L33[00:12:26] <Xal> don't ever encrypt your
IV
L34[00:12:35] <Xal> it's safe to send the
IV over plain text with every message
L35[00:12:51] <Xal> generate a new IV,
encrypt your message with it, and then send the IV + the encrypted
message
L36[00:13:03] <Xal> just make sure the IV
changes every message
L37[00:15:43] <coderboy14> Okay? If the
point is to prevent brute-forcing the message content, then why
send it cleartext. You could then steal the IV for the message, by
logging the network, and later brute-forcing it. And why not
encrypt it. Yes, you could potentially brute-force the default
encryption, but since I only use that to generate the sessions IV,
and later use that, wouldn't that be less of a security risk,
because the IV is never technically sent
L39[00:22:02] <S3> I didn't read anything
yet
L40[00:22:12] <S3> but the moment somebody
is near your machine physically
L41[00:22:18] <S3> there's no security
anymore
L42[00:22:34] <S3> why bother
L43[00:23:03] <S3> I think security is
useless
L44[00:23:29] <S3> afyer all, there is no
security in obscurity
L45[00:23:33] <coderboy14> What if you're
using a tablet, or if your alone in the building. Besides, it's
mostly to help on the "internet".
L46[00:24:13] <S3> What does being alone in
a building have to do with anything
L47[00:24:31] <Xal> coderboy14: it's not to
prevent brute forcing
L48[00:24:40] <Xal> it's to prevent you
from correlating identical messages with each other
L49[00:24:49] <Xal> it's supposed to be
sent in the clear
L50[00:25:11] <Xal> because the key is
still required to encrypt, having the IV for a message doesn't net
you anything
L51[00:25:18] <Xal> it's intended to be
public knowledge
L52[00:25:25] <S3> Also, if somebody thinks
that I am going to use some sort of device they call a tablet, they
are very wrong.
L53[00:25:44] <coderboy14> Then nobody can
see your screen, since that's whawt I'm assuming you're talking
about. Then they can't watching you stuff. @Xal, oh. Yes, that is
what I was saying. Using a loop, generating random messges,
checking them aginst the logged messaged, untill the message you
generated and encoded are both equal. Oh. Hmm.
L54[00:27:17] <S3> My screens have nothing
to hide...
L55[00:28:50] <S3> Could care less about
that. However, I would give a great applause if somebody managed to
do that. I know how somebody could, and I would congratulate their
effort at that point.
L56[00:29:09] <Xal> coderboy14: I don't
quite understand what you're referring to
L57[00:29:33] <S3> coderboy14: you wanna
see my screen?
L58[00:30:34] <coderboy14> With messages.
Okay, here's what I thought you were saying. If you and me were
chatting, and everyne uses the same hash, my message with you of
"hi" would look identical of that with somebody else.
This could allow somebody to cross-check, I.E. brute-force what our
original message content was. S3: what?
L59[00:31:02] <Xal> coderboy14: I'm
confused. This is exactly why you use an IV
L60[00:31:06] ⇦
Quits: coderboy14
(coderboy14!~coderboy1@c-71-58-206-230.hsd1.pa.comcast.net) (Quit:
coderboy14)
L61[00:31:33]
<coderboy14>
Yes. Exactly. I... whatever. lol
L62[00:31:42]
<coderboy14>
I'm starting to get confused now too
L63[00:31:46] <S3> here yo ugo
L65[00:31:53] <S3> here you go*
L66[00:31:59] <S3> my screen
L67[00:32:05] <S3> woops hold on
L68[00:32:16] <S3> lemme get another
one
L69[00:32:26] <Xal> coderboy14: another
potential pitful you may have fallen victim to
L70[00:32:27] <S3> or re-upload
L71[00:32:37] <Xal> coderboy14: how are you
defending against a mitm attack?
L72[00:33:37] <S3> There, this one
works
L74[00:34:03] <S3> Have fun looking at my
screen
L75[00:35:37] <S3> Xal: I think he passed
out
L76[00:35:48]
<coderboy14>
Xal: I am working on a ISP company thingy. There, I provided DNS
like servers. They translate URLs into computer addresses, and they
also are going to list public keys, so when you connect, you send
information immediately via this encoded stream, so that fake
server's wouldn't (likely) have the private key to decode it.
L77[00:36:20] <Xal> corderboy14: what if
someone spoofs the DNS server and gives the user a fake public
key
L78[00:39:19]
<coderboy14>
Well, then I'm not entirely sure. Like, I am working on encrypting
everything. One of the first things I'm working on is WiFi. Your
computers connect to that, it encrypts data and sends it via the
wired connection to the ISP, where they decrypt the content, run it
through the DNS and proxy, and then encrypt it to send back to you.
The encryption information is all going to be stored on a floppy on
your router, with each home having different
L79[00:39:19]
<coderboy14>
keys and IVs
L80[00:39:48] <Xal> coderboy14: look at
creating a PKI
L81[00:39:52]
<coderboy14>
PKI?
L82[00:39:59] <Xal> a public-key
infrastructure
L83[00:40:04] <Xal> basically, there's a
chain of trust
L84[00:40:22] <Xal> so, when a previous
unknown server shows you it's public key, it send it over with a
signature
L85[00:40:25] <Xal> sends*
L86[00:40:43] <Xal> the computer has the
public key for the "certificate authority" hardcoded
in
L87[00:40:59] <Xal> and then servers apply
for a certificate signed by the certificate authority's private
key
L88[00:41:18] <Xal> when a client connects
to an new server, it checks that server's certificate with the CA's
public key
L89[00:41:28] <Xal> and if they don't match
then someone has impersonated that server
L90[00:41:51] <Xal> for example, if you're
connecting to google.com, the CA has only authorized ONE
certificate for google.com
L91[00:41:58] <S3> you should encrypt
things like your medication schedule
L92[00:42:01] <Xal> if a hacker comes along
and tries to intercept google.com and impersonate it
L93[00:42:26] <Xal> the certificate they
present will have to be registred google.com, and therefore the CA
won't sign it because they can't prove they own that server
L95[00:44:13]
<coderboy14>
Oh. Yah, I think I understand what you're talking about. I didn't
know what is what it is called. I work with real servers, so I know
that, I just didn't know the term for it. Isn't that kinda what I'm
doing at my ISP. In my DNS, I have the public key of the server, so
the client automatically is encrypting for the real server, I could
have it send an signature message back, verify that against the
records, but wouldn't they already been
L96[00:44:14]
<coderboy14>
verified as the legitimate server?
L97[00:47:40]
<coderboy14>
Maybe I misunderstood the wiki. I used the generate key-pairs
function, stored it in variable 'keys', but when trying to transmit
this ( keys["ec-private"] ) it's showing up as nil.
L98[00:48:15] ⇨
Joins: Greenphlem
(Greenphlem!uid22276@id-22276.highgate.irccloud.com)
L100[00:53:14] <S3> if a hacker
impersonates google then I want to start typing into it
L101[00:54:33] <S3> if they deliver some
other website
L102[00:54:58] <S3> then we can have some
fun by making a lot... a LOT of requests
L103[00:55:44] <Xal> coderboy14, the
function returns a tuple
L104[00:55:46] <Xal> use it like
this
L105[00:55:56] <Xal> public, private =
generateKeyPair()
L106[00:56:38]
<coderboy14>
Oh. Okay, thanks. lol.
L107[00:57:15] <Xal> no problem, ping me
if you have any more crypto-related questions!
L108[00:59:32]
<coderboy14>
How do you ping?
L109[01:00:48] <Xal> just put Xal in a
message and it'll notify me
L110[01:02:55]
<coderboy14>
Ah. Well, Xal, how do I serialise and reverse that? I think I could
serialise it ( looked like a bunch of gibberish and corrupted
characters ), but I need to serialise it to send to the client, but
I'm not sure what to put for the "type" argument for
deserializeKey(contentSendToMe,"?????")
L111[01:03:52] <Xal> you just do
key.serialize() to serialize
L112[01:04:11] <Xal> and then to
deserialize, use deserializeKey(data, "ec-public") for a
public key
L113[01:04:32]
<coderboy14>
Ahhhh. Thank you. I was right on serialising. :D.
L114[01:04:41] <Xal> ideally you should
never be sending a private key anywhere, but you can deserialize
those with deserializeKey(data, "ec-private")
L115[01:10:20]
<coderboy14>
Yah. I don't plan on doing anything, then at most, allowing a
client to cache them on their localsystem. So if I created some
sort of SSH software, I could authenticate based on keys. Xal,
question. I have a program line [ m.send(client, 6242,
data.encrypt( newSalt, shared, iv ) ) ], but it's not working,
saying "Expected a 128-bit AES key:"
L116[01:14:51] <Xal> in order to use
data.encrypt, you need a key that's 128 bits long
L117[01:15:35] <Xal> let me double check
how long the output of ecdh is
L118[01:15:47]
<coderboy14>
I do, I think. IV is generated by [ iv = data.random(128) ], shared
is from the [ ecdh ].
L119[01:16:24] <Xal> could you tell me
what the length of your shared secret is?
L120[01:17:07]
<coderboy14>
... It says 48, but I didn't see an argument to specify
length.
L121[01:17:22] <Xal> yeah, ecdh produces a
smaller shared secret than AES wants
L122[01:17:35] <Xal> so you'll have to
derive a key from the shared secret using a key-derivation
algorithm
L123[01:17:43]
<coderboy14>
... what? ...
L124[01:17:58] ⇦
Quits: Arimil (Arimil!~Renari@24.229.185.155.res-cmts.sm.ptd.net)
(Read error: -0x1: UNKNOWN ERROR CODE (0001))
L125[01:18:14] <Xal> basically, our source
of randomness is 48 bytes long, but AES (data.encrypt) needs a key
that is 16 bytes long
L126[01:18:14]
⇨ Joins: Arimil
(Arimil!~Renari@24.229.185.155.res-cmts.sm.ptd.net)
L127[01:18:20] <Xal> you can use data.md5
for this purpose
L128[01:18:26] <Xal> sorry
L129[01:18:28] <Xal> use data.sha256
L131[01:18:56] <Xal> actually use
md5
L132[01:18:59] <Xal> sorry for being
unsure
L133[01:19:05]
<coderboy14>
Okay. MD%
L134[01:19:26] <Xal> MD5 is a hash
algorithm that will produce an output 16 bytes long from a longer
input
L135[01:19:44] <Xal> just set key =
data.md5(shared)
L136[01:19:47] <Xal> and then encrypt
using that key
L137[01:21:32]
<coderboy14>
Now it says the length is 16, and it's now saying "Expected a
128-bit AES IV". For the IV, I generated it with
(data.random(128)) so what's the prob?
L138[01:22:46] <Xal> yeah I think
data.random take the length in bytes
L139[01:22:55] <Xal> do
data.random(16)
L140[01:23:43]
<coderboy14>
Thank you. That fixed the server, now I gotta see what's going
wrong on the client, and/or the communication between. lol.
L142[01:49:16] <Xal> coderboy14: could you
try printing out the value of "noinoi"
L143[01:49:59]
<coderboy14>
The line that says "MSG RCVD:vpnlookup" is the output of
"noinoi"
L144[01:50:34] <Xal> aha, I know the
problem
L145[01:50:46] <Xal> you've got the
srguments of deserializeKey reversed
L146[01:50:50] <Xal> that may be my
fault
L147[01:51:10] <Xal> or do you...?
L148[01:51:24]
<coderboy14>
No, because it works on the client the same way.
L149[01:51:29] <Xal> nevermind, you
don't
L150[01:51:44] <Xal> so for some reason
you're getting "vpnlookup" instead of a public key
L151[01:51:52]
<coderboy14>
Yah, the client get's the server's info, but the server isn't
getting it. Yah, strange.
L153[01:52:31] <Xal> you might want to tag
your modem messages with some sort of type
L154[01:52:39]
<coderboy14>
What?
L155[01:53:03] <Xal> right now you receive
the "vpnlookup" message, and then immediate poll for the
next message
L156[01:53:14] <Xal> what if you get a
different message in between the two
L157[01:54:10]
<coderboy14>
They're supposed to be one after another, the first message is just
supposed to say "Hello! I am a server, let's talk"
L158[01:54:45]
<coderboy14>
printing it out says "vpnfound", I.E the "I'm a
server" message.
L159[01:54:57] <Xal> you can't rely on
that behaviour though; something weird is happening
L160[01:55:11] <Xal> if another client
broadcasts "vpnfound" it could interrupt your
handshake
L161[01:56:05]
<coderboy14>
Yah, I can't figure it the heck out. Right now there's only two
clients, but I figured I would add some filter to make sure it's
talking to the right user by checking the [FROM] property, but I
just wanted this to work before I start adding more places
something can go wrong.
L162[01:56:16]
<coderboy14>
I mean one client, one server.
L163[02:00:01] <Xal> your network may be
relaying messages more than once?
L164[02:00:23] <Xal> you really shouldn't
be relying on those messages coming one after another though
L165[02:03:14]
⇨ Joins: Saphire-Matrix
(Saphire-Matrix!~saphirema@2001:470:1af1:107::126)
L166[02:03:36] <Saphire> Meh
L167[02:04:25]
⇨ Joins: Saphire-Matrix
(Saphire-Matrix!~saphirema@2001:470:1af1:107::126)
L168[02:05:24] <Saphire-Matrix> Test
test?
L169[02:05:57] <Saphire> This is quite a
huge ping :c
L170[02:06:02] <Saphire-Matrix> Hmm
L171[02:07:02]
<coderboy14>
Growl. Guess I'll have to redo the system tomorrow, Xal. I need to
sleep tho. Sigh, thought it was FINALLY working.
L172[02:07:50] <Saphire-Matrix> Welp.
Matrix is... Interesting
L173[02:08:09] <Saphire-Matrix> Though the
IRC ping time is almost a minute
L174[02:08:22] <Saphire> Actually closer
to 15 seconds. Meh
L175[02:22:43]
⇨ Joins: ben_mkiv
(ben_mkiv!~ben_mkiv@p4FED5EB6.dip0.t-ipconnect.de)
L176[02:25:46] ***
andreww is now known as xarses
L177[02:25:48] <xarses> .
L178[02:26:29]
<TheFox>
@coderboy14 Line 12, vpn.client.
L179[02:26:34]
<TheFox>
Unless I'm missing something.
L180[02:26:42]
<TheFox> I
do believe you're one number too great
L181[02:27:45]
<coderboy14>
@TheFox no. The client listens on a different port then the
server.
L182[02:28:11]
<TheFox>
Yeah, my bad, just as you send that I realized that you did
actually send on **42 in the server code
L183[02:28:22]
<TheFox>
I'll continue to look through this, sorry about that, lol.
L184[02:28:57]
<coderboy14>
It’s Kay. I might just have to completely rewrite it tomorrow. Fml,
lol.
L185[02:29:22] <Saphire-Matrix>
Hmm..
L186[02:29:23]
<TheFox> I
had a similar issue once, when I was working on something actually
somewhat just like this.
L187[02:29:29]
<TheFox> I
cannot remember what the hell I did wrong
L188[02:29:34]
<TheFox> but
I felt so stupid for it.
L189[02:29:47]
<TheFox> I
think Gamax was the one that pointed it out
L190[02:29:54] <Saphire-Matrix> flops
around
L191[02:30:05] <Saphire> ... Whoa, it does
italics
L192[02:30:29] *
Saphire-Matrix flops!
L193[02:30:35] <Saphire> ...huh
L194[02:30:38]
<TheFox> I
just see the imfamous missing character block
L195[02:30:43]
<TheFox> oh,
but now I see italics!
L196[02:30:58] <Saphire> Hmm?
L197[02:30:59] ⇦
Quits: Saphire-Matrix
(Saphire-Matrix!~saphirema@2001:470:1af1:107::126) (Quit: issued
!quit command)
L200[02:34:08]
<TheFox>
fancy
L203[02:36:12]
<TheFox> now
call me crazy, I've been up for 48 or so hours and I'm starting to
lose it
L204[02:36:29]
<TheFox> but
I think ... just a guess. that the key should be equal on both
sides for decryption to be successful.
L205[02:36:54]
<TheFox> and
that a missing md5 hash may just cause unequal keys
L206[02:37:29] <ben_mkiv> idk what you are
doing
L207[02:37:47] <ben_mkiv> but there is
crypto which uses a public key to encrypt and a private key to
decrypt
L208[02:37:56] <ben_mkiv> so depending on
what you do, they may differ
L209[02:38:08]
<TheFox> I
know about async encryption
L210[02:38:23]
<TheFox> but
once you put the public and private key together, whatever you do
to one side you must do to the other.
L211[02:38:51]
<TheFox> So
if you MD5 hash on one client, but not the other, the messages are
not encrypted with the same key.
L212[02:39:32] <ben_mkiv> idk why and what
you want to hash
L213[02:39:50]
<TheFox> I'm
not hashing, I'm taking a look at code submitted earlier that's not
working properly
L214[02:40:07]
<TheFox>
They're hashing the shared key of ECDH on one side, but not the
other.
L215[02:40:13]
<TheFox>
Then using the hashed key for encryption.
L216[02:40:24] <ben_mkiv> that sounds like
it wouldnt work at all
L217[02:40:33]
<TheFox>
Yup.
L218[02:40:36]
<TheFox>
That's the issue
L220[02:41:01]
<TheFox> Ok,
hopefully this will be the last time I ping you
L223[02:42:52]
<TheFox> If
this isn't it, I'm going to call it for the night... and let you
have your fun in the morning.
L224[02:43:44] <Xal> that feeling when you
fix a shift-reduce conflict in your parser that's been causing
weirdness for hours
L225[02:43:50] <Xal> yesss
L226[02:44:02] ⇦
Quits: Thutmose (Thutmose!~Patrick@host-69-59-79-123.nctv.com)
(Quit: Leaving.)
L227[02:44:16]
<TheFox>
*shifts Xal*
L228[02:44:47] *
Xal reduces by rule 7
L229[02:47:29] <asie> 1/buffer 51
L230[02:57:52] ⇦
Quits: Greenphlem
(Greenphlem!uid22276@id-22276.highgate.irccloud.com) (Quit:
Connection closed for inactivity)
L231[03:09:24] <Izaya> Do I care enough to
patch this to work properly on high-res screens? :|
L232[03:18:26] <Izaya> Well that was
easy.
L233[03:23:49] ⇦
Quits: ben_mkiv (ben_mkiv!~ben_mkiv@p4FED5EB6.dip0.t-ipconnect.de)
(Ping timeout: 383 seconds)
L234[04:03:47]
⇨ Joins: ben_mkiv
(ben_mkiv!~ben_mkiv@p4FED5EB6.dip0.t-ipconnect.de)
L235[04:37:00] ⇦
Quits: erratic (erratic!erratic@shells.yourstruly.sx) (Ping
timeout: 182 seconds)
L236[05:03:28]
⇨ Joins: Vexatos
(Vexatos!~Vexatos@p200300556E187E01559CA5C7C43C9221.dip0.t-ipconnect.de)
L237[05:03:28]
zsh sets mode: +v on Vexatos
L238[06:31:24]
⇨ Joins: Turtle
(Turtle!~SentientT@ip5657cbb2.direct-adsl.nl)
L239[06:51:12]
⇨ Joins: Inari
(Inari!~Pinkishu@p5dec6653.dip0.t-ipconnect.de)
L240[06:51:22] <Inari> I hath tells
L241[06:51:37] <Inari> AmandaC: Haha
L243[08:12:25] <S3> payonel: going to try
something crazy :D
L244[08:12:33] <S3> with ocvm
L245[08:13:30]
⇨ Joins: SuperCoder79
(SuperCoder79!uid276919@id-276919.tooting.irccloud.com)
L246[08:33:49] <Inari> Today's lessons:
Ice is nice. Bark is dark.
L247[08:34:31] <Izaya> ice is nice indeed,
otherwise your drinks would go warm
L248[08:35:07] <S3> Just live in a colder
place
L249[08:35:36] <Izaya> then you can't
drink cold things
L250[08:35:41] <S3> I had to look, it's
really warm out
L251[08:35:56] <S3> Izaya: I drink water
as cold as i can get it when it's super cold here
L252[08:36:11] <Izaya> yeah well you're
from there
L254[08:36:23] <S3> it's 35 F right
now
L255[08:36:27] <S3> so it's actually
really warm
L257[08:37:20] *
CompanionCube doesn't use much ice in drinks...but this is the
UK
L258[08:37:50] <Izaya> >really
warm
L259[08:37:57] <S3> Ice has not yet been
invented in the UK
L260[08:38:06] <Izaya> that's 18 degrees
below the point where I die
L262[08:38:22] <Skye> doesn't S3 live in
Maine
L263[08:38:58] <S3> Izaya: it gets -20
here with -40 wind chills
L264[08:39:12] <S3> I use to wait for the
bus in the dark in that
L265[08:39:14] <Izaya> this is why I don't
live there, aside from all the other reasons
L266[08:39:18] <S3> at like 6 am
L267[08:40:23] <CompanionCube> S3: ice has
very much been invented
L270[08:41:14] <S3> That was taken
here
L271[08:41:22] <Izaya> no
L272[08:41:23] <Izaya> never
L273[08:41:44] <Izaya> the ground should
not be white unless you're at a dry lake or similar
L274[08:41:46] <S3> It's fun
L275[08:41:47] *
CompanionCube would think 2C is a bit chilly
L276[08:41:53] <S3> That's not even
snow
L277[08:41:57] <S3> that whole road is a
solid sheet of ice
L278[08:42:00] <Skye> S3, dear god that's
black ice
L280[08:42:21] <Skye> just
L282[08:42:28] <Izaya> I'm thinking
considering the recent changes in weather I should move north or
west
L283[08:42:31] <Izaya> to a warmer
climate
L284[08:42:43] <Izaya> it gets to 0C in
winter here :<
L285[08:42:48] <S3> Skye: Well... black
ice is when the light hits it in the way that the road looks dry
and the ice is invisible
L286[08:42:51] <S3> we have LOTS of
that
L287[08:42:58] <CompanionCube> why
L288[08:43:00] *
Skye shudders
L289[08:43:00] <CompanionCube> just
wh
L290[08:43:14] <Skye> fun fact
L291[08:43:18] <Skye> when it was snowing
in the UK
L292[08:43:21] <Skye> the trains were
fine
L294[08:43:29] <Skye> the points
(switches)
L295[08:43:34] <Skye> were not
L296[08:43:38]
<MGR> Asus
just shipped me out a damaged motherboard
L297[08:43:42] <Skye> so trains didn't
run
L298[08:43:49] <Skye> literally because
points froze
L299[08:44:15] <Izaya> should've had
someone lay on them to warm them up
L300[08:44:21]
<MGR> And I
was having a minor freakout due to potentially slightly bending
some of the CPU pins, and then I realized one whole corner of the
board was crushed in, with the front panel header pins all bent and
the BIOS switch button literally ripped off the motherboard
L301[08:44:46] <Skye> I went on automatic
trains
L303[08:45:08] <CompanionCube> MGR: should
be an easy RMA then?
L305[08:46:00] <Skye> oooh
L306[08:46:11] <S3> sometimes, the ice is
so smooth that it covers the entire road over 1/8th of an inch
thick in a very smooth manner. I once was in the car, and we
started driving up a hill
L307[08:46:20] <S3> and we made it almost
to the top and started slipping backwards
L308[08:46:38] <Skye> oh eeeek
L309[08:46:42] <S3> and we were stuck on
that hill for an hour or two waiting for the day to warm up 1 or 2
degrees
L310[08:46:47] <S3> so we could get some
traction
L311[08:46:55]
<MGR>
CompanionCube, *should be*, but this will be the 4th time I sent my
motherboard back
L312[08:47:07] <CompanionCube> why are you
so unlucky
L313[08:47:10]
⇨ Joins: MajGenRelativity
(MajGenRelativity!uid288574@id-288574.hathersage.irccloud.com)
L314[08:47:16]
<MGR> The
first two times they didn't want to replace it
L315[08:47:28]
<MGR> The
third time, they charged me $130 to replace it after they bent my
CPU pins
L316[08:47:38]
<MGR> It's
been 2 months without my desktop
L317[08:47:53] <S3> its been like 4 years
without mine
L318[08:47:55] <Izaya> can I suggest
trying another brand
L319[08:48:33]
<MGR> Izaya,
yeah, but the equivalent costs $600
L320[08:48:40] <Izaya> ouch
L321[08:48:51]
<MGR> So I
want to get this one fixed, but I'm not buying another Asus
motherboard for a while
L322[08:49:01] <Izaya> you got some crazy
dual processor ECC RAM 4 way SLI monster going or something?
L323[08:49:26]
<MGR> Asus
Rampage V Edition 10
L324[08:49:34]
<MGR> 4 way
SLI yes, dual CPU no, no ECC
L325[08:49:37]
<coderboy14>
I just got on. Uhh... TheFox's fix doesn't work. lol. He was
talking about how I need to hash the shared key, but I can't even
generated the shared key on the server.
L326[08:49:55]
<MGR> But it
has 22 USB ports XD
L327[08:50:17] <Izaya> 22?
L328[08:50:34] <Izaya> I mean, I kinda
want 22, but I can't think of much practical use for that
many.
L329[08:50:57]
<MGR> I'd
trade 10 of those for a second M.2 slot
L330[08:51:30] <Izaya> I spent a whole
$130 on a board with SLI support for two cards, 4 normal RAM slots
and a few normal PCI slots to spare
L331[08:52:02]
<MGR> PCI
doesn't hold much use for me
L332[08:52:09]
<MGR> But 4
full length PCIe slots are great
L333[08:52:17] <Izaya> I have a bunch of
fun cards that are PCI
L334[08:52:19]
<MGR> I plan
to add an Optane drive and 10Gig NIC in the future
L335[08:52:36] <Izaya> unfortunately PCI-X
is nigh impossible to get in modern boards so my SCSI card is
limited to PCI speeds
L336[08:53:17]
<MGR> They
don't make PCIe SCSI cards?
L337[08:53:23]
<MGR>
?
L338[08:53:34] <Izaya> they probably do,
but I don't have one
L339[08:53:39]
<MGR>
Ah
L340[08:53:51]
<MGR> PCI-X
is pretty rare because it was mainly used in servers, and not for a
terribly long time
L341[08:54:00] <Izaya> and I doubt they'd
support the connectors either
L342[08:54:08] <Izaya> and how else would
I run my jet engine 15kRPM drives?
L343[08:54:15]
<MGR> SSD
?
L344[08:54:32] <Izaya> that's not running
my jet engine 15kRPM drives
L345[08:54:34] <Izaya> that's replacing
them
L346[08:54:48]
<MGR> You
might want to do that ?
L347[08:54:52] <cloakable> ^
L348[08:55:07] <Izaya> yeah probably
L349[08:55:08] <Izaya> no fun though
L350[08:55:19] <Izaya> I get more fun out
of old hardware than new hardware tbh
L351[08:56:00] <Izaya> would you believe I
have a box where the hardware RAID controller is worthwhile?
L352[08:56:32] <Izaya> I'd prefer to keep
as much load off the dual P3s as possible so offloading all of that
onto the RAID controller is nice if less flexible
L353[08:56:50] <Izaya> mdadm or zfs >
hardware RAID in most cases but eh, I'll live
L354[08:59:48] <CompanionCube> or btrfs
Real Soon Now if that's your thing
L355[09:01:47] <Izaya> apparently
everything but RAID6 is stable nowdays
L356[09:01:50] <Izaya> not quite game to
try it yet
L357[09:01:54] <CompanionCube> even
RAID5?
L358[09:02:02] <CompanionCube> I know
RAID1's been stable for a good while.
L359[09:03:02] <Izaya> I hear 5 is
stable
L360[09:03:16] <Izaya> can't remember
whether it was 6 or 10 that was still unstable
L361[09:03:22] <Izaya> neither make much
sense so
L362[09:06:21] <CompanionCube> RAID10
doesn't make much sense? lolwut?
L363[09:06:33] <Izaya> no I mean
L364[09:06:36] <Izaya> for it to be
unstable
L365[09:06:38] <CompanionCube> ah
L366[09:10:15] *
CompanionCube just avoids encryption, even when using a build from
git
L367[09:15:00] ⇦
Quits: Icedream (Icedream!~icedream@has.streaminginter.net) (Quit:
A lol made me boom.)
L368[09:48:33]
⇨ Joins: Icedream
(Icedream!~icedream@has.streaminginter.net)
L369[09:49:57]
<coderboy14>
How to your require custom made libs? I created a library, and now
I need my software to use it, they're in the same DIR, but the
require func isn't working
L370[09:51:04]
<Wuerfel_21>
Put it in /usr/lib
L371[09:52:43]
<coderboy14>
I was hoping not to do that. The package is currently on a shared
RAID, and multiple devices will be using this beta library.
Ugh!
L372[09:59:23]
⇨ Joins: Nathan1852
(Nathan1852!~Nathan185@HSI-KBW-109-192-132-246.hsi6.kabel-badenwuerttemberg.de)
L373[09:59:32] ⇦
Quits: Nathan1852
(Nathan1852!~Nathan185@HSI-KBW-109-192-132-246.hsi6.kabel-badenwuerttemberg.de)
(Client Quit)
L374[10:00:17]
⇨ Joins: Nathan1852
(Nathan1852!~Nathan185@HSI-KBW-109-192-132-246.hsi6.kabel-badenwuerttemberg.de)
L375[10:05:05]
⇨ Joins: MaximoTG98
(MaximoTG98!webchat@30.red-88-23-91.staticip.rima-tde.net)
L376[10:06:22]
⇨ Joins: BearishMushroom
(BearishMushroom!~BearishMu@82-209-154-59.cust.bredband2.com)
L377[10:06:27]
<Wuerfel_21>
You can also modify the library path
L378[10:06:36]
<Wuerfel_21>
Somehow
L379[10:06:51]
<Wuerfel_21>
I think it is an envirovment variable?
L380[10:10:29] ⇦
Quits: MaximoTG98
(MaximoTG98!webchat@30.red-88-23-91.staticip.rima-tde.net) (Ping
timeout: 180 seconds)
L381[10:28:45] ⇦
Quits: Turtle (Turtle!~SentientT@ip5657cbb2.direct-adsl.nl) (Ping
timeout: 198 seconds)
L382[10:30:06]
⇨ Joins: Turtle
(Turtle!~SentientT@ip5657cbb2.direct-adsl.nl)
L383[10:30:20] ⇦
Quits: Turtle (Turtle!~SentientT@ip5657cbb2.direct-adsl.nl) (Client
Quit)
L384[10:35:05]
⇨ Joins: Cervator
(Cervator!~Thunderbi@2601:4c1:4001:1d5d:7439:c4a6:44f3:eab)
L385[10:35:07] ⇦
Quits: Nathan1852
(Nathan1852!~Nathan185@HSI-KBW-109-192-132-246.hsi6.kabel-badenwuerttemberg.de)
(Quit: Bye :))
L386[10:43:31] <AmandaC> /home/lib also
works
L387[10:43:59] <AmandaC> or a directory
called 'lib' on a floppy disk
L388[10:48:01]
<Sparky>
Would any one help me write a function?
L392[11:16:33] <AmandaC> Inari: run!
L393[11:43:16]
<HypersMC>
Hi
L394[11:43:35]
<HypersMC>
can i ask why this wont do anything at all
L396[11:43:42]
<HypersMC>
does not output
L397[11:43:44]
<HypersMC>
the mj
L398[11:48:40]
<Forecaster>
try putting a cable or something inbetween
L399[11:49:29]
<HypersMC> i
did
L400[11:49:31]
<HypersMC>
wont connect
L401[11:49:41]
<Forecaster>
did you try with the case directly?
L402[11:50:54]
<HypersMC>
no
L403[11:52:28]
<HypersMC>
wont work either
L404[11:52:46]
<Forecaster>
then I guess MJ isn't supported in the version you're using
L405[11:54:13]
<HypersMC>
1.12.2
L406[11:54:21]
<HypersMC>
newest of every mod
L407[12:01:14] <AmandaC> what code are you
running?
L408[12:01:18] <AmandaC> @HypersMC ^
L409[12:02:02]
<HypersMC>
wut`
L410[12:02:57] <AmandaC> @HypersMC What
code are you running to get the mj
L411[12:03:08]
<HypersMC>
code in the mj?
L412[12:03:19]
<Forecaster>
they are trying to power the computer...
L413[12:03:29] <AmandaC> oh
L414[12:03:35]
<HypersMC>
defuq?
L415[12:03:42]
<HypersMC>
bot typing
L416[12:03:42] <AmandaC> I thought that
was an adapter next to the engine
L417[12:03:58] <Inari> @HypersMC Thats a
bridge to IRC :P
L418[12:03:58]
<Forecaster>
it's a power converter thingy
L419[12:04:04] <AmandaC> ah
L420[12:04:20]
<HypersMC>
im trying to use BC engine (MJ power) to use the computer
L421[12:04:28]
<HypersMC>
with the adapter
L422[12:04:40] <Inari> *the power
converter
L423[12:04:45]
<HypersMC>
yep
L424[12:04:52] <Inari> Adapter is
something else :D
L425[12:05:09]
<HypersMC> i
ment power converter
L426[12:05:10]
<HypersMC>
xD
L428[12:05:54]
<HypersMC>
that it dosen't see BC
L429[12:05:55] <Inari> But yeah, no clue.
Might be that MJ isn't supported on that version. Not sure who
would know more, maybe payonel ?
L430[12:06:58]
<Forecaster>
That's what I said
L431[12:08:00] <Inari> Yeah
L432[12:08:12] <Inari> %pet AmandaC
L433[12:08:12] *
MichiBot brushes AmandaC with a gramophobe. AmandaC recovers 6
health!
L434[12:15:37]
<TheFox> Did
someone say pet?
L435[12:15:55]
<TheFox> :P
?
L436[12:15:59]
⇨ Joins: MaximoTG98
(MaximoTG98!webchat@30.red-88-23-91.staticip.rima-tde.net)
L437[12:16:07]
<coderboy14>
How do I connect my network? I have a local library network, with a
server hosting a resource server. I think it's working, but on the
first floor, I have public computers. To save resources and make
updating easier, I have a shared disk, with the OS on it. The
public computer network is isolate with a power distributor and
relay. I can't attach a PD/Relay to the individual computers,
otherwise they'd be unable to connect to the shared boot
L438[12:16:07]
<coderboy14>
system. However, the monitors keep getting messed up, even though
they're not connected to the network, but connected to the
computer's top, the network onto the bottom. Is what I'm trying to
do possible, or am I missing something.
L441[12:19:27] <Inari> Do you have a
redstone card installed?
L442[12:19:48] <Inari> I can't tell the
cards by icon
L443[12:19:49] <Inari> :D
L444[12:19:52] <MaximoTG98> Yes i
have
L445[12:20:54] <Inari> ~oc component
L447[12:21:08] <MaximoTG98> Oh wait,no i
haven't,i thought i had put one in,well... thanks xD
L448[12:21:27] <Inari> Hm
L449[12:21:29] <Inari> Ah
L450[12:21:30] <Inari> :p
L451[12:25:27] ⇦
Quits: MaximoTG98
(MaximoTG98!webchat@30.red-88-23-91.staticip.rima-tde.net) (Quit:
Web client closed)
L452[12:27:01]
<coderboy14>
Either A) Does anyone know a solution to my problem B) Can somebody
help me with a script to fix that. I haven't programmed for
OpenComputers in a long time, so I'm a bit rusty. Since the
computers can't be directly connected to the disk drive, I then
need to make a NetBoot server. I don't think I ever programmed
EEPROMs, but I need it to be programmed to ask the netboot server
for the OS, store the OS to the local drive ( IF I have to have
a
L453[12:27:01]
<coderboy14>
hard-drive, I'd prefer to run from memory ), then boot to the OS. I
am trying to do it this way, because my library is very huge ( it's
inside of my company office ), and there will be at least 30
computers or so. Having to manually update each computer's OS ( or
if I install a new system-wide software ) would be tedious, and a
lot of room for human error. If anyone can either 1. Point me to
pre-written code 2. Help me at least get the mode
L454[12:27:01]
<coderboy14>
send/listen functionality implemented ( I will cover the talking
back and fourth then ), or 3. Write the code for me ( lol ).
L455[12:56:41]
<coderboy14>
Can computers boot from harddrives in OpenComputers? I copied the
OS to one, but the computer doesn't recognise a bootable medium. Am
I doing something wrong?
L456[12:56:58] <Arcan> Yes, computers can
boot from HDD's in OC.
L457[12:57:01]
<Forecaster>
try just using install?
L458[12:57:03] <Arcan> How do you think
OpenOS works?
L459[13:01:50]
⇨ Joins: gartral|away
(gartral|away!~gartral@162.243.117.98)
L460[13:02:37] ⇦
Quits: gartral (gartral!~gartral@162.243.117.98) (Ping timeout: 182
seconds)
L461[13:05:51] *
Inari is bored
L462[13:06:14]
<coderboy14>
I wasn't sure, because after cloning the contents from the floppy
to the hdd, it wouldn't boot from the hdd. I just ended up having a
disk drive per computer under the floor ( booooo )
L463[13:06:43]
<Forecaster>
what is "the OS"?
L464[13:10:59] <Inari> %fling
L465[13:10:59] *
MichiBot flings storage in a random direction. It hits Patchi on a
body part they didn't even know they had. They take [1]
damage.
L466[13:15:48]
<Forecaster>
%shell
L467[13:15:48] *
MichiBot loads an IBM 5100 into a shell and fires it. It strikes
Thog. They take 12 damage. ashka and TechnicianLP stood too close
and take 8 and 3 splash damage respectively.
L468[13:16:15]
<coderboy14>
Uh... @Forecaster OpenOS. And, umm... How do you read files using
the IO library? I tried doing [ local file =
io.open("file","r") ] then
[file.read("*a")] but it isn't working.
L469[13:16:48] *
payonel notices people talking about openos
L470[13:17:37]
<coderboy14>
lol. I was hoping the reading of a regular file would be easy,
but........ growl. Anyone?
L471[13:18:12] <payonel> S3: crazy thing
with ocvm? what?
L472[13:19:17] <payonel> Inari: MJ
conversion problem? @hypersmc not working with BC? what
versions?
L473[13:19:35] <Inari> [18:54:12]
<+Corded> <HypersMC> 1.12.2
L474[13:19:36] <Inari> [18:54:20]
<+Corded> <HypersMC> newest of every mod
L475[13:19:37] <Inari> Apparently
L476[13:21:27] <payonel> ok thanks
L477[13:23:35]
<Forecaster>
@coderboy14 define reading
L478[13:24:03]
<coderboy14>
I found out the problem, while googling code. I was trying to get
the whole content of a file into a variable, so I may then transmit
it via a network connection.
L480[13:25:05]
<Forecaster>
that's how I do it
L481[13:25:37]
<coderboy14>
Right to get arguments you do [ local args = {...} ]
L482[13:26:19] <payonel> @coderboy14 this
is a super simple one liner to read an entire file:
io.lines(filename, "*a")()
L483[13:26:54]
<coderboy14>
Oh. I did something similar: [ file:read("*a") ]
L484[13:27:05] <payonel> yes, same
ething
L485[13:27:07] <payonel> thing*
L486[13:28:14] <payonel> @coderboy14
packets have a max size, you'll need to partition your data
payloads
L487[13:28:47] <payonel> and just fyi, you
can't expect to partition them exactly to fit, there is some
network packing cost that is somewhat out of your control
L488[13:29:03] <payonel> i would give the
packing a few hundred bytes of wiggle room to be safe
L489[13:29:15]
<coderboy14>
Most of my files are small ( under 100 lines ), but I'll get to
that. I just wanted something pretty simple, because the projects
i've been trying to complete, I failed at. Yah.
L490[13:31:46] <payonel> as a side note,
if your sending 1 argument in a modem_message, and it is a string,
i think the packet cost is like 12 bytes
L491[13:32:13] <payonel> plus the cost of
the sender address, and a port, etc
L492[13:32:18] <payonel> so, not a lot of
cost
L493[13:36:24] <Corded> * <Mimiru>
yawns
L494[13:36:38] <Inari> %pet Mimiru
L495[13:36:38] *
MichiBot pets Mimiru with a lego dais. Mimiru recovers 3 health!,
the lego dais angered a unicorn and was pierced.
L496[13:40:28] <payonel> @Michiru
!!!
L497[13:40:34] <payonel> i...made that
name up
L498[13:40:38] <payonel> @Mimiru!!!
L499[13:40:51]
<Forecaster>
ah yes, the mighty Michiru
L500[13:40:51]
<Mimiru>
o/
L501[13:41:02]
<Forecaster>
the combined form of Mimiru and MichiBot
L502[13:41:03] <payonel> @Mimiru are you
alive?! are you here?!
L503[13:41:20]
<Mimiru> not
so much the first, but mostly the 2nd
L504[13:41:53]
⇨ Joins: Thutmose
(Thutmose!~Patrick@host-69-59-79-123.nctv.com)
L505[13:45:16] ⇦
Quits: BearishMushroom
(BearishMushroom!~BearishMu@82-209-154-59.cust.bredband2.com)
(Quit: Leaving)
L506[13:53:24]
<coderboy14>
In a server rack, there's two wire thingys coming from each server.
What does the small one do? I am trying to have two servers run in
the same rack, but only one of them should be visible via a
terminal, while they both need to connect to the same resources
outside of the server rack.
L507[13:54:40]
<Forecaster>
big one is component connection, small one is network
L508[13:55:18]
<coderboy14>
Crud. So I can't do what I'm trying to do, right?
L509[13:55:28]
⇨ Joins: Wiiplay123
(Wiiplay123!~Wiiplay12@adsl-72-154-26-8.bna.bellsouth.net)
L510[13:55:48] <Vexatos> well, you can,
just connect cables to two sides of the rack
L511[13:56:02]
<Forecaster>
I don't know what you mean by "terminal" or
"resources"
L513[13:56:51] <MichiBot>
Title:
Invalid glyph char code detected in font.hex
| Posted by:
josephcsible
| Posted: Fri Mar 30 21:47:11 CDT 2018
|
Status: closed
L514[13:58:54]
<coderboy14>
I am running a library, and the public computers let you lookup
information. My server handles resolving requests, and all
documents are stored on a RAID. I need one computer to constantly
run the server for clients, and another to let me edit and add
documents. @Vexatos, you can't do that. I tried with other thingys,
since the side's would connect to the same network again, the
terminal would glitch / stop working / show the wrong device.
L515[13:59:04]
<coderboy14>
@Forecaster I am running a library, and the public computers let
you lookup information. My server handles resolving requests, and
all documents are stored on a RAID. I need one computer to
constantly run the server for clients, and another to let me edit
and add documents. @Vexatos, you can't do that. I tried with other
thingys, since the side's would connect to the same network again,
the terminal would glitch / stop working / show the wro
L516[13:59:04]
<coderboy14>
device. [Edited]
L517[13:59:54] <payonel> Skye: we use
java's unicode tochar capabilities
L518[14:00:06] <payonel> which only
supports codepoints <= 0x10000
L519[14:00:26] <Skye> unicode
tochar?
L520[14:00:28] <Skye> uhhh
L521[14:00:33] <Skye> why is it
broken?
L522[14:00:42] <payonel> it's not
broken
L523[14:00:51] <payonel> it just doesn't
support unicode codepoints in the high range
L524[14:01:03] ⇦
Quits: Wiiplay123
(Wiiplay123!~Wiiplay12@adsl-72-154-26-8.bna.bellsouth.net) (Read
error: Connection reset by peer)
L525[14:01:26]
<coderboy14>
I am pretty sure this was ComputerCraft, but can you do multiple
tabs? I need one software to be constantly running ( a server ),
and also be able to via the data directory and modify
content.
L526[14:01:32] <payonel> and i meant <
0x10000, not <=
L527[14:01:38]
⇨ Joins: Wiiplay123
(Wiiplay123!~Wiiplay12@adsl-72-154-26-8.bna.bellsouth.net)
L528[14:02:20]
<Wuerfel_21>
Just make your server a TSR program like in ye olden DOS days
L529[14:03:02] <payonel> codeboy14: i
haven't added tabs to openos, no
L530[14:03:06]
<Wuerfel_21>
Register an event lostener for whatever event your server needs and
then return to the shell
L531[14:03:34] <payonel> but openos does
have event listeners, and threads
L532[14:03:39] <payonel> so multitasking
is quite possible
L533[14:03:49]
<coderboy14>
Huh. I need to be able to access the RAID so I can modify content
without brining down the entire network for 'x' amount of time.
Huh. I didn't know that was possible @Wuerfel_21 I was trying to
use 2 computers, but they can't be on the same network, otherwise
the monitors F each other up.
L534[14:03:57]
<coderboy14>
How would I do that?
L535[14:04:31]
<Wuerfel_21>
Rdgister event listeners and never remove them
L536[14:04:46] <payonel> @codeboy14:
sharing a screen is weird, yes, because i programmed openos to try
to use any available screen
L537[14:04:52]
<Wuerfel_21>
They will continue to exist after your program has finished
running
L538[14:05:45] <payonel> @coderboy14: it's
ALL in the os, you can add to it in user space just fine. you could
program one machine to specifically use a screen, you could program
another to use none
L539[14:06:07] <payonel> @coderboy14: you
can also use a network switch to share network without sharing
components
L540[14:07:11] <payonel> @coderboy14 to
understand more about what @Wuerfel_21 is talking about you should
read about the event api
L541[14:07:15] <payonel> ~w event
L543[14:07:17] <payonel> ^
L544[14:07:18]
<coderboy14>
Payonel: Yah. It is really only a irritating problem when the
monitor isn't connected to the network. Since I computer acts as a
relay of signals ( apparently ) the monitor connected to the
computer is bridged to the main network. Oh, I used to be really
good at this, but I haven't used it in forever. I need some
components to share. For example in my library system, both
computers need access to the same RAID. Is there a WiKi article you
ca
L545[14:07:18]
<coderboy14>
point me to or something @Wuerfel_21
L546[14:07:20]
<coderboy14>
Oh. Thanks ocdoc
L547[14:07:50]
<Forecaster>
ocdoc is a bot
L548[14:08:02]
<coderboy14>
... oh ...
L549[14:08:09]
<coderboy14>
Then thanks payonel.
L550[14:08:11]
<Wuerfel_21>
Robots need thank-yous, too
L551[14:09:54] <payonel> @coderboy14 i
made openos work best in simple setups, it tries to "just
work"
L552[14:10:05]
<coderboy14>
lol.
L553[14:10:13] <payonel> once you step
into more complex setups, you have to tweak things yourself
L554[14:10:56] <payonel> but again, as
others have said, openos runs FULLY in the game world
L555[14:11:06] <payonel> there is nothing
in openos you can't do yourself or change
L556[14:11:28] <payonel> 99% of users
shouldn't need to change openos code
L557[14:11:50] <payonel> they should be
able to add features using start up programs
L558[14:12:29] <payonel> and, 99% is an
understatement
L559[14:12:43] <payonel> probably 99.9999%
of users
L560[14:13:21] <payonel> xarses: o/
L561[14:14:19]
<coderboy14>
I tried using "event.listen" but now my server won't
respond to client requests.
L563[14:14:47] <payonel> @coderboy14 io is
a global library
L564[14:14:57] <payonel> @coderboy14 CORE
Lua libraries are global
L565[14:15:19]
<coderboy14>
... what? ... So I don't need to import it. Either way, it WAS
working, what I used "event.pull", but....
L566[14:15:21] <payonel> io, math, table,
string, print, checkArg, error, select, ...
L567[14:15:32] <payonel> yeah, i'm just
commenting on the first thing i saw
L568[14:15:47] <payonel> @coderboy14 just
think of io as a CORE library, like those i listed
L569[14:15:54] <payonel> you wouldn't
require("math"), right? :)
L570[14:15:57] <payonel> or table
L571[14:16:12] <payonel> libraries you
expect in REAL Lua are in _G
L572[14:16:18] <payonel> and this is
running real lua
L573[14:16:21] <payonel> i mean, in real
life
L574[14:16:40] <payonel> require, even,
doesn't need to be require'd :)
L575[14:16:42]
<coderboy14>
I haven't used this in forever, and I just wanted it to work. I've
played more ComputerCraft then OpenComputer, because I never really
wanted to learn all the APIs and documentations.
L576[14:17:08] <payonel> @codeboy14: i
understand. one big difference is that we try to make your
environment mimic real life lua script environments
L577[14:17:22] <payonel> so we respect the
core libraries, like io
L578[14:17:35]
<Forecaster>
you mean I don't have to local require =
require("require") ?!
L579[14:18:27] <payonel> @forecaster
:)
L580[14:19:19]
<coderboy14>
Not helping.......\
L581[14:19:28] <payonel> @codeboy14 does
it ever print "message received" ?
L582[14:20:13] <payonel> @codeboy14 also,
"r" is implied when the mode is nil
L584[14:21:24]
<Wuerfel_21>
Do you actually send messages over?
L585[14:22:04]
<Wuerfel_21>
Try listening to another event, like the touchscreen ones
L586[14:22:15]
<coderboy14>
Yes. It was all working fine as "event.pull", but now it
won't work as "event.listen"
L587[14:22:28]
<Wuerfel_21>
To narroe rhe problem down
L588[14:23:20]
<coderboy14>
I don't really know any other events, and it's in a server rack so
I don't think touchscreen works ( does it?? ). I posted a
screenshot of my code
L589[14:23:46] <payonel> @codeboy14 the
SCREEN is the touch device, not the case or rack
L590[14:24:27]
<coderboy14>
I thought it was only physical block screens. Oh. Well I have no
clue how to use that anyways.
L592[14:25:13] <payonel> @coderboy14 is
this sp or mp?
L593[14:25:22]
<coderboy14>
... what ...
L594[14:25:32] <payonel> single player or
multi player
L595[14:25:36]
<coderboy14>
Single.
L596[14:25:52]
<coderboy14>
I have LAN open, so that time goes by while I'm AFK, but...
L597[14:26:13] <payonel> ok. i was going
to offer to join and help. that's all
L598[14:27:44]
<coderboy14>
lol. 1. I don't just have CC, I have 49 other mods. 2. I could try
and PF, but... 3. My net is slow in my room. I might just go back
to my old code, and have to shut down the network to update
data.
L599[14:29:49] <payonel> we should have an
oc dev server open to public, with creative mode on, that we
refresh every n hours
L600[14:30:11]
<Wuerfel_21>
Noone has just OC installed...
L601[14:30:41] <payonel> well except for
me :)
L602[14:30:46] <payonel> i have plenty of
test worlds with just oc
L603[14:31:10]
⇨ Joins: payomc
(payomc!~payomc@50-38-39-13.csby.or.frontiernet.net)
L604[14:31:12] ⇦
Quits: payomc (payomc!~payomc@50-38-39-13.csby.or.frontiernet.net)
(Client Quit)
L606[14:32:28]
<FLORANA> i
stand corrected
L607[14:32:53]
<FLORANA>
something in my disk drive next to it became a `Nanorum
ChestPlate`
L608[14:33:35] <payonel> @florana
haha
L609[14:33:35] <payonel> OC:EEPROM >
CustomNPCs:money
L610[14:33:38] <payonel> i like it
L611[14:35:58]
<FLORANA>
yah it's suppost to be 6363 but is 5310 for most stuff
L612[14:36:07]
<FLORANA>
well component stuff
L613[14:39:40]
<Wuerfel_21>
RIP
L614[14:40:17] <payonel> @coderboy14 check
your /tmp/event.log
L615[14:40:25] <payonel> if event
listeners crash, they print errors there
L616[14:41:56]
<FLORANA>
...
L617[14:42:07]
<FLORANA> ok
more then OC stuff got corrupted
L618[14:45:57]
<coderboy14>
I don't know if you mean IG, but my computer IG says that file
exists. IRL, I don't know what file ur talking about, b/c I don't
see it
L619[14:46:07] <payonel> in-game
L620[14:46:15] <payonel> `cat
/tmp/event.log`
L621[14:47:21]
<Wuerfel_21>
`more /tmp/event.log`
L623[14:47:39]
<FLORANA>
whats does the `more` command do?
L624[14:47:48]
<Wuerfel_21>
Print a file
L625[14:47:52]
<Wuerfel_21>
To the screen
L626[14:47:53] <payonel> florana does some
scrolling
L627[14:47:58]
<Wuerfel_21>
Without oberflowing it
L628[14:48:02]
<FLORANA>
?
L629[14:48:10] <payonel> coderboy14: ok,
then the listener didn't crash
L630[14:48:45]
<coderboy14>
I am honestly unsure #wtf is going on, so I was just riding around
in my metro.
L631[14:49:10]
⇨ Joins: MalkContent
(MalkContent!~MalkConte@p4FDCE733.dip0.t-ipconnect.de)
L632[14:53:26] <Inari> ~markov lewd
L633[14:53:26] <ocdoc> I actually
sometimes create 7 TextViews and toggle the visibility of one
person lovingly (and dramatically) attacking another Discord guild
and back a bit white-ish but it has loli mods is so
L634[15:15:09] <Skye> Inari, wat
L636[15:15:46] <Inari> %jumble I actually
sometimes create 7 TextViews and toggle the visibility of one
person lovingly (and dramatically) attacking another Discord guild
and back a bit white-ish but it has loli mods is so
L637[15:15:46] <MichiBot> (and has is bit
lovingly actually TextViews person dramatically) guild and and so
white-ish I sometimes the 7 Discord one it attacking a create but
toggle mods another back visibility of loli
L638[15:34:49] <ben_mkiv> %jumple I don't
know if you mean IG, but my computer IG says that file exists. IRL,
I don't know what file ur talking about, b/c I don't see it
L639[15:34:59] <ben_mkiv> %jumble I don't
know if you mean IG, but my computer IG says that file exists. IRL,
I don't know what file ur talking about, b/c I don't see it
L640[15:35:00] <MichiBot> file says know
IRL, but don't if mean IG about, don't know I that my I it talking
computer don't IG, file ur you I b/c see exists. what
L641[15:35:18] <ben_mkiv> idk which one is
better
L642[15:38:33] <payonel> oh i like this
crash in oc testing i just got
L643[15:38:50] <payonel> "bad
argument #3 (number expected, got number)"
L644[15:40:45]
<Wuerfel_21>
Picky lua
L645[15:41:03] <payonel> this is a fun
one
L646[15:41:13] <payonel> this is a lua 5.3
v 5.2 issue
L647[15:41:38] <payonel> and it only
repro's in-game for me
L648[15:41:47] <payonel> not in my
emulator
L649[15:41:51] <payonel> which...is
annoying
L650[15:53:37] ⇦
Quits: MalkContent
(MalkContent!~MalkConte@p4FDCE733.dip0.t-ipconnect.de) (Quit:
Leaving)
L651[15:55:23] <payonel> @wuerfel_21
unicode.sub doesn't like math.huge
L652[15:55:38] <payonel> in lua 5.3
in-game
L653[15:55:49] <payonel> %lua return
unicode.sub
L654[15:55:49] <MichiBot> main:1: attempt
to index global 'unicode' (a nil value)
L655[15:55:52] <payonel> :/
L656[16:00:39] <payonel> ok cool, there is
only 1 place i use math.huge like that
L657[16:00:51] <payonel> of some 50 places
i use unicode.sub in openos :)
L658[16:02:49] ⇦
Quits: DeGariless
(DeGariless!~DeGariles@174-087-138-238.dhcp.chtrptr.net) (Ping
timeout: 186 seconds)
L660[16:08:04] <MichiBot>
I am the
GLOB-GLO-GAB-GA-LAB | length:
31s | Likes:
36,701 Dislikes:
766 Views:
629,824 | by
grandayy |
Published On 21/3/2018
L661[16:12:36]
<MGR> I will
watch it soon ish or tomorrow
L662[16:24:02]
⇨ Joins: payomc
(payomc!~payomc@50-38-39-13.csby.or.frontiernet.net)
L663[16:24:06] <payomc> test
L664[16:24:09] <payomc> woo!
L665[16:25:42] <Inari> Woo
L666[16:25:47] <Inari> payomc giving us
the beats
L667[16:26:07] <payomc>
boom-csh-boom-csh
L668[16:26:16] <AmandaC>
boots-and-cats-and-boots-and-cats
L669[16:26:26] <payomc> heh
L670[16:26:36] <payomc> gamax92: where is
the irc tab complete?
L671[16:27:26] <payomc> oh i think i found
it
L672[16:28:45]
⇨ Joins: DeGariless
(DeGariless!~DeGariles@174-087-138-238.dhcp.chtrptr.net)
L673[16:30:06] <Inari> now my
minions
L674[16:30:10] <Inari> go forth and
engineer aoe2 logic gates
L675[16:32:52] <payomc> Inari: :D
L677[16:37:35] <MichiBot>
Kingdom Come:
Deliverance || "a realistic RPG" | length:
5m
48s | Likes:
37,570 Dislikes:
2,366 Views:
970,154 | by
Iron Pineapple | Published On 22/2/2018
L678[16:37:44] ⇦
Quits: payomc (payomc!~payomc@50-38-39-13.csby.or.frontiernet.net)
(Quit: Proudly using WocChat!)
L679[16:41:08] <payonel> xarses: i almost
have my new cursor lib done
L680[16:41:16] <payonel> i think it MIGHT
be good enough for an api
L681[16:42:05] <Inari> Oh god this video
is killing me
L682[16:45:15] <AmandaC> Inari: the
unending-march twoards death doesn't like being called
"video"
L683[16:45:57] <Inari> AmandaC: :D
L684[16:50:03] ⇦
Quits: ben_mkiv (ben_mkiv!~ben_mkiv@p4FED5EB6.dip0.t-ipconnect.de)
(Ping timeout: 190 seconds)
L685[16:54:00]
⇨ Joins: payomc
(payomc!~payomc@50-38-39-13.csby.or.frontiernet.net)
L686[16:54:16] <payomc> cool, tab complete
fixed
L687[16:54:24] ⇦
Quits: payomc (payomc!~payomc@50-38-39-13.csby.or.frontiernet.net)
(Client Quit)
L688[17:32:15]
⇨ Joins: comfix
(comfix!~comfix@2a02:8071:28b:ad00:554d:5126:626d:845e)
L689[17:35:46] <xarses> payonel:
oohhh
L690[17:35:49] *
xarses drools
L691[17:38:45] ⇦
Quits: comfix
(comfix!~comfix@2a02:8071:28b:ad00:554d:5126:626d:845e) (Quit:
Leaving.)
L692[17:39:20] ⇦
Quits: MajGenRelativity
(MajGenRelativity!uid288574@id-288574.hathersage.irccloud.com)
(Quit: Connection closed for inactivity)
L693[17:40:13] ⇦
Quits: Inari (Inari!~Pinkishu@p5dec6653.dip0.t-ipconnect.de) (Quit:
'One-Shot Megumin! Two-Punch Aqua!')
L694[18:04:30]
⇨ Joins: comfix
(comfix!~comfix@2a01:4f8:a0:8349:1::4)
L695[18:05:03] ⇦
Quits: comfix (comfix!~comfix@2a01:4f8:a0:8349:1::4) (Quit: ZNC -
http://znc.in)
L696[18:05:15]
⇨ Joins: comfix
(comfix!~comfix@2a01:4f8:a0:8349:1::4)
L697[18:14:37]
<the-nick-dev> **@someone** ヽ༼ ಠ益ಠ ༽ノ
***(Marcel)***
L698[18:20:04] ⇦
Quits: Kilobyte (Kilobyte!~kilobyte@banana-new.kilobyte22.de)
(Quit: ZNC - 1.6.0 - http://znc.in)
L699[18:21:13]
⇨ Joins: Kilobyte
(Kilobyte!~kilobyte@banana-new.kilobyte22.de)
L700[18:21:13]
zsh sets mode: +v on Kilobyte
L701[18:57:50] <AmandaC> Wat
L702[18:57:54]
⇨ Joins: payomc
(payomc!~payomc@50-38-39-13.csby.or.frontiernet.net)
L703[18:58:21] <payomc> test
L704[18:58:22] ⇦
Quits: payomc (payomc!~payomc@50-38-39-13.csby.or.frontiernet.net)
(Client Quit)
L705[18:58:45]
⇨ Joins: payomc
(payomc!~payomc@50-38-39-13.csby.or.frontiernet.net)
L706[18:58:48] ⇦
Quits: payomc (payomc!~payomc@50-38-39-13.csby.or.frontiernet.net)
(Client Quit)
L707[19:04:22] <S3> Skye:
Passagassawakeag
L709[19:05:41] <S3> I'm watching this
video of west coasters trying to pronounce towns in maine
L710[19:05:44] <S3> and I forgot all about
Passagassawakeag
L711[19:05:59] <S3> thought you'd like the
name
L712[19:06:47]
⇨ Joins: Doty1154
(Doty1154!~Doty1154@2601:648:8000:134f:4d88:58ba:253b:4504)
L713[19:07:06] <S3> it also reminded me of
this place in maine called Isle au haut
L714[19:07:11] <S3> and it's pronounce
Isle o' ho
L715[19:07:19] <S3> which I always thought
was funny
L716[19:13:08] ⇦
Quits: Vexatos
(Vexatos!~Vexatos@p200300556E187E01559CA5C7C43C9221.dip0.t-ipconnect.de)
(Quit: Insert quantum chemistry joke here)
L717[19:24:57]
<coderboy14>
Does anyone know a good explanation of triangulation? I'm creating
a GPS network, and later a phone network. I know that you'd use
triangulation, and I have a system for it. The client broadcasts
that it wants to get nearby towers. Then, the towers reply they are
available, and what their coordinates are. My two problems, are
understanding how the heck to triangulate, and get the position
based on the replies. The second, it all nearby tower
L718[19:24:57]
<coderboy14>
will reply at the same time, so how can I accept simultaneous
replies?
L719[19:44:48] <S3> Coderboy aren't you
like a genius to this stuff?
L720[19:45:27] <S3> so real world
triangulation needs special relativity but on a world where
relativity isnt a problem like on Minecraft it's really easy
L721[19:46:14] <S3> codeboy if you are
doing this on MC then I will grab a pen and paper :D
L723[19:47:03] <payonel> new cursors
(though, to the end user, it is identical :/ )
L724[19:47:17] <payonel> saves 800 bytes
too! [not intentional]
L725[19:47:35] <payonel> xarses: this
should let me start building a new edit, and the ability to share
behavior between shell
L726[19:47:51]
<coderboy14>
No. I program a lot, but since I know you can't see my profile
picture, I'm only in 9th grade. I suck at math. I will have to
then, I'm working on the actual tower broadcasting system.
Lol.
L727[19:47:58] <payonel> xarses: i hope
you realize your feature request was a big one
L728[19:48:37]
<coderboy14>
Yah. I know. I was honestly hoping there was a library or
something. Or maybe somebody had already written a algorithm I
could use.
L729[19:49:03] <S3> oh yeah coderboy, do
you need 3D or 2D triangulatuon
L730[19:49:06] <S3> triangulation*
L731[19:49:26] <payonel> @coderboy14 it
seems you were responding to me. i wasn't talking to you which is
why i prefix my comments with nicks
L732[19:49:35] <payonel> @coderboy14 as
per irc customs
L733[19:49:59] <payonel> else, what do you
think 'xarses' means?
L734[19:50:41]
<coderboy14>
I would be okay with 2D. This way I could create a map on the
tablet, and use the 2D GPS system. Oh. lol. Haha. I am using
Discord, and I really don't know what that first part was supposed
to mean. Maybe it was some kind of nick, or something. I really had
-4572348957283947590823475980237% clue. lol.
L735[19:50:56] <S3> Okay. 3D is not that
much more difficult
L736[19:51:45] <Xal> please stop abusing
the term triangulation
L737[19:51:50] <Xal> triangulation =
positoin from 3 angles
L738[19:51:53] <S3> you can calculate 2D
triangulation without only 2 reference points as long as you know
the distance between the object being tracked and the two reference
points
L739[19:51:56] <Xal> trilateration =
position from 3 distances
L740[19:52:18] *
payonel triangulates #oc
L741[19:52:33] <S3> Xal: I don't care, I
laugh in the face of proper specifics! We call it triangulate all
the time in graudate school
L742[19:52:42] <S3> just because nobody
cares
L743[19:52:50]
<coderboy14>
Yah. Oh. I misunderstood then. I was setting it up, so the client
would wait for 3 broadcasting systems to reply. That's why I
thought it was tri-angulation.
L744[19:52:52]
<FLORANA>
um... i found some glitch,,,
L745[19:53:05]
<FLORANA>
creative computer case erroring not enuf power
L746[19:53:13]
<FLORANA>
when it doesn't need power
L747[19:53:40] <payonel> @coderboy14 your
discord chat is repeated to #oc which lives in irc. we prefix
comments when there are multiple conversations active to let ppl
know who we are talking to. that is common chat room
(irc/discord/etc) behavior
L748[19:54:01] <payonel> @florana
repro?
L749[19:54:01] <Xal> come to irc where all
the cool kids hang out
L750[19:54:04] <Xal> discord is bad
L751[19:54:24] <payonel> and being on
discord doesn't excuse you of knowing irc norms :)
L752[19:54:36] <xarses> wow, that is a
lot
L753[19:55:02]
<coderboy14>
I usually @ people. That's in Discord however. I prefer the more
graphical interface, plus everything is right here with
notifications. lol. I have never used IRC before, so, but...
L754[19:55:07] <payonel> xarses: rewrote
the whole cursor layer, made it a library. it made me laugh that
all that work was 450 vs 480 lines of code
L755[19:55:20] <Xal> discord is
malware
L756[19:55:32] <S3> in 3D distances
basically just become like ( (x_2 - x_1)^2 + (y_2 - y_1)^2 + (z_2 -
z_1)^2)^(1/2)
L757[19:55:33] <payonel> @coderboy14 @ or
prefix, doesn't matter. we still prefix to help distinguish
conversations
L758[19:55:37] <xarses> payonel: well
*fingers crossed*
L759[19:55:42] <S3> so you could use
that
L760[19:55:48] <S3> to help
L761[19:56:01] <xarses> payonel: it looks
lovely so far, I need to sink my teeth into it
L762[19:56:23] <S3> although if you want
2D you'll use the 2D law of cosines at 90 degrees, aka the
pythagorean theorem
L764[19:56:30] <payonel> xarses: it'll
prove itself (good or bad) when i start reworking edit with
it
L765[19:57:02] <S3> you can actually skip
3D diances and do the components seperately for x y and
altitude
L766[19:57:25] <payonel> anyways, afk for
now. o/
L767[19:57:27] <xarses> payonel: hence the
crossed fingers
L768[19:57:29] <S3> but that can be weird
to think about
L769[19:57:31] <xarses> ttyl
L770[19:57:36]
<coderboy14>
@payonel, so [x/y]_1 would be the first server, [x/y]_2 would be
the second server, and what would I use the result with? Main
reason I was asking, is like I said somebody with a "For
Dummies" explanation, or a library they know of. I tried
reading that stuff, but I don't really understand that.
L771[20:00:21] <Xal> if you have three
spheres r_1^2=x^2+y^2+z^2, r_2^2=(x-d)^2+y^2+z^2, and
r_3^2=(x-i)^2+(y-j)^2+z^2
L772[20:00:44] <Xal>
x=(r_1^2+r_2^2+d^2)/2d
L773[20:01:37] <Xal>
y=(r_1^2-r_3^2+i^2+j^2)/2j - i/jx
L774[20:01:46] <Xal>
y=(r_1^2-r_3^2+i^2+j^2)/2j - (i/j)x
L775[20:01:49] <Xal> rather
L776[20:02:06] <Xal>
z=+/-sqrt(r_1^2-x^2-y^2)
L777[20:02:20] <Xal> all these are already
solved
L778[20:02:27] <Xal> plug your numbers in
and it should trilaterate for you
L779[20:04:35]
<coderboy14>
I understand that (R)=Radius, (X)=The Server's X cord, (Y)=The
Server's Y cord, (Z)=The Server's Z cord. What is (J) and (D) and
(I)?
L780[20:05:18] <Xal> x,y,z are the coords
of what you're trilaterating relative to the first radio
L781[20:05:27] <Xal> i,j,d are
displacements from the first radio to your other two
L782[20:06:02] <Xal> so the first radio is
at (0,0,0), the second (d,0,0) and the third (i,j,0)
L783[20:07:05] <Xal> you just need to
formulate the equations so your radios are on z=0
L784[20:16:14]
<coderboy14>
How to you specify which modem to listen to? I need to repeat wired
signals to wireless, and vise-versa.
L785[20:16:42]
<FLORANA>
what was the openOS auto run filename again?
L787[20:32:07] ⇦
Quits: Doty1154
(Doty1154!~Doty1154@2601:648:8000:134f:4d88:58ba:253b:4504) (Quit:
Leaving)
L788[20:39:46] <Izaya> happy easter and
shit
L789[20:48:39] *
Arcan hands Izaya a jug of eggnog spiked with rum
L790[20:48:53] <Arcan> %give MichiBot
eggnog spiked with rum
L791[20:48:53] *
MichiBot accepts eggnog spiked with rum and adds it to her
inventory
L792[20:49:07] <Izaya> dunno what eggnog
is but I'll take it
L793[20:49:46] <Arcan> um
L794[20:49:53] <Arcan> it's eggs and sugar
and milk
L795[20:49:57] <Izaya> ah
L796[20:49:59] <Arcan> it's thick and
yummy
L797[20:50:04] <Arcan> and you put nutmeg
in it
L798[20:50:06] <Arcan> and rum
L799[20:50:14] <Izaya> I'll take your word
for it
L800[20:50:46] <Arcan> Eggnog exists in
AUS...
L801[20:51:01] <Izaya> I imagine so, but
I've never tried it nor looked into what it actually is.
L802[20:59:03]
<Mimiru>
@FLORANA remove the -, any non existing subdomains return "go
away"
L803[21:17:10] ⇦
Quits: Arimil (Arimil!~Renari@24.229.185.155.res-cmts.sm.ptd.net)
(Read error: Connection reset by peer)
L804[21:19:59]
⇨ Joins: Renari
(Renari!~Renari@24.229.185.155.res-cmts.sm.ptd.net)
L805[21:31:26]
⇨ Joins: Doty1154
(Doty1154!~Doty1154@2601:648:8000:134f:d4b3:86f4:eaf0:82cd)
L806[22:16:13] <S3> payonel: GOOD
NEWS!
L807[22:16:17] <S3> ocvm works on cool
retro term
L809[22:27:02] <Izaya> ocvm still doesn't
build on OpenBSD for me :|
L810[22:27:12] <Izaya> S3: any
ideas?
L812[22:38:53] <Xal> what is your g++
version
L813[22:39:02] <Xal> most bsds have
stupidly old gcc
L814[22:40:46] <Izaya> CXX=clang
L815[22:40:53] <Izaya> not using g++
L817[22:42:27] <Izaya> the g++ version is
ancient on here, v4.something
L818[22:42:38] <Izaya> better than 32-bit
Haiku at least I guess
L819[22:44:55] ⇦
Quits: jackmcbarn (jackmcbarn!jackmcbarn@gateway02.insomnia247.nl)
(Ping timeout: 195 seconds)
L820[22:46:54] <Xal> Izaya: try
CXX=clang++ ?
L821[22:47:08]
⇨ Joins: jackmcbarn
(jackmcbarn!jackmcbarn@gateway02.insomnia247.nl)
L822[22:47:10] <Izaya> Same errors
x_x
L823[22:47:49] <S3> Izaya: whats up?
L825[22:48:14] <S3> Izaya: you need to
force gcc
L826[22:48:14] <Izaya> Oh?
L827[22:48:22] <Izaya> but gcc is too old
to build this
L828[22:48:32] <S3> Payonel is using gcc
dependent directives
L829[22:48:33] <Izaya> do I need to build
it from source
L830[22:48:34] <S3> because wtf
L831[22:48:36] <Xal> then get rid of bsd
:P
L832[22:48:44] <Izaya> >get rid of max
comfy
L833[22:48:46] <Izaya> nah
L834[22:48:46] <S3> don't use compiler
dependent directives
L836[22:48:58] <S3> Izaya: OCEmu DOES work
on BSD
L837[22:49:03] <S3> so that's an
option
L838[22:49:10] <Izaya> S3: so I'll want to
get a newer gcc version, then build with that?
L839[22:49:19] <S3> probably.
L840[22:49:23] <Xal> Izaya: have you tried
getting a version of gcc that comes from after the paleolithic
era
L841[22:49:29] <S3> the gcc in ports
shouldn't be that old?
L842[22:49:39] <S3> you running FreeBSD
11?
L843[22:49:40] <Izaya> Xal: I have clang
though, I shouldn't need it
L844[22:49:48] <Izaya> S3: OpenBSD
6.2
L846[22:50:15] <S3> also because
pkg-config is shitty you may have to tweak it with Lua
L847[22:50:27] <S3> I had to with
Slackware
L848[22:50:36] <payonel> s3, xal, Izaya:
y'all feel free to provide cross-compat updates/PRs/suggestions to
the project
L849[22:50:37] <payonel> it is open
source
L850[22:50:52] <S3> payonel: yeah I will
probably send upstream clang pages at some point
L851[22:50:52] <Xal> what gcc-specific
directives are you using?
L852[22:51:06] <payonel> but not
suggestions, i'm too lazy :) just fix it for me
L853[22:51:08] <S3> patches*
L856[22:51:41] <S3> oh payonel I got ocvm
working on cool retro term
L857[22:51:47] <payonel> i read that
L858[22:51:47] <payonel> nice
L859[22:51:48] <payonel> which?
L860[22:52:03] <payonel> also, i should
stop using svn for git dir pulls
L861[22:52:05] <payonel> github*
L862[22:52:18] <payonel> i should just
gitclone the whole thing :)
L863[22:52:30] <payonel> or i think i
heard github has directory api now sans svn
L864[23:00:22] <S3> payonel: here you
go
L866[23:00:49] <payonel> explain ...
L867[23:01:07] <S3> what?
L868[23:01:11] <payonel> why does that
look like fallout
L869[23:01:44] <payonel> but this is a
desktop screenshot
L870[23:01:46] <payonel> of a window
L871[23:01:54] <payonel> of a old style
monitor crt thing
L872[23:02:06] <payonel> there are a lot
of layers in that image, and it doesn't make sense
L873[23:02:09] <Xal> cool-retro-term
L875[23:03:16] <payonel> much
L877[23:03:37] <S3> openos never looked
better
L878[23:13:01] <Izaya> well
L879[23:13:08] <Izaya> I can get gcc
4.9
L880[23:13:39] <Izaya> from the
precompiled packages
L881[23:18:49] <Xal> payonel: when you
call ::open(path.c_str(), O_CREAT | O_TRUNC), there's supposed to
be a third argument, no?
L882[23:19:49] ⇦
Quits: Cervator
(Cervator!~Thunderbi@2601:4c1:4001:1d5d:7439:c4a6:44f3:eab) (Quit:
Cervator)
L883[23:20:04] <Xal> open(2) doesn't
mention it but POSIX requires a mode for the third argument when
you use O_CREAT
L884[23:20:24] <Xal> if you have a new
gcc, it fails on compilaton with error: call to
‘__open_missing_mode’ declared with attribute error: open with
O_CREAT or O_TMPFILE in second argument needs 3 arguments
L885[23:23:09] <S3> what does openbsd ship
with / provide via packages?
L886[23:23:15] <S3> for gcc
L887[23:23:56] <S3> oh so 4.9 is
packages
L888[23:24:02] <S3> 4.9 isn't that
old
L889[23:24:19] <S3> I'm only running
5.3
L890[23:24:51] <Xal> gcc 7.3 is
stable
L891[23:25:15] <S3> I believe the
Slackware team is avoiding 7.3 because it isn't stable
"enough"
L892[23:25:28] <S3> it may be marked
stable but might have some compatability issues
L893[23:25:56] <S3> In the end, I have
been compiling everything, shittons of crap with 5.3
L894[23:26:08] <S3> including ocvm
L895[23:38:19]
⇨ Joins: SF-MC
(SF-MC!~EiraIRC@131-191-86-130.as.clicknet.org)
L896[23:40:32] <Izaya> 6.4 is in the ports
tree
L897[23:40:38] <Izaya> I'll see if that'll
work
L898[23:40:49] <S3> gcc isn't that
big
L899[23:40:57] <S3> should't take very
long
L900[23:41:11] <Izaya> I'm only using a
C2D on here though
L901[23:41:20] <Izaya> jhc compiling gcc
on a PowerlessPC box was painful
L902[23:41:28] <Izaya> because it compiled
itself twice
L903[23:41:38] <Izaya> not at all because
800Mhz
L904[23:43:11] <S3> ohhhh
L905[23:43:14] <S3> cross compile
L907[23:43:23] <S3> from some much faster
machine
L908[23:43:37] <Xal> we all know how fun
getting cross compilation working is
L909[23:43:56] <SF-MC> The last time I did
a cross compile wasn't too painful
L910[23:44:05] <SF-MC> But that was just
x86 -> x86 bare metal
L911[23:44:08] <Izaya> gcc is compiling
\o/
L912[23:49:19] <Xal> Izaya: why do you use
BSD?
L913[23:50:05] <Izaya> originally it was
just to try it out - OpenBSD is security-focused and all so it
seemed like a good thing to have on a server - but I ended up
really liking how much cleaner it is compared to most linux
distros
L914[23:50:16] <Xal> have you tried
nixos?
L915[23:50:20] <Izaya> yeah
L916[23:50:25] <Izaya> it was cool for a
while but eh
L917[23:50:58] <Xal> gentoo?
L918[23:51:15] <Izaya> yeah, but it was on
PowerPC so I dunno how fair a go that was
L919[23:51:30] <SF-MC> Gentoo is a fun
experiment, but I always ran it on weak hardware
L920[23:51:40] <SF-MC> which inevitably
soured the experience somewhat
L921[23:52:14] <Xal> I've always thought
nixos did source-based distribution right
L922[23:52:23] <Xal> binary caches really
are awesome
L923[23:52:31] <Xal> and the utility you
get from nixos triples if you have your own hydra
L924[23:53:12] <Xal> in like 10 lines, I
can package up some software, push it to my hydra, and have my
hydra compile it for several distros AND make it available in my
binary cache