« first day (1767 days earlier)      last day (2382 days later) » 

02:21
Hi everyone
 
5 hours later…
07:05
mornign
 
1 hour later…
08:09
ey reached 50 points
08:28
morning
morning
 
1 hour later…
09:53
0
Q: ComboBox in DataGridTemplateColumn is not resizing

Jake Conkerton-DarbyIntroduction to the problem I have a DataGrid that has a DataGridTemplateColumn, the template of which contains a ComboBox control. My problem is that when the displayed member of the selected item is too long to fit into the width of the ComboBox, then the width of the ComboBox does not expand ...

 
1 hour later…
11:12
Hi all
Hey Maverik
11:43
0
Q: How to prevent WPF+win32 app taskbar icon from changing to Citrix default icon when run in Citrix?

mattiI have a WPF application with lots of native code and win32 windows. Program's Application's icon is defined in VS2015 project as ..\gui\rc\MyApp.ico. When I start program in XenApp Citrix: Splash appears WPF Login window appears with correct App icon in taskbar After login a splash appears aga...

It's so quiet
WpfFarmer.GenerateTumbleweeds(5);
* * * * *
Lloyd, there's a history for that tumbleweed generator
When the room would get quiet, folks would say there are tumbleweeds rolling through
 
2 hours later…
13:26
Happy eclipse day, all!
Don't burn your eye out!
Roger that!
Our work bought a bunch of pairs of glasses for us
We're going to head out on the roof
Yea ours sent an email "while we know everyone wants to watch, we don't want you standing out there for 3 hours. Only peak eclipse time will be allowed for viewing in a 15 minute window"
or something like that
heh. I've got too many things to do to go stand outside for 3 hours. But I could see 20-30 minutes...
i didn't even buy glasses
wearing my fireman hat again today...BEE DOO BEE DOO
13:33
I'm going to point my phone camera at it and see what happens ...
Friend at work asked about glasses.
Lots of videos/photos online. No need to buy your own, which might not work right and damage your eyes
are you going to see the total eclipse ?
It'll be like 90+% here
Not total
Don't really care
Kinda have a "meh" feeling about it
have you seen one ?
13:43
Is this the most important thing in our world today?
Not in person, I don't think
one of the most incredible thing I've ever seen
Now, if we got an eclipse... and the moon just stayed there, that would be something
Twilight Zone
But for a few minutes, who cares
you make me sad :(
Sorry, I'm kidding :)
Of course I'm excited. Are you kidding me?! Last one here was 1979
I'm not really sad ;)
13:46
Question: There's a dba chat room somewhere, not the SQL room, it's kinda hidden
Anyone know what I'm talking about?
sorry, not me
No worries
14:00
apparently not...?
says isup.me
It is down for me
as well
weird they don't tweet it
Cloud is good when it works
14:15
does anyone know how to get a position of a point in a polygon relative to a grid. I want to anchor certain controls to the side of a polygon shape but the polygon will be changing at runtime.
grid position - polygon position?
i think there was a solar eclipse in europe around 1996
if i remember right
@Kcvin
Don't think that will get the points
just the location of the polygon
Wait
I am stupid
partial solar eclipses are fairly common; the total ones are not
that won't work at all btw, still I probably found the solution.
14:23
yeah
you need to find the point first... i assumed that you already knew that part.
@milleniumbug Not superstitious, but it portends important changes in the world. Just IMHO
relative to a grid, yes, you would have to subtract their positions, relative to the window. that's how offsets work.
i dont remember any solar eclipse in europe(croatia) in the last 10 years though... so they are not that common
i know they happened on other parts of the world :P
about every 18 months i read
I saw a partial one twice in my life, so I'd say it's common enough
OTOH, Poland saw a total eclipse in 1954, and will see the next one in 2135, so the only chance of me seeing a total eclipse live would be if I travel
14:36
oh you are from poland? i saw one during the 90's when i was still a kid
Once space travel becomes common, we can experience one anytime we want... just get our ship between the moon and the sun in the right position
that is cheating though :P
Yup!
I need a reminder, defining this in the view xaml x:Name="padView", how do I access this again in the ViewModel? public SignaturePad PadView {get;set;} ?
15:01
You don't.
You access a binding for a variable. What is the padView? A Listbox, or...?
Oh - a signature pad...?
Where is that control coming from?
@HappyCoding Is it this thing? github.com/xamarin/SignaturePad
@Kcvin @Alex did you see that we have another one coming up in 7 years? (apr 8 2024)
It's much closer to me, then... I'll be in 90% without going anywhere, and totality is only 4 hours away
Nice!
Yeah, it's odd to have another one coming up when it's been 30-40 years since the last one
(Wasn't it in 84 or something?)
I vaguely remember standing in the playground at school seeing it. I would have been 7 or 8.
Yeah.. May 30th 1984. I was 8.
Thought there was one in 1979, could be wrong
@LynnCrumbling Yes it's the Xamarin.Forms control SignaturePad
@LynnCrumbling yup, we watched it last night with the little one, that's why it was fresh on my mind
15:18
@HappyCoding It does not look like they implemented INPC
@LynnCrumbling My ignorance, what's INPC?
The interface that notifies when things have changed.
Oh ok, haven't seen that abbreviation before.
If you bind to .. say .. the Points member, you'd expect the viewmodel Setter to be called each time the points changed.
Actually -
that's the Points member...
Yep, nothing here is notifying.
They expect you to use code behind to call members.
Which means you'd need to wrap the event in a behavior to get proper MVVM
From what you're seeing, would it be much work to implement the notifying of the member and pull request the control's github?
15:30
I'm not sure what level of programming you're at. Yes, I would do just that.
@milleniumbug @Maverik Your thoughts?
@Julien @Kcvin Yours too.
@AvnerShahar-Kashtan for good measure, too.
sec - need to catch up :)
the use of an array property is a questionable choice
I haven't dug into code in detail - but isn't that points property supposed to return a path basically?
yea it is .. the comments states that "line" starts at {0,0} - so array makes sense :)
as for INPC - INPC is never really a lot of work but the chances of it getting accepted - i wouldn't do that without an issue and express go ahead from team
but their implementation doesn't appear to require change notifications so much - they rely on StrokeCompleted event - which I'd expect there to be one per path - until a Cleared was raised
if you really want INPC on top of that - just chain off those two and raise inpc
Double checking, the issue should be the following, right? "Hey, the INPC isn't implemented for the 'Points' member."
no it shuold be more like Why Doesn't X implement INPC - where X is the class name
still they do raise events - theres probably a historical reason for the way its done
could be as simple as avoiding a library dependency
INPC is prevalent in WPF world - Xamarin doesn't care much about WPF.. not yet at least and there are other ways of doing these things
like the 2 events they raise
if they raised INPCs - there'd be a lot more event spam than their current approach - it could be enough to bog performance down
15:53
So it sounds like I may want to wrap those events in behaviors, as Lynn recommended? I'll look into how to do that.
you could - i'd simply chain
19
Q: Is it possible to "chain" EventHandlers in c#?

