« first day (1569 days earlier)      last day (1611 days later) » 

12:00 AM
RELOAD!
[bruglesco/FleetCommand] 7 commits. 312 additions. 98 deletions.
[rubberduck-vba/Rubberduck] 6 commits. 1 opened issue. 2 closed issues. 12 issue comments. 363 additions. 10 deletions.
 
Progress! At least I got a column width initialize to a different value.
Home time.
 
 
2 hours later…
1:48 AM
Been amusing myself with Reddit and Twitter for about an hour :joy:
@PeterMTaylor Oh man, I think that site was WinBeta when I knew them. I used to follow them to get news on my blog.
They did a total redesign.
 
2:07 AM
@Hosch250 which festival you mean summer when we here are getting into spring
 
@PeterMTaylor Huh?
 
2:25 AM
Sorry. Forgot full stop. The reddit picture pasted ^ above mentioned festival. I’m asking which one was it.
 
Oh, no idea.
Not me.
 
Okay then. Not to worry. How things on your end anyhow?
We at the start of school term now. I’m a worker so I didn’t notice that til my mother in law dropped by unexpectedly to pick them up to her place for a week.
 
OK, got to go do dishes.
Oh, OK.
 
Cool.
 
Umm, I'm totally too tired.
That was a pretty inane response, LOL.
 
2:32 AM
No worries either way. Take care of yourself
oh pick up our two kids I mean. Forgot to add that
 
I figured it out, and that's when I realized just how inane that response was.
 
3:15 AM
@Hosch250 There's always a way around the rules.
 
 
2 hours later…
 
 
10 hours later…
2:51 PM
My LinkedIn account feels like a pretty girl at her first ball. It's mostly connected to recruiters I don't know.
I think I'll go remove them all soon.
 
@Hosch250 all dressed up pretty with nowhere to go?
 
No, all the people I don't know want to have a dance.
 
