« first day (789 days earlier)      last day (4154 days later) » 

8:00 AM
it does'nt matter if it's in c++
i'm asking for a general approach to tackle overflows
 
8:22 AM
Mornin' yall
 
Morning n00bs + @ActionHank
@SamyS.Rathore Not overflowing your boundaries would always be a good place to start
 
take a look at this:
MessageBox::Show("SignatureLength : "+SignatureLength);
if(!ReadFile(hDrive,&Buffer,ClusterSize,&BytesRead,(LPOVERLAPPED)NULL))
{
return false;
}
MessageBox::Show("SignatureLength : "+SignatureLength);
 
That's nice
 
Signature length is an integer
the o/p for first messagebox is 7
but the second one gives an incredibly stupid large value
what would u say about that :(
 
I would say what are you talking about since you're not touching SignatureLength
 
8:32 AM
yeahh....exactly what i said in the begiinning
 
I don't read what you say rly
 
haha, i meant my reply was the same as urs what are you talking about since you're not touching SignatureLength
 
Ahhhhh :D
 
i see the only possible explaination, ReadFile() must be the culprit
 
Well shit is weird something could be touching a pointer to SignatureLength and thus amending its value
 
8:35 AM
i suspect that the readfile overwrites the &buffer (which is an array of BYTE type) and is overflowing it
 
Shouldn't be possible since ClusterSize should be the size of the buffer
 
hmm...it should be.......then i have no idea how SignatureLength is changing :(
 
Magic, probably
 
@﹏@
 
How come Width and Height don't propagate down the logical tree like FontSize in WPF?
 
8:46 AM
Why would they?
Each element has it's own measuring, you can set the alignments to be Stretch
 
They are DP's and all DP's propagate down the tree
 
Damnit I've got Rita Ora's only 2 good songs stuck in my head
Not when they have their own measure overrides they will arrange themselves
I believe they will go up the tree in the case of the layout properties, but I could be wrong
 
What about Tag, that's a DP and that doesn't either.
 
But even that is just stretching
You can override the inheritance behaviour of individual DPs, it's not something that should be taken for granted at all times on all properties
Tag is on FrameworkElement, right? Can always take a look
 
@rudi_visser Yes it is
 
8:55 AM
@FreddyFlares From what I'm looking at atm, it seems that no DPs on the FrameworkElement propagate without explicitly setting FrameworkPropertyMetadataOptions.Inherits, of which only a few do
and tag is not one that has it: public static readonly DependencyProperty TagProperty = DependencyProperty.Register("Tag", typeof (object), FrameworkElement._typeofThis, (PropertyMetadata) new FrameworkPropertyMetadata((object) null));
public static readonly DependencyProperty FlowDirectionProperty = DependencyProperty.RegisterAttached("FlowDirection", typeof (FlowDirection), FrameworkElement._typeofThis,
(PropertyMetadata) new FrameworkPropertyMetadata((object) FlowDirection.LeftToRight, FrameworkPropertyMetadataOptions.AffectsParentArrange | FrameworkPropertyMetadataOptions.Inherits, new PropertyChangedCallback(FrameworkElement.OnFlowDirectionChanged), new CoerceValueCallback(FrameworkElement.CoerceFlowDirectionProperty)), new ValidateValueCallback(FrameworkElement.IsValidFlowDirection));
FlowDirection does ^
FUCK THIS SHIT
brb, stupid restarts
 
Ah, I hadn't come across that before.
 
9:16 AM
Morning all
 
Hi @Sean
How was your birthday
did you celebrate it properly
 
Hey @ActionHank it was good thanks =]
Nah I'm no good at birthdays
I almost had a temper tantrum though
I went to Tesco on my way home and they were out of Halo 4
That shit threatened to ruin my whole day!
 
whaaaaat
 
morning sean
 
what did you do?
 
9:18 AM
Asda had copies though so it was aaaalllll gooooood
@SamyS.Rathore Morning =]
 
