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

12:00 AM
RELOAD!
[rubberduck-vba/Rubberduck] 2 opened issues. 3 issue comments.
 
 
3 hours later…
2:36 AM
> @MDoerner you are correct - this is a typo, not an issue...Grrrrr. Looked at this for so long...and didn't spot it....amazing. :(
 
 
3 hours later…
 
3 hours later…
8:33 AM
@this gh is/was having trouble delivering webhooks
 
 
3 hours later…
11:46 AM
> Win10, Excel2016 (desktop), RD .4003

Undocked tool windows suddenly seem to be appearing slightly off screen. I believe that this is new in .4003 as I've never noticed it before.
![2018-10-23 07_39_57-todo explorer](https://user-images.githubusercontent.com/11889733/47358317-6f450480-d697-11e8-9f1c-ef81cea3e9ae.png)

In order to move the window, I have to hit <kbd>Ctrl-M</kbd> then <kbd>↓</kbd> several times until the window header appears. Then I can use the mouse to drag it. This happe
 
Ah, @duga, you're back! You seem to be fully caffeinated, awake, alert and on your game this morning!
 
12:02 PM
moar descriptions
I wonder whether I can label by description
 
> This was already addressed in PR #4238 / #4378 - closing.
[rubberduck-vba/Rubberduck] bclothier did something with some project card
[rubberduck-vba/Rubberduck] Vogel612 created project card
[rubberduck-vba/Rubberduck] Vogel612 is bored so why not move a project card
[rubberduck-vba/Rubberduck] Vogel612 is checking what fun stuff @Duga can say about project cards
[rubberduck-vba/Rubberduck] Vogel612 created project card
 
ya ya
 
[rubberduck-vba/Rubberduck] Vogel612 is checking what fun stuff @Duga can say about project cards
[rubberduck-vba/Rubberduck] Vogel612 created project card
> FYI, I can no longer reproduce this using the code from the original report. Copying the code as-is into an Excel project with recent pre-release of RD, I did not get a parser error.

However, I still do get a parser error with the 2nd example:

```
Public Sub Blah()
If True Then: Debug.Print "It's still a single-line statement": 'Try adding `End If` here. It won't happen
End Sub
```

So it may have been partially fixed in the intervening time.
 
12:19 PM
@Duga is awake and caffeinated, but @FreeMan isn't - he thought @Vogel612 was declining his issue. Didn't grok the 'edited label' vs 'added label' detail...
moar coffee!!!
 
norepro, declined and deferred as well as bydesign all at once
 
@Vogel612 what's up with that note card in the automation to do?
 
which one do you mean?
 
ahh... that's the search filter I used to grab new issues for the todo column
 
12:22 PM
[rubberduck-vba/Rubberduck] Vogel612 moved project card
 
oh cool, I can archive tons of stuff without Duga spamming the chatroom
 
^yay!
not that maintenance with chat spam, is inherently bad...
 
hmm, does it work? It looked like just a ordinary note card
 
gotta copy it from there to the "add issues" filter
 
ahhh now that makes sense!
 
12:28 PM
[rubberduck-vba/Rubberduck] Vogel612 did something with some project card
[rubberduck-vba/Rubberduck] Vogel612 is playing around with a project card
[rubberduck-vba/Rubberduck] Vogel612 is checking what fun stuff @Duga can say about project cards
 
so I archived the last 60 or so cards in the automated progress bar's done column
I should really get to doing stuff for Uni though, soo ...
oh and I probably won't have that much time on my hands to do RD work for the remainder of the month
 
I also noticed we just passed another cool milestones; we've closed more than 2000 issues already.
2
 
yea and we're far beyond 1.5k closed PRs
 
didn't we announce that already? I think we just had hit 1.5k when we released 2.2 but I might be mixing things up
 
1:11 PM
This is interesting... I did a C&R on my Access project and it generated an error. In researching what that error means (I still haven't found that specific error code yet), I saw several suggestions to "create a new accdb and import all your objects into it", so I gave it a try.
Here's the list of references from my original project:
(I crossed them out as I added them to the new project) Note the OLE Automation in the original
here's the list of references from the new project:
No OLE Automation but the new one compiles clean. That's fine by me. However, note the Visual Basic for Applications which is NOT selected as a reference in the original project. The new test project will not allow me to deselect it stating that it's in use.
 
That's expected.
The first 2 references in most VBA projects are always in use
the stdole2.tlb (that's OLE Automation is one of the references that is set by default when you create a new VBA project, but technically it's not a required references and you can usually do without it. (Or at least I haven't found a reason to require it)
The original project must have been in such bad state that it couldn't list VBA as the first reference.
 
I wonder how I managed to remove the VBA reference from my original accdb...
It's not listed as any reference at all. This screen shot shows everything that's checked.
Any hints on how to find a listing of error codes from the C&R process?
 
well if there were, there'd be a table made.
MSysCompactErrors, if I remember
or maybe Compact Errors ?
not all errors create entries, though
 
I've got error -1504 with a description of You tried to assign the Null value to a variable that is not a Variant data type. and error table is MSysNavPaneGroupToObjects
no luck so far trying to figure out what that actually means. Is that a code error?
everything compiles clean, and, as far as I'm aware, runs clean.
ooohhh, goody! just got the MS Home Use Program email telling me I can get Office 2019 for only $15!!
wonders if he can buy multiple copies... Merry Christmas to the family!
 
sounds like you have a bad record in the nav pane group
if that's annoying, you could just delete that table
that will cause you to lose your nav pane customization but you can rebuild it
 
1:24 PM
awesome, I can delete it since I don't have any nav pane customizations!
 
2:02 PM
morning
@FreeMan to me, that looks like an "Access crapped itself" error
 
Yeah, there are too many of those...
Design theory question: I have this function signature:
Private Function LoadDataFromExcel(ByVal ClinicID As Long, ByVal Address As String, ByVal XLname As String, _
                                   ByVal InsertColumns As String, ByVal SelectColumns As String, ByVal NextInsertDate As Date, ByVal TableToUpdate As String) As Long
Would it make sense to create a UDT (local to the module that contains the function and all call sites) with all those values and pass a single parameter of myUDT?
approximately where is the line between "that's OK" and "that's too many parameters"?
^ cause he knows the answer is #ItDepends™
 
2:17 PM
Uncle Bob advises for a hard maximum of 3 parameters
that's not necessarily workable, though
it's a good rule of thumb though. 3 or preferrably less params
 
looks at Declaration.cs yup
@FreeMan the line is where you draw it, really. if you have a hunch that something's off, something's probably off. ClinicID and Address (and possibly some others) look closely related
 
I'll take a stab and say that if I have enough parameters that I need a line continuation then I probably have too many...
thanks!
Sounds like a good inspection idea!
 
Code quality, suggestion, more than 3 parameters.
And remember that you have to set the limit either on gets or lets/sets.
Maybe also an inspection if you have more than 20 lines in your function/sub/property body.
 
> Need to add an inspection that recommends refactoring (by creating a User Defined Type) `Sub` or `Function` signatures that have more than 3 parameters.

Uncle Bob says it's so, let's make it so!
 
^ that would make for a great Refactor feature, too!
 
2:30 PM
I'd probably be more inclined to extract a class than a UDT though
 
ok, fine...
see, I just don't think that way enough yet.
 
@Hosch250 conditional formatting, or filtering in the code metrics UI could highlight the problematic areas.
 
we could use some more code metrics anyways
CC, LineCount and Nesting are just the basics of the basics
 
yeah. the UI needs more work though. it was much easier to tell where the problems are with the old version
 
>:( this has become a problem with no workaround now...
I opened the Code Metrics window, the title bar is off the screen and it doesn't respond to Alt-Space to move it.
 
did you change something about your displays recently?
 
alt-space is being handled by the VBE, not by the CM window.
 
@Vogel612 Not that I'm aware of.
 
2:35 PM
> Not sure hard-coding the 3 is a good idea though.
 
I was out for 3 days last week, so patches may have been pushed that I wasn't aware of, but...
 
@FreeMan I've had that happen before.. try restoring/maximizing the VBE
 
whew!!!
minimize/restore/close/open the VBE didn't help.
resize the CM dialogue by dragging the edge got the whole thing to suddenly show.
 
ah, yes
TBH I'm not sure that's a RD bug
VBE docking toolwindows are borked, by design
 
these aren't docked, though, I suppose they're dockable...
 
2:39 PM
they are. VBE likes its dockables, docked :)
 
AIUI, RD has no control over placement of the windows when they open, but I'd think that after opening the dialogue box, we could get the UL corner position, then move the window to make sure it's somewhere sane
 
well we could try and force it, I guess
conditionally, like, if top or left is <0
 
> Totally agree, but it seems to be a reasonable default for the settings window to start at.
 
@Duga gettin' lazy?
@MathieuGuindon looks like a Minion in a dunce cap...
 
@FreeMan interrupted, actually
 
2:44 PM
Dugas interruptis? yikes!
 
@MathieuGuindon It's a Windows issue.
It happens with applications sometimes, when it gets confused about which screen it was originally on, over here.
 
@FreeMan I'm not completely sure that's even a VBE bug. I've had VS do that a couple time too. Window manager bug?
 
> FWIW, I think it should recommend class by default. While I would have preferred to use the lightweight UDT, it is straddled with far too much limitation that recommending it would lead to more frustration and thus distrust for the ducky's recommendation.
 
@Comintern & @Hosch250 the good news is that no matter whose fault it is, the duck should be able to find the top left corner of the window and make sure the value is sane before returning to the user, right?
 
Maybe.
 
2:58 PM
just duckin' around, making the world a little bit better place to be!
 
if I refactor a method's parameter list into a class, how specific do I get in tying the name of the class to the particular method? After all, the class would really only be usable for the one function...
 
@FreeMan We could, because we're already in the message pump, but I'd consider trying to accommodate a Windows bug to be bad UX - there are legit reasons where you would want to move a window partially off the left of the screen (although probably not the top). We'd also be dealing with the VBE window hack, and IIR that can send some bizarre location messages. I'm not sure we want to mess with it
 
@Comintern When Vogel found one of those weird location message where it wanted ot put it at a negative location, I've always wondered if those were in fact special coded message that had meaning to VBE while totally violating the specs as documented by Win32.
 
I'm pretty sure it's something like that.
 
3:19 PM
> Please leave the cursor where it is or go back to the same line after indenting. For large procedures it's a real elbow having to scroll down to where you were!

Mike Green
thinkz1@hotmail.com
> Mike, thanks for the report! We'll look at it. Note that I removed the email address to avoid harvesting; the GitHub notification system will email you with updates.
 
@Duga I could have sworn there was already a similar issue, or was that for a refactoring?
 
@Comintern Good question, I didn't check.
 
> When I use rubberduck it takes up a line of it's own in the VBE reducing the code window. I always untick it from the toolbar menu until I want to use it.
This is not persistent.
When I open the VBE again or in a different application then I have to untick it again... and again.... and again......
Please make unticking rubberduck persistent for when opening the VBE.

Mike Green
thinkz1@hotmail.com
 
I was more worried about him posting email address....
sigh
 
@Duga That one is definitely a duplicate.
The work around is to keep the VBE open...
 
@Duga You should sign him up for some good mailing lists if he does that again.
 
tempting. Tempting.
having trouble finding that old issue. I know it was reported before and rejected
 
I was thinking of the really old shutdown one.
IIR, RD would crash the host if it were closed and then reopened.
 
3:30 PM
ah don't htink he was talking about that
he's talking about the location of Refresh button
he wants it to not be there but we add it automatically every time on startup
since it can take up a lot of space. I know Mat explained it before to someone else sometme ago
 
R# licenses expire in 2 weeks. I've just now applied for our 3rd renewal
 
Ah, the initial toolbar positioning.
 
yeah, apparently he prefers it to not show until he needs it
 
We could have a checkbox in the window settings for whether or not to show the RD toolbar on startup
 
Yeah
 
3:33 PM
I'm not entirely sure any really needs it. You can get to all the functionality the hard way if you really want.
 
> Thank you! This was a first git whatever thinig for me... the two issues I posted. Thanks for removing my email!

Mike

________________________________________
From: bclothier <notifications@github.com>
Sent: Tuesday, October 23, 2018 5:31 PM
To: rubberduck-vba/Rubberduck
Cc: MikeAndLisa; Author
Subject: Re: [rubberduck-vba/Rubberduck] Smart Indenting loses the cursor position after indenting (#4452)

Mike, thanks for the report! We'll look at it. Note that I removed the email address to avo
> This is actually by design because the status bar can take lot of space, so the button is always "temporary" and added to its own line to ensure there is enough space to display all the data.

That said, this can be an enhancement to not show it by default until you actually parse via the menu items.
 
uh, does git send email?
 
@this You don't get them?
 
From GH, yes
oh, duh
he's calling GH "git"
wait, no, that doesn't make sense - how do you open an issue by emailing?
Can you even?
 
3:36 PM
> IIRC we made it temporary as an attempt to reduce the number of things that could go wrong on teardown, in 2.0.x; might not be warranted anymore.
 
GW - GitWhatever. I should camp that URL.
 
lol
 
@Duga Technically, the RubberduckCommandBar is not temporary. We simply add it on load and remove it on unload because we get a crash on exit, otherwise.
 
I mean it was explicitly created with a Temporary:true argument
at one point anyway
 
That is no longer true.
 
3:38 PM
ah
 
This is the only commandbarcontrol/button we actually add, right?
(directly to VBE host as a COM object, i mean)
 
yeah. v1.4 had another, but I'm pretty sure it's long gone
 
we are leaking with the menuitems.
 
@Comintern Most of the VBE is a bug and RD's raison d'etre is to fix that.
how's this any different?
 
will remember to test whether we are leaking the commandbarcontrol.
 
3:40 PM
It is not a button, it is an entire commandbar.
 
Right. with a button and a control
(maybe more?)
but either way, only one commandbar
 
Yes, everyhting else is in the menus.
 
@FreeMan Windows bug. We'd also need to handle all of the location change messages, so we'd end up trying to interpret user intent in handling them.
Although the idea of making the built in "Projects" window run away from the mouse might be fun.
 
> That would be good…. And save me some frustration too!

Why not a separate dockable toolbar that can be switched on and off like most of the others? In fact… all of them I think.

Thanks
Mike

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

________________________________
From: bclothier <notifications@github.com>
Sent: Tuesday, October 23, 2018 5:42:47 PM
To: rubberduck-vba/Rubberduck
Cc: MikeAndLisa; Author
Subject: Re: [rubberduck-vba/Rubberduck] Rubberduck
> We're explicitly creating & destroying the toolbar because letting the VBE do it easily translates into leaked objects and serious problems on teardown.

IMO best we can do is to add a setting to optionally keep it hidden by default. VBE docking and window/workspace persistence isn't exactly cooperating nicely with VBE extensibility, and has zero chance of ever being improved by Microsoft.

Keep in mind we're a .net application from 2018 interacting with COM tech from 25 years ago.

The
> In which host are you getting the error?

Both after inserting the 2nd example in an Excel module and a unit test I do not get any parse error.
 
3:58 PM
sigh
well thats fun
RD says i have a parse error
then hte search results window with parse errors is blank
and its not letting me use the compile command from debug
 
wow, that's long time since we had this error.
if it's not set to trace already do so and post a trace log
 
im using the release version
 
that's fine.
you still can trace the release
 
i found the error
i had changed a control name that was i referring to in code
but it was like RARW explode
ok so, how do i trace the release?
@this where do i put the log?
 
4:14 PM
> Version 2.2.6672.28001
OS: Microsoft Windows NT 10.0.16299.0, x64
Host Product: Microsoft Office 2013 x86
Host Version: 15.0.5045.1000
Host Executable: MSACCESS.EXE

This is persisting after fixing the error and getting a successful compile.
[RubberduckLog.txt](https://github.com/rubberduck-vba/Rubberduck/files/2506927/RubberduckLog.txt)
 
@Duga Could that be related to #4273?
 
idk
@this told me to trace the issue, so i found hte trace logging, then assumed he meant for me to post it as an issue
 
>System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\MMyers\AppData\Local\Temp\Rubberduck\r4h0undk.r4e'.
 
interestingly enough
it lets me use the indenter
 
> This is an interesting piece of the log file:

```
2018-10-23 09:09:34.7387;ERROR-2.2.6672.28001;Rubberduck.Parsing.VBA.ComponentParseTask;COM Exception thrown in thread 44 while parsing module BasicInclude, ParseTaskID 5b3e6281-7194-460b-be89-9bb1ca588dae.;System.Runtime.InteropServices.COMException (0x800AC372): Exception from HRESULT: 0x800AC372
at Microsoft.Vbe.Interop._VBComponent.Export(String FileName)
at Rubberduck.VBEditor.SafeComWrappers.VBA.VBComponent.ExportAsSourceFile(
 
4:24 PM
@KySoto The indenter doesn't use the parse tree (yet).
 
@Comintern leave it to me to utterly break RD
 
Nah, it's happened before. The only Google results for the HRESULT are open RD issues though.
 
i feel like such a USER
 
@this no you can't, but you can reply to the mails that GH sends when you get a reply
 
actually @Comintern maybe its the precompiler directive stuff i added into the basicinclude module
DOH
it looks like some of the stuff wasnt fully converted to VBA7
-_- now i get to feel stupid
well thats fun.
i was going to go insert a piece of code and its just like BLERFH
 
4:30 PM
@KySoto Shouldn't have anything to do with it.
 
^
 
The COM error is trying to export the module.
 
RD doesn't care if you put in gibberish; it's more concerned with parsing it.
 
#If VBA7 Then
    'advapi32
    Public Declare PtrSafe Function apiGetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long
    'kernel32
    Public Declare PtrSafe Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (ByRef Destination As Any, ByRef Source As Any, ByVal length As Long)
    Public Declare PtrSafe Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, ByVal lpString2 As Any) As LongPtr
    Public Declare PtrSafe Function GlobalUnlock Lib "kernel32" (ByVal hMem As LongPtr) As Long
 
@this For some values of gibberish.
 
4:31 PM
hmm. if there's a compile error, does that prevent exporting?
IDR that being a blocking issue but ?
 
NAFAICT.
 
i noticed that i had somehow missed some of hte PtrSafe entrys
 
Thought so
 
idk how that got messed up
 
So missing PtrSafe shouldn't have had caused that error.
@Vogel612 OK - for some reason his message sounded as if he used "git" to email and thus open his issues. I guess more likely, he did it via GH, then replied to my comments via email.
 
4:33 PM
probably just another user confusing git with github
 
@KySoto Can you get to C:\Users\MMyers\AppData\Local\Temp\Rubberduck in the file explorer?
And if so, can you create a file there?
 
@Comintern @KySoto are you that MMyers????
it is almost Halloween, after all...
is sure he's never heard that one before
 
5:10 PM
@Comintern Yes and yes
@FreeMan you are correct, it is all too common
 
:D
 
i dunno if you were around for it, i mentioned that my first name was mat as well
 
> In Excel using `ThisWorkbook` but the story is more interesting than that.

I just tested the 2nd example in isolation and I do not get a parser error. So I deleted the 2nd example and went to the 1st example. Still no parser error. But if I then add _both_ 1st and 2nd examples to the `ThisWorkbook` module, then I get a parser error....

I should note that the pasting of the 2nd example is apparently chaotic; depending on when I cut'n'paste, I may get parser error.
 
@KySoto ah, no, I missed that announcement.
Sorry, had to go there. Not the slightest fan of the movies by any means, but it was the first thing to pop into my head...
 
its alright
totally common
 
00:00 - 18:0018:00 - 00:00

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