« first day (1621 days earlier)      last day (2528 days later) » 
00:00 - 20:0020:00 - 22:00

8:00 PM
@Aleksbgbg and yes this is good use of style
 
user7442629
<TextBox Text="{Binding Name, UpdateSourceTrigger=PropertyChanged}" Visibility="{Binding EditVisibility}" Margin="5, 0">
                            <TextBox.InputBindings>
                                <KeyBinding Command="{Binding EnterNameCommand}" CommandParameter="{Binding SelectedApplication}" Key="F4"/>
                            </TextBox.InputBindings>
                        </TextBox>
 
user7442629
This input binding is not working
 
no worries and no hurries.. eventually i'll get it sorted.. but it's nothing urgent on my todo list.. just something that I wanted to do to challenge myself
 
user7442629
Is it done correctly?
 
whats the error?
 
user7442629
8:01 PM
It isn't being called at all when I press F4 within the TextBox
 
user7442629
Or outside
 
aaa
I've had that kinda problem before - never got around to fixing it >.<
hopefully one of the other guys have better idea of whats going on
I gotta jet.. 9pm here >.<
g'night guys and catch you tomorrow
 
Hey @Maverik, you laughed when I told you about relying on FTP for the system I'm integrating with. Now I'm integrating with one more, which also uses FTP BUT it sends the responses as a mail. So now I not only need FTP working, I also need to setup a basic email receiver to process these responses. :D Gotta love these archaic systems.
 
I sort of remember email to web to email system I used to use!
 
lol FTP
 
8:11 PM
cos back then.. i couldn't browse www >.>
 
inb4 you'll set up uucp
 
we're talking the 2400 bps era :)
but damn it - i'm done wrapping up.. i'm leaving :D
it'll be 10:30 by the time i get home >.< and i gotta make dinner even >.<
so yea g'night :P
 
user7442629
@Maverik You're not at home?
 
8:33 PM
@Aleksbgbg He works the US East shift most of the time... but he's in UK
 
8:44 PM
@milleniumbug Not only that, but SFTP, which .NET doesn't support natively. :P
So I have two systems I'm integrating with. One is FTPS outgoing and then I'll have to do periodic checks in a folder to see if there has been a response. And now the second system which is SFTP with responses through email.
At least it's a good exercise in proper SRP. :P
 
tbf SFTP and FTP don't really have that much in common except the name and the end goal
 
user7442629
What is the best way to disable a program entirely
 
the underlying implementation of SFTP is different, and also way better (no 2 different ports for commands and data, a nightmare for firewalls FTP gives on daily basis)
 
user7442629
For example, you release a version with a major error, e.g. the user's computer is entirely nuked, you wouldn't want anyone using that, and just have an 'update to the newest version instead' dialog
 
You are making a poor assumption
that said program can access the internet to know there is a latest version
that said, you can have the update check block the rest of the startup routine
and annoy the heck out of any offline users
its not so much "disabling the program" as telling it to act differently until your update check has passed
 
user7442629
9:01 PM
I see
 
I have a crappy internet connection at home, so I know how annoying that kind of behavior is
even delaying start so you can check for updates is super frustrating
 
user7442629
My applications check for updates on a new thread - they won't say anything if connection is offline
 
if your program is important enough, you will have testers who will prevent from releasing a program with an obvious catastrophic bugs, and you can hope you'll find all the non-obvious catastrophic bugs before the users do and release the new version then
if your program is not important enough, you send the email to all of your four users to update to the newest version
 
user7442629
Yeah I was thinking that, but this is a NuGet package and I was wondering if I could have a 'my program doesn't work and now I want to disable it' option past a specific version
 
you can unlist a nuget package/version
 
user7442629
9:04 PM
No I mean this is an updater package
 
user7442629
Basically a one-click updater, you just install the package and you have a check for updates window
 
user7442629
So if any of the users of this package wanted to disable a certain version of one of their programs
 
