« first day (651 days earlier)      last day (3498 days later) » 

1:26 AM
Hi everyone can anyone know how to do glowing effects in wpf? i want to create a circle/round icon(image) and want it to glow like this. please refere to this link to see what i mean. tympanus.net/Development/IconHoverEffects
the one with the violet background.
Hi everyone can anyone know how to do glowing effects in wpf? i want to create a circle/round icon(image) and want it to glow like this. please refere to this link to see what i mean. tympanus.net/Development/…
the one with the violet background. an anyone help me please thank you.
 
 
1 hour later…
2:32 AM
0
Q: Holding event fires on untouched items in ListView

pcnThirdI have a UserControl with a Grid that is subscribed to a Holding event. The problem is that the Holding event fires for the item I targeted as well as some other items in the ListView. I'm using the control as a DataTemplate, by the way. <ListView ItemsSource="{Binding ...}" Margin="0, 0, 0, 0">...

 
 
1 hour later…
3:57 AM
anyone here?
 
 
8 hours later…
11:34 AM
Morning peeps
 
Morning peep.
 
Morning.
 
morning!
 
11:51 AM
Did you know 62 is slightly too cold to bike without a hoodie?
 
I finally have a satisfactory way of doing synchronous animation and effects in WPF:
public void DoEvents()
    {
        DispatcherFrame frame = new DispatcherFrame(true);
        Dispatcher.CurrentDispatcher.BeginInvoke
            (
                DispatcherPriority.Background,
                (SendOrPostCallback)delegate(object arg)
                {
                    var f = arg as DispatcherFrame;
                    f.Continue = false;
                },
                frame
            );
        Dispatcher.PushFrame(frame);
    }
calling that will update the ui
now my arrows actually hit their target before they move/disappear/whatever
Sometimes it is a struggle trying to do old-school games with new-school technology
 
 
1 hour later…
1:05 PM
thanks for sharing that Dread
thats an interesting approach - never thought of pushing the frame like that
 
1:29 PM
32 minutes to churn 104 megs of data over the network, restructure the data, and spit it out in a very complicated excel file (again, over the network).
I feel like that is 30 minutes too long.
When the data structure and excel file were less complicated I did it in under 60 seconds. I've stepped through the process several times and cannot find any redundancies.
 
do things in bulk / block / in memory?
excel sux over network
 
I not sure about the data reading, but creating the excel file is done is memory.
 
hii
 
also, the data reading wasn't a problem before. I think it's the number of checks I have to do to mimic the structure. Going to need to rethink my models or something :(
hey NET
 
tireeeddd
 
1:42 PM
I generate a 1.5 meg excel file. That seems entirely too large.
 
hey net and 1.5 isn't big at all
 
@Maverik loan payment due, you got the check written?
 
eh? what check?
if loan - disappear -> check!
 
haha
you're supposed to be paying my loans
i got them down to the price of a nice truck.
 
oh nice
 
2:06 PM
The old files were 100-ish k.
And they took a few minutes to generate....I'd say this is actually in line considering the new data. Therefore, the problem is most likely with my xml deserialization. Since the thing I'm deserializing isn't exactly xml, I think it's about as good as it's going to get.
 
2:26 PM
anyone know how ip address renewals/leases/etc. work?
@Maverik and @Billdr you guys both know comms a little right?
 
 
1 hour later…
3:45 PM
elo!
@Billdr what if you don't treat as xml but html parsing?
html parsers are designed to be tolerant and should fare better
and Net wht do you need help wtih?
 
see message
 
sorry dunno
i'd expect the socket to be aborted
you should get a Connection Reset
 
okay. just curious
 
4:09 PM
posted on August 01, 2014 by ericlippert

This will be my last post before I head off for my annual vacation in Canada; see you again at the end of August for more Fabulous Adventures in Coding! Last time on FAIC I suggested a rule for translating … Continue reading →

 

« first day (651 days earlier)      last day (3498 days later) »