Morning
Morning @Sean!
 
Stayed up a little bit late playing it though
morning @rudi_visser
how was your meeting and/or project?
 
Surprisingly/strangely good
I didn't lose any money, put it that way
 
Yay!
 
Definitely a cause for "Yay!" :D
How was Halo 4?
 
9:23 AM
=D =D =D =D
 
Morning x
 
Really good
 
Morning @JamieTownsend
 
Some really cool new stuff in it
morning @JamieTownsend
 
That's cool @Sean I might get an Xbox after xmas just for it
Well not just 4, I mean the whole series
 
9:24 AM
That, is the best idea I've heard all day
 
That's possibly because it's only 9:30
 
Shush
 
I have it
 
you guys are rich
??
 
9:27 AM
Are Harddrives in the 360 upgradeable?
 
you can switch GFX modes
But golden oldie mode doesn't look quite the same as original Halo
However new mode looks awesome
Ooh you know I'm not sure about the new xboxes
 
i can make you broke
muhahaha
 
I imagine they are
 
But it's not as obvious where you take it out on the new ones
 
9:28 AM
Can I swap it out with a normal SATA
 
No
 
Or do I need one of the Xbox 360 Elites
 
I didn't even do that
You only use the HDD for installing games to
It doesn't exactly fill up very easily
You can upgrade it with overpriced xbox specific HDDs
I think it's in the bottom
 
The 250GB version
But what does 'Xbox 360 S' mean
I thought there was 'Arcade' and 'Elite'
See, this is why I fucking hate Xbox
 
@SamyS.Rathore I'm far from rich
 
9:29 AM
Actually no I hate it because it's crap, but this fragmentation doesn't help it's crappiness
 
Isn't the xbox 720 out next year? Not much point buying a 360 lol
 
@rudi_visser Xbox 360 S is the black one, the "Slim"
 
@JamieTownsend I need to complete my ecosystem with WP8/W8/360
@Sean Right so it's not crippled in any way like the 'Arcade' shit
Have they figured out how to put a WiFi card in there yet..?
Is there still a shitty huge power brick..?
 
If it has a HDD it's not the Arcade one
 
Eugh no I'm not getting one
 
9:30 AM
They used to have the white ones in Core and Standard, and you can tell if you bought core or standard cos the core one had a standard white disc tray, the standard had the silver disc tray
It has WiFi built in
And yeah it still has a semi-huge power brick
 
God damnit
 
I don't notice it but it is hidden behind a large speaker so
 
Eugh
Horrible horrible little machines
 
Me gotta wait till xmas to play my halo :(
 
@JamieTownsend Awww, unlucky
 
9:34 AM
I know, what makes it worse is that I know where it is lol
 
Ahahaha
Nobody will know ;]
 
She will, she's a right vindictive bitch. She will have put stuff on top of it and around it in such a fashion that if any of it moves she'll know lol
 
LOL
 
I might trade her an xmas present for an xmas present lol
 
hahah I hate that
 
9:37 AM
I sneakily got my mum a christmas present last night
 
I have all of the presents for my gf in the back of my car
 
Mums are hard to buy for, I just got mine a voucher for a clothes shop lol
 
Saw the Alien box set but it was on blu-ray and she doesn't have a blu-ray player so I rang to ask her if she wanted it and then realised it was blu-ray half way through. But they had the DVD version so I got that and pretended like they didn't have it on DVD
BOOM
My mum's easy to buy for. Anything she mentions in the run up to christmas is a safe bet, otherwise just buy things she can make pretty pictures with
 
Alien box set for your mum? Shes ace lol
 
Indeed
 
9:39 AM
Mine is more like TOWIE shit
 
It's not got the directors cuts in though =\
So I might have to alleviate the disappointment with a secondary present
 
My mum thinks she's 18. Goes out clubbing lol
 
