« first day (1511 days earlier)      last day (2638 days later) » 

7:54 AM
morning
 
morning
 
8:38 AM
morning
 
 
1 hour later…
9:46 AM
-1
Q: Start menu will cover the Window when not open in Visual Studio

qakmakI have create a Window use WPF, I want to my Window always display on the top, So I just create a thread for it: System.Threading.Tasks.Task.Factory.StartNew(() => { for (;;) { System.Threading.Thread.Sleep(3000); this.Dispatcher.BeginInvoke(new Action(() => ...

 
Hey, is anybody here familiar with Castle Windsor IoC?
 
10:12 AM
I am not
But you could ask anyway, somebody may be able to help you.
 
 
1 hour later…
11:30 AM
My web service will perform updates about once an hour. From these updates, various messages might be returned by other offsite web services. These messages will be parsed and then needs to be presented in my client.
Should I go with basic polling or is it worth it to implement some callback functionality like with SignalR?
 
 
1 hour later…
12:51 PM
Good morning
 
Good morning
 
Mornin'
 
1:10 PM
Hope everyone's doing well
 
1:53 PM
Few things I hate more than trying to get UI virtualization working on a list that's deep inside a complicated visual tree.
Why doesn't it work? Is it because somewhere up the line something doesn't definite a concrete height? Maybe.
 
2:26 PM
maybe because virtualization only works at one level
 
I have other listsboxes where virtualization works, and at roughly the same level, so it's something specific.
 
think you need more JQueryβ„’
 
2:43 PM
"Needs more cowbells"
 
2:56 PM
I thought you were all about the tumbleweeds? :P
 
Well, out west, I can imagine hearing cowbells along with some tumbleweeds rolling through
:)
 
 
3 hours later…
5:51 PM
@AvnerShahar-Kashtan 10 to 1 that it's because you used StackPanel somewhere πŸ˜‹
 
Those evil StackPanels ;)
 
as I said, 95% of the layout issues I ever see, no matter who writes them, are because of StackPanel
 
Reed, have you done any web dev work, like MVC?
 
very little - and not with MVC
wouldn't pick MVC if I was doing it, either πŸ˜‹
 
6:02 PM
What would you pick and why? We're doing MVC
 
will probably be doing a lot more in a little bit
right now, would probably use Suave or Freya
maybe Websharper - depending on the use case
 
Hmm. Haven't heard of those
 
πŸ˜‰ Doesn't completely surprise me
if you look into them, you'd probably see why they appeal to me, though
 
Nice! They're F#
All 3 are F#
Yep, all very nice technologies
 
I look at the routing options here - suave.io/composing.html
and compare it to ASP.Net MVC
and ... no comparison to me πŸ˜‹
Websharper is pretty awesome because you can write an entire web stack without touching Javascript
with complete sharing of types, etc
(and it now supports C# in addition to F# - though it's better from F#)
 
6:24 PM
@Reed what do you think about this?
 
shrug
 
why so shrug?
 
probably would be worth making the return type disposable, but... there's probably a lot of cases where you'd turn that off
because it's on purpose, too
 
so no check for that then
potential perf issue also
although roslyn uses async in a nice way
@ReedCopsey I don't control the returntype in the analyzer
could be another rule saying that returntype must be : IDisposable
that is perhaps nicer
 
I thought that was what you were checking
    public static object CreateDisposable()
    {
        return new Foo();
    }
I thought that was the point - that it's returning something that's disposable but return type isn't
 
6:31 PM
oh, the expected error position is indicated by the ↓
 
ahh
 
the field is assigned with a created disposable
should have told you about the ↓, sry
the analyzer is about to get awesome :)
 
7:13 PM
@Johan Sorry for the spam :p
 
why do i always get this debug output
Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'ListBoxItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
i get it for vertical alignment as well
 
@ReedCopsey my contribution is pretty null hope I can at least change that to Noneat least
@Julien why do you specify ancestorlevel?
 
You did contribute, though :p
 
was the issue the spam?
 
yes
 
7:26 PM
small values of spam, had to make sure so I did not miss the real spam :)
 
i am not specifying any of that stuff
i am just using listbox items
    <Style TargetType="{x:Type ListBoxItem}">
        <Setter Property="HorizontalContentAlignment" Value="Left" />
        <Setter Property="VerticalContentAlignment" Value="Top" />
    </Style>
i put that in app.xaml and it stopped
 
7:48 PM
ok, never seen the warning I think
 
8:39 PM
@Johan You don't a lot with fake and/or paket around publishing nuget?
 
8:51 PM
I don't understand
@ReedCopsey I don't use fake, been planning to start at some point but time.
 
I push manually
 
you package manually, too?
 
yeah here is a pretty typical template
 
you use paket pack, though?
 
8:59 PM
and here is a pretty typical readme for the paket stuff
 
have you done anything where the repo has >1 package?
I'd like to simplify the publishing workload in Gjallarhorn, but it's a bit nasty because it's 3 nuget packages, all which refer to each other (and need updated versions each time, etc)
though, to be honest, I'm considering breaking it out into separate repos
 
My workflow is:
0) commit actual changes.
1) find replace version number
2) commit bump version
3) build release
4) `.paket/paket.exe pack output publish` in package manager console
@ReedCopsey projects referencing projects that are other packages are a breeze with paket here is a setup for that
 
i want to present a UI inside my WPF app that allows the user to select an icon from the material design icon pack
 
creates this package that references the non-wpf package
 
what would be a good approach?
 
9:03 PM
@ReedCopsey I'l make a pr for it, write an issue with the spec?
 
enumerate through the enum icons, and build a giant popup window?
 
sounds reasonable
maybe a modal dialog instead of a popup but dunno
in a modern app I would make a link to a config page
I try to avoid popups & dialogs in general
 
i could switch out the whole page template
we'll see
having a lot of fun with a new WPF app
starting out is always the best. lol
 
10:01 PM
Does LocalDB fire up a process, a server, like SQL server does?
Or does it create an in-process engine?
 
10:36 PM
More event handling fun. I have a stack panel with a button on it. If I assign an event handler to the PreviewMouseDown on the Stack Panel, the button doesn't work. If I'm not setting Handled=true, why isn't the button receiving the event?
Or, why can't I click the button?
Oi. Never mind. Mouse.Capture issue
 

« first day (1511 days earlier)      last day (2638 days later) »