« first day (300 days earlier)      last day (2880 days later) » 

12:00 AM
RELOAD!
[retailcoder/Rubberduck] 5 commits. 1 opened issue. 6 issue comments.
[rolfl/MicroBench] 8 commits. 2 opened issues.
 
@Duga And team Monkey + Simon wins again! :)
 
@SimonAndréForsberg Well done!
 
12:27 AM
@sᴉɔuɐɹɥԀ Is it just me or the I is missing? ..or is it a ! ;)
 
Um. Not sure. the upside-down I is there, and don't think it's an exclamation mark
Actually.. maybe it actually is an exclamation mark
 
1:11 AM
I only see a whitespace '~'
 
1:52 AM
Taking a day off RD today. Going to bed early and then hopefully tomorrow all the parser/inspection issues will have vanished
 
 
9 hours later…
10:57 AM
Things have not been going as planned here... Getting frustrated with not being able to sit down and finish this feature. I think I'll be able to nail it down in the mornings next week, but it's going to make for some very long ass days.
 
 
3 hours later…
1:46 PM
> Hi Guys, I've been looking at this in code. I found it under UI - Refactorings - Rename. I'd like to help you with this, can I? If so, I'd write first unit tests for that (I've already started ..) which branch should I use (next)?
2
> Yes @PetLahev. next is our development branch. You can fork and submit pull requests to it. It's up to date to the best of my knowledge. If you have a need to mock anything for your tests, we're using Moq. Give us a shout here or in chat if you need anything.
> Awesome! Pull the Refactorings branch - I'm working on that one. You'll notice a crapload of false positives in code inspections, too.. I'm planning on focusing on that problem over the next few days, so your contributions to refactorings are more than welcome! Sent from Samsung Mobile <div>-------- Original message --------</div><div>From: PetLahev <notifications@github.com> </div><div>Date:2015-04-02 09:46 (GMT-05:00) </div><div>To: retailcoder/Rubberduck...
<Rubberduck@noreply.github.com> </div><div>Cc: Mathieu Guindon <retailcoder@gmail.com> </div><div>Subject: Re: [Rubberduck] Renaming an interface breaks implementations (#353) </div><div> </div>Hi Guys, I've been looking at this in code. I found it under UI - Refactorings - Rename. I'd like to help you with this, can I? If so, I'd write first unit tests for that (I've already started ..) which branch should I use (next)? — Reply to this email directly or view it on GitHub.
> P.S. Thanks for lending a hand!
 
@Duga a fork that we may actually see a PR from. Bless his soul. #MakesMyDay
 
Totally!
 
@Duga where's the rest?
> Almost identical to the VariableNotUsedInspection is a ProcedureNotUsedInspection which is useful for finding dead code. However there are native handlers in VBA code that aren't meant to be called by user code, like worksheet events Worksheet_Activate and Class_Activate and Class_Terminate class members.

Ignoring methods that have an underscore in their name would be dumb... but what other way is there? Hard-coding every event in the Office object model doesn't seem to be a good solution either.
 
> Actually I'm working on the false positives issue / code inspections, in the GrammarIsFun branch, so if you work in Refactorings we shouldn't collide :)
 
2:30 PM
Hi
Matt
Just when I need you :)
@Mat'sMug
 
hey there
 
Can you proofread my CV for me? I'll send it to you over e-mail (.docx format)
@Mat'sMug
 
I... guess so
 
What's your e-mail?
Of course, a ton of thanks and roses for you man.
 
scroll up a bit, I posted from my phone and quoted the original message by accident - my email is there ;)
retailcoder
 
2:35 PM
Sure man
Everything happens for a reason!
@Mat'sMug it's in your inbox. Thanks!
 
24     By the way, this program is ridiculous.
25
26 Your faithful student, Pinkie Pie.
2
(monking)
 
Morning Phrancis
 
Morning gentlemen.
@Mat'sMug just posted a book about this.
 
2:53 PM
You there @Mat'sMug ?
 
Probably busy working.
 
Hi duck.
 
sort of, got a phone call
I got your email, will look at it when I get a chance
 
Hey there @JLILIAmen.
 
Sure man.
 
2:58 PM
@RubberDuck lol
 
3:10 PM
@RubberDuck replied
 
> The new problem now, would be how do we "pretend" there's an implicit WithEvents field in these modules...
 
@Duga Yeah... that's a problem.
 
> do we have programmatic access to a form's Controls collection from the VBE API? .........ugh.
 
@Mat'sMug We'd have the same trouble in a UserForm, or any other top level object.
Maybe we can get to it through the component's properties?
 
