« first day (1814 days earlier)      last day (22 days later) » 

12:01 AM
RELOAD!
[banane-io/PDB] 2 commits. 2 additions. 2 deletions.
[banane-io/pdb-frontend] 5 commits. 1162 additions. 400 deletions.
[rubberduck-vba/Rubberduck] 2 opened issues. 5 issue comments.
[rubberduck-vba/RubberduckWeb] 6 commits. 777 additions. 949 deletions.
[Minesweeper] Games Played: 93, Bombs Used: 59, Moves Performed: 11007, New Users: 25
 
VS 2019 is as performant as 2017.
I use it at both work and home. Quad-core 16GB on both.
Unless it's 12GB at home.
 
@mansellan test explorer was changed in some ways.
 
@Vogel612 I think that's coming in .2.
 
Oh ok. IDK about that, I use the R# test runner.
 
I have .1, and it's not there yet.
 
12:05 AM
will check it out
 
@Hosch250 yea, I only know that it was broken for the people over at SE
 
As far as that goes, it's preview still :)
.2 likely won't be out for at least a month.
 
imho, the vs test runner has never got anywhere near resharper's
 
With next release it's coming close to Rubberduck's
=)
 
@MathieuGuindon lol not that close :-)
All I can suggest is to try 2019, nothing I've seen suggests it's massively heavier.
 
12:24 AM
@Vogel612 You have 4 physical cores? Luxury! My laptop has 2 physical and 2 fake cores...
 
yea, I was misremembering :/
 
I have 4 physical and 8 fake :)
Processor Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz, 1992 Mhz, 4 Core(s), 8 Logical Processor(s)
 
I think that beyond a sensible minimum, ram is more important than cores to VS these days
@Hosch250 Processor Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz, 2901 Mhz, 2 Core(s), 4 Logical Processor(s)
 
My brother has a dual-core.
He doesn't program, though.
Just texts on FB.
 
12:38 AM
@Hosch250 I can attest that the 3520M is sufficient for VS2017, if you're not impatient.
Hell, I did most of the VB6 work on it
Oh btw, I started watching those NDC YouTubes. I think I sort-of understand moands now :-)
 
I believe you.
My cores are usually idle.
 
"Functors you can collapse"
 
@mansellan The NDC conference talks were awesome.
Is that the Mark Seemann one?
I was in that one :)
 
Yes
He didn't have time for questions, otherwise I'm sure I'd have seen you raise your hand!
 
No, it was good.
I did have questions for a few, but not most of them, actually.
I don't think I was in the camera. I was on the left side of the room.
Some of them you can see the back of my head.
 
12:44 AM
#TIL Linq Select is a functor, and Linq SelectMany is a monad.
I really need to check out F#
 
LINQ select is just map, and select many is flatMap
 
F# is awesome.
It takes a bit to learn the functional programming paradigms, but F# makes it easy once you know them.
If it compiles, it usually runs good in F#.
 
@Vogel612 I would have no idea what that meant before I saw the demo.
Maybe<Rubberduck>
 
so select :: (a -> b) -> [a] -> [b] | selectMany:: (a -> [b]) -> [a] -> [b]
though strictly speaking the [a] is the first argument
 
@Vogel612 I feel like Iven.... scratches head
 
12:47 AM
I also just watched that talk.
 
@Vogel612 OK, I get it
 
it's haskell type notation :)
 
Not sure I can sell my colleagues on treating Task<T> like IEnumerable<T> though... Query syntax against Task is kinda.... weird.
 
LOL.
TBH, though, F# has better language support around this.
 
@Hosch250 I imagine so, it's built for it iiuc
 
12:51 AM
You could also find a different name. It doesn't have to be "select".
The one thing with F#, though, is that you can access the value.
But it's mostly with pattern matching.
Like:
match value with
| None -> None
| Some v -> doSomething v
 
@Hosch250 Uh, wut? I thought Select (and SelectMany) were 'magic' indicators to Linq?
 
