<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:00:02] ⇦ Quits: Corded (discord@2607:5300:60:51da::c0f:fee) (Remote host closed the connection)
L2[00:00:26] ⇨ Joins: Corded (discord@2607:5300:60:51da::c0f:fee)
L3[00:00:27] zsh sets mode: +v on Corded
L4[00:07:04] *** Kasen is now known as rakiru|offline
L5[00:09:45] ⇨ Joins: Madxmike (~Madxmike@71-90-219-250.dhcp.spbg.sc.charter.com)
L6[00:15:35] ⇦ Quits: cpup (~cpup@32.218.116.17) (Ping timeout: 194 seconds)
L7[00:15:39] ⇦ Quits: Madxmike (~Madxmike@71-90-219-250.dhcp.spbg.sc.charter.com) (Remote host closed the connection)
L8[00:16:56] ⇨ Joins: cpup (~cpup@32.218.116.17)
L9[00:38:50] ⇦ Quits: Kodos (webchat@108-226-6-195.lightspeed.stlsmo.sbcglobal.net) (Quit: Web client closed)
L10[00:57:17] <_habnabit> i made a computronics lamp show a cubehelix rainbow :D
L11[00:57:36] <Saphire> Hm?
L12[00:58:12] <_habnabit> trying to figure out how to do a screen capture
L13[01:04:19] <_habnabit> https://youtu.be/EoAUyaQSIkw
L14[01:46:59] <greaser|q> if you're stuck for a dfpwm lua implementation there's a rather specialised implementation in my talk files
L15[01:51:30] <greaser|q> the slide_6() function contains the proper canonical compression implementation
L16[01:53:06] ⇨ Joins: Vexatos (~Vexatos@p200300556E6CB780287FE5E270FB1736.dip0.t-ipconnect.de)
L17[01:53:06] zsh sets mode: +v on Vexatos
L18[02:00:46] <greaser|q> aaand i think that's enough for this spectacularly reliable connection, i'll be turning this off now
L19[02:01:48] <v^> halp
L20[02:02:01] <v^> in tis-3d is there a proper editor or something
L21[02:02:16] <v^> the book and quill is shit
L22[02:02:36] <v^> i cant move up and down lines :<
L23[02:04:53] <BBoldt> code bible or something I think?
L24[02:13:28] ⇦ Quits: Doty1154 (~Doty1154@2601:648:8002:c1a1:55b7:72c4:bf3a:1048) (Read error: Connection reset by peer)
L25[02:29:57] ⇦ Quits: h3po (~h3po@aftr-5-146-248-126.unity-media.net) (Quit: Leaving.)
L26[03:00:54] ⇦ Quits: Vexatos (~Vexatos@p200300556E6CB780287FE5E270FB1736.dip0.t-ipconnect.de) (Quit: I guess I have to go now. Bye ✔)
L27[03:01:04] ⇨ Joins: Vexatos (~Vexatos@p200300556E6CB780287FE5E270FB1736.dip0.t-ipconnect.de)
L28[03:01:04] zsh sets mode: +v on Vexatos
L29[03:03:17] ⇦ Quits: Yepoleb (~quassel@188-22-165-44.adsl.highway.telekom.at) (Ping timeout: 194 seconds)
L30[03:04:37] ⇨ Joins: Yepoleb (~quassel@178-190-231-192.adsl.highway.telekom.at)
L31[03:15:46] ⇨ Joins: Meow-J (uid69628@id-69628.highgate.irccloud.com)
L32[03:44:11] ⇨ Joins: sciguyryan (~sciguyrya@95.211.188.31)
L33[03:47:26] ⇨ Joins: Jezza (~Jezza@185.44.151.99)
L34[04:31:48] *** AntheusSleep is now known as Antheus
L35[04:37:34] *** gAway2002 is now known as g
L36[04:44:54] <Antheus> .-.
L37[04:44:58] <g> ._.
L38[04:45:04] <Antheus> o_o
L39[04:45:10] <g> o_o
L40[04:45:13] <g> https://scontent-lhr3-1.xx.fbcdn.net/hphotos-xft1/v/t1.0-9/12510377_920082418041069_2313275993296281099_n.jpg?oh=531d13d05e56dd4f7fa1358a882fb255&oe=573A6F9B
L41[04:45:56] <Antheus> g: did you know, that quake was developed in a town near me?
L42[04:49:44] <g> AngieBLD: well considering I don't know who or where you are.. :P:
L43[04:49:47] <g> er, Antheus
L44[05:05:42] ⇨ Joins: Vexaton (~Vexatos@p200300556E6CB792287FE5E270FB1736.dip0.t-ipconnect.de)
L45[05:05:43] zsh sets mode: +v on Vexaton
L46[05:05:55] ⇦ Quits: Vexatos (~Vexatos@p200300556E6CB780287FE5E270FB1736.dip0.t-ipconnect.de) (Killed (anarchy.esper.net (Nickname regained by services)))
L47[05:05:55] *** Vexaton is now known as Vexatos
L48[05:14:06] <Antheus> g: I don't know who you are either
L49[05:14:15] <Antheus> I just see you a lot in by buffer/log
L50[05:14:55] ⇨ Joins: Inari (~Pinkishu@p5DEC6988.dip0.t-ipconnect.de)
L51[05:15:05] <Antheus> Inari :D
L52[05:15:32] <Inari> uh
L53[05:15:33] <Inari> hi? xD
L54[05:16:00] <Antheus> xxxD
L55[05:16:13] <Inari> o.ô
L56[05:16:16] <Inari> you on drugs or something
L57[05:16:28] <Antheus> nah
L58[05:16:32] <Antheus> just had 2 hours of sleep
L59[05:19:41] *** amadornes[OFF] is now known as amadornes
L60[05:34:30] ⇦ Quits: Meow-J (uid69628@id-69628.highgate.irccloud.com) (Quit: Connection closed for inactivity)
L61[05:45:59] ⇦ Quits: t3hero (~t3hero@2601:202:200:fb50:bdb7:a3f7:1500:7590) (Read error: Connection reset by peer)
L62[05:50:41] ⇦ Quits: calclavia (uid15812@2001:67c:2f08:6::3dc4) (Quit: Connection closed for inactivity)
L63[05:56:44] <Antheus> ~w eeprom
L64[05:56:44] <ocdoc> http://ocd.cil.li/component:eeprom
L65[06:01:45] <Vexatos> SANGAR YOU CHEATER
L66[06:01:46] <Vexatos> DAMNIT
L67[06:01:57] <Sangar> what now? >_>
L68[06:02:49] <Antheus> Vexatos, are you ok?
L69[06:03:01] <Antheus> ~w computer
L70[06:03:02] <ocdoc> http://ocd.cil.li/api:computer
L71[06:03:06] <Vexatos> Sangar, I have so far spent 4 hours trying to make a module JSON
L72[06:03:13] <Vexatos> and it wasn't rotating properly
L73[06:03:13] <Sangar> <_>
L74[06:03:18] <Vexatos> but your obj model was
L75[06:03:20] <Vexatos> turns out
L76[06:03:26] <Vexatos> you are displaying the overlay texture on two sides
L77[06:03:28] <Vexatos> back and front
L78[06:03:32] <Sangar> :P
L79[06:03:33] <Vexatos> so it IS being rotated wrongly
L80[06:03:34] <Vexatos> ;_;
L81[06:03:37] <Vexatos> THIS
L82[06:03:38] <Vexatos> IS
L83[06:03:38] <Vexatos> SO
L84[06:03:41] <Vexatos> AEOIUAGHIRUGHAOFUIHAFGUIHNFG
L85[06:05:35] * Antheus gives Vexatos a chill-pill
L86[06:07:14] <Antheus> hmm
L87[06:08:19] <Vexatos> YUSSSSSSSSSSSSSSSSSSSSSSSSSSS
L88[06:08:23] <Vexatos> Sangar, PR imminent
L89[06:08:25] <Antheus> while true do event, _, _, p, d, msg = computer.pullSignal(0.5) other stuff blah blah blah end would work, correct?
L90[06:09:35] <Antheus> ~w modem
L91[06:09:35] <ocdoc> http://ocd.cil.li/component:modem
L92[06:12:15] <Sangar> mkay
L93[06:13:25] <Antheus> Sangar: what do you think about Advanced Relays. Assembled in Assembler w/eeprom/otherstuffs, allows for advanced stuff involving routers
L94[06:13:36] <hitecnologys> Greetings, #oc! I haven't been following news for a while so... Say, I want to write something fancy that involves exchanging messages between computers (securely?) over sufficiently long distances, presumably with filtering and somewhat complex routing. With what networking library should I go? Or maybe with a pack of them?
L95[06:13:55] <Antheus> ohai hitecnologys
L96[06:14:13] <hitecnologys> Antheus: o/
L97[06:15:07] <Antheus> and it would ofcourse add a little delay since it would run code for every message
L98[06:15:18] <Sangar> Antheus, define 'advanced'
L99[06:16:04] <Antheus> One teir above non-advanced
L100[06:16:33] <Vexatos> Sangar, http://paste.asie.pl/ql2w
L101[06:16:34] <Antheus> since it would be able to do more than a normal relay
L102[06:16:38] <Vexatos> that's moduleStack.json now
L103[06:16:45] <asie> Sangar: so, important notes
L104[06:16:52] <asie> 1. i will likely break the Charset wire API to use capabilities this evening.
L105[06:16:56] <asie> final break for 1.8 hopefully
L106[06:17:04] <asie> 2. IItemHandler is out and if you have anything which deals with inventory transport
L107[06:17:10] <asie> you must choose to support that as it's great
L108[06:17:30] <Vexatos> Sangar, what do you think
L109[06:17:30] <Antheus> ~w sides
L110[06:17:30] <ocdoc> http://ocd.cil.li/api:sides
L111[06:17:43] <Antheus> ~w redstone
L112[06:17:43] <ocdoc> http://ocd.cil.li/component:redstone
L113[06:17:48] <Sangar> Vexatos, looks fancy. now split it into 'module.json' and 'moduleStack.json' using that, or so, to make it reusable if that's possible?
L114[06:18:02] ⇨ Joins: Turtle (~SentientT@82-171-92-73.ip.telfort.nl)
L115[06:18:03] <Vexatos> Sangar, I can't inherit blockstate files
L116[06:18:04] <Vexatos> sorry
L117[06:18:09] <Sangar> ah, too bad
L118[06:18:12] <Vexatos> I have no clue why that hasn't been added
L119[06:18:21] <Vexatos> since you can inherit model files even in vanilla
L120[06:18:38] <Sangar> asie, okeh. i'll try to drag myself back to minecraft over the course of this week :P
L121[06:18:43] <asie> okai!
L122[06:19:05] <DeanIsaKitty> Izaya: Just saying: http://www.theguardian.com/world/2016/jan/19/lamb-chop-weight-enforcers-want-warrantless-access-to-australians-metadata :P
L123[06:19:34] ⇨ Joins: h3po (~h3po@aftr-5-146-248-53.unity-media.net)
L124[06:21:02] <Izaya> DeanIsaKitty, my metadata: sustained connection on port 22 to some weirdass thing in france with no rDNS record
L125[06:21:11] <Antheus> How would you make a computer halt for 1 second, EEPROM wise?
L126[06:21:16] <Izaya> wait wat
L127[06:21:26] <Izaya> LAMB? They want access
L128[06:21:29] <Izaya> to measure LAMB.
L129[06:21:38] <Izaya> Antheus, computer.pullSignal(1)
L130[06:22:10] <Antheus> ok, I'll just have it check to see if it gets the kill command ever other second then
L131[06:22:36] ⇨ Joins: Nachtara (~Nachie@50-83-108-134.client.mchsi.com)
L132[06:22:39] <DeanIsaKitty> Izaya: Yes. Thats exactly it. Your National measurement institute wants to be classified as law enforcement. Because LAMB.
L133[06:26:58] <Inari> leave the poor lambs alone
L134[06:28:04] <DeanIsaKitty> Inari: That's not even the fun part. Just imagine the german "eichamt" kicking down your door because they are law enforcement now. :D
L135[06:28:25] <Inari> lol
L136[06:28:52] <Inari> because i have non-properly calibrated devices?
L137[06:32:01] <Antheus> ~w break
L138[06:32:01] <ocdoc> Predicted http://ocd.cil.li/block:rack
L139[06:32:04] <Antheus> ffs
L140[06:34:50] <Izaya> whats an eichamt
L141[06:35:01] <Izaya> I assume it's not a lamb measuring department
L142[06:35:09] <DeanIsaKitty> Izaya: The german equivalent to an australian NMI
L143[06:35:27] <Inari> NMI?
L144[06:36:04] <DeanIsaKitty> Inari: National Measurement Institure. FFS do yall know how to google??
L145[06:36:16] <Inari> i do
L146[06:36:20] <Vexatos> Snagar: https://github.com/MightyPirates/TIS-3D/pull/42
L147[06:36:21] <Saphire> %g define NMI
L148[06:36:23] <MichiBot> Saphire: http://www.urbandictionary.com/define.php?term=NMI - Urban Dictionary: NMI: "I'm afraid our company cannot hire you because of resume NMI. 2. I tried to return
L149[06:36:23] <Izaya> so it is the lamb measuring department
L150[06:36:29] * Saphire sighs
L151[06:36:45] <DeanIsaKitty> %w NMI
L152[06:36:51] <Inari> non-maskable interupt, NMI TT Pharamservices, NMI Natuarl and MEdical Sciences Institute, NMI Gaming, NMI TT, The NMI System
L153[06:36:56] <DeanIsaKitty> Does MichiBot not have a wikipedia command? <.<
L154[06:37:10] <Inari> Nordafrika-Mittleost-Initiative :D
L155[06:37:32] <DeanIsaKitty> Inari: Its not like I talked about that 5 lines above your question.
L156[06:37:33] <Inari> also why does chrome default to .de now agian
L157[06:37:34] <Inari> :<
L158[06:37:50] <DeanIsaKitty> Inari: Because google wants those precious metadata
L159[06:38:03] <Inari> well it can get that even if i use .com
L160[06:38:03] <Inari> :P
L161[06:38:28] <Inari> i /hate/ sutff defaulting to german D:
L162[06:38:40] <DeanIsaKitty> Legally speaking there is a difference. So in case of .de it doesnt make a difference, in case of .uk it does
L163[06:38:59] ⇨ Joins: Keanu73 (~Keanu73@host-92-28-70-249.as13285.net)
L164[06:39:55] <Antheus> ~w string
L165[06:39:55] <ocdoc> http://www.lua.org/manual/5.2/manual.html#pdf-string
L166[06:42:43] <Izaya> so I can write to a stream once per tick using the ethernet card, right?
L167[06:42:54] <Antheus> ahdkjfas
L168[06:43:13] <Antheus> attempt to index global 'component' (a nil value)
L169[06:43:15] <Antheus> ldkjaf;lds
L170[06:43:29] <Saphire> Antheus: component=require("component")
L171[06:43:45] <Antheus> Saphire, this is for a eepro
L172[06:43:49] <Antheus> ...
L173[06:43:54] <Saphire> oh
L174[06:43:56] <Antheus> Forgot I was running it within openOS
L175[06:44:09] ⇨ Joins: fotoply (~fotoply@2-104-228-18-static.dk.customer.tdc.net)
L176[06:44:44] * Antheus facedesks
L177[06:45:40] <Vexatos> Sangar, do you know by chance how to trigger a lighting update in 1.8.9?
L178[06:45:42] * Saphire pats Antheus and places pillow onto the desk
L179[06:45:52] <Vexatos> The colorful lamp's lighting is literally the only thing left to port
L180[06:45:59] <Vexatos> then I can bascically release
L181[06:47:17] <Antheus> Vexatos, have the game spawn lava everywhere then delete it
L182[06:47:21] <Antheus> seems to work for me
L183[06:47:38] ⇨ Joins: AlexisMachina (uid57631@id-57631.charlton.irccloud.com)
L184[06:48:23] <Inari> lol
L185[06:48:34] <Inari> that sounds incredibly hacky
L186[06:49:40] <Sangar> Vexatos, the markBlahForUpdate thinger doesn't work?
L187[06:54:11] <Antheus> What upgrades go good with microcontrollers?
L188[06:54:13] <Antheus> battery?
L189[06:54:25] <Saphire> uh
L190[06:54:58] <Antheus> uh?
L191[06:55:20] <Antheus> I mean, it makes sense for what I am doing to have a backup power supply
L192[06:55:35] <Vexatos> Sangar, it doesn't
L193[06:56:08] <Vexatos> Sangar, http://git.io/vzoKG
L194[06:56:13] <Vexatos> none of that works
L195[06:56:41] <Sangar> do you do that on the client, server or both?
L196[07:03:45] <vifino> ohai dere
L197[07:03:52] <vifino> I'mmalive.
L198[07:04:12] <Izaya> are you sure
L199[07:04:34] <vifino> 98%.
L200[07:11:12] *** SleepingFairy is now known as Daiyousei
L201[07:15:03] <Vexatos> Sangar, I tried it all
L202[07:15:12] <Vexatos> The color does properly update
L203[07:15:17] <Vexatos> so there was a block update
L204[07:15:26] <Vexatos> it's just the lighting
L205[07:15:44] <Sangar> idk, what's the vanialla redstone lamp do?
L206[07:15:44] <Vexatos> it just still thinks it's emitting a light level of 15 even if I set it to 0 long ago
L207[07:15:49] <Vexatos> replace the block
L208[07:15:56] <Vexatos> there are two block instances
L209[07:16:02] <Sangar> ah, still
L210[07:16:04] <Vexatos> unlit and lit lamp
L211[07:16:10] <Sangar> welp, then do that >_>
L212[07:16:35] <Vexatos> the thing is
L213[07:16:36] <Vexatos> it does setBlockState
L214[07:16:38] <Vexatos> world.setBlockState
L215[07:16:46] <Vexatos> and I do that too http://git.io/vzo6F
L216[07:16:53] <Vexatos> so why does theirs work and mine doesn't
L217[07:18:52] <Antheus> ~w computer
L218[07:18:52] <ocdoc> http://ocd.cil.li/api:computer
L219[07:20:39] <Inari> http://imgur.com/gallery/drYGyOp
L220[07:23:49] <Antheus> Inari, nice selfie
L221[07:23:58] <Inari> haha
L222[07:31:22] ⇦ Quits: sciguyryan (~sciguyrya@95.211.188.31) (Ping timeout: 186 seconds)
L223[07:31:52] ⇨ Joins: sciguyryan (~sciguyrya@95.211.203.233)
L224[07:34:13] <Antheus> Very good Italian food, Mediocre Tex-Mex, or Mediocre Catfish?
L225[07:34:18] <Antheus> for lunhx
L226[07:34:20] <Antheus> lunxh
L227[07:34:22] <Antheus> lunch
L228[07:36:00] <Izaya> italian
L229[07:40:33] <Antheus> Good idea
L230[07:40:45] <Antheus> Now to wait until noonish when my grandparents get here
L231[07:41:20] <Inari> http://i.imgur.com/fDHuqBC.jpg
L232[07:43:09] <Antheus> "I havent payed attention or studied in my class and waited till the night before to do my final project that is 70% of my final grade"
L233[07:43:19] <Inari> pretty much
L234[07:43:31] <Antheus> "And it's due tomorrow at 10am with no extentions"
L235[07:44:55] <Antheus> ffs
L236[07:45:12] <Antheus> I have one rouge alarm stuck in a endless loop of beeping
L237[07:45:17] <Antheus> it gets my kill signal
L238[07:45:21] <Antheus> but refuses to stop beeping
L239[07:45:26] <Antheus> even though it is hooked up right
L240[07:45:30] <Mimiru> Good, then my evil plan has worked.
L241[07:45:42] <Antheus> yet all the other ones have stopped
L242[07:45:45] <Antheus> Good morning Mimiru
L243[07:47:25] <Antheus> there we go
L244[07:47:31] <Antheus> just had to reboot the microthingy
L245[07:58:04] <asie> okay, Sangar, i finished completely breaking the API
L246[07:58:13] <asie> on the plus side, the API now handles the multipart stuff for you
L247[07:58:18] <Sangar> yey
L248[07:58:23] <asie> so all you need to do is a field @CapabilityInject(IBundledEmitter.class) and for the other classes
L249[07:58:29] <asie> then that singleton in hasCapability(singleton, side)
L250[07:58:34] <asie> then getCapability(singleton, side).get[...]()
L251[07:58:40] <asie> so no more dependency on multipart stuff
L252[07:58:43] <asie> or, in fact, most of your code. :D
L253[07:59:16] <Sangar> that field can be in the integration class, right, doesn't have to be in the te?
L254[07:59:17] <asie> the downside, though, is that TIS-3D will crash unless you update to that as it tries to link to existing but highly modified interfaces
L255[07:59:20] <asie> of course
L256[07:59:26] <Sangar> noice
L257[07:59:27] <Sangar> yeah
L258[07:59:28] <asie> look into hasCapability/getCapability.
L259[07:59:31] <asie> you can now proxy EVERYTHING
L260[07:59:40] <asie> you can even use events to attach capabilities dynamically outside of hardcoding them
L261[07:59:42] <asie> but that's a bit slower
L262[08:00:33] <Sangar> kk. i'll just finish this non-allocating thread pool for my side project... then maybe i can even have a look at that today :P
L263[08:00:44] <asie> yay
L264[08:00:54] <asie> you can even have a look at adding it to OC as it's so dynamic
L265[08:01:04] <asie> it's so dynamic in fact that Vexatos just might port it to CC despite the API's rigidness <o>
L266[08:01:19] <Sangar> sounds good
L267[08:04:29] <asie> Charset 0.2.0 should be out this evening
L268[08:11:13] ⇦ Quits: VikeStep (~VikeStep@101.184.165.77) (Quit: Leaving)
L269[08:11:31] ⇨ Joins: MajGenRelativity (~MajGenRel@c-73-186-66-242.hsd1.ma.comcast.net)
L270[08:12:04] ⇨ Joins: MrRatermat (~ratermat@host81-131-89-74.range81-131.btcentralplus.com)
L271[08:13:03] <MajGenRelativity> hello
L272[08:23:27] <Inari> http://imgur.com/gallery/KWJHy2x
L273[08:24:33] <Inari> http://imgur.com/gallery/suSQZrS
L274[08:24:51] <MajGenRelativity> MY REACTOR IS FULLY FUELED!
L275[08:25:33] <Izaya> and making more power than you'll ever use
L276[08:26:27] <Antheus> lol
L277[08:26:33] <Antheus> Hmm
L278[08:26:36] <MajGenRelativity> 1.82 million RF/t
L279[08:26:41] <MajGenRelativity> and that's without active cooling XD
L280[08:26:53] <Antheus> Trying to make a thing using frames
L281[08:26:57] <Antheus> like a big moving cieling
L282[08:27:01] <Antheus> .....
L283[08:27:31] <Izaya> Antheus, something to crush people?
L284[08:29:37] <Antheus> no
L285[08:29:45] <Antheus> a giant roof for a galatic craft rocket launch tube
L286[08:30:05] <Antheus> and I can't solve my issue of a singe line of blocks
L287[08:30:17] <Antheus> may have to use TC's draw bridges to add/remove blocks there
L288[08:36:44] ⇨ Joins: Aerus (~aerus@78.178.161.5)
L289[08:36:53] <Aerus> hi '
L290[08:38:32] <Saphire> o/
L291[08:40:51] ⇦ Quits: MajGenRelativity (~MajGenRel@c-73-186-66-242.hsd1.ma.comcast.net) (Quit: Time to go, to adventure!)
L292[08:43:40] <Inari> i wonder if loli tax would work on imgur
L293[08:43:56] ⇦ Quits: sciguyryan (~sciguyrya@95.211.203.233) (Remote host closed the connection)
L294[08:48:39] ⇦ Quits: brandon3055 (~Brandon@122.129.140.1) (Read error: Connection reset by peer)
L295[08:54:51] <Antheus> loli?
L296[08:54:55] <g> yes.
L297[08:55:29] * Vexatos has been pinged
L298[08:55:33] <Vexatos> asie: What
L299[08:55:53] <asie> Vexatos: I added capabilities to CharsetWires
L300[08:55:59] <asie> go add CC support to Computronics
L301[08:56:44] <Vexatos> sure
L302[08:56:47] <Vexatos> just tell me how
L303[08:56:54] <Vexatos> asie, btw, Computronics 1.8.9 is 99% go
L304[08:57:09] <Vexatos> I just need to fix the colorful lamp's lighting not updating
L305[08:57:14] <Vexatos> and I have no idea why it doesn't
L306[08:58:01] <asie> Vexatos: uhhh
L307[08:58:02] <asie> generally
L308[08:58:05] <asie> you have an AttachCapabilitiesEvent
L309[08:58:09] <asie> you check if the tile entity is a CC computer
L310[08:58:10] <Vexatos> Also asie, do you has deobf
L311[08:58:13] <Vexatos> oh wait
L312[08:58:13] <asie> and attach it an ICapabilityProvider
L313[08:58:20] <asie> which provides IBundledEmitter and IBundledReceiver
L314[08:58:30] <Vexatos> ah right
L315[08:58:32] <asie> the IBundledEmitter proxies the byte[] data from CC, clamped to 0-15
L316[08:58:38] <asie> rescaled, even
L317[08:58:45] <asie> the IBundledReceiver re-grabs the byte[] data from the wires on update
L318[08:58:52] <Vexatos> how do you for loop in groovy
L319[08:59:28] ⇦ Quits: Aerus (~aerus@78.178.161.5) (Quit: Aerus)
L320[09:01:45] ⇨ Joins: MajGenRelativity (~Hi@c-73-186-66-242.hsd1.ma.comcast.net)
L321[09:02:18] <Vexatos> soo asie, gimmeh build of charset so I can test >_>
L322[09:03:40] ⇦ Quits: MajGenRelativity (~Hi@c-73-186-66-242.hsd1.ma.comcast.net) (Client Quit)
L323[09:07:18] <Vexatos> asie, can't you just make a deobf build already >_<
L324[09:07:21] <Vexatos> No I will NOT use BOM
L325[09:07:25] <Vexatos> BON*
L326[09:07:28] <asie> Vexatos: i make them
L327[09:07:30] <asie> gradle build
L328[09:07:32] <asie> :)
L329[09:07:38] <asie> they're just not up on the site yet as i need to rewrite the site.
L330[09:07:38] <CompanionCube> Izaya, achievement get
L331[09:07:45] <CompanionCube> have *dhcpcd* segfault
L332[09:09:34] <Izaya> I have a machine ffmpeg won't run on
L333[09:10:11] <CompanionCube> and yet it worked fine after a service restart
L334[09:10:14] <Izaya> also I have segfaulted dhcpcd in the past
L335[09:10:47] <CompanionCube> Izaya, I didn't even do anything
L336[09:15:43] ⇨ Joins: Ranubis (webchat@x4d0b7009.dyn.telefonica.de)
L337[09:16:01] <Ranubis> hello :)
L338[09:16:25] <Ranubis> someone here who could help me with a litle program? :)
L339[09:17:40] <Mimiru> Ranubis, don't ask to ask, ask, and stick around
L340[09:17:54] <Mimiru> If someone is able to help they will
L341[09:18:03] <Mimiru> And we have plenty of people here who can
L342[09:21:34] <Ranubis> okey
L343[09:21:56] <Ranubis> erm .. missing something to get a "name" out of an table
L344[09:22:02] <Ranubis> http://pastebin.com/sryC2a2b
L345[09:23:04] <Ranubis> i know it should be easy .. but cant get it -.-
L346[09:24:16] <Mimiru> Well, I have to take kids for food, or they're going to gnaw my arms off
L347[09:24:18] <Ranubis> so the sensor returns entitys correct and i can use it .. but it wont compare the entity to the names in the table..
L348[09:24:19] <Mimiru> otherwise I'd try to help
L349[09:25:00] <Mimiru> but.. your table is just 2 entries, there are no "names" you need to see if the table contains a value you're looking for
L350[09:25:32] <Mimiru> afaik, you need to iterate the table, and check.. there may be a better way though..
L351[09:25:45] <Mimiru> I'm mainly a Java dev.. don't do a lot of lua :p
L352[09:25:58] <Mimiru> anyway afk
L353[09:26:45] <Ranubis> and im kind of a noob .. and didnt work with lua for long ... so dunno how to write the table correctly, or the compare question how to pull the names out ....
L354[09:27:42] <Ranubis> and dont want to just copy the program from gangsir ... ;)
L355[09:29:32] <Ranubis> even if i change the table to : players = {name="ranubis",name="fishmastr") ... wont work
L356[09:31:49] ⇦ Quits: Jezza (~Jezza@185.44.151.99) (Quit: Leaving)
L357[09:35:52] <Vexatos> soo asie, what do I need to return in hasCapability and what in getCapability
L358[09:42:02] <Vexatos> also, asie, do I need one provider/emitter for each side?
L359[09:42:12] <asie> yes
L360[09:42:21] <asie> hasCapability? a boolea
L361[09:42:22] <asie> n
L362[09:42:24] <asie> getCapability? an impl
L363[09:43:08] *** \c\window is now known as ds84182
L364[09:44:46] <Vexatos> asie, so here is a question
L365[09:45:08] ⇨ Joins: Tedster (~Tedster@host86-170-31-233.range86-170.btcentralplus.com)
L366[09:45:09] <Vexatos> how do I make CC recognize Charset's IBundledEmitters as things it can get bundled redstone from
L367[09:45:38] <asie> Vexatos: i don't know
L368[09:45:41] <asie> you did the redlogic integration
L369[09:45:45] <Vexatos> Nope, you did
L370[09:45:51] <Antheus> Nope, I did
L371[09:45:52] <Vexatos> and I removed it because it wasn't working
L372[09:45:54] <asie> and then
L373[09:45:56] <asie> you made one again
L374[09:46:33] <Vexatos> Nope
L375[09:46:37] <Vexatos> I made it inside redlogic
L376[09:46:43] <asie> yes
L377[09:46:43] <Antheus> Someone should make an OS that can fit on an EEPROM
L378[09:46:46] <Vexatos> which allowed direct access to code
L379[09:46:47] <asie> yes
L380[09:46:49] <asie> you don't need that
L381[09:46:51] <asie> just use capabilities
L382[09:47:01] <asie> CC can recognize them stupidly easily, just make a provider... you did that already...
L383[09:47:12] <Vexatos> asie, http://git.io/vzo54
L384[09:47:14] <Vexatos> I need this
L385[09:47:43] <asie> yes uh
L386[09:47:48] <asie> you do hasCapability
L387[09:47:49] <asie> and getCapability?
L388[09:47:51] <Vexatos> so would I do if(te.hasCapability(IBundledEmitter.class)) {getstuff}
L389[09:47:53] <asie> yes
L390[09:47:55] <Vexatos> k
L391[09:52:31] <Vexatos> Ok, that part is done
L392[09:52:37] <Vexatos> Now what to do with IBundledReceiver
L393[09:53:46] ⇦ Quits: Ranubis (webchat@x4d0b7009.dyn.telefonica.de) (Quit: Web client closed)
L394[09:54:35] <asie> Vexatos: implement it on the CC tile entity
L395[09:54:39] <asie> and make it NOP?
L396[09:54:45] <asie> if CC checks bundled cable levels on its own
L397[09:54:47] <asie> then make it NOP
L398[09:55:07] <Vexatos> so I do implement it
L399[09:55:15] <Vexatos> but I do NO-OP?
L400[09:55:31] <Vexatos> also, how large are the value I should return in IBundledEmitter
L401[10:02:25] <asie> yes
L402[10:02:28] <asie> the values are 0-15
L403[10:02:38] *** Cranium[Away] is now known as Cranium
L404[10:03:22] ⇨ Joins: MajGenRelativity (~MajGenRel@c-73-186-66-242.hsd1.ma.comcast.net)
L405[10:07:51] <asie> Vexatos: also speaking of tape readers
L406[10:07:58] <asie> the module should work fine with multiple tape readers as long as it's on the top or bottom
L407[10:08:09] <asie> as then it would only read the top (or bottom) one
L408[10:08:22] <asie> also TIS-3D 0.8.2.11 crashes with latest Charset so watch out
L409[10:10:43] <Vexatos> so how do I return anything in getCapability
L410[10:10:48] <asie> you just
L411[10:10:49] <Vexatos> it apparently wants a generic type T
L412[10:10:50] <asie> return (T) object;
L413[10:10:52] <Vexatos> >_>
L414[10:10:54] <Vexatos> that cast
L415[10:10:54] <asie> if the capability's right
L416[10:10:58] <asie> yes that cast's the official way
L417[10:11:04] <asie> welcome to java
L418[10:11:08] <Vexatos> Yay unchecked cast warning
L419[10:11:42] <asie> at least i think it is
L420[10:13:32] <Vexatos> asie, http://paste.asie.pl/x6uc
L421[10:13:39] <Vexatos> how does it look
L422[10:13:46] <asie> looks fine
L423[10:13:57] <asie> but
L424[10:14:01] <asie> don't make a new instance on every getCapability
L425[10:14:03] <asie> cache them
L426[10:14:09] <asie> make a CCBundledEmitter[6]
L427[10:14:13] <asie> and a CCBundledReceiver singleton
L428[10:14:27] <asie> also
L429[10:14:30] <Vexatos> so getCapability can be called multiple times?
L430[10:14:32] <asie> this is not how it works @CapabilityInject(IBundledEmitter.class)
L431[10:14:36] <asie> also yes of course
L432[10:14:38] <asie> anyway
L433[10:14:40] <asie> @CapabilityInject(IBundledEmitter.class)
L434[10:14:42] <asie> on a FIELD
L435[10:14:44] <asie> not a METHOD
L436[10:14:48] <asie> and get rid of those functions
L437[10:14:53] <asie> they don't work this way
L438[10:14:57] <Vexatos> Of course
L439[10:14:59] <asie> register in preInit
L440[10:15:00] <Vexatos> read the javadoc
L441[10:15:03] <asie> what
L442[10:15:06] <asie> why would you use them on a method
L443[10:15:10] <asie> that's silly
L444[10:15:16] <Vexatos> read the javadoc
L445[10:15:21] <gamax92> read the javadoc
L446[10:15:29] <Vexatos> * When placed on a METHOD, the method will be invoked once the
L447[10:15:29] <Vexatos> * capability is registered. This allows you to have a 'enable features'
L448[10:15:29] <Vexatos> * callback. It MUST have one parameter of type 'Capability;
L449[10:15:34] <Roadcrosser> read the jacadoc
L450[10:15:35] <asie> ah
L451[10:15:40] <asie> so that's what you're doing
L452[10:15:41] <Roadcrosser> I cannot spell javadoc
L453[10:15:42] <Vexatos> yep
L454[10:15:46] <Vexatos> I register it on the event bus
L455[10:15:46] <ocdoc> read the javadoc
L456[10:15:52] <Vexatos> and I register the redstone provider
L457[10:15:53] <Antheus> asdfasdf
L458[10:16:05] <Roadcrosser> asdfghjkl
L459[10:16:06] <asie> yes this should work
L460[10:16:07] <ocdoc> hi im here 2
L461[10:16:08] <Vexatos> only if the capabilities are being registered
L462[10:17:06] <Vexatos> so asie, I create the instance in preInit?
L463[10:17:27] <asie> what instance
L464[10:17:47] <asie> for CCBundledEmitter, you need an instance per ICapabilityProvider
L465[10:17:49] <asie> or a set of in stances ever
L466[10:17:51] <asie> even
L467[10:17:56] <asie> for CCBundledReceiver just have a static final instance
L468[10:19:25] <Vexatos> asie, the CCBundledRedstoneIntegration instance
L469[10:19:29] <Vexatos> that listens for the event, etc
L470[10:19:33] <Vexatos> and makes it load the class
L471[10:19:57] <Vexatos> asie, http://paste.asie.pl/rXhs
L472[10:19:58] <Vexatos> better?
L473[10:22:15] <Vexatos> asie, are you causing block updates when bundled redstone changes?
L474[10:23:48] <asie> no
L475[10:23:52] <asie> you must use IBundledReceivrer
L476[10:23:54] <asie> this is to... prevent lag
L477[10:23:57] <Vexatos> otherwise that's what I'd have to do for CC to fire the event
L478[10:23:58] <Vexatos> Yea
L479[10:23:59] <Vexatos> ok
L480[10:24:27] <Vexatos> oh wait
L481[10:24:34] <Vexatos> there is no redstone event
L482[10:24:38] <Vexatos> but I have to do it anyways
L483[10:24:41] ⇨ Joins: Barbas (~Barbas@35-176-233-186.raimax.com.br)
L484[10:24:44] <Vexatos> for CC to query the bundled signal
L485[10:30:03] <Vexatos> asie, it's fine to cause a block update on a bundled cable, right?
L486[10:30:04] <Vexatos> tile.getWorld().markBlockForUpdate(tile.getPos().offset(side));
L487[10:30:20] <Vexatos> since CC listens to onNeighborBlockChange
L488[10:33:20] <gamax92> Vexatos: are there any git folder downloaders for OC?
L489[10:33:49] <Vexatos> gamax92, git clone?
L490[10:34:02] <gamax92> "for OC"
L491[10:35:16] <gamax92> K guess no
L492[10:35:27] <gamax92> I'll just make a tar archive of the folder I want
L493[10:35:54] <asie> Vexatos: yes
L494[10:35:56] <asie> it's fine
L495[10:36:50] <Vexatos> gamax92, the "download ZIP" button on github?
L496[10:37:27] <gamax92> Vexatos: IN OPENOS YOU DUMB FUCK
L497[10:37:54] <gamax92> Would have thought "for OC" made that clear
L498[10:38:02] <gamax92> but then I forgot it's Vexatos we're talking about
L499[10:41:16] ⇨ Joins: Kodos (webchat@108-226-6-195.lightspeed.stlsmo.sbcglobal.net)
L500[10:41:16] zsh sets mode: +v on Kodos
L501[10:41:34] <Vexatos> asie, can I return null in getBundledSignal
L502[10:41:38] <Kodos> Morning =D
L503[10:41:58] <gamax92> Sangar: does OC have custom headers support for it's internet card
L504[10:42:11] <MajGenRelativity> good morning Kodos
L505[10:42:22] <asie> Vexatos: what would null mean?
L506[10:42:59] <Vexatos> asie, in RedLogic, just 0 everywhere
L507[10:43:19] <asie> why would you pass that instead of a byte[]?
L508[10:43:21] <asie> just pass a byte[]
L509[10:43:28] <asie> i will accept nulls in the final release
L510[10:43:30] <asie> tho
L511[10:43:36] <asie> but other mods might have issues
L512[10:44:34] <Vexatos> Ok, neither of the directions work
L513[10:44:36] <Vexatos> yay
L514[10:44:44] <asie> yay
L515[10:53:16] <Sangar> gamax92, i think so
L516[10:53:35] <Vexatos> errr
L517[10:53:36] <Vexatos> asie,
L518[10:53:40] <Vexatos> in getBundledRedstoneOutput
L519[10:53:45] <Vexatos> emitter.getBundledSignal()
L520[10:53:48] <Vexatos> returns a lot of 0
L521[10:53:55] <Vexatos> even though I have a white lamp turned on ;_;
L522[10:54:30] <gamax92> ~w component:internet
L523[10:54:31] <ocdoc> http://ocd.cil.li/component:internet
L524[10:54:33] <gamax92> Sangar: ^
L525[10:54:44] <gamax92> I don't see how, unless that's outdated (probably is :p)
L526[10:54:51] <Sangar> it probably is :P
L527[10:55:02] <Sangar> iirc there was a pr a while ago
L528[10:56:11] <Kodos> https://github.com/MightyPirates/OpenComputers/pull/1556 Dat one?
L529[10:56:40] <Vexatos> huh, now it works
L530[10:57:14] <Sangar> sounds like it
L531[10:57:28] <gamax92> "function(url:string[, postData:string[, headers:table]]):userdata"
L532[10:57:32] <gamax92> so yeh, outdated
L533[10:57:32] <asie> Vexatos: a white lamp?
L534[10:57:43] <gamax92> I shall now try to abuse this
L535[10:57:49] <Vexatos> asie, colorful lamps are a thing, you know
L536[10:57:49] <Vexatos> >_>
L537[10:57:52] <asie> Vexatos: oh
L538[10:57:54] <asie> right.
L539[10:57:55] <Vexatos> I meant a lamp connected to a white wire
L540[10:58:06] <Vexatos> ok, so calling notifyBlockOfStateChange
L541[10:58:10] <Vexatos> on the computer
L542[10:58:15] <Vexatos> fixed the computer reading values
L543[10:58:21] <Vexatos> now to fix the computer emitting values
L544[10:58:29] <asie> you can call block updates on neighboring wires
L545[10:58:32] <asie> but if you want to be more precise
L546[10:58:40] <asie> getCapability(IBundledReceiver) on neighboring wires
L547[10:58:42] <asie> :)
L548[10:58:47] <asie> but always hasCapability first
L549[10:59:09] <Vexatos> that's not the problem
L550[10:59:12] <Vexatos> ComputerCraftAPI.getBundledRedstoneOutput
L551[10:59:15] <Vexatos> isn't being called
L552[10:59:18] <Vexatos> Well
L553[10:59:19] <Vexatos> it is
L554[10:59:22] <Vexatos> but it always returns -1
L555[10:59:33] <Vexatos> also the question is HOW to even call a block update
L556[10:59:36] *** Guest49369 is now known as Magik6k
L557[10:59:54] <Vexatos> since there is nothing being fired when the computer changes its redstone emittery
L558[11:00:15] <Vexatos> Oh wait, it is
L559[11:00:17] <Vexatos> nevermind
L560[11:00:17] <Vexatos> so yea
L561[11:00:25] <Vexatos> ComputerCraftAPI.getBundledRedstoneOutput returning -1
L562[11:00:27] <Vexatos> is the issue
L563[11:00:29] <Vexatos> the only issue left
L564[11:01:48] <Kodos> Whatcha doin anyway
L565[11:02:26] <Vexatos> 1.8.9 port
L566[11:02:28] <Vexatos> 99% done
L567[11:02:40] <Vexatos> just need to get colorful lamp lighting to work
L568[11:02:42] <Vexatos> and ComputerCraftAPI.getBundledRedstoneOutput
L569[11:05:52] <Kodos> You don't need no stinkin CC api =D
L570[11:11:31] <Vexatos> So uuuh
L571[11:11:40] <Vexatos> asie, it fails in the API
L572[11:11:49] <Vexatos> there is a try catch around a method invocation
L573[11:12:06] <Vexatos> and apparently it returns -1 outside that method invocation
L574[11:12:13] <Vexatos> sooo it threw an exception
L575[11:12:24] <Vexatos> except it didn't because IDEA couldn't find one
L576[11:12:24] <Vexatos> wat
L577[11:14:42] <MajGenRelativity> Mimiru, quick question about turrets
L578[11:14:55] <MajGenRelativity> Do they summon the bolt entity from the tip of the gun?
L579[11:23:53] *** rakiru|offline is now known as Kasen
L580[11:25:27] <Vexatos> aerghoaiuerghpaeupieruzhnpsrtuh
L581[11:25:32] <Vexatos> This doesn't work!
L582[11:25:38] <Vexatos> And it seems to be on CC's side
L583[11:25:42] <Vexatos> which means it'll never be fixed
L584[11:25:42] <Vexatos> ;_;
L585[11:26:49] <vifino> Receiving objects: 1% (300/26444), 84.00 KiB | 5.00 KiB/s
L586[11:26:57] <Kodos> So pull CC support until it is fixed. imo =D
L587[11:27:11] <Kubuxu> Let's kill CC.
L588[11:27:19] <Kubuxu> Anyone against?
L589[11:27:23] <Kodos> Nope
L590[11:28:00] <Antheus> fasdklfj
L591[11:28:18] <Antheus> I wish I could convince my dad to change to a less-shitty-shitty isp
L592[11:32:59] <Kodos> Is AmandaC still absent from CC's channel
L593[11:34:49] <Vexatos> so asie: Do you know how the CC API works?
L594[11:34:55] <Vexatos> like, use reflection and such?
L595[11:35:30] <Vexatos> well, the method to call is there, it goes into the try-catch thinger... and then exits and returns -1, without any exception at all.
L596[11:38:25] <asie> ok
L597[11:39:21] <Antheus> Kodos, yes
L598[11:39:27] <Kodos> Who all is opped there atm
L599[11:39:32] <Antheus> lemme get a pic
L600[11:39:35] <Antheus> jk
L601[11:39:36] <Antheus> um
L602[11:39:45] <Antheus> Cranium
L603[11:39:52] <Antheus> Cruor
L604[11:39:57] <Kodos> Cruor: you around?
L605[11:40:20] <Antheus> Lymia and Vivo
L606[11:42:11] <Antheus> Cruor has been idle for 6 hours
L607[11:42:18] <Kodos> Ah
L608[11:42:18] <Antheus> Your best bet would be Cran
L609[11:42:18] <Kodos> Piss
L610[11:42:35] <Kodos> Cranium, might I bother you a moment?
L611[11:42:38] <Antheus> hes been idle 8is min
L612[11:42:39] <Vexatos> OOOOOOOOOOOOOOOOH
L613[11:42:44] <Vexatos> asie, found a bug in CC API
L614[11:42:46] <Vexatos> AHAHAHAHAHA
L615[11:42:51] <Vexatos> getBundledRedstoneOutput( World world, BlockPos pos, int side )
L616[11:42:51] <Antheus> HAHAHHA
L617[11:42:52] <Vexatos> calls
L618[11:42:58] <Vexatos> getDefaultBundledRedstoneOutput(World world, BlockPos pos, EnumFacing side)
L619[11:43:00] <asie> Vexatos: tell dan
L620[11:43:01] <Vexatos> via reflection
L621[11:43:10] <asie> or, if you want to be extra trolly
L622[11:43:13] <asie> call the right method via reflection
L623[11:43:46] <Cruor> Kodos: always
L624[11:43:50] <Kodos> <3
L625[11:43:57] <Kodos> Can you unban me from CC's channel now that Amanda's gone
L626[11:44:01] <Antheus> Same
L627[11:44:02] <Kodos> I can only assume she was finally ousted for abuse
L628[11:44:12] <Kodos> Or ragequit
L629[11:44:19] <Cruor> the latter, i would assume
L630[11:44:24] <Kodos> hope so
L631[11:44:30] <MajGenRelativity> Kodos, you seem to be banned in lots of places
L632[11:44:32] <Kodos> She's online and active, and not there, so I hope she's perma gone
L633[11:44:37] <Kodos> MGR, No?
L634[11:44:38] <Kodos> Only in CC
L635[11:44:41] <MajGenRelativity> oh
L636[11:44:42] <Antheus> lol
L637[11:44:44] <Kodos> And Forge's channel
L638[11:44:47] <MajGenRelativity> you must have mentioned it a couple of times then
L639[11:44:49] <Kodos> But that's not really an accomplishment
L640[11:44:53] * MajGenRelativity shrugs
L641[11:44:57] * MajGenRelativity goes back to eating noodles
L642[11:45:00] <g> lol, the forge channel
L643[11:45:05] <Antheus> lol
L644[11:45:05] <g> most corrupt op I've ever seen
L645[11:45:16] <Kodos> Have you met AmandaC?
L646[11:45:19] <Antheus> I have
L647[11:45:21] <g> No
L648[11:45:23] <Kodos> I called her whiny once
L649[11:45:26] <Kodos> Been banned since
L650[11:45:30] <g> ..lol
L651[11:45:31] <Antheus> I did something similar
L652[11:45:40] <Vexatos> asie, why reflection
L653[11:45:45] <Antheus> ialso got banned
L654[11:45:50] <Vexatos> I already depend on core CC code in various places
L655[11:45:57] <Vexatos> places I know won't change
L656[11:45:58] <Vexatos> :P
L657[11:46:00] <Cranium> Vexatos: https://github.com/dan200/ComputerCraft/issues or you can report the issue
L658[11:46:08] <Cranium> he actually reads this now
L659[11:46:09] <Vexatos> Cranium, https://github.com/dan200/ComputerCraft/issues/86 I already did
L660[11:46:10] <Vexatos> nub
L661[11:46:15] <Kodos> Lol
L662[11:46:18] <Antheus> lol
L663[11:46:27] <Cranium> Vexatos: ah, didn't refresh the page
L664[11:46:38] <Kodos> Cranium WTB Unban from #cc
L665[11:46:42] <Kodos> err computercraft
L666[11:47:13] <g> can you actually ban people from repos on github?
L667[11:47:14] <asie> Vexatos: you can work around it
L668[11:47:17] <asie> did you?
L669[11:47:44] <Vexatos> ComputerCraft.getDefaultBundledRedstoneOutput
L670[11:47:49] <Vexatos> It won't ever change, that method
L671[11:47:56] <Vexatos> since the API relies on the name to stay 100% the same
L672[11:48:06] <Vexatos> but he might change it to take ints later
L673[11:48:15] <Vexatos> I'll have to update then
L674[11:48:15] <Cranium> Kodos: what'd you get banned for?
L675[11:48:17] <Vexatos> but for now
L676[11:48:40] <Antheus> lol #computercraft: $a:Kodos on Mon Aug 10 17:34:16 2015 by AmandaC!sid25048@id-25048.charlton.irccloud.com
L677[11:48:40] <Kodos> For calling AmandaC out on abusing her op powers
L678[11:49:00] <Kodos> For literally banning anyone she disagrees with that expresses their opinions
L679[11:49:17] <Kodos> Including, but not limited to, my opinion of her being a shitmin
L680[11:49:25] * Antheus giggles
L681[11:49:52] ⇦ Quits: Nachtara (~Nachie@50-83-108-134.client.mchsi.com) (Quit: geeettttttt dunked on!!!)
L682[11:50:25] <Vexatos> works
L683[11:50:26] <Vexatos> asie: Done
L684[11:51:16] ⇨ Joins: Ranubis (webchat@x4d0b7009.dyn.telefonica.de)
L685[11:51:22] <Ranubis> hi there again =D
L686[11:51:25] <Antheus> hi
L687[11:51:30] <Ranubis> over worked the code a bit : http://pastebin.com/uiyLVCRL
L688[11:51:39] <Cranium> why do you even need back in #computercraft? All you do in there from what I've seen is talk shit about the mod
L689[11:51:45] <Ranubis> but the programm still wont recognize me to be in the list
L690[11:52:29] <Ranubis> someone an idea?
L691[11:52:35] <Vexatos> asie, http://git.io/vzKvz
L692[11:53:35] <Kodos> Actually, quite often I ask for help with Lua problems
L693[11:53:53] <Kodos> I may have mentioned a time or two my opinion of OC being superior to CC, but CC is still great for learning on
L694[11:54:32] <Vexatos> asie, http://git.io/vzKv9
L695[11:54:34] <Vexatos> is that okay?
L696[11:55:44] <asie> might be
L697[11:55:55] <asie> but you only fixed it in one place, no?
L698[11:56:01] <Vexatos> oh derp
L699[11:56:02] <asie> to not use CCAPI
L700[11:56:48] <Vexatos> fixed
L701[11:58:38] ⇨ Joins: Vista02 (~vista02@ov9.bisecthosting.com)
L702[11:58:41] * Vista02 waves
L703[11:58:45] <Kodos> o/
L704[11:58:55] <MajGenRelativity> Hi Vista02/XP01
L705[11:59:28] * Vista02 waves at MajGenRelativity
L706[11:59:45] <Vexatos> Next one will be Millenium0.5 ;_;
L707[12:01:42] <MajGenRelativity> heh heh
L708[12:01:47] <asie> no
L709[12:01:49] <asie> it will be 703
L710[12:01:59] <Mimiru> MajGenRelativity, I have no idea :D
L711[12:02:01] <Mimiru> why?
L712[12:02:31] <MajGenRelativity> because the tip is slightly higher than 1 block
L713[12:02:36] <Vexatos> sooo asie
L714[12:02:42] <Vexatos> now help me fix colorful lamp lighting
L715[12:02:44] <Vexatos> and I can release
L716[12:02:44] <MajGenRelativity> I was wondering if the turret could fire while at pitch 0 if it has a block above
L717[12:02:52] <Vexatos> And you do want me to release, don't you :3+
L718[12:03:01] <asie> no
L719[12:03:02] *** Antheus is now known as AntheusAway
L720[12:03:10] <asie> the colorful lamp threatens my area of interest
L721[12:03:26] <Mimiru> MajGenRelativity, no clue :D
L722[12:03:54] <_habnabit> https://github.com/MightyPirates/OpenComputers/pull/1628 yaaay i made a PR
L723[12:03:55] <MajGenRelativity> Mimiru, I would test but my server is broked with this version of OS :P
L724[12:04:11] <Inari> theres always #lua on freenode for lua problems
L725[12:04:49] <Kodos> Yeah, but I cbf because I'm already on one webchat
L726[12:05:09] <Mimiru> Kodos, yes it is, but it doesn't seem to care
L727[12:05:11] <Mimiru> err
L728[12:05:15] <Mimiru> MajGenRelativity *
L729[12:05:26] <_habnabit> Vexatos, did you see the rainbow i made with colorful lamps
L730[12:05:51] <Mimiru> MajGenRelativity, http://michi.pc-logix.com/javaw_2016-01-24_12-05-18.png but the bolt still fired out of the blocks
L731[12:06:17] <Mimiru> IT seems it fires through blocks anyway :P
L732[12:06:24] <MajGenRelativity> oh, good!
L733[12:06:48] <MajGenRelativity> although, after it reaches air after passing through the beginning blocks, other blocks stop it, right?
L734[12:06:50] <Vexatos> _habnabit, I did not
L735[12:07:05] <_habnabit> https://www.youtube.com/watch?v=EoAUyaQSIkw
L736[12:07:05] <MichiBot> _habnabit: computronics cubehelix rainbow | length: 11s | Likes: 0 Dislikes: 0 Views: 5 | by habnabit
L737[12:08:00] <Mimiru> MajGenRelativity, it seems not
L738[12:08:19] <MajGenRelativity> um
L739[12:08:25] <MajGenRelativity> it can fire through walls????
L740[12:08:34] <Mimiru> oooh
L741[12:08:34] <Mimiru> no
L742[12:08:36] <Mimiru> I see..
L743[12:08:43] <Mimiru> it fires from the turret block, not above it
L744[12:09:09] <MajGenRelativity> ohhhhhhh
L745[12:09:10] <MajGenRelativity> ok
L746[12:09:13] <Mimiru> the bolt LOOKS like it comes from the tip
L747[12:09:15] <Mimiru> but it doesn't
L748[12:09:20] <Mimiru> it comes from the turret block
L749[12:09:37] <MajGenRelativity> ah that makes sense
L750[12:09:39] <Mimiru> if I put a block in front of the actual turret, it doesn't fire
L751[12:10:00] <Mimiru> I was very confused.. because I knew it had code for hitting blocks lol
L752[12:10:23] <MajGenRelativity> yeah
L753[12:10:24] <Kodos> MajGenRelativity: Are you still having the 'can't fire' issu
L754[12:10:25] <Kodos> e
L755[12:10:31] <MajGenRelativity> it would be OP if it could just burrow through blocks
L756[12:10:34] <Mimiru> Yes, cause he hasn't updated
L757[12:10:36] <MajGenRelativity> Kodos, mimiru fixed it
L758[12:10:39] <Kodos> Okay
L759[12:10:46] <Kodos> I was going to suggest disabling Railcraft's Heat bullshit
L760[12:10:50] <Kodos> In case that was it
L761[12:10:51] <MajGenRelativity> It wasn't that
L762[12:11:04] <MajGenRelativity> Mimiru used a client side only thing for the bolts
L763[12:11:06] <Mimiru> entity#setVelocity is marked client only
L764[12:11:11] <Mimiru> for whatever fucking reason
L765[12:11:20] <Mimiru> I had to use the 3 sets
L766[12:11:35] <Kodos> Did you open an issue on Forge's repo
L767[12:11:48] <Mimiru> Nipe, my fucks given meter was broken
L768[12:11:52] <Mimiru> s/i/o/
L769[12:11:52] <Vexatos> ok asie, how do I get information from a tape drive
L770[12:11:53] <Kibibyte> <Vexatos> ok asoe, how do I get information from a tape drive
L771[12:11:55] <Mimiru> damn it lol
L772[12:12:06] <Vexatos> like, how and where
L773[12:13:39] <Vexatos> asie, http://git.io/vzKJq
L774[12:13:41] <Vexatos> why?
L775[12:14:10] *** Cranium is now known as Cranium[Away]
L776[12:14:26] ⇨ Joins: Officialy (webchat@host86-158-59-50.range86-158.btcentralplus.com)
L777[12:15:02] ⇦ Quits: Ranubis (webchat@x4d0b7009.dyn.telefonica.de) (Quit: Web client closed)
L778[12:16:15] <Officialy> Hi all, I'm a noob at all coding but i'm wanting to play custom music with the tape drive from computronics anybody know how and could tell me? :)
L779[12:16:42] <Officialy> im also on a server that and im not Op
L780[12:17:45] <Kodos> You'll need your music in an uncompressed 8 or 16 bit PCM .wav file
L781[12:21:27] <Officialy> i have got the song in .dfpwm (i converted my wav file to that with LionRay)
L782[12:21:41] <Vexatos> Officialy, can you upload it anywhere
L783[12:21:51] <Officialy> I have dropbox
L784[12:21:59] <Vexatos> won't work
L785[12:22:07] <Vexatos> you need something that doesn't enforce https :/
L786[12:22:13] <Mimiru> Officialy, send me a dropbox link
L787[12:22:17] <Vexatos> then you can use the built-in tape program
L788[12:22:18] <Vexatos> to download
L789[12:22:19] <Mimiru> and I'll put it on one of my boxes and give you al ink
L790[12:22:24] <Mimiru> Or that
L791[12:23:04] <Officialy> https://www.dropbox.com/s/lflw9krajw3je4p/TheFatRat_-_Splinter_Bass_Boosted_.dfpwm?dl=1 <---- heres the instant download for the file
L792[12:24:12] <Mimiru> Officialy, http://michi.pc-logix.com/TheFatRat_-_Splinter_Bass_Boosted_.dfpwm
L793[12:25:47] <Officialy> so what do I do with that link? (sorry that im a noob)
L794[12:27:58] <Mimiru> having never used the tapes... I'm not sure :D
L795[12:28:01] <Mimiru> Kodos... you know?
L796[12:28:45] * Vista02 greets everyone
L797[12:28:57] <Kodos> Is that an already converted dfpwm file?
L798[12:29:20] <Kodos> You'll have to host it from somewhere that doesn't use https, as iirc wget doesn't work with it
L799[12:29:47] <Kodos> But you use tape write DownloadURLHere
L800[12:29:49] <Kodos> In the shell
L801[12:29:55] <Kodos> ANd the tape willbe written with the dwpfm file
L802[12:29:59] <Kodos> Then you just tape play
L803[12:30:11] <Vexatos> Officialy, get a tape drive
L804[12:30:27] <Vexatos> get a tape with a size greater than the length of the song
L805[12:30:33] <Vexatos> (tooltip says how large it is)
L806[12:30:50] <Vexatos> then insert that tape into the drive and run tape write "http://michi.pc-logix.com/TheFatRat_-_Splinter_Bass_Boosted_.dfpwm&quot;
L807[12:31:27] <Officialy> ok
L808[12:31:50] ⇨ Joins: Jezza (~Jezza@185.44.151.99)
L809[12:34:14] <Officialy> it says file not found
L810[12:34:33] <Officialy> i have a internet card to
L811[12:35:29] <Kodos> Screenshot your physical setup
L812[12:35:30] <Kodos> no guis
L813[12:36:09] ⇦ Quits: cpup (~cpup@32.218.116.17) (Ping timeout: 194 seconds)
L814[12:36:46] <Officialy> http://imgur.com/wXzhyuk
L815[12:37:34] ⇨ Joins: cpup (~cpup@32.218.116.17)
L816[12:37:42] <Kodos> Uhh what version of computronics are you using
L817[12:38:03] <Officialy> 1.6.0
L818[12:38:45] <Kodos> hm
L819[12:38:58] <Kodos> Did you remember to install OpenOS before hooking up components
L820[12:39:05] <Kodos> Rather than just running it off the floppy
L821[12:39:33] <Officialy> OpenOS is on the hdd
L822[12:39:38] <S3> OK!
L823[12:39:41] <S3> I did it
L824[12:40:01] <S3> it works, but it needs a couple of tiny additions which I think I can fit in
L825[12:40:07] <Kodos> Okay, go into the shell, in the main directory, and screenshot me the results of 'dir /bin'
L826[12:40:09] <S3> I wrote a forth intereter in < 1K
L827[12:40:11] <S3> of Lua :)
L828[12:40:14] <S3> it's 910 bytes
L829[12:40:44] ⇨ Joins: t3hero (~t3hero@2601:202:200:fb50:bdb7:a3f7:1500:7590)
L830[12:40:47] <Officialy> -_- wow i failed badly
L831[12:41:02] <Officialy> i wrote tapetape write <url>
L832[12:41:07] <Kodos> lolll
L833[12:41:08] <S3> however I have not finished DOCOL or EXIT, after those are done, and then number interpretation, it should be complete
L834[12:41:12] <Officialy> its now downloading it
L835[12:41:14] <S3> all of which I may be able to do in < 90 bytes
L836[12:41:18] <Kodos> Have fun =)
L837[12:41:20] <S3> 90 + 24 that is
L838[12:41:21] <S3> :)
L839[12:42:19] <S3> as promised it only provides one word, [L, which is analogous to :CODE and ;CODE
L840[12:42:25] <S3> it lets you write Lua code
L841[12:42:34] ⇨ Joins: Nachtara (~Nachie@50-83-108-134.client.mchsi.com)
L842[12:42:38] <S3> wheras in a real forth it'd be machine code
L843[12:42:46] <S3> or assembly
L844[12:42:50] <Officialy> erm i pressed play on the tape drive and its not playing any sound
L845[12:44:08] <asie> did you rewind it?
L846[12:44:28] <asie> did you rewind it BEFORE you started writing?
L847[12:44:28] <S3> this is great, this gives us ~3K of space for forth code to put in an EEPROM
L848[12:45:20] <Officialy> yes it was re-winded before i started writing it
L849[12:47:18] <g> How do you paste into OC again?
L850[12:47:36] <Officialy> middle mouse button
L851[12:47:46] <S3> I thought it was the same way you do with X?
L852[12:47:54] <S3> which was mouse3
L853[12:47:57] <g> ah, thanks
L854[12:48:02] <S3> just a guess
L855[12:48:14] <S3> was I right? :)
L856[12:48:16] <Mimiru> insert works too
L857[12:48:20] <S3> heh
L858[12:48:44] <Mimiru> Which is handy if you don't HAVE a mouse3.. :p
L859[12:48:51] <S3> insert is actually a key that I do not know how it really works
L860[12:49:39] <S3> IRL, does it actually have a key code?
L861[12:49:45] <S3> some keys do not
L862[12:49:49] <S3> like ctrl
L863[12:50:15] <S3> but control is an awesome key
L864[12:50:46] <g> are these realistic tapes?
L865[12:50:52] <g> do they bunch up and get stuck if you play them at the wrong speed?
L866[12:50:53] <g> :u
L867[12:51:06] <g> yeah, this isn't working for me either
L868[12:51:16] <g> rewind tape, write to tape, it's still rewound and there's nothing on it
L869[12:53:34] <Kodos> keyboard API has a specific check for control tho
L870[12:57:49] *** Cranium[Away] is now known as Cranium
L871[12:58:08] *** AntheusAway is now known as Antheus
L872[13:06:04] <g> https://dl.dropboxusercontent.com/u/1547120/ShareX/2016/January/java_2016-01-24_19-06-03.png
L873[13:06:06] <g> I think I broke it
L874[13:16:18] <CompanionCube> congrats on breaking the laws of physics
L875[13:17:48] ⇦ Quits: Officialy (webchat@host86-158-59-50.range86-158.btcentralplus.com) (Ping timeout: 204 seconds)
L876[13:18:37] ⇦ Quits: MajGenRelativity (~MajGenRel@c-73-186-66-242.hsd1.ma.comcast.net) (Ping timeout: 194 seconds)
L877[13:21:44] <asie> g: gg
L878[13:21:51] <asie> gg g
L879[13:21:58] <asie> 3g
L880[13:34:47] <Magik6k> I see 10 g
L881[13:35:03] <Magik6k> ~w internet component
L882[13:35:03] <ocdoc> http://ocd.cil.li/component:internet
L883[13:37:28] ⇨ Joins: Temportalist (uid37180@id-37180.charlton.irccloud.com)
L884[13:39:02] ⇦ Quits: Nachtara (~Nachie@50-83-108-134.client.mchsi.com) (Quit: geeettttttt dunked on!!!)
L885[13:52:23] ⇨ Joins: Thutmose (~elpat@cpe-55-54-66-208.caribcable.com)
L886[13:53:19] <Kodos> I want a TFC server with OC
L887[13:53:23] <Thutmose> has anyone else had the problem where placing some OC blocks results in them being turned into other mod's blocks?
L888[13:53:30] <Kodos> Thutmose: Update
L889[13:53:33] ⇨ Joins: calclavia (uid15812@2001:67c:2f08:6::3dc4)
L890[13:53:33] zsh sets mode: +v on calclavia
L891[13:53:35] <Kodos> Use the dev builds link in the topic
L892[13:53:44] <gamax92> I fucking swear if you're the same person who asked that last time.
L893[13:53:50] <Kodos> gamax92: be nice
L894[13:53:52] <Kodos> He's not
L895[13:53:52] <gamax92> okay
L896[13:54:00] <Kodos> Thutmose has only ever been Thut or Thutmose
L897[13:54:47] <Thutmose> ok, will update to that, was working on compatiblity for pokecube, and noticed the version on curseforge did that
L898[13:54:57] <Kodos> Yeah, known bug, was fixed, but hasn't been updated to CF yet
L899[13:55:06] <Kodos> #blameSangar
L900[13:55:25] <Kodos> Also, thank you for putting Lifts in 1.8.9
L901[13:55:29] <Kodos> =D
L902[13:55:34] <Thutmose> no problem :D
L903[13:55:40] <Kodos> I wonder tho
L904[13:55:49] <Kodos> How hard would it be to make it so lifts can be an even number wide/deep
L905[13:55:55] <Thutmose> easy
L906[13:56:02] <Kodos> I tend to use them for one chunk bases and it's odd to have an elevator off by one
L907[13:56:06] <Kodos> ALso messes with my OCPD
L908[13:56:09] <Kodos> Also*
L909[13:56:38] <Kodos> My temporary fix so far has been running two lifts side by side
L910[13:56:41] <Thutmose> so the problem was how to choose the size of the lift
L911[13:57:03] <Thutmose> right now it just looks for 5x5, then 3x3, then just goes with 1
L912[13:57:14] <Kodos> Well, I like the 3x3 for regular elevator shafts, but I've been using them more and more for transporting horses, so I've been switching to 5x5
L913[13:57:25] <Kodos> I built a horse breeding facility =D
L914[13:57:29] <Kodos> Because why the fuck not
L915[13:58:07] <Kodos> But yeah, 2x and 4x lifts would be neat
L916[13:58:11] <Kodos> 6x seems a bit extreme
L917[13:58:38] <Thutmose> and ideas on how to have it assign the size? maybe somehow choose size with linking device somehow?
L918[13:59:02] <Kodos> maybe WorldEdit style, have to select two opposing corners, and there has to be a lift block somewhere in the selected area
L919[13:59:14] <Kodos> Making sure to check that start and end are both on the same Y level
L920[14:00:36] <S3> ok. I'm going to cheese this
L921[14:01:02] <S3> I'm going to make an EEPROM that just looks at a vector table at the end of a disk and then loads that chunk of data into RAM and executes it
L922[14:01:08] <S3> super simple
L923[14:01:11] <S3> then I'll make it better later
L924[14:01:29] <gamax92> S3: om nom nom
L925[14:02:12] <S3> gamax92: ?
L926[14:02:19] <S3> gamax92: did you see what I did?
L927[14:02:30] <S3> gamax92: I made a FORTH interpreter in Lua (a new one that works better) in < 1K
L928[14:02:31] <S3> :)
L929[14:02:51] <gamax92> no
L930[14:02:52] <S3> giving you ~3K of EEPROM space for your FORTH program
L931[14:02:58] <gamax92> yes
L932[14:03:25] ⇦ Quits: MrRatermat (~ratermat@host81-131-89-74.range81-131.btcentralplus.com) (Quit: MrRatermat)
L933[14:03:45] <gamax92> S3: can you write a 6502 forth that works in 4K
L934[14:06:15] <S3> gamax92: I have a feeling that I could. However, I do remember that they had trouble in #redpower getting it to fit in 8K
L935[14:06:24] <S3> gamax92: it would be a lot easier on a 6502 than Lua
L936[14:06:50] <S3> because FORTH is supposed to be really low level, and with Lua you have to sort of ignore the fact that you aren't pointing at memory addresses
L937[14:07:15] <gamax92> EHBASIC is a 16K rom :/
L938[14:07:15] <S3> it isn't a very big deal, but sometimes it gets annoying if you're used to thinking that memory is one giant strand of bytes know what I mean?
L939[14:07:21] <gamax92> oh yeah
L940[14:08:25] <S3> gamax92: Interestingly enough, I read an article on FORTH for the 6502 and they were saying that using your primary working forth register in the zero page instead of in X or Y or A was faster.
L941[14:08:29] <S3> XD
L942[14:08:54] <S3> because you can do operations on the zp, it is only 8 bit addressing, AND it can be used for indirect addressing for pointers at the same time
L943[14:10:48] <S3> gamax92: is there an easy way to build a unique 8 bit checksum?
L944[14:11:07] <S3> ... not reliably. maybe 16 bit
L945[14:11:20] <S3> and I mean hash
L946[14:12:00] <S3> I was wondering gamax92 because maybe that's how component addressing should work, you hash the 64 bit address into a 16 bit number or so that will somehow be unique enough for every OC component you could ever have..
L947[14:12:27] <S3> Because I do not find fun in punching 128 bit component addresses through
L948[14:12:48] <S3> maybe this will work:
L949[14:13:14] <S3> you can access components a uuid, and tell the MMU that you want to give it a 16 bit ID
L950[14:13:17] <S3> or something
L951[14:13:22] <S3> 8 may even be enough
L952[14:13:58] <S3> 8 is enough. when will you need to access more than 256 components at a time
L953[14:15:22] <gamax92> 8 bit ID may be enough, but remember, that would conflict heavily
L954[14:15:43] ⇨ Joins: Jezza_ (~Jezza@185.44.151.99)
L955[14:16:10] <gamax92> and then because of random component list order, if you reassign to fix conflicts then you randomly have the wrong ID's
L956[14:16:38] <S3> well if instead of hashing you would have to check on boot and talk to the MMU to set it up. you would have to make it not dependent on numbers persistently
L957[14:16:46] <S3> and somehow create a little database of components
L958[14:17:27] <S3> another method which I have not thought of until now
L959[14:17:40] <S3> is to completely hide UUIDs from you unless you ask for them, and make them unnecessary.
L960[14:18:01] <S3> the MMU internally assigns ID numbers to the devices themselves in the order they come, and can raise an IRQ when they are added or removed.
L961[14:18:20] <gamax92> an IRQ bitfield?
L962[14:18:22] <S3> and you talk to the MMU with that 8 bit id which is in order
L963[14:18:36] <S3> well the MMU can have a flags register that is exposed to main memory
L964[14:18:41] <S3> or something
L965[14:18:41] ⇦ Quits: Jezza (~Jezza@185.44.151.99) (Ping timeout: 198 seconds)
L966[14:19:05] <S3> so you can check in your IRQ vector, and a bit might mean that there was a component state change
L967[14:19:08] <gamax92> this is for mapping components into memory and all that, right?
L968[14:19:08] <S3> or something
L969[14:19:17] <S3> right
L970[14:19:58] <S3> the problem is it needs to be easy, reliable, and generic enough to work with any component
L971[14:20:16] <gamax92> the last thing doesn't need to be true
L972[14:20:27] <S3> hrm
L973[14:20:38] <gamax92> can easily just come up with custom mappings for components and then use generic if there is no mapping
L974[14:20:55] <S3> ... I have an idea.. this may work
L975[14:21:02] <gamax92> remember, components were made to work in Lua and have lua easy usage
L976[14:21:15] <S3> what if we were able to manage the MMU from a config file outside of minecraft, and define components manually?
L977[14:21:27] <S3> where they shoed up in MMU space, what functions they have, etc
L978[14:21:31] <S3> like an INF file
L979[14:21:40] <gamax92> ... no?
L980[14:21:48] <S3> when a new component is made you have to write one but this way we don't have to be generic?
L981[14:21:48] <gamax92> that sounds like an awful idea
L982[14:21:54] <S3> it is a bit evil
L983[14:22:41] <gamax92> S3: okay but here'
L984[14:22:44] <S3> the downside to this approach is that everyone's server could have a different set of configurations
L985[14:22:46] <S3> or missing components
L986[14:23:01] <S3> the location of these components to your program will not be reliable
L987[14:23:05] <S3> or their existence
L988[14:23:17] <gamax92> here's the thing, all these ways are nice and all, but how would you make an memory mapped api for this
L989[14:23:42] <gamax92> like is there 32 bytes of memory to write a name to and then you flag a bit?
L990[14:23:52] <gamax92> is there one byte of memory that you write to several times to input a name?
L991[14:23:54] ⇦ Quits: Jezza_ (~Jezza@185.44.151.99) (Quit: Leaving)
L992[14:24:10] <S3> I would probably go for the way iirc the NES PPU functions worked
L993[14:24:18] <gamax92> ... what?
L994[14:24:19] <S3> where you have a bottomless byte for sending the name
L995[14:24:26] <S3> you bytebang it
L996[14:24:26] <asie> bottomless byte!
L997[14:24:26] <gamax92> ...... what?
L998[14:24:30] <S3> so here look
L999[14:24:35] <S3> to reduce memory usage
L1000[14:24:45] <S3> you have a string in memory of a function you wanted to call
L1001[14:24:56] <S3> so you load X with 0 and set your index there
L1002[14:25:25] <gamax92> bottomless byte
L1003[14:25:25] <gamax92> ?
L1004[14:25:29] <S3> and then loop and byte bang the name into the same memory address of that component to call that component's function. That is if you wanted to use the "function names". however, you could also register them to opcodes
L1005[14:25:58] <S3> but if you wanted it to be strings, I wouldn't make a giant 32 byte space for a name to put into
L1006[14:26:28] <S3> I'd just use one bute and load one character at a time then send a command to call it. of course, you still have to consider sending of arguments
L1007[14:26:30] <gamax92> you realize that inconsistent ID's per computer vs consistent names per computer.
L1008[14:26:59] <gamax92> S3 no, there wouldn't be arguments
L1009[14:27:02] <S3> well that's just part of the battle. It would be nice if the IDs would be all the same
L1010[14:27:09] <gamax92> it'd be custom mappings into mempory
L1011[14:27:24] <S3> or at least if the IDs were reliable enough that you can organize them at boot time and remember them
L1012[14:27:33] <S3> independant on the server you're on
L1013[14:28:12] <gamax92> I've thought about a super generic component thing where you'd input names, arguments, and blah blah blah, it's not practical
L1014[14:28:20] <S3> every single way I've come up with so far has huge pitfalls
L1015[14:28:42] <gamax92> asie: input is welcome btw :P
L1016[14:29:54] <S3> also
L1017[14:30:14] <S3> I can't think of any on the top of my head, but are there any component functions that require tabels for arguments?
L1018[14:30:24] <gamax92> uuuh
L1019[14:31:06] <DeanIsaKitty> Apparently there's a bit of snow in the big apple again. https://www.youtube.com/watch?v=qRv7G7WpOoU
L1020[14:31:07] <MichiBot> DeanIsaKitty: SNOWBOARDING WITH THE NYPD | length: 2m 42s | Likes: 161608 Dislikes: 754 Views: 671065 | by CaseyNeistat
L1021[14:32:34] <S3> DeanIsaKitty: lol
L1022[14:33:07] <S3> gamax92: because then you have to think about how to convert arrays that are represented in memory somehow compatible with Lua
L1023[14:33:25] <S3> and when I think of array's I just thing of *(a + b) :P
L1024[14:36:21] <S3> DeanIsaKitty: here's what you want:
L1025[14:36:25] <Izaya> damn global cooling
L1026[14:36:34] <S3> a[b] = *(a + b)
L1027[14:36:40] <S3> = *(b + a)
L1028[14:36:43] <S3> = b[a]
L1029[14:37:02] <DeanIsaKitty> S3: Proxying to gamax92
L1030[14:37:14] <S3> lol
L1031[14:37:16] <gamax92> :.
L1032[14:37:18] <gamax92> dfsd
L1033[14:37:23] <S3> Izaya: interestingly enough
L1034[14:37:29] <gamax92> I'm trying to write a robot
L1035[14:37:50] <S3> this year is an el nino which is a phenomemon that has nothing to do with global waarming, and gives New england shittons of snow
L1036[14:37:53] <S3> :P
L1037[14:38:00] <DeanIsaKitty> Izaya: You can't quite do that in Australia, can you? :P
L1038[14:38:12] <Izaya> we have sand, it has a similar effect
L1039[14:38:25] *** kirby|gone is now known as mrkirby153
L1040[14:38:28] ⇦ Quits: Corded (discord@2607:5300:60:51da::c0f:fee) (Remote host closed the connection)
L1041[14:38:36] ⇨ Joins: Corded (discord@2607:5300:60:51da::c0f:fee)
L1042[14:38:36] zsh sets mode: +v on Corded
L1043[14:39:34] *** mrkirby153 is now known as kirby|gone
L1044[14:39:53] <CompanionCube> Izaya, http://www.enlightenment.org/ss/e-56a524cade8215.57341403.png my emacs
L1045[14:40:03] <DeanIsaKitty> Izaya: https://www.youtube.com/watch?v=TjigPi3aKks ?
L1046[14:40:04] <MichiBot> DeanIsaKitty: Snowmobiling at Glamis Sand Dunes 1!! | length: 1m 49s | Likes: 104 Dislikes: 31 Views: 160935 | by Ryan LaMeer
L1047[14:41:18] <DeanIsaKitty> CompanionCube: http://imgur.com/pNEwG8S my vim
L1048[14:42:19] <Izaya> http://i.imgur.com/sOqqA6F.png my boring but functional vim
L1049[14:42:23] <S3> looks liek my emacs
L1050[14:42:23] <S3> :P
L1051[14:42:30] <CompanionCube> which
L1052[14:43:04] <S3> CompanionCube: is that wombat?
L1053[14:43:10] <DeanIsaKitty> CompanionCube: Whats the startup time on emacs btw?
L1054[14:43:24] <CompanionCube> DeanIsaKitty, best way to measure it?
L1055[14:43:28] <CompanionCube> S3, is what wombat?
L1056[14:43:32] <Mimiru> corded is fixed again..
L1057[14:43:33] <S3> that theme
L1058[14:43:41] <CompanionCube> for the modeline or the main text area/
L1059[14:43:43] <CompanionCube> ?
L1060[14:43:51] <S3> asie: yeah we do definately need reliable component memory mapping
L1061[14:44:08] <DeanIsaKitty> CompanionCube: I'm just doing `time vim test.c +wq` because that initializes the most plugins for me.
L1062[14:44:12] <S3> because gamax92 and I are running out of ideas
L1063[14:44:26] <CompanionCube> the modeline colours/theme is spaceline with some tweaked faces
L1064[14:44:55] <CompanionCube> the colours of the tweaked faces were inspired by my zsh theme/config
L1065[14:45:58] <asie> Sangar: any news on TIS-CapabiliD?
L1066[14:46:42] <CompanionCube> S3, if you want I'll push the latest version of my .emacs.d to github
L1067[14:47:16] <Sangar> asie, not yet, but i have async mesh baking in my side project now, so i guess this is a good time to take a break from that :P
L1068[14:47:48] <Sangar> asie, where can i get a charset to test with, and which forge version do i want to upgrade to (if any)?
L1069[14:48:00] <asie> Sangar: forge at least 1718
L1070[14:48:08] <asie> wait
L1071[14:48:10] <asie> side project?
L1072[14:48:10] <S3> !!!
L1073[14:48:18] <S3> Sangar may also have suggestions
L1074[14:48:41] <gamax92> Sangar: The Experience Upgrade says it can increase storage capacity, is this worth it over a Battery?
L1075[14:49:08] <asie> Sangar: http://asie.pl/Charset-0.2tis-deobf.jar
L1076[14:49:15] <Sangar> the unity thing
L1077[14:49:16] <Sangar> thanks
L1078[14:49:40] <Sangar> gamax92, can't remember precisely, iirc yes tho
L1079[14:49:42] <Kodos> gamax92: I would assume it depends on what you have the robot doing
L1080[14:49:50] <gamax92> mining a lot
L1081[14:49:54] <Kodos> Then yeah
L1082[14:50:44] <Izaya> http://i.imgur.com/TLwjcwG.png
L1083[14:51:45] <CompanionCube> DeanIsaKitty, \emacs --eval "(kill-emacs)" 5.26s user 0.32s system 69% cpu 8.038 total
L1084[14:52:07] <asie> Sangar: you should just be able to getCapability(IBundledEmitter capability, side)
L1085[14:52:08] <CompanionCube> but that includes spawning the GUI frame
L1086[14:52:17] <asie> it will automatically do the Math.max()ing for you :D
L1087[14:52:19] <Kodos> asie control panels when =D
L1088[14:52:22] <asie> Kodos: D=
L1089[14:53:07] <Kodos> Also, Sangar, while you're here, any chance we could get a boolean setting for 3D prints on whether the redstone signal is 'strong' or not
L1090[14:53:12] <CompanionCube> \emacs -nw --eval "(kill-emacs)" 4.70s user 0.12s system 69% cpu 6.968 total
L1091[14:53:13] <Kodos> I can't use a print as a door lever
L1092[14:53:59] <Sangar> allright, sDecW done, let's see...
L1093[14:55:03] <DeanIsaKitty> CompanionCube: Ok, cool thanks
L1094[14:55:04] <Sangar> bleh, strong redstone is annoying, needs manual block updates :X eh. idk. make an issue as a reminder i guess.
L1095[14:55:11] <CompanionCube> DeanIsaKitty, although
L1096[14:55:31] <CompanionCube> normal emacs terminal usage is much faster because I use systemd to run a background emacs daemon
L1097[14:55:54] <DeanIsaKitty> Wait what? Emacs has a background deamon??
L1098[14:56:07] <CompanionCube> yes
L1099[14:56:43] <DeanIsaKitty> oh
L1100[14:56:47] <CompanionCube> not enabled by default, but if it's explicitly started from the command line (--daemon) or from elisp using the server-start function
L1101[14:57:21] <CompanionCube> then you can use emacsclient to connect to a running emacs daemon
L1102[14:58:31] <CompanionCube> emacsclient --eval "(kill-emacs)" 0.00s user 0.00s system 0% cpu 0.107 total
L1103[14:58:43] <CompanionCube> followed by systemd restarting the daemon
L1104[15:00:09] <CompanionCube> DeanIsaKitty, got all that?
L1105[15:00:38] <DeanIsaKitty> Yes
L1106[15:02:07] <Sangar> asie, tried to understand what you wrote earlier but don't :X where's this 'hasCapability' you mentioned?
L1107[15:02:26] <asie> in the TileEntity
L1108[15:02:28] <asie> TileEntity.hasCapability()
L1109[15:02:36] <asie> you must be on a relatively recent Forge
L1110[15:02:36] <Sangar> ahhh
L1111[15:02:44] <Sangar> too obvious
L1112[15:03:47] ⇦ Quits: Vexatos (~Vexatos@p200300556E6CB792287FE5E270FB1736.dip0.t-ipconnect.de) (Quit: I guess I have to go now. Bye ✔)
L1113[15:03:59] <Sangar> null is still 'center' for freestanding wires?
L1114[15:04:02] <DeanIsaKitty> CompanionCube: Do you still have your atom installed?
L1115[15:04:07] <CompanionCube> no
L1116[15:04:10] <DeanIsaKitty> Ok
L1117[15:04:33] <CompanionCube> in hindsight, one of atom's bugs may have helped to steer me away from it
L1118[15:04:41] <CompanionCube> and towards vim/emacs
L1119[15:06:02] <DeanIsaKitty> CompanionCube: What did drive you away?
L1120[15:06:34] <CompanionCube> DeanIsaKitty, startup times as well as https://github.com/atom/atom/issues/8418
L1121[15:08:04] <S3> btw
L1122[15:08:06] <DeanIsaKitty> CompanionCube: Heh, figures
L1123[15:08:09] <CompanionCube> Atom's a good editor, it'd be even better though if it could run in my Firefox without spawning a chromium renderer
L1124[15:08:17] <S3> how is the ARM thumb OC project?
L1125[15:08:34] <DeanIsaKitty> S3: Which one? There are like three people doing ARM stuffs
L1126[15:08:52] <S3> I dunno
L1127[15:08:55] <CompanionCube> DeanIsaKitty, I've had weirder errors
L1128[15:08:56] <S3> which one is the best?
L1129[15:09:02] <S3> there's many ARM chips out there
L1130[15:09:06] <CompanionCube> One of which particularly interesting
L1131[15:09:25] <DeanIsaKitty> CompanionCube: I just don't agree with your statement that atom is a good editor. :)
L1132[15:09:38] <CompanionCube> DeanIsaKitty, my weirdest related error so far
L1133[15:09:43] <Kodos> I only want strong signals because otherwise iron doors don't close when you shut the print 'off'
L1134[15:09:49] <CompanionCube> has been when I canceled Andoird Studio's setup wizard
L1135[15:09:59] <Kodos> In certain cases
L1136[15:10:04] <CompanionCube> and Enlightenment began to exhibit panel rendering issues before segfaulting
L1137[15:10:07] <gamax92> Sangar: is it posssible to get the durability of a robot's tool instead of it being an arbitrary percentage?
L1138[15:10:46] <DeanIsaKitty> CompanionCube: Why does your WM/DE segfault if you do *anything*? Why do people use software that segfaults under normal use?
L1139[15:10:50] <S3> this one is dead: https://oc.cil.li/index.php?/topic/572-mc1710oc15xarm-architecture-extremely-alpha/
L1140[15:11:28] <CompanionCube> DeanIsaKitty, it's likely some form of race condition considering it wasn't reproducible under valgrind
L1141[15:11:51] <Inari> wouldnt a "max" function ( max(a,b) => retunr is the bigger number) in arm7 basically bel ike... cmp r0, r1 movlt r0, r1 mov pc, lr ?
L1142[15:12:10] <CompanionCube> other than that it doesn't tend to segfault
L1143[15:12:51] <DeanIsaKitty> Doesn't tend to? I accidentaly remapped part of Xlib while running my WM and it didn't segfault <.<
L1144[15:13:32] <CompanionCube> by doesn't tend to I mean 'I can't remember the last time it happened'
L1145[15:13:43] <Sangar> oh nvm
L1146[15:14:35] * CompanionCube has blamed segfaults in the path on the fact that modules are shared libraries and as such can take down the entire process
L1147[15:16:04] <greaser|q> oooh we're talking about arm
L1148[15:16:06] <greaser|q> arm is fun
L1149[15:16:15] <CompanionCube> a lisp arch would be nice
L1150[15:16:36] <gamax92> TIS-3D arch for OC ;3
L1151[15:16:49] <greaser|q> or just TIS-3D arch for TIS-3D
L1152[15:17:17] <greaser|q> it's amusing how you're talking about ARM while i'm making an ARM emulator purely so i can implement a possible GPU microcode
L1153[15:17:39] <CompanionCube> DeanIsaKitty, what do you think of guix/nix?
L1154[15:17:42] <greaser|q> the point of the microcode is so you can send smaller packets down the wire and have them decoded
L1155[15:17:58] <S3> hm
L1156[15:18:13] <S3> so it does look like there has been some experimentation besides gamax92's 6502 and ARM
L1157[15:18:25] <S3> I wonder if anyone ever made a decent z80 or even better z180
L1158[15:18:33] <greaser|q> right now i'm just setting up gcc for ARM, binutils took 45 seconds to build, i expect gcc to take 45 hours
L1159[15:18:42] <S3> the z180 was awesome
L1160[15:18:51] <greaser|q> also i have made Z80 emulators before, the most success i've had was modifying a broken one to work
L1161[15:18:58] <greaser|q> Z80's actually bloody horrible to emulate
L1162[15:18:59] <S3> lol
L1163[15:19:07] <S3> yes it's kinda weird
L1164[15:19:11] <greaser|q> if anyone tells you otherwise, mention bits 3 and 5 of the flags
L1165[15:19:14] <S3> z180 is probably even harder
L1166[15:19:21] <greaser|q> even without factoring those in it's still horrible
L1167[15:20:23] <greaser|q> also i'm really hoping gcc 5.3.0 fixes the buildchain bug where if you try to make a C++ cross-compiler it just tells you that it can't run the executables it makes
L1168[15:20:29] <DeanIsaKitty> CompanionCube: Hurd is useless :)
L1169[15:20:33] <S3> wait what?
L1170[15:20:39] <S3> what's wrong with bits 3 and 5?
L1171[15:20:51] <CompanionCube> DeanIsaKitty, Hurd 1.0 will be released approximately never
L1172[15:20:52] <S3> implementing that sounds quite trivial
L1173[15:20:59] <CompanionCube> but GuixSD is an actual real, working thing
L1174[15:22:07] <greaser|q> S3: worst case: BIT n,(Ix/y + d) gets the values from an undocumented temporary register
L1175[15:22:16] <S3> heh
L1176[15:22:25] <greaser|q> also, sometimes bits 3 and 5 come from bits 3 and 5 of a result, sometimes it's from bits 3 and 1
L1177[15:22:33] <S3> I'm not quite sure why anyone would need those flags really
L1178[15:22:36] <greaser|q> sometimes they get mangled in transit e.g. INIR/OTIR
L1179[15:22:49] <greaser|q> S3: because that's what the Z80 does and it pays to be accurate
L1180[15:22:50] <asie> S3: there's probably some demo out there which uses them
L1181[15:22:54] <S3> you know one of my professors was working at zilog when they were rolling these chips out?
L1182[15:22:59] <DeanIsaKitty> CompanionCube: It has absolutely nothing working for it. There's no advantage of using Guix over any Distro.
L1183[15:23:01] <greaser|q> there's at least one game that relies on them being accurate
L1184[15:23:12] <S3> maybe you should ask him what they were thinking :P
L1185[15:23:14] <greaser|q> if they're unemulated the monsters only go in one direction
L1186[15:23:26] <greaser|q> S3: maybe you should because you're the one who knows him
L1187[15:23:41] <S3> greaser|q: his friend at zilog is the guy who founded xilinx.
L1188[15:23:52] <greaser|q> oooh nice
L1189[15:23:55] <S3> yeah
L1190[15:24:13] <S3> we talk quite a bit after class, he's a pretty cool guy
L1191[15:24:48] <S3> I'm currently working on creating a PCB board for either a 6502 or an msp430
L1192[15:25:07] <S3> so that I can port forth to it and put it in one of the weather baloons for our class
L1193[15:25:15] <S3> the idea is;
L1194[15:25:32] <S3> you dial the weather baloon with your laptop or so via a tnc on a radio
L1195[15:25:38] <S3> then it drops you into a FORTH REPL
L1196[15:25:42] <CompanionCube> DeanIsaKitty, so what about something very smilar to this? https://nixos.org/nixos/screenshots/nixos-grub.png
L1197[15:25:50] <greaser|q> 6502 isn't terribly hard to emulate, i'd rather emulate that than a Z80
L1198[15:25:53] <S3> and from there you get all the nifties of forth, but also a bunch of words for reading things like pressure and temp sensors, etc
L1199[15:26:01] <greaser|q> ooh nice
L1200[15:26:03] <S3> greaser|q: gamax92 has a working 6502 arch
L1201[15:26:04] <S3> for oc
L1202[15:26:15] <greaser|q> ah awesome, so it *is* possible
L1203[15:26:18] <S3> but we are banging our heads on it
L1204[15:26:27] <S3> the problem is, and we would love your input
L1205[15:26:37] <S3> is that we can't find a good way to map components into memory and call functions
L1206[15:26:40] <DeanIsaKitty> YT allows me to tell it that I don't give the slightest of fucks about LinusTechTips. Fucking finally! \o/
L1207[15:26:41] <gamax92> interfacing with components and signals in a practical way
L1208[15:26:42] <S3> in a generic way
L1209[15:26:49] <gamax92> S3 FUCKING HELL
L1210[15:26:53] <S3> lol
L1211[15:26:57] <gamax92> stop with the generic shit
L1212[15:27:07] <S3> I did that to grab your attention
L1213[15:27:08] <S3> :D
L1214[15:27:10] <S3> but yeah what he said
L1215[15:27:15] <DeanIsaKitty> generic everything~
L1216[15:27:48] <Inari> ComponentGeneric<InterfaceGeneric<AbstractSimpleInterfaceImplementation<[....]
L1217[15:27:57] <Kodos> sudo
L1218[15:27:59] * Kodos shrugs
L1219[15:28:00] <greaser|q> are there nedocomputers interfaces for all the components?
L1220[15:28:00] <S3> greaserbasically two problems
L1221[15:28:11] <Kodos> I thought Nedo was dead
L1222[15:28:11] <S3> what is a nedocomputer
L1223[15:28:33] <CompanionCube> Inari, I see that
L1224[15:28:36] <S3> oh that
L1225[15:28:36] <DeanIsaKitty> Inari: use a proper language already! xP
L1226[15:28:42] <CompanionCube> and I raise you a AbstractSingletonProxyFactoryBean
L1227[15:28:54] <greaser|q> some weirdass computer mod that has a much rawer component API
L1228[15:28:58] <greaser|q> OSLT
L1229[15:29:05] <S3> huh.
L1230[15:29:06] <greaser|q> i've never used it, i've just read computronics docs
L1231[15:29:14] <asie> greaser|q: NedoComputers is 6502 the mod
L1232[15:29:15] <Inari> DeanIsaKitty: like what
L1233[15:29:17] <asie> or rather not
L1234[15:29:18] <gamax92> ~w fs
L1235[15:29:18] <asie> it uses the J1 FORTH CPU
L1236[15:29:19] <ocdoc> http://ocd.cil.li/api:filesystem
L1237[15:29:22] <asie> which is obscure
L1238[15:29:24] <asie> but it's very buggy
L1239[15:29:31] <asie> but yeah uh nedocomputers rip
L1240[15:29:31] <greaser|q> ah righty
L1241[15:29:32] <S3> lol forth cpu
L1242[15:29:51] <DeanIsaKitty> Inari: A language that is build to emphasize polymorphism. Haskell, Scala, Rust, ... <.<
L1243[15:29:53] <greaser|q> either way you could come up with some form of PCI-like mapping
L1244[15:29:55] <S3> did they use it to create a C interpreter in Forth? :P
L1245[15:29:56] <Inari> the only propoer language is the machine language for your target platform
L1246[15:30:12] <greaser|q> except use, say, 16 or 32 bytes for the component type ID
L1247[15:30:28] <greaser|q> if you've ever used PCI you'll notice that it's fantastic
L1248[15:30:37] <S3> I always stayed away from PCI
L1249[15:30:40] <greaser|q> if you think it's awful, try ISA-PnP, that's genuinely horrible
L1250[15:30:46] <asie> the component type ID is already 16 bytes
L1251[15:30:49] <asie> wait, not type
L1252[15:30:51] <S3> greaser|q: mapping is only half the battle
L1253[15:30:53] <greaser|q> not only do you have to bit-bang, you have to delay properly
L1254[15:31:04] ⇨ Joins: Nachtara (~Nachie@50-83-108-134.client.mchsi.com)
L1255[15:31:06] <S3> greaser|q: not only do you have top be able to map components
L1256[15:31:17] <S3> but you have to be able to call its functions and reliably pass arguments to them
L1257[15:31:49] <greaser|q> another alternative is to have a built in network-card-esque thing
L1258[15:32:22] <S3> I don't think thatl make a difference
L1259[15:32:34] <Kodos> Can't wait for Wednesday
L1260[15:32:39] <S3> considering the idea is to build an MMU to map these, wether it is a card or not
L1261[15:32:41] <greaser|q> form a packet, write the address to a 16-bit MMIO register, write the length to another 16-bit MMIO register, write a start command or some shit like that
L1262[15:32:41] <DeanIsaKitty> Kodos: ?
L1263[15:32:48] <Kodos> Mum gets back from Hawaii
L1264[15:32:51] <Kodos> Been gone almost 2 weeks
L1265[15:32:52] <DeanIsaKitty> Ah
L1266[15:32:55] ⇨ Joins: surferconor425|Cloud (uid77899@id-77899.tooting.irccloud.com)
L1267[15:33:35] <greaser|q> CPU is virtually halted while the packet is read, then you can read a 16-bit MMIO register to get the expected length, and then have a command to read the result
L1268[15:33:57] <greaser|q> checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
L1269[15:34:19] <greaser|q> ^ this buildchain bug is way too fucking old and it should have been fixed by now - this is gcc 5.3.0, latest version
L1270[15:34:22] <S3> greaser|q: we still have the issue of how we serialize between lua datatypes and vice versa
L1271[15:34:29] <S3> in a practical way
L1272[15:34:56] <S3> for example
L1273[15:35:02] <S3> what if a function we want to call wants a table
L1274[15:35:13] <S3> or worse
L1275[15:35:18] <S3> a table of table of tables
L1276[15:35:49] <FatalDistraction> Dude, you're getting too deep into the thought-zone for me.
L1277[15:35:57] <S3> lol
L1278[15:36:01] <DeanIsaKitty> Who's that now? ^
L1279[15:36:15] <greaser|q> could basically have a hardware API to some of the Lua API
L1280[15:36:28] <FatalDistraction> Anyone here familiar with the Inventory Controller API?
L1281[15:36:39] <S3> greaser|q: I\ thought of this, except that lua tables are NOT in memory arrays
L1282[15:36:48] <S3> it gets fugly
L1283[15:36:57] <S3> and not every element has to be the same size
L1284[15:37:07] <S3> they are more like structures without structure
L1285[15:37:10] <greaser|q> memory arrays can be loaded into a secondary arg stack when forming the lua stack
L1286[15:37:31] <greaser|q> so you'd push your string into there using a few MMIO registers and a command
L1287[15:37:31] <S3> non list like tables can certainly be resembled as structs
L1288[15:37:55] <greaser|q> or just push them onto the lua stack and have a few extra functions to read the strings and whatnot off it
L1289[15:38:31] <S3> lol
L1290[15:38:42] <S3> if we went evil and did the INF like files gamax92 we could have it parse OCDOC
L1291[15:38:43] <S3> :P
L1292[15:38:46] <S3> and generate them
L1293[15:38:51] <S3> super evil :D
L1294[15:38:59] <greaser|q> basically, in C: L_ADDR = &buf; L_SIZE = strlen(&buf); L_CMD = CMD_PUSH_STRING;
L1295[15:40:51] <greaser|q> and to read: L_CMD = CMD_TO_STRING; xbuf = alloc_buffer(L_SIZE); L_ADDR = xbuf; L_CMD = CMD_META_PULL_STRING;
L1296[15:43:20] <S3> could just place a pointer to a struct somewhere with the arguments to the IOMMU
L1297[15:43:34] <S3> if it was persistent enough
L1298[15:44:10] *** Tiktalik is now known as potato
L1299[15:45:01] <Kodos> Huh, there are quite a few nicks that you would think were registered but are not
L1300[15:45:12] <S3> struct copo_op { uint_128 uuid, ... }
L1301[15:45:42] <S3> and that's supposed to be a ;
L1302[15:45:47] ⇦ Quits: Nachtara (~Nachie@50-83-108-134.client.mchsi.com) (Read error: Connection reset by peer)
L1303[15:46:44] <S3> hmm, nvm that
L1304[15:47:56] <S3> so greaser|q why a 16 bit register in the IOMMU?
L1305[15:49:30] ⇦ Quits: Keanu73 (~Keanu73@host-92-28-70-249.as13285.net) (Quit: Gotta go to bed or something. See ya!)
L1306[15:53:19] <greaser|q> S3: 16-bit register is so you can basically DMA any string data you need
L1307[15:53:27] <greaser|q> do you know how the lua stack works?
L1308[15:55:17] <gamax92> oh jeez, energy costs :/
L1309[15:55:32] <gamax92> I have to factor that into my program now that we actually have power mods on our server
L1310[15:56:01] <S3> IMA?
L1311[15:56:13] <S3> greaser|q: yes, variably
L1312[15:56:19] <S3> I've used Lua's C API before
L1313[15:56:21] ⇨ Joins: Nachtara (~Nachie@50-83-108-134.client.mchsi.com)
L1314[15:56:45] <greaser|q> basically all you need to do is provide access to that and some way to pass strings between the CPU and the stack
L1315[15:56:53] <greaser|q> and a way to execute commands
L1316[15:57:09] <greaser|q> in order to access things in there you can push a string and then use lua_gettable
L1317[15:57:21] <greaser|q> you'd also have another MMIO reg to provide an index for that
L1318[15:57:53] <S3> controlling the lua stack from 6502? :P
L1319[15:58:14] <gamax92> umm
L1320[15:58:22] <gamax92> There is no Lua stack
L1321[15:58:25] <gamax92> there is no Lua
L1322[15:58:34] <gamax92> on the 6502 arch it's just a 6502
L1323[15:58:35] * Mimiru stacks Lua on gamax92
L1324[15:58:57] <gamax92> I guess if you want to make a virtual stack??
L1325[16:01:24] <greaser|q> gamax92: if you don't know about the lua stack then clearly you haven't use the lua c api
L1326[16:01:35] <greaser|q> it's a stack for the C API to interface the VM
L1327[16:01:39] <gamax92> greaser|q: No I'm saying how is this relevant,
L1328[16:02:00] <greaser|q> because i get the feeling that the way that you call components is to use the lua stack
L1329[16:02:10] <gamax92> there is no lua stack, lua isn't running
L1330[16:02:27] <greaser|q> then you can emulate the interface or something like that
L1331[16:02:55] <greaser|q> although if it needs a table, erm... you'd have to provide some form of DMA
L1332[16:03:00] <Sangar> asie, which mcmp?
L1333[16:03:26] <gamax92> greaser|q: the mmu I have in mind at the minimal would have memory copying and compacting/uncompacting features
L1334[16:03:50] <asie> Sangar: 1.0.5 works but is a bit wonky
L1335[16:03:51] <gamax92> compacting/uncompacting being read one address X times and and spread it out over >Y
L1336[16:04:13] <gamax92> or read X bytes from Y to Y+X-1 and write it at address Z several times
L1337[16:04:21] <asie> i use http://asie.pl/mcmp105deobf.jar
L1338[16:04:26] <Sangar> thanks
L1339[16:05:14] ⇦ Quits: Turtle (~SentientT@82-171-92-73.ip.telfort.nl) (Quit: Nettalk6 - www.ntalk.de)
L1340[16:05:31] ⇨ Joins: Doty1154 (~Doty1154@2601:648:8002:c1a1:6c3a:f2f5:ffe7:593d)
L1341[16:06:29] *** Tedster is now known as Guest27745
L1342[16:06:29] ⇦ Quits: Guest27745 (~Tedster@host86-170-31-233.range86-170.btcentralplus.com) (Killed (chaos.esper.net (Nickname regained by services)))
L1343[16:06:32] ⇨ Joins: Tedster (~Tedster@host86-170-31-233.range86-170.btcentralplus.com)
L1344[16:06:33] <gamax92> Sangar :|
L1345[16:06:43] <gamax92> Why does the geolyzer have to use floats for distance
L1346[16:08:43] <Izaya> The J1 CPU looks cool
L1347[16:08:52] <Kodos> #lua return 64 ^ 4
L1348[16:08:52] <|0xDEADBEEF|> > 16777216.0
L1349[16:10:00] <vifino> Izaya: What does it do?
L1350[16:11:08] <Sangar> asie, it's working \o/ on the first start. i'm scared.
L1351[16:11:54] <Kodos> You know the rules, if it works the first time, there's something wrong that needs fixed
L1352[16:12:09] <asie> Sangar: great!
L1353[16:13:45] <Sangar> build is up, 0.8.3
L1354[16:14:32] <Sangar> gamax92, idk, reasons?
L1355[16:22:14] <_habnabit> oc doesn't support https, right?
L1356[16:23:03] <Sangar> yes it does
L1357[16:24:22] <S3> why wouldn't it?
L1358[16:24:42] <_habnabit> oh, it does?
L1359[16:24:46] <Sangar> not to be confused with ssl via *tcp sockets*, which is indeed not implemented
L1360[16:24:51] <_habnabit> right
L1361[16:24:53] <gamax92> Sangar: and should be
L1362[16:24:55] <gamax92> :D
L1363[16:24:59] <Sangar> go for it :P
L1364[16:25:06] <gamax92> I'm writing a mining robot
L1365[16:25:19] <Sangar> good
L1366[16:25:22] <FatalDistraction> How would I utilize ECC (ECDHE) using the T3 Data Card?
L1367[16:25:33] <Sangar> because mine's derpy and i'm too lazy to figure out why :X
L1368[16:25:47] <gamax92> I asked about the float thing because I'm seeing if I can integrate the geolyzer noise algorithm into my scans
L1369[16:26:36] <gamax92> which ... might not be a good idea, considering scans take up energy ...
L1370[16:26:36] <_habnabit> oh, it uses java.net.URL.openConnection
L1371[16:26:45] <_habnabit> ok that makes sense then
L1372[16:26:57] <_habnabit> i just remember reading over the tcp code and not seeing any tls, so
L1373[16:27:10] <gamax92> I guess I could always just ask it to recharge itself after doing the scans.
L1374[16:28:23] <gamax92> ... no I can't, the robot has to be off doesn't it
L1375[16:28:25] *** Keridos|away is now known as Keridos
L1376[16:29:02] <Inari> it has to?
L1377[16:29:23] <gamax92> I've never used energy before :P
L1378[16:29:24] <_habnabit> also i wonder if there's any nacl/libsodium for java 'cause box/secretbox would be way better than anything already on data cards........
L1379[16:29:28] <gamax92> no clue how any of this works
L1380[16:29:38] <Inari> Sangar: derpy how?
L1381[16:30:22] <Inari> Sangar: oh yours isnt even on openprogams xD
L1382[16:30:24] <Sangar> Inari, in specific configurations when returning screws up the location it thinks it's at by one
L1383[16:30:29] <Sangar> isn't it? idk
L1384[16:30:31] <Sangar> it's on github
L1385[16:30:45] <Inari> ah yeah
L1386[16:31:02] <Sangar> ftr http://git.io/vkghl that one
L1387[16:31:07] <Sangar> if someone wants to fix it :P
L1388[16:31:43] <Inari> local left = false, local right = not left
L1389[16:31:45] <Inari> somehow i find that amusing
L1390[16:32:05] <Sangar> me too :3
L1391[16:34:29] <Izaya> It took me too long to realise I could do x = not x
L1392[16:35:05] <Inari> Sangar: but it thinks distanceToOrigin is 0 even though it shoudl be 1?
L1393[16:36:07] <Sangar> idk, iirc when going back into a main shaft it sometimes went down once too often or something like that
L1394[16:36:10] <Sangar> been too long :X
L1395[16:36:33] <Inari> i really need to write that lua debugger i wanted to write
L1396[16:36:33] <Inari> :p
L1397[16:37:30] ⇦ Quits: ^v4 (~ping@c-68-41-215-101.hsd1.mi.comcast.net) (Ping timeout: 198 seconds)
L1398[16:39:52] ⇨ Joins: ^v4 (~ping@c-68-41-215-101.hsd1.mi.comcast.net)
L1399[16:45:46] ⇨ Joins: sciguyryan (~sciguyrya@95.211.203.213)
L1400[16:46:05] <gamax92> Sangar: yes this is easy
L1401[16:46:50] <gamax92> if current_minimum + maximum_difference < target, it cannot possibly be the target
L1402[16:47:05] <gamax92> and current_maximum - maximum_difference > target, it cannot possibly be the target
L1403[16:47:11] *** amadornes is now known as amadornes[OFF]
L1404[16:47:43] <gamax92> for all the geolyzer scans closest to the robot that should save down on stuff
L1405[16:48:07] <Inari> i still also need to code my chromaticraft dungoen detection with drone :P
L1406[16:48:25] * vifino picks up Lizzy and carries her to bed
L1407[16:48:59] <Inari> lewd!
L1408[16:49:21] <gamax92> lewd~
L1409[16:50:54] * ds84182 picks up vifino and carries him to gamax92
L1410[16:51:04] *** ds84182 is now known as `-`
L1411[16:51:19] <vifino> wat
L1412[16:52:12] * Inari picks up gamax92 and vifino and throws them into bed wiht Lizzy
L1413[16:52:28] <vifino> ...
L1414[16:52:37] * gamax92 gets out of bed and goes back to mining robot
L1415[16:52:42] <Inari> lol
L1416[16:52:45] <Corded> * FatalDistraction Picks up bed and throws it to Inari
L1417[16:52:46] <Inari> "mining" eh
L1418[16:52:50] <Inari> thats what you call it now
L1419[16:53:09] * Inari is way too bored
L1420[16:53:16] <gamax92> Inari: if you really want to be lewd, the mining robot's name is Icarus
L1421[16:53:26] <Corded> * FatalDistraction Needs to figure out how ECC works
L1422[16:53:29] <Inari> im not sure how thats lewd
L1423[16:53:34] <gamax92> Inari: exactly
L1424[16:53:54] <Inari> @FatalDistraction: via an ECC library :D
L1425[16:53:56] <gamax92> that was the point, good job you're IQ am more bigger then 42
L1426[16:54:19] <FatalDistraction> @Inari Public keys and private keys confuse me ?
L1427[16:54:23] <Inari> meh im not sure what to really do xD
L1428[16:54:33] <g> pub/privkeys are easy
L1429[16:54:40] <g> just think of them like a padlock and the key to it
L1430[16:54:40] <Inari> @FatalDistraction: well thats not necessarily ECC but public key cryptography :P
L1431[16:54:46] <FatalDistraction> I'm just trying to figure out how to encrypt the 256-byte Data section of the EEPROM
L1432[16:54:51] <g> pubkey is your padlock, privkey is the key to the padlock
L1433[16:55:02] <g> eh, well, not like that
L1434[16:55:04] <Inari> or vice versa
L1435[16:55:15] <g> Inari, well no
L1436[16:55:21] <Inari> why not? :p
L1437[16:55:22] <g> the pubkey can never be the key to the padlock
L1438[16:55:30] <Inari> if you encryp twiht privkey it shoudl be?
L1439[16:55:35] <g> that's kind of the point of the pubkey
L1440[16:55:38] <g> nope, the privkey is still the key
L1441[16:55:45] <Inari> that is
L1442[16:55:54] <g> the privkey just contains the pubkey as well
L1443[16:56:00] <Inari> if you encrypt wiht privkey you decrypt wiht pubkey, if you encrypt wiht pubkey you decrypt with privkey
L1444[16:56:00] <g> you're actually still using the pubkey
L1445[16:56:01] <g> :P
L1446[16:56:19] <g> that sounds like some weird implementation
L1447[16:56:19] <Inari> or thats in RSA at least :P mabye its diff in ECC
L1448[16:56:42] <g> it doesn't make sense to me really
L1449[16:56:47] <Inari> why not?
L1450[16:56:52] <g> because it's not something you want to rely on
L1451[16:56:53] <g> brb
L1452[16:56:59] <Inari> in what way?
L1453[16:57:14] <FatalDistraction> So anyway, my end goal is to encrypt a floppy/HDD, then make it so that it isn't readable unless you have a key that's stored on the EEPROM, and the EEPROM is locked with a password.
L1454[16:57:51] <CompanionCube> encryption is difficult when the owner / admin of the server has ultimate power to copy and modify your data at any given time
L1455[16:58:21] <FatalDistraction> I just want to make sure that my OS can't be broken into, or read by anyone who doesn't have the password to the system.
L1456[16:58:26] <CompanionCube> also, since you can't hide program code it's even harder
L1457[16:58:41] <gamax92> since when can EEPROMs be locked with a password
L1458[16:58:59] <greaser|q> you can encrypt the key and have a hash for it
L1459[16:59:04] <FatalDistraction> ^
L1460[16:59:20] <FatalDistraction> There's the Code section, and the Data section
L1461[16:59:35] <g> Inari, okay, let's say we're trying to set up some encrypted comms
L1462[16:59:39] <FatalDistraction> Code storage is 4KB, Data is 256B
L1463[16:59:40] <gamax92> EEPROMs don't having password locking functionality?
L1464[16:59:42] <g> I'll send you my public key
L1465[16:59:59] <FatalDistraction> They do not gamaz
L1466[17:00:02] <FatalDistraction> *gamax
L1467[17:00:04] <g> under no circumstances will I encrypt data and send it to you in a way that you can decrypt it with that public key
L1468[17:00:06] <FatalDistraction> I'm making one.
L1469[17:00:11] <gamax92> how.
L1470[17:00:13] <gamax92> ;)
L1471[17:00:19] <g> instead you'd send me your public key and I'd use that
L1472[17:00:20] <CompanionCube> the eeprom is only 4k bytes
L1473[17:00:22] <g> now why do you think that is?
L1474[17:00:22] <Inari> privkey 2753, pubkey 17, modulus 3233 => 50^17 mod 3233 = 538 encrypted pubkey, decryp twith privkey: 538^2753 mod 3233 = 50 //// 50^2753 mod 3233 = 1270 encrypted with privkey, decrypt with pubkey: 1270^17 mod 3233 = 50
L1475[17:00:42] ⇦ Quits: Nachtara (~Nachie@50-83-108-134.client.mchsi.com) (Quit: geeettttttt dunked on!!!)
L1476[17:00:44] <Kodos> wat
L1477[17:00:50] <FatalDistraction> @CompanionCube EEPROM Code storage is 4KB, but there's a Data section that holds 256 bytes
L1478[17:01:12] <Inari> g: well you will for signing
L1479[17:01:55] <g> signing is different
L1480[17:01:59] <Inari> sure
L1481[17:02:04] <Inari> but its still pbukeys and privkeys
L1482[17:02:10] <g> you can't securely use a public key as a closely-held secret decryption key.
L1483[17:02:17] <FatalDistraction> Alright, let's get this clear. How do I encrypt a string with a password.
L1484[17:02:26] <Inari> well i can encrypt something with your pubkey
L1485[17:02:31] <Inari> and know only you can decrypt it
L1486[17:02:36] <g> not quite.
L1487[17:02:39] <DeanIsaKitty> Fatal, by encrypting it with some algorithm
L1488[17:02:46] <g> http://rdist.root.org/2007/05/01/rsa-public-keys-are-not-private/
L1489[17:03:06] <Inari> of course tehy arent, thats the point
L1490[17:03:08] <greaser|q> you could possibly use RC4 to encrypt and then do a hash
L1491[17:03:10] <FatalDistraction> :/
L1492[17:03:24] <DeanIsaKitty> g, RSA is not the only encryption out there :)
L1493[17:03:25] <greaser|q> if the hash of the decrypted data fails then it's probably not decrypted correctly
L1494[17:03:33] <g> DeanIsaKitty, yeah, but we're talking about RSA
L1495[17:03:33] <DeanIsaKitty> greaser|q: Please don't use RC4 <.<
L1496[17:03:40] <gamax92> #lua 0.1207*0.99
L1497[17:03:40] <|0xDEADBEEF|> > 0.119493
L1498[17:03:41] <greaser|q> why not?
L1499[17:03:42] <Inari> g: point is, if i use your pubkey to encrypt it
L1500[17:03:45] <FatalDistraction> Supported methods are sha256, ecdh, and md5
L1501[17:03:48] <Inari> the only thing that decrypt it is your privkey
L1502[17:03:53] ⇨ Joins: Tedster_ (~Tedster@95.211.171.171)
L1503[17:03:57] <greaser|q> it's simple and it's probably secure enough
L1504[17:04:01] <DeanIsaKitty> greaser|q: Because its insecure af and there are simpler, faster and smaller algorithms
L1505[17:04:01] <Inari> if you use your privkey to encrypt it, the only thing that decrypts it is your pubkey
L1506[17:04:07] <gamax92> those are hashing functions not encryption functions
L1507[17:04:13] <gamax92> @FatalDistraction
L1508[17:04:19] <FatalDistraction> I know.
L1509[17:04:20] <g> Inari, it's fairly trivial to work out what was encrypted that way
L1510[17:04:34] <g> you can derive the public key
L1511[17:04:36] <g> http://rdist.root.org/2007/05/03/rsa-public-keys-are-not-private-implementation/
L1512[17:04:39] <greaser|q> DeanIsaKitty: you seem to be mistaking it for straight-up one-byte XOR
L1513[17:04:40] <g> here's an implementation
L1514[17:04:44] <DeanIsaKitty> greaser|q: No.
L1515[17:04:46] ⇦ Quits: Tedster (~Tedster@host86-170-31-233.range86-170.btcentralplus.com) (Killed (nova.esper.net (Nickname regained by services)))
L1516[17:04:46] *** Tedster_ is now known as Tedster
L1517[17:04:56] <greaser|q> how is it insecure "as fuck"
L1518[17:05:09] <greaser|q> yes, it's prone to bit flipping attacks - that's why you use this thing called a hash
L1519[17:05:42] <g> greaser|q: it does seem to have quite a few problems
L1520[17:05:43] <g> https://en.wikipedia.org/wiki/RC4#Security
L1521[17:05:48] <g> I'd say it'd be fine if used correctly though
L1522[17:05:58] <greaser|q> if you want to screw up a known plaintext attack you could use deflate
L1523[17:06:21] <DeanIsaKitty> greaser|q: Key generation is kinda deterministic i.e
L1524[17:06:32] <FatalDistraction> Okay, I've pretty much established that encryption is really not what I need, but hashing.
L1525[17:06:41] ⇦ Quits: sciguyryan (~sciguyrya@95.211.203.213) (Remote host closed the connection)
L1526[17:06:44] <DeanIsaKitty> Fatal, wat? >.<
L1527[17:06:52] <g> the only way I can see this crypto being possible is via the crypto blocks in computronics
L1528[17:06:59] <g> anything else wouldn't fit on the eeprom
L1529[17:07:01] <greaser|q> you need both - encryption to keep it hidden, and hashing to ensure you get the right result
L1530[17:07:50] <DeanIsaKitty> g: You could probably implement some basic crypto premises in 4K, but just barely so there won't be much space left.
L1531[17:07:58] ⇨ Joins: Tedster_ (~Tedster@host86-170-31-233.range86-170.btcentralplus.com)
L1532[17:08:08] <g> yeah, like you'd have to just have a wget left to download an installer or something lol
L1533[17:08:10] *** Tedster is now known as Guest69507
L1534[17:08:11] ⇦ Quits: Guest69507 (~Tedster@95.211.171.171) (Killed (anarchy.esper.net (Nickname regained by services)))
L1535[17:08:11] *** Tedster_ is now known as Tedster
L1536[17:08:14] <DeanIsaKitty> Unless you use RSA then its only a question of how much space your big integer lib uses
L1537[17:08:19] <FatalDistraction> Okay. So, assuming that I have a hash located on the Data section, and a salt located on the Code section, could it be decoded without a password?
L1538[17:08:33] <DeanIsaKitty> Hash per definition are one way only.
L1539[17:08:46] <g> yeah, there's no decrypting a hash
L1540[17:08:54] <g> it's just for verification
L1541[17:08:55] *** Daiyousei is now known as SleepingFairy
L1542[17:08:57] <FatalDistraction> I'm insanely confused at the moment.
L1543[17:09:03] <g> you have a known hash that you check against your encrypted data
L1544[17:09:07] <DeanIsaKitty> Fatal, we can see that.
L1545[17:09:09] <g> to ensure it actually decrypted right
L1546[17:09:21] <g> decryption doesn't "fail", you just get garbage data
L1547[17:09:23] <g> so you have to check that
L1548[17:09:33] ⇨ Joins: Tedster_ (~Tedster@46.166.179.55)
L1549[17:09:42] <DeanIsaKitty> Sorry to be that person, but you probably should lern what crypto is and how to use it before you actually try to use it.
L1550[17:10:00] <FatalDistraction> I'm here because the almighty interwebs has failed me ?
L1551[17:10:14] <DeanIsaKitty> g, *really* depends on what algorithm you use
L1552[17:10:25] ⇨ Joins: Tedster__ (~Tedster@host86-170-31-233.range86-170.btcentralplus.com)
L1553[17:10:48] <Kodos> If you can't use the internet to find out what crypto is, you should probably uninstall OC
L1554[17:10:51] <DeanIsaKitty> Fatal, I'd wager nobody in here has the nerve to explain crypto to somebody that has no idea. Crypto is a really really complex thing, especially if you want to get it right.
L1555[17:10:57] <g> DeanIsaKitty, well yeah, rsa includes a hash in the data to check
L1556[17:11:03] <DeanIsaKitty> g: Wat, no
L1557[17:11:20] <DeanIsaKitty> RSA is just multiplying number ffs
L1558[17:11:33] <FatalDistraction> So... how exactly could I password-protect data?
L1559[17:11:35] <g> hm, maybe I'm thinking of gpg
L1560[17:11:40] <FatalDistraction> What would the process be, in other words.
L1561[17:11:45] <_habnabit> protect data from whom
L1562[17:11:53] <g> He wants to encrypt an eeprom
L1563[17:11:54] <DeanIsaKitty> g: maybe. but thats not RSA
L1564[17:11:58] <g> so you need a password to boot the OS
L1565[17:12:04] <g> presumably some kind of DRM ingame, lol
L1566[17:12:14] <DeanIsaKitty> Fatal, crypto :)
L1567[17:12:28] <g> I don't think the eeprom is the right place for it honestly
L1568[17:12:32] <Kodos> Serialize the data, and then ROT13 it
L1569[17:12:35] <_habnabit> so what stops someone from popping out the disk drive and reading it, then
L1570[17:12:36] <Kodos> Problem solved
L1571[17:12:36] ⇦ Quits: Tedster (~Tedster@host86-170-31-233.range86-170.btcentralplus.com) (Ping timeout: 198 seconds)
L1572[17:12:37] * gamax92 slaps Kodos
L1573[17:12:37] * EnderBot2 high-fives gamax92
L1574[17:12:37] <DeanIsaKitty> g: Actually its the best place.
L1575[17:12:52] <DeanIsaKitty> Then you can do it somewhat transparently.
L1576[17:12:56] <g> if you're installing the OS to disk, you could encrypt it on disk and decrypt at runtime?
L1577[17:13:08] <g> although that wouldn't stop people from "pirating" it if they were really dedicated
L1578[17:13:09] ⇨ Joins: Tedster (~Tedster@host86-170-31-233.range86-170.btcentralplus.com)
L1579[17:13:09] <FatalDistraction> I need to make sure that the data on the floppy disk is unreadable without a password
L1580[17:13:24] <_habnabit> but, still, the question is who are you trying to prevent reading this data
L1581[17:13:27] <g> How big are OC floppies again?
L1582[17:13:29] ⇦ Quits: Tedster_ (~Tedster@46.166.179.55) (Ping timeout: 194 seconds)
L1583[17:13:36] <FatalDistraction> Well, I meant to say HDD
L1584[17:13:37] <gamax92> 1440KB
L1585[17:13:38] <DeanIsaKitty> Fatal, how good with higher mathematics are you?
L1586[17:13:42] <gamax92> (it's not)
L1587[17:13:47] <greaser|q> OC floppies are 512KB
L1588[17:13:48] <FatalDistraction> eh not really good
L1589[17:13:53] <DeanIsaKitty> Ok.
L1590[17:13:56] <DeanIsaKitty> Forget it.
L1591[17:13:57] <_habnabit> the server owner can decrypt your data, for example
L1592[17:13:58] <g> 512 would be enough..
L1593[17:14:03] <DeanIsaKitty> Sorry but you wont get anywhere really <.<
L1594[17:14:05] <g> Fatal, do you have computronics installed?
L1595[17:14:08] <greaser|q> actual floppies are... well, depends on how much of an arsehole your manufacturer is
L1596[17:14:13] <gamax92> :P
L1597[17:14:14] <FatalDistraction> and yes, I am attempting DRM in minecraft
L1598[17:14:27] <_habnabit> well, do you run the server?
L1599[17:14:28] <Kodos> Regular Cipher Block from 'Tronics is great 'Crypto for Dummies'
L1600[17:14:31] <FatalDistraction> No, I do not have computronics
L1601[17:14:35] <g> Kodos: yeah, exactly
L1602[17:14:38] ⇦ Quits: Tedster__ (~Tedster@host86-170-31-233.range86-170.btcentralplus.com) (Ping timeout: 198 seconds)
L1603[17:14:40] <greaser|q> 360KB, 720KB, 1440KB, 2880KB are typical sizes, 360KB is double-density single-sided, the rest are double-sided
L1604[17:14:41] <g> computronics has a crypto block that can help
L1605[17:14:52] <_habnabit> if you don't run the server, there's no point in even trying
L1606[17:14:53] <greaser|q> except you can usually squeeze out another 11% with not much effort
L1607[17:15:17] <gamax92> confusion: if you have some fancy setup for decrypting a floppy from an eeprom, can't someone just take your EEPROM and floppy and clone them?
L1608[17:15:46] <gamax92> I guess you can barracade your computer in bedrock or OpenSecurity door controllers
L1609[17:15:48] <gamax92> Mimiru: :P
L1610[17:15:49] <g> can't someone just take your private key from your PC and clone that?
L1611[17:15:52] <g> it's the same deal really
L1612[17:15:55] <greaser|q> gamax92: that's why you require a password to decode it ;)
L1613[17:15:55] <_habnabit> i'm just imagining someone replacing your eeprom with one that takes your password and broadcasts it with a modem
L1614[17:16:01] <DeanIsaKitty> _habnabit: You could encrypt stuff to a level where it can't be broken if you'd really care.
L1615[17:16:07] <greaser|q> oh right, MITM attack
L1616[17:16:20] <greaser|q> _habnabit: and that's when it starts to get fun
L1617[17:16:24] <g> anyway yeah, fatal, check out the crypto block from computronics
L1618[17:16:27] <Mimiru> gamax92, hey that's totally a config option now
L1619[17:16:45] <_habnabit> DeanIsaKitty, except unless you run the server, the person who _does_ run the server can get the decrypted data out
L1620[17:16:52] <DeanIsaKitty> g, key expansion from password? There is no private key in plaintext anywhere
L1621[17:16:59] <greaser|q> and when i say "require a password" i mean mathematically
L1622[17:17:04] <DeanIsaKitty> _habnabit: How? unless memory hacking?
L1623[17:17:26] <g> OC memory is serialized
L1624[17:17:28] <_habnabit> DeanIsaKitty, well, sure. it's not like you can prevent someone from dumping the memory of the server process while the data is in cleartext
L1625[17:17:44] <Sangar> i'm off o/
L1626[17:17:47] <Kodos> Night
L1627[17:17:50] <DeanIsaKitty> _habnabit: Thats why I said unless memory hacking
L1628[17:17:52] <greaser|q> cya Snagar
L1629[17:17:52] <g> there'd be a timing attack where the op can shut down the server while the decryption is running
L1630[17:17:53] <DeanIsaKitty> Sangar!
L1631[17:17:57] <gamax92> :/ You guys are going kinda mad with the whole security thing
L1632[17:18:06] <g> we're nerds
L1633[17:18:08] <_habnabit> which is why i asked things like "who are you trying to protect this data from" and "do you run the server"
L1634[17:18:11] <DeanIsaKitty> gamax92: I developed ecdh for OC, so yeah?
L1635[17:18:33] <_habnabit> i mean, you can wank as much as you want about pointless crap that nobody will even try to break anyway, but if you actually are trying to do something useful, ...
L1636[17:18:38] <Inari> g: uh, i still dotn see how that relates to be fair :P it seems to be about that you can find the public key if you have enough privkey-encrypted messages
L1637[17:19:05] <g> Inari, and so you can decrypt those messages at that point
L1638[17:19:07] <gamax92> DeanIsaKitty: I doubt he's trying to protect from some real person with physical access to the server with memory dumping tools
L1639[17:19:19] <Inari> g: yeah? but my example was that i use your public key to encrypt
L1640[17:19:19] <gamax92> more like ingame idiots
L1641[17:19:23] <DeanIsaKitty> gamax92: There's no way of doing that anyway.
L1642[17:19:34] <_habnabit> DeanIsaKitty, doesn't stop people from trying
L1643[17:19:40] <gamax92> you know there is.
L1644[17:19:41] <g> er
L1645[17:19:42] <g> what?
L1646[17:19:49] <g> your example was that you could decrypt with the pubkey
L1647[17:19:59] <g> or did I read that wrong?
L1648[17:20:11] <DeanIsaKitty> _habnabit: what now?
L1649[17:20:23] <_habnabit> and if you're just trying to prevent access from other lusers on the server, building physical access security or making the mod reject non-owner access is going to be good enough anyway
L1650[17:20:38] <DeanIsaKitty> gamax92: how?
L1651[17:20:57] <Inari> g: well i also said the only thing that decrypt a thing encrypted with your privkey is your pubkey
L1652[17:21:00] <gamax92> lua runs in a native process, you get the map for the lua native library and dump it's respective virtual memory
L1653[17:21:02] <Inari> which is entirely true
L1654[17:21:07] <g> but
L1655[17:21:13] <g> my point was that you should never actually do that
L1656[17:21:14] <g> lol
L1657[17:21:19] <g> I didn't say it wasn't true
L1658[17:21:20] <_habnabit> DeanIsaKitty, people still attempt to do things like prevent users downloading images in a web browser
L1659[17:21:20] <Inari> depends on what you're trying to do :p
L1660[17:21:26] <DeanIsaKitty> gamax92: I said there is no way of protecting from the server owner
L1661[17:21:29] <g> only for signing.
L1662[17:21:29] <Inari> not if you want th emessages to be secret
L1663[17:21:30] <Inari> xD
L1664[17:21:35] <_habnabit> it's not possible, but people still _try_
L1665[17:21:51] <DeanIsaKitty> _habnabit: You're on a completely different topic now.
L1666[17:22:11] <FatalDistraction> I don't want to protect the information from the server owner, he's fairly responsible
L1667[17:22:13] <_habnabit> eh?
L1668[17:22:26] <FatalDistraction> I want to protect the OS from the players who aren't.
L1669[17:22:36] <g> alright, I'm going to bed, I'll write a proof of concept in the morning if I remember
L1670[17:22:37] <g> later o/
L1671[17:22:40] *** g is now known as gAway2002
L1672[17:22:40] <DeanIsaKitty> Fatal, Physical security or Computronics. Thats it.
L1673[17:22:47] <_habnabit> yes, use physical security
L1674[17:22:53] <Inari> SSD on breakin
L1675[17:23:07] <Inari> also you know
L1676[17:23:08] <gamax92> what about the computer.users protection
L1677[17:23:09] <Inari> thres computer.addUser
L1678[17:23:10] <Inari> xP
L1679[17:23:17] <_habnabit> ah yeah i thought OC had that
L1680[17:23:17] <Inari> gamax92: psh
L1681[17:23:19] <_habnabit> there you go
L1682[17:23:28] <_habnabit> perfect security, built in from the start
L1683[17:23:32] ⇦ Quits: Temportalist (uid37180@id-37180.charlton.irccloud.com) (Quit: Connection closed for inactivity)
L1684[17:23:34] <Inari> i still dislike that it has
L1685[17:23:37] <Inari> but at least it can be turned off
L1686[17:23:41] <gamax92> it makes it so people not on your list cannot open your computer's case or interact with the screen
L1687[17:23:52] <FatalDistraction> No. I want people to be able to USE the OS without my permission, but I don't want them to be able to copy it.
L1688[17:24:06] <gamax92> then physical security :
L1689[17:24:07] <gamax92> :P
L1690[17:24:12] <Inari> well
L1691[17:24:13] <FatalDistraction> ?
L1692[17:24:16] <_habnabit> do it PaaS-style, then
L1693[17:24:18] <Inari> thats pretty simple
L1694[17:24:19] <_habnabit> everything over a modem
L1695[17:24:36] <Inari> for bootup you connect a hdd, then that cable gets disconnected and all is on ram
L1696[17:24:42] <_habnabit> sell shell accounts
L1697[17:24:51] <FatalDistraction> The mining on the server isn't so easy that I can just pull T3 servers out of thin air _habnabit
L1698[17:25:17] <Inari> which server btw xD
L1699[17:25:27] <FatalDistraction> Tekkify (play.tekkify.com)
L1700[17:25:33] <gamax92> OpenOS can't be used to do that without severe modifications though
L1701[17:25:37] <Inari> i think i played on that once
L1702[17:25:40] <Inari> wasnt great iirc xD
L1703[17:25:47] <Inari> also datacard does ECC and such, no?
L1704[17:25:47] ⇨ Joins: brandon3055 (~Brandon@122.129.140.1)
L1705[17:25:53] <FatalDistraction> I don't want to use OpenOS gamax, I'm making my own
L1706[17:26:22] <FatalDistraction> Inari, I'm asking how to utilize ECC to make sure that all data is protected unless you enter a password.
L1707[17:26:32] <Inari> yeah
L1708[17:26:36] <Inari> tekkify brekaing all the eulas
L1709[17:26:37] <Inari> neat
L1710[17:26:45] <FatalDistraction> ?
L1711[17:26:49] <_habnabit> hmmmmm doesn't lua's debug module have a way to dump the loaded code for a frame?
L1712[17:27:02] <Inari> http://akari.in/pinky_eXo2N
L1713[17:27:36] <FatalDistraction> Yeah, that's the premium.
L1714[17:27:46] <FatalDistraction> The server owner will still be able to access the data.
L1715[17:27:47] <greaser|q> yeah the use w/o copying thing would need to be aaS
L1716[17:27:48] <Inari> yeah and that isnt allowed
L1717[17:28:11] <Inari> "If you have been banned, you can purchase an account unlock to be unbanned on the Tekkify server."
L1718[17:28:13] <Inari> of course.
L1719[17:28:19] <FatalDistraction> I just want to make sure that a player can't walk along, pirate the HDD, then walk off and sell it.
L1720[17:28:39] * Inari sends mail :D
L1721[17:28:43] <FatalDistraction> Is this discussion about how good Tekkify is? No. (By the way, it is pretty good. Play it to find out.)
L1722[17:28:55] <Kodos> It's still a server that breaks Mojang's EULA
L1723[17:28:58] <Inari> yeah, with a store like that i dont need to even try
L1724[17:29:01] <_habnabit> ime the desirability of the code that someone wants to protect is inversely proportional to the amount of effort that someone wants to spend protecting it
L1725[17:29:01] <Kodos> Which means it's a shit server that I won't even play on
L1726[17:29:04] <FatalDistraction> How so Kodos?
L1727[17:29:12] <Kodos> Paygating game content
L1728[17:29:18] <greaser|q> how does it violate the EULA?
L1729[17:29:18] <Inari> i wouldnt even care if it breaks the eula
L1730[17:29:21] <greaser|q> ah righty
L1731[17:29:22] <Inari> ify ou sell unbans ...
L1732[17:29:33] <greaser|q> pay2grif
L1733[17:29:42] <FatalDistraction> don't get banned though, it gets you on the Staff's bad side.
L1734[17:29:44] <gamax92> you're a terrible person, but pay us money and we'll pretend you arent
L1735[17:29:48] <FatalDistraction> You don't wanna mess with Rhah
L1736[17:29:59] <FatalDistraction> Nah, it's like bail
L1737[17:30:01] <Inari> lets say, it encourages the staff to hand bans out more leniently
L1738[17:30:06] <_habnabit> griefing as a service
L1739[17:30:13] <DeanIsaKitty> Fatal, the Data card provides AES btw. you can use that
L1740[17:30:20] <FatalDistraction> I'm asking HOW.
L1741[17:30:30] <_habnabit> call the function
L1742[17:30:32] <_habnabit> do the thing
L1743[17:30:34] <_habnabit> make it go
L1744[17:30:34] <DeanIsaKitty> Yeah
L1745[17:30:36] <DeanIsaKitty> pretty much
L1746[17:30:52] <_habnabit> btw i want a copy when you're done
L1747[17:30:58] <gamax92> ;)
L1748[17:31:32] <DeanIsaKitty> Very very short explanation: K - key, P - Plaintext, C - ciper. encrypt (P, K) -> C ; decrypt (C, K) -> P
L1749[17:31:52] <Inari> haha
L1750[17:31:53] <Inari> compact
L1751[17:31:57] <_habnabit> uh oh
L1752[17:32:04] <_habnabit> does that mean it uses ECB
L1753[17:32:10] <DeanIsaKitty> _habnabit: no?
L1754[17:32:14] <DeanIsaKitty> It uses CBC.
L1755[17:32:49] <_habnabit> then where's the IV :?
L1756[17:33:09] *** Shuudoushi|Away is now known as Shuudoushi
L1757[17:33:23] <DeanIsaKitty> _habnabit: Yeah
L1758[17:33:46] <DeanIsaKitty> I missed it cause I'm blind and github's syntax highlighting makes it really hard for me to read code there
L1759[17:33:52] <DeanIsaKitty> can you disable that somehow?
L1760[17:34:41] <_habnabit> dunno
L1761[17:34:44] <_habnabit> user style maybe
L1762[17:34:47] <gamax92> ^
L1763[17:34:59] <gamax92> It's definitely changable via user styles (I have a dark theme one :D)
L1764[17:35:35] <DeanIsaKitty> gamax92: what now?
L1765[17:36:28] <gamax92> ... the syntax highlighting colors?
L1766[17:36:48] <Shuudoushi> gamax92: link please
L1767[17:37:03] <gamax92> https://userstyles.org/styles/37035/github-dark
L1768[17:37:06] <DeanIsaKitty> Ah
L1769[17:37:07] <FatalDistraction> Okay, I think I got it. However, what is this "iv" string that's required for the data.encrypt() function?
L1770[17:37:18] <Shuudoushi> gamax92: tyvm
L1771[17:37:20] <DeanIsaKitty> Think of it as a key
L1772[17:37:26] <DeanIsaKitty> Fata; ^
L1773[17:37:29] <Inari> gamax92: of course you can have custom styling if you have a browser addon that restyles crap :P
L1774[17:37:45] <_habnabit> actually i just realized that since you can't protect the content of a floppy, as long as you're giving out the password to people so they can decrypt it, they can decrypt it on their own
L1775[17:37:50] <CompanionCube> github dark OP.
L1776[17:38:04] <FatalDistraction> There's Data (string), Key (string), and IV (string). What is IV?
L1777[17:38:08] <CompanionCube> I <3 it so much.
L1778[17:38:18] <DeanIsaKitty> Inari: Its good enough for me
L1779[17:39:04] <_habnabit> maybe you could secure this if you require people to ask you to type in a password on boot
L1780[17:39:16] <FatalDistraction> That's what I'm doing...
L1781[17:39:25] <_habnabit> but even then they could phish you by making a prompt that looks like your password prompt...
L1782[17:39:29] <Shuudoushi> _habnabit: you mean like SOS?
L1783[17:39:38] <_habnabit> Shuudoushi, not sure what SOS expands to here
L1784[17:39:50] <gamax92> _habnabit: I love reading about stories like that
L1785[17:40:18] <DeanIsaKitty> Fatal, do your users have any idea at all or access to the computer case?
L1786[17:40:34] <FatalDistraction> So, if I encrypt using String "Wake Me", Key "Up", and IV "Inside", could someone with the string and IV decrypt the string?
L1787[17:40:40] <Shuudoushi> _habnabit: the phishing thing is solved by disabling autorun at reboot or shutdown and having the login script re-enabling autorun
L1788[17:41:06] <DeanIsaKitty> Fatal, not with a bit of work
L1789[17:41:07] <_habnabit> it depends on the distribution mechanism
L1790[17:41:16] <gamax92> people trolling others on old dos machines, fake password prompt that would launch the real password system and then just fill the keyboard buffer, saving the password elsewhere
L1791[17:41:30] <_habnabit> if you're handing out the floppy and password, then it's trivial to decrypt the content
L1792[17:41:45] <gamax92> _habnabit: he just said he isn't giving out the password ._.
L1793[17:41:52] <FatalDistraction> It'll ship with the default password, then it can be changed later.
L1794[17:41:56] <_habnabit> ah ok
L1795[17:42:01] <_habnabit> i missed that line i guess
L1796[17:42:23] <Shuudoushi> fatal, steal away https://github.com/Shuudoushi/SecureOS
L1797[17:42:29] <DeanIsaKitty> gamax92: that actually works pretty well, thanks for the tip
L1798[17:42:32] <_habnabit> but still, how do you determine if a password prompt is _actually_ your OS's password prompt
L1799[17:42:41] <gamax92> SecureOS's name is a joke
L1800[17:42:50] <Shuudoushi> for the most part
L1801[17:42:57] <gamax92> :P you agreed with it
L1802[17:43:06] <FatalDistraction> @Shuudoushi I'm designing a GUI for my OS.
L1803[17:43:10] <_habnabit> things like TOTP rely on there being a hidden secret...
L1804[17:43:16] <Shuudoushi> but the login scripts and user system can still be used
L1805[17:43:22] <FatalDistraction> You use gml?
L1806[17:43:28] <FatalDistraction> and you say I steal...
L1807[17:43:48] <DeanIsaKitty> EEPROM can't access components, can they?
L1808[17:43:56] <Shuudoushi> ... no, I'm saying you can use what ever you want from SOS
L1809[17:43:58] <FatalDistraction> It can.
L1810[17:44:05] <FatalDistraction> it can use component.invoke()
L1811[17:44:09] <DeanIsaKitty> Huh.
L1812[17:44:20] ⇦ Quits: Icedream (~icedream@212-83-173-97.rev.poneytelecom.eu) (Ping timeout: 198 seconds)
L1813[17:44:22] <Shuudoushi> and I'm not stealing gml, look at the readme
L1814[17:44:39] ⇨ Joins: Icedream (~icedream@212-83-173-97.rev.poneytelecom.eu)
L1815[17:44:45] <DeanIsaKitty> _habnabit: Want me to throw in a proof-of-concept trust chain for OS booting? <.<
L1816[17:44:51] <_habnabit> yes
L1817[17:44:52] <Shuudoushi> fully gave credit to Gopher for using GML just like he request
L1818[17:44:53] <_habnabit> i'm curious
L1819[17:45:07] <DeanIsaKitty> Can I shadow components?
L1820[17:45:11] <FatalDistraction> Is gopher active at all?
L1821[17:45:15] <_habnabit> i don't see why not
L1822[17:45:16] <FatalDistraction> Where can I reach him?
L1823[17:45:23] <_habnabit> actually i just realized that the keydown events show you player name
L1824[17:45:29] <Shuudoushi> %seen Gopher
L1825[17:45:29] <MichiBot> Shuudoushi: Gopher has not been seen.
L1826[17:45:30] <_habnabit> hmm
L1827[17:45:37] <Shuudoushi> not active t seems lol
L1828[17:45:42] <Shuudoushi> s/t/it
L1829[17:45:43] <Kibibyte> <Shuudoushi> noit active t seems lol
L1830[17:45:44] <FatalDistraction> Not here, but elsewhere
L1831[17:45:49] <Shuudoushi> ...
L1832[17:45:53] <FatalDistraction> is there an email I could reach him at?
L1833[17:45:56] <DeanIsaKitty> gamax92: Can I shadow a component (fs) in a way that any program using it will still work?
L1834[17:45:57] * Shuudoushi slaps Kibibyte.
L1835[17:45:58] * EnderBot2 chuckles
L1836[17:46:01] <gamax92> yeah
L1837[17:46:05] <DeanIsaKitty> gamax92: How?
L1838[17:46:14] <gamax92> overriding the entire component api and adding in your own hooks
L1839[17:46:19] <Shuudoushi> fatal, give me a sec and I'll take a look for you
L1840[17:46:28] <DeanIsaKitty> Huh.
L1841[17:46:30] <gamax92> there is no debug.getupvalue or debug.getlocal so you're safe from that
L1842[17:46:45] <FatalDistraction> Okay, so just let me get this straight. If I have an encrypted string, and someone else has the IV for it, can they decrypt it?
L1843[17:46:47] <_habnabit> yeah there's no way to protect against the phishing afaict
L1844[17:46:55] <_habnabit> everything i can think of falls apart at phishing
L1845[17:47:10] <DeanIsaKitty> Fatal, no, not with reasonably time at least
L1846[17:47:35] <FatalDistraction> Okay, so that should be safe.
L1847[17:47:37] <Shuudoushi> Fatal: Seems PMing him on github may be a good way for going about getting in touch with him, https://github.com/GopherAtl
L1848[17:47:47] <gamax92> how do you pm someone on github
L1849[17:48:41] <Shuudoushi> oh yeah... that never became a thing did it...
L1850[17:49:02] <gamax92> it used to be a thing
L1851[17:49:03] <gamax92> used
L1852[17:49:17] <Shuudoushi> i meant bringing it back
L1853[17:49:56] <Shuudoushi> I guess making an issue on one of his repos could be counted as a PM...
L1854[17:53:12] <FatalDistraction> How do I find the highest tier data card, and set it as that?
L1855[17:53:39] <Shuudoushi> why are you using dif tier data cards...
L1856[17:53:46] ⇨ Joins: MajGenRelativity (~MajGenRel@c-73-186-66-242.hsd1.ma.comcast.net)
L1857[17:53:56] <Shuudoushi> well, either way
L1858[17:55:46] <Shuudoushi> I think you can use component.proxy() to get the name of the component, which with data cards I think includes the tier
L1859[17:56:37] <_habnabit> or just look for one with the right methods on it
L1860[17:58:25] <gamax92> #lua (-128/128/33) * math.sqrt((32^2)*3) * 2
L1861[17:58:25] <|0xDEADBEEF|> > -3.3591288389215
L1862[17:58:29] <gamax92> eww
L1863[17:58:39] <_habnabit> #lua 22/7
L1864[17:58:40] <|0xDEADBEEF|> > 3.1428571428571
L1865[17:58:48] <gamax92> #lua 355/133
L1866[17:58:49] <|0xDEADBEEF|> > 2.6691729323308
L1867[17:58:52] <gamax92> fuck
L1868[17:58:54] <gamax92> #lua 355/113
L1869[17:58:54] <|0xDEADBEEF|> > 3.141592920354
L1870[17:59:13] <FatalDistraction> #lua math.sqrt(-1)
L1871[17:59:19] <FatalDistraction> ....
L1872[17:59:34] <_habnabit> thanks corded
L1873[17:59:48] <FatalDistraction> can someone else try that for me
L1874[17:59:55] ⇦ Quits: MajGenRelativity (~MajGenRel@c-73-186-66-242.hsd1.ma.comcast.net) (Quit: Time to go, to adventure!)
L1875[18:00:46] <malcom2073> #lua math.sqrt(-1)
L1876[18:00:50] <|0xDEADBEEF|> > -nan
L1877[18:01:03] <FatalDistraction> wut
L1878[18:01:17] <malcom2073> It's not a number, it's an imaginary number
L1879[18:02:10] <gamax92> all negative numbers show up as -nan, except for -0
L1880[18:02:23] <gamax92> #lua math.sqrt(-0), math.sqrt(0)
L1881[18:02:23] <|0xDEADBEEF|> > 0.0 | 0.0
L1882[18:02:33] <gamax92> meh, that must have changed in 5.3
L1883[18:02:57] <gamax92> yeah it did
L1884[18:04:41] <_habnabit> http://paste.pound-python.org/show/7Fb04dNSqhNmkvpzb7Yn/ computronics is including itself twice when i do `gradle runClient` from the computronics source checkout ...? `find ~/.gradle . -iname '*computronics*.jar'` shows only `./build/libs/Computronics-1.7.10-1.6.1.jar`
L1885[18:06:54] <FatalDistraction> how can I retrieve a table that lists all files in a directory
L1886[18:07:38] <greaser|q> very carefully
L1887[18:07:43] <gamax92> ~w fs
L1888[18:07:44] <ocdoc> http://ocd.cil.li/api:filesystem
L1889[18:07:49] <greaser|q> uhh, i think it's under filesystem
L1890[18:07:50] *** kirby|gone is now known as mrkirby153
L1891[18:08:01] <FatalDistraction> filesystem.list() returns a function
L1892[18:08:34] <FatalDistraction> is there a way that I can do 'local table = filesystem.list(dir)'
L1893[18:08:48] <_habnabit> it's probably an iterator
L1894[18:08:51] <_habnabit> so, iterate over it
L1895[18:09:28] <FatalDistraction> uhhh
L1896[18:09:47] <gamax92> local variable = {} for file in filesystem.list(dir) do variable[#variable+1] = file end
L1897[18:12:57] <FatalDistraction> worked, thanks
L1898[18:23:02] ⇦ Quits: cpup (~cpup@32.218.116.17) (Ping timeout: 198 seconds)
L1899[18:27:15] <FatalDistraction> How do I read all the contents of a file
L1900[18:27:55] <FatalDistraction> nvm
L1901[18:28:31] ⇨ Joins: cpup (~cpup@32.218.116.17)
L1902[18:30:06] <Kodos> I have a function in my lib for that
L1903[18:30:40] <FatalDistraction> Nah, you just have to do local file = io.open("file", "r"), file:read("*a"), file:close()
L1904[18:31:18] <gamax92> r
L1905[18:31:21] <gamax92> why not rb
L1906[18:31:26] <gamax92> binary mode bestest
L1907[18:31:33] <FatalDistraction> because I need strings
L1908[18:31:37] <gamax92> and?
L1909[18:31:39] <gamax92> this isn't CC
L1910[18:31:48] <gamax92> the io api actually works properly
L1911[18:32:01] <FatalDistraction> well, why not just "r"?
L1912[18:32:18] <gamax92> because rb is binary mode and promises to not mangle any of your data
L1913[18:33:12] <FatalDistraction> does it keep carriage returns?
L1914[18:33:49] * Kodos goes to check his lib
L1915[18:34:13] <greaser|q> pretty sure "b" actually does nothing different BUT you should shove it in anyway if you're doing binary files
L1916[18:34:24] <greaser|q> i'm pretty sure OC just uses UNIX newlines
L1917[18:34:40] <FatalDistraction> So anyway, how can I generate a random string?
L1918[18:34:43] <greaser|q> of course if you hate non-UNIX newlines with a passion you could just use "b" everywhere
L1919[18:34:59] <greaser|q> well you'll need a good source of entropy and a fair whack of math
L1920[18:35:16] <FatalDistraction> I need a random string with a set length.
L1921[18:35:24] <greaser|q> oddly enough, RC4 is actually an OK algorithm for turning that entropy into more entropy
L1922[18:35:59] <gamax92> @FatalDistraction Instead of feeding you the entire snipplet because you won't learn, I'll give you hints instead
L1923[18:36:05] <greaser|q> but basically you get enough random data and then reduce it to, say, 64 bits
L1924[18:36:06] <gamax92> string.char and math.random
L1925[18:36:12] <greaser|q> sorry i mean 6 bits
L1926[18:36:41] <gamax92> greaser|q: didn't someone use openssl as a fast random data source? :P
L1927[18:36:44] <greaser|q> if you're using math.random then you can just multiply it by, say, 62 and then use a LUT or a function to turn that into 0-9A-Za-z
L1928[18:37:02] <greaser|q> gamax92: iirc someone once used it with rc4 mode because it's hella fast
L1929[18:37:09] <greaser|q> but it's believable
L1930[18:38:37] <FatalDistraction> What are the effects of removing the preferred boot address from the Data section of the EEPROM?
L1931[18:39:13] <FatalDistraction> apparently nothing...
L1932[18:39:20] <gamax92> computer.getBootAddress and computer.setBootAddress are simply aliases to read and write from the data section by the EEPROM
L1933[18:39:31] <gamax92> so you'll have to provide alternatives for that.
L1934[18:39:51] <FatalDistraction> that should be easy enough
L1935[18:39:59] <gamax92> then again, if you're writing a custom OS, you can do your own thing
L1936[18:40:09] <gamax92> don't have to follow suite with openos
L1937[18:40:28] <FatalDistraction> My OS is going to be more windows 98-esque
L1938[18:40:34] <gamax92> ... die
L1939[18:40:38] <gamax92> I'm sorry that was rude
L1940[18:40:58] <FatalDistraction> "Please die" would be acceptable
L1941[18:42:25] <greaser|q> {.e'o ko mrobi'o ne'i lo fagri} also works
L1942[18:42:38] <greaser|q> actually .e'u would be better
L1943[18:42:49] <greaser|q> .e'o is a request, .e'u is a suggestion
L1944[18:42:55] <FatalDistraction> Vase matka je trocha coura
L1945[18:43:00] <greaser|q> translation: i suggest you die in a fire
L1946[18:43:00] <FatalDistraction> ....anyway
L1947[18:43:19] <FatalDistraction> Translation: (Czech) Your mother is a little (slut, whore, whatever)
L1948[18:43:37] <FatalDistraction> .....anyway
L1949[18:43:44] <gamax92> ......anyway
L1950[18:43:53] <Kodos> Don't make me time you both out
L1951[18:44:00] <ocdoc> Hi Kodos
L1952[18:44:04] <FatalDistraction> ignoring my obscene knowledge of the Czech language, I think this OS is going to turn out great
L1953[18:44:17] <FatalDistraction> ...jk it's going to die in a fire like me
L1954[18:44:30] <gamax92> `-`: how is Anix going
L1955[18:45:18] <Kodos> Whee, i was using rb mode already =D
L1956[18:46:40] <`-`> gamax92: Making documentation for lots of stuff
L1957[18:47:37] <Kodos> https://github.com/MyNameIsKodos/OpenComputers-Programs/blob/master/lib/kodos.lua#L112-L159
L1958[18:47:39] <Kodos> Does that look okay
L1959[18:48:46] <gamax92> greaser|q: right, the only difference with binary mode and not is if you have a buffered file, binary mode uses rawlen and string.sub, while not uses unicode.len and unicode.sub
L1960[18:48:58] <greaser|q> ...interesting
L1961[18:49:08] <gamax92> https://github.com/MightyPirates/OpenComputers/blob/master-MC1.7.10/src/main/resources/assets/opencomputers/loot/OpenOS/lib/buffer.lua#L110-L115
L1962[18:49:45] <gamax92> and 82-88
L1963[18:50:09] <FatalDistraction> My encryption program will literally turn your entire filesystem into a table. Get ready, because this thing's going in as dry as a desert.
L1964[18:50:55] <gamax92> :v why that sounds awful
L1965[18:51:09] <FatalDistraction> Well, I need some way to store the encrypted data with file paths....
L1966[18:51:56] ⇨ Joins: Nachtara (~Nachie@50-83-108-134.client.mchsi.com)
L1967[18:52:19] <gamax92> make sure your OS doesn't require a server with 4 Tier 3.5 memory sticks and only has 1% free
L1968[18:53:20] <FatalDistraction> Don't worry, I'm going to make it so that all of your files are unencrypted, but the OS files are.
L1969[18:53:44] <FatalDistraction> and I'm fairly sure the OS won't exceed 2M
L1970[18:53:53] <FatalDistraction> so all you'll need is 2 2.5's
L1971[18:54:36] ⇨ Joins: VanillaBean_ (~VanillaBe@c-98-232-42-143.hsd1.wa.comcast.net)
L1972[18:54:44] <gamax92> I've completely forgotten what I was doing ...
L1973[19:03:51] <DeanIsaKitty> Well, fuck me, I just booted an encrypted init.lua <.<
L1974[19:03:58] <FatalDistraction> I'd rather not
L1975[19:04:14] <DeanIsaKitty> Fatal, I wouldn't let YOU anyway :)
L1976[19:04:36] <FatalDistraction> Well, personally, no homo.
L1977[19:07:01] <DeanIsaKitty> gamax92: I can't hijack the filesystem from an EEPROM, can I? (Assuming OpenOS)
L1978[19:07:03] <FatalDistraction> Is this correct syntax? 'local table = {"a" = "b"}'
L1979[19:07:53] ⇦ Quits: Thutmose (~elpat@cpe-55-54-66-208.caribcable.com) (Ping timeout: 194 seconds)
L1980[19:07:54] <FatalDistraction> Does AES ever use the " symbol?
L1981[19:08:32] ⇨ Joins: Thutmose (~elpat@cpe-55-54-66-208.caribcable.com)
L1982[19:08:36] <DeanIsaKitty> Fatal, AES spits out random bytes. So yes, it can use the " symbol too. But it's not a printable string anyway.
L1983[19:09:01] <gamax92> DeanIsaKitty: could
L1984[19:09:19] <VanillaBean_> I'm new to oc and lua, so this question might be way off base, but are the OC libs available outside of Minecraft? I'm thinking of mocks to develop script in Lua's IDE
L1985[19:09:20] <gamax92> again, just overwrite the component api from the EEPROM
L1986[19:09:35] <gamax92> you might be hurting for space though
L1987[19:09:55] <DeanIsaKitty> gamax92: OpenOS does an loadfile("/lib/filesystem.lua") in its init.lua though
L1988[19:10:20] <FatalDistraction> Oh hey I could seriailize the data so it doesn't mess up
L1989[19:10:33] <gamax92> huh ... where is that defined
L1990[19:10:48] <DeanIsaKitty> gamax92: https://github.com/MightyPirates/OpenComputers/blob/master-MC1.7.10/src/main/resources/assets/opencomputers/loot/OpenOS/init.lua#L115
L1991[19:11:04] <DeanIsaKitty> VanillaBean_: Here's the source code for OpenOS if you mean that https://github.com/MightyPirates/OpenComputers/tree/master-MC1.7.10/src/main/resources/assets/opencomputers/loot/OpenOS
L1992[19:11:25] <gamax92> oh, well then yeah, you can just hack it from the EEPROM before it loads and runs init.lua
L1993[19:12:42] <FatalDistraction> If I have the table {"help", "me", "now"}, will adding a comma before the last bracket hurt the syntax in any way?
L1994[19:14:05] <gamax92> I have an idea for a custom EEPROM though :D
L1995[19:15:22] <DeanIsaKitty> gamax92: So, if I want "full disk encryption" and have it be transparent I need to write a custom filesystem lib and a custom init, don't I?
L1996[19:16:20] <DeanIsaKitty> Because I had to hijack fs and loadfile and dofile for ecryption to work via EEPROM
L1997[19:17:31] <gamax92> transparent being applications can list and read files from your drive just fine even though the drive itself is encrypted
L1998[19:17:55] <DeanIsaKitty> Yeah, exactly. In the best case an application should not be able to tell the difference at all.
L1999[19:18:56] <gamax92> I don't know how practical this is to stuff in an eeprom, but again, it'd be simply wrapping over the component api, and redirecting requests for the real filesystem to your encryption stuff
L2000[19:19:30] <DeanIsaKitty> Yeah, that probably means custom libs. Eh, I'll just start writing stuff
L2001[19:20:12] <VanillaBean_> DeanIsaKitty, thanks, that's close to what I want I think. Do you know where the source for the Robot api is?
L2002[19:20:50] <gamax92> if you look at what loadfile actually does, it calls rom.(blah), which rom is a custom table that does rom.invoke(blah), and that is also just a wrapper around component.invoke(computer.getBootAddress(), blah)
L2003[19:20:57] <DeanIsaKitty> VanillaBean_: Somewhere else in that Repo :D Try your luck with the search bar, I have no idea x)
L2004[19:21:08] <DeanIsaKitty> Ah
L2005[19:21:22] <gamax92> so, hooking into the component api and replacing access to that respective filesystem that has a uuid of computer.getBootAddress(), you can transparently encrypt and decrypt there
L2006[19:21:36] ⇦ Quits: h3po (~h3po@aftr-5-146-248-53.unity-media.net) (Quit: Leaving.)
L2007[19:25:24] <gamax92> DeanIsaKitty: even if fitting a generic filesystem wrapper into the EEPROM doesn't work, init.lua itself could be encrypted where the EEPROM decrypts and loads that, and then it can setup all the transparency that way. Wouldn't really change much as you'd be using the same original routines anyway
L2008[19:26:03] <gamax92> stuff like getSize and lastModified are obviously not needed or called to load and run init.lua
L2009[19:26:33] <Izaya> so I'm on my phone using vnc
L2010[19:26:46] <Izaya> to use hexchat on my gateway box
L2011[19:27:41] <gamax92> My computer is being horribly frozen for an unknown reason, brb
L2012[19:28:17] <DeanIsaKitty> Izaya: Atomic is a thing, you know? :P
L2013[19:28:44] ⇦ Quits: brandon3055 (~Brandon@122.129.140.1) (Ping timeout: 198 seconds)
L2014[19:29:06] <Izaya> I have AndChat on my phone
L2015[19:29:27] <DeanIsaKitty> why not use that then?
L2016[19:29:38] <Izaya> just playing with VNC, in case I need it
L2017[19:29:41] ⇨ Joins: brandon3055 (~Brandon@122.129.140.1)
L2018[19:36:50] ⇦ Quits: Forecaster (~Forecaste@83.223.1.173) (Ping timeout: 198 seconds)
L2019[19:38:54] ⇦ Quits: Inari (~Pinkishu@p5DEC6988.dip0.t-ipconnect.de) (Quit: KVIrc 4.3.2 Aria http://www.kvirc.net/)
L2020[19:39:32] <DeanIsaKitty> Izaya: Can you get the real-world time from a computer?
L2021[19:40:12] <gamax92> through an internet service, maybe with abusing file creation bugs
L2022[19:40:38] <gamax92> Shuudoushi: Do you remember what you were doing with that, trying to get real time using lastModified or something like that?
L2023[19:40:38] <DeanIsaKitty> Welp, there goes that idea.
L2024[19:40:56] <Shuudoushi> gamax92: yeah
L2025[19:41:33] <Shuudoushi> lastModified kinda worked but returns an odd time stamp that can't just be converted using os.date(0 or anything
L2026[19:41:46] <DeanIsaKitty> UNIX timestamp?
L2027[19:41:53] <Shuudoushi> yeah
L2028[19:42:03] <DeanIsaKitty> That would be exactly what I need
L2029[19:42:19] <DeanIsaKitty> inb4 TOTP trusted boot chain for OC <.<
L2030[19:42:32] <Shuudoushi> it returned a time stamp that when converted said that the year some like 59000 or something
L2031[19:43:33] <gamax92> are you sure you didn't just divide
L2032[19:43:41] <Shuudoushi> DeanIsaKitty: just make sure to divide the output from lastmodified by 1000
L2033[19:44:12] <Shuudoushi> otherwise it comes out weird, it'll still need further work to get it to the right tie zones and stuff as well
L2034[19:44:37] <DeanIsaKitty> I just need a UNIX timestamp of the current real-world time.
L2035[19:44:52] <Shuudoushi> gamax92: I stuck the time stamp right into os.date (or was it os.time... pretty sure it was date though....)
L2036[19:45:04] <Shuudoushi> DeanIsaKitty: it might work
L2037[19:45:16] <DeanIsaKitty> Yeah, but that uses MC time. And a MC year is waaaaaay shorter than a real life one
L2038[19:45:20] <Shuudoushi> just convert it first as a test to make sure it's usable
L2039[19:45:40] <Shuudoushi> DeanIsaKitty: says that it returns IRL time on the wiki
L2040[19:45:53] <Shuudoushi> ~w lastModified
L2041[19:45:54] <ocdoc> Predicted http://www.lua.org/manual/5.2/manual.html#pdf-loadfile
L2042[19:45:58] <Shuudoushi> -_-
L2043[19:46:02] <Shuudoushi> ok
L2044[19:46:08] <Shuudoushi> ~w filesystem
L2045[19:46:08] <ocdoc> http://ocd.cil.li/api:filesystem
L2046[19:46:10] <gamax92> ocdoc doesn't know of any individual functions
L2047[19:46:15] <Shuudoushi> ah
L2048[19:46:30] ⇦ Quits: brandon3055 (~Brandon@122.129.140.1) (Ping timeout: 189 seconds)
L2049[19:46:41] <gamax92> DeanIsaKitty: anyway, yeah that trick does work, you can create a file/directory, call lastModified on it and divide by 1000, gives you real time
L2050[19:46:51] <Shuudoushi> filesystem.lastModified(path: string): number
L2051[19:46:51] <Shuudoushi> Returns the real world unix timestamp of the last time the file at the specified path was modified. For directories this is usually the time of their creation.
L2052[19:47:03] ⇦ Quits: KomputerKid (~KomputerK@159.203.221.139) (Ping timeout: 189 seconds)
L2053[19:48:16] <DeanIsaKitty> l
L2054[19:48:19] <DeanIsaKitty> <.>
L2055[19:48:29] ⇨ Joins: brandon3055 (~Brandon@122.129.140.1)
L2056[19:49:15] <Shuudoushi> hmmm
L2057[19:49:29] <Shuudoushi> I seem to no longer have the function I was testing with
L2058[19:50:09] <gamax92> meh my idea is flop, time to test another idea :D
L2059[19:50:12] <Shuudoushi> but all it really did was open a file and write to it then run lastmodified when ever the function was called
L2060[19:50:21] ⇦ Quits: surferconor425 (~Conor@188.166.156.164) (Ping timeout: 189 seconds)
L2061[19:50:21] ⇦ Quits: DFrostedWang (~DFrostedW@ec2-52-10-198-190.us-west-2.compute.amazonaws.com) (Ping timeout: 189 seconds)
L2062[19:50:25] <Shuudoushi> gamax92: which idea?
L2063[19:50:34] <gamax92> secret
L2064[19:50:38] <Shuudoushi> ...
L2065[19:51:04] * Shuudoushi gets the bamboo and pliers.
L2066[19:51:05] <DeanIsaKitty> huh. fs.lastModified always returns 0 for some reason
L2067[19:51:16] <Shuudoushi> are you calling it on a path?
L2068[19:51:27] <DeanIsaKitty> Yeah
L2069[19:51:33] <DeanIsaKitty> absolute even
L2070[19:51:33] <Shuudoushi> which path?
L2071[19:51:39] <DeanIsaKitty> /tmp/test
L2072[19:51:46] <gamax92> oh, tmpfs
L2073[19:51:52] <Shuudoushi> idk, let me check rq
L2074[19:51:54] <DeanIsaKitty> ls
L2075[19:51:56] <DeanIsaKitty> ffs
L2076[19:51:59] <Shuudoushi> XD
L2077[19:52:00] ⇦ Quits: Pwootage (~Pwootage@54.243.207.243) (Ping timeout: 189 seconds)
L2078[19:53:08] ⇨ Joins: KomputerKid (~KomputerK@159.203.221.139)
L2079[19:53:19] ⇨ Joins: surferconor425 (~Conor@188.166.156.164)
L2080[19:55:11] ⇨ Joins: Pwootage (~Pwootage@54.243.207.243)
L2081[19:55:18] ⇦ Quits: Icedream (~icedream@212-83-173-97.rev.poneytelecom.eu) (Ping timeout: 189 seconds)
L2082[19:55:18] ⇦ Quits: Kilobyte (~kilobyte@cucumber.kilobyte22.de) (Ping timeout: 189 seconds)
L2083[19:55:18] ⇦ Quits: ven000m (~e@149.3.143.68) (Ping timeout: 189 seconds)
L2084[19:56:03] ⇨ Joins: ven000m (~e@149.3.143.68)
L2085[19:56:09] <DeanIsaKitty> Did somebody develop software RAID yet?
L2086[19:56:28] <Shuudoushi> vcomponent can kinda do that I think
L2087[19:56:57] ⇦ Quits: surferconor425 (~Conor@188.166.156.164) (Ping timeout: 189 seconds)
L2088[19:57:15] <DeanIsaKitty> Sadly oc uses CBC on the data card <.<
L2089[19:57:47] <Shuudoushi> DeanIsaKitty: lastmodifed works for me http://puu.sh/mIxKp/1aa2ebec63.png
L2090[19:58:03] <Shuudoushi> http://puu.sh/mIxLW/973373eafe.png
L2091[19:58:29] <DeanIsaKitty> huh
L2092[19:58:44] ⇨ Joins: Icedream (~icedream@212-83-173-97.rev.poneytelecom.eu)
L2093[19:58:46] ⇨ Joins: DFrostedWang (~DFrostedW@ec2-52-10-198-190.us-west-2.compute.amazonaws.com)
L2094[19:58:48] <DeanIsaKitty> Oh well, gonna check that out sometime in the future
L2095[19:59:42] ⇦ Quits: Saphire (~Saphire@37.23.232.96) (Ping timeout: 189 seconds)
L2096[19:59:49] ⇨ Joins: surferconor425 (~Conor@188.166.156.164)
L2097[20:00:11] <_habnabit> i'm thinking about how to expose kalium to opencomputers
L2098[20:00:25] <Shuudoushi> DeanIsaKitty: http://puu.sh/mIxTW/4c9c199155.png http://puu.sh/mIxUE/50359d44a3.png
L2099[20:00:50] <Shuudoushi> the issue in which I spoke... ^
L2100[20:01:39] <DeanIsaKitty> Yeah, os.date converts to minecraft time.
L2101[20:01:55] ⇨ Joins: Saphire (~Saphire@37.23.232.96)
L2102[20:02:19] <gamax92> hmm okay, my other idea is a flopy
L2103[20:02:42] <gamax92> I cant tell OC to make http requests using something other than GET or POST
L2104[20:03:00] ⇦ Quits: johnlage (johnlage@204.44.91.127) (Ping timeout: 189 seconds)
L2105[20:03:32] ⇨ Joins: Kilobyte (kilobyte@cucumber.kilobyte22.de)
L2106[20:03:33] ⇦ Quits: tekacs (~tekacs@tekacs.com) (Ping timeout: 189 seconds)
L2107[20:03:35] zsh sets mode: +v on Kilobyte
L2108[20:03:52] <Shuudoushi> gamax92: well shit
L2109[20:04:03] ⇨ Joins: johnlage (johnlage@204.44.91.127)
L2110[20:04:06] ⇦ Quits: v^ (~v^@c-68-41-215-101.hsd1.mi.comcast.net) (Ping timeout: 189 seconds)
L2111[20:04:20] <Shuudoushi> DeanIsaKitty: you're thinking of os.time that returns game time
L2112[20:05:32] ⇨ Joins: tekacs (~tekacs@tekacs.com)
L2113[20:05:43] <DeanIsaKitty> Shuudoushi: os.date does too
L2114[20:05:49] <DeanIsaKitty> I just checked
L2115[20:06:15] <Shuudoushi> o.O
L2116[20:06:19] <gamax92> huh
L2117[20:06:26] <Shuudoushi> when the fuck was that changed...
L2118[20:07:05] <Shuudoushi> right... time to look up a lua based unix timestamp converter...
L2119[20:07:26] ⇦ Quits: cpup (~cpup@32.218.116.17) (Ping timeout: 198 seconds)
L2120[20:07:42] <DeanIsaKitty> Welp, I'ma call it a night now. Got stuffs to do <.<
L2121[20:07:50] *** Keridos is now known as Keridos|away
L2122[20:07:52] <gamax92> DeanIsaKitty: you sure, I just did os.date("%c", 1453687650) and got actual time
L2123[20:08:58] ⇨ Joins: Temportalist (uid37180@id-37180.charlton.irccloud.com)
L2124[20:09:27] <Shuudoushi> there are extra digits for lastmodifed...
L2125[20:09:28] <VanillaBean_> night DeanIsaKitty thanks for the pointer
L2126[20:10:10] <Shuudoushi> gamax92: you're on linux right?
L2127[20:10:16] <gamax92> yeh
L2128[20:10:26] ⇦ Parts: VanillaBean_ (~VanillaBe@c-98-232-42-143.hsd1.wa.comcast.net) (Leaving))
L2129[20:10:26] <Shuudoushi> can you pull epoch time for me rq
L2130[20:10:46] ⇨ Joins: v^ (~v^@c-68-41-215-101.hsd1.mi.comcast.net)
L2131[20:10:47] zsh sets mode: +v on v^
L2132[20:11:23] <gamax92> 1453687882
L2133[20:12:54] ⇦ Quits: careo (~careo@exsurgent.com) (Ping timeout: 189 seconds)
L2134[20:13:03] <Shuudoushi> yeah, linux epoch is 10 digit, OC epoch is 13...
L2135[20:13:26] <Shuudoushi> that would explain a fucking lot
L2136[20:13:31] <gamax92> epoch does not work via number of digits
L2137[20:13:53] <Shuudoushi> it's number of seconds I know
L2138[20:14:07] <gamax92> and in OC, number of milleseconds ...
L2139[20:14:23] <Shuudoushi> shouldn't be o.O
L2140[20:14:48] <gamax92> but it is, which is why you divide by 1000 to fix that
L2141[20:15:15] <gamax92> anyway I'mma bbl, youtube
L2142[20:15:28] <Shuudoushi> o/
L2143[20:18:59] <gamax92> ;-;
L2144[20:19:10] <gamax92> headphones are broke
L2145[20:20:48] ⇨ Joins: careo (~careo@exsurgent.com)
L2146[20:21:09] ⇦ Quits: EnderBot2 (enderbot2@athar.theender.net) (Ping timeout: 189 seconds)
L2147[20:21:09] ⇦ Quits: Ender (Ender@athar.theender.net) (Ping timeout: 189 seconds)
L2148[20:21:12] ⇨ Joins: Ender (Ender@athar.theender.net)
L2149[20:21:14] ⇨ Joins: EnderBot2 (enderbot2@athar.theender.net)
L2150[20:21:14] zsh sets mode: +v on EnderBot2
L2151[20:21:31] <Shuudoushi> lulz
L2152[20:23:39] ⇨ Joins: cpup (~cpup@32.218.116.17)
L2153[20:24:27] ⇦ Quits: alekso56 (~znc@ti0107a400-2313.bb.online.no) (Ping timeout: 189 seconds)
L2154[20:24:27] ⇦ Quits: Keridos|away (~Keridos@ironhide.stw-bonn.de) (Ping timeout: 189 seconds)
L2155[20:24:32] ⇨ Joins: Keridos|away (~Keridos@ironhide.stw-bonn.de)
L2156[20:30:03] ⇨ Joins: alekso56 (~znc@85.165.227.19)
L2157[20:30:29] *** alekso56 is now known as Guest5647
L2158[20:31:06] ⇦ Quits: Nachtara (~Nachie@50-83-108-134.client.mchsi.com) (Read error: Connection reset by peer)
L2159[20:33:33] <Shuudoushi> hmmm
L2160[20:33:49] <Shuudoushi> now I need to figure out how to apply timezones to this shit
L2161[20:34:50] <Kodos> It's too bad timeapi shut down
L2162[20:35:03] <Kodos> OH
L2163[20:35:04] <Kodos> It's back up
L2164[20:35:11] <Mimiru> I was gonna say...
L2165[20:35:12] <Mimiru> lol
L2166[20:35:16] <Shuudoushi> or ban this shit out of your IP if you ping their serer too often
L2167[20:35:17] <Kodos> \o/ My lib works again
L2168[20:35:19] <Temia> I am now aliasing 'git rekt' to 'git reset --hard' on all of my systems. <.<
L2169[20:35:23] <Shuudoushi> s/this/the
L2170[20:35:24] <Kibibyte> <Shuudoushi> or ban the shit out of your IP if you ping their serer too often
L2171[20:35:42] <Shuudoushi> wow Temia...
L2172[20:36:01] <Mimiru> fuck you is still aliases to sudo the last command
L2173[20:36:02] <Mimiru> lol
L2174[20:36:10] <Mimiru> aliased*
L2175[20:36:41] <Mimiru> I lied... timeapi
L2176[20:36:42] <Mimiru> err
L2177[20:36:46] <Mimiru> alias fuck='sudo $(history -p \!\!)'
L2178[20:36:47] <Temia> I need better ways to spend my time :x
L2179[20:37:06] <Temia> Plus sometimes I've used the command when an attempted bugfix just wasn't working out.
L2180[20:37:50] <Mimiru> also just is sudo fucking is apt-get so I can just fucking install bleh
L2181[20:42:05] ⇦ Quits: brandon3055 (~Brandon@122.129.140.1) (Ping timeout: 198 seconds)
L2182[20:43:07] ⇦ Quits: t3hero (~t3hero@2601:202:200:fb50:bdb7:a3f7:1500:7590) (Read error: Connection reset by peer)
L2183[20:43:34] ⇨ Joins: t3hero (~t3hero@2601:202:200:fb50:bdb7:a3f7:1500:7590)
L2184[21:03:31] <gamax92> is drinking hot sauce a good way to wake up
L2185[21:04:05] <greaser|q> aaaaand my ARM emulator can now run my mandelbrot test
L2186[21:04:27] <gamax92> greaser|q: yay, oc?
L2187[21:04:30] <greaser|q> next up, parse the BX op
L2188[21:04:35] <greaser|q> gamax92: eventually
L2189[21:04:42] <gamax92> more yay
L2190[21:05:42] <greaser|q> what i intend to use it for is not the CPU though
L2191[21:05:54] <greaser|q> but for clientsiding GPU packets
L2192[21:06:04] <gamax92> ooh
L2193[21:06:52] ⇦ Quits: fotoply (~fotoply@2-104-228-18-static.dk.customer.tdc.net) ()
L2194[21:19:14] *** Tiin57 is now known as ^
L2195[21:25:27] *** Antheus is now known as AntheusAway
L2196[21:25:47] ⇦ Quits: surferconor425|Cloud (uid77899@id-77899.tooting.irccloud.com) (Quit: Connection closed for inactivity)
L2197[21:48:03] ⇦ Quits: Vi (~Vic@nightfall.moe) (Ping timeout: 189 seconds)
L2198[21:48:07] ⇨ Joins: Vic (~Vic@nightfall.moe)
L2199[21:48:35] *** Vic is now known as Guest48608
L2200[22:13:26] ⇦ Quits: Lathanael|Away (~Lathanael@p54960445.dip0.t-ipconnect.de) (Ping timeout: 198 seconds)
L2201[22:13:30] ⇦ Quits: Temportalist (uid37180@id-37180.charlton.irccloud.com) (Quit: Connection closed for inactivity)
L2202[22:21:36] ⇨ Joins: Lathanael|Away (~Lathanael@p54961546.dip0.t-ipconnect.de)
L2203[22:28:41] <greaser|q> i'm trying to get my s3m player working in this emulator
L2204[22:31:22] <Kodos> List of vanilla blocks that water can break, go
L2205[22:34:35] <_habnabit> crops?
L2206[22:36:13] <FatalDistraction> Torches, skulls, tall grass, flowers.
L2207[22:40:05] <Kodos> Skulls break with water?
L2208[22:40:07] <Kodos> Huh, TIL
L2209[22:55:53] <AntheusAway> 80% packet loss...
L2210[23:03:57] ⇨ Joins: Madxmike (~Madxmike@71-90-219-250.dhcp.spbg.sc.charter.com)
L2211[23:05:35] <AntheusAway> djasklfjasdf
L2212[23:05:38] * AntheusAway shoots self
L2213[23:05:42] ⇦ Quits: Madxmike (~Madxmike@71-90-219-250.dhcp.spbg.sc.charter.com) (Remote host closed the connection)
L2214[23:06:16] <AntheusAway> nothing like seeing your speeds using Bytes
L2215[23:09:34] ⇨ Joins: npe|office (~NPExcepti@bps-gw.hrz.tu-chemnitz.de)
L2216[23:09:54] *** AntheusAway is now known as Antheus
L2217[23:19:46] ⇦ Quits: norio (~noiro@host-146-23.gakeucf.kennesaw.ga.us.clients.pavlovmedia.com) (Ping timeout: 186 seconds)
L2218[23:20:28] <Izaya> Yes there is
L2219[23:21:34] <Temia> Been there, done that, used dialup up until 2004. >3>
L2220[23:21:45] <FatalDistraction> Seeing your internet speeds reach as high as 2.9mbps.....
L2221[23:21:55] <Temia> ...
L2222[23:22:02] <Temia> According to the FCC I have never known broadband
L2223[23:22:03] * Temia sobs
L2224[23:22:08] <Izaya> Used dialup until 2008
L2225[23:22:13] <Temia> Ouch.
L2226[23:22:23] <FatalDistraction> DSL forever dude
L2227[23:22:24] <Izaya> My dad was an ass.
L2228[23:22:59] <Izaya> ADSL2+ yaaaaaaaaaaaaaaaay
L2229[23:23:00] <FatalDistraction> ...
L2230[23:24:44] <Antheus> Temia, same about the FCC thing
L2231[23:24:45] <Antheus> also
L2232[23:24:57] <Antheus> Had Dialup until 2010
L2233[23:25:51] <Temia> I sympathise with your pain.
L2234[23:26:54] *** SleepingFairy is now known as Hanako_Ikezawa
L2235[23:26:54] ⇦ Quits: t3hero (~t3hero@2601:202:200:fb50:bdb7:a3f7:1500:7590) (Read error: Connection reset by peer)
L2236[23:28:41] ⇨ Joins: t3hero (~t3hero@c-67-182-65-239.hsd1.ca.comcast.net)
L2237[23:32:06] <v^> fak
L2238[23:32:30] <FatalDistraction> How does this encryption program look
L2239[23:32:31] <FatalDistraction> http://puu.sh/mIJop/c01ac3d7ba.png
L2240[23:32:43] <v^> resizing 200GB of files
L2241[23:32:51] <gamax92> is having no internet worse than dialup?
L2242[23:33:03] <v^> gamax92, atleast on dialup you can IRC
L2243[23:33:28] <FatalDistraction> Assuming that the VI is stored on the EEPROM, how does that program look
L2244[23:34:17] <FatalDistraction> the intended purpose is to iterate through every directory to retrieve file paths, then open each of those files, copy the data, encrypt it, serialize it, then delete the file
L2245[23:34:23] <_habnabit> you're reimplementing serialization.serialize for some reason
L2246[23:34:25] <v^> working on a super hacking toolkit of sorts in CC
L2247[23:34:30] <gamax92> I had no home internet for a long time and only had access to library internet for 30 minutes of 20KB/s every weekend
L2248[23:34:31] <v^> because i hate everyone in CC
L2249[23:34:43] <v^> gamax92, `-`, vifino, u wont beleive this shit
L2250[23:34:45] <_habnabit> deleting files before you write out the encrypted version is... an interesting choice
L2251[23:34:48] <_habnabit> i hopeyou have backups
L2252[23:34:48] <v^> firewolf uses RSA now
L2253[23:35:06] <v^> but the private and public keys are standard ass doubles
L2254[23:35:16] <_habnabit> laffo
L2255[23:35:33] <v^> like even 128 bit RSA is breakable now adays
L2256[23:35:41] <_habnabit> if that's a 50-something bit RSA key, i think that could be cracked on a TI-83+
L2257[23:35:58] <v^> nop
L2258[23:36:20] <v^> u can only store like up to (2^32)+1023 or something stupid in doubles
L2259[23:37:05] <v^> lets test
L2260[23:37:22] <gamax92> thought it was 52
L2261[23:37:55] <_habnabit> IEEE 754 doubles have a 53-bit mantissa
L2262[23:38:03] <v^> right
L2263[23:38:10] <v^> .l a=2^32 while a~=a+1 do a=a+1 end return a
L2264[23:38:11] <^v4> v^, Time limit exeeded.
L2265[23:38:19] <v^> <> a=2^32 while a~=a+1 do a=a+1 end return a
L2266[23:38:24] <v^> might regret that
L2267[23:38:52] <v^> ya tots regret that
L2268[23:38:59] <_habnabit> probably should've just gone up by powers of 2
L2269[23:39:18] <FatalDistraction> Alright, the new one ditches serialization (huge files otherwise) and instead encrypts each file and places it in the directory it is supposed to be in.
L2270[23:39:52] <FatalDistraction> @gamax92 How's this for a filesystem encryption program? http://puu.sh/mIJLp/0d13b2eb39.png
L2271[23:40:14] <v^> Fatal, right now im working on a program that encrypts CC bytecode so i can keep my hacking tools from being stolen or read
L2272[23:40:20] <_habnabit> you're still deleting the files before writing out the encrypted versions
L2273[23:40:32] <v^> .l 2^52==(2^52)+1
L2274[23:40:32] <^v4> v^, false
L2275[23:40:36] <FatalDistraction> Yes
L2276[23:40:50] <v^> .l (2^52)==(2^52)
L2277[23:40:50] <^v4> v^, true
L2278[23:40:54] <FatalDistraction> so this essentially saves the filesystem from being doubled in size then cut in half again
L2279[23:40:58] <v^> .l (2^52+1)==(2^52+2)
L2280[23:40:58] <^v4> v^, false
L2281[23:41:02] <v^> my wut
L2282[23:41:23] <FatalDistraction> .l sqrt(-1)
L2283[23:41:26] ⇦ Quits: Doty1154 (~Doty1154@2601:648:8002:c1a1:6c3a:f2f5:ffe7:593d) (Quit: Leaving)
L2284[23:41:33] <_habnabit> or... you could do each file in turn, since this is unsafe _and_ on the far side of the disk/memory tradeoff
L2285[23:41:35] <FatalDistraction> .I sqrt(-1)
L2286[23:41:45] <FatalDistraction> uhhmmm
L2287[23:42:10] <FatalDistraction> I made sure to flush/replace variables at each For loop, so that there's not any memory overload
L2288[23:42:26] <FatalDistraction> unless, the file exceeds RAM capacity, which probably should not happen
L2289[23:42:45] <_habnabit> you're loading in _every file_, and then writing out _every file_
L2290[23:42:57] <_habnabit> so you have to fit _every file_ in RAM
L2291[23:43:43] <FatalDistraction> Oh.... I'll implement a repeat then
L2292[23:44:14] <v^> fatal, if discord actually had an official API ^v commands would work
L2293[23:45:03] <FatalDistraction> There @_habnabit http://puu.sh/mIK1b/460deb2a49.png
L2294[23:45:37] <FatalDistraction> Keep in mind, this will only be to encrypt a small OS
L2295[23:45:42] <FatalDistraction> well, not small....
L2296[23:45:46] <FatalDistraction> but smaller than memory
L2297[23:46:00] ⇦ Quits: ^v (~^v@c-68-41-215-101.hsd1.mi.comcast.net) (Read error: Connection reset by peer)
L2298[23:46:02] <FatalDistraction> It won't encrypt user files, only system files
L2299[23:46:14] <_habnabit> (by the way, what stops someone who isn't you from doing getData on the EEPROM?)
L2300[23:46:32] <FatalDistraction> the VI is stored on the EEPROM, not the key
L2301[23:46:59] <FatalDistraction> it'll take a long time, and someone who actually knows how, to decrypt the files using just the VI
L2302[23:47:49] ⇨ Joins: ^v (~^v@c-68-41-215-101.hsd1.mi.comcast.net)
L2303[23:48:02] <FatalDistraction> I'm going to make it so that it'll be nearly impossible to view or copy system files
L2304[23:48:14] <_habnabit> but then how does the key get entered
L2305[23:48:15] <v^> .l a=2^52 while a~=a+1 do a=a+1 end return a
L2306[23:48:16] <^v4> v^, Time limit exeeded.
L2307[23:48:20] <v^> <>l a=2^52 while a~=a+1 do a=a+1 end return a
L2308[23:48:24] <v^> er wut
L2309[23:48:28] <FatalDistraction> I'll make a password prompt on boot, from the EEPROM
L2310[23:48:29] <v^> <> a=2^52 while a~=a+1 do a=a+1 end return a
L2311[23:48:45] <FatalDistraction> there's still like ~3KB of space on it, that should be plenty
L2312[23:49:28] <v^> ah
L2313[23:49:33] <v^> its 2^53
L2314[23:49:51] <v^> .l 2^53==(2^53)+1
L2315[23:49:52] <^v4> v^, true
L2316[23:50:00] <v^> so 53 bit primes
L2317[23:50:33] <_habnabit> that is, of course, if they actually know and care about that precision limit
L2318[23:50:49] <_habnabit> perhaps they're not actually primes at all
L2319[23:51:33] ⇨ Joins: BarbasTheDog (~Barbas@35-176-233-186.raimax.com.br)
L2320[23:53:33] ⇦ Quits: Barbas (~Barbas@35-176-233-186.raimax.com.br) (Ping timeout: 198 seconds)
L2321[23:55:02] <v^> _habnabit, they probably arent primes
L2322[23:57:14] *** mrkirby153 is now known as kirby|gone
<<Prev Next>> Scroll to Top