« first day (1820 days earlier)      last day (1360 days later) » 

12:01 AM
RELOAD!
[banane-io/pdb-frontend] 12 commits. 2130 additions. 704 deletions.
[Zomis/minesweeper-core] 1 commit. 1 addition. 1 deletion.
[Zomis/minesweeper-server] 1 commit. 198 additions. 42 deletions.
[Minesweeper] Games Played: 101, Bombs Used: 77, Moves Performed: 13294, New Users: 24
 
the problem is: we is currently something somewhat excluding me :/
I'm away from my Windows machine this week again
not that it'd be terribly useful.
 
12:38 AM
It's on me though. I suck at monthly releases... I'd postpone releasing until every little bug is fixed! ...and yet I haven't committed to RD in what feels like ages, and work gets in the way, and I still need to write that book, ...and on a related note, did Max burn out?
I mean, he's been away for a while, I hope he's doing fine
 
12:53 AM
Home time.
</iven>
 
 
1 hour later…
2:56 AM
My pedantry has strengthened to the point where seeing the following code makes me want to scream "CORRECT YOUR SUB NAME! IT'S NOT DELETING ANYTHING"
Sub DeleteNonActiveWorksheets()
    Dim ws As Worksheet
    For Each ws In ThisWorkbook.Worksheets
        If ws.Name <> ThisWorkbook.ActiveSheet.Name Then
            ws.Visible = xlSheetHidden
        End If
    Next ws
End Sub
I don't know if the extra knowledge from the pond is a blessing or a curse... I thought it was the former. Maybe later I'll consider it a latter.
 
@IvenBach lol!
:+1:
 
Channel your inner Inigo Montoya, @IvenBach.
 
3:15 AM
I still can’t yet compare to the throbbing vein in Mugs neck. Maybe given a few more years experience.
 
3:29 AM
You make progress on you harmonica mug?
 
somewhat
Pachelbel Canon in D, lately :)
 
Just heard of Larry Adler and reminded me of you playing.
 
expands ~2000 inspections
crashes
 
TBH the inspections TW largely contributes to my being reluctant to green-release
 
yeah. I was only trying to look at only one module, not the entire set
so I guess that'd be a critical bug to fix to make it a new release.
 
3:48 AM
> **What**

Given the following code:
```vb
Dim x As Something
Dim y As IOtherThing

Set x = New Something
Set y = x 'Uh oh, SomeThing doesn't implement IOtherThing
```

It will compile but blow up with a runtime error. In this context, the `Something` is a VBA class, and there is absolutely no reason why we can't statically infer whether the cast is valid or not, since a class would have to have a `Implements IOtherThing` in its definition.

**Why**

As codebase grows and number
 
@Duga love it!
 
yeah it was bothering the snot out of me that VBA compiler derps over it
 
 
1 hour later…
5:11 AM
@Duga Good idea.
 
Added ' around Implements.
 
> Removed `DateTime`-based `Random` seeding; added download breakdown:

![image](https://user-images.githubusercontent.com/5751684/58683476-8db46200-8342-11e9-88e4-1e6aac3781e3.png)
[rubberduck-vba/RubberduckWeb] retailcoder pushed commit e448d6c1 to master: update download metadata, tweak inspections list page, etc.
[rubberduck-vba/RubberduckWeb] retailcoder pushed commit ebec1b6b to master: merge with conflicts
[rubberduck-vba/RubberduckWeb] retailcoder pushed commit f7b40ee0 to master: Merge branch 'main'
Merge pull request #67 from retailcoder/master

Make inspections list columns 50-50 split, home page tweaks
 
@Duga deployed & initializing
live
 
 
2 hours later…
7:28 AM
\o
Is it just me or with very latest pre-release is indenting only working at project (not module) level? I searched the open issues and didn't find anything.
 
7:58 AM
> I am very much in favor of this inspection as this has bitten me so many times already.

The implementation should not be too hard as long as we restrict the inspection to the assignment of variables only.

A future follow up could be to extend it to the handling of arbitrary expressions on the RHS. However, that will require to implement expression type evaluation.

Just one subtle point. This inspection will also flag a case that does not cause a runtime error: assigning a variable th
> Thinking about it a bit more, excluding downcast from the results just requires checking the class inheritance the other way around.
 
8:36 AM
@MathieuGuindon I am not burned out, just very busy at work... and started to play Witcher 3.
 
 
2 hours later…
11:03 AM
> I don't know if this information could be useful:
version 2.3 had the same problem while 2.2 does work properly.
> Hitting the "main" refresh button doesn't resolve the issue.
After clicking it, I read on this button "Starting", then "Loading reference", "Resolving reference" and finally it display again "Ready" but in the Code Inspection window the error remain the same.
 
11:27 AM
Yesterday was such a fun day. Busy as all get out putting out fires, didn't get a thing done I wanted needed to. -_-
 
11:59 AM
I have similar days all the time. However, not because so many fires need putting out but because I am forced to attend so many meetings.
 
12:10 PM
@M.Doerner good to hear!
 
ahh meetings... the most accepted way of wasting humungous amounts of time and productivity
8
 
12:38 PM
@Vogel612 don't forget about the wasted money, too!
 
1:16 PM
@TweetingDuck Just official releases.
But then, RD does preview releases far more extensively than most projects.
 
1:40 PM
@Hosch250 seen the new home page? dodges the issue ;-)
 
