« first day (1445 days earlier)      last day (1735 days later) » 

12:00 AM
RELOAD!
[Cardshifter/Cardshifter] 5 commits. 214 additions. 25 deletions.
[rubberduck-vba/Rubberduck] 1 closed issue. 2 issue comments.
 
 
1 hour later…
1:24 AM
@IvenBach @QHarr thanks!
 
 
3 hours later…
4:51 AM
@QHarr I have started the first book on the ebook list with thanks and it’s blowing my mind in some regard when you read another book in sequence after a different author talks about it.
Then with google bringing up several sites which I have subscribed to keep my ear on their pulse of topics found an interesting debate about progress bars which a doctor experimented the effect of time has on people....chrisharrison.net/projects/progressbars2/…
I’m sure a delay on vba won’t affect the computational time the user needs to wait. :)
 
 
2 hours later…
6:24 AM
@PeterMTaylor It is often nice to read from different authors' points of views. "Conflict if the gadfly of thought" as they say. Hopefully nothing to contradictory though :-) Thanks for the link; I shall have a mosey over to it now.
 
6:37 AM
@PeterMTaylor So interesting though very small sample sizes and distinct genderbias in size splits but no discussion of any variation by. Actually only one gender identified for first test group. Seems to make sense though.
@Vogel612 I haven't forgotten I was going to look at RD regex for my [^.] problem. Just was swamped with work and then OP questions.
 
? gadfly ? @QHarr discussion of flies or bugs now are we ? Lol.
 
p.s good morning or evening..
 
6:52 AM
Evening for me as I’m down south in Victoria Australia
Good day to you also :) @QHarr
 
