« first day (1474 days earlier)      last day (1706 days later) » 

12:00 AM
RELOAD!
[rubberduck-vba/Rubberduck] 11 opened issues. 1 closed issue. 19 issue comments.
 
i'm tryna find a reason to justify why I need to buy 32GB for mine...
no, honestly, its a work thing... ;-)
don't think she'd buy that one...
 
[rubberduck-vba/Rubberduck] build for commit 97c087e0 on unknown branch: AppVeyor build failed
BUILD FAILURE!
 
@Duga no bueno
 
told you I suck at grammar...
:-(
meh, it's not like its important. Oh, wait...
 
12:04 AM
The good news is that the build messages should say exactly what's wrong
 
gah, too tired to look at stack traces right now. what's the etiquette, can I leave the PR broken and come back to it tomorrow?
or better to close it down?
 
Meh, it's WIP. Leave it up, someone might find the bug overnight =)
 
ok cool. night!
 
night!
 
I am actually using a DLAN connector to connect my PC to the router, but the one from Devolo. It works pretty well. However, it only works well because both ends are on the same wire. If you have to go through a circuit breaker, it gets really slow.
 
 
1 hour later…
2:02 AM
> I'm not sure if you've also seen that:
- hex values are prefixed *and* suffixed with ampersands.
`BackColor = &H00FFFFFF&`
- property names can start with an underscore
`_ExtentX = 5741`
- frx references are *relative*, so they can include any valid path, including `\` and `:` characters.
`TextRTF = $"C:\foo\frmMain.frx":5EE0`

Also, this is a useful test frm - https://github.com/VBGAMER45/Semi-VB-Decompiler/blob/master/Semi%20VB%20Decompiler/frmMain.frm
 
 
2 hours later…
3:38 AM
@mansellan ^^ Try your code on the FRM linked in that comment.
 
 
1 hour later…
4:43 AM
Just a quick question to ask for all. Does this statement sound true. “That open source RD is in fact maintaining a legacy system of Microsoft’s VBE!”
 
The VBE might be old, but it's still shipped and supported by MS, so IDK if I'd call it legacy just yet
 
 
2 hours later…
6:43 AM
If that’s the case @ThunderFrame what’s does it take to call the VBE a legacy then irrespective of being shipped or not?
 
@PeterMTaylor VB6 is legacy. Windows XP is legacy. I guess my interpretation is that if it isn't in official support, then it's legacy.
 
> Thank you.

The first two should not be a problem since they are a standard hex literal and standard identifier, respectively.

For the third, we will have to see.
 
Thank you that helps @frames one way of thinking
sorry frames typo
 
> Thank you.

The first two should not be a problem since they are a standard hex literal with a type suffix and a standard identifier, respectively.

For the third, we will have to see.
 
 
1 hour later…
 
2 hours later…
9:27 AM
@Duga I didn't realize the parser processed any of the FRM lines before the VB Attributes.
 
 
1 hour later…
@ThunderFrame We started processing them in order to support VB6.
More precisely, to support VB6 forms, which show the entire form declaration part in the editor.
 
11:15 AM
@M.Doerner ok, thanks. Will be interesting to see how it handles that form I referenced
 
@ThunderFrame Planning to work on it some more after work today
@M.Doerner :lightbulb: VB6 doesn't do that - it acts the same way as MsForms showing just the code part. Does that mean we don't need to parse the header?
 
@mansellan That linked FRM is a nice chunky test case that has almost every feature exercised.
2
IIRC, the whitespace is entirely optional. The indentation is only for readability.
 
11:49 AM
@ThunderFrame Much appreciated. Just this and the resolver issues and VB6 is pretty shippable.
 
@mansellan IDK how the VB6 FRM interpreter knows the format of the items that are embedded in the FRX. I guess for built-in controls, it knows that Caption will be a header and string, and Picture will be a header and blob, but how does it know for 3rd party control properties? I guess it must load the TypeLib and determine the types?
 
12:28 PM
My guess is that it simply uses dynamic typing, i.e. It loads everything as Object and uses extended members. If it does not work, it will raise an error at runtime.
 
1:15 PM
> We aim to invest in GitHub’s social fabric to ensure the OSS community thrives, and GitHub becomes an even more trusted developer home for all developers on all platforms.
 
 
1 hour later…
2:16 PM
I'm not sure what to think about the results of my vacation. I came back to work completely fed up with it. Not sure if it recharged me out of apathy, or what.
@this Why I read that as ER, I don't know.
 
@Hosch250 welcome to work
 
@IvenBach IKR?
 
2:33 PM
Coworker just showed me a bottle of Leninade.
> Drink, comrade, drink! It's that or the gulag.
 
it's good with Victory Gin
 
2:49 PM
Best. Answer. Ever.
-2
A: How to politely reject a rude advice giver at the gym that won't take it well anyways

Steven D.Politely grab the nearest fire extinguisher and cool off his attitude.

 
"politely" lol
> Please excuse me while I suffocate you in CO2 fumes
 
3:20 PM
@Hosch250 bunch o'killjoys downvoted that into oblivion! I was about to register and give it an upvote, but not worth it at this point...
 
@FreeMan They are right that it makes a better comment than answer, though.
It's gone now, but I bet the user couldn't make comments.
 
3:32 PM
@Hosch250 but, to your point...
43 mins ago, by Hosch250
Best. Answer. Ever.
:)
What's the text in the RD status bar called that tells you what your cursor is currently sitting on?
it's missing in .3398
issue incoming. ;)
 
@FreeMan that would be the "context-sensitive selection label", or something like that :)
 
> Win10, Office 2016 (desktop), RD .3398

Even after a clean compile and an RD parse, the status bar is _not_ showing me any information about the identifier my cursor is currently on.

![rd missing path](https://user-images.githubusercontent.com/11889733/41607792-db682174-73b4-11e8-911d-0ebd379ac484.PNG)
 
I went with a somewhat more generic "information", but I've updated...
now... I know why my query is timing out (poorly written queries will do that), I need a temporary band-aid of "longer timeout" to let it run until I get back from vacation so I can fix it properly...
 
@Duga could be a side-effect / symptom of the current resolver issues
@tilde: i'm a programmer, and we avoid being wrong, which is why i said "probably"... It's like when they ask if a bug's fixed; we say "seems to be working" instead of "yes"... — dandavis 19 hours ago
 
3:52 PM
^ All outward appearances and testing indicate that the unexpected behavior has been rectified.
 
4:04 PM
The more I use AC the more it just feels natural.
 
4:30 PM
You know how you can block electrical signals with faraday cages?
I wonder what would happen if you ran a wire through one.
Probably nothing is my guess, but...
 
If the wire itself is going through one, nothing.
 
@IvenBach Thank you.
So, I can't disable big brother's TV by putting a faraday cage around the wire :(
 
Mind you I'm not an EE.
Nope.
 
@IvenBach I can foresee a value-added addictiveness to it :)
"oh gosh, you're not using Rubberduck... I can't. I just can't."
 
For i = 1 to 10 <Enter> For j = 1 to 10 <Enter> I'm now ready to type the body.
AC still has some minor complaints. Those are far outweighed by the benefits of it.
 
4:34 PM
> This seems to have been a very much 1 time thing. I've got the VBE opened from both Access (where I saw the problem) and Excel now, and I'm not seeing it in either.

Here's the current log. Sorry, I should have posted as soon as I saw it. This is probably a conglomeration of both Access & Excel.

[RubberduckLog.txt](https://github.com/rubberduck-vba/Rubberduck/files/2116055/RubberduckLog.txt)
 
Public function Foo<Tab> Inputting the As <Type>
 
^ I need to fix that. it doubles up the As token if as is already there
 
Woot! git fetch --prune I understood. ignoranceLevel--
 
> LV1 Achievement unlocked: beat the mug at git
:)
I've no idea what --prune does
 
> Before fetching, remove any remote-tracking references that no longer exist on the remote.
I deleted branches from my repo but my local copies still existed. Previously I would look them up to make sure I wasn't deleting the wrong one. I've since become lazier more efficient and use git fetch --prune
 
4:40 PM
hmm
 
-1
Q: How to make the code quicker?

Chef TonyI'm currently using the following code, which seems to run fine with workbooks within 10mb; however I work with large databases, and frequently the size of the files goes over 25/30mb. In those instances the code tends to take ages, and breaks more often than not due to running out of system memo...

 
@IvenBach If working in VS, it has a setting to do prune automatically.
Relatively recent, and doesn't remember across updates.
 
They rolled that out ~4 months ago. I remember you telling me.
I don't recall where the setting is.
 
Source Control Explorer.
 
Doing it through command prompt is exposing me to more git stuff either way.
 
4:46 PM
Open the Commit/Branches... dropdown. Select Settings, then Global Settings.
 
Source Control Explorer is empty for me.
TFS is not your current SC plug-in. Click here to set the current SC plug-in.
 
Open RD, or something that uses Git, to populate that.
 
Found it again. In Team Explorer>Settings>Globar/Repo Settings>Prune remote branches during fetch
I do have RD open. That's why having it tell me SC wasn't set up was a bit odd.
:manly-grunt: git remote prune upstream cleaned up the random branches left dangling.
@Vogel612 The mysteries of git begin to unfold before me. It's no less magical, even as I begin to comprehenderize it.
 
you'll see it becomes less and less magic
 
It'll still be magic.
 
4:54 PM
meh#
 
Meh#? Sounds like a fun language.
 
#MehSharp
with its fabulous IDE plugin, MehSharper
 
LOL.
TFW you need to make sure the release stays on track, and you want to do anything but program.
Read about security exploits, sure.
Develop a language syntax, sure.
But not program.
I'm sick of being a code monkey.
Spend 8 hours a day programming other people's designs.
/complaints
Could be worse.
 
be glad you don't need to clean up other people's messes yet
 
@Vogel612 Oh, but I do.
 
5:00 PM
at least not for ~3 workdays straight
 
For 5 workdays straight, 3-4 weeks a month.
Fixing and re-fixing and re-re-fixing bugs because I'm not allowed to rewrite the @#*(@ thing.
 
@MathieuGuindon It keeps your repo regular :-)
4
 
And because we don't have competent testers or any UI tests or any unit tests around this feature because it all wires directly to the DB.
And changing one thing breaks all the other things.
 
^ Isn't the real world great?
 
sounds nice...
 
5:01 PM
Fortunately, we got a new time tracking bucket for support.
I'm logging as many hours of time into support as I did for development.
Maybe that'll show them.
 
@mansellan LOL
 
@Hosch250 reminds me of a certain VB6 gig
 
@MathieuGuindon Yep.
The company is nice, but if I could just get some of this stuff cleaned up...
I don't see any future cleaning two/three parts of it up, but working on the rest...
 
let me guess.... non-technical boss?
 
@MathieuGuindon She worked as a programmer about 20 years ago, from what I can gather.
She's OK.
She just doesn't have the authority to authorize a rewrite.
 
5:05 PM
refactoring?
 
We need to get the buy-in of sales, upper management, and the people that support the client.
@MathieuGuindon Refactoring is out of the question. We don't refactor here.
 
you won't get that
 
@MathieuGuindon Exactly.
 
sales sees 0 value in clean code
 
We can't refactor unless there is an explicit real business need coming from a client.
 
5:06 PM
upper management sees 0 value in clean code
 
@MathieuGuindon When it hits their pocketbook, they will.
 
they won't
 
When I get a couple hundred hours, I'm going to call a meeting.
 
I'm reviewing rubberduckvba.wordpress.com/2017/10/25/userform1-show and the designer is the default that gets displayed when you double click on the userform, or right click>View Object?
 
@IvenBach huh?
 
5:07 PM
Say, here's a couple hundred hours I put in in two months that could have been avoided. You are paying me XYZ. Don't you think we should minimize this kind of stuff?
Guess what? The industry has developed techniques to do it, but you have to do it right from the bottom up.
 
> A UserForm is essentially a class module with a designer and a VB_PredeclaredId attribute.
 
Want to make sure I correctly understand designer.
 
the designer is the drag-n-drop visual tool you use to "design" the form...
 
:+1: understood correctly.
 
5:09 PM
i.e. what put the "Visual" in "Visual Basic"
 
Main takeaway is that while a visual designer may be nice, make sure you know how to do it programatically?
 
@IvenBach Definitely. And, TBH, avoid the designer when possible.
 
mmk. I can do that now.
 
@Hosch250 not impossible, but quite the PITA in MSForms. BTDT.
 
@MathieuGuindon Me too.
I just go edit the designer file.
That way, the messy-ness is contained somewhat better.
If you write invalid code, the designer breaks. If you write valid code, it's no different than using the designer, but often cleaner.
 
5:25 PM
@Hosch250 you're talking WinForms. I mean MSForms, i.e. VB6/VBA
 
Oh. gets lost
 
 
2 hours later…
7:39 PM
Thanks for your article Mug. I still have to work on using the MVP concept. But your article clarifies what it is and how to set it up.
 
 
2 hours later…
9:09 PM
> Using `Enter` when the cursor is located at `|`
```
Public Sub MVCEforAutoCorrect()
Set sourceInformation = Application.InputBox("for", Type:=8)|
End Sub
```
Results in below.
```
Public Sub MVCEforAutoCorrect()
Set sourceInformation = Application.InputBox("for", Type:=8)
|
Next
End Sub
```
If the cursor is moved to `|` and `Delete` is instead used, note the `Next`
```
Public Sub MVCEforAutoCorrect()
Set sourceInformation = Application.InputBox("for",
 
@Duga dupe
 
Seeing Next has been described. Seeing End Type part of the dupe?
 
oh shit, named parameters now
 
2 mins ago, by IvenBach
Seeing Next has been described. Seeing End Type part of the dupe?
That was a totally unexpected autocompletion.
 
9:15 PM
make it be about named arguments; string literals is already reported
 
> This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Means a whole lot more now that I see all the bugs software tries to resolve.
 
9:49 PM
@Hosch250 so the link from MS is a commitment for more frequent releases for TS as well as VSTS.
 
 
1 hour later…
@MathieuGuindon and that's why one does not do this with regex
then again it's not feasible to reparse on every keypress...
not that we have facilities to parse code that's "in typing"
 
11:31 PM
 

« first day (1474 days earlier)      last day (1706 days later) »