Oh mine does that too....
 
Midlife crisis ?
 
I've no idea but it's fuckin scary
 
9:40 AM
I don't even go clubbing anymore lol
 
I try not to. I get really pissed and flail my arms a bit rather than dancing
 
I spend my evenings watching cartoons and reading bedtime stories haa
 
It never works out well
See now that sounds like a good evening
 
She is potty training at the moment, shit everywhere lol
 
I hope you have Boomerang or whatever they changed the channel name to
 
9:42 AM
I have every channel, she just flicks thru drives me nuts
 
They show all the good shows like old Scooby Doo and Tom and Jerry
 
Has anyone used Sublime Text 2?
 
She's really into a film called 'Dolphins Tale' - She watches it on repeat on my sky+
 
I can't say I've even heard of that
 
It's a true story about a dolphin who gets caught in a fishing net and has to have it's tale cut off
 
9:43 AM
Is that the one where they make a Dolphin Tail out of some shit to make it swim again cos it's a retarded an injured dolphin?
 
Sad, but she loves it
 
I'm going to guess it's a story about some orphaned dolphin out in the cruel world all alone that makes friends and becomes a princess dolphin or something
Oh, not classic Disney then
 
hahah
 
lmao at princess dolphin
 
Morning all
 
9:44 AM
Yeah luckily my little sister is out of that kind of thing now
 
hey guys, I've a question about how WPF is going to develop in the future (is Microsoft gonna drop it? The guys over at Mono claim so...but those people also thought that Silverlight will be an important technology in the future). Are there any recent informations about that? Should I ask about that on stackoverflow or any of the connected sites?
 
Hi all
 
She's got to the pre-pubescent girly stage
 
Morning @AndréSilva!
 
She wants a voice-activated password diary for christmas
 
9:45 AM
@SteffenWinkler WPF is still being developed, Mono guys are just stupid cos they're open source people
@SteffenWinkler Or more specifically, they're probably worried that the Windows 8 'Metro' crap will be the only way to distribute apps in the future, which is the most ridiculous idea ever since they're distinctly different
 
@rudi_visser do we really want a discussion about open source here?
 
Which is arguably worse, but at least you don't have to sit there with her for almost 2 hours any more
 
@SteffenWinkler There's no discussion, we all know it's the devil here, so moving on
 
@rudi_visser lol
 
9:46 AM
@SteffenWinkler The Desktop environment's primary "pushed" tech atm is WPF
and will remain to be as far as I'm concerned
 
My brother wants a guitar case for his guitar (GEW ON SON) and then the other, littlest brother wants some postman pat stuff
 
postman pat always reminds me of a perv for some reason
 
Apparently he likes postman pat and fireman sam at the moment. Which is a far cry from what I got him for his birthday but oh well
I thought it would have been more Lego but apparently not =\
He'll come round eventually
 
Lego is epic
I can't wait till mine likes it
 
@SteffenWinkler I think it was underpinned that WPF is still important when they chose XAML as the backing language for all of their platforms going forward (WP8/W8 Store/Desktop (WPF)/Web (Silverlight))
 
9:47 AM
Lego IS epic
 
I once built a 3foot boat from lego
It was one of those amazingly expensive kits from Toys R Us
 
@rudi_visser I'd let Silverlight out of it, Microsoft just decided to drop it a few days ago
 
They were SO AWESOME
 
WinForms 4 Life
 
I was really disappointed with lego-land windsor
 
9:48 AM
I got him the pirates of the Caribbean Blackbeard's ship
 
@SteffenWinkler Well that doesn't surprise me, it never had much uptake. But still, that's 3 other core platforms
 
But he got bored of building it cos it was taking ages
And now, inevitably, all the pieces are scattered throughout the house
But it was EPIC
 
I got my nephew a build your own engine kit thing
looks ace, I wanna build it lol
 
@rudi_visser yeah, true ;). Well, thanks for the info.
 
