« first day (1786 days earlier)      last day (1394 days later) » 

12:01 AM
RELOAD!
[banane-io/PDB] 1 commit. 103 additions. 13 deletions.
[FreezePhoenix/XtraUtils] 1 opened issue.
[rubberduck-vba/Rubberduck] 16 commits. 1 opened issue. 8 issue comments. 6957 additions. 7217 deletions.
[Minesweeper] Games Played: 98, Bombs Used: 57, Moves Performed: 12817, New Users: 21
 
Home time. Enjoy the weekend pond.
 
12:23 AM
9 votes: 6 for CreateObject, 1 for "any call against Object, 2 for "no idea, really"
 
> This is why I love this RD community… I learn something virtually every time I read a post, and ALWAYS when I post a reply. Thanks to you and all who have moved me way beyond where I was a few months ago.



From: Mathieu Guindon <notifications@github.com>
Sent: Friday, April 26, 2019 5:55 PM
To: rubberduck-vba/Rubberduck <Rubberduck@noreply.github.com>
Cc: David <dgmsmiles@gmail.com>; Mention <mention@noreply.github.com>
Subject: Re: [rubberduck-vba/Rubberduck] @OptionStrict annotation (#49
2
> I think the issue here is the follwing line:
https://github.com/rubberduck-vba/Rubberduck/blob/a7a39772ed01c47e2438e42eb5621d13e663d9a1/Rubberduck.VBEEditor/SourceCodeHandling/SourceFileHandlerComponentSourceCodeHandlerAdapter.cs#L34
Here, it has been forgotten to specify `Encoding.Default`. (Probably my fault.)
 
12:39 AM
So, I'm working on .NET-based card game - OutOfMemory! Your goal is to build an app from Features which allocate Memory, you periodically need to play GC cards. You can play Span or ArrayPool cards or prank others with Memory Leak or Boxing cards! http://tooslowexception.com/outofmemory-a-nerdy-card-game-for-developers/ @dotnet
What is "late binding" in #VBA?
 
12:56 AM
@rubberduckvba Not fair. It’s true that CreateObject is the only way to apply late binding in VB, but minimize the concept to one command doesn’t explain it at all
#nope
13 votes, 69% "CreateObject"
#LetsFixTheWorld
 
:derp: there's the question
It's a variable that's of type Object. Or am I missing the blatantly obvious?
I accessed info on my HDD and did a small jump when I heard it start up. I'm spoiled by SSD's.
 
1:13 AM
@IvenBach any member call against Object is late-bound. Assigning a variable declared as Outlook.Application with CreateObject is just a very roundabout way of doing New Outlook.Application... and has not much else to do with late-binding.
 
Well, I think there are more things than calls on Object that are late-bound.
I think you get it with all extensible interfaces when you use a member that is not specified.
like ADODB.Connection
 
That is a very good point
It's worth noting that by default, interfaces are extensible. You have to explicitly decorate it with nonextensible attribute if you do not want to allow random methods.
 
@M.Doerner true
 
That's how you can do Foo.Bar in some instances even though Bar isn't publicly visible?
 
1:20 AM
However, the interfaces generated for VBA classes are never extensible.
 
Excel.Application.Whatever happily compiles
 
and that totally screams for a custom code pane with squiggle to remind that it's a unresolved method
 
It'd be nice if there were some knowledgeable AvalonEdit wizard around that knew how to do that.
 
pinging @IvenBach
 
1:25 AM
> This is why I love this RD community… I learn something virtually every time I read a post, and ALWAYS when I post a reply. Thanks to you and all who have moved me way beyond where I was a few months ago.
 
mumble :cough: mumble mumble
 
> This PR does two things:

First, it fixes the oversight that the export encoding was not specified when substituting code via a file.
ref #4906

Second, it restricts tracing of the `ComSafe` to when the compilation constant `TRACE_COM_SAFE` is specified instead of tracing it on all debug builds. This makes testing performance easier while still keeping the possibility to trace if needed for some investigation.
 
@Duga @M.Doerner wow that was fast! ....that's all accented characters needed?
 
just so I'm clear - the Encoding.Default is optional - why wasn't that also the default?
 
The default is Encoding.UTF8.
Encoding.Default is the default encoding of the OS.
 
1:36 AM
when you put it that way, it sounds very oxymoronic
I suppose their logic was that everyone should be using unicode, not some code page
 
And to achieve backwards compatibility, the windows default encoding is some codepage.
If you want to write a text file somebody else on the other side of the globe can read, better use unicode.
 
Agreed
 
@MathieuGuindon I just looked in the place with the highest chance to have an encoding issue.
 
it probably should have been named Encoding.DefaultOSCodePage rather than just Encoding.Default. After all, it's not a good default.
 
Anyway, the name Encoding.Default was a really bad choice, IMHO.
 
1:41 AM
Hi, guys! I did it!
 
where is it?
 
Hang on a sec, I'm turning debug mode off, restarting it, and creating an account for you to test it.
 
[rubberduck-vba/Rubberduck] build for commit a63a41c9 on unknown branch: AppVeyor build succeeded
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4937?src=pr&el=h1) Report
> Merging [#4937](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4937?src=pr&el=desc) into [next](https://codecov.io/gh/rubberduck-vba/Rubberduck/commit/a7a39772ed01c47e2438e42eb5621d13e663d9a1?src=pr&el=desc) will **increase** coverage by `<.01%`.
> The diff coverage is `n/a`.


```diff
@@ Coverage Diff @@
## next #4937 +/- ##
==========================
[rubberduck-vba/Rubberduck] build for commit a63a41c9 on unknown branch: 64.48% (target 0%)
 
@M.Doerner I have a quick question - don't you think the flags should be TRACE_COM_FLAG && DEBUG? IINM, if we only use custom flags, it could get left on accidentally even in a production build?
 
https://amethyst.azurewebsites.net/
Username: test
password: testers
@this @MathieuGuindon @Vogel612 @IvenBach
You guys have full admin rights, but please don't create anything on any existing pages or change any admin settings.
You may create a new page and put widgets on it and edit those widgets, but I'll take it down after a couple days (probably Sunday afternoon) when I take this account down.
 
1:47 AM
:barf: Don't trust me with admin rights. I don't even trust myself.
 
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4937?src=pr&el=h1) Report
> Merging [#4937](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4937?src=pr&el=desc) into [next](https://codecov.io/gh/rubberduck-vba/Rubberduck/commit/a7a39772ed01c47e2438e42eb5621d13e663d9a1?src=pr&el=desc) will **increase** coverage by `<.01%`.
> The diff coverage is `n/a`.


```diff
@@ Coverage Diff @@
## next #4937 +/- ##
==========================
 
@IvenBach LOL, it's a very basic site. Worst comes to worst, I'll delete all the content, reseed the site, and set up my two widgets on the home page again.
 
just so i'm clear - this is intended to be a CMS?
 
And the other two users (work users).
@this Yes.
Did I do something wrong?
 
I was trying to understand what to do with the widgets at the top on the first page but I think they are placeholders?
 
1:52 AM
@this Drag/drop :)
Sorry, that's the worst point of UI.
 
