#Soylent | Logs for 2018-07-04
« return
[00:10:02] <AndyTheAbsurd> there was a program that did what Sulla wanted back in the Windows 7 days...but I've forgotten the name of it.
[00:57:59] <AndyTheAbsurd> I have some code that loads Perl files dynamically and also unloads them. Unloading appears to work, but re-loading the same module fails. Any ideas why?
[00:58:04] <AndyTheAbsurd> code here: https://dpaste.de
[00:58:05] <upstart> ^ 03dpaste/yscT (Perl)
[01:19:15] -!- mrpg [mrpg!~c9d0d226@Soylent/Staff/Editor/mrpg] has joined #Soylent
[01:19:15] -!- mode/#Soylent [+v mrpg] by Aphrodite
[01:24:29] <TheMightyBuzzard> AndyTheAbsurd, how are you loading the sub?
[01:26:07] <TheMightyBuzzard> you should probably have a sub to load it and return a reference to it rather than trying to load it from the main program
[01:27:13] <TheMightyBuzzard> also, create a hashref that holds all the loaded subs for ease of access
[01:29:01] <TheMightyBuzzard> like $subs = { subname => \&subref_a, subname => \&subref_b, etc...};
[01:40:44] <AndyTheAbsurd> TheMightyBuzzard: click my link, yo. I think all the relevant code is there.
[01:41:32] <Bender> [SoylentNews] - Seattle Bans Plastic Straws, Utensils, Becoming First Major US City to Do So - http://sylnt.us - pollution || Former Taxi Driver Arrested for Murder of Uber Driver - http://sylnt.us - Taxi-Driver-Über-Uber?
[01:45:30] <TheMightyBuzzard> 8008135++
[01:45:30] <Bender> karma - 8008135: 82
[01:45:48] <TheMightyBuzzard> AndyTheAbsurd, it's not. you didn't include the sub loading code.
[01:48:18] <AndyTheAbsurd> I left out that it's using Module::Load (because that's at the top and this code is actually at line 104). Other than that, sub loading is just lines 11-14 in the dpaste.
[02:12:20] <mrpg> https://www.youtube.com
[02:12:26] <upstart> ^ 03Everly Brothers - Wake Up Little Susie - YouTube
[02:35:45] -!- mrpg has quit []
[02:59:08] -!- erratic has quit [Ping timeout: 272 seconds]
[03:13:07] <TheMightyBuzzard> AndyTheAbsurd, try slurping the file and use eval instead
[03:14:39] <TheMightyBuzzard> now that i think about it though, scoping would pose problems to loading it through a sub. once a sub exits any sub-subs are supposed to be undefined.
[04:02:35] <Bender> [SoylentNews] - Non-Coding DNA Changes the Genitals You're Born With - http://sylnt.us - don't-touch-my-genitals
[04:24:21] -!- erratic [erratic!erratic@oltbdo.yourstruly.sx] has joined #Soylent
[04:39:50] -!- Fessus has quit [Ping timeout: 272 seconds]
[06:21:03] <Bender> [SoylentNews] - Amazonian Psychedelic May Ease Severe Depression, New Study Shows - http://sylnt.us - smoking-is-bad
[08:30:23] -!- SoyCow1062 [SoyCow1062!~d53cb388@964.902.93.096.static.reverse-mundo-r.com] has joined #Soylent
[08:41:02] <Bender> [SoylentNews] - Clipboard Hijacker Malware Monitors 2.3 Million Bitcoin Addresses - http://sylnt.us - Only-cut-n-paste-one-half-at-a-time
[10:38:10] -!- SoyCow6505 [SoyCow6505!~9e8cc60c@158.140.ioy.yt] has joined #Soylent
[11:12:56] <Bender> [SoylentNews] - Tesla Opens Up Model 3 Invites to All Remaining Reservation Holders - http://sylnt.us - run-run
[11:25:15] -!- Azrael [Azrael!~Az@vhost.removed.contact.irc.admin] has joined #Soylent
[11:25:48] -!- Azrael_ has quit [Ping timeout: 272 seconds]
[12:22:27] <AndyTheAbsurd> TheMightyBuzzard: the problem isn't with creating the sub - that bit actually works fine the first time - it's with undefining then recreating it.
[13:10:18] -!- SoyCow1062 has quit [Quit: Web client closed]
[13:10:22] -!- SoyCow1062 [SoyCow1062!~d53cb388@964.902.93.096.static.reverse-mundo-r.com] has joined #Soylent
[13:11:16] -!- SoyCow1062 has quit [Client Quit]
[13:15:22] -!- upstart has quit [Ping timeout: 272 seconds]
[13:29:56] -!- SoyCow6505 has quit [Ping timeout: 272 seconds]
[13:32:24] <Bender> [SoylentNews] - This Man Was Fired by a Computer -- Real AI Could Have Saved Him - http://sylnt.us - No-irrational-AI-for-me...-make-mine-real!
[14:57:14] -!- SoyCow9642 [SoyCow9642!~5b7498ae@719.792.206.50.dynamic.reverse-mundo-r.com] has joined #Soylent
[15:39:12] <TheMightyBuzzard> AndyTheAbsurd, yes, that's why i said to create it a different way than via Module::Load
[15:53:09] <Bender> [SoylentNews] - Federal Judge Orders Administration to End Arbitrary Detention of Asylum-Seekers - http://sylnt.us - let-me-out-of-here!
[16:39:46] <TheMightyBuzzard> happy independence day! https://scontent-mia3-2.xx.fbcdn.net
[18:13:09] <Bender> [SoylentNews] - New Clues to Sepsis May Speed Diagnosis - http://sylnt.us - stay-clean
[18:39:33] <TheMightyBuzzard> more 7/4 goodness: https://www.youtube.com
[18:43:20] -!- SemperOSS [SemperOSS!~502be822@ooed-13-71-565-12.as91513.net] has joined #Soylent
[18:44:20] SemperOSS is now known as SoyGuest12035
[18:45:21] SoyGuest12035 is now known as AltidOSS
[18:46:21] AltidOSS is now known as SemperOSS
[20:30:35] <Bender> [SoylentNews] - New Generation of Deodorants Could Target Bacterial Transport Protein - http://sylnt.us - sniff
[22:15:36] -!- SoyCow9642 has quit [Ping timeout: 272 seconds]
[22:51:38] <Bender> [SoylentNews] - Studies: Five Destroyed Planetesimals Make Up 85% of Asteroid Belt; Uranus Tilted by Collision - http://sylnt.us - queue-the-uranus-jokes-in-5,4,3,2,1
[22:51:38] -!- WooshYouHaveSmolPene [WooshYouHaveSmolPene!~47551ab2@71.85.kn.vnl] has joined #Soylent
[22:52:13] <WooshYouHaveSmolPene> Thought maybe the ircd was down. sn irc's the only one I can't connect to
[22:52:29] * WooshYouHaveSmolPene tries a different port
[23:01:06] -!- WooshYouHaveSmolPene has quit [Quit: fpofsf]
[23:03:34] <SoyGuest52256> pah - when you said 7/4 goodness, I was hoping for something like http://youtube.com
[23:09:33] -!- SoiBoi [SoiBoi!~47551ab2@71.85.kn.vnl] has joined #Soylent
[23:34:46] -!- SemperOSS has quit [Ping timeout: 272 seconds]
[23:42:07] -!- AndyTheAbsurd has quit [Remote host closed the connection]
[23:45:08] -!- AndyTheAbsurd [AndyTheAbsurd!~Andy@207.246.jjm.rjp] has joined #Soylent
[23:45:09] <exec> welcome AndyTheAbsurd: Saint Petersburg, FL 33701, 27°C/80°F, 7:45 pm EDT, Wednesday, 4 July 2018