« first day (2702 days earlier)      last day (478 days later) » 

12:06 AM
> From past experience with corporate managers, releases are the only thing looked at. A red flag for a project is one that commits regularly but didn't release anything for ages, shows a project in churn (or a hackfest). A "professional" project would be all about releases and functionality milestones.
 
REFRESH!
[Minesweeper] 54 Games Played. 40 Bombs Used. 6593 Moves Performed. 13 New Users
 
 
5 hours later…
5:13 AM
> @MDoerner ,

I want to check in a possible alternative before finalizing the PR. Would it be preferable to provide a custom parser for handling the identifiers. We can use a rule similar to this:

```
identifierExpression:
identifier # bareIdentifier
| (identifier | foreignName) ((DOT (identifier | foreignName))*)? # qualifiedIdentifierExpr
| foreignIdentifier (foreignIdentifier*)? # bareF
 
 
6 hours later…
11:39 AM
OK... Unexpected Error on parse update: I rebooted my work machine and even with o365 installed, I just got a clean parse on Access. I'm most certainly not complaining, but that's just a tad frustrating.
At least there's a workaround.
well... I got one clean parse out of it.
it's not just the duck. I hit Ctrl-S in the VBE in Access. I don't know if this is from Access itself or from OASIS, but
derp, that has to be OASIS.
 
12:21 PM
On the bright side, changing the parameter type from adVarChar to adLongVarWChar seems to have resolved my XML to SQL load issue. At least the one I'm having right now...
@this thanks for the pointer!
@FreeMan of course, this is the one module that I changed to fix the issue and OASIS won't export it now.
I'm wondering if IT has implemented some new policy that's preventing VBA add-ins from writing to the local drive?
No, that wouldn't make sense. OASIS claimed there were 40 modules that needed to be exported. It wrote out 39 of them without complaint.
 
was parsing running while exporting?
 
no
this is looking uglier:
does this mean that git thinks it's tracking this temp file?
 
so you have 3 different tools having problems. It does suggest it's beyond them and indicate an issue with the OS or hardware.
 
Yeah. I'm agreeing with that. And it all started with the "upgrade" to o265
heh... ironic typo - it only works about 3/4 of the time for about 3/4 of the things you want it to
I doubt it's the hardware. I had this issue on my old laptop, on my new laptop, and now on my desktop.
that, frankly, really seems to narrow it to either o365 or GPO
they're cracking down and removing local admin access from accounts, though I still had it as of when o365 was installed on my desktop machine ~10 days ago. I wonder if they're cracking down on add-ins, too.
 
@FreeMan I don't think it's an indicator it's tracked --- if you create a new file in a git repo, you get the tab.
 
12:33 PM
I'll ask my IT contact.
 
also, if your storage is tied up with some kind of online cloud synchronization (e.g. Onedrive, Dropbox), it might be causing interferences.
 
good point. They're migrating all our network storage to OneDrive, but this is stored on my local C: drive and it is not (at least not yet, that I'm aware of), redirected to any cloud storage.
Funny, DropBox, Google Drive, etc are all blocked at the firewall - no online file sharing sites for you!
I do wonder... Since it's in "My Documents" if they've silently pushed that to OneDrive.
 
can't have a lunkhead sharing PII data with his buddies, can we?
 
Maybe I'll create a git directory off root outside the "normal" directories and push it there. Maybe it'll work then.
 
well, if they also have roaming profiles, that would be actually the same problem since the profile has to be kept in synchronization.
 
12:38 PM
@this very much this. We are a hospital system, so I do get it, but it's extremely frustrating!
 
TBH, that's what I usually do for my projects, they all go into a dedicated folder at the root folder
 
don't think we do roaming profiles. I have two machines and I have to work hard to keep them setup looking similarly, so I doubt that's the case. If we do have roaming profiles, they don't roam well...
 
1:05 PM
Just to be sure I haven't forgotten anything... Simply create a new \git directory, then git clone from my origin to pull in, right?
 
Sure but note that git creates a hidden folder .git in the root folder so you'd end up having a folder `..\git\.git` which may be a tad funny. But that will work fine. YMMV.
 
well, I'm creating each project in its own subdirectory from c:\git. Guess I left that minor detail out.
TG actually populated the proper project directory when I selected this from my origin location, so all is good.
Interesting, when I exited the Trust Center in Access after adding my new c:\git directory (with sub directories allowed) to the trusted locations, I got this lovely banner:
Is that OS level privacy settings?
I wonder if that's corporate controlled and mucking things up...
 
haven't seen that before, assume it's tied with O365 or GPO, rather than OS
 
yeah, wouldn't surprise me.
OK. First attempt to parse gave me an unexpected error
> 2021-10-29 09:18:50.5008;ERROR-2.5.2.6015;Rubberduck.Parsing.VBA.Parsing.ModuleParser; Unexpected exception thrown in thread 6 while parsing module Tools, ParseTaskID a0e59450-4748-45e8-895d-17fc2fe7c374.;System.UnauthorizedAccessException: Access to the path 'C:\Users\<snip>\AppData\Local\Temp\Rubberduck\lhjj3wgx.zkm' is denied.
but the second parse attempt worked just fine!
color me confused, but happy!
 
1:21 PM
doh. the problem is that yo may have moved your project but your temp files are still going tinto the %appdata%
 
yeah. That needs to be configurable. also.
IT has to have done something to block it.
:(
but it seems to be just one file - only the one that's changed.
 
block it? you'd thunk that they'd actually block all, not just some random file
 
the first time I saved to the repo in My Documents, it said there were 40 modules, and 39 of them seemed to have written.
it was only the one that I changed that didn't actually get saved.
@this block it, break it, something...
Gotta blame someone. If not #BlameMicrosoft then #BlameIT
interestingly, that file does not exist now. it's almost as though it can't write it
it's not a win rights issue - I've checked effective rights on the Modules directory. my user ID has zero restrictions on the directory.
sigh...
Workaround time... beyond hand copying a few lines of code for this particular change to my production accdb, what other options do I have?
 
Not sure there's other way as simple as hand-copying. :\
 
1:47 PM
ok... at least I can do that...
 
2:03 PM
well it seems to be a bit of a nightmare, but at least I believe I've got the XML->SQL load fixed.
thanks again for the help!
 
2:53 PM
0
Q: Programmatically debug excel vba module using python

user32882Is there a way to set a breakpoint and programmatically an excel vba module using pywin32? So far, I've been able to connect to an open instance of excel, add a workbook, add a vba module and then inject from a text file into this module. import win32com.client as win32 excel = win32.Dispatch("Ex...

Interesting question, with a Rubberduck link. What OP seeks to do is infeasible in my opinion but maybe one of the veteran duckers can opine.
 
3:21 PM
I think that what @BigBen is implying is that you will spend so much time trying to make your plan work, that you would be able to accomplish it by checking by hand faster than by developing an automated system that will then run quickly. Therefore "impossible" or "infeasible". — FreeMan 24 secs ago
Does that help your cause?
 
> @retailcoder with `pywin32` it's possible to programmatically extract and inject vba code into macro-enabled workbooks.

I wonder if there is a way to crudely generate a code coverage report by programmatically prepending additional code to existing code like you say?
> @Greedquest That's not a bad approach, but I was thinking on a more per-line basis...
 
@Duga thanks, we already know about this issue.
@FreeMan thanks, yeah I don't know why this keeps getting dragged on.
There's a reason that issue is tagged "difficulty-04-quackhead"
 
3:56 PM
I'm watching GitHub Universe and they have a RubberDuck tool. Except it's an AI chatbot that you explain your code to...
 
lol
 
Combine that with their new co-pilot and you're talking to an AI about AI generated code. I've never taken any existent AI seriously but if you give this thing the ability to rewrite it's own code and we have the first AI that I'm legit scared of.
It might actually be a real AI and not one of these stupid assistants.
Wouldn't that be crazy if GitHub came out of left field and won the AI war?
 
Inclined to think it's impossible because of the Chinese room problem.
Rewriting implies that there is an understanding of the semantics that goes beyond formulations of "if A is B and B is C, then A is C"
 
I'm saying that the ability to rewrite it's own code is a biological process. It's real learning in the same sense that a child rewrites their brain as they grow. I don't think humans are going to be able to write true AI. It has to write itself.
 
Don't think so; that's what the Chinese room problem argues against. Without any ability to think, it's just a big complicated calculator. Throwing neural networks and machine learning just makes it more of a complicated calculator but a calculator nonetheless.
 
4:07 PM
Isn't your brain just a binary calculator? Synapses fire, or they don't. It's just a circuit.
 
Sure but that's not where my mind is.
 
Rewriting the code is different than traditional machine learning where it learns within it's defined context. When machine learning is applied to the code itself then there are no limits to what the program can become. I suppose it's more likely to break itself.
For the record, I too believe that the self is separate from the brain. However that's getting in to some multidimensional woo woo that is not well accepted by science today.
If we pretend that the "you" exists 100% in the brain then there is no reason a machine can't be a similar construct.
(To leave out religious and multidimensional woo from the argument)
 
The thing is that if we admit that there is a mind (what you call "self") that's immaterial, then it makes it unlikely that an entity constructed with materials only (no matter how fancy it may be) will ever have the sentience & sapience that the mind has. For the record, I don't think mind is an emergent property, either because that implies that it's tied up with the material and we have some counterexamples against that.
 
4:30 PM
Agreed. That doesn't change the fact that a learning computer that can rewrite it's own code is a formidable power in the universe. I don't think it needs a "mind", "soul", or "self" to be a capable being.
It's not life as we know it. It still has potential. It may "want" things for it's own reasons that are not the same as ours. It may "learn to understand" in a way that is indistinguishable from life. What is understanding? To observe cause and effect? Be able to reason about future events due to data collected from past events? It could do that.
It rightly needs the appropriate sensors to collect data. What if it's "eyes and ears" are every camera and microphone on the planet?
What if you give it a body with which to explore? What if it can 3D print it's own body?
 
My son got me hooked on Marvel's Agents of S.H.I.E.L.D. Just like Aida (starting late in season 3?) and the T-1000, any machine that can rewrite itself will, and it will decide that us humans are bad for them. I hope we learn from fiction before it becomes fact.
! Aida is pretty, therefore disarming. Nobody suspects the pretty girl will turn out to be the bad guy
eh. spoiler tags don't work in chat, I guess. Sorry to anyone who may plan on watching the show.
 
I'm wondering if we're mistaking a runaway algorithm for agency. AI-becoming-self-aware is a great trope for Hollywood movies but it doesn't mean that it can't be simply unplugged. You always have those cinematic ending where the protagonist has to do some crazy sequence of action to shut down the AI; never just simply unplugging.
 
this room has sure waxed philosophical today
 
@BigBen it be the frying day.
 
People are weird: Sidewalk Egg Frying Day
 
4:44 PM
not sure October is the best month to try and fry an egg on sidewalk. :)
 
specially not today where I'm at ... pouring buckets
 
4:54 PM
Not in the northern hemisphere. TBF, probably not in the southern, either. Maybe at the equator?
@this How do you unplug an AI enabled robot powered by the Next-Generation Miracle Battery of the Futureā„¢?
;)
I, for one, do not welcome our robot overlords.
 
@FreeMan Heh. My point was more that a runaway algorithm wouldn't necessarily mean the AI will build a fortress swarmed by drones and automatic self-defense systems and booby traps. That requires agency.
Remember, in the Wargame, it was solved by playing Tic Tac Toe with Joshua.
(I vaguely recall someone in the movie suggesting unplugging Joshua but it was dismissed as not possible for reasons I can't remember)
 
5:13 PM
If the damn thing can deploy itself using VMs, dockers, and whatnot then it can never be unplugged. It can just learn to hack and deploy itself in every container.
 
so a bigger and badder Melissa Wormblaster. Gotcha.
 
All it takes is one unpatched vulnerability and, yes, it's wormblasting
but back to your point, yes, that requires something like agency. Just the desire to expand and collect more data.
I imagine it would become a data hoarder. It would collect data like magic scrolls, looking for the meaning of it's life.
 
@HackSlash and that sounds like what so many philosophers spend their lives doing. Ergo, given enough time and the ability to rewrite itself, an AI will become a philosopher. That still begs the question... are philosophers human?
and when will they finally realize that the answer is 42?
 
Human philosophers are human. I'm sure there are plenty that aren't...
 
@FreeMan if they did that, they wouldn't be a very good philosopher. Understanding that induction is impossible is Philosophy 101.
 
5:24 PM
I think, therefore AI
or is that I think, therefore, Am I?
 
6:24 PM
Anyone got any idea why, when I type in a table name in the Table Name field in Excel O365 and hit <enter> nothing happens? If I hit <tab>, it changes the name!
 
6:57 PM
What name are you changing it to?
<enter> works for me
 
 
1 hour later…
8:08 PM
 
8:58 PM
@BigBen JustSomeName no spaces, camel case for readability
 
weirdness.
 
... thy name is Microsoft
 
 
3 hours later…
11:51 PM
[rubberduck-vba/Rubberduck] 1441 stars vs. [decalage2/oletools] 1777 stars
 

« first day (2702 days earlier)      last day (478 days later) »