« first day (683 days earlier)      last day (3466 days later) » 

12:00 AM
the chest class may already inherit from Item, and really has nothing to do with doors and windows other that it is openable
with me so far?
 
Ohhh I like how you are explaning it in RPG terms.
haha
 
any way if you made:
public interface IOpenable
{
    void Open();
}
 
oh
lemme see if i can answer this before you write it
If you do that and it inherits IOpenable you can then use void Open() as it needs to be used vs each kind of object.
I think.
 
almost
you implement interfaces, you don't inherit them
so your chest class might be:
public class Chest: Item, IOpenable
{

}
that won't compile because it must have a void Open() method
in order to satisfy the contract for the IOpenable interface
but once it does, say you had:
public ObservableCollection<IOpenable> openables
you can put chests, or anything else that implements IOpenable into it
 
What would I write in the open method?
 
12:07 AM
whatever you want
whatever code opens the chest
 
Sweet
so I can make IFood
and then add all the foods into the collection
but interfaces can't hold propertys can they?
 
hold on, I just so happen to be writing a c# roguelike so I have plenty of samples
yes they can
 
but only the methods have to be written for the interfaces for it to compile right?
Oh man I'd love to do a roguelike.
 
  public interface ITrap
{
    IIcon Icon(ISquare square, object state);
    SquareFeature Generate(IMap map, ISquare location, params object[] args);
    string Description(object state);
    bool IsTransparent(object state);
    bool IsPassable(object state);
    String Name { get; set; }
}
 
oh neat.
I think I kind of got it.
Too bad I have to work on homework.
 
 
1 hour later…
1:13 AM
@DreadPiratePeter Maybe I'm doing this wrong but I implemented my IFood interface and it says that the propertys cannot be used in the current context x_x
Ok I'm going to have to read about interfaces haha, I clearly know way less than I thought.
 
1:37 AM
I'm guessing I shouldn't have my interface implementing INotifyPropertyChanged
 
 
3 hours later…
4:28 AM
Hi guys
wanna ask something here
What do you usually do if a folder and a file name accidentally identical
for example : i have a folder called ViewModel
and I have an abstract class named ViewModel inside it too
the problem pop when i wanna use the abstract class from another folder. what's the best practice to "clean" this?
i thought about moving the abstract class outside the folder.
but i wanna know what is the common approach to do this.
thanks
(apparently, the name "conflict" still happens when moving it to outside)
so, that option is not available.
 
 
4 hours later…
8:04 AM
Morning all
 
8:17 AM
Good morning.
 
8:34 AM
1
Q: Detecting when PropertyChangedEventHandler changes

John EdwardsMy PropertyChanged event is getting set properly when I watch the variable, but somewhere in code it gets reset to null and I have no idea how to figure out where this is happening. Here is come code: public event PropertyChangedEventHandler PropertyChanged; //this is in the NotifyTaskComple...

 
9:05 AM
Hi.
 
Hey Denver
 
Hi, Sean.
 
How are you?
 
All good, all good. 3 days till vacation.
And you?
 
Good thanks =]
Where are you going for your vacation?
 
9:20 AM
Spain.
Barcelona and countryside.
 
Sounds nice
 
2 weeks.
I guess I will be just sleeping for 2 weeks in the hotel.
Would be the best vacation possible.
 
Noooooo
Don't do that
 
Hi, Billdr.
Why, Sean?
 
Hey Denver. Sean.
Just noticed 85% and 15% sometimes add to 101%. Fucking css.
 
9:25 AM
@Denver I just think spending 2 weeks in the hotel would be a waste of a holiday, is all =]
 
But sleeping...
 
Yeah but you can sleep any time
Morning Billdr
How does that even? It's not interpreting it weird is it?
Like getting some decimal points from somewhere or something
 
Okay, you are right.
 
I think 85% of my resolution is an odd number, as is 15%. CSS rounds up? Maybe?
 
And I would understand 85% + 15% to add to 97 or 98. But 101...
Try to experiment with other numbers.
 
9:28 AM
I'm not sure how CSS rounds, it would make sense for it to round up rather than down
 
I tried switching it to 85 and 14, worked fine.
 
Rounding down could chop things off...
 
so as long as I include 1% for rounding issues I should be fine.
I found a one shot, Sean. I'm going to work on character sheets that can be linked to accounts... then I'll need some sort of DM view that shows everyone's character sheets.
in the short term... we can probably get a game going next Sunday.
 
Ooooooh, that sounds fun ^_^
For clarification, 7th or 14th?
 
7th, 11am my time.
It'll be 11 in 6.5 hours.
 
