« first day (1285 days earlier)      last day (1895 days later) » 
00:00 - 22:0022:00 - 00:00

12:00 AM
RELOAD!
[Zomis/AdventOfCode2017] 2 commits. 63 additions.
[Zomis/Chess] 9 commits. 545 additions. 486 deletions.
 
@IvenBach open the local clone; done =)
 
I cloned it. Tried looking at the UI XAML and got The member 'Foo' is not recognized or is not accessible. and The name "Bar" does not exist in the namespace "clr-namespace:Rubberduck.UI.FindSymbol".
Along with various other errors.
I'm not use what the issue is that's causing it.
@Mat'sMug Any suggestion?
 
Built the solution?
 
12:16 AM
Won't let me.
Meta data files aren't found.
The type reference cannot find a public type named 'EndOfLineCommentStyle'.
 
What did you clone?
 
https://github.com/rubberduck-vba/Rubberduck.git
Did I clone the wrong one?
 
Yes.
Although, doesn't explain the build errors
 
Which is the correct one to clone?
git@github.com:rubberduck-vba/Rubberduck.git?
 
Clone your fork. But catch up with the lagging 53 commits first
 
12:22 AM
I'll do that once I get home.
 
 
1 hour later…
1:48 AM
Installing VS on home computer.
 
2:32 AM
@Mat'sMug You there?
 
Cloned from my fork. Still have the same issues as above chat.stackexchange.com/transcript/message/41681174#41681174
 
[rubberduck-vba/Rubberduck] build for commit 30882d5a on unknown branch: AppVeyor build succeeded
 
3:22 AM
[rubberduck-vba/Rubberduck] build for commit 8cf93fd6 on unknown branch: AppVeyor build succeeded
[rubberduck-vba/Rubberduck] build for commit f4c970fe on unknown branch: AppVeyor build succeeded
[rubberduck-vba/Rubberduck] build for commit cb14618c on unknown branch: AppVeyor build succeeded
[rubberduck-vba/Rubberduck] build for commit e7872135 on unknown branch: AppVeyor build succeeded
 
3:54 AM
@IvenBach seems under control?
 
4:53 AM
@Mat'sMug Still getting the not supported errors. ^
 
 
2 hours later…
6:42 AM
 
 
4 hours later…
10:59 AM
> Hi, I've just uninstalled and reinstalled Rubberduck, and still get the same error, seems I'm missing git2-15e1193.DLL. Is there anything I can do about this to fix it?
 
11:42 AM
@IvenBach hth does it think this is a WPF project??!?
 
 
2 hours later…
1:42 PM
> Please give more information. That OS and host app are you using. Which version have you installed. When exactly did it throw that error (which steps did you follow to reproduce it).
> Please give more information. What OS and host app are you using. Which version of RD have you installed. When exactly did it throw that error (which steps did you follow to reproduce it).
> I'm on Windows 7 Enterprise SP1 64 bit, I've just reinstalled Rubberduck 2.1.1.2532. If I open the source control window, it doesn't spot changes in the modules, so I have tried to open an existing repository and create a new repository. The error occurs on invoking either of those.
> I'm on Windows 7 Enterprise SP1 64 bit, Excel in Office Professional Plus 2013, and I've just reinstalled Rubberduck 2.1.1.2532. If I open the source control window, it doesn't spot changes in the modules, so I have tried to open an existing repository and create a new repository. The error occurs on invoking either of those.
 
1:58 PM
@ThunderFrame I thought that was why MZ-Tools and other VBA addins offered Copy Control?
 
2:13 PM
> It seems like there might be something wrong with our automated build. That’s the *native* libgit2 binary that’s missing.

IIRC I saw a PR recently that upgraded the version of libgit2sharp we’re using.
 
@Mat'sMug You need to update the native binaries: github.com/rubberduck-vba/Rubberduck/tree/next/libs
 
@Hosch250 Aha!
 
2:39 PM
@Hosch250 shouldn't that be Nuget's job?
 
No.
NuGet only creates a list of packages and pulls them every time if they aren't found. It doesn't actually put them in the repo.
We added a bunch of them to the repo manually.
Mostly ones that aren't on NuGet (like the PIAs).
 
hm, yeah I can see that for the non-nuget stuff but I understood that AV was already running nuget to pull in pkacages as part of its builds.
So there should be no need to manually maintain lib2gitsharp in the repo because it's a nuget package, too.
 
oh wow ... 4.5 GB for C++ development...
 
