« first day (283 days earlier)      last day (2897 days later) » 
00:00 - 20:0020:00 - 00:00

00:00
[retailcoder/Rubberduck] 1 opened issue. 1 closed issue. 5 issue comments.
[Zomis/Fighting] 3 commits. 1 opened issue.
00:59
1>Building COM .NET Interop information for components
1>Searching project for extract-at-build components...
1>Extracting COM data from 2 component(s)
1>ISEXP : warning : -4354: The build was unable to extract COM information from the file C:\Users\Mathieu\Source\Repos\Rubberduck\RetailCoder.VBE\bin\Release64\Rubberduck.dll in component Rubberduck.Primary_output1. Please ensure that the file is self-registering and verify that the self-registration process does not fail.
1>New Registry Entries (48) dynamically acquired for component Rubberduck.tlb
01:12
Have I ever said how awesome unit tests is?
in VBA?
lol
I wish unit tests made COM registration on x64 a freakin' breeze
@Mat'sMug you really think I would code VBA?
still having x64 problems?
yeah
it's not funny anymore
has such problems ever been funny?
when they're caused by a typo, they can be
01:21
true that
gotta love the informative error messages
it's a registration issue
but I don't know what's wrong with it
did you say that you got the debug version to work?
@Mat'sMug that looks like the output properties to me. No time right now though.
01:31
:(
@SimonAndréForsberg yes!!
@RubberDuck output properties?
@Mat'sMug so something is different from the debug version and the release version. List all those things, what is different?
the way the dll gets registered...
anything else? (quack quack)
hi @Jeeped!
@Mat'sMug - hi back. just poking my head in to see what's up of late.
01:39
eh, wasted 2-3 days trying to get a x64 Rubberduck installer to work... still not working.
02:02
uh, wtf?
I borked regasm.exe???
#FML
#WhyMe
02:20
> I can get Office 2010 x64 to run through the VS2013 debugger, but no luck getting it to work off an installer. The minute I get an installer to correctly register Rubberduck, 1.21 x64 gets released. @ckuhn203 as much as I'd like to release both x86 and x64 at the same time, I'm starting to think the x86 build should be released ASAP; we shouldn't penalize 32-bit Office users because we're (I'm) struggling with the x64 build...
02:43
> I have a solid repro on this one. From the output window (debug/x64): A first chance exception of type 'Rubberduck.VBA.WalkerCancelledException' occurred in Rubberduck.dll A first chance exception of type 'Rubberduck.VBA.WalkerCancelledException' occurred in Rubberduck.dll A first chance exception of type 'Rubberduck.VBA.WalkerCancelledException' occurred in Rubberduck.dll The thread 0x16a8 has exited with code 259 (0x103). The thread 0x3e0 has exited with code 259 (0x103). The thread...
0x104c has exited with code 259 (0x103). The thread 0x1754 has exited with code 259 (0x103). The thread 0x140c has exited with code 259 (0x103). The program '[3792] EXCEL.EXE' has exited with code -1073741819 (0xc0000005) 'Access violation'.
02:57
Fed up. regasm.exe works from admin cmd prompt, but not from post-build events. Better: I can run x64 off the Debug configuration, no need for a Debug64, and no need to even run regasm.exe on x64 debug build - it just works. But then the installer just doesn't want to hear it. Off to bed.
 
5 hours later…
07:32
0
Q: Need help in optimizing my code

Sunil bhagavathCan anyone help me optimize the current VBA code below. It is taking 20 seconds currently to collect,store, check and validate 1000 data's. Option Explicit Public s, c, r2, r, i, j, k, i3, i1, i2, r1, j1, j2, i4, r3, sum As Long Public wh As String Public ws, wd As Worksheet Public Declare Funct...

 
2 hours later…
09:14
You need to worry about making your code maintainable before you worry about making it fast. — RubberDuck 46 secs ago
 
1 hour later…
10:19
@Mat'sMug Last resort: Stack Overflow ?
2
 
1 hour later…
11:33
Irony: .
We got
....64 downloads
2
@SimonAndréForsberg Likely
Monking Mug. Sorry I went MIA yesterday.
@Mat'sMug Yeah. The output file's properties. It looks like the com data isn't being extracted.
It's also possible that we should be using the 32 bit version of libgit2 regardless of the bitness of Office.
Poor soul @ticker.
-2
Q: How to Compile Visual Basic 6 code in Visual Studio

Avinash SinghI have a project of Visual Basic 6.0, in that I have some code changes. for that I need Old Visual Basic 6.0 IDE that I don't have. So anybody can me tell me that, Is that possible to compile that VB 6.0 code in Visual Studio 2010 and later and how. Or Where i can get the Visual Basic 6.0 IDE ...

12:03
The VB6 IDE is available through an MSDN subscription. — Hans Passant 11 mins ago
Yeah. So you get it for free after spending $12K on a MSDN subscription
@RubberDuck From the output/logs, it seems so. But whatever I do doesn't fix it..
Do you actually see it say "Extracting COM data from 2 components" when you build?
Yes, and I see one fail to do so
Ahhhhh. That's a good start. Do you know what fails?
Wait.... I think you posted it earlier.
11 hours ago, by Mat's Mug
1>Building COM .NET Interop information for components
1>Searching project for extract-at-build components...
1>Extracting COM data from 2 component(s)
1>ISEXP : warning : -4354: The build was unable to extract COM information from the file C:\Users\Mathieu\Source\Repos\Rubberduck\RetailCoder.VBE\bin\Release64\Rubberduck.dll in component Rubberduck.Primary_output1. Please ensure that the file is self-registering and verify that the self-registration process does not fail.
1>New Registry Entries (48) dynamically acquired for component Rubberduck.tlb
Yeah that
Hmmm...
And the properties look just like that ^?
Yeah. I know I know. I"ve asked that 3 times...
12:10
Yup
Just rubberducking here.
Well..... shite....
Okay. I'm gonna take a shot at it at lunch and email you the setup.exe.
@RubberDuck 32-bit?
I can build it. I've just no way to test it.
12:43
@RubberDuck If that build works...
@Mat'sMug Cross your fingers.
I even ran regasm /regfile and imported the .reg into the installer.. not cutting it.
but then, I couldn't get the installer to NOT try to register it itself
13:31
@StackExchange I am actually offended by that code.
13:43
I have a vested interest, but I suggest you check out rubberduck-vba.com, download the latest version (1.21 is on its way), and run code inspections (and apply quick-fixes), and then use the extract method refactoring to address all the method extractions @RubberDuck is suggesting in his answer. Note that both he & I are devs on that open-source project. — Mat's Mug 1 min ago
14:01
Good afternoon Duck!
Bon après-midi Mug!
bonjour/hi!
Comment ça va?
ça irait mieux si j'avais réussi à faire fonctionner le setup installer pour Rubberduck 1.21 x64 cette fin de semaine
:(
Quel hazard! Je viens de le télécharger sur cette machine.
> 65 downloads
youppi!
14:06
Au bout de 5 à 10 ans, tout le monde se mettera à utiliser le x64. x86 sera de l'histoire.
pas si Microsoft continue de rendre impossible le déploiement d'applications x64...
est-ce que Rubberduck fonctionne sur ta machine?
Attends, l'installation n'est pas finalisée.
c'est quoi ton environnement?
Windows 7 Pro, 32-bits
Je bosse que avec des windows.
cool, 32-bit devrait fonctionner nickel
14:11
Ouep
(à part les bogues qu'on corrige dans 1.21)
(et ceux qu'on n'a pas encore corrigé) .. ;)
C'est chargé automatiquement depuis le démarrage
j'ai tellement hâte de déployer 1.21...
si tu voyais comment le Code Explorer a évolué!
Prenez-moi pour un débutant
perhaps we should switch to English, only @Phrancis can understand the chat right now :)
14:14
vous devez obligatoirement avoir une documentation qui accompagne l'installation
Yeah sure
like a user manual?
I'm a polyglot. No worries ;)
Sure. A user manual for the novices.
we put a lot of effort in our wiki
all code inspections are documented separately: github.com/retailcoder/Rubberduck/wiki/Code-Inspections
but yeah a PDF document would be nice, too
note taken... for v1.3
Well. That's great. All the software companies have this convention of giving the installing user the option of taking a walk-through tutorial just the first install.
Something like checkbox (First-timer? Would you like us to take through the first steps of using Rubber Duck) control in the last step of the installation.
or we could do it à la ReSharper and have a "Quick Tips" dialog
14:21
Quick Tips dialog is something for an everyday use. I'm talking about someone who has never used Rubberduck and who is starting out to learn VBA.
@JLILIAmen A complete freshman should just sit down and read the wiki. Integrating step by step instructions into the rubber duck program is too much
I would say an image pointing to where Rubberduck is on the menu bar and a link to the GitHub wiki should be enough for now.
the Rubberduck menu should be noticeable just before the "Window" menu
Hm. A Walkthrough should never be comprehensive otherwise there is no point in github wiki.
but I like the idea of packaging a PDF user guide
our users may land onto our download page and never venture into the depths of our github repo
Link to the wiki from the installer?
14:28
I think Mug's idea is cool.
@cheezsteak yeah, on the "Installation complete" page. and then add a link in the start menu, too
Monking
@RubberDuck ^^
hey
I might be able to help with the PDF user guide.
This was just posted by a coworker of mine: stackoverflow.com/questions/29079316/…
14:30
@cheezsteak: do you ever consider the possibility of people installing rubberduck offline?
Holy carp. 46 messages while I was gone.
@JLILIAmen rare but possible.
They would need a internet connection to get rubberduck.
Rubberduck is now portable!
but many people stuck with VBA might be websensed'
@Mat'sMug Yeah. I like that. Link to the wiki from the installer completed. Maybe in the "About" dialog too Mug.
14:33
good idea
@JLILIAmen That's a really good point. Makes me think we should package a PDF with the installer.
Exactly.
@RubberDuck that gives us a good reason to add a "Rubberduck" folder in the users' start menu :)
Anybody writing this down, I actually really need to work today.
Where do I write it?
lol
14:37
Github issue
Should the PDF documentation be separate from the wiki or a translation?
Separate. Put it to a vote! @cheezsteak
> Not everyone downloading Rubberduck may venture into the depths of our GitHub repository, or even have Internet access on the computer they installed it on (use case: download setup.exe, copy to USB key, install on no-internet computer).

- [ ] Write a user manual
- [ ] Package it with the install, in PDF format
- [ ] Add shortcut to it in the start menu, under a "Rubberduck VBA" folder
- [ ] While we're at it, add a shortcut to http://www.rubberduck-vba.com next to it
> @retailcoder That looks good. I haven't had time to get the project set up locally to build from source, so I'll wait for the next release to check it out. Thanks for incorporating my feedback!
2
14:40
@Duga Okay okay. I'll get a new installer done today...
> @mwolfe02 1.21 is done. We just need to build & package the installer. We will announce on rubberduck-vba.com/news.html once it's realeased. Thanks again for the great feedback.
@Mat'sMug: Is there a French translation for Rubberduck?
oh good point.
My VBA IDE is in French so...
It confuses me a lot.
You can add a language check of the office (Not the Windows) to the Installer.
there's more than that that needs to be done to localize the app
14:46
I think it's can be done if you can retrieve registry keys.
There must be something there about the installed office suite language.
> Rubberduck is currently {en-US}, often with hard-coded strings.

Let's prepare Rubberduck for localization, and MOVE ALL THE STRINGS to resource files.

Then we can translate these strings and have Rubberduck be displayed in the same language as our users' IDE.
It's all in UTF-16, right?
Lovely.
^^ Japanese here
14:48
I'll be more happy to provide you with the Spanish and the Arabic translation.
3
awesome!!
No problem, pas de problème, sin problema, من غير مشكل
^^ Related to colleague's issues (from the result set) looks almost like it's filtering dates as alpha ...?
You should consider an artistic career. Your WTF graffiti shows a lot of talent.
2
14:51
@Phrancis is an artist! :D
@JLILIAmen Très drôle / Very funny :p
Je sais.
;)
@JLILIAmen Gonna hold you to that.
Hold me?
I don't like hugs.
14:59
> 1.3 might be a bit ambitious. I don't think the free version of install shield we're using can handle this. So, this will not only require a significant re-factoring, but we'll also need to move to a WiX installer. I'm not ruling it out for that version or arguing against it. Just hedging my bets on the timeline.
@RubberDuck it's much easier than that. The installer might be all-english, but the app itself can easily detect and adjust to the user's environment.
And with R# you can just right-click any string and select "move to resource file" ;)
I think the installer has its localisation already sorted out.
Does it??
When I installed it, I think the installer was in French.
Right? InstallShield detects the locale language.
interesting
15:05
I said, I think.
lol
if it supports it, I can make a French version
No. I'm wrong.
worst-case, {en-US} installer and localized Rubberduck!
But this is a very basic feature, surely Installshield has it somewhere.
I understand you mug. Moreover, I agree with you.
BTW, I am NOT translating the GPL3 license ;)
15:08
hahaha
I think there are translations out there in the web, we can use one.
Better make your own license. That'll be neat.
nope. we have to use GPL3. legalese stuff that can bite us in the butt if we don't comply ;)
Yea. Since no one here is well-rounded in law, GPL3 would be great.
SELECT DateTest
FROM Table1
WHERE DateTest>=#3/1/2015# And DateTest<#3/8/2015#
ORDER BY DateTest ASC
^^ No repro the date error using Access SQL... may be a weird VBA type conversion issue?
Umm yes and no. I guess we could package them all into the same app. I thought best practice was to add optional language packs???
Phrancis? Check your quotes and your connection string?
Here's a very stupid question and fundamental question? How do you open the code explorer window?
15:15
@RubberDuck add > project output > Rubberduck.dll > Localized resources
that will create folders for each supported language under the install folder
Okay. I must have been mistaken then.
how did u create that?
15:24
I love this guy
> Perhaps this is cheating, but can we just PDF the wiki? I can merge the individual files into one big PDF to distribute.
@RubberDuck if you know how to do that, ...sure!
@Mat'sMug Nice thought, but it prints the whole web page obviously.
15:29
I'd rather make PDF out of a clean Word document :)
...and update the wiki by copy/pasting from that .docx
Can't. The wiki is in markdown.
Formatting would be foobar. I think the best thing to do is link to it in the About window.
Do we really want to maintain two copies of the docs?
no
didn't anyone write a VBA macro for MS-Word to take a document and format it in markdown?
(not really asking)
but the docs would be cleaner in a Word document /PDF than in markdown on the wiki
> EDIT: Answered. My friend pointed out that the source column was setup as Text and not DateTime, which I assumed it was, because I thought past-me was not an idiot. Thanks for the help, those of you who replied.
2
^^ Hehehe, his columns were set up as Text
15:36
> because I thought past-me was not an idiot.
> because I thought past-me was not an idiot.
lol
Well..... there's your mistake.
lol
I always assume past me was an idiot who wrote terrible code.
@Phrancis Excel's "Format as Text" should be labelled "Screw up your data"
Format as Text is the truth to me.
lol
see you guys don't like the truth
15:40
Access does weird things too, I tried to copy a Date column from Excel and paste into Access and it converted the data to... decimal numbers...
awesome.
but MS calls it a feature
Goodbye.
later!
Ugh. I hate waiting.
Hate hate hate waiting.
> your call is important to us
15:52
> The installer can remain {en-US} if it can't be localized.. that shouldn't stop us from localizing Rubberduck itself :)
I hit 5K on SO this weekend
2
@Mat'sMug grats!
I'm actually waiting for the global publisher queue to clear so I can check to make sure this fix worked. 20 minutes.... agony.
ugh... maybe it'll be done by time I'm back from lunch.
16:22
<lunch>
16:44
> Depending on what format the wiki source files are in, you can use pandoc to easily translate the wiki to a PDF through LaTeX. I have used it before and might be able to write a script to translate the wiki files to PDF.
2
@Duga Thank you @cheezsteak!
@RubberDuck I might give it a look see at lunch
Looks like it supports github markdown flavor and docx, so it might be a winner.
17:12
</lunch>
This POS still hasn't republished.
17:26
YES IT HAS
Damn IE was holding onto a cache...
POS means "point of sale" in my mind
LOL. Yeah... most of the time in mine too.
17:45
But I don't want another job building ETL packages...... =(
I'd like to get just one call from someone looking for a .Net dev.
17:57
@RubberDuck I can translate the markdown to docx at work. The links still goto github.com though. A script will need to replace those. Also need a way to order the files.
@cheezsteak Really? Okay.. I think that's all doable.
@cheezsteak the bulk of the job is grabbing the content, right? if there's a way to generate the .docx without having to re-type all the content, I'm all for it. Can you email the .docx to rubberduckvba @ gmail?
18:12
@Mat'sMug content is there. There must be some edits but it works.
91% ram usage....
Damn Haskell
I am also running win7 with only 3 ram and an too many apps.
I don't think it is entirely Haskell's fault. It is taking minutes to run tough..
sounds like my dev laptop (a whole 4GB RAM though)
18:16
Its all good as long as you don't run out.
18:27
This is taking entirely too long to run. I will need to run it on my desktop at home and see if it goes faster.
It could just be a windows/shtty machine issue.
18:47
thanks @cheezsteak! will check it out tonight! :)
19:00
@Mat'sMug I sent a two file test. The full test still hasn't completed. Idk why.
@cheezsteak saw that? ^^
that's just a draft though
19:15
@Mat'sMug Do you have any idea how long it took me to figure out that @Michal is @vba4all?
@RubberDuck probably as long as it took me ;)
I suspected the they were the same because of the pictures and I had read his name before but it still took me a day or two
@Mat'sMug guess that means I should get off my ass and actually do something other than watching and commenting.
Lol. At least it wasn't just me.
@cheezsteak lol it means thanks for watching and commenting and supporting! but you're welcome to get off your ass and actively contribute with code :)
All jokes aside, we appreciate you @cheezsteak.
19:24
@RubberDuck SSIS question: I have my source on the left (66,873 rows), and my existing records on the right (163,840 rows). Does it makes sense to use a full outer join "Merge Join" component to sort out "NewOrExisting" vs "Deleted" rows? I'm at 423,948 rows in the join output, and it's still running....
> something's not right
it seemed to work fine for smaller data sets... have I completely fucked up my ETL?
You would get much better performance with a few Where Exists / Where Not Exists me thinks.
Full outer joins are.............................................................................‌​.................................................................................‌​............................................. slow.
ok so I included a WHERE NOT EXISTS in my source... but now I need 3 separate data flows - one for inserts, one for updates, and one for deletions?
@Mat'sMug Most likely. But that's not necessarily bad. You could probably run them in parallel.
right
Issues might come if you could potentially get dupes. In that case, you might want to union them.
19:38
I don't think that can happen.. the NK is fairly simple: OrderHeaderId + OrderLineNumber
You should try.................................................
................................................
................................................ ................................................ cross joins.
Ahhhhh good old Cartesian products.
@Phrancis that was the idea
> If you think you need a cross join ... you probably don't need a cross join.
2
worked pretty well on that simple one
19:41
Is that 2012? jealous
Even more jealous
lol
@RubberDuck you just earned me a follower on Twitter!
=;)-
I've been trying to coax him into writing a RD review.
he's following us
19:47
@Phrancis Has anyone ever needed crossjoins?
I have. It was a legitimate need due to a bad schema design.
I've used them once or twice, mostly just for generating a whole bunch of data for benchmarking. Never actually "needed" cross joins :)
Did I say bad schema design? I mean god awful third party vendor schema design...
2
If a schema is so bad it needs crossjoins, it really must be horrible.
well it occurred to me that if I made a cross join with the incoming against the existing data, I could kill 3 birds with 1 stone and use a simple conditional split to determine new, existing/modified and existing/deleted rows.
instead of using costy lookups
19:52
I can't even say that really @SimonAndréForsberg. It was actually a pretty clever design. But ya know.. clever... 'nuff said.
turns out it doesn't work very well when you have 100K incoming rows
@SimonAndréForsberg but... it's an ETL process!
Extract-Transform-Load
@RubberDuck clever as in overengineered?
aha
building a data warehouse...
19:58
@SimonAndréForsberg I don't know if I'd call it over engineered. Just clever and not so obvious. Something I might have done for internal use, but never in an API I'm handing out to customers.
Hey @Chrismas007!
@RubberDuck Damn... So much for being sneaky
3
:P
lol
hi @Chrismas007
@rbu
bleh
@RubberDuck so I have the "inserts" one, with WHERE NOT EXISTS
@RubberDuck erhm.... perhaps something I would make. skiwi is telling me that Cardshifter is not obvious and hard to make mods for and stuff.... (seriously though, making a really moddable TCG is hard stuff)
00:00 - 20:0020:00 - 00:00

« first day (283 days earlier)      last day (2897 days later) »