9:34 AM
Do you have a game description for me?
 
I'm not sure what you're asking for?
 
I'm away this weekend =[ I could have sworn I told you...
 
We're playing D&D
okay. Would the 14th work better?
 
It would, yes
 
Then that's when we'll do it.
 
9:35 AM
You're too good to me
<3
 
@Billdr Oh, I thought you are creating a game.
D&D-like.
 
Oh no... I made a chat room wherein we can play a game of D&D.
 
Character sheets?
 
Wait, I'm still in the WPF room, right?
Because my other tab is in the RPG.StackExchange chat room. :)
 
I am currently developing an app to create Characters for different D&D rules.
 
9:47 AM
That's my next feature, after I get a few people to try the chat to see what needs to be improved.
 
Calling it Charlist. :)
So the topic is close to me. :)
 
Nice! I made an android game that was supposed to help DMs manage character sheets. I was thinking of porting it up to windows/web and improving it.
 
@Denver D&D 4e already had the Character Builder which was pretty useful, and 5e might have something 1st-party as well, with Project Morningstar. Which rulesets are you developing for?
 
We have own rulessets.
So I am developing an app, where I can add different rulessets.
It is just for us, I doubt my app can become something big. And also I am learning MVVM and WPF while coding the app.
 
9:59 AM
Internet died at the office. Boo.
and back.
Who's freeman?
 
Well, it is my email.
Don't ban me! D:
 
Minor criticism! My bane!
I can make enter-to-submit happen, but in the meantime are you aware of tab, then enter?
apparently my computer has updates. BRB.
 
Patch tuesday. Everyone whinged at me this morning.
"OMG you know what I hate about windows? Enforced automatic updates!"
'You know you can uhhh, change that, right?'
And by everyone I mean us, the programmers
Noobs.
I say programmers, 2 of them are PHP devs
 
10:17 AM
Morning programmers and other things
 
Morning Mav =]
 
haha, "2 of them are PHP devs."
You know what I love about windows? Enforced automatic updates. People let that shit go forever, and then they get viruses. Then I have to deal with it.
 
I've yet to have the misfortune of dealing with viruses/malware that hasn't been caused by user stupidity
 
I used to be a help desk monkey.
If we're talking man hours... months of my life were sunk because people had the ability to snooze updates into perpetuity.
 
"So I downloaded this thing and now there are all these other things on my computer."
'Did you untick all the boxes in the installer?'
"What boxes? I just pressed next like 6 times..."
I'm all for auto-updates
I leave them on and deal with the minor inconvenience of having to reboot every once in a while
It's these PHP devs with 7 billion windows open, 6 billion of which are sublime or [insert hipster text editor here] that they haven't bothered saving and complain about not having time to save everything because "It only gives you 15 minutes.."
Sweeping generalisations ftw
 
10:22 AM
@MosesAprico use fully qualified name - and if it's REALLY ugly you can break out of namespace to root using global:: (google away now!)
sorry still catching up peeps
brb
 
I remember thinking I was somehow cooler for working in a text editor.
I could never articulate why that mattered.
 
I first started out writing crappy HTML sites in notepad, then going on to JavaScript and by the time I got to classic ASP I was still using notepad....
I think I may have used notepad for ASP.Net too before I clocked on to VS and compiled web applications
 
@Sean Are you on G+? I'm going to make the event there. We can get a video hangout going that way.
 
Ooooh goody. I can test my new nudecam
I have a G+ thingy, yeah
 
I did notepad and notepad++ up to Java. When I got there I needed an ide. I'd do java for the desktop (because I am dumb) and php for web. Then I decided to get a job.
okay, I'll shotgun blast invites to everyone.
 
10:27 AM
We had to use NetBeans for Java when I was doing COmputing
There was another one too....
Something with a G or a C?
Not eclipse
 
@Sean it gives you 2 days now O.O
 
jGrasp!!!! jgrasp.org
@Maverik Ours give us a day? Or it says "Your PC will restart in 1 day" anyway
I dunno how Lee manages to get the 15-minute warning every update day... He might be seeing the little popup box that asks you when to remind you and panicing
I dunno
 
may be hes on windows 7?
 
Nope, 8
 
restart in a day happens when you don't notice that there's a restart pending
 
10:30 AM
The time to reboot is configurable by GPO.
 
but it actually starts at 2
1 is the warning stage
 
@Billdr I am so editing that to 5 seconds.
That'll learn 'em.
 
I approve. Save early, save often.
 
@Maverik I did not know that.. I just obey. That's useful to know
 
save early? no, write through!
comma mattered there!
 
10:31 AM
You mean there are people that don't hit ctrl-s every time they get to the end of a statement? Losers.
 
@Sean SaveAllTheTime is an extension ;)
i only disable it when i'm dealing with EF or other autogeneations
 
And this is why I hang out here. A) you're all much cooler than any other people I know and B) I find new things all the time!
 
there's been a request to disable it on certain files, but i'm not sure if it made it through to release - it is not very t4 friendly - especially if you have to go to db to do t4 generation
there's another extension that's very handy if you have git or compatible thingy
 
Hit all the disk!!
 
that extension commits as you save automatically
so you have pretty much everything you ever wrote in an automatic commit
 
10:34 AM
Oh I don't think that would go down well here
 
i can imagine - i dont use it :)
 
They're forever arguing about commits
 
i prefer big commits since i'm the only one who ever commits or reads them back
 
Solution: TFS.
 
hows that a solution?!
i tried installing that shit - but its too big a resource hog for one person
i can't justify it even for 2-3
 
10:35 AM
mmm, tfs
 
I justified it
 
I use it all the time, I'm an army of one.
 
I went to MSDN, pressed download and then installed it
 
i'm trying to do this on a rejected piece of hardware that reboots in 8 minutes.. if that helps
 
Mine are fairly small but generally I have a changeset for every ticket I am assigned
 
10:36 AM
no its not bad spec as such.. its just slower than 5400 rpm drive
yea i'd need a ticket first for that!
 
Yeah we are lucky enough to have spare resources =]
And a ticketing system xD
I actually like JIRA
 
and i know its hard to believe but my software doesn't have user discoverable bugs normally!
in the rare instance that there is one - its normally fixed on the spot .. ain't nobody got time for tickets and a lot more time for me to actually notice and pick it up!
 
resources? Oh, you mean visualstudio.com?
 
@Sean o we do have spare resources - hell we just decommissioned a whole data center hardware which will become our spare resource
i just dont have it!
 
people hosting stuff on their own. Goddamn savages.
 
10:38 AM
xD
we're the peeps behind vs.com ;)
 
Oh yeah?
 
yea!!
 
In what way?
 
This way I get to delete all Rudi's changesets when he makes changes
 
ok not literally.. but yea same thing :P
 
10:39 AM
And there's nothing anyone can do about it! BWAHAHAHAHAHAHAHAH
 
we're actually a hosting company O.o thought everybody knew that around here
 
I was told Rudi has a new job, and I should congratulate him.
 
he has a new job again?
 
I don't know what you do other than desktopy stuff.
dunno, that's what linkedin spam said.
 
Hahahaha
Company rename/re-brand
 
10:39 AM
I personally am not even that much into desktop - i can't recall the last time i did a proper wpf app
 
Oh, he published some bullshit.
 
you guys are the only reason i stay in on wpf
 
And his new site, yeah
 
his new site - again? it ain't cideta anymore?
 
@Maverik You make me melt inside when you say things like that :3
He has cedita.com for his business and now rudivisser.com has a new design and such
 
10:40 AM
@Sean mm and that's why i melt inside you too!!
 
Hey, Brittos. Spell the verb form of summary for me.
 
It's all warm and goo-ey. Om nom nom nom
Summarise
 
wtf.
 
so thats besides rudiv.se ?
 
Summarize damnit.
 
10:41 AM
Does bread rise or does it rize?
@Maverik Points to same place AFAIK
 
Why have a z if you never use it?
 
zealot
 
:D
 
@Sean rize of course! there's no room for 's' if its ztrong enough
 
That's funny, cos it's a word beginning with z and describing you right now :D
I am so punny
 
10:42 AM
THAT ASSS!!!
he stole MY design!
 
OOOOOOOOOOOOH
FIGHT! FIGHT! FIGHT!
 
that i was stealing from gv.com
ok he hasn't gone all out - he didn't do shading yet :)
 
Web development - you take someone else's idea and develop it into your own. It's the way of the warrior.
 
That's pretty much my job.
 
TONY HAS ONE OF THE GREATEST TECHNICAL MINDS THAT I KNOW, AND I'M HAPPY TO HAVE HIM AS BOTH A GOOD FRIEND AND WRITER.
 
10:44 AM
See? Right from the horse's mouth
 
ARTICLES
Anthony has written 0 articles
 
I have a few projects I need to put up on my site. Still can't decide on my design
@ActionHank is on there too
 
(caps ftw)
 
He wants me to do some
 
My boss was like, "Sharepoint doesn't do x, y or Z!" I'm like, "I'll make a better sharepoint. Give me monies."
A year later, and goddamn, I made a sharepoint that does x y and z.
and NOTHING ELSE.
 
10:45 AM
Easy pie. Go all MVC/angular/knockout on its ass and use the client APIs for CRUD to lists and such
Assuming you want to keep the data in SharePoint, that is
 
nope, zero sharepoint.
extra license, we don't need it.
 
Oh yeah, those damn licensing costs.
 
Got a database and a random byte generator. What do we need sharepoint for?
 
Boilerplate
 
Meh.
 
10:46 AM
BUT BILLDR
CONTENT TYPES
SITE COLLECTIONS
LISTS AND LIBRARIES
 
Oh, the stuff we don't use?
 
PERMISSIONS
ALL THE WORDS
 
It's an overpriced document repository for us.
 
Haha yeah, SharePoint is overkill for a lot of things
 
We needed "people who can add files. People who can only read files. People who work for us, and super gods." I can manage that.
 
10:47 AM
I developed a load of custom workflows to organise documents in some libraries for a solicitor's once
It was horrible. Damn lawyers.
 
Word.
My first brush with project lifecycle stuff was making a workflow for help desk documentation. It had three tiers for approvals. Should have been the easiest thing. Every tier had so much pushback it was gross.
That is when I learned project management was not for me.
 
I never liked SharePoint's approval system
Sure, I can see how it could be used
 
@Maverik that's new. (for me) I'll look for global then. thanks.
 
The problem is I never saw it used in a way that made sense for the features it had
 
we used something else. I can't remember who made it.
Telerek maybe?
 
10:52 AM
Everyone wanted it to just hide things until they were ready to be "published". Man that's what check-outs were for! Gah!
Only check it in when it's ready to be viewed and then tweak the library settings to only show them. I can't remember the exact things but that was a thing.
<Style.Triggers>
    <DataTrigger Binding="{Binding WarningCount}" Value="0">
        <Setter Property="Visibility" Value="Hidden" />
    </DataTrigger>
</Style.Triggers>
I want to make it visible if WarningCount > 0 OR if SomeOtherProperty == AThing. How would I do that?
Ah, nvm
MultiDataTrigger
Or just two triggers
 
Hrm.... jquery and amplify both have a lot of //TODO:s in them. I feel like I should be worried about this.
 
Ugh no. Gonna need a converter or something. Bollox
 
@Sean Or expose a "ShowWarningCount" property in your VM, and do the logic there.
 
@AvnerShahar-Kashtan That's much easier. Thanks
 
11:09 AM
Huh. Just Snooped Visual Studio.
That is fun.
Did not know it is written on WPF.
 
Some parts of it are.
The WPF Designer, for instance.
 
I'm trying to quietly whistle along to Sweet Child O' Mine and some ARSEHOLE keeps chiming in with some bullshit whistle that's neither in tune or matches the melody every time it gets to the chorus. Urge to kill rising.
 
Maybe by VS2013 they've migrated more, I'm not sure.
 
I heard that VS2013 is largely WPF
 
Quit whistling damnit.
Your coworker is trying to demonstrate how annoying it is to listen to someone whistle why they're focused on a problem.
 
11:13 AM
good morning peeps!
 
hey dpp
 
Oh this wasn't someone who needs to concentrate, they all have headphones on
This is someone in accounts
Or one of the muppets downstairs anyway
Accounts. Ops. The lesser beings
Morning Peter =]
 
Hi, Peter.
 
Morns all
 
Hi, Andre.
 
11:17 AM
Morning André
 
@Sean why can't you do that with two triggers?
also MultiDataTrigger is an anded condition
 
Yeah I got that, it wouldn't work
 
i hate an
it needs to be obliterated from language
who the hell came up with this vowel shiz
its alphabet.. thats it.. be thankful i've accepted that much
 
Hahahaha
I don't think I could do it with two triggers because the conditions are number > 0 OR enumProp == enumValue
So currently I hide based on WarningCount = 0 and then I would need to include every enum value to be hidden too and that's just not cool
That, or I can't logic. Which is a distinct possibility
 
Sucks to say morns everyday and get a lot of work and not be able to talk here
 
11:29 AM
Stop working so hard, Andre.
 
Work smarter. Not harder.
Obligatory cliché: check.
 
ooh, redundant cliches.
 
Redundant word reminds me of music.
 
:P
I'm going to grab some coffee
 
11:43 AM
get me some hot chocolate too
 
I want GTA5 to be well optimized for PC.
Not like GTA4.
 
Can't drink chocolate ;p
I'm doing a strict diet before the surgery
 

« first day (683 days earlier)      last day (3466 days later) »