« first day (1620 days earlier)      last day (2529 days later) » 

4:05 PM
hmm, can't push it does not like my credentials
 
mm..
i normally stick with SSH keys.. so not sure
also i'm assuming you used github linking.. so your actual username/password will be random stuff
 
worked now
flame it
There is one pretty big smell, the style for textblock in app.xaml
It is not keyed and adds a margin, not nice.
I could not come up with a name for the style :)
I used a readonly textbox for fullname, maybe textblock with stringformat binding is better
 
sorry i'm slightly thrashing right now :)
 
maybe we should just duplicate vertical alignment & marging for the textboxes
first I added the style as a resource in the grid but it looks complicated to a beginner
should probably have pred it for review
 
curious: why do you have .net 4.5.2 as target instead of 4.6.2?
some of the good stuff is 4.6.1+ in nugets - especially EF
 
4:18 PM
no reason, vs created it like that
 
oh ok - i thought may be you're limited to 4.5.2 - cos i was just wondering the same about your TOC generator
 
that was created pre 4.6 irc
 
regarding the app.. I think implicit style is voodoo for a starter sample.. we should avoid it
 
yeah, it is not nice
but it looks so shitty without it
 
but i like your DataContext assignment - folks need to use it like that so designer offers proper help from the get go
 
4:19 PM
duplicating it is not the end of the world but still a slight smell
 
well we can do it the way noobs would - inline style
i'd add slightly more margins to it.. a "4,8" perhaps
 
do yu all have write access out-of-the-box?
 
user7442629
How can I make a method like DateTime.AddDays? It can't be contained in the DateTime class since 'Extension methods must be defined in a non-generic static class', so is it contained somewhere else or is it not an extension method?
 
yea all group members should have it
 
4:21 PM
as long as project belongs to group and you haven't explicitly changed it
all ROs are masters in there by default
 
we should make a Sample with a simple style
 
(well i set them to that when they request access)
 
and a listbox with itemtemplate
 
its all well and good but we need something more important: documentation
 
I refuse to make something named MVVM :D
 
4:21 PM
why is it the way it is kind of :)
VM^3 ?
 
as in comments?
 
nah blog post
we have https://so-wpf.gitlab.com/* available by default to us
 
ok, not for me, i can't engrish
 
@Aleksbgbg It's just like the error says
 
so what i looking at what can we use for site generator
 
RelayCommand is another sample
 
Hugo sounds good as it's cross platform and supports markdown
 
user7442629
So the System namespace also includes an extension class for DateTime?
 
what
 
@JohanLarsson i wouldn't jump straight into that.. it shuold be introduced as an improvement to ICommand for trivial implementations
 
4:25 PM
DateTime.AddDays is a regular method
 
creating a ++ operator on DateTime is a very bad idea btw
 
user7442629
I thought only extension methods can directly operate on something using '[class].Something'
 
user7442629
Why is that?
 
umm you should read up on Object Oriented Programming if you haven't already
and then this should make sense: DateTime owns AddDays method.. as it owns many others
generally speaking methods coming from framework are not extension methods if they're operating on a specific instance
 
44 mins ago, by Aleksbgbg
If I wanted to override an operator and add some logic in a class, can I do it in a Model? For example like DateTime, except when you do DateTime++ it's the same as doing DateTime.AddDays(1)? Or a ViewModel somehow?
 
4:28 PM
they're generally class's own methods getting invoked - unless something was retrofitted on to the class.. which is when an extension method (it's in the name!) come into play
 
I'd probably rethink your approach
 
whoa.. congrats milleniumbug - when did you quietly go past 10K :D
 
It was a while ago I think.
 
its been a long time but i only remember you at 9k :)
generally his text isn't enough to expand and show his rep so i just noticed it
 
4:29 PM
yeah it was around dec 2016
 
scary tags
 
well I just caught up :)
 
bug is rookie of the year in chat
from beginner to intermediate in days
A prodigy.
 
@JohanLarsson :) yeah, I tried favoriting , but no one is asking dumb language questions so I can't bump my tag score that easily
 
I'm still a n00b
 
4:31 PM
nah, you were rookie of the year 2016
 
ok now.. let me say this again... Johan - you need to slow down with samples and we need to think of a plan
 
:)
 
@JohanLarsson it's mostly ASP.NET, EF and I know nothing about them
 
for that - we should create milestone & issues... as in what are we planning to achieve.. one coverage area per issue i'd say :)
 
@milleniumbug Should be some linq & regex dupes also.
 
4:33 PM
gitlab can then generate kanbans out of those and also let you know if somebody else is on something
 
ok, how do we minimize the bikeshedding?
Idea: we let @Reed decide what is best.
 
i doubt thats a good idea
we'll drag him into something that'll just waste his time
 
I don't mean he needs to write anything
 
well what do you reckon we can consult him on that we can't figure out ourselves? :)
 
Another idea could be to create another org: WpfChatSamples
 
4:35 PM
i mean we are talking hand holding samples
I was thinking more MVVM-Samples as a sub-group of so-wpf
 
sounds good, never heard of sub groups before
 
and the project names could include number that indicates their starting position in complexity
 
that is also good
how does gitlab sort repos?
 
but again.. this needs to be talked out - complexity is a subjective thing so we need to agree on what is starter complexity.. how far do we want to draw this out
 
@JohanLarsson sooooo true
 
4:37 PM
by name I'd imagine - i haven't tried this before
 
reminds me of the DocumentFactoryBuilder in Apache Java XML parsing library
 
