« first day (2052 days earlier)      last day (313 days later) » 
00:00 - 22:0022:00 - 00:00

12:00 AM
Have a look at AddComponentService.
 
RELOAD!
[Minesweeper] Games Played: 82, Bombs Used: 40, Moves Performed: 10086, New Users: 26
 
@Mathieu Guindon
I have VS 2010 isntalled on my machine
should i install 2017?
 
[rubberduck-vba/Rubberduck] build for commit 79540a49 on unknown branch: AppVeyor build failed
 
you probably don't need it, as long as you only want to work on translations
 
@AfonsoMira VS2010 won't be able to build Rubberduck, it can't compile C# 7 =)
 
12:07 AM
BUILD FAILURE!
RELOAD!
[rubberduck-vba/Rubberduck] 9 commits. 3094 additions. 1241 deletions. 1 issues closed. 2 issues opened. 21 issue comments
 
ok
soo
i'm gonna install 2017
 
with that you'll be able to tweak the bit of code that makes languages selectable in the settings, and F5-debug RD and see your translations in the actual UI
 
is the 2017 free?
 
@AfonsoMira yes, you only need Community edition, which is free.
 
If you can still find the installer for vs2017 community, yes, for OSS projects and non-commercial personal projects.
You should also be able to use VS2019 community.
 
12:18 AM
ok I'm gonna install the 2019
Thanks for the help :)
do I need to uninstall 2010 before installing 2019?
 
@AfonsoMira I don't think so
 
I have 2015 on top of 2013 at work, and 2019 on top of 2017 on my dev vm
 
@Duga whoopsie, that's a little early =)
 
@MathieuGuindon sorry
 
no problem - when you commit the last translations, have "closes #5353" in the commit message; github will automatically close the issue when the PR is merged =)
Side note, I think we don't currently support culture-specifics... which is probably a problem for pt, given how pt-PT and pt-BR would be quite different. For now just make the files .pt; we'll have to think of a way to fix that soon
...that said you definitely want to just have ResXManager deal with creating the files
 
i open the rubberduck on VS and show me incompatibility
 
you opened the .sln file?
in VS2019?
 
yes
maybe i have tho install something more
 
12:36 AM
incompatibility with the .csproj format? not sure I'm following.. maybe it just wants the nuget packages restored?
 
@MathieuGuindon with the .csproj yes
did I need to install any workload?
 
not that I know of... it should just work AFAIK
workload?
 
can i send a print?
 
how I do that?
 
12:43 AM
Copy the image, then paste it onto a new issue on github to upload it - then grab the url, paste it here, and discard the dummy github issue =)
#hack
 
oky
 
VS has multiple install options, did you install the windows desktop stuff?
 
You didn't have to actually submit the issue =)
 
12:46 AM
ahhh
ok
 
So yeah, you want .net desktop dev
 
I get it
ok
 
(plus whatever else you might want to work on with VS, but RD needs the desktop stuff)
 
@MathieuGuindon I copy the link that the image generated
 
Yep =)
 
12:48 AM
installing
 
then I install ResXManager and just translate
 
nice
 
VS' Team Explorer toolwindow should be good enough for all the git stuff you'll need
(commit, push)
gotta go now though
 
12:51 AM
ok
thanks for the help
goodbye
 
@M.Doerner I'm looking at the class. Interface and alphabet soup. What does this class enable so I can resolve the exporting error on my tests?
I've never dealt with FooService or BarProvider. Going off the names BarProvider just gives/deliver/provides me what it is I need while FooService does some service. Besides that very vague notion I'm lost with them.
 
You can constructor inject it and then use it to create the new component via a temporary file.
Then, in the test, you can inject a mock.
 
So new up what I need in my refactoring?
 
That is basically what the names suggest.
No, constructor inject the service.
Then use it to create the new component.
 
What service?
 
12:59 AM
AddComponentService
 
:derp: bad phrasing. I know you said AddComponentService. My question was more of where/how.
 
More precisely, inject the interface.
 
So adding a new parameter to the ExtractInterfaceRefactoring class?
 