No clue how to do anything nor what it should be used for.
 
Drag/drop is extremely in-accessible, so I'm trying to figure out a really good way to replace that with buttons/modals.
You can also drag/drop widgets on a page by the headers.
That's pretty intuitive for our internal users (the main people I'm demoing to) because that's exactly how our current site works.
@IvenBach Hey, want to do a screenshare? You can be a usability study for me :)
 
ok i see now - d'n'd should create new block on the main section?
 
@this Hmm?
 
what I did was - try to d'n'd a placeholder at the top
to the main area below
nothing happened no matter where I dropped it
 
1:55 AM
You need to drop it on the parts that highlight blue.
 
i did see that 2 existing contents highlighted blue but there weren't UI feedback to whether I could drop the new widget or not
 
Oh, and create your own page if you want to add widgets, please?
That way, I can remove the page and all widgets on it from the DB, instead of picking around more.
 
sorry
 
No problem at all. You can also delete from the vertical ... on the widget :)
Don't worry, though. Just don't create 300 of them, and I can handle it just fine :)
 
fyi - saving page doesn't seem to do anything
it did - just seemed to do nothing
 
1:57 AM
Saving page? It's all automatic.
Oh, from the admin?
 
yes, when adding page
 
It's there. It just reloaded the edit page.
Use the Go Back link, and you'll see it.
You named it "ThisIsFine"
With "This" for the slug.
So, more about dnd'ing widgets.
Drop it on a widget, it goes under it.
Drop it on the top 10 pixels of the blue highlight, it goes on the top.
 
yep
 
New widgets go on the bottom always.
 
i actually named it This originally but got no UI feedback that it was saved, changed name then tried going back and realized it was there.
now, if I'm wanting to move widget around -- how?
 
1:59 AM
It reloaded that fast :D
dnd by the header bar :)
 
@Hosch250 I can.
 
sorry, not that, either.
 