@Vogel612, I'm sure that 90%+ is just framework & SDKs. The tools themselves aren't that big... at least they weren't last time I checked.
 
3:37 PM
@Hosch250 I got my WPFHangman repo created. It's pretty ugly right now. github.com/IvenBach/WPFHangmanApp
 
You're doing quite good.
 
I didn’t have any if he XAML designer not displaying issues that I’m getting with RD. still don’t know why that’s happening.
@Mat'sMug I don’t know.
 
That's because RD is bigger.
And many of RD's controls are essentially lazy bound.
Because the WPF designer can't build the whole app and see what everything is.
 
Don’t think it’s that. I can’t even build it.
 
Oh, that's a different problem.
 
3:46 PM
> Thanks @Vogel.

@NelsonVides you might want to check the installer script to see if it needs updated. I didn’t see any mods in your PR. It might also be worthwhile to see what SHA v1.85 of libgit2 relates to.
 
guys, I'm lost with the installer script. Where is that thing? I had no idea of what were we doing with these .dlls
godamnit, I was browsing into the folders like crazy and it was on the parent folder
 
@NelsonVides, instead of clicking into folders, there's the search bar at the top which can find any files within the repository.... ;)
Though to be fair, I typically expect installers to be their own project or at least folder and not just a single freestanding file
 
4:19 PM
This here is strange - stackoverflow.com/questions/47775959/… - it seems that if you can compare two instances of a class then .Sort() should be working as well or?
 
so yes, this is happening here: github.com/rubberduck-vba/Rubberduck/blob/… it's indeed copying that dll alone. Strange thing is that updating libgit2shapr didn't change the dependency on its nativebinaries, it was still the 1.0.085 version, so this shouldn't have change. But I'm very lost here, is there anybody to help me? :/
 
> @rubberduck203 No problem. But it was not me.
 
4:42 PM
Thanks, @Mat'sMug and @this
 
Heh. I was too slow. :)
 
@this what's your answer saying that mine doesn't?
default properties suck
yeah
 
Yeah, I didn't see it until I posted. :(
so it's redundant.
so not only too slow but not as good. :)
 
well the part about abusing default properties is entirely correct and missing from the other two answers - don't delete it :)
 
I don't want to know what .NET is doing with the COm's default properties.... Bad things can only come out of it.
 
4:45 PM
it's not doing anything with them, that's the problem
(problem?)
 
BTW, i got the tumbleweed badge for CR. Yay?
 
ow
 
yeah, and that's my 2nd time
got my other on SO years ago
 
I was never using default properties in VBA.
Only in Python long time ago.
but it is obviously another way to make obscurification in VBA
 
Will Python have ambiguous assignments because of that?
That's the problem #1 with VBA's default properties.
e.g. Dim var As Variant: var = MyInstance <=== which was assigned, the instance of MyInstance or the default property value of the instance? Blech.
 
5:30 PM
@Hosch250 Tried Build>Clean Solution and then 'Build>Build Solution` and that seemed to fix the issue.
 
@IvenBach IDK if you knew already but it has been reported here and there that Rebuild, which is supposed to be basically Clean and Build doesn't always blow away all the crud correctly. For that reason, you may get better results with a separate Clean and Build (or Rebuild) actions.
 
you do know I get pings in here every time @rubberduck203?
 
5:46 PM
Chris isn't usually in here anymore.
 
I know.
still wanted to have it "for protocol"
 
5:59 PM
VS 15.5 is out.
Along with C# 7.2.
Seems pretty stable.
 
6:16 PM
@this I'd heard mention of it. I explicitly tried it as part of my duh/duck check.
 
@Hosch250 once around the hamster wheel again, eh?
 
6:43 PM
I'm starting to understand the humor of commitstrip.
 
I love this.
SQL Clause is Coming to Town!



You better apply updates

You better not cry

You better backup

I'm telling you why

SQL Clause is coming to town



He's created a database

He’s checking it twice

SELECT * from contacts WHERE behavior = 'nice'

SQL Clause is coming to town



His exec requests are sleeping

His cardinality estimates are wrong

Seven billion rows to see if = bad or good

So update stats for goodness sake!



O! You better apply updates

You better not cry

You better backup

I'm telling you why
 
oh, dear god
 
Did you find that in production?
 
In a manner of speaking, yeah.
 
6:58 PM
In other words, you put it in production?
 
@Mat'sMug Careful there, pardner. SQL Clause's watchin' ya....
@Hosch250 LOL, no. That'd be too much load. Checking 7 billion rows twice ain't going to be cheap.
 
Santa Qlause Lurking huh
 
and giving you the ol' stinky eye.
 
From what I recall it's best not to have RD installed while using VS to test bug fixes. I uninstalled RD and only have the local repo. I can't recall how to get RD to work when debugging.
 
that's on the wiki's "initial setup" page
 
7:08 PM
Heading over there
 
It's a class library, so you can set it to open Excel on startup.
Then you just access the VBE as normal.
 
@Hosch250 you need to have the registry keys, I think that's what @IvenBach was referring to
otherwise Excel launches, but RD doesn't get loaded because the VBE doesn't know it's there
 
You assume too much I know what I'm doing. :blush:
 
Yeah.
 
7:11 PM
I had much hand-holding the first time. I think now I have a good chance of following the steps myself.
 
Like the rest of us. You are picking up on things fast.
 
I want to learn. It makes a world of difference.
 
Will you be around much next week? I'm off, and I can help you with hangman.
@Mat'sMug Unless you tell me otherwise, I'm going to try to get the conditional inspections working again.
 
The week of 18th I'm still working, but 25th I'm off.
 
Feel free to spend time with your family.
Next week, I'll pull and see if I can't give you a few pointers to keep going, though.
 
7:25 PM
Regasm is what creates the Foo.tlb file that VBE requires? Since Foo.dll won't work as it requires COM interop?
 
depends if Foo.dll is a COM DLL or a .NET DLL
if Foo.dll is a COM DLL, VBA can reference it.
if it's a .NET DLL, VBA needs a type library (TLB) for it
 
With RD being build by VS I'm assuming it's a .NET DLL.
 
WINNER!!
 
I'll ask the duh question to make sure I'm not assuming anything.
What does the values in the key Rubberduck.Extension do again?
@Mat'sMug Having you explain that there are 2 different DLL and knowing that made a lot of sense as to why you are required to use regasm.exe.
RD lives again!
 
think of COM as a communication protocol
originally it communicated via the registry
so to tell any other that you're here and you can be used
you register yourself in the registry
so anyone else who speaks COM can "see" you and thus can use you
however, to get all the details on how to use you, they need to have a type library
type library is simply a way of describing what you are capable, what you can be, what you do... it's all done with interfaces
 
7:34 PM
I think I understand. Pretty sure I do.
 
and that is what regasm.exe does -- it registers you in the registry and generate a type library
keep in the mind that's all for COM
 
Could it be thought of as converting info from the .NET DLL into a blueprint for what can be done via COM?
 
for VBE add-ins to be registered, VBE has to be explicitly told that this COM class here in this yonder DLL can be invoked as a VBE add-in. Thus you need more registry keys just to tell VBE about that addin
and because VBE "speaks" COM, it has to be a COM-compatible library
but not all COM objects are VBE add-ins
RE: the question of blueprint --- more or less yes.
 
Ok.
Thanks for the easier explanations. I'm working on proper terminology.
 
One more thing just as a FYI -- not all DLLs will have their TLBs. It used to be a common practice that a DLL would have its TLB embedded.
 
7:40 PM
Does regasm just pull out an embedded TLB?
 
Which is why you can directly reference some DLLs (e.g. you could reference EXCEL.EXE or MSACC.OLB or scrrun.dll)
no no that's the thing, it simply doesn't do embedded, period.
to embed the TLB in your custom DLL, you gonna add a post build step
which is too complicated to do
But that's why when you add references via the VBE's Tools - References, it would sometime tell you it can't reference a given DLL but would accept another DLL, even though it's the same file extension. Because it's missing the type library. Most of native win32 DLL don't have a type library (nor will they ever) and not all .NET assemblies will have a type library, so you would be unable to reference those directly.
 
@this Now I understand the why of it failing.
#WarmFuzzies I think I'm starting to understand a bit more.
 
@Duga :barf: Wrong push location.
@Mat'sMug Any way you can revoke that permission?
 
Not really since he just gave it to contributors.
 
not without revoking your ability to be assigned to an issue
 
@Mat'sMug Not quite.
 
or getting a paid GitHub plan
 
8:03 PM
You would revoke his ability to assign himself to an issue.
 
Let me see if I can set up my repo.
 
doesn't matter much
you pushed into a feature branch, which is just as good
 
It's still something I need to learn.
 
as long as we don't end up with a dozen stale feature branches on the main repo, I'm ok with it
 
Plus if it's in my own repo it'll help hide some of my derp-tastic learning moments.
2
 