@Maverik We are talking now
Can we put together a draft in a gist or something?
Then pin it so that people can object
And if no objections gogogo or null
 
well yea we can do it but it still needs input from some of the other folks no? so we can't exactly rush this?
 
yeah, I did not mean to exclude anyone
 
user2509848
What's under discussion?
 
4:41 PM
we're thinking about a best practice mvvm sample series
drawing on our collective experience in this chat room
 
@Hosch250 we are putting together a collection of small wpf samples for beginners
stuff that gets asked over and over
 
user2509848
Oh, I see.
 
so that they can clone and play
 
given that some of that 2010 stuff plaguing the internet has no counter to it for newer apps
 
and maybe some blog thing alongside
 
user2509848
4:42 PM
You know there is a similar project on CR, except they are doing articles about constant problems.
 
CR.. code review?
 
user2509848
Yeah, I think they are hosting the articles in GitHub.
 
yea it's a bit hard to show people there can be another way :)
but i think with the acquisition of gitter - that'll change
(in case you're not aware - gitter is now owned by Gitlab)
 
user2509848
So, what about writing articles for SO.docs?
 
user2509848
They couldn't clone it and play with it, but they could copy/paste it.
 
4:43 PM
dunno
 
articles - there's plenty of those
 
I think small runnable samles can be nice
 
SO.docs is unfixable garbage so meh
 
we're talking code that takes you from a-b
 
also no zip files
so that we can link to lines etc
 
user2509848
4:44 PM
OK, so what decision needs to be made?
 
well right now.. nothing - we're just trying to brainstorm a list of stuff that should get covered.. (which is relatively easy)
and what complexity order to put that in (hard because we have different perceptions of complexity)
 
- Naming
- One repo with branches / many small repos
 
yea then there's that ^
 
user2509848
@JohanLarsson One repo with many folders?
 
user2509848
Each master folder has one example?
 
4:46 PM
yeah, another option
 
i like the staged banches approach cos it shows snapshots - if you mess up you just revert to closest stage commit
 
I'm voting many small repos btw
 
Johan's of the opinion that we shuold have multiple repos
 
Makes cloning breaking and reverting easy
 
user2509848
Many repos under one organization sounds reasonable.
 
4:46 PM
also gitlab vs github vs bitbucket
 
@milleniumbug what do you think?
 
user2509848
I don't like having each feature in a branch--branches are supposed to share history.
 
user2509848
@milleniumbug I'm used to GitHub, never used GitLab except for Gitter.
 
that's not really a vs as such -- their business models easily decide that milleniumbug
github wants you to pay for everything they offer in enterprise
 
user2509848
@Maverik I've been getting along just fine by using the free options.
 
4:48 PM
gitlab gives you everything for free that in their enterprise offering with regular update every 22nd of the month
 
user2509848
I don't even know why anyone would pay except for private repos, and we don't want that.
 
I'm not sure you can speak for all of us :)
 
user2509848
Hmm, I'll have to look into switching.
 
I for 1 do care about private repos
 
user2509848
@Maverik I'm sure I can't.
 
4:48 PM
its the stuff that i'm ok having some of the guys here looking at but not for public consumption because it's on no such state
 
user2509848
@Maverik Sure, but for this project, we don't want the repos private.
 
yeah, but do we need private repos for samples?
 
or perhaps licensing is an issue
no not for samples - so-wpf already exists in gitlab
so we're simply using the existing state
 
user2509848
Well, you guys pick for this one.
 
handy to have a builtin CI solution instead of having to look to appuyer or something of that sort
 
user2509848
4:50 PM
I can make simple binding examples for different controls, maybe--I'm already getting stretched thin. I've promised commits to Roslyn and the F# tooling in/around May, and Rubberduck is demanding my attention.
 
I also don't like the limitation of having to only use Jerkyll for pages
that didn't work Johan
 
fixed the link, try again
 
PS if anybody else knows of another engine for github.. please feel free to correct me
 
user2509848
GitHub or Git? Because there is BitBucket that works with Git.
 
4:52 PM
sigh.. too much of a hurry to do stuff mate.. honestly .. slow down!
 
I like the idea of using gitlab, fun to try it
One downside with gitlab is perhaps visibility
 
here's another option for samples: multiple repos with multiple branches
 
@Maverik can't do it, manic
 
each repo covers an area - each branch shows you how to get there
 
Wonder if Slack allows samples
 
4:53 PM
Holy heck, did this casual idea take off :)
 
We're using the free version and can share code snippets
 
well Johan's on it.. so of course
 
branch per sample doesn't really work
 
But maybe not full-blown samples
 
he's already spitting out samples so its hard to slow him down!
 
4:54 PM
He's on FIRE!!!!
 
I'll delete it, np
 
but what do you think of the hybrid idea?
one repo doesn't show you how to do something ... it just is
but we don't want to litter it with a million branches either of course
 
The idea of bikeshedding triggered me :)
 
i have to look that one up
 
only 3 votes, maybe some alternatives are missing?
 
4:56 PM
What color should the bikeshed be?
:)
 
user7442629
What is a uhm
repo
 
HotPink, that one is easy
 
@Aleksbgbg repository, a git thing
 
user7442629
Oh a that alright
 
4:57 PM
good question, sry about the sloppy
 
user7442629
Yeah the shortening got me, alright I voted in the strawpoll
 
how will folder per sample work with branches revealing more?
I'm thinking it can create a branch explosion
 
user7442629
Johan how long have you been involved with WPF
 

« first day (1620 days earlier)      last day (2529 days later) »