« first day (2530 days earlier)      last day (208 days later) » 

12:02 AM
RELOAD!
[rubberduck-vba/Rubberduck] 5 commits. 1 issue comment. 73 additions. 37 deletions.
[Minesweeper] New Users: 9, Games Played: 63, Bombs Used: 41, Moves Performed: 9244
 
12:46 AM
@MathieuGuindon please tell me I was not misleading that poster with my explanation of abstract base class vs. interface
you didn't correct me so I wanted to assume yes
 
1:29 AM
@theVBE-it'srightforme having the base class implement the common interface (even if abstractly) ensures the derived classes all implement the interface...
If the base class doesn't implement a common interface, then it is the common interface / the abstraction to work with - that makes IPlayer a wart =)
Oooh I had the first comment backwards lol I hadn't seen the code
So yeah what you're saying there is exactly that: if you're defining an interface but the abstraction your code consumes is the base class that implements it... something's off indeed
 
2:17 AM
@MathieuGuindon I didn't really write it as clearly as I could have tbf
@MathieuGuindon i feel more competent now ty
I didn't think it was a big difference practically for a small project but he seemed concerned about learning best practices
also:
foreach (var foo in fooList) {
                var a = fooSums.ContainsKey(foo.ID) ? (Action)(() => fooSums[foo.ID] += foo.NumberOfBars) : (() => fooSums.Add(foo.ID, foo.NumberOfBars));
                a.Invoke();
            }
is there a way to get the Invoke call in the same statement or no?
(I assume this is not as performant code as using basic if-else but curiosity prevails)
 
2:48 AM
that's screaming for ComputeIfAbsent
aaand of course C# doesn't have that ...
~sigh
ugh... wtf, why does java have better methods for something like that?
@theVBE-it'srightforme what's wrong with the following?
ugh... apparently I can't aircode the LINQ equivalent to the following java stream
fooList.stream().collect(Collectors.toMap(Foo::ID, Foo::NumberOfBars, (l, r) => l + r));
 
3:21 AM
@Vogel612 well i don't know java
however that does appear to be something that would be super nice to have
I have tried doing similar with LINQ and it failed
@Vogel612 also did you see the code for close button?
 
3:44 AM
dont think I would ever have thought to use GroupBy
 
3:57 AM
return fooList
        .GroupBy(foo => foo.ID)
        .ToDictionary(g => g.Key, g => g.Sum(foo => foo.NumberOfBars));
dont even care about performance at this point it is so much nicer to read
looking at the Java again that does seem to be a near equivalent in LINQ at least
I can't imagine how difficult software development would be without the existence of SO
 
 
5 hours later…
9:04 AM
@Hosch250 I think what I meant by bugs with Blazor is that it doesn't feel like it is fully integrated into VS yet. It struggles to update when components are renamed in the solution explorer and using the 'Rename' feature on a class member does not update the references to that member in .razor files even though intellisense knows they are linked.
 
 
3 hours later…
12:20 PM
0
Q: Optimize if/elsif in VBA that hides / unhides rows based on cell value

Ivan1991I am very noobish in VBA and I would need some help in optimizing a piece of code. Based on a cell value the code hide / unhide rows in another sheet. As there are many things to hide / unhide my code is taking too long to run. It looks like this : Private Sub Worksheet_Change(ByVal Target As Ran...

 
1:02 PM
@theVBE-it'srightforme yes, I did. I'm not really a web developer, so I can't really comment on it :D
 
 
4 hours later…
5:33 PM
I just discovered Github has a discussion feature. But for inexplicable reasons, they decided to use format similar to SO's Q & A with all upvotes and stuff? Did I get that right?
 
I just discovered that the new font change on SE is horrendous! Yuck. Blech. Gross. Maybe it's better on Apple devices, but the Segway font (intentional) is just nasty.
Makes me want to not go read questions any more. Just too hard on the eyes.
 
@#$#!@# @This wtf
 
 
2 hours later…
7:40 PM
@theVBE-it'srightforme yes, the new razor editor is glitchy.
@FreeMan eh, looks fine to me. A font is a font.
I'm sure you could set up a custom script on your browser to put it back in comic sans.
 
8:14 PM
 
9:10 PM
> You'll probably want to resolve the conflicts on #5749 first, have it merged (I'd like to merge it sooner than later!), and then sync [next] with your dev branch here and address these conflicts.
 
why must you be so fat, SSMS?
 
> @MDoerner it looks like OP is late-binding the add-in reference, because an early-bound one would have the add-in show up under "Project References":

![Code Explorer with a 'project references' node](https://user-images.githubusercontent.com/5751684/117726080-10dbc500-b1b4-11eb-8a7d-959e7044236b.png)
 
it also doesn't help that they've decided to have SxS installs so it's easy to pile up versions
 
9:30 PM
is SSMS still built off the VS shell of the previous version? like SSMS 2012 was off the shell of VS 2010, 2014 was off the shell of VS 2012, ...it's getting harder to tell now but from the splash screen it seems they managed to unify.
 
i'm not sure anymore. it's annoying because there is no clear indication it's using a VS shell but the fact that they do SxS install rather than upgrade, it's easy to end up with mulitple SSMS versions and because they weigh in ~2GB each.... that's lot of fat guys
btw, I think we're talking about a different era --- 2010, 2012 and 2014 were basically VS shell but I'm talking about SSMS 16, 17 and 18
 
yeah I'm ...a little behind with VS & SSMS at work lol
(VS 2015, SSMS 2014)
yes I die inside every time I write a => property getter and it refuses to compile
 
my sympathies.
 
on the birght side, you have fast SSMS
I swear that SSMS 18 is one slow tortoise
 
9:45 PM
 
and I appreciate Microsoft's thoughtfulness in telling me that I must reboot after I've uninstalled the fat boys before I can install the newest fat boy. ♫ Lovin' it! ♫
 
10:03 PM
@Hosch250 it is not enough to make me stop using Blazor of course but definitely a little annoying
@Hosch250 how was the talk btw?
@this everyone has an SSD so that shouldn't be an issue!
 
Doesn't matter. No excuse for having fat boys
do you want a 500-pounds man doing your yard or cleaning your house?
 
10:20 PM
@MathieuGuindon answer to your question: SSMS 18 uses VS 2017 isolated shell
 
@this well if doing my yard work helps him jumpstart his weight loss journey...
 
except, that's not how software works. as he does the yardwork, he's getting fatter and is more likely to get stroke or some major health catastrophe.
 
10:37 PM
well then I would feel wrong not asking him to sit in the shade with a cool low calorie drink and keep me entertained while I did the yard work
 
LOL, love that you went out of the way to break my analogy. :)
 
unless that made him fatter too
@this it was a fun analogy to work with :)
I am curious though - is 2GB really so much for what SSMS does?
 
11:07 PM
MySQL Workbench which has similar feature set is only 42 MB
Heck, even Oracle SQL Developer is 425 MB
 
Anyone using Pretty Table in Python? :-) I made a footer thing :-D
0
A: How to Create Footer for Python PrettyTable

Son Goku ssj4I know I'm late but I've created a function to automagically append a "Total" row to the table. For now NOT resolving if the column is wider than the table. Python3.6++ Function: def table_footer(tbl, text, dc): res = f"{tbl._vertical_char} {text}{' ' * (tbl._widths[0] - len(text))} {tbl._ver...

(Shamelessly trying to get points so I can finally comment things... :-D)
 

« first day (2530 days earlier)      last day (208 days later) »