<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:18:02] <PewPew​Cricket> I made a thing that creates persistent symlinks in OpenOS:
L2[00:18:02] <PewPew​Cricket> https://github.com/PewPewCricket/oc-link/tree/main
L3[00:19:01] <PewPew​Cricket> * OpenOS:
L4[00:19:02] <Corded> https://github.com/PewPewCricket/oc-link
L5[00:32:55] <PewPew​Cricket> # Link
L6[00:32:55] <PewPew​Cricket> An RC script for OpenOS that allows persistent symlinks across shutdowns.
L7[00:32:55] <PewPew​Cricket> To install onto your system just run this command: ``wget https://raw.githubusercontent.com/PewPewCricket/oc-link/main/link-install.lua /tmp/installer.lua && /tmp/installer.lua``
L8[00:33:06] <PewPew​Cricket> teehee
L9[01:25:36] ⇨ Joins: Michiyo (~Michiyo@50.38.50.245)
L10[01:25:36] zsh sets mode: +o on Michiyo
L11[01:25:43] <Michiyo> %restart
L12[01:25:44] ⇦ Quits: MichiBot (~MichiBot@heimdall.pc-logix.com) ()
L13[01:26:01] ⇨ Joins: MichiBot (~MichiBot@heimdall.pc-logix.com)
L14[01:26:01] zsh sets mode: +v on MichiBot
L15[02:26:24] <micr​owave> working on my log manager, so far turning out quite nicely https://discordembeds.pc-logix.com/live/1719800784610.png
L16[02:26:35] <micr​owave> its a bit of a big file but it'll do
L17[02:42:48] <Spider ​EveryOS> %tonkout
L18[02:42:48] <MichiBot> Waesucks! Spider ​EveryOS! You beat your own previous record of 2 hours, 46 minutes and 48 seconds (By 3 hours, 8 minutes and 59 seconds)! I hope you're happy!
L19[02:42:50] <MichiBot> Spider ​EveryOS has tonked out! Tonk has been reset! They gained 0.005 tonk points! plus 0.008 bonus points for consecutive hours! Current score: 2.3509318, Position #2 Need 0.0467382 more points to pass Forec​aster!
L20[03:01:18] * Amanda collapses into a tired pile of floof atop Elfi, meows about how she has robots moving items around for her, and how she needs to get the fae population up to 50t worth of fae so she can make t2 mutagen
L21[03:01:27] <Amanda> Night girls
L22[03:59:55] <Forec​aster> %tonk
L23[03:59:57] <MichiBot> Shoot! Forec​aster! You beat Spider ​EveryOS's previous record of <0 (By 1 hour, 17 minutes and 7 seconds)! I hope you're happy!
L24[03:59:58] <MichiBot> Forecaster's new record is 1 hour, 17 minutes and 7 seconds! Forecaster also gained 0.00129 tonk points for stealing the tonk. Position #1.
L25[04:00:07] <Forec​aster> %sip
L26[04:00:07] <MichiBot> You drink a crunchy platinum potion (New!). Forecaster's skin turn transparent until someone baps them.
L27[04:00:14] <Forec​aster> Huh
L28[04:00:51] <Spider ​EveryOS> %bap Forecaster
L29[04:00:52] <MichiBot> Spider EveryOS baps Forecaster with the 1.5mi tall ladder into a treehouse!
L30[04:08:48] <Forec​aster> Ow
L31[04:09:10] <Spider ​EveryOS> I was trying to make you stop being transparent
L32[04:51:16] <Corded> > <PewPew​Cricket> # Link
L33[04:51:16] <Corded> An RC script for OpenOS that allows persistent symli…
L34[04:51:16] <PewPew​Cricket> you can do this now without adverse consequences https://discordembeds.pc-logix.com/live/1719809476480.png
L35[04:51:41] <PewPew​Cricket> this will persist across reboots
L36[06:00:47] <Kristo​pher38> I'm curious what is your use case
L37[07:06:45] ⇨ Joins: Vexatos (~Vexatos@p200300eAef29090042405C241A1bEaEe.dip0.t-ipconnect.de)
L38[07:06:45] zsh sets mode: +v on Vexatos
L39[08:23:44] ⇨ Joins: patapon888 (~patapon88@51.154.62.82)
L40[08:23:48] ⇦ Quits: patapon888 (~patapon88@51.154.62.82) (Client Quit)
L41[08:31:10] <Forec​aster> %tonkout
L42[08:31:11] <MichiBot> Holy wand of wheezing Batman! Forec​aster! You beat your own previous record of 1 hour, 17 minutes and 7 seconds (By 3 hours, 14 minutes and 6 seconds)! I hope you're happy!
L43[08:31:11] <MichiBot> Forec​aster has tonked out! Tonk has been reset! They gained 0.004 tonk points! plus 0.006 bonus points for consecutive hours! Current score: 2.40896, Position #1
L44[08:41:05] <micr​owave> i have optimized logman to run on a single T1.5 ram stick https://discordembeds.pc-logix.com/live/1719823264911.png
L45[10:50:40] <Va​ur> %tonk
L46[10:50:41] <MichiBot> Swell! Va​ur! You beat Forec​aster's previous record of <0 (By 2 hours, 19 minutes and 30 seconds)! I hope you're happy!
L47[10:50:42] <MichiBot> Vaur's new record is 2 hours, 19 minutes and 30 seconds! Vaur also gained 0.00233 tonk points for stealing the tonk. Position #3. Need 0.1026436 more points to pass Spider ​EveryOS!
L48[12:03:44] ⇦ Quits: patriik (~patriik@xenon.patriik.one) (Quit: Bye! - Pixium IRC Bouncer)
L49[12:04:05] ⇨ Joins: patriik (~patriik@xenon.patriik.one)
L50[12:18:53] <Forec​aster> %sip
L51[12:18:54] <MichiBot> You drink an endless violet potion (New!). Dramatic music briefly plays in the distance.
L52[12:49:03] <Amanda> %choose subvolumes?
L53[12:49:04] <MichiBot> Ama​nda: Does cats like knocking things off of other things?
L54[12:54:57] ⇨ Joins: Dotmazy (~Dotmazy@82-64-230-177.subs.proxad.net)
L55[12:55:20] <Dotmazy> hi
L56[12:59:39] ⇦ Quits: Dotmazy (~Dotmazy@82-64-230-177.subs.proxad.net) (Ping timeout: 207 seconds)
L57[14:10:52] <Corded> > <micr​owave> working on my log manager, so far turning out quite nicely
L58[14:10:53] <S​3> When is syslog support coming?
L59[14:25:43] ⇦ Quits: reborn (reborn@reborn.my.id) (Ping timeout: 190 seconds)
L60[14:32:24] ⇦ Quits: pwootage (~pwootage@new.pwootage.com) (Quit: Cya)
L61[14:35:21] ⇨ Joins: pwootage (~pwootage@new.pwootage.com)
L62[15:02:17] <Va​ur> %tonkout
L63[15:02:18] <MichiBot> Crud! Va​ur! You beat your own previous record of 2 hours, 19 minutes and 30 seconds (By 1 hour, 52 minutes and 6 seconds)! I hope you're happy!
L64[15:02:19] <MichiBot> Va​ur has tonked out! Tonk has been reset! They gained 0.004 tonk points! plus 0.006 bonus points for consecutive hours! Current score: 2.2582882, Position #3 Need 0.0926436 more points to pass Spider ​EveryOS!
L65[17:46:45] ⇦ Quits: dustinm` (~dustinm@static.38.6.217.95.clients.your-server.de) (Quit: Leaving)
L66[17:47:17] <Va​ur> %sip
L67[17:47:18] <MichiBot> You drink a hairy currentcorn potion (New!). Vaur barely manages to catch a green shell that appears in front of them! (Rem. uses: 1)
L68[18:01:54] ⇨ Joins: Hawk777 (~Hawk777@2001:569:7ca4:2a00:91df:dccf:26a:a439)
L69[18:02:23] ⇨ Joins: dustinm` (~dustinm@static.38.6.217.95.clients.your-server.de)
L70[18:43:43] <Forec​aster> %sip hairy currentcorn
L71[18:43:44] <MichiBot> You drink a hairy currentcorn potion. Forecaster barely manages to catch a green shell that appears in front of them! (Rem. uses: 0)
L72[18:43:58] <Forec​aster> Also %tonk
L73[18:43:59] <MichiBot> Eh! Forec​aster! You beat Va​ur's previous record of <0 (By 3 hours, 41 minutes and 40 seconds)! I hope you're happy!
L74[18:44:00] <MichiBot> Forecaster's new record is 3 hours, 41 minutes and 40 seconds! Forecaster also gained 0.00369 tonk points for stealing the tonk. Position #1.
L75[19:11:29] <Spider ​EveryOS> Forecaster really uped their tonk game it feels like lately
L76[19:32:17] ⇨ Joins: DoctorP (~DoctorP@185.107.192.13)
L77[19:32:31] ⇦ Quits: DoctorP (~DoctorP@185.107.192.13) (Client Quit)
L78[19:43:52] <Forec​aster> not really, I just take the opportunity when I see it
L79[19:45:12] <Forec​aster> between work moments
L80[19:49:16] <Va​ur> %sip
L81[19:49:17] <MichiBot> You drink a sweet electrum potion (New!). A bunch of people in white coats approach Vaur. Vaur successfully evade the people! (20 vs DC 12)
L82[20:18:34] <! Little​Timmy52 !> how can i make a microcontroller wait seconds?
L83[20:18:42] <! Little​Timmy52 !> os.sleep dosent work
L84[20:20:46] <Forec​aster> That's provided by openOS
L85[20:21:11] <Forec​aster> You have to re-implement it if you want to use it on the bios level
L86[20:21:21] <! Little​Timmy52 !> yes, how...
L87[20:21:34] <Forec​aster> Look at the source of openOS...
L88[20:23:32] <PewPew​Cricket> how do you8 get the hostname to show on openOS
L89[20:23:38] <PewPew​Cricket> is it just like half implemented
L90[20:23:53] <Corded> > <Forec​aster> Look at the source of openOS...
L91[20:23:53] <! Little​Timmy52 !> where can i find it?
L92[20:26:55] <Amanda> %choose laptopnaptime?
L93[20:26:56] <MichiBot> Ama​nda: A nearby lamp turns green.
L94[20:27:02] <Amanda> WHAT DOES IT MEAN!?!!?
L95[20:27:31] * Amanda syncs her stories, then lets her laptop nap
L96[20:28:34] <Amanda> %choose stories or space or crafting
L97[20:28:35] <MichiBot> Ama​nda: Oh no, not "space" again! I'll have "stories" instead.
L98[20:28:36] <Corded> > <Little​Timmy52> where can i find it?
L99[20:28:37] <Forec​aster> On any computer where it's installed?
L100[20:28:41] <PewPew​Cricket> running echo "something" > /etc/hostname crashes the openos shell
L101[20:28:45] <Forec​aster> Or GitHub...
L102[20:29:56] * Amanda curls up around Elfi, loads up the storytron nine-hundred
L103[20:30:24] <Forec​aster> Naptop
L104[20:31:28] <PewPew​Cricket> if i made a PR to the OC github to make hostnames actually work do you think it would be merged?
L105[20:31:37] <PewPew​Cricket> because hostnames uh
L106[20:32:11] <PewPew​Cricket> my shell has crashed 5 times on 3 different OC computers
L107[20:32:19] <PewPew​Cricket> from just trying to set the hostname
L108[20:36:58] <Corded> > <Forec​aster> On any computer where it's installed?
L109[20:36:58] <! Little​Timmy52 !> where? like what directory?
L110[20:37:16] <Amanda> I don't think that's related, exactly. Does it work if you run "edit /etc/hostname" instead?
L111[20:48:17] <! Little​Timmy52 !> io dosent exist in eeprom, what is its equivelent?
L112[20:49:59] <Amanda> The filesystem component, which you don't get access to in a uC
L113[20:50:22] <Amanda> Or do you mean for printing stuff, in which case the GPU component
L114[20:51:00] <! Little​Timmy52 !> well I need it for one line local ins = io.stdin.stream to copy the sleep.lua as a function for my micro controller
L115[20:51:30] <! Little​Timmy52 !> I juat need the darn code to stop for 1 min do stuff then wait 5 min without the too long without yeilding
L116[20:51:40] <Mic​hiyo> https://tenor.com/view/wow-gif-20411229
L117[20:52:11] <Amanda> Yeah no, you're not going to be able to just copy paste the os.sleep impl from openos
L118[20:52:24] <Mic​hiyo> You'
L119[20:52:28] <Mic​hiyo> ffs enter key
L120[20:52:33] <Amanda> Use it as an inspiration for your own, not as a copy target
L121[20:52:45] <Mic​hiyo> You're going to go find the function, then you're going to recreate that function in your own code.
L122[20:53:41] <! Little​Timmy52 !> is there any simple way to get the gosh darm microcontroller to just wait soime time? im not all too bright and google is not helping me
L123[20:54:17] <! Little​Timmy52 !> i cant just look at sleep.lua and say "i know how it works" so idk how to make it in my program
L124[20:54:53] <Amanda> Reading and understanding code is at least half of programming
L125[20:56:03] <Forec​aster> I know, just ask an "AI" to do it for you
L126[20:56:54] <Corded> > <Forec​aster> I know, just ask an "AI" to do it for you
L127[20:56:54] <! Little​Timmy52 !> gemini is dumb and pt dont lik working for me
L128[20:57:05] <! Little​Timmy52 !> * gpt dont like working for me
L129[20:57:43] <Forec​aster> Well it sounds like you're going to have to figure something out then 🙂
L130[20:58:26] <Forec​aster> os.sleep is most likely the most minimal implementation of sleep you can get
L131[20:58:52] <Forec​aster> (while retaining the functionality it has)
L132[21:00:20] <Izzy> well those don't read or understand anything so they're going to be no help
L133[21:01:51] <PewPew​Cricket> i have made a PR to opencomputers github :D
L134[21:04:30] <Forec​aster> Just so you know there's no active development currently, so it'll be a while before anything happens with that probably
L135[21:04:54] <Forec​aster> Or passive development for that matter
L136[21:14:56] <Spider ​EveryOS> %tonk
L137[21:14:57] <MichiBot> I'm sorry Spider EveryOS, you were not able to beat Forecaster's record of 3 hours, 41 minutes and 40 seconds this time. 2 hours, 30 minutes and 57 seconds were wasted! Missed by 1 hour, 10 minutes and 43 seconds!
L138[21:32:07] <! Little​Timmy52 !> http://pastie.org/p/144DUbDEaFhTDtKBjFiqmU
L139[21:32:07] <! Little​Timmy52 !>
L140[21:32:08] <! Little​Timmy52 !> the redstone signal never turns off even after long past the delayed time
L141[21:32:58] <! Little​Timmy52 !> when i did smaller delays like 600 miliseconds it worked fine but longer like 30 seconds dosent work it stays on
L142[21:41:00] <Hawk777> Well yeah, computer.pullSignal waits forever if there aren’t any signals.
L143[21:41:20] <Hawk777> https://ocdoc.cil.li/api:computer
L144[21:41:32] <! Little​Timmy52 !> how can i stop the too long without yeilding then?
L145[21:41:40] <Hawk777> Pass a timeout to pullSignal?
L146[21:41:53] <! Little​Timmy52 !> what like 0.0000001?
L147[21:42:11] <Hawk777> Well since you don’t want to do anything else until the end of your delay time, I would suggest newTime-time.
L148[21:42:38] <Hawk777> Otherwise you’re just burning a pile of (real-world) CPU for nothing.
L149[21:42:49] <Hawk777> Waking up and immediately going back to sleep.
L150[21:43:42] <Hawk777> You might want to swap the order of the lines inside the loop, though, otherwise you might try to sleep for a negative time, and I’m not sure if that works.
L151[21:48:30] <! Little​Timmy52 !> https://paste.pc-logix.com/evugehaxid
L152[21:49:43] <Hawk777> OK, sure? It’s inefficient and, as you say, might have a slight extra delay, but if you don’t care then it will work.
L153[21:51:06] <! Little​Timmy52 !> well how can I make it more efficent? the pullsignal only waits so long even with a bigger number in testing
L154[21:51:26] <! Little​Timmy52 !> +so i cnt pullsignal delay time
L155[21:52:29] <Hawk777> pullSignal returns once the time has passed *or* a signal arrives.
L156[21:52:45] <Hawk777> I already told you, use newTime-time as your delay time and swap the statements in the loop.
L157[21:53:05] <Hawk777> It doesn’t matter if pullSignal doesn’t sleep for the full time, because your code has a loop and will call it again.
L158[21:53:27] <Hawk777> It will, however, sleep as long as it can (i.e. until either the next signal or the timeout), rather than waking up really really frequently.
L159[21:53:55] <! Little​Timmy52 !> newTime-time where in the function exactly?
L160[21:54:06] <Hawk777> As the parameter to pullSignal
L161[21:54:16] <Hawk777> Did you read the wiki page I pointed you at? That’s where you pass the timeout.
L162[21:55:27] <! Little​Timmy52 !> https://paste.pc-logix.com/ilitiqapax
L163[21:55:55] <! Little​Timmy52 !> what about the while loop?
L164[21:56:01] <Hawk777> What about it?
L165[21:56:19] <Hawk777> I did say you should swap the two statements in the loop, which you didn’t do, but otherwise that’s what I suggested.
L166[21:56:43] <! Little​Timmy52 !> what so newTime < time?
L167[21:56:54] <Hawk777> No, the *statements inside the loop*, not the condition.
L168[21:56:58] <Hawk777> Lines 5 and 6.
L169[21:57:04] <! Little​Timmy52 !> oh
L170[21:57:39] <! Little​Timmy52 !> thanks, ill test it and see. lua and minecraft both dont like me
L171[22:02:44] <! Little​Timmy52 !> it works
L172[22:02:59] <! Little​Timmy52 !> i just had to make it take the number a seconds instead of milliseconds
L173[22:03:07] <! Little​Timmy52 !> thanks so much man you saved me hours
L174[22:05:28] <Hawk777> np
L175[22:07:53] ⇦ Quits: Vexatos (~Vexatos@p200300eAef29090042405C241A1bEaEe.dip0.t-ipconnect.de) (Quit: Insert quantum chemistry joke here)
L176[22:22:53] ⇦ Quits: Nia (~nia@ayame.servers.aura.moe) (Quit: zzzz <3)
L177[22:23:48] ⇨ Joins: Nia (~nia@ayame.servers.aura.moe)
<<Prev Next>> Scroll to Top