I wonder
it's not like in .net, where WinForms controls are actual field declarations..
 
3:22 PM
0
Q: VBScript in IBM Personal Communications, Register current date and time

EliasWickThis is a bit complicated to explain but I sure will do my best! I want to register the current time and date "Year,Week,day + Time", in my program IBM Personal Communications (Session A). I have to use a .MAC extension for the final file in order for the program to read it. This is the code th...

 
perhaps through the component's designer?
 
@Mat'sMug Maybe....
 
> The Designer property enables you to access a component-specific object.
 
I can say I can't get to vbext_ct_Document typed component's properties at all in access.
 
3:30 PM
.... I'm looking at that in my IDE right now. It looks like we'd have to actually open the designer.
 
it can be opened without being active
 
@Mat'sMug good point
 
^^ got it
Sub foo()
Dim frm As VBComponent
Set frm = Application.VBE.ActiveVBProject.VBComponents("UserForm1")
Dim dsn As Object
Set dsn = frm.Designer

If Not dsn Is Nothing Then
    Dim ctl As Object
    For Each ctl In dsn.Controls
        Debug.Print ctl.Name
    Next
End If

End Sub
prints "CommandButton1"
 
> Yes we do. Through the Controls collection of the Designer property of the VBComponent. Awesome.
 
Awesome indeed.
 
3:38 PM
so whenever the parser encounters a VBComponent with a Designer, it needs to iterate the Controls collection and add a WithEvents "member" / declaration for each control.
and problem solved!
 
Cool. Good work.
bbiab
 
> So whenever the parser encounters a VBComponent that has a non-null Designer, we need to add a Declaration (WithEvents) to that module, to account for the field in question. Let's create a new DeclarationType.Control for that purpose, and then the Rename refactoring will even be able to rename controls!
use case: right-click TextBox42 in a form's code-behind (say, on the line that says result = TextBox42.Text), select "Refactor/Rename", enter DescriptionBox for a new name and watch as your assignment becomes result = DescriptionBox.Text without breaking the designer!
ooh that feels good.
 
4:10 PM
oh, and TextBox42_TextChanged becomes DescriptionBox_TextChanged, of course
 
Can you "Record" a macro in Outlook?
 
nope
 
Shit.
Oh sweet, com.google is still up :D
 
¿ǝƃɐdǝɯoɥ ʍǝu ɹnoʎ
2
 
Sneaks off to switch his kid's home page....
 
4:27 PM
Does Asc(Right(ToleranceLabel,1)) return 176? This part isn't very clear to me: I wanted to verify that the text I was getting the unicode symbol for decimal number 176 and not the unicode using the decimal number 186 for degree. I checked the decimal number and I get 176.Mat's Mug 1 min ago
 
@Mat'sMug That reminds me of a particularly nasty question/bug that came through here a few months ago...
Can't quite remember it though.
 
¿¡ƎNOp I ƎΛ∀H ┴∀HM ˙˙˙puǝɹʇ ʇxǝʇ uʍop-ǝpᴉsdn ʍǝu sᴉɥ┴
 
5:01 PM
 
@Duga about time! lol
 
uh..
 
5:17 PM
I think Simon is doing some testing on Duga
 
5:34 PM
@sᴉɔuɐɹɥԀ gone (redirects to google.com)
 
5:57 PM
Boo :(
I took a screenshot for posterity ;)
 
 
2 hours later…
7:45 PM
hi @PetLahev!
 
@Mat'sMug April fools ;)
I starred you a looong time ago
 
thought so ;)
you just looked at our stargazers and thought - hey I'm going to be on page 2 soon, that's unacceptable! ..so you unstarred and restarred. right? ;)
 
Hi @Ma
ups
 
lol
 
still trying to figure out how it works here
 
7:55 PM
the chat? or my spaghetti code? ;)
 
@Mat'sMug I need your help with GitHub, I'm absolutely new and I think I made a mistake
Your spaghetti code? you kidding? :) I actually haven't seen better code for long long time
 
thanks! what mistake you think you made?
 
@Mat'sMug when I checked the 'renaming' code two dauys ago I used the button on GitHub 'Clone to my desktop" or whatever it says
today I forked it (which is also new to me) and again cloned it to my desktop. When GitHub app asked me where I wanto to download it I chose the same location and there I think I made mistake
I think if I now commit back I'll actually commit to one of your branch
 
had you made any changes locally?
 
yes
 