Yes.
It's nice :)
 
2:14 PM
vba is wierd
so my co-worker and i built this class that generates forms for us, right now its pretty bare bones, but it formats them, and adds in the appropriate tags based on field information
then there was a portion of the code where we would create a new form if we didnt find an existing form, based on what ive talked to you guys about, in a lot of cases, it may be better to OERM through if the form exists vs iterating through the collection till you find it, if it exists.
so i built some testing to see which was better
if there are no forms in hte collection, the very first form causes a huge slowdown on hte first test, then the rest of them normalize
so i put in like 10 forms and ran it again, that fixed the huge slowdown skewing the results, but each time i ran the test set, the time it took was roughly the same
i figured at that point, that i would need more forms in the form collection to REALLY see a difference, so i got mean, and generated 500 forms. now the differences maybe 3s or less when hte total was ~36.7s and ~39.1s
i really thought that it would be more of a difference between the two methods
though thats an aggragate of both methods of opening a form, one where it exists and one where it doesnt
500 forms felt extreme, but for how many forms were there... it didnt feel like much of a difference
im going to run the test battery 2 more times
see if things change
or vary
 
If the forms collection is implemented based on a list, like the Collection, it is not surprising to see next to no difference in performance.
 
2:33 PM
i honestly dont know
i just figured that 490 forms more would be significant
especially since a lot of functions get more sluggish that deal with forms
cuz the overall time for the tests to execute went up with the number of forms
it just didnt make that much of a difference between finding them
i also had a set at 100 forms
and the total time difference between 100 forms and 500 forms is about 30s
 
3:04 PM
0
Q: VBA code to underline numbers in the header takes significant time and sometimes crashes excel

CyrilBackground: For several of my workbooks I run Overview sheets with charts in them. When printing the Overview sheet, I put my workbook name as header, where the workbook name includes the criteria for the generating the source data (e.g., date range and time stamp plus non-numeric strings). To...

 
3:37 PM
        Task.WaitAll(Enumerable.Range(1, pages)
            .Select(async page => await _request.RequestItemsAsync(args, ShopifyAPI.MaxItems, page)
                .ContinueWith(async t => await SaveEntitiesAsync(t.Result.Items)))
            .ToArray());
why is this returning immediately and not waiting like I'm telling it to?
 
you're missing an await
 
19
A: Task.WaitAll not waiting for task to complete

i3arnonYou should avoid using Task.Factory.StartNew with async-await. You should use Task.Run instead. An async method returns a Task<T>, an async delegate does as well. Task.Factory.StartNew also returns a Task<T>, where its result is the result of the delegate parameter. So when used together it retu...

or an Unwrap?
@Vogel612 you mean await Task.WhenAll instead of Task.WaitAll?
 
right..
right... the issue is that you're awaiting the ContinueWith call finishing.
which is near-instant
 
yeah
so my entry point exits when I have a bunch of HTTP requests flying, and SQL stored procedures running
..and not half the data in
 
yea, that sounds bad.
 
3:44 PM
you see what I'm trying to do?
basically I need the entry point to just wait for everything to complete
but I need the inner tasks to run asynchronous so that they can all run, well, asynchronously
quickly losing track of what needs to be awaited
 
you're either going to need a countdown latch for each task to check in with or some other synchronization mechanism unless you can unwrap the tasks...
 
        await Task.WhenAll(tasks.Select(t => t.Unwrap()));
going to try that
 
4:22 PM
Works =)
 
 
2 hours later…
6:42 PM
well that was unexpected:
33
A: await await vs Unwrap()

Leonid VasilevUnwrap() creates a new task instance that represent whole operation on each call. In contrast to await task created in such a way is differ from original inner task. See the Unwrap() docs, and consider the following code: private async static Task Foo() { Task<Task<int>> barMarker = Bar(); ...

╔══════════════════╦═══════════════════════╦═════════════════╗
║ Version          ║ Inclusive Allocations ║ Inclusive Bytes ║
╠══════════════════╬═══════════════════════╬═════════════════╣
║ await await      ║ 761                   ║ 30568           ║
║ await + Unwrap() ║ 100633                ║ 8025408         ║
╚══════════════════╩═══════════════════════╩═════════════════╝
 
@MathieuGuindon that they couldn't align their ASCII table?
 
@MathieuGuindon I almost suggested that above.
But I figured unwrap would essentially be the same.
 
7:04 PM
For some values of essentially
 
Obviously :)
You can await as many times as you have tasks, really.
And await is usually the best method of waiting for a task to complete.
 