In your refactoring's constructor.
Yes
 
ctor injecting it well require me to create a readonly backing field to store it.
 
1:01 AM
Yep
 
Then that begs my control freak question of where do I new up the actual class which implements that interface.
To which the response is "That's for the IoC framework." allays my concerns?
 
In the production version, the IoC container will do it for you.
In the tests, you have to do it yourself.
 
Production version = how RD loads when we open the VBIDE?
 
Yep
It can be that you actually have to New it up at some place because some setup does not completely do DI.
To see whether that is the case, just add the parameter, compile and follow the errors.
 
Do I replace IAddComponentService with the current interface implementation that's creating the additional interfaces?
 
o.O IAddComponentService.AddComponent has no return type.
How does that benefit me when components.Add, when components is of the type IVBComponents, is returning an IVBComponent that I can then work off of?
Home time.
 
hmm, I'm becoming more and more uneasy with the naming conventions. They use lot of same hex code in different places.
Ok, I think I solved it - I'll just define additional keys even if they end up using same hex codes. That way, it's more clearer where the key are used and make for a better theming.
Also, does anyone know why we would have keys like those? (they are pre-existing keys but names does not make sense to me)
<SolidColorBrush x:Key="ToolBarVerticalBackground" Color="#FFEEF5FD"/>
<SolidColorBrush x:Key="ToolBarHorizontalBackground" Color="#FFEEF5FD"/>
I do not understand how a background can be "vertical" or "horizontal"
 
1:45 AM
I think horizontal and vertical relates the toolbar orientation?
 
oh, that would make sense. I was thinking background, not toolbar itself.
but we don't currently have vertical toolbar... do we?
 
?
But if we did...the background is #FFEEF5FD!
 
which is actually the same as horizontal
is there a way to find out the default color of builtin control's property.
I have a label that's set to white but my guts is saying to remove the explicit coloring for the label.
 
2:54 AM
Just killed off the last few remaining hard-coded color values (the literals like SmokeWhite). The default style xaml now rules them all.
 
3:21 AM
Ha! The trailing dot was in fact needed - rubberduck-vba org is now "verified" on GitHub!
 
Nice!
Sanity check: would you agree that if a converter is used in more than one XAML, it should be consolidated into the styling XAML?
or is there a reason why I shouldn't try and consolidate the converters?
I'm ignoring those that are only used in one place only.
but I'm finding more than a handful where it's used in exactly only 2 places so wondering whether it'd negatively impact other XAMLs that don't need the converters.
 
3:51 AM
@this yep
@this nope, they're static resources that should be shared across UIs
 
sweet! Let me take out the weedeater....
 
4:04 AM
Also, why does VS sometime tell me that "it can't find some xaml blah blah" when I open some xaml in designer?
 
4:23 AM
sigh VS 2019 still hasn't fixed that bug where after a build it still shows a stale error.
 
5:04 AM
hmm is this a smell? <SolidColorBrush x:Key="Item.SelectedInactive.Border" Color="#FFD3D3D3"/>
specifically the dots in the key
 
I think any string is a valid key.. this might actually be not crazy at all, come to think of it
eh, ttgtb
'night!
 
