The Glade 4.0 https://gladerebooted.net/ |
|
My code has purpose! https://gladerebooted.net/viewtopic.php?f=2&t=4240 |
Page 1 of 1 |
Author: | Shelgeyr [ Mon Sep 27, 2010 12:05 pm ] |
Post subject: | My code has purpose! |
About 5 months ago, I became curious as to whether or not I could write a VBA macro that would be capable of editing itself. In total, I spent about 4 weeks researching, writing, testing and polishing code to accomplish this. I then shelved it as an entertaining and educational bit of work, but one that had no current practical application. Today, my boss told me I need to train a co-worker to take over maintenance of my project. I dusted off my re-write subroutines, incorporated them into the project, and told my co-worker "click that button to perform the update". Conclusion : writing spiffy code is good, finding useful applications for said spiffy code is even better. Also, I think I deserve a long lunch today |
Author: | Müs [ Mon Sep 27, 2010 1:13 pm ] |
Post subject: | |
Quote: I could write a VBA macro that would be capable of editing itself. 3 years later, Skynet has become self-aware. |
Author: | Shelgeyr [ Mon Sep 27, 2010 2:55 pm ] |
Post subject: | Re: |
Müs wrote: Quote: I could write a VBA macro that would be capable of editing itself. 3 years later, Skynet has become self-aware. |
Author: | Kaffis Mark V [ Mon Sep 27, 2010 2:58 pm ] |
Post subject: | |
I'm sorry, but if a VBA script destroys humanity, we deserve it, because that's pretty pathetic. |
Author: | TheRiov [ Mon Sep 27, 2010 3:24 pm ] |
Post subject: | Re: Re: |
Shelgeyr wrote: You are now the third person to make that connection, and you know what they say about threes They are prime? |
Author: | Vladimirr [ Tue Sep 28, 2010 8:45 am ] |
Post subject: | Re: |
Kaffis Mark V wrote: I'm sorry, but if a VBA script destroys humanity, we deserve it, because that's pretty pathetic. I've worked with it (and fixed a lot of it), and I can say VBA does slowly destroy your humanity... |
Author: | Stathol [ Tue Sep 28, 2010 10:07 am ] |
Post subject: | |
Hmmm...polymorphic/self-modifying ms-office-embeded VBA scripts? In all seriousness, I'll be at least slightly surprised if you project doesn't wind up setting of someone's AV heuristics As aside, I remember that one of my first mind-blowing experiences in my first high-school CS class was writing a program that prints itself (i.e. its source code). I'm not sure why I thought the source code should somehow be different than printing any other file, but it just seemed weird to me that you could do this. Years later, when I first got involved with Linux, my mind would be blown yet again when I learned that part of the standard process for making a binary release of a new version of gcc was to make the new compiler compile itself. |
Author: | Müs [ Tue Sep 28, 2010 10:09 am ] |
Post subject: | Re: |
Stathol wrote: Years later, when I first got involved with Linux, my mind would be blown yet again when I learned that part of the standard process for making a binary release of a new version of gcc was to make the new compiler compile itself. |
Author: | Kaffis Mark V [ Tue Sep 28, 2010 10:31 am ] |
Post subject: | |
Okay, touché, Vlad. I laughed. |
Author: | Shelgeyr [ Tue Sep 28, 2010 12:31 pm ] |
Post subject: | Re: |
Stathol wrote: Hmmm...polymorphic/self-modifying ms-office-embeded VBA scripts? The automated editing doesn't worry me near so much as the portion of scripting which reads data from the registry. The day I wrote that bit, I was concerned about getting a call from IT but they seem to have either not noticed or not cared.
In all seriousness, I'll be at least slightly surprised if you project doesn't wind up setting of someone's AV heuristics |
Page 1 of 1 | All times are UTC - 6 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |