« first day (1693 days earlier)      last day (215 days later) » 

12:00 AM
RELOAD!
[rubberduck-vba/Rubberduck] 5 opened issues. 1 closed issue. 10 issue comments.
Minesweeper: Games Played: 163, Bombs Used: 72, Moves Performed: 20983
3
 
12:27 AM
@IvenBach yes
 
@Duga that's a lot more games! Simon should be happy
 
@Marc-Andre I was just about to say that.
The only thing I'm not that happy about is this:
1 hour ago, by Duga
Splunk Alert: RejectedExecutionException - [count:33]
in VBA Rubberducking, Mar 16 at 0:03, by this
#ProTip: Maybe try and not talk over Duga at UTC midnight....
^^ lol
 
Does Duga post all the build stuff over in the other room?
I don't know why I thought it would only log rubberduck related stuff in the other room
 
@Marc-Andre It's only Rubberduck-related over in that room
 
Ok but the linked chat does cover all our repos for the reload though
 
12:51 AM
Oh
 
@Marc-Andre For the reload, she posts a summary of all the day's events in both rooms.
TTGTB
Two more episodes to watch of The Bridge
It's so exciting dammit!
 
Here's a long but very interesting (from an InfoSec industry standpoint) look at the Norsk Hydro attack from Tuesday: doublepulsar.com/…
 
1:18 AM
@jesslynnrose 1/ Several jobs ago, I was working vendor support at an insurance/warranty place. One vendor's systems kept sending files with missing product information because the cashiers would fail to properly scan the products at POS. This was really frustrating for consumers.
Only a few here are veteran enough to CR to remember when I was going through this, but for others, maybe you will find it inspiring/interesting :)
That was back in like 2014
 
2:00 AM
TTQW && almost Friday :D
 
@Phrancis Oh yes :)
 
2:16 AM
Change some controller to ResponseEntity

Also tested to return a validation error. I'll need to iterate on that.
 
OH YEAH ! A commit again :)
2
GG to me :)
but now I need to go to bed! Talk to you all tomorrow!
 
 
4 hours later…
6:39 AM
@Phrancis mind giving me a code review on github.com/IvenBach/BeehiveManagementSystem? I used an enum to house the values instead of strings since that's what I've been doing for VBA.
@Hosch250 ^ You able to do a code review on it as well? It's 5 or 6 simple classes for a WinForms application.
</iven>
 
6:52 AM
@bruglesco you too if you’re up to pointing out the flaws with my code.
 
 
1 hour later…
8:06 AM
@IvenBach Just had a very very brief look. I think it would be better to always state the accessibility of your classes and instance variables. E.g. neither the class Queen nor its instance variable workers has it specified. Moreover, it would make sense to have a district style firm instance variable names. AFAIU, a leading underscore is customary in C#.
 
 
1 hour later…
9:28 AM
It is also a bit surprising that the function Worker.DidYouFinish is side-affecting.
 
Hi @M.Doerner! Who are you, where did you come from? :)
 
10:03 AM
Hi @SimonForsberg, I am a regular contributer to Rubberduck and found this chat via a link posted by Iven over there.
 
 
1 hour later…
11:28 AM
@M.Doerner Ah, I thought I recognized your name
 
[SimonForsberg/minesweeper-server] Simon Forsberg pushed commit 2a2ef57 to master‌​: Reduce GONE messages sent
[SimonForsberg/minesweeper-server] Simon Forsberg pushed commit bba1bd1 to master‌​: Fix Internal Server Error
[SimonForsberg/minesweeper-server] Simon Forsberg pushed commit adff575 to master‌​: Fix details HTTP check
[SimonForsberg/minesweeper-server] Simon Forsberg pushed commit fe214bc to master‌​: Add details HTTP check
[SimonForsberg/minesweeper-server] Simon Forsberg pushed commit 89432c2 to master‌​: Move cleanuser logging
[SimonForsberg/minesweeper-server] Simon Forsberg pushed commit 3f9df23 to develop: Merge master into develop
[SimonForsberg/minesweeper-server] Simon Forsberg pushed commit 2a2ef57 to develop: Reduce GONE messages sent
[SimonForsberg/minesweeper-server] Simon Forsberg pushed commit bba1bd1 to develop: Fix Internal Server Error
[SimonForsberg/minesweeper-server] Simon Forsberg pushed commit adff575 to develop: Fix details HTTP check
[SimonForsberg/minesweeper-server] Simon Forsberg pushed commit fe214bc to develop: Add details HTTP check
[Zomis/minesweeper-flags-client] Zomis pushed commit 70e7fc56 to develop: Avoid INCG spam by overwriting existing incomplete games
[Zomis/minesweeper-flags-client] build for commit 70e7fc56 on develop: This commit looks good
 
11:55 AM
@M.Doerner That's firmly argued.
Many people say _ is just a form of hungarian that should be avoided.
Others say it prevents needing this in various places, and it separates fields and variables.
 
Personally I prefer without the _
 
OK, so #1: Your use of arrays is an abomination.
            var workers = new Worker[4];
            workers[0] = new Worker(new[] { BeeJobs.NectarCollector, BeeJobs.HoneyManufacturing});
            workers[1] = new Worker(new[] { BeeJobs.EggCare, BeeJobs.BabyBeeTutoring });
            workers[2] = new Worker(new[] { BeeJobs.HiveMaintenance, BeeJobs.StingPatrol });
            workers[3] = new Worker(new[] { BeeJobs.NectarCollector, BeeJobs.HoneyManufacturing,
BeeJobs.EggCare, BeeJobs.BabyBeeTutoring, BeeJobs.HiveMaintenance, BeeJobs.StingPatrol });
Arrays have very limited support in C#.
They are essentially only useful for static collections. Your list of jobs is a good use for an array.
But not your list of workers.
Arrays were mostly given a back seat in C# 2 when generics and better lists were introduced.
I would've named DidYouFinish to IsShiftFinished.
I hate first-person and second-person in my code.
DoThisJob would become DoJob or ExecuteJob or something.
(shiftsWorked>shiftsToWork) put spaces around your operators.
Strings is a slightly dangerous name as it is quite close to String, which is the type name behind the alias string. Give that a more descriptive name.
Otherwise, it looks reasonably good.
BeeJobs = new Dictionary<BeeJobs, string>
{
    {BeehiveManagementSystem.BeeJobs.NotAssigned, "Not assigned"},
    {BeehiveManagementSystem.BeeJobs.BabyBeeTutoring, "Baby bee tutoring"},
    {BeehiveManagementSystem.BeeJobs.EggCare, "Egg care"},
    {BeehiveManagementSystem.BeeJobs.HiveMaintenance, "Hive maintenance"},
    {BeehiveManagementSystem.BeeJobs.HoneyManufacturing, "Honey manufacturing"},
    {BeehiveManagementSystem.BeeJobs.NectarCollector, "Nectar collector"},
    {BeehiveManagementSystem.BeeJobs.StingPatrol, "Sting patrol"}
I'd use a .resx file for those hard-coded strings.
Makes it a heck of a lot easier to translate later. Not hard to set up, but hard to shift later if your app gets big.
We went through this in RD at one point, and are half-heartedly doing it at work (new systems get resx files, existing remain hardcoded).
Same with your other hardcoded strings throughout the app.
As for me, TFW you get assigned a ticket about a widget that displays raw HTML content not working because the person in charge of setting up the ticket doesn't know how HTML works and entered it wrong for what they want (a link that links to an ID on the page...)
Looks like it's from special characters and spaces being used in the ID...
Hmmmm, nope. Working on dev with same characters (even though that is just the browser handling it gracefully...)
 
12:23 PM
[SimonForsberg/minesweeper-server] Simon Forsberg pushed commit add475b to master‌​: Send EXIT after cleaning up from game
 
WT* is up with this? I copied the exact content down to dev, and it works.
 
12:34 PM
[Zomis/minesweeper-flags-client] Zomis pushed commit 39fa2113 to develop: Sort users, even though it looks weird when using two columns
[Zomis/minesweeper-flags-client] Zomis pushed commit dcaf8f83 to develop: Make IncompleteGame and LobbyGame look similar
[Zomis/minesweeper-flags-client] build for commit dcaf8f83 on develop: This commit looks good
 
Nice, commits :)
2
I'm seriously stumped here. And we don't have versions on our widget settings so I can't even compare the version that worked to the new version.
I guess I'll just run it through an HTML validator.
 