night
 
 
5 hours later…
10:18 AM
@IvenBach Why do you even need an IVBComponent?
For the version without attributes, there is AddComponent and for the version with attributes, there is AddComponentWithAttributes.
To that, you just provide the project's projectId, the desired component type and the entire content of the module.
Then, it will add a component with just that content.
It could use an enhancement to optionally take a name for the component, though.
 
 
2 hours later…
12:48 PM
Hm, actually only AddComponent should get the optional parameter for the name. For the attributes version, the name attribute already specifies the name.
 
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/5347?src=pr&el=h1) Report
> Merging [#5347](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/5347?src=pr&el=desc) into [next](https://codecov.io/gh/rubberduck-vba/Rubberduck/commit/e060ff4e2144bae0d1802a20afe35dec574f85a5?src=pr&el=desc) will **not change** coverage.
> The diff coverage is `n/a`.


```diff
@@ Coverage Diff @@
## next #5347 +/- ##
=======================================
[rubberduck-vba/Rubberduck] build for commit e060ff4e on unknown branch: Coverage not affected when comparing e060ff4...e060ff4
 
1:01 PM
> The things from PR #5338 are now incorporated.
In addition, I made the `SheetAccessUsingStringInspection` stop reporting unqualified accesses and accesses through `Application`; according to the documentation, these go through `ActiveWorkbook`, not `ThisWorkbook`.
[rubberduck-vba/Rubberduck] build for commit 999a846f on unknown branch: AppVeyor build succeeded
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/5347?src=pr&el=h1) Report
> Merging [#5347](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/5347?src=pr&el=desc) into [next](https://codecov.io/gh/rubberduck-vba/Rubberduck/commit/e060ff4e2144bae0d1802a20afe35dec574f85a5?src=pr&el=desc) will **increase** coverage by `0.33%`.
> The diff coverage is `71.49%`.


```diff
@@ Coverage Diff @@
## next #5347 +/- ##
=======================
[rubberduck-vba/Rubberduck] build for commit 999a846f on unknown branch: 61.66% (target 0%)
[rubberduck-vba/Rubberduck] build for commit 999a846f on unknown branch: 71.49% of diff hit (target 60%)
 
@Duga I just double-checked it; the access is to the active workbook.
 
1:22 PM
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/5360?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request head (`EnhanceAddComponentToProvideTheName@caa1666`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-head-commit).
> The diff coverage is `n/a`.
 
1:37 PM
[rubberduck-vba/Rubberduck] build for commit caa16668 on unknown branch: AppVeyor build succeeded
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/5360?src=pr&el=h1) Report
> Merging [#5360](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/5360?src=pr&el=desc) into [next](https://codecov.io/gh/rubberduck-vba/Rubberduck/commit/5d7369a3c8ed8df1848bd3583c0fb6a0e97887b7?src=pr&el=desc) will **decrease** coverage by `0.01%`.
> The diff coverage is `n/a`.


```diff
@@ Coverage Diff @@
## next #5360 +/- ##
==========================
[rubberduck-vba/Rubberduck] build for commit caa16668 on unknown branch: 61.68% (target 0%)
[rubberduck-vba/Rubberduck] build for commit caa16668 on unknown branch: Coverage not affected when comparing 5d7369a...caa1666
 
 
3 hours later…
4:12 PM
So, first impressions on Ubuntu. I'm not quite used to the theme, but the scaling is wonky.
Some parts scale nicely at 200%, others don't. Spotify does NOT.
It does on Windows.
Windows is several times faster to load the desktop after signing in, but Ubuntu seems slightly faster overall.
The cursor is tiny, and I can't get it bigger even though I tried a couple themes.
May just be the standard size for a theme to use, though?
My media controls don't work.
The forward/back/pause/play controls.
The volume controls do, though.
 
I would say that's about the par for the course.
 
4:27 PM
I think I'll run it until April 23, or whenever the next LTS Ubuntu comes out, then install that on my external disk like I originally wanted using the two external disks like the first tutorial said.
And re-install Windows on my main disk.
 
@MathieuGuindon Be afraid. Be very afraid. My prints are coming out well and I'm getting your gift package slowly assembled.
 
> When you experienced the problem with the instancing not updating in RD, did you change the content of the module in any way or did you only changed the instancing?

If you only change the instancing, RD thinks that the module is unchanged because the code pane content has not changed. Consequently, the module is not reparse and the new information that only exists in the exported version of the code is not taken into account.
 
OK, so I got running .NET Core stuff figured out on the commandline. Now I just need to figure out VS code tooling commands...
And now I really need to move my stuff to PostgreSQL :D
And now I know why Linux is only used by professionals, LOL.
 
ok let's see if I borked the coloring
 
It had me stumped for a good while with that blank screen.
 
4:34 PM
@Hosch250 imagine putting your grandmother in front of it....
 
No, thanks. Windows just works.
I mean, MS charges for it and that's why they can afford to make it just work. But still, it's a lot easier.
I've no doubt Linux has the same potential, but it just doesn't get the same love.
 
Yep. TBH, I'd rather put my grandmother (were she still alive) behind a Mac.
much less PC support that way.
 
Yeah, they are easier for a beginner to get started, but have a LOT less customization.
At least, without going into the advanced stuff.
 
when all they do is email or do pictures, that's all they really need.
 
Yep.
 
4:38 PM
and less customization also means they can't break it or download some dumbass virus.
 
Mac is really good for basic use. They have a lot of good very basic programs.
I just find they have a higher barrier to entry to the advanced stuff than Windows, but that might be because I've not used them for a few years.
You need to go to third-party software, at the least, for it.
 
IDK. On my mac, I've never really felt the need to go get a third software as much as I do on Windows.
hmm looks mostly OK but I think i may have warped the inspection dialog just slightly.
 
Well, I'm thinking more along the productivity lines.
Their email system and iWork system aren't as good as the Office alternatives.
Although, the basic OOTB email for Windows isn't that great either.
 
Like Office? I guess so, yeah - I took it as basically given since Office do work on Mac except for few programs like Access or Publisher or Visio.
 
Yeah, but they are third-party.
 
4:42 PM
Fair.
But see, I like OOB Mail better than ... Outlook Express? Whatever what comes w/ Windows.
 
Fair enough.
The Windows one is pretty lame.
But yeah, any OS is good if you can run Office :)
 
on Windows, I'd have to download Greenshot for good screenshots; with Mac, I'm happy with the built-in Preview & Grab
Did they make for Linux? I think not yet.
 
I just use the Windows-S key for screenshot :)
 
i hate the snipping tool
LOL
 
It's not the snipping tool.
 
4:43 PM
Oh?
i should look again
 
It's literally "drag over the screen and put the result in the clipboard".
Like pressing the prt sc key, but better.
Or is it Windows-Shift-S.
I don't remember off-hand.
 
neither works...
 
Are you on the latest Windows 10?
 
yeah
 
Hmmm.
 
4:45 PM
well I don't know if it's updated. it has autoupdate but who knows.
 
Screen dims and you drag across to select what you want, and it's in your clipboard.
Then I just go to Paint and paste it and save.
Also, you might like the new Snip & Sketch.
Although, personally, I didn't. I just capture it to the clipboard and use Paint.
And now my back/forward controls just started working...
 
@Hosch250 just wondering - have you had any problems running 2019's tests?
 
Hmm?
VS 2019? You can't get that on Linux, so far as I know.
I have VS Code, but that's still only an editor, not an IDE.
If I need to run tests, I can probably do it with the commandline tools that VS ties into.
 
i've been unable to run tests reliably with 2019 - it has the nunit3 adapter already but when I run tests, it goes through the motions of running - even hit the breakpoints when debugging, but then the explorer report all tests has not been run.
talking about Windows.
 
Nah, I've not had issues with that.
 
4:59 PM
at one point, it did get to updating the tests runs and greening only sometimes but then abruptly stops for no apparent reason.
at another point, it reported 14K unit tests.
 
LOL.
I had trouble with that when they first introduced the new version, but not lately.
 
I guess I got Iven'd with 2019.
 
ugh snoop doesn't work
 
@Hosch250 your gift will be next to print.
@this you’ve helped me out tons. You want a print too?
@this I’ve become an Action<T> now?
 
5:31 PM
:-D
Just that it feels inexplicable, like that metadata error you had last year
I have no reason/rhyme for why it doesn't work
Whew - turns out that I did need the BasedOn to inherit.
 
6:26 PM
Given this definition:
<Style TargetType="Image">
    <Setter Property="Height" Value="16"/>
    <Setter Property="Width" Value="16" />
</Style>
this is used in a number of places but I feel that's too loosey-goosey - that'd apply to all images even those that we might not have meant to apply?
 
I better not touch that, then.
I think I got them all. Going to do a quick spot check to be sure I didn't break anything.
 
...but do we have any image that isn't 16x16?
(and isn't explicitly sized)
 
in few places, I think - AboutControl.xaml, probably
I considered making it a part of the Toolbar.xaml but unfortunately that is used in lot of places so I am not sure if that'll do something dumb
a number of .xaml files inherit from the Toolbar.xaml and the new DefaultStyle.xaml
hmm but Toolbar.xaml inherits from DefaultStyle.xaml... That probably made it redundant. Maybe I should remove the DefaultStyle.xaml inheritance from those xamls that has both.
I think I'd rather have the 16x16 be a part of its own xaml file. Less ambiguity that way.
huh? it's still using wrong style?
Designer show correct style but the built one has the broken style
cleans & rebuild
nope still broken
The designer is correct. It was broken until I added the BasedOn
<Style x:Key="PrettyListBoxItem" TargetType="{x:Type ListBoxItem}" BasedOn="{StaticResource PrettyListBoxItem}">
    <Setter Property="BorderBrush" Value="Transparent"/>
    <Setter Property="BorderThickness" Value="0"/>
</Style>
 
6:43 PM
How do I prevent RD from parsing specific files (like Personal and add-ins?
 
the simplest thing to do right now would be to lock them up
 
Currently, the only way is to protect them with a password.
 
^
there's an open issue to enable per-project parsing
 
There is an issue for implementing a toolwindow that lets you choose projects to exclude, by file name.
 
looks like commenting out the modified style makes it work, so BasedOn actually doesn't work. Trying with a different name.
 
6:46 PM
However, that requires us to enable the type lib API stuff.
 
why shouldn't we enable it now?
we just released so it's good time to test with it enabled, no?
 
True
It should work.
 
Yes, I did fix the crashing issue a while ago, so far as I know, it hsould now work for wide variety of projects
 
Still, somebody will have to implement the excluded projects window and settings.
 
Yes.
Hmph. It does not look like WPF likes me re-using the key with BasedOn
 
6:48 PM
It would really be a nice enhancement, though.
 
Using a different name makes it work correctly but that means that if we use BasedOn, we have to rename. That feels very annoying.
 
@this Thanks! For now I'll protect them..
 
> In the latest pre-release, the error reporting has been enhanced. Now, the content of unhandled exceptions is actually logged.

That does not fix the problem here, but should provide us with more information in the future.
 
7:47 PM
> When extracting an interface from a Public class, I think it would useful to hide both radio buttons as there is no choice for the user to make regarding the interface's exposure. Or, both the Private and the Public (Not Creatable) radio button should be disabled. Otherwise, an enabled Public (Not Creatable) button implies the user has the option to manipulate it. Given the binary nature of this refactoring option, it seems that providing a single checkbox for the user to manipulate would a
 
7:59 PM
@BZngr just a sanity check this looks OK to you?
Fortunately, there weren't too much styling changes but there were a number of conflicts when I merged.
 
Hi
soo
I install the vs 2019 and the ResXManager.VSIX
what did I have to do now tho start translate
 
I think all you need to do is open the resxmanager
it'll be via extension menu
 
@this Yes - looks right to me.
 
Thought so but thanks for confirming!
(and I love it!!!)
 
:)
 
8:07 PM
@this ok thanks
 
@AfonsoMira you should see something like the screenshot in the page:
where you can have a English column and you'd need a new Portuguese column then translate away.
 
@this How do i add a new column?
 
Good question - I don't actually know.
 
I don't need to touch the code, do I?
 
not right now.
(and if you don't want, that's OK, we can handle any code change which are very small)
I am thinking that you need to create new resource files yourself but not sure.
pinging @MathieuGuindon or @M.Doerner for guidance RE: adding new language via ResXManager. The documentation does not say one way or other if it handles doing that or not.
Hmph. Settings dialog is broken, sort of.
sometimes it loads, but other times it just doesn't. No exceptions.
 
8:16 PM
I add this Templates.pt.resx
and the columns appeared
 
Ok, I guess you have to create as many .resx file with similar names then
we have a number of resource files, mostly (all?) in Rubberduck.Resources project
 
@AfonsoMira To add a new column/language, find the button in the toolbar with a + next to something looking like a column. The tooltip says Add new language.
I would suggest to use the drop down to the left of it and to filter only on your target language, the English version and the English comments.
The comments tell you what the placeholders stand for.
You can also button to the left of that to filter to only those keys with warnings. That way, you only see those you either have not translated yet or having some problem like not incorporated placeholders present in the English version.
One more thing, I think it is really helpful to activate word wrapping by clicking on the corresponding button in th toolbar.
@MathieuGuindon You were worried because of some exceptions from inspections in a log yesterday. Just so you know, I am dealing with those right now as part of my next PR refactoring declaration inspections. The invalid cast is history already.
 
8:44 PM
@MathieuGuindon turns out there was a reason for the {DynamicResource {x:Static SystemColors...}} -- using StaticResource prevents the settings dialog from consistently opening.
 
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/5361?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request head (`WPFReskin@d84a12f`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-head-commit).
> The diff coverage is `n/a`.
 
@MathieuGuindon looks like it weights in about -800. That was certainly a bit more than I was expected (since I ended up adding a fair amount for references
 
9:08 PM
[rubberduck-vba/Rubberduck] build for commit d84a12f1 on unknown branch: AppVeyor build succeeded
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/5361?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`next@7d09b04`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `71.13%`.


```diff
@@ Coverage Diff @@
## next #5361 +/- ##
=======================================
Coverage ? 61.68%
==============
[rubberduck-vba/Rubberduck] build for commit d84a12f1 on unknown branch: 71.13% of diff hit (target 60%)
 
0
Q: Retrieve status for a list of FedEx tracking numbers

HorribleBackground If you buy something from our facility, you will get a box with a shipping label on it. The two main numbers it will have are a FedEx tracking number and a carton number. For cartons that are not already in a manifested or invoiced status within our warehouse management system, it is ...

 
[rubberduck-vba/Rubberduck] build for commit d84a12f1 on unknown branch: 61.68% (target 0%)
 
@IvenBach Thanks :)
 