8:00 PM
I don't think you can't commit directly to my repo, I need to authorize you
I think your commits would push to your fork
well, try to push your commits - worst case you get an error
 
ok, I'll try later today. Thx
 
no problem - and then whenever you're ready you can make a pull request and we'll merge your changes :)
or wait, no I'm wrong
if you're working off a fork I think you'll be pushing to whatever branch you're in, on ...geez, I don't know.
@RubberDuck any idea?
 
@Mat'sMug I honestly didn't know there were multiple pages :)
 
Huh? Short story please?
I wasn't here.
 
5 mins ago, by PetLahev
@Mat'sMug when I checked the 'renaming' code two dauys ago I used the button on GitHub 'Clone to my desktop" or whatever it says
 
8:04 PM
no worries. I've made change to just one class (presenterTests, which I think I created) so I can save my changes, undo all my changes, then clone again to different location and we should be fine
 
I think you need to fork, not clone ... but I know nothing.. @RubberDuck knows
@SimonAndréForsberg might know too
 
@PetLahev yeah. You would clone your fork.
Then all of your pushes/pulls, etc. go to your fork.
 
@RubberDuck yeah that's what I thought. No worries guys, I'll fix it on my side. Don't want to destroy you code with my crappy one .. :)
 
When you're ready to merge your stuff into the main repo, you go to GitHub site and submit a pull requrest.
@PetLahev Nonsense. Both Mug & I have wrecked the repo with ugly merges and bad code....
 
@PetLahev heck, I've already destroyed my own code all by myself :)
 
8:06 PM
We appreciate the help.
6 hours ago, by RubberDuck
@Duga a fork that we may actually see a PR from. Bless his soul. #MakesMyDay
 
^^
 
ok guys I'm going to continue Still trying to get my head around all the context, grammar and structure of the project (BTW. very well managed)
 
@Mat'sMug There's a lot of things that can be done, but the easiest is really to fork on github, clone the fork and push to the fork, and then later on do a PR.
 
@SimonAndréForsberg Thanks
 
However, if no PR is done and you still want to take some commits from it, that's certainly possible. You just git remote add petlahev git@github.com:yadayada and add @PetLahev's fork as a remote, and then you can pull commits from that remote using git pull petlahev branchname
It is possible to merge entire repositories together by setting up different remotes, @sᴉɔuɐɹɥԀ managed to do that some time on the Cardshifter repo, he merged it together with the website repo. Luckily we managed to clean up that mess.... :)
 
8:11 PM
@SimonAndréForsberg good to know. Thanks.
 
@SimonAndréForsberg And if I push to a branch, can he sync my changes?
 
something like pull remote branch I believe.
 
@Mat'sMug He can add your repo as a remote and pull from that. Or he can create a PR request on github from your repo to his repo, and hope that github can automatically merge them.
 
@SimonAndréForsberg I remember that. That was ugly.
 
But you have to set up the remote.
 
8:18 PM
8 mins ago, by Simon André Forsberg
However, if no PR is done and you still want to take some commits from it, that's certainly possible. You just git remote add petlahev git@github.com:yadayada and add @PetLahev's fork as a remote, and then you can pull commits from that remote using git pull petlahev branchname
essentially that ^^
 
I do a lot of pull origin master from my local branches
 
in TCG Creation, Nov 25 '14 at 1:42, by Phrancis
I hate almost 900 changes to pull from cardshifter.github.io (the website)... wtf
Since that day, I have stopped using SourceTree for working with git. Terminal FTW.
 
Yeah.. love my git console.
I do use Source Tree for some things. It's nice to view the history and really helps out when you need to figure out which commit you need to reset or revert to.
 
@sᴉɔuɐɹɥԀ As long as you know what you're doing, it doesn't matter what you do :)
3
 
Hey look at that, I still have stars here!
 
8:28 PM
I love the fact that Source Tree can commit line-by-line. That feature is awesome.
 
@SimonAndréForsberg Really? I had no idea. That's pretty damn cool.
 
I use that feature a lot.
Select a line or two, click "stage line(s)"
 
@SimonAndréForsberg Didn't know that, that's pretty cool. STS seems to have good github features too, I should poke around in it more
 
9:25 PM
> MERCI & JOYEUSES PÂQUES

GLORIA
@Mat'sMug ^^ groan... her again lol.
 
lol
TTQW
 
 
1 hour later…
11:07 PM
@RubberDuck FYI there's a NY IT recruiter now following @rubberduckvba ;)
 
11:29 PM
Heh. That's good to know. =)
 

« first day (300 days earlier)      last day (2880 days later) »