Mathieu Guindon

 VBA Rubberducking

This chat has moved to Discord: discord.gg/MYX9RECenJ
Feb 19, 2023 04:59
room topic changed to VBA Rubberducking: This chat has moved to Discord: discord.gg/MYX9RECenJ [antlr] [com-interop] [parsing] [rubberduck] [vb6] [vba] [whiskey-tango-foxtrot]
Feb 15, 2023 14:46
room topic changed to VBA Rubberducking: This chat has moved to Discord: discord.gg/EmbYjbPr [antlr] [com-interop] [parsing] [rubberduck] [vb6] [vba] [whiskey-tango-foxtrot]
Feb 15, 2023 13:39
This room comes up whenever you search for COM stuff lol
3
Feb 15, 2023 13:39
Deleting the room would be a great loss IMO... so much knowledge is buried in here...
Feb 15, 2023 13:34
0
Q: Rubberduck is growing out of SE chat

Mathieu GuindonAt one point in time, the VBA Rubberducking chat was CR's most active chat room. Here we are almost a whole decade later, and Rubberduck as a project is entering a new phase as work on version 3.0 is starting. SE chat was the perfect home for Rubberduck at the time: we had a feed of VBA posts on ...

7
Feb 15, 2023 13:34
Here we go:
Feb 15, 2023 12:27
Or a mod could freeze the room if we ask nicely 😉
Feb 14, 2023 19:26
(assuming the file association isn't working)
Feb 14, 2023 19:25
then you can have a .bat that launches the command =)
Feb 14, 2023 19:25
@FreeMan run an admin command prompt (CMD.exe), and see what arguments would need to be given to run your package: learn.microsoft.com/en-us/sql/integration-services/packages/…
Feb 14, 2023 13:50
@FreeMan no problem! We're ready when you are!
Feb 13, 2023 18:32
try running it from command-line
Feb 13, 2023 13:21
@FreeMan I... oh. lol sorry 😂 have you joined yet? Please mention your SE username when you join.
Feb 12, 2023 12:51
Otherwise there's definitely a way to get a bot up, twinBASIC has one
Feb 12, 2023 12:50
Hm that'd be nice
Feb 12, 2023 11:55
(the other link expires in a few days)
Feb 12, 2023 05:45
@Duga nice!
Feb 11, 2023 20:24
Hm, I should set up the labels and merge the projects, will be much easier to manage
Feb 11, 2023 17:43
so, this week I'm wrapping up the platform stuff, ...and coming up with a backlog
Feb 11, 2023 17:39
been a while since I dreamed of having that kind of time again :D
Feb 11, 2023 17:38
weekly sprints with small broken-up tasks should make everything bite-sized
Feb 11, 2023 17:37
I think I can pick up a pace and actually schedule time for "sprint planning" and other PO activities
Feb 11, 2023 17:36
I think it's just a matter of discipline after that
Feb 11, 2023 17:34
Feb 11, 2023 17:34
trying something...
Feb 10, 2023 15:32
That said nothing stops a client from logging its own stuff without telling the LSP server ;-)
Feb 10, 2023 15:31
I'll have to double-check if it's LSP-compliant (IIRC it is), but RD3 RPC clients will be able to send log notifications to the server through that client library, so add-in logging that could potentially trigger a TraceTelemetry event would all go through it.
Feb 10, 2023 15:27
there's a piece missing between the add-in and the LSP server though: the Rubberduck.Client library will expose everything the add-in needs to communicate with the LSP server, so it won't need to deal with RPC and proxies at all.
Feb 10, 2023 15:25
a tB add-in would probably have to reference at least some of the RD3 assemblies, and thus would have to be a consumer of the logging API, I think.
Feb 10, 2023 15:20
there are other approaches to cross-cutting concerns; we could have used an AOP (aspect-oriented) framework to generate that logging code at compile-time for example
Feb 10, 2023 15:19
...while still having access to the logger if more detailed logging should be needed
Feb 10, 2023 15:17
@Greedo logging is a special concern in an application, because it is "cross-cutting" - we went with DI so we're typically injecting the logger into some base class that invokes a templated abstract method that derived classes can implement without needing to care much about trace logging, ...
Feb 10, 2023 12:39
(look into NLog for a better idea of what the intent/destination was for this)
Feb 10, 2023 12:36
@Greedo I based that code on making an experience similar to using NLog but in VBA =)
Feb 8, 2023 15:42
Once that's fixed, the PR is pretty much good to go and RD3 kicks off for real
Feb 8, 2023 15:41
Went to bed with RPC failing with a weird JSON deserialization error, like, the method sends it a InitializeParams instance, but then it tries to deserialize it as a completely unrelated type that makes no sense; I'll be diving into the lower-level RPC stuff, think it has to do with positional vs named parameters.
Feb 8, 2023 05:11
almost there!! :)
Feb 8, 2023 05:11
Feb 8, 2023 05:11
progress...
Feb 8, 2023 05:05
Feb 8, 2023 05:05
update: RPC works! ...almost :D
Feb 7, 2023 13:29
Me, paying GD since 2015 for a SQL Server database that's a tiny fraction of the size I'm allowed: PAYBACK TIME 😂😂
Feb 7, 2023 13:24
(also, heavily client-side, esp. anything that isn't a TraceTelemetry event)
Feb 7, 2023 13:23
It's much more granular than trace logs :)
Feb 7, 2023 13:21
(list is obviously incomplete)
Feb 7, 2023 13:21
EventTelemetry items would be fired for these: github.com/rubberduck-vba/Rubberduck3/blob/server/groundwork/…
Feb 7, 2023 13:19
At least that's how I see it