7:21 PM
CountOfCoworkersWalkingIntoNewlyInstalledGlassDoorOfficeWalls++;
9
 
Got a new hire?
 
@IvenBach I can hear the sound from here!
 
Ohhhh, glass walls???
Why....
 
y knott?
 
Well, I guess it must be highly amusing, if you are aware enough to NOT do it...
 
7:23 PM
Eventually someone's going to walk through it.
 
@this Won't be me.
:D
 
8:14 PM
@Hosch250 downstairs renovation after purchase. Glass wall office on only the entry wall.
@this A couple employees are massive enough to do just that. Or should I say have enough mass?
Either way I believe frosting will eventually be applied as a precaution.
 
Hopefully sooner than later.
Frosting is mucho cheapo than worker's comp
 
@IvenBach Speed would do it too :)
 
8:40 PM
Haha.
 
LOOK AT ME! I AM WALKING FAST BECAUSE I AM BUSY AND VERY IMPOR --- shatters --- dies
 
I’m still tempted to write in dry erase marker “I am not a door” for a double play on words.
 
Nah. Let them bump in it, take a picture and put it on the fail blog
I'm sure they'll love being made into a meme
 
Accounting coworker was laughing at herself when it happened.
I’ve already blue taped them as a precaution.
Make sure there’s toilet paper when you move into a new office/home/whatnot. One of DearOldDads lessons I never had to learn the hard way.
 
8:56 PM
@IvenBach LOL.
 
He’s a smart man. Rough around the edges and filled with wisdom.
 
9:43 PM
fml, it didn't work. made everything synchronous, works like a charm. todo: wrap my head around nested tasks.
ttgh
 
10:08 PM
> I am creating a class to take a collection of things and turn that collection into an array that mirrors the collection. The ultimate intent is to have a collection, transform it into an array that can then be dropped onto an Excel sheet, sort it, get the sorted array back and then convert that sorted array into a sorted collection.
So, step 1> write a test to compare a prepopulated array (ExpectedResult) to a return array (result) from the class that derives the result from an initial collec
 
10:42 PM
> If the function is declared to return a `Variant` but doesn't *actually* return anything, what `Assert.SequenceEquals` receives is a `Variant/Empty`... which isn't an array, hence the error message: `Assert.SequenceEquals` expects arrays, and throws an error when it's not getting them - that is by design, and expected behavior.

> *so it is expected to fail at this point until I actually write something to do the work.*

Not sure I understand what the problem is then - isn't the test faili
> Maybe we need to handle `Variant/Empty` and report it as such, with a more specific `Inconclusive` message? The adjustment would have to be made here:

https://github.com/rubberduck-vba/Rubberduck/blob/bdef13f0747fcb0278978337d33354e2914d7e96/Rubberduck.Main/ComClientLibrary/UnitTesting/AssertClass.cs#L381-L417
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4535?src=pr&el=h1) Report
> Merging [#4535](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4535?src=pr&el=desc) into [next](https://codecov.io/gh/rubberduck-vba/Rubberduck/commit/bdef13f0747fcb0278978337d33354e2914d7e96?src=pr&el=desc) will **increase** coverage by `0.04%`.
> The diff coverage is `63.25%`.


```diff
@@ Coverage Diff @@
## next #4535 +/- ##
=========================
 
Delicious. Have my monitors set back up.
 
@MathieuGuindon Did you have a look at the video of Mark Semans's talk?
 
10:59 PM
Not yet, no
 
11:12 PM
One part of it touches awaiting things returning async tasks.
 
[rubberduck-vba/Rubberduck] build for commit 6a23b640 on unknown branch: AppVeyor build succeeded
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4535?src=pr&el=h1) Report
> Merging [#4535](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4535?src=pr&el=desc) into [next](https://codecov.io/gh/rubberduck-vba/Rubberduck/commit/bdef13f0747fcb0278978337d33354e2914d7e96?src=pr&el=desc) will **decrease** coverage by `0.13%`.
> The diff coverage is `63.25%`.


```diff
@@ Coverage Diff @@
## next #4535 +/- ##
=======================
[rubberduck-vba/Rubberduck] build for commit 6a23b640 on unknown branch: 64.23% (target 0%)
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4535?src=pr&el=h1) Report
> Merging [#4535](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4535?src=pr&el=desc) into [next](https://codecov.io/gh/rubberduck-vba/Rubberduck/commit/bdef13f0747fcb0278978337d33354e2914d7e96?src=pr&el=desc) will **decrease** coverage by `0.13%`.
> The diff coverage is `63.25%`.


```diff
@@ Coverage Diff @@
## next #4535 +/- ##
=======================
 

« first day (1820 days earlier)      last day (1360 days later) »