plouhIs is possible to delegate events from inner object instance to corrent object's event handlers with a syntax like this: public class MyControl { public event EventHandler Finish; private Wizard wizard; public MyControl( Wizard wizard ) { this.wizard = wizard; // some othe...

Does this live in the ViewModel?
note in second option - he's not unsubscribing explicitly - you should do it as good practice at a location that makes sense for your project.. the code is given as an example and isn't complete.
that depends on where the event is being handled / chained
yes it would be in vm if you had to raise INPC .. since that's where target is
Thanks mav :)
Yes thank you, I'm still uncertain how I'll move forward ... I'll need to think on this more. So if I bind to anything, I should be binding to the Points member, right? There's no way I could bind to the SignaturePadView itself?
`<signature:SignaturePadView x:Name="padView"
                                    HeightRequest="135" WidthRequest="600"
                                    BackgroundColor="White"
                                    CaptionText="" CaptionTextColor="Black"
                                    ClearText="Clear Signature" ClearTextColor="Red"
                                    PromptText="Sign Here" PromptTextColor="Red"
                                    SignatureLineColor="Black" StrokeColor="Black" StrokeWidth="2"
16:09
You wouldn't want to - that's UI
You could bind to the Image property, if you'd prefer that over the Points array
This is the SignaturePadView in signature:SignaturePadView right? github.com/xamarin/SignaturePad/blob/master/src/…
don't know and honestly don't care much either
times like these I have answers that nobody likes
its best not to ask debugging type questions if you'd rather not hear my thoughts on matter
when in doubt - create a simple demo app and experiment
if you don't have time for you - nobody else will certainly find time for you
now.. enough of xamarin stuff - i'd rather see tumbleweeds now if xamarin is all we have left in room
I have it working in a demo app. The demo app doesn't follow the MVVM pattern ... trying to get it working again in the mvvm pattern.
well good luck is all i can
I do appreciate your help and feedback though so thank you.
16:19
np
ask about problem approaches - we can help there.. but specifics are just time waste especially in a framework we haven't used
Hate it when I can't find a song on iTunes, yet they have that artist
i've seen the same thing on last.fm
not sure about spotify - seen it on soundcloud but anybody can make anything there so i can't hold it against them
oh i like the initial graphic
The ugly way to do it... download vid from YT, rip the MP3, put on phone. But that's stealing
16:21
interesting music - a bit slow for work.. but sounds beautiful
aaa no?
It picks up though
as in why bother with all that
android phone?
iPhone :(
rip /wrists
Hehehe
16:24
beautiful track
PS: use adblocker if you don't alreayd before going to those "helper" sites
Yup, required at work on our browsers
required adblockers - thats a first :D
i hope they chose something decent! and not something that "whitelists" "acceptable" ads
AdBlock+
:( ublock / umatrix is the order of the day
16:27
@milleniumbug not worth it... just do a google search :)
intitle:index.of + mp3 + "taylor.swift" -html -htm -txt for instance
@milleniumbug Thanks!
use the app - and no need to rip anything :)
They've blocked soundcloud :(
I use a proxy for a lot of that stuff
@Kcvin interesting; makes me wonder how much music is just publicly searchable like this
everything popular, thats for sure
just gotta avoid the bad sites lol
16:30
It started with Napster and never stopped
yea its sad how few people know of google operators
a little creativity + operators and you can dig out ton of stuff
Maverik, that track is the kind of music I listen to at work
I use site: and that's it
Alex its pretty nice but I'd fall asleep
Listening to this channel right now: youtube.com/watch?v=PxaiVz3Vxqs
Yeah, it's not everyone's cup of tea
16:31
mil: even the "-" operator can be huge help
But to reduce stress/increase inspiration, it does wonders
oh and the quotes too
oh its my cup alright - just not in morning :D
W/ the amt. of caffeine I drink, no chance of falling asleep!
I always forget about the - and as a result, when googling commandline parameters, I never get what I want :D
16:33
yea i dont have caffeine normally (well not explicitly - it may get in my system unintentionally)
need to google gcc Wformat instead of gcc -Wformat, for example :P
:)
only thing i miss is a regex search of internet
16:50
mmmm chic fil a
17:00
@milleniumbug this
 
1 hour later…
18:08
@LynnCrumbling They said I could have a free fries today
They have some of the best food
18:26
well that was neat
Eclipse? And the world didn't end where you are?!
not yet
Still think it's omen of change
19:08
wwwwwwwwwwwwwwweeeeeeeeNO CARRIER
So.. it never got too dark here.
Really overcast looking
Yeah, same here
All that fuss for this?
20:03
lol
live broadcast was sweet
2099 and i'll be in path of totality
2099 and maybe we'll have spaceships to see it from space
 
2 hours later…
21:54
Hey all, does anyone here know much about ASP.NET? I've inherited a mature codebase and I've done PHP and C# WPF before, but there are a few things that I'm having trouble figuring out
AFAIR one or two people here were writing ASP.NET, but they're unlikely to be here at this hour.
Cool, thanks for letting me know. I'll try again in the morning.
@KyleHumfeld If you want a quick answer you probably want to ask somewhere else; otherwise you may post your question here now, and wait to see if someone will answer in the morning
I'm asking in the C# room as well, but that seems to be poorly populated at the moment
I understand the rudiments of the ASP.NET MVC framework, how to set up your directories and files and whatnot (and that VS does a lot of that for you), but this system requires a login to do anything (and I've found out what's forcing that, so I can disable it, in hopes of getting to the page at which I can create an account)
What I don't see is how the site knows which pages to require a login for and which ones not to (the LogOn page doesn't, but the others do, and I can't see any annotations or whatnot that would let me know that one does and the others do not)
Also, if there's some sort of command in ASP.NET that's similar to PHP's error_log() method, that would be super-useful to know about, as it's tough to figure out what's happening without that sort of trace-through (and while the site will run just fine when I point my browser to it, VS won't build it for some reason, so I can't use breakpoints)

« first day (1767 days earlier)      last day (2382 days later) »