« first day (1600 days earlier)      last day (1580 days later) » 
00:00 - 18:0018:00 - 00:00

6:16 PM
god effin dag nabit
-_-
i refactored the crap out of a function
now its not givin null if there is no data
its givin empty
i guess giving an empty variant is more accurate, but thats now how the whole thing was working previously and is breaking to many applications
 
I seem to remember that from a CR. Do you just need to give it an "uninitialized" return value?
 
6:32 PM
i had been checking if it was null
-_- then it broke because it wasnt null
it was nothing
 
Nothing or Empty?
 
uhh empty
but empty does not evaluate as null, i didnt check if it evaluated as nothing
 
Empty is a value type.
Nothing is a reference type.
 
urgh
 
Null is also a reference type technically
 
6:34 PM
yeah. derped that up
 
Isn't this fun?
 
@Comintern is it so? I think in VBA world it's a value
 
And C# is busy taking all the #fun away :'( :P
 
@this Doh, that's what I meant.
 
since it's basically a variant with VT_NULL
in C#, it is a reference, in same way Nothing works in VBA.
 
6:36 PM
Nothing works in VBA?
5
 
that is correct
 
Of all programming keyword null is probably the most re-defined.
LOL
One man's null is other man's null; it always results in null and nobody has a darned idea what's what.
 
An uninitialized array isn't Null, Empty, or Nothing.
 
ugh
i opened a report that i normally filter...
and it works great as a drill down report
not so great as a show every lot report
-_- 30 minutes and counting
 
@KySoto pulls rapier
Waiting for reports to run is even more time consuming than waiting for a build in most businesses.
 
6:44 PM
@Hosch250 fumbles for a reply
its a report that is only ever supposed to run on one record
 
@KySoto LOL.
 
but.... its running on...7847 records
also, it just finished so i was able to close it
 
Nice.
If it's truly just a "report", couldn't you just nuke the query?
That's only a problem when it has updates and stuff too.
 
the whole of access locked up
no updates either
it truly was just a report.
 
Use the task manager.
 
6:48 PM
yeah but i have bad luck doing that
 
Oh wait, that doesn't work unless you have admin rights.
 
and it was my source copy
 
OK.
Well, at least it finished :)
 
wait, you can kill a query using hte task manager?
without nuking access?
 
No, just kill all of Access.
 
6:49 PM
oh yeah, didnt need admin rights to nuke a process i started
 
No, you need admin rights to even open the task manager.
At least at a certain level.
 
uhh
no?
 
I know, because our "main" accounts don't let you do it.
 
my current account is just a user account
 
Fortunately, the company is sensible about that, and gave the devs secondary admin accounts.
Yeah, but they didn't lock down that prompt.
 
6:50 PM
looks like they locked down the task manager
 
Oh, they did after all?
 
no, i mean for you
 
Oh, not the task manager per se, but they had to lock down the prompt about everything and anything.
 
a standard user account can use the task manager
 
Yes, unless they lock down that one prompt.
 
6:51 PM
what prompt?
 
Anyway, I used my admin account to make my non-admin account an admin.
 
cuz i can just pull up the task manager with ctrl + shfit + esc
or right click the task bar
or ctrl + alt + del
 
User Account Control.
 
hmm, task manager doesnt prompt UAC
 
At the strictest level it does.
 
6:54 PM
ive never used UAC at the strictest level
 
We are supposed to because of 3rd party security standards.
 
or maybe i am?
 
Just don't tell, mkay?
 
Huh, weird.
 
6:55 PM
doesnt say anything about the task manager
 
Well, it was complaining up and down for all of us.
 
im 99.9999995% sure that your guys Group Policy has it set that way
 
Probably.
 
it doesnt hurt that i am apart of the IT department, and previously did IT before i became a programmer
 
 
4 hours later…
11:07 PM
An objections to merging #4441?
 
Cache deserialized ComProjects in the tests instead of declarations

Previously, we statucally cached serialized declarations we loadedfrom file in tests to avoid loading several MB of text files multiple times in different tests. This is no longer sensible because we derserialize ComProjects now and generate the declarations based on them.
 
@Comintern there, you now have your fall guy.
 
Merge branch 'next' into FixDeserializedObjectCachingInTests

# Conflicts:
# Rubberduck.Parsing/Rubberduck.Parsing.csproj
# RubberduckTests/RubberduckTests.csproj
Merge pull request #4441 from MDoerner/FixDeserializedObjectCachingInTests

