<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:05:01] <CntKillMe> is anyone actually working on a GPT-type thing for HDs and a BIOS to go along with it? I might work on something like that for the hell of it if not
L2[00:05:34] <CntKillMe> is anyone actually working on a GPT-type thing for unmanaged HDs and a BIOS to go along with it? I might work on something like that for the hell of it if not [Edited]
L3[00:12:30] ⇦ Quits: Nachtara (Nachtara!~Nachiebre@2604:2d80:c02c:8376:f89a:60b:e406:2f40) (Quit: Blue skidoo, we can too!)
L4[00:13:13] <chernobyl> lol
L5[00:13:41] <chernobyl> wrote a script to replace all instances of "stderr:write" and "error" with "error("HOLY FUCK A VIRUS")"
L6[00:14:00] <chernobyl> made for some quite amusing situations
L7[00:52:34] ⇨ Joins: Unh0ly_Tigg (Unh0ly_Tigg!~Unh0ly_Ti@c-24-21-196-226.hsd1.or.comcast.net)
L8[00:57:43] <CntKillMe> so here's something annoying:
L9[00:58:03] <CntKillMe> 3rd value in hddPlatterCounts is 6
L10[00:58:03] <CntKillMe> but 3rd value in hddSizes is 4096
L11[00:58:04] <CntKillMe> 4096/6 is not an inteer
L12[00:58:18] <CntKillMe> so how large actually is a sector for a 3rd tier hd
L13[01:08:54] <CntKillMe> Message contained 4 or more newlines and was pastebined https://paste.pc-logix.com/lojirepeho
L14[01:09:14] <CntKillMe> Message contained 4 or more newlines and was pastebined https://paste.pc-logix.com/yituwetovu
L15[01:28:00] ⇦ Quits: Doty1154 (Doty1154!~Doty1154@2601:648:8000:134f:4005:7e95:526f:deb1) (Ping timeout: 186 seconds)
L16[01:29:11] ⇨ Joins: Doty1154 (Doty1154!~Doty1154@2601:648:8000:134f:91d0:7ac3:da21:401c)
L17[01:43:03] <CntKillMe> apparently this is old news: https://github.com/MightyPirates/OpenComputers/issues/2305
L18[01:43:03] <MichiBot> Title: Unmanaged tier 3 hard disk has strange default geometry: | Posted by: SolraBizna | Posted: Sun Mar 12 00:25:16 CST 2017 | Status: open
L19[01:43:19] <CntKillMe> ill issue a pull request ig
L20[01:51:34] <CntKillMe> eh so many branches.
L21[01:51:34] <CntKillMe> tl;dr: /src/main/resources/application.conf (after hddPlatterCounts=[) replace 6 with 8
L22[02:15:03] <Forecaster> http://explosm.net/comics/4845/
L23[02:54:18] <CntKillMe> How's this for a simple partition table format: <https://pastebin.com/k06Ti8uu&gt;
L24[02:56:11] <CntKillMe> i'm not really an expert (literally just learned how the GPT works and is stored and all that) so please tell me if there's something i should change
L25[02:57:41] <CntKillMe> Also I know pretty much the entire header is not really required but it's a really nice convenience and only takes up a single sector
L26[02:57:54] <CntKillMe> i'm not really an expert (literally just learned how the MBR and GPT work and is stored and all that) so please tell me if there's something i should change [Edited]
L27[03:01:48] <CntKillMe> I'm thinking the PARTED floppy will have the ability to build OCPTs and of course manage partitions
L28[03:02:09] <CntKillMe> I don't have partition types since I don't think that's necessary but who knows
L29[03:02:25] <CntKillMe> i think it would probably be nice to have actually
L30[03:03:20] ⇦ Quits: Doty1154 (Doty1154!~Doty1154@2601:648:8000:134f:91d0:7ac3:da21:401c) (Read error: Connection reset by peer)
L31[03:38:01] ⇦ Quits: knightkill (knightkill!webchat@49.36.1.205) (Quit: Web client closed)
L32[03:46:00] ⇦ Quits: ben_mkiv (ben_mkiv!~ben_mkiv@p4FED4597.dip0.t-ipconnect.de) (Ping timeout: 383 seconds)
L33[04:00:56] ⇨ Joins: Vexatos (Vexatos!~Vexatos@p5B3C8EFD.dip0.t-ipconnect.de)
L34[04:00:56] zsh sets mode: +v on Vexatos
L35[04:47:44] ⇨ Joins: Inari (Inari!~Pinkishu@p5DEC6C9F.dip0.t-ipconnect.de)
L36[04:59:26] <FeherNeoH> OCPT looks good, but we'll probably need much more flags (hopefully that 32bit will be enough, but who knows)
L37[05:06:40] ⇨ Joins: Turtle (Turtle!~SentientT@ip5657cbb2.direct-adsl.nl)
L38[06:02:54] ⇨ Joins: BearishMushroom (BearishMushroom!~BearishMu@82-209-154-59.cust.bredband2.com)
L39[06:47:42] <Saphire> Unpopular opinion: Linux users and groups have nothing over Windows access control and group policies
L40[06:49:48] <Saphire> ...I guess SELinux is kind of this?
L41[06:56:54] ⇨ Joins: ben_mkiv (ben_mkiv!~ben_mkiv@p4fed4597.dip0.t-ipconnect.de)
L42[07:29:14] <FeherNeoH> SELinux is...
L43[07:29:18] <FeherNeoH> a pain
L44[09:32:35] <AmandaC> Saphire: user/groups are just the basic tier. There's a more involved one too, though I forget what it's called.
L45[09:33:29] <Saphire> SElinux?
L46[09:33:42] <AmandaC> Saphire: no
L47[09:33:47] <AmandaC> Saphire: It's unrelated to SELinux
L48[09:35:35] <AmandaC> I'm not sure, but I think the commandline interface is called `fsetacl`
L49[09:36:20] <Forecaster> https://youtu.be/3VVNoVW7t1M
L50[09:36:20] <MichiBot> 8 Worst Pick-Up Lines That Didn't Work and Probably Never Will | length: 14m 32s | Likes: 7,704 Dislikes: 82 Views: 208,805 | by outsidexbox | Published On 1/2/2018
L51[10:27:57] ⇨ Joins: Cervator (Cervator!~Thunderbi@2601:4c1:4001:1d5d:103d:27f6:feae:63f6)
L52[10:38:46] <CntKillMe> i think 32 flags should be enough, i dont think the real GPT even uses more than 8 or something
L53[10:54:26] <Inari> %pet AmandaC
L54[10:54:26] * MichiBot brushes AmandaC with the secret to everlasting life. AmandaC recovers 2 health!
L55[10:58:28] * AmandaC becoes super immortal god super immortal
L56[10:58:59] ⇨ Joins: Fira (Fira!webchat@LFbn-1-13026-23.w83-199.abo.wanadoo.fr)
L57[10:59:03] <Fira> Heyo
L58[10:59:31] <AmandaC> AAAAAAAA A HUMAN!
L59[10:59:33] * AmandaC hides
L60[10:59:49] <AmandaC> %hello
L61[10:59:49] <MichiBot> AmandaC: Hello! Welcome to #oc! The one and only opencomputers channel! Please ask your questions directly (don't ask to ask) and provide error/code examples! (Use pastebin.com if theyre more than one line!) Dont mind the random conversation you might have walked into.
L62[11:00:36] <Fira> Sooo I started messing around with OC/OpenOS and i thought I'd try and write an auto-adjusting program for BigReactor to minimize fuel usage by controlling control rods automatically
L63[11:01:10] <Fira> I've been trying to use libForm's timers for hours before giving up on them, but I can't get event.timer() to work at all either
L64[11:01:42] <Fira> Tried in LUA Shell directly aswell, simply uh, nothing happens, the callabacks never seem to be fired back
L65[11:01:42] <MichiBot> It's Lua, not LUA. Name not an acronym.
L66[11:01:47] <Fira> Muuuh.
L67[11:01:55] <Fira> Anyway
L68[11:02:03] <Temia> sassybot.
L69[11:02:08] * Temia pets MichiBot. =u=
L70[11:02:08] * MichiBot purrs
L71[11:02:22] <AmandaC> Can you show us your code you're using, Fira?
L72[11:02:53] <Fira> Sure sec
L73[11:05:51] <Fira> quick screenie of trying it in lua shell => https://ibin.co/3qZCZpYiuyTE.png
L74[11:06:48] <AmandaC> Hrm, is anything printed in /tmp/event.log?
L75[11:06:49] <Fira> i guess i'm doing something plain wrong but i've read up on libform and openos source and doc, tried messing around, but i really can't see where
L76[11:06:52] <AmandaC> That should work
L77[11:07:16] <Fira> Uhhh
L78[11:07:17] <Fira> oh
L79[11:07:19] <Fira> hmm
L80[11:08:01] <Fira> well there are some of errors my in-program callback likely printed during earlier runs
L81[11:08:09] <AmandaC> also, worth noting the `local event = require("event")` is essentially a no-op in the lua shell. It still works because `event` is auto-imported for you
L82[11:08:10] <Fira> but nothing regarding the test in lua shell for example
L83[11:08:18] <Fira> alright
L84[11:08:26] <AmandaC> You can't use `local` in the lua shell, because every command is a new environment
L85[11:09:07] <AmandaC> What version of OC are you on, Fira?
L86[11:09:19] <AmandaC> Might be a bug in OpenOS (ping payonel)
L87[11:09:41] <Fira> looks like a bug yeah, especially since no matter what i do i always get timer id 22
L88[11:09:47] <AmandaC> ah, yeah
L89[11:09:49] <Fira> but i have no idea what the actual version i'm running
L90[11:10:05] <AmandaC> You didn't do anything like edit the files in /lib or /boot did you?
L91[11:10:09] <Fira> not yet :p
L92[11:10:16] <Izaya> sanity check
L93[11:10:19] <AmandaC> You shouldn't touch the "system" files
L94[11:10:30] <Izaya> you've tried turning it off and on again, right?
L95[11:10:48] <Fira> i ... think i did, let me try again
L96[11:10:57] <Izaya> just in case
L97[11:11:34] <CntKillMe> does component.list return the components in the same order every time?
L98[11:11:43] <AmandaC> @CntKillMe no
L99[11:11:57] <CntKillMe> dammit
L100[11:12:01] <Fira> eheheheheh.... i rebooted and it works in lua shell
L101[11:13:25] <Fira> was pretty sure i did that earlier.. ugh
L102[11:13:27] <Fira> oh well
L103[11:13:43] <AmandaC> Fira: sounds like that libForm thing might be touching stuff it shouldn't
L104[11:14:02] <CntKillMe> oh i have an idea, eeprom can store data separately so
L105[11:14:52] <CntKillMe> i can just have the order it was in first to be the order it will always be in
L106[11:15:14] <AmandaC> @CntKillMe but what if a device is removed? Added back?
L107[11:15:27] <Fira> Hmm
L108[11:15:31] <CntKillMe> i'll have to handle that in the eepromcode
L109[11:15:43] <CntKillMe> remove it from the list or add it to the end of the list
L110[11:15:46] <CntKillMe> oh
L111[11:15:48] <CntKillMe> hmm
L112[11:15:57] <CntKillMe> how much data can eeprom hold
L113[11:16:04] <AmandaC> 256bytes by default
L114[11:16:13] <AmandaC> (configurable)
L115[11:16:21] <CntKillMe> oh that's enough
L116[11:16:25] <CntKillMe> addresses are only 16 bytes
L117[11:16:56] <Fira> libForm doesn't do anything special with timers, it basically just wraps calls to event.timer/cancel from what i saw in source
L118[11:17:16] <Fira> so i guess the timers on OpenOS side erm, randomly broke for some reason, seems fixed now... uh
L119[11:17:28] <Fira> wait, maybe i know
L120[11:19:11] <Fira> nope. no clue :D
L121[11:23:03] <CntKillMe> is there a dump on the wiki somewhere that lists all components' documentation
L122[11:23:34] <gamax92> ~w gpu component
L123[11:23:34] <ocdoc> http://ocd.cil.li/component:gpu
L124[11:23:36] <CntKillMe> i know they have the dozen or so pages listing each component but it'd be nice to see a dump of it if something like that is available
L125[11:23:42] <gamax92> well
L126[11:23:51] <gamax92> just look at the dozen or so pages then
L127[11:23:58] <gamax92> maybe open all of them up in different tabs
L128[11:24:22] <gamax92> or all of them in separate windows and then tile them on the screen
L129[11:24:57] <CntKillMe> lol i wish i had that much space, oh well
L130[11:40:18] <CntKillMe> during boot does `error` just bind to the first gpu and write to it orsomething
L131[11:46:56] <AmandaC> %choose productive or SEIZE THE MEANS OF CATNIP PRODUCTION
L132[11:46:57] <MichiBot> AmandaC: productive
L133[11:47:18] <Forecaster> that's unfortunate :P
L134[12:28:51] ⇨ Joins: Doty1154 (Doty1154!~Doty1154@2601:648:8000:134f:2951:602:956b:7ca5)
L135[12:37:32] <payonel> Fira: what is libForm?
L136[12:37:42] <payonel> sounds like it messes with the event library
L137[12:38:46] <payonel> and ... stuff messing with openos libraries is kinda annoying :)
L138[12:40:24] <payonel> @CntKillMe boot selects the first gpu from an unsorted list
L139[12:40:58] <payonel> though, @habnabit was testing with a way to sort them
L140[13:07:07] ⇦ Quits: Thutmose (Thutmose!~Patrick@host-69-59-79-123.nctv.com) (Read error: Connection reset by peer)
L141[13:07:42] ⇨ Joins: Thutmose (Thutmose!~Patrick@host-69-59-79-123.nctv.com)
L142[13:23:05] ⇨ Joins: Silentsouls (Silentsouls!~silentsou@86.89.166.40)
L143[13:23:15] <Silentsouls> o/
L144[13:23:44] ⇦ Quits: Silentsouls (Silentsouls!~silentsou@86.89.166.40) (Client Quit)
L145[13:49:43] <AmandaC> %choose productive or anime
L146[13:49:43] <MichiBot> AmandaC: anime
L147[14:13:19] <ben_mkiv> im having way to much fun with this... http://pasteall.org/pic/show.php?id=125511 this cow is set to avoid the rabbit xD
L148[14:13:47] <AmandaC> ben_mkiv: now set the rabbit to chase the cow, and record it and put it to yakkity sax
L149[14:14:10] <ben_mkiv> ok xD
L150[14:14:16] <ben_mkiv> well for the first part
L151[14:15:06] <ben_mkiv> xD
L152[14:16:34] <ben_mkiv> that would be a nice screensaver
L153[14:18:12] ⇦ Quits: Backslash_ (Backslash_!~Backslash@5.147.167.76) (Ping timeout: 383 seconds)
L154[14:18:49] <ben_mkiv> added a silverfish to team rabbit <3
L155[14:25:43] <Inari> Redstonefish
L156[14:26:31] <ben_mkiv> https://i.imgur.com/T8nJowf.png
L157[14:26:36] <ben_mkiv> it was about time for such teams :D
L158[14:27:22] <Inari> #TeamTemia
L159[14:28:57] *** Arcan is now known as arcan
L160[14:31:22] *** arcan is now known as Arcan
L161[14:34:07] <payonel> ben_mkiv: and you're doing this with lua scripts controlling the animals?
L162[14:34:51] <ben_mkiv> this feature hasnt a lua interface yet
L163[14:35:05] <payonel> how is it using oc?
L164[14:35:16] <payonel> or is this something different
L165[14:35:33] <ben_mkiv> its the same, just that this feature doesnt use oc
L166[14:35:46] <ben_mkiv> the mod is about adding different capabilities, oc is just one of them
L167[14:36:07] <payonel> adding caps to animals?
L168[14:36:19] <ben_mkiv> but some of the features already are supported by custom components for the oc instance
L169[14:36:23] <ben_mkiv> yes, to any mob actually
L170[14:36:26] <ben_mkiv> and minecarts
L171[14:36:47] <ben_mkiv> like you can use the teleport/move features with OC
L172[14:37:07] <payonel> that sounds fun
L173[14:37:22] <ben_mkiv> and some inventory stuff is supported, like drop stuff and read the inventory
L174[14:37:30] <payonel> i've been hardening the idea of handles and processes in openos
L175[14:37:32] <ben_mkiv> as you can also add a custom inventory
L176[14:37:40] <payonel> to an animal? :)
L177[14:37:42] <payonel> or mob
L178[14:37:42] <payonel> nice
L179[14:37:44] <ben_mkiv> yes :D
L180[14:38:10] <payonel> anyways, now any file or buffered io you open belongs to the process (when the process exits, the handle closes)
L181[14:38:19] <payonel> same for pipes, same for threads
L182[14:38:24] <payonel> same for io handles
L183[14:38:36] <ben_mkiv> they've been global before?
L184[14:38:54] <payonel> no, i made all of that process local for some time
L185[14:39:11] <payonel> but now the process cleans up when it exits
L186[14:44:57] ⇨ Joins: Backslash (Backslash!~Backslash@5.147.167.76)
L187[14:46:47] <payonel> ben_mkiv: this is what it took btw https://github.com/payonel/OpenComputers/commit/faf67ff70380ec151d82113b8675c59a822b3bef
L188[14:47:11] * payonel is afk
L189[14:47:25] <ben_mkiv> meh all lua
L190[14:47:25] <ben_mkiv> xD
L191[14:48:39] <AmandaC> payonel: was this intentionally removed? https://github.com/payonel/OpenComputers/commit/faf67ff70380ec151d82113b8675c59a822b3bef#diff-5c4c4ec0d6002e37e05f5c1078a0142eL123
L192[15:08:58] <Inari> %give MichiBot a guide to maximizing the area of cow poop
L193[15:08:59] * MichiBot accepts the guide to maximizing the area of cow poop and adds it to her inventory
L194[15:10:34] <AmandaC> %give MichiBot an eBook on the various ways to train a dog to dance
L195[15:10:34] * MichiBot accepts the eBook on the various ways to train a dog to dance and adds it to her inventory
L196[15:11:11] <AmandaC> %choose continue productive or lay down and anime
L197[15:11:11] <MichiBot> AmandaC: continue productive
L198[15:11:16] <AmandaC> hrm. No
L199[15:11:25] * AmandaC cuddles up, loads up another episode of Eureka 7
L200[15:12:16] <Temia> %give MichiBot a voodoo doll of Holland
L201[15:12:17] * MichiBot accepts the voodoo doll of Holland and adds it to her inventory
L202[15:12:28] <Temia> He gives the country a bad name. :(
L203[15:12:43] <Inari> Who does?
L204[15:12:47] <Temia> Holland.
L205[15:12:52] <Temia> From Eureka 7.
L206[15:12:52] <Inari> But
L207[15:12:56] <Inari> Holland is a country
L208[15:13:05] <Temia> Yes it is. And he gives it a bad name.
L209[15:13:11] <Inari> Are you co-watching anime with AmandaC o.o
L210[15:13:24] <Temia> No, I just know about it from past secondhand experience
L211[15:13:35] <Inari> I see
L212[15:13:42] <Inari> %pet Temia
L213[15:13:42] * MichiBot pets Temia with the year 1499. Temia recovers 5 health!
L214[15:14:32] <AmandaC> Temia: I'm only on episode 5 and he doesn't seem to be to bad yet
L215[15:18:10] <CompanionCube> holland is not a country
L216[15:18:14] <CompanionCube> it is part of a country
L217[15:33:49] <Temia> True, I probably would've been better off saying region.
L218[15:40:02] <Inari> CompanionCube: true
L219[15:40:07] <Inari> I just reviewed on that :D
L220[15:40:07] <Inari> https://www.youtube.com/watch?v=eE_IUPInEuc
L221[15:40:07] <MichiBot> Holland vs the Netherlands | length: 4m | Likes: 87,007 Dislikes: 1,346 Views: 7,489,847 | by CGP Grey | Published On 22/12/2012
L222[15:48:33] <Temia> Either way, Holland the character is a jerk and I'm sure Amanda will see why in due time
L223[15:50:58] <CntKillMe> hmm i can probably wrap the component library to make openos work on an unmanaged drive, that's gonna be a lot of work tho
L224[15:51:03] <CntKillMe> blehhhhhh oh well i'll live
L225[16:31:44] <Inari> https://twitter.com/TheStrangeLog/status/933020643360169984
L226[16:31:44] <MichiBot> Tue Nov 21 11:13:50 CST 2017 @TheStrangeLog: Fixed infinite cuckolding, your cuckolding victim will now only slightly hate you and not infinitely hate you
L227[16:36:48] <Inari> https://cdn.discordapp.com/attachments/367570178277507072/409490164453212170/Roses-are-Red-Violets-are-Blue.jpg pretty
L228[16:38:29] ⇦ Quits: Fira (Fira!webchat@LFbn-1-13026-23.w83-199.abo.wanadoo.fr) (Ping timeout: 180 seconds)
L229[16:42:54] <Temia> Hee
L230[16:44:36] ⇨ Joins: DeeJayh (DeeJayh!~DeeJayh@c-98-239-239-20.hsd1.pa.comcast.net)
L231[16:47:18] ⇦ Quits: DeeJayh (DeeJayh!~DeeJayh@c-98-239-239-20.hsd1.pa.comcast.net) (Client Quit)
L232[16:58:31] ⇦ Quits: Inari (Inari!~Pinkishu@p5DEC6C9F.dip0.t-ipconnect.de) (Quit: 'Multipass!')
L233[17:12:49] ⇦ Quits: lp (lp!~lordpipe@66.109.211.167) (Quit: WeeChat 2.0.1)
L234[17:13:07] ⇨ Joins: lp (lp!~lordpipe@66.109.211.167)
L235[17:40:18] <CntKillMe> are disk drives assigned addresses
L236[17:40:28] <CntKillMe> or can you not do anything with them and only with whatever is in them
L237[17:55:49] <AmandaC> I don't think they have their own addresses, no.
L238[18:00:17] ⇦ Quits: FeherNeoH (FeherNeoH!~feherneoh@szanto-c.koll.pte.hu) (Quit: Leaving)
L239[18:17:21] ⇦ Quits: Backslash (Backslash!~Backslash@5.147.167.76) (Ping timeout: 198 seconds)
L240[18:19:39] <AmandaC> %choose token or session
L241[18:19:40] <MichiBot> AmandaC: token
L242[18:21:45] <AmandaC> Looks like "Session" is the correct noun to use for this.
L243[18:32:15] ⇦ Quits: UnRealDinnerbone (UnRealDinnerbone!uid60473@id-60473.tooting.irccloud.com) (Quit: Connection closed for inactivity)
L244[18:49:01] ⇨ Joins: Backslash (Backslash!~Backslash@5.147.167.76)
L245[18:50:10] ⇦ Quits: Unh0ly_Tigg (Unh0ly_Tigg!~Unh0ly_Ti@c-24-21-196-226.hsd1.or.comcast.net) (Quit: Leaving)
L246[19:09:36] <CntKillMe> oh it's "disk_drive" nvm
L247[19:15:16] <Kodos> Wonder how hard it would be to make a program in OC that can poll the UUID API thing when it passes a username to it
L248[19:17:10] <Mimiru> Kodos, https://api.mojang.com/users/profiles/minecraft/&lt;username>?at=<timestamp>
L249[19:17:12] <Mimiru> {
L250[19:17:12] <Mimiru> "id": "7125ba8b1c864508b92bb5c042ccfe2b",
L251[19:17:12] <Mimiru> "name": "KrisJelbring"
L252[19:17:12] <Mimiru> }
L253[19:17:21] <Mimiru> from http://wiki.vg/Mojang_API#Username_-.3E_UUID_at_time :P
L254[19:17:55] <Mimiru> When the at parameter is not sent, the current time is used
L255[19:18:18] <Kodos> Fantastic
L256[19:18:27] <Kodos> Now I just need SQL in OC x.x
L257[19:18:47] <Kodos> tablebases are a pain in the arse
L258[19:20:49] <Mimiru> One day I’ll work on opendb
L259[19:20:58] <Mimiru> It’s just a huge pita
L260[19:21:59] <Mimiru> Though Neo uses the java MySQL connector so I have a bit more experience with it now
L261[19:22:30] <CntKillMe> finished the bios (more or less), still need to do a bit of testing
L262[19:23:15] <CntKillMe> but it has a boot order you can change (although you have to change it externally) and will automatically remove bad drives from it and append new drives to it
L263[19:23:42] <CntKillMe> and of course it finds the first bootloader it can (in the order of boot order) and executes it if possible
L264[19:25:06] <CntKillMe> only about 2800 chars (including a lot of comments) so i might be able to potentially add OCPT checking or boot order re-ordering
L265[19:25:09] <CntKillMe> actually better yet
L266[19:25:34] <Izaya> https://github.com/XeonSquared/PsychOS/blob/fsdev/sebios2.lua may interest you
L267[19:25:35] <CntKillMe> i should add it when you press ESC you get to choose which drive you want to boot
L268[19:25:52] <Izaya> probably not though because yours seems to have a better choosing system
L269[19:25:53] <CntKillMe> i'm using unmanaged drives
L270[19:26:01] <CntKillMe> if you're interested:
L271[19:26:27] <CntKillMe> <https://pastebin.com/idBWur7r&gt;
L272[19:27:06] <CntKillMe> ignore the `partition 1 is assumed to be 20 sectors (10 KiB) in size` as it's variable in size now (more useful IMO)
L273[19:28:00] <Izaya> Interesting, I might see if I can strip SEBIOS down and make PsychOS cope with it if I bother to work on it at some point
L274[19:28:02] <Temia> 16 bytes seems a bit small for a partition name
L275[19:28:41] <Izaya> Better than 8.3 at least
L276[19:28:54] <CntKillMe> it does. I was thinking of increasing the partition entry size so i can increase that but i figured perhaps labels (on the software side) could be an alternative
L277[19:28:55] <Temia> Especially if that's with UTF-8 support, where some scripts will suck up that space pretty quickly.
L278[19:29:28] <CntKillMe> hmm 64+16 bytes is actually pretty decent
L279[19:29:32] <CntKillMe> hmm 64+16 bytes is actually pretty decent you think? [Edited]
L280[19:29:40] <CntKillMe> instead of 16
L281[19:29:47] <Temia> Yeah, I'd say so
L282[19:29:51] <CntKillMe> alright
L283[19:29:56] <Izaya> Bad question, do you think both SATA connectors on a T420 are hotswap, not just the ultrabay one?
L284[19:30:37] <Temia> That said I'm a bit surprised you haven't included a partition type like MBR/GPT either
L285[19:30:51] <CntKillMe> i was thinking about it
L286[19:31:01] <CntKillMe> and someone mentioned that i should yesterday
L287[19:31:07] <CntKillMe> i might as well
L288[19:31:17] <Izaya> v2 standard? :D
L289[19:31:34] * Izaya had a system for booting from tapes but it was slow and not very flexible
L290[19:32:34] <CntKillMe> ok ill reupload the changed one, will also have to edit the EEPROM a tiny bit but no big deal
L291[19:33:01] <Izaya> this'll be interesting to try and implement I guess
L292[19:33:11] <CntKillMe> update: <https://pastebin.com/DkG4Nvz0&gt;
L293[19:33:13] <CntKillMe> updated*
L294[19:33:27] <CntKillMe> i have the "bios" done already (for the most part, just want to implement 1 more thing)
L295[19:33:50] <CntKillMe> for now it just tries to find a bootloader and load the first one (based on some boot order which is just a list of addresses in eeprom data)
L296[19:34:56] ⇦ Quits: Renari (Renari!~Renari@24.229.171.121.res-cmts.sm.ptd.net) (Quit: Renari)
L297[19:35:17] ⇨ Joins: Renari (Renari!~Renari@24.229.171.121.res-cmts.sm.ptd.net)
L298[19:35:23] <Izaya> %remindme 10h https://pastebin.com/DkG4Nvz0
L299[19:35:23] <MichiBot> I'll remind you about "https://pastebin.com/DkG4Nvz0&quot; at 02/05/2018 05:35:23 AM
L300[19:42:33] ⇦ Quits: ben_mkiv (ben_mkiv!~ben_mkiv@p4fed4597.dip0.t-ipconnect.de) (Ping timeout: 198 seconds)
L301[19:48:41] ⇦ Quits: Vexatos (Vexatos!~Vexatos@p5B3C8EFD.dip0.t-ipconnect.de) (Quit: I guess I have to go now. Bye ?)
L302[19:56:58] ⇨ Joins: ben_mkiv (ben_mkiv!~ben_mkiv@p5797223D.dip0.t-ipconnect.de)
L303[20:00:48] ⇦ Quits: ben_mkiv (ben_mkiv!~ben_mkiv@p5797223D.dip0.t-ipconnect.de) (Ping timeout: 186 seconds)
L304[20:10:31] <AmandaC> %tell inari whenever you post an image, getting ready like https://i.imgur.com/WUdPaaH.png
L305[20:10:31] <MichiBot> AmandaC: inari will be notified of this message when next seen.
L306[20:13:36] <CntKillMe> this is weird, bitwise ops and integer division work fine in OpenOS but when I want to use them in the EEPROM i get compiler errors
L307[20:13:45] <CntKillMe> shouldn't it all be using the same lua 5.3?
L308[20:14:48] <CntKillMe> guess ill use bit32
L309[20:16:05] ⇦ Quits: BearishMushroom (BearishMushroom!~BearishMu@82-209-154-59.cust.bredband2.com) (Read error: Connection reset by peer)
L310[20:18:11] <AmandaC> Are you sure the cpu is set to be lua 5.3?
L311[20:18:20] <AmandaC> It defaults to 5.2
L312[20:18:48] <AmandaC> @CntKillMe ^
L313[20:20:01] <CntKillMe> hmm, i do have lua 5.3 installed on my machine maybe OC is autodetecting it? I didn't change any settings:
L314[20:20:01] <CntKillMe> https://i.imgur.com/Qo0iY2W.png
L315[20:20:36] <Izaya> OpenOS could alias based on version
L316[20:20:57] <CntKillMe> oh well i'll just design everything with lua 5.2 in mind since using bit lib worked fine
L317[20:21:13] <AmandaC> What does the tooltip say on the cpu?
L318[20:22:11] <CntKillMe> 5.3, hold up
L319[20:22:19] <CntKillMe> yeah tier 1 is 5.2
L320[20:22:21] <CntKillMe> tier 3 is 5.3
L321[20:22:36] <CntKillMe> i didnt configure it to be like that or anything
L322[20:22:37] <CntKillMe> weird
L323[20:22:41] <AmandaC> Shift right click to change it to 5.3
L324[20:22:46] <CntKillMe> ah
L325[20:22:55] <CntKillMe> ty
L326[20:22:59] <AmandaC> You might have done it by accident I'm the t3 one
L327[20:23:11] <AmandaC> S/I'm/on/
L328[20:23:17] <CntKillMe> probably
L329[20:23:26] <CntKillMe> lua 5.3 is available for everyone right? why does it default to 5.2
L330[20:23:32] <CntKillMe> i guess backwards compat or something
L331[20:23:55] <AmandaC> I think there's a small breaking change or something, otherwise not sure
L332[20:24:21] <CntKillMe> was 5.3 available on mc 1.7? If not I'll probably stick with 5.2 to keep this as portable as possible
L333[20:24:26] <CntKillMe> was 5.3 available on mc 1.7.x? If not I'll probably stick with 5.2 to keep this as portable as possible [Edited]
L334[20:29:12] <Temia> Pretty certain it was
L335[20:29:30] <Temia> In fact, aren't there still current builds being released for it?
L336[20:30:25] <Temia> https://oc.cil.li/index.php?/topic/1500-oc-171-released/ yep
L337[20:30:37] <Temia> (also cute Kagerou avatar, Lizzy)
L338[20:37:30] <CntKillMe> yeah im using 1.12.2
L339[21:20:32] <chernobyl> lol
L340[21:20:53] <chernobyl> you make an update with carpeted computers
L341[21:21:28] <chernobyl> capacitors*
L342[21:22:50] ⇦ Quits: Naomi (Naomi!~Naomi@2607:5300:61:8d9::1bad:babe) (Ping timeout: 207 seconds)
L343[21:23:26] <payonel> %tell AmandaC re payonel: was this intentionally removed => yes it was, the next method call makes the same check. i just felt it was redundant
L344[21:23:26] <MichiBot> payonel: AmandaC will be notified of this message when next seen.
L345[21:23:39] <AmandaC> payonel: fairy snuff
L346[21:24:03] <AmandaC> also, fwiw it's usually unnessary to %tell stuff, a normal ping will reach me fine
L347[21:24:08] ⇦ Quits: jfred (jfred!~jonathan@2600:3c03::f03c:91ff:fe6e:6b72) (Ping timeout: 207 seconds)
L348[21:24:20] ⇨ Joins: jfred (jfred!~jonathan@2600:3c03::f03c:91ff:fe6e:6b72)
L349[21:24:42] ⇨ Joins: Naomi (Naomi!~Naomi@2607:5300:61:8d9::1bad:babe)
L350[21:25:20] ⇨ Joins: Aedda (Aedda!~aedda@2600:3c00::19:cace)
L351[21:32:01] <CntKillMe> how does the error message during boot persist after computer is off but when you do computer.shutdown() it doesnt
L352[21:33:26] <AmandaC> because the code inside OC itself catches the error, and saves it
L353[21:33:43] <AmandaC> if you catch the error with a pcall and do something else then shut it down, it won't persist
L354[21:34:13] <CntKillMe> hmm i guess i could just call coroutine.yield at the very end
L355[21:34:23] <CntKillMe> so i dont get the halted message instantly
L356[21:34:53] <AmandaC> I'd say just let it be a fatal error if you want it to be visible from the analyzer
L357[21:35:10] <CntKillMe> oh yeah good point
L358[21:35:40] <payonel> yeah, if your root level coroutine aborts, that abort error message is captured in a machine level string - which is given to the analyzer
L359[21:36:11] <payonel> @CntKillMe you were asking about bit32 in the different versions
L360[21:36:28] <payonel> openos detects the lua version and loads in a bit32 wrapper when needed
L361[21:36:29] <CntKillMe> hm? oh no i was just wondering if OC has 5.3 support in MC 1.7.10
L362[21:36:36] <payonel> oh definitely
L363[21:36:42] <AmandaC> (payonel can correct me) but I think even OpenOS doesn't try catching errors until you're deep in userland (shell running)
L364[21:36:46] <payonel> 1.7.10 is our target+default version
L365[21:37:07] <CntKillMe> alright cool, does the mod dev have any plans to have CPUs default to 5.3?
L366[21:37:11] <payonel> AmandaC: that's true, i don't capture errors UNTIL you get our of boot
L367[21:37:32] <payonel> @CntKillMe i think about it with every update :) yes, eventually
L368[21:37:44] <AmandaC> payonel: I just assuemed that model, since it's the model I decided to go with for my own eeprom stuff
L369[21:37:45] <payonel> how about i'll say, at or before 1.8
L370[21:38:01] <CntKillMe> ah cool
L371[21:38:19] <CntKillMe> anyways just finished my EEPROM to be able to boot into drives with a OCPT
L372[21:38:24] <AmandaC> Sounds like WW3 ended, Now the riots start, I guess.
L373[21:38:25] <CntKillMe> and retains boot order (configurable externally)
L374[21:38:58] <CntKillMe> i've only tested all the cases when it should fail to load, i'm gonna write a partition manager first to make everything in the future much easier
L375[21:39:17] <CompanionCube> so what's your OCPT spec like?
L376[21:39:31] <CntKillMe> https://pastebin.com/DkG4Nvz0
L377[21:39:44] <CntKillMe> similar to GPT in a lot of ways
L378[21:39:57] <CntKillMe> oh wait
L379[21:40:00] <CntKillMe> that's the old one one sec
L380[21:40:15] <CntKillMe> i increased the size of the entry structure so the partition name can be longer
L381[21:40:41] <CntKillMe> <https://pastebin.com/MfqXDMA7&gt;
L382[21:40:47] <CntKillMe> here's the EEPROM as of now:
L383[21:41:06] <CntKillMe> <https://pastebin.com/3Q3TmBEu&gt;
L384[21:41:22] <CompanionCube> is there any
L385[21:41:28] <CompanionCube> why not encode the sector size in the header?
L386[21:42:04] <CntKillMe> well i could but default configuration has 512 bytes/sector (except for HD tier 3, where it's slightly bigger since there's a typo in the settings conf)
L387[21:42:18] <CntKillMe> i do have the room so i might as well
L388[21:42:24] <CntKillMe> 448 extra bytes to do whatever with
L389[21:42:26] <CntKillMe> 448 extra bytes to do whatever with in the header [Edited]
L390[21:44:04] <CompanionCube> isn't the header sector field redundant, given that it's always going to be at the beginning of the disk?
L391[21:44:12] <CntKillMe> yeah
L392[21:44:24] <CntKillMe> most of the header is actually useless but convenience i guess
L393[21:44:31] <chernobyl> are you editing the headers?
L394[21:44:33] <chernobyl> or no
L395[21:44:40] <CompanionCube> and unlike sector size, there's no viable chance of it ever being nonzero
L396[21:44:42] <CntKillMe> since the first entry sector will also be right after the header anyways (sector 2)
L397[21:45:06] <CompanionCube> whereas there's a viable chance of media existing with non-512-byte sectors.
L398[21:45:11] <CntKillMe> sectors starting at 1 in OC is making me make a lot of typos
L399[21:45:36] <payonel> where is vex to say that 1-based indexing makes more sense
L400[21:45:48] <CntKillMe> true, ill add that field
L401[21:45:48] <CntKillMe> but this format works best when sector size is 512 bytes (wont work at all if below)
L402[21:45:55] <CntKillMe> but yeah might as well add it
L403[21:46:06] <CntKillMe> much more useful than a lot of the other ones
L404[21:46:17] <CompanionCube> also, are you going to have a backup copy of the OCPT on the end as well?
L405[21:46:24] * payonel is afk
L406[21:46:25] <CompanionCube> I like that GPT feature.
L407[21:47:13] <CompanionCube> (i may or may not have been previously rescued by it)
L408[21:47:54] <CntKillMe> i was thinking about it, but drives can be really small (floppies are only 512 KB by default) and having to reserve another 5 sectors (2.5 KB) is kinda significant
L409[21:48:12] <CompanionCube> Seems reasonable.
L410[21:49:06] <CompanionCube> You could always have the fields be a meaningless value if a backup isn't present though, if you wanted to have one on larger drives.
L411[21:50:19] <CntKillMe> I might support something like that sort of non-standardly. Perhaps with the 'parted' tool there can be an option to create one and restore one
L412[21:50:58] <CntKillMe> where it'd just create a partition at the last 5 sectors and copy the first 5 to it
L413[21:52:05] <CompanionCube> no need to have it be non-standard
L414[21:52:14] <CompanionCube> just list 'OCPT backup' as a partition type
L415[21:52:25] <CntKillMe> oh that's a good idea actually
L416[21:52:34] <CntKillMe> a reallllly good idea
L417[21:53:46] <CntKillMe> gotta fix up documentation a lot, i use 'sector 0' when OC sectors start at 1 so it's going to confuse me later if i dont fix it
L418[21:53:50] <CompanionCube> if you want a fancy diagram and machine-readable specification for your format, you may find http://kaitai.io/ of interest.
L419[21:54:34] <CompanionCube> read-only, but it still might be useful for e.g a graphviz diagram :p
L420[21:55:49] <CntKillMe> i'll take a look at that but probably later, plain text is good enough for a simple layout.
L421[21:55:49] <CntKillMe> But when I have to design a filesystem, that'd probably be realllly nice
L422[21:55:56] <AmandaC> O.o interesting project, CompanionCube
L423[21:56:12] <CompanionCube> AmandaC: indeed
L424[21:56:23] <CompanionCube> it's one of the things I know of, but have never had a good reason to use
L425[21:58:20] <CntKillMe> it feels weird how OpenOS's edit shows HT for horizontal tab
L426[22:00:00] <CntKillMe> ok time to test this and start creating 'parted' floppy disk
L427[22:27:24] <CntKillMe> header done <https://i.imgur.com/sTqkqCm.png&gt; that was painful
L428[22:28:56] <CntKillMe> uuid is a openos thing not actually initially part of OC's global table right?
L429[22:30:57] <Temia> I can't recall, actually. You'd have to check
L430[22:35:11] <TheFox> I feel like I should start reading up on this as it may be important to future project development and OETF eligabile...
L431[22:35:17] <TheFox> but I am way to tired.
L432[22:38:39] ⇦ Quits: Doty1154 (Doty1154!~Doty1154@2601:648:8000:134f:2951:602:956b:7ca5) (Quit: Leaving)
L433[22:46:14] ⇦ Quits: Cervator (Cervator!~Thunderbi@2601:4c1:4001:1d5d:103d:27f6:feae:63f6) (Quit: Cervator)
L434[23:00:42] ⇦ Quits: Turtle (Turtle!~SentientT@ip5657cbb2.direct-adsl.nl) (Read error: Connection reset by peer)
L435[23:12:19] <CntKillMe> aww yee test disk worked
L436[23:16:45] ⇦ Quits: Thutmose (Thutmose!~Patrick@host-69-59-79-123.nctv.com) (Quit: Leaving.)
<<Prev Next>> Scroll to Top