3:15 PM
Stranger danger: Beware.
 
 
2 hours later…
5:07 PM
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4127?src=pr&el=h1) Report
> Merging [#4127](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4127?src=pr&el=desc) into [next](https://codecov.io/gh/rubberduck-vba/Rubberduck/commit/50b8661377f33573364e11b34514b2feff2522b5?src=pr&el=desc) will **decrease** coverage by `2.85%`.
> The diff coverage is `92.03%`.


```diff
@@ Coverage Diff @@
## next #4127 +/- ##
=======================
[rubberduck-vba/Rubberduck] build for commit 0899d1df on unknown branch: 53.99% (target 0%)
[rubberduck-vba/Rubberduck] build for commit 108041e3 on unknown branch: AppVeyor build succeeded
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4127?src=pr&el=h1) Report
> Merging [#4127](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4127?src=pr&el=desc) into [next](https://codecov.io/gh/rubberduck-vba/Rubberduck/commit/50b8661377f33573364e11b34514b2feff2522b5?src=pr&el=desc) will **increase** coverage by `0.94%`.
> The diff coverage is `92.03%`.


```diff
@@ Coverage Diff @@
## next #4127 +/- ##
=======================
[rubberduck-vba/Rubberduck] build for commit 108041e3 on unknown branch: 57.77% (target 0%)
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4127?src=pr&el=h1) Report
> Merging [#4127](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4127?src=pr&el=desc) into [next](https://codecov.io/gh/rubberduck-vba/Rubberduck/commit/50b8661377f33573364e11b34514b2feff2522b5?src=pr&el=desc) will **increase** coverage by `0.94%`.
> The diff coverage is `92.03%`.


```diff
@@ Coverage Diff @@
## next #4127 +/- ##
=======================
[rubberduck-vba/Rubberduck] retailcoder pushed 86 commits to next (only showing some of them below)
[rubberduck-vba/Rubberduck] BZngr pushed commit f4f4d4cc to next: Simplify overflow detection during parse
Added TypeTokenPair struct

Includes refactoring to improve code re-use and to expose parsing
exceptions in many cases where 'Tryxxx' had been used.
[rubberduck-vba/Rubberduck] BZngr pushed commit 8394fe07 to next: Merge branch 'rubberduck-vba/next' into UnreachableCaseInsp_Comments2
[rubberduck-vba/Rubberduck] BZngr pushed commit b0d47104 to next: Misc cleanup, renaming
[rubberduck-vba/Rubberduck] BZngr pushed commit 8802fccd to next: Merge branch 'rubberduck-vba/next' into UnreachableCaseInsp_Comments2
[rubberduck-vba/Rubberduck] BZngr pushed commit c30f7006 to next: Merge branch 'rubberduck-vba/next' into UnreachableCaseInsp_Comments2
[rubberduck-vba/Rubberduck] BZngr pushed commit 07bb2d06 to next: Merge branch 'rubberduck-vba/next' into UnreachableCaseInsp_Comments2
[rubberduck-vba/Rubberduck] BZngr pushed commit 0899d1df to next: Merge branch 'rubberduck-vba/next' into UnreachableCaseInsp_Comments2
[rubberduck-vba/Rubberduck] web-flow pushed commit 108041e3 to next: Merge branch 'next' into UnreachableCaseInsp_Comments2
Merge pull request #4127 from BZngr/UnreachableCaseInsp_Comments2

Unreachable Case inspection enhancements.
[rubberduck-vba/Rubberduck] build for commit 49d5bfb9 on next: AppVeyor build succeeded
[rubberduck-vba/Rubberduck] build for commit 49d5bfb9 on next: 57.77% (target 0%)
[rubberduck-vba/Rubberduck] build for commit f4f7a9d4 on unknown branch: AppVeyor build failed
BUILD FAILURE!
> A handful of DeclarationFinder tests are failing though
 
6:40 PM
0
Q: Matching characters that also delimit capture groups?

Mathieu GuindonI need to roughly identify the "tokens" in a string that may look like this: foo("bar") Or like this: foo ("bar") I have a simple regex pattern: (?<token>\S+?)(?:\s+|$) This works perfectly for the 2nd string where the tokens are clearly separated by a whitespace, but I need to be able to ...

 
7:11 PM
var regex = new Regex(@"(?<token>[\(\)""]|[\w] +)(?:\s +|$)?");
^ this works
I'm over-complicating this, I think
what I really need is just the non-whitespace character index for the caret position
"tokens" don't really matter
 
7:53 PM
Hmm why do it in regex! Why not justget back an array of tokens, then compare the relative position within a token?
 
I want to avoid involving a parser if possible
 
0
Q: Write Txt from Recordset VBA

Doug CoatsTrying to find a more efficient way of doing this. Had to write my own function because I didn't have access to Application.Index like you do in excel. The end goal was take a very large recordset and create text file in a fashhion that does not have a serious impact on the end user in terms of "...

 
8:23 PM
        public CodeString Prettify(CodeString original)
        {
            var originalCode = original.Code;
            var originalPosition = original.CaretPosition.StartColumn;
            var originalNonSpacePosition = 0;
            for (var i = 0; i < originalPosition; i++)
            {
                if (originalCode[i] != ' ')
                {
                    originalNonSpacePosition++;
                }
            }

            _module.DeleteLines(original.CaretPosition.StartLine);
^^ starting with that. writing tests...
huh
Message:   Expected: MsgBox (|
  But was:  MsgBox |(
Message:   Expected: MsgBox|
  But was:  MsgBo|x
#offbyone
        [Test]
        [Category("AutoComplete")]
        public void GivenExtraWhitespace_PrettifiedCaretStillAtSameToken()
        {
            var original = "MsgBox      (\"test|\")".ToCodeString();
            var prettified = "MsgBox (\"test\")".ToCodeString();
            var expected = "MsgBox (\"test|\")".ToCodeString();

            var module = new Mock<ICodeModule>();
            module.Setup(m => m.GetLines(original.CaretPosition)).Returns(prettified.Code);

            var sut = new CodeStringPrettifier(module.Object);
looking good, 3 tests passing
this might just be the cure SCPs needed
 
9:09 PM
1
Q: Prettifier isn't pretty

Mathieu GuindonSome context I'm implementing a self-closing pairs auto-completion feature in Rubberduck. One of the challenges is that the VBIDE API doesn't allow editing a line of code by "injecting" characters: we have to replace the entire line, and a side-effect of this is that it causes the VBE to parse/c...

 
@MathieuGuindon Are you still sure that writing your own IDE was not a better solution? :)
 
Looks like you're hacking VBE a bit :P
 
a bit bwahahaha
yeah
 
Hmm I made an userscript that does things for me, but now I'd need to leave a tab open for every page unless I find a better way :D
 
9:20 PM
since when is leaving a tab open a problem?
 
It is if I want to shutdown my PC :P
There's an API I could use... but it forbids automated usage of this feature, while the terms and conditions allow automating that feature lol
 

« first day (1569 days earlier)      last day (1611 days later) »