1:02 PM
Good morning everyone!
 
Good morning!
Your issue from yesterday resolved yet?
@Hosch250 At least, not yet. My prototype does.
 
No but I'm not the one fixing it. Someone with more experience on that part of the system is looking at it
 
That's always a good solution. Until you are the one with more experience on that part of the system.
Been on both sides of that coin more than once.
 
Ahahah
 
@Marc-Andre Morning!
 
1:07 PM
[Zomis/minesweeper-flags-client] Zomis pushed commit c0a12f1a to develop: Add more animations when for Lobby SmallBoxes
 
Oh I forgot something
Have a nice day everyone :)
 
@Marc-Andre I thought something was missing :)
 
[SimonForsberg/minesweeper-server] Simon Forsberg pushed commit d936e4f to master‌​: Remove observer before sending OBSQ to prevent loops
 
1:26 PM
In other news, I told one of our architects about my prototype, and they are very interested.
I have a feeling there's going to be some productive debate on some points, but unproductive on some others.
They are really into strictly following (and over-using) design patterns.
Including some that are supposed to be used in more specialized cases.
And they just kind of act dismissive when I raise concerns. Like, they are the architect, I'm the lowly, inexperienced dev, and I should just do as I'm told. So, we'll see how it goes.
Have I mentioned our yard is the low spot on the block?
We get ponds every year, but that deep freeze, then all the snow combined to give us the largest one ever.
 