So, that "reload" button and dropdown, that shows the widget with those settings.
It doesn't save it, so other users won't see it.
It's for previewing a widget to make sure it's OK before you set it in the settings (or checking older versions, or whatnot).
@this I just did. Grab it by the widget title on the purple bar.
Anywhere on the purple header should work.
Remember--drop it on a widget puts it under that one, top 10 pixels move it to the top of the section.
 
I have no problem picking it up - it's dropping that isn't happening
 
Where are you dropping?
You might just be moving it to the original location?
 
2:02 AM
for example, I tried to drag the carousel (on the bottom) to the top, on the blue highlight and on purple header of the auth (on the top)
rightnow there's only two widgets
 
Ohhh, reload the page after a drop.
(I just did one, so it might not be what you expect.)
Add/remove widgets automatically works, but copy and dnd don't refresh the positions yet.
 
gotcha - I don't expect to reload after a dnd
 
Yeah, it's on my list. Just a bit harder than add/remove, sorta.
It essentially involves a remove + add + logic that has to match the server logic.
 
gotcha. I'm sure it's already on the list but if you can improve the visual feedback for the dnd, that woudl be good
as an example, when I'm over a valid target, it should highlight or change color
to let me know that it's on target
 
I'm planning on removing it entirely and making up/down buttons and modals.
 
2:04 AM
cool
 
@this Anywhere inside the blue field is your target.
That's what I added the blue field(s) with the dashed border for.
 
I interpreted it as showing all available targets, but not the selected target
when there's two widgets, no biggie. When there's lot of stuff crammed, being able to see which block is selected helps a lot
 
Ohhhh.
 
but that's moot if you're doing away with dnd
so no sweat
 
So, the selected block is the widget.
Drop it on a widget, it will go under the widget (the sides of the widget count as on it, as does above/below for a 15 pixel margin).
The top 10 pixels are the top of the page.
But yes, I hate dnd UIs. I just haven't figured out a really useable way to do it otherwise.
 
2:07 AM
aside - why do I get a save version for widgets but not when I was in admin saving a page.
I don't blame you. I'm not a big fan of dnd, either.
 
@this Because the admins don't save versions. There's just the latest version.
 
right - so this page is user content
 
I'm thinking how to do that, but I don't really want to make all the admin screens XML in the DB because I hit them with SQL queries more.
Whereas the widget settings are more presentation data.
So storing widget instance settings as XML is no big deal.
 
silly as it may be - i kind of was hoping that either save button would take me back to the page
or at least have a back button on the page
 
@this Cool. No, it just reloads the page settings so you can see them applied.
But that would be a cool thing. A "Go to page" button/link.
 
2:10 AM
yes, the browser has it, but I'm wary because I know there are some sites that do not take to back button kindly and tell you in ALL CAPS to use html buttons to go forward/back, not browser's.
 
@this Yep. So, I don't screw with the back button. However, clicking Save does a navigation to the same page.
So, it might look weird or be a pain to use that button.
 
duh - that actually opened new tabs
 
Hence the "Go back to page admin" thing.
 
PEBKAC
 
(Are we talking about the page admin or the widget instance settings now?)
 
2:12 AM
sorry - the latter
 
Ohhh, yeah, that does the same thing--reload the page.
But yeah, that's another place I should have "go to page" button links.
 
looks like error page is default?
 
Yes :/
 
ok
 
What did you do to get that?
 
2:13 AM
i clicked on Authenticate without putting in anything. :)
I did expect that it would be an error but it shouldn't have thrown me there
 
Ohh, LOL.
Huh, that's supposed to go to the signin page again.
 
should have said something like "fill in yer username/password, MORON!"
 
Yep.
 
so i'm a bit fuzzy on the difference between widget instance settings and widget content settings.
 
I'm planning on putting that text in the widget settings, but I need to figure out how to make that support multi-lingual and have a nice UI.
 
2:14 AM
Using carousel as a example - I started w/ the instance setting
set the caption. Reloaded. Nothing happens.
 
@this The instance setting is more like metadata.
It sets stuff that are relevant to any generic widget instance.
 
hmm.
 