8:06 PM
That might be a good example of where hiding the underlying feature is more harmful than good.
 
@Duga Along with not seeing every commit I make.
 
IDK what ivenBach did to push but if he was using client tools, rather than Github, a push to forked repo would be OK, as PR can be then made. OTOH, a push to the rubberduck-vba => merge this thing right now, screw PRs!
the concept of PR just doesn't exist in the git world.
 
@this I don't want this power/authority/responsibility. I'll end up FUBARing something unintentionally.
 
@IvenBach as long as you're working in branches, everything is good
 
8:09 PM
then drill this much in your head.... always push your commits to IvenBach/rubberduck
 
we can see the WIP and even contribute to it
 
never to rubberduck-vba/rubberduck
 
and then a PR can be made to [next] once it's ready
29 secs ago, by this
then drill this much in your head.... always push your commits to IvenBach/rubberduck
 
and at least we can't push to next, right, @Mat'sMug?
 
or that
 
8:10 PM
@this That's what I forgot to set up...
 
@this correct
 
your origin should be the Ivenbach\rubberduck fork. So I'd double-check the settings
 
@IvenBach One more thing--if you ever want to base a new branch off latest Next, be sure to uncheck the Track This Branch box.
 
remember that origin is only an alias
 
@Hosch250 That I've learned and make sure of every time.
@this How do I check that?
 
8:12 PM
Good.
 
it could very well point at https://thegreatfroofroo.com/git/
uh, good question. I know how to do that in tortoisegit. :p
not by CLI, because ya know.... lazy.
 
Something like git remote get-url
 
The one day I leave my RD notebook at home thinking "I take this every day and never use it" is the day I need it...
#LessonLearned
 
Open the CLI though the actions. Something like Open Command Prompt.
I keep it all in a remote OneNote notebook.
 
I keep it all in my mug
 
8:14 PM
I'm a generation or 2 behind on collaboration. I like having a physical notebook. I learn a lot better when I actually write it out by hand.
 
@Mat'sMug On little strips of paper like a fortune cookie?
Talking about which: The bald man asked the barber "Why you charge me full price."
 
@Hosch250 nah, dunked in coffee
 
FWIW, this is my workflow ATM....
1) pull from rubberduck-vba/rubberduck:next
2) switch to a new branch "foo"
3) commit to bclothier/rubberduck (to update the branches)
4) work on the branch, commit as necessary. (smaller commits are generally better)
5) push to bclothier/rubberduck:foo
6) use github to create a pull request
	a) the base should be rubberduck-vba/rubberduck:foo
	b) the head should be bclothier/rubberduck:foo

While the PR is open....

Any subsequent pushes to bclothier/rubberduck:foo will synchronize the PR
**A** push to rubberduck-vba/rubberduck:foo will close the PR
@IvenBach simply replace bclothier with Ivenbach, foo with whatever branch you're using and you have it basically.
 
@this I do that as well. I'm just setting up a new system and forgot everything wasn't set up.
 
@Hosch250 The barber replied, "because I cannot shave any men who shave themselves; I must shave all and only all the men who don't shave themselves."
 
8:21 PM
@Mat'sMug no... that's wrong...
they can push to next all they want.
 
^ I pheer I'll mess it up.
How do I change Origin in VS?
 
That's not a VS thing
that's a git thing
therefore, cli
or coughTortoiseGitcough
 
cli = Command Line Interface?
 
yes
VS git integration sucks hard, so you can't really use vs...
 
Vogel, aren't you the local git CLI guru?
 
8:24 PM
I am .
you can change origin by removing and readding it..
 
@Vogel612 oh that's right - because otherwise nobody could merge PRs
 
anything else is probably too much effort...
 
@Vogel612 set-url.
 
hum ... TIL
 
Something like git remote origin set-url "value"
 
8:25 PM
never need it.
 
@Vogel612 I agree. That's why I normally use Tgit which works much better.
 
I use VS for push/pull only.
And new branch.
 
@this being used to proper CLI tabcompletion I'm faster with CLI than with any graphical tool
 
Anything I use CLI.
 
@Vogel612 probably won't need it if you don't screw it up in the first place. :)
@Vogel612 Perhaps but in my case I'm working on several different repositories for project, I like being able to review branches and history before I commit; no way to remember them all by memory.
and also lazy
I'll grant this much, though - it pays to know the underlying commands. Otherwise it's just a glorified button to do wrong thing.
 
8:32 PM
@this log does it all
also git has integrated aliases
 