Hehehehe
 
9:49 AM
I've grown up too fast, GAYYY
 
@SteffenWinkler Well no, it is their 3 core platforms full stop. They're also pushing HTML5 apps I guess which no doubt they've touted to replace Silverlight now that they have IE10 which actually supports a good set of the functionality
But yea, XAML/WPF aint gonna go away
What is their alternative, going back to WinForms? :P
 
@rudi_visser haha hopefully not :p
 
WinForms for the win
 
hehehe
 
9:51 AM
That looks mint
Bet it will take ages
 
That is amazing
 
I have a picture of him with it, it's almost as big as him xD
 
GIYZ
You played Lego Batman?
 
I got that for his birthday last year
 
no, I play COD not lego batman lol
or FIFA :D
 
9:52 AM
I'm gonna get Lego Batman at the weekend
and CoD?! GET OUT
 
I played Lego Universe for a bit which was a pleasant change from your standard MMO but not enough people played it so they shut it down ='[
It was really good...
 
@rudi_visser stupid thing is that I develop some applications for both Linux and Windows (so -> mono) and that WPF isn't supported by Mono doesn't really help there...so I thought someone would give me the needed information about Microsoft dropping WPF so that I can go back to WinForms :/ Now I've to think of something else to get the GUI on mono to work, I don't want WinForms and I can't use WPF :(
 
why not WinForms?
 
@SteffenWinkler ditch the linux :)
 
@SteffenWinkler Mono uses GTK doesn't it? Like a shitty (ie. open source ;)) version of WinForms?
 
9:53 AM
if you are doing grey LOB type apps then winforms is ok
 
no I won't. I love linux ;)
@rudi_visser yeah, GTK#
@JamieTownsend ...nice reasoning there buddy
 
haha just playing :)
 
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
 
I have to write a GTK# app very soon too, not looking forward to it
Fucking Mac using cunt*
 
@rudi_visser well the MonoDevlop GUI designer is kinda good but compared to VisualStudio it sucks
 
9:54 AM
When my phone last updated and took a backup it didn't back the pictures up, had to reset it after that
So I no longer have said picture
DAMN YOU PHONE, DAMN YOU
 
@rudi_visser if there is one thing I love that came from Microsoft, it's VisualStudio/C#
 
Yea I used to use MonoDevelop as my primary IDE on *nix but it was nowhere close to anything VS
 
As if a full backup doesn't include your pictures and music....
 
Yup
 
My pictures are in the cloud baby
 
9:55 AM
@Sean It does for me because it does a full sync by default, but it should be on SkyDrive anyway
 
Some right naughty pics too :D
 
@JamieTownsend Yeah I got caught out the other week by my gf and she made me delete them, not happy
 
@rudi_visser I don't think it will have done that
This photo was taken over a year ago =\
 
To be fair they were public
Not intentionally
 
@rudi_visser FAIL !
 
9:56 AM
Yup :(
 
@rudi_visser about that Mac user...can't he/she use Parallels?
 
@SteffenWinkler No he thinks that his website (Website Usability Testing) is going to be used by people on Macs more than people with Windows
I don't think he realises that Mac people just live in a shitty fairytale land of pretty graphics, animations, and gradient text and do nothing else since the platform can't
2
 
@rudi_visser uhm...a website?
 
Eh it's a full service with a client app
 
@rudi_visser ah ok
 
9:58 AM
Morning all
 
Morning @Cylen
 
morning @Cylen
 
To be fair it's an awesome website/service (partially cos I built it, partially cos of the idea) but the whole Mac thing annoys me
He wanted me to write it in Java..........
 
puke noise
 
Good morning folks
 
9:59 AM
Then I threatened to beat him to death with his MacBook Air (which is really heavy if you haven't used one btw) and he folded
 
Morning @Maverik
 

« first day (789 days earlier)      last day (4154 days later) »