@mansellan Ohh, for query syntax, yes.
I don't like query syntax.
I never use it.
 
@Hosch250 Me either, who does?
 
TBH, it's like my weakest point of C#, and I barely know it.
 
It makes me quaesy
I get the impression that Maybe<T> is hugely important, and I need to explore it.
 
12:55 AM
it is. It's basically a better version of null :)
 
It's actually basically Nullable<T>
C# 8 is getting support for it with classes.
 
@Hosch250 But with a map?
 
Not quite in that way.
But it's essentially the same in principle.
The concept I found more important was that of behavior injection.
 
So what I heard is that a functor allows for transformation with structural integritry. Nullable<T> doesn't do that ootb, but with a select extension it can?
 
@Hosch250 you mean like continuation passing style?
 
12:58 AM
More like using functions like values.
More, delegate/lambda type stuff, where you inject behaviors as functions.
 
yea, that's what I was referring to :)
CPS is a specific usecase for that
 
I think I need to learn F#, so I can back-port the knowledge to C#...
 
basically you pass what should happen on return into the function instead of chaining the statements
@mansellan with Nullable you need to explicitly handle null.
with a functor and a proper monad definition, you don't need to.
 
Gah, so a functor is a pure function which preserves the input structure?
 
functions are always pure, unless marked IO
 
1:01 AM
@Vogel612 Oh, right.
 
a functor is a structure that takes a function and a monad and transforms the monad with the function
 
@Vogel612 marked IO?
 
main :: IO()
 
Basically, marked as input or output. i.e. it interacts with another system.
 
IO is the IO monad, which allows you to do impure behavior
 
1:03 AM
I think I'm going to write my next microservice in F# at work.
 
Wow, I feel dumb. IO markers are not in c# right?
 
And just say if they ever adopt it, they can rewrite it at some point :)
No, they are not.
 
@mansellan and yes, that preserves the structure, but that's something of a property of the monad, because the monad's behaviour is defined as being structurally stable with a functor
 
They are not in F# either, AFAIK.
 
and a functor is defined to not mess with the structure of a monad
 
1:04 AM
I have much to learn
 
You have to use the !DOCTYPE tag on your html page to make it work well on IE. — Fabio Jan 28 '12 at 14:23
 
@mansellan Don't we all :)
@MathieuGuindon You have to have that for it to be a valid HTML webpage.
Most browsers will accept it anyway and try to guess which version you are using.
Including newer versions of IE.
 
anyways. bedtime :)
 
But it makes it easier on the browser if you specify it.
 
@Vogel612 'night!
 
1:05 AM
Night!
 
@Vogel612 Trippy stuff on an analog screen.
 
So.... tl;dr: Linq has introduced us to FP, without telling us. Now when we want to peek behind the curtain, there's no docs. Amirite?
 
Much of C# since then has come from functional languages.
Linq, pattern matching, async/await...
Nullable value, and now nullable reference, types.
 
@Hosch250 Sure, but respectfully you're missing my point... Underneath all this, there's functors, monads, ?...... And none of that is exposed.... Are C# devs the new VB devs, too fragile to see behind the curtain? Because that would suck.
 
Unfortunately, yes, most are.
 
1:17 AM
Um, damn.
 
From experience at work, it's just me that has an even remote understanding of it.
 
googles F#
 
The other two that were sharp enough and interested enough to pick it up with time were run out for trying to push for changes.
The only reason I'm staying is because I have so much free time to do as I like, and I like my coworkers.
 
Wow, that's messed up
 
If there was a good F# job in the area, I'd try for it.
 
1:21 AM
Instinctively, I'd guess that MS would look to migrate FP into C#, that's where their population is. F# has the enthusiasts, but C# is the mainstream.
Just my intuition
 
I think that's what they're doing.
 
Oh, and VB is the embarrasing ex....
 