maybe, but 1) I don't like how it looks on the command line. it's fugly. 2) I like being able to review the diff/patch while I'm committing.
 
if you need that, then your commits are too large ;)
 
Hrm... I don't see the the various options for origin after renaming it.
 
That's because it's not named origin anymore?
 
I deleted it and then remade it.
 
8:35 PM
Ivenbach, remember it's only an alias
It wouldn't have "options" per se
@Vogel612 or i'm the paranoid type. :)
 
well ... git diff HEAD?
 
@this VS lets me do that.
 
That's all I see.
 
@IvenBach git fetch origin.
That won't update unless you fetch.
 
8:37 PM
@Hosch250 I think that's relying on the VSTS and if it's wrong, then it's going to be wrong.
 
@Hosch250 That worked.
 
Meh. It's perfectly fine for viewing changes and push/pull.
It's not any more likely to be wrong that TortoiseGit.
 
until it's wrong. Which happened to me. I was getting two different reports from the git and the vSTS
then again, I'm just lucky.
 
Did you install the git tools for VS?
Or were you just using the built-in stuff?
 
pretty sure I had to. I honestly can't remember.
it was last year or so.
it may have gotten better in meanwhile.
 
8:40 PM
WOOT! The duckheaded-caveman suceeded!
Thanks for breadcrumbing me enough to figure it out.
 
@Vogel612 tried the git diff HEAD and to be honest, it feels more work to read through the changes than seeing it via Tortoise's diff tool which presents the changes in a similar format to what Github does.
 
GH literally parses exactly that output
you of course need a console that does colors...
 
so does Tortoise's diff tool, i"m sure
 
yeah it was colorized
still.. meh.
 
8:43 PM
you can look at simple files with -- pathspec
 
9:03 PM
I generally do most things via the CLI. For inspecting the log I use smart git, however.
 
9:26 PM
@Vogel612 I'm just wondering - are you showing the automated progress bar anywhere?
 
9:39 PM
doesn't seem to work...
 
> Sometimes when I select a block of code and then try to "Refactor Extract Method" it does nothing. I assume this is because it can't refactor my selected block for some reason. It would be helpful if Rubberduck told me why it couldn't refactor that block of code.
 
@Duga wut?
 
> What version are you using? Extract Method was originally shipped in v1.2, removed in v2.x, and is currently being re-rewritten (it's... a complicated one :wink:) - long story short, I don't expect the current WIP implementation to have released.. or did you build your own ducky from the source code?
 
@Duga I got the versions wrong, but whatever
 
I thought the production release had that command totally deleted (not merely disabled) but I don't have a production install to check
 
meep. did we do something wrong?
 
I'm kind of flabbergasted ATM
running 2.1.1.2513 here, there's not even an Extract Method item in the Refactorings menu
 
hotkeys at it again?
 
how could he have discovered the hotkeys?
if it's not on the menu at all, then it wouldn't be discoverable.... right?
 
Settings?
 
9:54 PM
is the hotkey in the settings dialog?
 
even if it isn't... it used to be in the settings, right?
 
uninstalls RD
 
> @BriargateExcel we are surprised here because the method is not supposed to be enabled at all.

Were you using right-click menu or hotkeys?
 
installs 2.1.1
 
holy carp if that's in the green release we might be in for a ride.
 
9:56 PM
^
 
Yeah
 
Do a new green release.
 
it's not
 
I'm wondering if my PR actually got merged into the next
 
BUT the hotkey is in the settings menu
 
9:57 PM
thinking of my first PR where I modified the selection.
@Mat'sMug for 2.1.1.2532, right?
 
Rubberduck version: Version 2.1.1.2532
Operating System: Microsoft Windows NT 6.1.7601 Service Pack 1, x64
Host Product: Microsoft Office 2010 x86
Host Version: 14.0.7191.5000
Host Executable: EXCEL.EXE
 
yeah
 
@IvenBach love that feature ^^
 
so has to be hotkeys
 
looks like it's the old no-UI implementation?
wtf
 
9:59 PM
long story short: we need to get disabled commands under control ...
 
yes it's most likely was
cos it's shipping with the release still, I think
 
OMG it's so borked
 
that involves things like Source Control and Experimental Features, right?
 
Sub DoSomething(ByVal bar As Long)
If True Then
NewMethod
End If
End Sub
Private Sub NewMethod()
    Debug.Print bar
End Sub
 
00:00 - 22:0022:00 - 00:00

« first day (1285 days earlier)      last day (1895 days later) »