Cache deserialized ComProjects in the tests instead of declarations
 
LOL. Taking that as a no then.
 
there are few other PRs that should be merged, too, I think...
 
11:11 PM
Yeah, that one was holding up work on inspections that need functioning tests.
Oh, crap. #4452 has a nice little twist - the indenter can change the line count. Not just as easy as caching the selection from the active pane.
 
BTW, any objections to merging the serialize enhancement PR I opened? I would like that in for my next PR
 
I'm all good.
 
The trouble is I can't shouldn't merge my own PRs....
 
Did M.Doerner have anything outstanding on review?
 
i'm not sure he had a chance to review.
 
11:19 PM
Yeah, there was a comment re the possibility for hash collisions.
I don't think that's in the current PR though.
 
uh, i think that's different PR
 
#4426?
 
no #4443 which was merged already.
 
11:23 PM
That commit?
 
I think it's obsolete.
 
[rubberduck-vba/Rubberduck] build for commit 126d05d0 on next: AppVeyor build succeeded
 
yes, should be.
 
Yep. I'm good.
 
11:27 PM
[rubberduck-vba/Rubberduck] comintern pushed 12 commits to next (only showing some of them below)
[rubberduck-vba/Rubberduck] bclothier pushed commit 20d8a4e2 to next: Merge branch 'next' of github.com/rubberduck-vba/Rubberduck into ComSafeCleanup
[rubberduck-vba/Rubberduck] bclothier pushed commit 71f43ce1 to next: Add stack tracing and make a big mess of WeakComSafe - need to be refactored
Extract all the mess and try to hide it away in an abstract base class.
Modify StrongComSafe to be more consistent with hashing.
[rubberduck-vba/Rubberduck] bclothier pushed commit d3c80c99 to next: Restore the original dictionary design to StrongComSafe and adapt the GetWrappers method instead
[rubberduck-vba/Rubberduck] bclothier pushed commit df89aaf1 to next: Merge branch 'next' of github.com/rubberduck-vba/Rubberduck into ComSafeCleanup
Clean up the flawed trace implementation
Convert trace into a stream to avoid caching all trace in memory
Overload the Serialize button to serialize both the project declaration and the COM safe's contents/trace logs
Provide some safety around the tracing and fix various one-off errors
Merge branch 'next' of https://github.com/rubberduck-vba/Rubberduck into ComSafeCleanup

# Conflicts:
# Rubberduck.VBEEditor/Rubberduck.VBEditor.csproj
[rubberduck-vba/Rubberduck] bclothier pushed commit 54358bfa to next: Address PR review comments, add XML docs about DEBUG
[rubberduck-vba/Rubberduck] bclothier pushed commit e62dcefa to next: Reverse the condition on string.IsNullOrWhitespace (doh!)
Merge pull request #4426 from bclothier/ComSafeSerialize

Introduce Serialize method for COM Safe
 
11:52 PM
Yikes! Apparently CE is leaking most of the stuff
596 incidents for Rubberduck.Navigation.CodeExplorer.CodeExplorerComponentViewModel::ContainsBuil‌​tinDocumentPropertiesProperty
and this looks so innocent....
    private bool ContainsBuiltinDocumentPropertiesProperty()
    {
        var component = _projectsProvider.Component(Declaration.QualifiedName.QualifiedModuleName);
        using (var properties = component.Properties)
        {
            return properties.Any(item => item.Name == "BuiltinDocumentProperties");
        }
 
Yeah, that's not good.
 
Hmmm.
 
HTH do you find out if the currently active window is a designer?
 
That .Any, right?
 
yeah
 
11:56 PM
And maybe a using around the component, or is that good?
 
no it's OK because it comes from the provider
it's the property that needs to be used
changed to....
        private bool ContainsBuiltinDocumentPropertiesProperty()
        {
            var component = _projectsProvider.Component(Declaration.QualifiedName.QualifiedModuleName);
            using (var properties = component.Properties)
            {
                foreach (var property in properties)
                using(property)
                {
                    if (property.Name == "BuiltinDocumentProperties")
                    {
                        return true;
                    }
@Comintern isn't there supposed to be a property for that?
 
@this One would think...
Found it.
 
i'm probably thinking from the wrong end - i might be thinking of the component, rather than window.
 
00:00 - 18:0018:00 - 00:00

« first day (1600 days earlier)      last day (1580 days later) »