They are beginning to market the FP sides of C# more, and aren't marketing it as OOP anymore, really.
 
But IME, the big money is always in the zeitgeist. Bleeding edge may be satisfying, but cutting edge is where it pays.
Do you want to be a trailblazer, or do you want to maximise your income?
 
 
4 hours later…
5:08 AM
> guess i forgot to close this issue if the onus for that was on me, i apologize, but anyhoo, closing this.
 
 
2 hours later…
6:52 AM
> Ai I understand when invoked by shortcut refresh is made on the background and the refresh button is inactive while it process it.
The issue is when this button-icon becomes active, sometimes its not refreshes by keys shortcut, only by pressing this button directly (
 
 
6 hours later…
12:49 PM
I really like that in FP the names actually match the mathematical concept, at least up to edge cases.
 
 
3 hours later…
3:48 PM
> Are you referring to the context menu, right click button, in the coding area? Those aren’t configurable currently. One of the other ducks (contributors) would know better about that though.
 
3:59 PM
> To enable this functionality where would we look to get started? First glance this seems not too difficult to enable.
 
 
1 hour later…
5:22 PM
> @IvenBach I would find a command that already has a hotkey, and then see if there wouldn't be a way to refactor it and implement a default no-op hotkey behavior in CommandBase, and then make the hotkey settings just list every single command and let the user assign hotkeys as they please - or, just do that one and refactor/generalize later ;-)
 
@Duga or, derive from CommandBase to make a HotkeyCommandBase class, so we can cherry-pick which commands can and cannot have hotkeys
 
We should make sure there is some cherry-picking
but we should also allow focus-local hotkey behaviour
not every command makes sense as a "global" hotkey target
repeat last test run is one of them, though
 
> @tallguyjenks no problem - I had simply left this [support] issue opened, to make it easier to find - but yeah the wiki page makes it basically moot, I should have closed it. Thanks!
 
@Vogel612 yeah. The many variations of "refresh/reparse" come to mind as well
Wait no we're reusing them now are we not?
In any case, we'll want to cherry pick anyway
 
@MathieuGuindon IIRC we're reusing them
because there is only a single RefreshCommand instance injected into everything
 
5:41 PM
Cool. IIRC the CE had/has(?) its own set of commands too
 
5:51 PM
> Note that there may not be a dedicated command for this right now and you possibly need to change how the TestExplorer commands are wired up a bit for this.

It shouldn't be too difficult, though.
> I'm overmarking this as a 03, because this has wide-ranging implications across the codebase that could be resolved as part of this issue.

If one were to "only" expose **all** Rubberduck implementations of `CommandBase` to hotkeys, this would be a difficulty-02.
When touching this, one should consider the following notions:

- Not every specific Command implementation makes sense as a command exposed to global hotkeys.
- It's impossible to specify hotkeys for `DelegateCommand` because
> follow-up to generalize is available in #4975
> I'm overmarking this as a 03, because this has wide-ranging implications across the codebase that could be resolved as part of this issue.

If one were to "only" expose **all** Rubberduck implementations of `CommandBase` to hotkeys, this would be a difficulty-02.
When touching this, one should consider the following notions:

- Not every specific Command implementation makes sense as a command exposed to global hotkeys.
- It's impossible to specify hotkeys for `DelegateCommand` because
 
it's a bit big to mark as 02, but it's not quite weird enough to be 03. Everything necessary has been done before
 
 
2 hours later…
8:14 PM
How do you link issues on GH?
I can’t figure it out on mobile. @MathieuGuindon? ^
 
#searchtext on gh
 
> #4407 are somewhat interrelated
> #4407 and this are somewhat interrelated
 
My eventual conquest of GH is won one :derp: at a time.
 
 
3 hours later…
11:19 PM
:click: now I know what tear-tabs are github.com/rubberduck-vba/Rubberduck/issues/…
 

« first day (1814 days earlier)      last day (22 days later) »