About 80 ft long (our yard is 50 ft, our neighbors is 50, and it crossed our yard from the property line +/- an inch or two and 3/5 of the neighbors (measuring by fence posts for the neighbor's).
It was at least 40 ft wide, and 2.5 ft deep at the deepest point.
It's dropped at least half a foot now, and has shrunk by quite a bit.
 
2:19 PM
[Zomis/minesweeper-flags-client] Zomis pushed commit 522af113 to develop: Add TimeAgo component to show when game was last active
[Zomis/minesweeper-flags-client] Zomis pushed commit ad299601 to develop: Remove logging of LIST data
[Zomis/minesweeper-flags-client] build for commit ad299601 on develop: This commit looks good
 
2:59 PM
posted on March 22, 2019 by CommitStrip

 
3:26 PM
[Zomis/minesweeper-flags-client] Zomis pushed commit db3d9f8b to develop: Change GameResult dialog to support mobile better
[Zomis/minesweeper-flags-client] build for commit db3d9f8b on develop: This commit looks good
 
3:37 PM
@M.Doerner Side affecting as in shiftsWorked++ and the asignments inside the if (foo) { assignments made here }?
@Hosch250 Honesty, thy name is Hosch.
To be fair I was lazy and followed the books code for most of it.
 
I figured.
O RLY books don't make sure their authors follow best practices.
 
I'm not yet into nit picking the books examples.
 
That's one really awesome thing about Manning books. They only publish the best.
 
I'm blindly following the code so I can focus on getting used to UI things. That's what has been most helpful so far.
 
If I end up getting enough blog posts targeting entry-level programmers to make a book, I'll definitely try to work with them.
 
3:42 PM
Still going through your review.
@Hosch250 I already see the benefits of it. Just haven't connected the mental dots to see how to write it so you can change the language. Need to see how rubberduck does it.
 
@IvenBach You set the language on the thread context.
Then it automatically gets the value for the language.
 
Thread content?
 
Thread context.
 
#ReadingFail
 
It's more or less just metadata for the thread.
 
3:48 PM
Thread as in a backgroundworker thread?
morning spell This good at I not am.
 
Oh WTF... I think I'm understanding that link. Time to try it out.
@bruglesco F7 is also handy to get back to the coding pane when another window , Solution Explorer or Properties, has focus and you want to get back to coding.
#TIL Esc does the same.
<kbd>Esc</kbd>
Can't use kbd tags.
 
4:37 PM
@Hosch250 when writing class diagram is there a convention that states only include public members?
 
Basically.
Private/internal members are implementation details.
 
:+1:
 
5:00 PM
Friday Facts #287 - Just bugs again https://factorio.com/blog/post/fff-287 #factorio #gamedev https://t.co/90Bz6EoXCI
 
5:22 PM
Monking!
@IvenBach First item of business, your main folder is named BeehiveManagemestSystem so fix that typo X)
 
The typo is because I didn't get the TPS report.
 
Mwahahaha
Bloody Windstream phone service is down in Houston again
 
5:40 PM
hey
 
hey @skiwi
 
5:58 PM
@Hosch250 Do you know of a way to migrate a Form.Designer.cs file into a form?
 
What do you mean by that?
You mean the UI designer?
 
I created an new solution and copied the contents of a project in.
 
Oh.
So, you can't just create a .cs file.
 
Form1.CS in the source has a Design.cs and Form1.resx "inside" if it in the Solution Explorer.
 
You have to create the user form from the thing.
Yes.
So, create a user form from the add new window thing, then just copy/paste the CS into the design.cs file it creates.
 
6:00 PM
So manually add a new one and copy the contents over?
 
Yes.
It's stored in a specific format in the .csproj so it knows it's a winforms control.
So you need to add a new one and copy the content over.
 
Any idea why it copies them over separately Ah.
 
And the UI and designer.cs files are linked, just like the properties window in WPF.
The properties window is also linked in this one.
 
Do you know where that linking occurs. More specifically which files tells them the should be linked?
 
That's in the .csproj format.
I've a remote meeting any second.
  <ItemGroup>
    <Compile Update="**\*Window.cs" SubType="Form" />
    <Compile Update="**\*Dialog.cs" SubType="Form" />
    <Compile Update="**\SettingsForm.cs" SubType="Form" />
    <Compile Update="**\SimpleListControl.cs" SubType="Form" />
    <Compile Update="**\Splash.cs" SubType="Form" />
    <Compile Update="**\*.Designer.cs">
      <DependentUpon>$([System.String]::Copy('%(Filename)').Replace('.Designer', '')).cs</DependentUpon>
    </Compile>
    <EmbeddedResource Update="UI\**\*.resx">
 
6:02 PM
The WinForms doesn't have a .csproj format. I'll copy them over.
 
It's those <DependentUpon> things.
@IvenBach .csproj is the project file that tells it how to do it.
Anyway, GTG.
The .csproj tells the compiler how to compile it.
 
I'll keep digging to figure this out.
 
6:15 PM
It's in the folder but I can't figure out how to csproj from Solution Explorer.
 
@IvenBach You don't...
In .NET Framework, the .csproj is represented by the "folder" for the project.
Same in .NET Core, but you actually can open it and edit it my clicking on that node.
 
@Hosch250 In RD you can right click on the project name and view the csproj that way.
 
Yes, should be same here.
Hang on, mega fire at work.
 
No rush at all.
I'm asking these open question to make sure I grok everything correctly.
^ That's what I was expecting to see, as per RD.
Is there another way that file can be brought up and viewed from VS?
 
6:34 PM
Once they selected the other proposal, we could have kept shopping ours around, but we would had to modify it include an aqueduct over their canal, which would be totally unreasonable.
2
 
@Feeds LOL
 
6:56 PM
@Feeds That's my kind of humor.
 
@IvenBach Try just clicking on it?
 
As in double click?
 
Single-click.
 
Just selects it. I'm not understanding the obvious.
 
7:15 PM
OK.
Not sure what's up.
Probably for some reason aren't allowed to edit that one.
 
@Phrancis This bee example is a good one. I'm onto inheritance with it now.
 
@IvenBach Yeah I really liked how it went about explaining & demonstrating inheritance
 
I've already done inheritance but couldn't get a feel for it.
Till now.
Flipping through it's not till Ch15 that delegates are shown. I don't feel as bad about struggling with them as I did.
 
7:38 PM
Well, found and fixed a bug with my userscript for auto-filling service tickets :)
2
 