Isn't that just delisting on whatever update source they are using?
 
user7442629
If they use the package, then they are assumed to also be using the app I'm currently making that generates their update files
 
user7442629
It will have this in the description of course
 
9:07 PM
so then the second program would have the "disable" options
I don't think the "real" app needs to know anything about that, right?
 
user7442629
I mean this information is gathered as the update check if being made
 
user7442629
But obvious problem with that is, as you said, offline users
 
user7442629
I won't add this, I was just wondering if it would work, and now I know it won't (or at least won't work very well)
 
#1 rule of creating systems that don't break: Assume everything external to your program that you want to use isn't there/available and handle it gracefully with retries, error messages, etc.
because someday, for someone, something will be blocking access
 
user7442629
That's a really good way to think about it
 
user7442629
9:12 PM
Until now I've asked myself what won't work
 
user7442629
But now I can just check error handle all the data being used instead
 
#2 rule: Never trust user input
Follow those two and you will have pretty darn reliable software
 
@BradleyDotNET cough AV cough
 
user7442629
That's great
 
If I had a quarter for every support call that we've ever that related to AV/AntiMalware blocking a network connection/reg write/disk write, ... ugh.
 
9:17 PM
exactly
or firewalls, or an unplugged cable, or whatever
users are disasters
 
Good thing we don't have to deal with extenuating factors, like physical devices ;)
Oh... wait.
 
there's a 3rd rule for web systems: never trust client programs either
but that's more a security thing
One perk of this job is definitely no real user access
 
s/web/client-server
 
yeah, depends on how secure your comms channel is
but good practice would be never to trust any client system
 
Yeah, till one day they decide to deploy it to infrastructure that isn't secure :)
"Oh, I'm sure they handle auth/security correctly at the server-side."
:)
 
9:21 PM
true enough
 
"I mean, they probably use SHA-1 and everything."
What time's your work day start?
 
I keep thinking that we should take the weeks it would take to authenticate all our clients and then decide to keep hoping that we never lose our VPN
9:00
usually a couple meetings before I really get working
 
Pacific or Mtn?
 
Pacific
 
Ah - for some reason, I thought you were mountain.
You said you're in Reno?
 
9:23 PM
well, I don't usually got on here til 10 :)
yeah, Reno
all of Nevada is pacific
 
checks map to see how close that is to LV
 
couple hundred miles IIRC
 
Oh dear god.
I was closer to you when I was in San Fran last April.
 
yeah, you were
448 miles according to bing
lets put it this way, we drive to Sacramento, fly to Las Vegas
Some of my coworkers drive to vegas occasionally
doesn't sound like fun
my company has an office in vegas though (surprise surprise)
 
user7442629
How can I create a simple Button control so that instead of doing:
<Button DockPanel.Dock="Bottom" Command="{Binding AddVersionCommand}" HorizontalAlignment="Right" Margin="5">
<StackPanel Orientation="Horizontal">
<Image Source="/ChangeLog Editor;component/Images/Copy.png" Height="20"/>
<TextBlock Text="Add Version" Margin="5, 0"/>
</StackPanel>
</Button>

I can do `<Button Image="[image source here]" Text="Add Version" [other properties].../>`
 
user7442629
9:30 PM
I've tried creating controls before but they've all turned out horribly
 
user7442629
And this is really simple so I don't know why it's so troublesome
 
you can subclass or use an attached property
 
user7442629
Do you happen to have an example of this in the git repository thing?
 
I guess you coukld also set content to a composite with text & image
 
getting the template is fairly easy, you just need to override the control template. Getting the extra properties is what you need the subclass or AP for
 
9:32 PM
Maybe this, don't remember
 
I would probably subclass that one, but that's just me
 
user7442629
9:42 PM
Okay I see what the code is doing
 
user7442629
I'll do that tomorrow then, but I have to go now so see you guys
 
00:00 - 20:0020:00 - 22:00

« first day (1621 days earlier)      last day (2528 days later) »