7:13 AM
Never been :-( Is Victoria nice? Just noticed I typo'd "if the Gadly", not, "is the Gadfly". Oops!
 
7:41 AM
Hi folks.

So... Does anyone operate with ResXManager? I wanted to continue translating today but this happened..........
ResXManager - Standalone Version. I don't have Visual Studio installed.
+- transtalion for this would be:

App can't be neither installed or run. App needs the JetBrains.Annotations version 11.1.0.0 for it to be installed in cache GAC (Global Assembly Cache).
More information about actualization about this system found on web: github.com/tom-englert/ResXResourceManager
 
8:03 AM
I'm using it as well... it bogs down startup pretty basly
But nothing like that yet
 
8:37 AM
:-/ I translated something last week. Then Saturday and Sunday happened. Now I have opened it and this appeared...
Why computers, just why -_-
Will try that on my personal computer...
 
9:04 AM
The same problem on my personal laptop. -_-
AND my personal Computer. Okay so... what now :-/ 3 pieces of HW with different combination of software have the same problem.
 
 
1 hour later…
10:09 AM
1
Q: A rather accurate VBA stopwatch

GreedoIntro Related, related I'm trying to come up with a neat, accurate way of timing VBA code, as I'm yet to find a method to do this in VBA directly (without plugins etc.) The general idea was to create some Stopwatch class which could be initialised at the start of a test procedure, then various...

 
11:09 AM
I am back stuck on ByRef and ByVal. I was broadly sticking with If not changed then ByVal else ByRef. Then this, not @this, says objects are always passed ByRef. I have been passing ranges that aren't altered ByVal. Do I have to go back and change my answers where I do this? :Crying:
 
@QHarr I feel you. I'm doing ByVal in 99% of my code just when it doesn't work I'm changing it to ByRef :-) Well, in my case I'm trying to never modify "outside" of the procedure so I pass ByVal, do something with it and return a "new thing".
 
 
1 hour later…
12:30 PM
[rubberduck-vba/Rubberduck] bclothier [commented on Rubberduck.Core/UI/Refactorings/RemoveParameters/RemoveParametersPresenter.cs]‌​(github.com/rubberduck-vba/Rubberduck/pull/…) of pull request #4006: Splice Off Rubberduck.Refactorings from Rubberduck.Core
 
1:07 PM
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4022?src=pr&el=h1) Report
> Merging [#4022](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4022?src=pr&el=desc) into [next](https://codecov.io/gh/rubberduck-vba/Rubberduck/commit/024eecde21aeca61da2cd9d66e2dfadfe0ed2be8?src=pr&el=desc) will **increase** coverage by `<.01%`.
> The diff coverage is `100%`.


```diff
@@ Coverage Diff @@
## next #4022 +/- ##
=========================
> Thanks for the review. Definitely looks cleaner with your suggestions.
[rubberduck-vba/Rubberduck] build for commit 21c42998 on unknown branch: AppVeyor build succeeded
> # [Codecov](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4022?src=pr&el=h1) Report
> Merging [#4022](https://codecov.io/gh/rubberduck-vba/Rubberduck/pull/4022?src=pr&el=desc) into [next](https://codecov.io/gh/rubberduck-vba/Rubberduck/commit/024eecde21aeca61da2cd9d66e2dfadfe0ed2be8?src=pr&el=desc) will **decrease** coverage by `<.01%`.
> The diff coverage is `100%`.


```diff
@@ Coverage Diff @@
## next #4022 +/- ##
=========================
[rubberduck-vba/Rubberduck] build for commit 21c42998 on unknown branch: 53.81% (target 0%)
> Hi

In my install of Rubberduck, I'm not seeing labels in the Unit Test menu, making it really hard to understand how to use this feature (as a new user).

Here are my specs:
Version 2.2.6711.17170
OS: Microsoft Windows NT 6.1.7601 Service Pack 1, x64
Host Product: Microsoft Office 2010 x86
Host Version: 14.0.7177.5000
Host Executable: EXCEL.EXE

And here is a screenshot to illustrate what I'm seeing.

![image](https://user-images.githubusercontent.com/10101986/40309775-bbd9db06
 
 
2 hours later…
3:37 PM
> Thank you very much for reporting this. We are aware of this behavior and it has been documented in #4011. The resolution for it can be found in that issue, nobody has gotten to it yet. Closing as duplicate.
 
4:11 PM
I'll be hit-and-miss outside of work hours. TLDR; my gma died and I'll be assisting my old man with the funeral stuff.
 
My condolences.
 
90 plus and in declining health. Thanks.
Not unexpected, nor was it wanted, but we're practical ducks about it.
 
My sympathies, nonetheless. Expected is only marginally better than unexpected.
 
Yep.
 
4:27 PM
@IvenBach The one who got the candy?
:(
 
The same.
 
4:52 PM
@IvenBach sorry to hear, my sympathies to you & your family
 
Thanks.
 
@Duga I really need to fix this.
@QHarr the article is correct, objects aren't getting passed around, only references to objects, and ByRef/ByVal determines how that reference is passed
 
Also, I don't know VBA, but ByRef is probably significantly faster.
 
It's harder to grok because the object isn't the object variable, an object variable is itself only ever a reference to an object
 
Because it doesn't have to do a deep-copy of the object just to get passed around.
 
5:03 PM
@DainIronfootIII for some values of significantly, yes
no, there's no deep-copying going on, that's the whole point
ByVal passes a copy of the pointer
ByRef passes the pointer itself
 
Ummm, so at the end of the day, it's the same value being pointed at?
Or rather, a pointer to a pointer to an object, or something?
 
Same as in C# or any other language
 
Because in C++, it actually deep-copies the object so you can work with one and not affect the other at all.
That threw me off really hard when I switched to C#.
 
Aren't you passing pointers around in C++??
 
You don't have to.
 
5:06 PM
Ok but assuming you do then
 
I was just getting to pointers when I switched.
 
Damn C++ is a foot-shooter
 
Stroustrup ignored pointers for the first dozen chapters and focused on programming principles.
Like error handling, class design, etc.
 
So if I pass a copy of a pointer to an array outside the procedure, then manipulate the array but don't return it, that's useless operations (instead of ByRef where the Array would be manipulated) but it won't harm the memory? I just have the certainty that the base array won't be manipulated?
 
I'm no C++ expert but I believe in some circumstance it's an error to pass objects by values.
I only say that because I recall the compiler getting all pissy if I create a procedure with OBJECT as a parameter, rather than a OBJECT* parameter.
also, I wouldn't call it "deep copy"; i've always understood a deep-copy to mean it copies all private and public fields. Normally, copying a object only copies the public fields --- that's shallow.
 
5:22 PM
@this True for python too. His library has ".deepCopy" function though.
 
@this Ah, that might be correct.
I don't know.
 
TBH, I just blindly fumble around with C++ until it compiles. :p
(which is kind of scary. You totally don't want to hear that from any competent C++ programmer!)
Because many things in C++ can result in undefined behavior.
 
I'm definitely not competent in C++, but I could be reasonably competent with a year or so of practice.
 
recently I learned about ^ and % operators for managed C++. #MoreGunsToShootFootOff
 
5:38 PM
@this I really need to petition our politicians to ban C++.
 
Please don't. That'd end up putting us back on digital stone age. Like it or not, way too much software are based on C/C++. I honestly doubt that the IL assembler and other low-level stuff of .NET stuff is written in any .NET language but C++.
can't live w/o them. can't live w/ them.
 
@this That's the whole joke.
It will be impossible to enforce, and they'll be the laughingstock of the world.
 
@MathieuGuindon I've got a problem with translation... :-/ You wasn't here when I mentioned this. And I don't know what to do, tried that on 3 different machines, downloaded the standalone ResXManager again, which is just web executable thingie but the result is the same...
10 hours ago, by Son Goku ssj4
Hi folks.

So... Does anyone operate with ResXManager? I wanted to continue translating today but this happened..........
 
@SonGokussj4 You may need to install R#.
 
5:49 PM
No, that's just R
You'll find it listed under JetBrains Resharper.
 
So I read Visual Studio Extension
Do I need to have installed Visual Studio?
 
Probably.
 
Ahh..... That could be a problem at work :-/
 
Is there a way to programmatically call a method on a predeclared id class? For example, if class Foo has method Bar something equivalent to Application.Run("Foo.Bar") ?
 
uh, i don't think ResXManager depends on R#... that'd be strange.
Not that I'd know, since never used it.
@robodude666 the closest thing would be VBA.CallByName Foo, "Bar"
 
5:54 PM
@this Well it didn't... I was using it just fine till friday or so... And now the Error window and that's it :-(
 
what if you dont have a reference to Foo?
e.g. you have a string ClassName = "Foo"
 
TBH, i have no idea, @SonGokussj4 sorry
@robodude666 it's a predeclaredid class, so it'd be silly?
for those that's not.... well, #YerScrewed
 
@SonGokussj4 Did it update itself?
 
most likely you need to have a collection that provides a instance you want
e.g. VBA.CallByName SomeCollectionOfFoo("Foo"), "Bar"
 
Trying to do a MakeAnInstanceOf("Foo") which would call Foo.Create().
 
5:57 PM
then, VBA.CallByName, Foo, "Create" should work, no?
 
hmmm.
 
because Foo is predeclaredid, so you don't need a reference.
just use the predeclared reference, no?
 
@DainIronfootIII It's a web executable. I don't think I have any control about it's update. It just shows this window
Then the window with Cache Error
 
@SonGokussj4 maybe try and run this with administrator?
 
@this in my particular case, Foo is only accessible as a string and can be one of N classes that have a predeclaredid.
 
5:58 PM
(Translation: Running Application - Checking for application requirements")
Will try.
 
> RD version info:
Version 2.2.6693.19208
OS: Microsoft Windows NT 6.1.7601 Service Pack 1, x64
Host Product: 2007 Microsoft Office system x86
Host Version: 12.0.6735.5000
Host Executable: MSACCESS.EXE

VBA IDE version info:
Microsoft Visual Basic 6.5
Version 1057
VBA: Retail 6.5.1057
Forms3: 12.0.6723.500

I've been having a problem where the Access 2007 Navigation Pane does not update when new items are created in the database. I've narrowed the problem down to Rubberduck. To be c
 
I want to avoid creating a select statement, and I was hoping to avoid calls to CodeModule to insert code
 
@robodude666 not without some black magic.
 
Figured as much :(.
is there any way of making CodeModule code manipulation not prevent the debugger from working?
 
6:01 PM
why should it? This is a build-time concern, not compile-time concern.
e.g. rebuild the Select only when you need it
 
I noticed anytime I insert code any breakpoints after dont work
or give an error saying i cant debug now
 
then run the code normally.
that's only during the codemodule modifications.
but once it has ran, and a new call stack, you can debug again
hence, if you isolate the code rewriting in its own private function and only call when you actually need to update the select, then you can debug for 90% of time when you need it.
 
but that requires effort, but fair enough.
 
FWIW, that kind of function should be made private and never directly called by other code, not even by other code within same module.
 
hmm.
 
6:05 PM
I don't see the Select code needing to be modified often anyway.
 
wait; if its private and not called by other code in the same module who would call it then?
 
you would.
it's meant to be called manually.
 
but its private?
 
yeah means only way to run it is to put the cursor in it, click the green "Run" button
 
@Duga wtf, how is that even possible?
 
6:06 PM
but in all other circumstances, it's unreachable.
 
oh by "that kind of function" you mean the code generation one?
 
yes.
it's just the belts'n'suspenders in me talking
 
but the function that has the select statements would be public?
 
running code-modifying code in production just doesn't feel right.
Yes it would be
since for its purpose it's not changing.
 
i hate vba sometimes.
 
6:09 PM
in OASIS (plugin for Access), there's options to run procedures as part of "build".
so you'd probably want to have your code generation stuff in a "build" module(s?) so that when you need to distribute a new version, it'll update the stuff.
Come to think of it, it wouldn't be too hard for RD to support this kind of functionality, esp. with the typelib api exposing the ability to run code.
 
@this you got a repro on #4024 in Access?
 
i don't have 2007 (actually I do, just not handy ATM)
i'll see RE: 2010
 
ok
I can't imagine a reason we'd be interfering in host app functionality in any way
 
@this thanks!
 
So it can't be run as Administrator. Weirdly enough. But when I tried that on Laptop, it said "install" and then there was another Error windows telling me "JetBrains Annotations 11.1.0 has to be installed" so I googled and maybe for something like NuGet it can be downloaded.

Either way, I think, bye bye translations as work.... :-/ Or is there some other way?
 
6:20 PM
Manually?
 
6:31 PM
@SonGokussj4 @MathieuGuindon / @Vogel612 ?
 
ResX manager as standalone app or as VS plugin?
 
Vogel wrote a tool to help.
As did I, but mine isn't as good.
 
Vogel's tool would work, but only one "pair" of files at a time
TBH I happily used it to translate RD until recently
But if ResX manager works, use it instead
 
 
1 hour later…
7:44 PM
ResX manager as standalone app - doesn't work. For a few days I could count on one hand fingers.
So I downloaded this: github.com/Vogel612/TranslationHelper and can't seem to figure out how to run it? (I've only double clicked on everything - gradlew.bat downloaded something and created .jar thingie that does nothing when I dbl click on it).
 
8:14 PM
So on my Personal Computer I've finally installed Visual Studio... With Nuget. And because ResXManager needs annotations, I've found HERE: nuget.org/packages/JetBrains.Annotations/11.1.0 how to install them
Which I did after opening Nuget console and this happens...
Too many things I don't have experience with. VS for the first time, don't know what is Nuget, don"t know what are those annotations, don't know if I have what I need in VS, this gets to my head really fast... Just want to translate like a week ago :-/
 
 
1 hour later…
9:18 PM
@SonGokussj4 Install this: marketplace.visualstudio.com/…
Let me know if it works, or still complains.
Then you open VS, right-click a .resx file, and choose the Open in Resx Manager option.
 
@IvenBach sorry to hear the news too. Our thoughts for you and your family.
 
I should really write a blog post on errors.
A) Programming errors that are the programmer's fault (off-by-one, etc.)
B) User error (invalid input) that the programmer needs to handle
C) System error that aren't anyone's problem that the programmer needs to handle (often by not handling it)
A) The programmer writes code without errors and throws a variety of unit tests at it to make sure it works
B) The programmer writes code to handle those errors in whatever way the specs specify, and throws a variety of tests against it to make sure it is implemented to spec
C) Same as B, except you probably can't test it very easily (see the questions on SO about how to reliably crash certain devices)
 
@PeterMTaylor Thanks.
 
9:48 PM
Has anyone here ever used Crystal Reports before?
 
10:29 PM
For B), I would throw in: the programmer writes tests that produce any kind of illegal/malicious input the programmer can think of and makes sure nothing breaks down.
 
 
1 hour later…
11:45 PM
@IvenBach I use SSRS, Crystal was bought by SAP at one point, and no longer comes with Visual Studio (used to be the de-facto report authoring tool in VB6 times)
SSDT/BIDS can do pretty much everything Crystal does, and more
AFAIK anyway.. Sage has a few native Crystal Reports reports, but when they don't do what we need them to do then I get to redo them on SSRS
 

« first day (1445 days earlier)      last day (1735 days later) »