@bruglesco Ctrl+M, Ctrl+C Collapse to definitions - Just like using Ctrl+M, Ctrl+M for every member in a class.
 
8:27 PM
Ctrl+. Quick Actions For Position - to display context menus and simplifying collection initializiation.
 
8:39 PM
Phrancis & Brug easter egg on pg306 top left corner of Head First book.
 
LOL
 
@Hosch250 Last time I read through docs.microsoft.com/en-us/dotnet/csharp/language-reference/index I didn't get much out of it. I feel the need to reread it. What have you done to me? Everything's :click:ing into place.
Mind you whatever it is I'm thankful for.
Never realized you could get this giddy reading documentation.
 
8:55 PM
@IvenBach Good documentation is a joy. Too bad not all languages have good documentation (looking at you Java, PHP). Focusing on any particular section?
PHP: Where the comments under the documentation articles are more useful than the documentation itself.
3
 
When I first found the pond sensei Hosch pointed me to documentation and I dutifully read.
I couldn't grok everything I was reading, then. Oh how times have changed...
 
9:52 PM
@Phrancis That sounds toxic.
 
10:11 PM
@Phrancis pg313 mtehod is misspelled. Cruising through examples.
 
@IvenBach lolz. Well you are passing me by. I'm at the start of that chapter.
Keep up the good work
 
I'm not being assigned tasks at work... That's why I'm able to get so much done.
I also brute forced my way to semi-understand this a year ago.
 
10:39 PM
@IvenBach Yeah it's pretty terrible, I'm glad I've never had the displeasure of working on PHP (only looked up docs for Code Review purposes)
 
It sounds like a sub-optimal solution anyway you look at it.
No firsthand experience so I can't judge accurately.
 
@Phrancis Java not having good documentation? I'm a bit surprised
 
@Marc-Andre Well, it was a few years since I last looked at it, maybe it's better now, or maybe I just didn't understand it well. My impression at the time was that some example usages would have helped make it better, like Microsoft and Python (and others) often have.
 
11:20 PM
I haven't worked with a lot of languages, but the documentation for C++ is pretty solid. Whatever you might say about the language, it's existent documentation is not one of it's weak spots.
btw hey everyone
How is Friday going for you?
 
@BradMossEsq Now that's better!
@bruglesco Better now! ^^ :)
 
hahaha
 
How is your Friday?
 
Mueller?
Only made it through 40 pages. Was hoping to hit ~75.
 
11:37 PM
Mine is good. Wife is out of town and kid is sick. I'm about to do bedtime so that's when the excitement starts.
Then I can learn things after they fall asleep.
 
Keep the excitement for programming alive. Hope my hotkeys have been helping.
 
@IvenBach Yeah its kind of fun. 1. It's nice to get random pings at work. 2. It makes me feel accomplished when I know them already. 3. If I don't know it then I learn something.
 
I'll keep it up them. I'm really trying to understand this because properly coding will help me for the rest of my career.
I've had great help with Hosch and the other ducks at the pond.
 
11:57 PM
Enjoy the weekend all.
@bruglesco get some good coding done tonight. The hard work will pay off. It took me ~2years to finally :click: and you gotta be brighter than I am.
</iven>
 

« first day (1693 days earlier)      last day (215 days later) »