I've a 17 hour print going right now. Wish me luck.
 
@IvenBach how big is it?
 
9:22 PM
Just under 240mm max height.
Also found out about a game mode I enjoy this weekend. A great #LastHurrah before classes start next week.
 
Meanwhile, I figured out how to run an ASP.NET Core project on Linux with VS Code.
I also learned that SQL Server can run on Linux, although it's not certified to work with Ubuntu 18.04.
They said that last they knew it didn't have any problems, but they hadn't tested it enough to run it in prod.
There was a problem with needing an older version of something for a while.
 
they did it for RHL mainly
 
RHL?
 
Can't remember if RHL and Ubuntu are in same family
Red Hat Linux
 
Oh, I'd just figured that out :)
Well, they have explicit instructions for Ubuntu, so I don't know...
 
9:27 PM
Cool.
Are you using apt-get for this or is it on your own?
 
I figured out how to force Spotify to display correctly, but I can't pin the command to the dock--whenever I try, it just loads plain Spotify without the scaling changes.
@this You can either use apt-get or a Docker image.
I'm leaning towards doing a Docker image first.
 
@this RHL is not a Debian derivative, IIRC
soo ... no
 
I'd go for Docker, too.
 
I'm missing the Windows feature where clicking the image in the dock will minimize the active program.
 
@IvenBach so that puts it at approx 200mm^3/second
 
9:30 PM
It's really handy for stuff where you just want to check the status of something.
 
(I assumed a cubic dimension)
 
9:40 PM
@this 50mm/s with 1.75in diameter filament.
 
oh they can come in different diameters?
 
:derp: sorry 1.75mm.
Sorry halfway distracted with game.
 
That does makes more sense but I was actually wondering about whether printer can take different diameters of fialments
 
You can get a different extruder. It seems like 1.75 is now the standard diameter
 
Cool
 
9:44 PM
I'm sticking with the stock stuff besides what I can print myself. My replacement bed is the wrong size. They sent me one for the larger build plate. :sads:
I don't want to cut it to size either cause that's asking for probs.
 
00:00 - 22:0022:00 - 00:00

« first day (2052 days earlier)      last day (313 days later) »