The caption is the title (weird that didn't work...).
 
why caption is there then if it's generic to all widgets?
 
The start/end dates define the range the widget is visible in.
@this It should let you override the purple title text.
 
2:15 AM
ok, now it worked.
 
Show header will, if you are signed out, hide the purple header bar.
I need to figure out how to show the reload button for that state still.
 
ah now I understand what happened
what I did was i changed the caption, hit enter
that should have saved but it closed the dialog
and that did not save.
 
Ohhh.
 
I had to explicitly hit the button to save, then close
 
Yeah, I need to make that a form, not just a modal with a click event handler.
 
2:18 AM
hmm. it looks like a 2nd instance of carousel doesn't persist changes
I can change caption of first carosel nop roblem
but not 2nd?
 
:(
I think it might be because you don't have a settings version for it.
Yeah, it's doing a 500.
 
right - i did not get promtped to save a setting version
 
Yeah, lots and lots of surprises and glitches.
 
so the idea is that client create their portal and put in reports for their performance and a list of items they may get if they meet X goals
right?
 
Kind of.
I've got lots of other widgets I can create.
 
2:21 AM
(this is proably too specific, though - I see that it can be more general than that)
yes
 
Ranking widgets, form widgets, etc.
At work we have shopping widgets to spend points on, but I can't really do that without getting too close to stepping on their toes.
 
Ok, so tell me why should I use yours and not use WiX or Foursquare?
 
@this Because it's mine ;)
 
lol
 
Seriously, I started it as a replacement for work's systems.
But, I got so interested in it, I'm just kind of not stopping (and still hoping it gets approved one day).
I've been learning a lot working on it.
Dev-ops things, DB design, etc.
 
2:23 AM
i think it'll be totally worth it - for an alpha it makes sense.
which is much more than what I can say about other systems like SharePoint....
or WordPress, even.
 
Thanks.
It's been a lot of fun to do--it's nice to have it be worthwhile too.
On a side note, if you like vulgar rhymes: kurtsimmons.com/humor/Humor/Poem1917.html
 
one thing I find the most irritating about WordPress is that whenever there's something missing, ok, so let's get a plugin. Oh wait, no, need to tweak some obscure config file, ok. No, wait, I need to configure the admin. oh updates' here. Ok so here. Oh theme doesn't work..... ... .... assumes fetal position
SharePoint is no different, if not worse.
 
@this I actually read that is "the most intriguing about WordPress"
 
lol. No, far from it. :)
 
@Hosch250 Would make my old man proud.
 
 
1 hour later…
3:56 AM
youtube.com/watch?v=hTuJby2_97E Very worthwhile video to get ducklings interested in astronomy.
 
 
5 hours later…
9:07 AM
> This PR is intended to lead to adressing #4794 as well as #4533 sooner or later.
For that to happen, this PR cleans up the rough edges left over by #4914.

I'm happy for this to be merged as it is, but will continue working on this branch as time permits (which won't be a lot in the next three to four weeks)
[rubberduck-vba/Rubberduck] build for commit 674ac13b on unknown branch: AppVeyor was unable to build non-mergeable pull request
BUILD FAILURE!
 
hrmm...
where's the conflict???
 
9:24 AM
@Duga Can any of the other admins make this PR non-draft?
 
9:36 AM
[rubberduck-vba/Rubberduck] build for commit 61fd569e on unknown branch: AppVeyor build succeeded
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4938?src=pr&el=h1) Report
> Merging [#4938](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4938?src=pr&el=desc) into [next](https://codecov.io/gh/rubberduck-vba/Rubberduck/commit/a7a39772ed01c47e2438e42eb5621d13e663d9a1?src=pr&el=desc) will **decrease** coverage by `0.01%`.
> The diff coverage is `26.09%`.


```diff
@@ Coverage Diff @@
## next #4938 +/- ##
=======================
[rubberduck-vba/Rubberduck] build for commit 61fd569e on unknown branch: 64.47% (target 0%)
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4938?src=pr&el=h1) Report
> Merging [#4938](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4938?src=pr&el=desc) into [next](https://codecov.io/gh/rubberduck-vba/Rubberduck/commit/a7a39772ed01c47e2438e42eb5621d13e663d9a1?src=pr&el=desc) will **decrease** coverage by `0.01%`.
> The diff coverage is `26.09%`.


```diff
@@ Coverage Diff @@
## next #4938 +/- ##
=======================
 
@Vogel612 Yes, I can.
 
that's good :)
 
However, I guess that is an admin-only thing.
 
yea, that's what I was thinking as well. Not sure whether it was an admin thing in the first place though..
 
9:51 AM
And, as always, I have to the Desktop site.
So, somebody else should probably check that people in the Contributer or Dev group cannot do it.
 
it is hard to make a mobile site have the same features as a full desktop site.
 
I know, but there are a few things, which are really annoying on mobile.
 
 
3 hours later…
1:06 PM
> I can no longer reproduce since PR #4896
However, the fix there was only a symptomatic fix. S, the underlying problem is probably still there.
 
 
4 hours later…
5:15 PM
@Vogel612 I can too.
But, TBH, I don't think that's a big issue since 1) we are using Git and can back it out easily if someone does botch it, and 2) people here aren't the type to do that on you.
 

« first day (1786 days earlier)      last day (1394 days later) »