« first day (1597 days earlier)      last day (1583 days later) » 

Home Time.
 
1:05 AM
0
Q: Updating Code for Efficiency

DanMy current code takes a set of caller information ("calldataFile" or "CD_") and allocates it back to the specific source that it came from into a different file ("Internal File" or "WT_"). The code takes between 72-75 seconds to run for the specific data set I'm testing. Considering that is a...

 
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4426?src=pr&el=h1) Report
> Merging [#4426](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4426?src=pr&el=desc) into [next](https://codecov.io/gh/rubberduck-vba/Rubberduck/commit/8d26793249e32cb20ae522815b0d14c713378be4?src=pr&el=desc) will **decrease** coverage by `3.83%`.
> The diff coverage is `n/a`.


```diff
@@ Coverage Diff @@
## next #4426 +/- ##
==========================
> I can't replicate this. Can you confirm whether this is still an issue on next?
[rubberduck-vba/Rubberduck] build for commit 54358bfa on unknown branch: AppVeyor build succeeded
 
1:50 AM
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4426?src=pr&el=h1) Report
> Merging [#4426](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4426?src=pr&el=desc) into [next](https://codecov.io/gh/rubberduck-vba/Rubberduck/commit/8d26793249e32cb20ae522815b0d14c713378be4?src=pr&el=desc) will **decrease** coverage by `3.83%`.
> The diff coverage is `n/a`.


```diff
@@ Coverage Diff @@
## next #4426 +/- ##
==========================
 
2:03 AM
[rubberduck-vba/Rubberduck] build for commit e62dcefa on unknown branch: AppVeyor build succeeded
 
2:56 AM
> Hi Guys - remember me from last year?

I just encountered this when I in my own source-code dump into a directory and that directory is open in a File Explorer window. Perhaps that helps someone on Rubber Duck track down this error.
> Hi Guys - remember me from last year?

I just encountered this in my own source-code when it dumps into a directory and that directory is open in a File Explorer window. Perhaps that helps someone on Rubber Duck track down this error.
 
3:21 AM
> More details on my circumstance - The offending File Explorer has the directory open when I programmatically delete it. The delete succeeds and bumps the File Explorer window out of the (now deleted) folder, but a retry is still required of the user to complete the operation. Presumably a test of the folder being open would avoid the problem.
> More details on my circumstance - The offending File Explorer has the directory open when I programmatically delete it. The delete succeeds and bumps the File Explorer window out of the (now deleted) folder, but a retry is still required of the user to complete the operation. Presumably a test of the folder being open, or perhaps just a slight delay, would avoid the problem.
 
 
2 hours later…
 
7 hours later…
11:41 AM
@Comintern I think I know why you never got a parse tree visualization in VSCode.
I opened issue #52 on the GitHub repor for it.
The visualizer fails on nodes matching an empty string.
To get some output, you have to make the moduleAttributes and moduleDeclarations in the module rule optional and change the rules themselves from * to +.
Btw, I do not really like the visualization.
I very much prefer the rectengular lines in the Eclipse add-in.
 
 
1 hour later…
12:49 PM
@M.Doerner double checking - I don't dispose any VBComponent provided by the IProjectRepository, correct?
I know that it shouldn't be done for the collections like IVBProjects and IVBComponents but want to be sure if the same rule applies to individual objects.
 
You should not dispose anything you got from the projects repository.
 
ok, thanks for confirming
 
As you can see in its implementation, it diposes all its contents, both on its own didposal and on refresh of the projects.
 
as mentioned yesterday, i only have 3 GC'd SCW, all coming from events. After sleeping on it, I made decision that the ComponentEventArgs should be using QMN and pass it around. That way there is no SCW being marshaled across events.
 
1:13 PM
ok, now down to only 1 GC'd SCW.
 
2:06 PM
Welp, that's interesting. After having removed all the GC'd SCW from the COM safe, I still have a hung Access instance. But - when I compare the snapshot & trace against the one where I open the Access form in design view rather than form view, we leak almost 600 SCWs but still get a clean shutdown with Access.
Whereas opening an Access form in the Form view & parsing will get me a clean COM Safe with no GC'd objects but a hung instance.
Well, maybe not 100% clean - there are still 3 more objects that do not have a balancing Removed entry, but those are the VBE, AddIn and IHostApplication - they may be removed too late when it ends the tracing.
 
 
1 hour later…
3:11 PM
@M.Doerner Good to know.
 
4:03 PM
@MathieuGuindon 2020 you’ll have 100k views.
 
4:24 PM
ThunderFrame gave us a whole lot of good time, tons of inspection ideas, ThunderCode™ proofing, the unforgettable spinning ducks, the face-of-the-project ducky, and so much more. Last night he emailed me to say he was up against an aggressive stage IV melanoma and heading to the hospital. Let our hearts be with him and his family.
14
 
4:35 PM
@ThunderFrame we wish you the best.
 
 
5 hours later…
9:32 PM
@ThunderFrame oh dear sorry to hear that my thoughts are with you too mate and for your family to support you too.
 

« first day (1597 days earlier)      last day (1583 days later) »