« first day (990 days earlier)      last day (3159 days later) » 

12:44 AM
@AvnerShahar-Kashtan A ListBox with a custom panel
 
 
7 hours later…
7:27 AM
Hmm. Right now I simply called my DataTemplate three times, with different margins. It feels wasteful. Perhaps a VisualBrush option, like @JohanLarsson suggested.
I was hoping to avoid code and keep it all in XAML, but what can you do.
 
 
3 hours later…
10:27 AM
i need some help with styling the combo box and that datepicker.
 
Can Anyone Help me regarding Posting a Question?
 
 
1 hour later…
11:51 AM
@WaqasShabbir Sure, what is the problem ?
 
 
1 hour later…
1:11 PM
@AvnerShahar-Kashtan I've got a solution using the adorner layer...
 
@franssu Oh, that seems very nice. I'll give it a whirl later on.
 
 
3 hours later…
4:15 PM
oi
@DicksonXavier combo box is tricky, but doable, probably need to edit the controltemplate
 
hi :)
 
what I miss in C# :
if I want to break a long query
var x = a.b.c.d.e.f
I do it like this :
var x1 = a.b
var x2 = x1.c.d
var x = x2.e.f
as opposed to F# which would go like this :
var x =
  var x2 =
    var x1 = a.b
    x1.c.d
  x2.e.f
any thoughts ? :)
 
4:40 PM
a.b
.c.d
.e.f
no temp vars of course
if you need them for debugging
I don't mind the C# syntax persoanlly
 
i do the same, but indent
a.b.c
   .d
   .e
   .f
 
5:16 PM
Yea i do same as above ^
 
 
2 hours later…
7:23 PM
@franssu in F#, you'd typically do:
let x =
    a
    |> b
    |> c
    |> d
    |> e
    |> f
if it's queries, since you typically don't do fluent style APIs there
but youc an do the same thing you did in C# in F#
let x1 = a.b
let x2 = x1.c.d
let x = x2.e.f
there's nothing wrong with that
 
Do you do much drag & drop Reed?
 
a bit
not a ton, though
only in specific places as needed
 
Upgraded to Paket from Nuget
not exactly painless, though it does seem more reliable
 
@ReedCopsey so ad hoc where needed then?
 
@BradleyDotNET Did you use the converter?
or do it manually?
@JohanLarsson Yes, though I've got a self-written framework we use to make it easier
 
7:35 PM
open source?
 
I tried to use the converter
but it got stuck at a input prompt
wouldn't let me actually type the input
so I did it manually
checked the code and didn't see why it would be broken
it was in the package manager console fwiw
 
 
1 hour later…
8:37 PM
mmm -I think it may require doing it from a dev prompt
none of the F# stuff is written windows specific
so I'm not sure if hte PM console gets the environment all setup
@JohanLarsson Nope - its got a lot of stuff tied to my company's stuff
so didn't bother trying to strip it out
it's pretty simple in WPF, though
 
I guess the hard work is styling the visual cues
 
haven't figured out the running from a dev prompt yet
the "how do I use this thing" part of the documentation is rather lacking
 
I'm back :)
what I meant is the ability to define very local functions or variables
 
8:56 PM
@franssu in F# it's much easier to do local functions
but you can do the same format as C# for breaking up a query
 
yes but not locally
and you end up with details function at the same level as bigger ones
 
oh, I misunderstood
I thought you were complaining about how F# did it ;)
yes, I miss that when I'm in C# too :p
along with the other 1000 things that cause me to feel like death by paper cuts
 
It would have made more sense with a real example
 
so you are F# now franssu?
 
my favorite language yes
 
9:03 PM
nice, congratulations
 
but my day job is still in C#
I started to read fsharpforfunandprofit.com and couldn't stop
super exciting, like learning programming for the first time, even better :)
have to go the bed now, good night
 
@ReedCopsey open source all the things :D
 
 
1 hour later…
10:47 PM
lol
nah
open source lots of things ;)
 
so how do you run paket from command line
and how does it know which solution to act against?
 
have you tried running it from the package manager console?
 
yes...
had the issues I mentioned earlier
also writing to files even though they haven't changed is very annoying
since it makes you check out the file in Perforce
or at least turn off the write-protection
when running paket install I mean
 
Ask on SO?
Could be helpful to other people if it is hard to find docs.
 
11:04 PM
not a terrible idea.
maybe I can get an answer from Reed :)
well, thats interesting
no paket tag yet
here's the question:
0
Q: How to use paket from command line

BradleyDotNETI installed paket from nuget with: Install-Package paket I then tried to run paket convert-from-nuget. It stalled out on a user prompt (it wouldn't let me type into the package manager console). My next thought was to run it from command line, but how to do so is not documented. Just putt...

not encouraging for getting votes/answers :(
 
check out that, and tweet about it
Steffan is very good at responding on twitter, but he's not really on SO
but the project scaffold has all of the plumbing to run it from cmd line, VS, etc
there's also the paket vs integration - which makes it easier to edit and run
 
yeah, that worked worse than package manager console did :(
errr... tweet and mention fsprojectsgit?
not familiar with actually trying to talk to someone on twitter
shows how much I'm on social media :)
 
@BradleyDotNET I must +1 since I suggested it
 
thanks
breaking new ground! Bringing paket to SO
@JohanLarsson Did I understand the "tweet about it" thing right?
 
dunno, I don't even have an account
 
11:17 PM
lol, I'm not the only one!
 
I can spam you q in a couple of places hold on
 
I have an account, but pretty much never use it
@ReedCopsey non-twitter aficionados here, could you clarify how to contact Steffan?
You know you are a nerd when your primary form of social media is Stack Overflow
 
very pure
I chat all over the place
 
11:40 PM
just open an issue on github.com/fsprojects/Paket
you'll get answers pretty fast ;)
 
thanks for the tip, done :)
 
/me waves to the room. Ok, this may be a dumb question but is d:designinstance the preferred way to design time bind up your XAML or is the Galasoft ViewModel "IsInDesignMode" preferred? (Sorry, I'm kinda a newb at WPF / XAML)
 
I do d:DesignInstance
Main reason I do it is to get intellisense
and that R# autogenerates it :)
 
Hrm... I get intellisense when I do the service locator thing. I hit an issue over the weekend where the designer stopped showing my 'test' data but when I run the app live it's all there. That spurred me to do some googling and that's when I found out about the d:designinstance
To clarify I've been using the MVVMLight framework from NuGet
Anywho, that's besides the point. d:DesignInstance is more accepted as best practice in your experience?
 
I see it more than that other thing that I've never heard of ;)
 
11:55 PM
@BradleyDotNET Ha ha. Fair 'nuff
Thanks @BradleyDotNET @JohanLarsson. You've probably just saved me from running down a bad road :-).
 
d:designinstance is pretty annoying when there is no default ctor
Don't think I have ever sen IsDesignTimeCreateble = "False" do anything
DataType would be nice on contentcontrols
DataContextType perhaps
 
Hrm. Is it friendly for dependency injection?
And I can toss an example of what I'm experiencing out on GitHub. I'm just at that crossroads of trying to do things "right" without getting bogged down if that makes sense.
 

« first day (990 days earlier)      last day (3159 days later) »