« first day (1441 days earlier)      last day (3517 days later) » 

12:06 AM
I would if I played MMOs any more
 
FFXIV is really good though.
 
@Tokencodingnewbie ello ello
 
hows it goin?
 
Not bad just had a coke zero and sushi.
Working along side this coding tutorial, so far it's a lot of stuff I know, but repetition is good for long term memory.
 
12:09 AM
mm sushi
and indeed it is
you have a good place to ask questions too (here) :D
 
Indeed.
You've all been such a big help.
 
no problem
frankly, you try, and that's more than a lot of people do
 
Well I want to learn and this is the most I've ever learned.
Before I didn't even understand the use of a constructor lol.
 
good job, I asked a similar question recently and I ended up being downvoted many times, and 20 people edited my code, all disagreeing with each others edits — John Demetriou Jan 4 '13 at 22:43
lol
 
@DemCodeLines whut haha
@Tokencodingnewbie yay for learning :D
 
12:17 AM
I'm so ready for this trip
@OMGtechy Oh I also remember that I seriously didn't understand the use of passing parameters to a function.
 
And now you do :D
 
lol yeah
this was years ago tho
and I kept quitting or I could NEVER practice
My ex fiance was a computer hog.
 
Well, you recently learnt that function parameters are just variables
and yeah, never give up :P
I watch online videos when I can't get at a PC (on my phone)
 
She wasn't supportive too.
but oh well.
lol yeah, I didn't know that about them.
 
When you get really hardcore, you can watch the standard videos haha
 
12:23 AM
Standard videos?
 
When the language itself changes
For example, I like to watch C++11 and C++14 videos.
 
What what? :P
 
Fuck if I know
I've dropped to 1500 calories till my trip
and I'm delirious at times haha
 
Cool, although calories aren't everything
I can hardly talk though
I just eat shite all the time, thinking of changing that though
 
12:39 AM
I mean how can calories not be everything.
It's basically calories in / calories out
 
Calories in, and how quickly you burn those calories. Controlling calories in is much easier.
 
Well, what you eat affects how much energy you use generally. Also, healthy food tends to make you feel more energetic about life, thus using more energy. Another thing, how often you eat makes a huge difference to how your body reacts to food.
Dieting.StackExchange
 
I'm pretty sure the constant meal thing was debunked.
lol I've been dieting for quite some time.
131lbs lost :P
 
Well, you're doing something right
 
Indeed.
Everyone has something that works for them.
 
12:49 AM
Talking of working for people, I hope to start my own software house one day
 
Me too.
like an indie game studio
 
Well, you're on the right track now
just keep going and you'll get there :D
I have debts to pay off, then a kid to raise, but I hope I still have time in life for it
 
no kids here thank gawd
SO you got an old lady huh?
 
Old lady?
 
Girlfriend/wife
 
12:56 AM
Ah, well fiancée yeah
 
Ohhh
You're too young to be tied down bro!
 
Haha, it's fine, I asked!
 
I hope it works out for you mane.
 
I do too. Already had quite an eventful time, hoping for things to calm down a bit.
I doubt they will that much though haha
Permanent job is my current goal, and that's about done.
 
Well you're young, so you got time.
There is always landscaping.
 
1:00 AM
Landscaping?
 
They don't have landscaping in the UK
or whereever the hell yer from.
 
I am indeed for the UK. What is it?
It has a meaning here, but I'm guessing you mean something else.
 
What does it mean there?
 
Gardening related stuff.
 
Yeah
That
I do that.
 
1:05 AM
Oh ok, that was a bit random.
You do it as a job?
 
Yes.
Full time.
 
Nice, sounds like an interesting line of work. You like it?
 
Fuck no.
The only thing I like about it is it keeps me in good shape
and it's making my shoulders huge haha
I dream about code and food at work ;_;
 
> 20 people edited my code, all disagreeing with each others edits
lol
StackExchange Question editing system gone wrong
 
hahaha
@Tokencodingnewbie mmm food...mmm code.
 
1:15 AM
Code Smells <3
 
Yeah about all that brings me joy half the time
 
1:26 AM
So with a static class, everytime the class is used the constructor will be used too?
 
@Tokencodingnewbie no
 
Just the first time?
 
Not even then
well, the static ctor will actually
but it's not like a normal ctor
 
constructor
 
1:28 AM
The static constructor will be called sometime before the first method call happens.
It will be called once
 
Normally with a class, you create instances of it (through a constructor). With static classes, you do not create one, you just access methods in its namespace.
Although you could say it's creating a singleton, but that's a whole other topic.
 
So it just happens at run time?
I know it's allocated memory differently.
 
You can just assume that the static constructor will be called before you use any of the methods within it once beforehand.
 
I thought we weren't allowed to assume :P
 
You can in this case, but may not be able to assume exactly when :P just before
the standard sets these things out, so you can rely on it being called once beforehand.
 
1:33 AM
k gotcha
 
1:46 AM
hey
 
@getlost hello
 
@OMGtechy what's up?
 
My finances ha
 
very good
 
1:59 AM
Sadly, that's not the case. They're anything but haha
 
Hrm
I'm getting an error message that Player doesn't have a constructor that takes 5 arguments.
 public Player(int currentHitPoints, int maximumHitPoints, int gold, int experiencePoints, int level)
            : base(currentHitPoints, maximumHitPoints)
Looks like 5 to me.
tf
It gave me that error because one of the child classes wasn't set to public? I set it to public and the error vanishes.
 
@Tokencodingnewbie if it's private, the derived type cannot call it and therefore that constructor essentially doesn't exist
protected should work, and so should public (as you found)
 
Sadly the VB compiler is much better than the C# compiler in that respect.
 
but it wasn't even the same class.
It was a separate child class.
 
?
The base type must have accessible constructors
@user1112560 you're saying something good about VB?!?!?! xD
or just the compiler ha
 
2:07 AM
The base class was set to public.
 
@Tokencodingnewbie but was its constructor?
 
a totally separate child class was not set to public
 
ah
 
and it effected my Player class, I was just wondering why
 
Probably cascading errors; when one thing goes wrong elsewhere it starts of a domino effect
 
2:08 AM
Oh it was the top error, I thought you worked the top down x_x
 
@OMGtechy There's a lot of unfounded hate for VB.NET, the language is good (aside from OERN). The tooling's generally worse, but the compiler's great. The main problem is the legacy code and the type of jobs that require it.
 
@Tokencodingnewbie yes, you do, however VS sometimes lies about the order.
It's hard to say any more than that without seeing all the related code
 
Lame.
I did skip it and start working on the other errors
 
@user1112560 there's just too much visual noise for a language that is supposed to be ultra high level, for me
It's like Java though; the butt of many jokes.
@Tokencodingnewbie well glad you sorted it :D
 
True, but the Java jokes come from experience :P
 
2:11 AM
Well i think I am going to play some FFXIV before bed.
 
VB.NET > Java
 
Dead fly > Java
 
All this talk about Java's bringing back the cravings, gonna grab a coffee :P
 
Dead fly leg >= Java
@user1112560 I've never understood why Java and coffee are related
other than the logo
 
It's an island in Indonesia which produced very popular coffee.
Probably still does.
 
2:14 AM
Ahh
 
Happy Pi hour.
 
Pffft, it's only half the mathematical hour of Tau.
 
You're a mathamagician?
 
@OMGtechy goddamnit, not another one of you
 
I am shocking when it comes to maths, I just know that Tau is 2 * Pi and it fits better in things like Trig than Pi does
 
2:21 AM
I just like Pi because Pi jokes are easy.
 
When you look at the facts, you realize that pi and tau are the same constant, just with different interpretations. No one way is right or wrong. Both are convenient in certain applications.
 
When you look at the facts, you realise that 1 and 2 are the same constant, just with different interpretations. No one way is right or wrong. Both are convenient in certain applications.
 
haha
and with that, goodnight!
 
'night
 
Fucking hell
I finally decide to play this game and the internet is acting up
Why would you make a method private and static?
If it's private it can only be used in the class? So then if it's static it can be used without an object reference? Seems kind of clashing to me.
 
2:31 AM
There's no reason why that wouldn't work
It's an uncommon use case maybe, but still useful
 
useful how
 
say you want a method that doesn't need an object instance, and doesn't need to be public
 
But a method I'm only using within the class right?
 
Actually I have one in the code I have open now
 
    private static string ByteArrayToString(byte[] ba)
 
2:39 AM
That doesn't help lul
 
a small helper method that has access to the protected/private instance variables of the class if passed in as an argument/created inside its scope, which has no requirement to be of any higher visibility and does not need any instance variables.
 
2:56 AM
hi guys
anyone converted numbers to words in chinese?
 
3:11 AM
I'd like to encapsulate a downloaded file (currently a Stream) in a class for later verification and serialisation to disk. Are there any potential pitfalls of copying the data to a MemoryStream and encapsulating that rather than the underlying byte array?
 
@user1112560 A MemoryStream is basically a byte array plus other stuff, so I don't know why it wouldn't do the job.
 
I hear the word encapsulation a lot.
 
that's because it's an important part of object oriented programming
 
@KendallFrey Cheers, I'm pretty certain I won't have a problem, just want to confirm before doing something stupid
 
Well uhm...what is it?
 
3:31 AM
 
3:51 AM
... I love Code Contracts
 
 
2 hours later…
6:04 AM
morning guys
 
o/
 
6:20 AM
\0
 
morning
 
stupid mvc project
 
do you guys find it hard to earn reputation nowadays?
seems like everybody only wants answers from guys like Jon Skeet and Marc Gawell
 
hahaha @DionV.
Your forgetting Kendall :-P
having an odd problem in mvc
The entity type CompanyDetail is not part of the model for the current context
Yet when I check in the edmx its there
updating the model from db doesnt seem to fix it
Rebuilding actually causes a different problem Basic.CompanyDetail does not contain a definition for 'Logopath' and no extension method 'Logopath' accepting a first argument of type 'Basic.CompanyDetail' could be found (are you missing a using directive or an assembly reference?)
Am using automapper in the controller.Could it be the problem?
@DionV. any idea?
Never mind I sorted it out
 
6:54 AM
Sorry, had to do a standup meeting
but EF is not really my specialism so I don't think I could've helped you out
but good you solved it ^^
 
7:13 AM
thanks anyway
 
I just got Rick Rolled by my boss
very awkward..
 
7:29 AM
o/
 
7:45 AM
wsup @Shaun
 
not much mate, you
 
same here trying to learn webservices on mvc
 
mcv sucks :p
mvc*
 
8:12 AM
@Shaun you know it
 
8:25 AM
@Shaun nerd
Ooo the chat changed
Interesting
 
how D;
 
Pinging
 
what's different o.O
 
...
 
@Sippy
 
8:26 AM
If you can't see what's different then you are not even in IT.
 
oh that
 
The images when you try to ping someone @Sippy
?
 
hardly a change
 
!?
It is a change lol
 
it's not a major change though
 
8:27 AM
How is it not a change? xD
I didn't say it was :D
 
i never said that
I said it's hardly a change ._.
 
To say something is hardly something else implies you're going to imply what the something might be like of something else entirely.
 
@Shaun @Sippy know where I can get a nice tutorial on webservice in mvc(serialising and deserialising data)
 
Why would you do web services in mvc when you can just use a web api
 
@Sippy imagine if @Shaun was your client you'd shoot urself
 
8:28 AM
I was implying it wasn't a major change, as in it was hardly a big change
 
You didn't say it was hardly a big change :D
 
@Sippy is just being awkward
 
You said it was hardly a change implying it was something else! :D
 
@Sippy okay I have webapi thought it was the same thing :-P
 
I am, but it's a cool change and you trivialised it so I had to troll you.
Web API != web services.
 
8:29 AM
@Sippy www.youtube.com/watch?v=jI4Ojgz5Qo4 u
 
Web services are gross
Web API is cool as fuck
 
wcf ftw
inb4 burnt at stake
 
You only like wcf cos it's for noobs (y)
I can't afford my bacon sandwich today cos I bought a bottle of coke yesterday
And I didn't wanna get another tenner out
 
@Sippy fak u
i only like wcf cause it's the only thing i've been taught
 
okay tuts for serialising data for webapi @Sippy
 
8:32 AM
@Sippy such cheap
 
@Shaun what is rick rolling
I see the wiki explanation but dint get it
 
when you link someone to a video of rick astley
so basically I could be like
 
no idea who that is
 
hey @Gotalove look at this video of some lions in Kenya www.youtube.com/watch?v=dQw4w9WgXcQ
if you click that link and get fooled it's a rick roll
 
I know his song never gonna give you up :-)
aaah hehehe
 
8:36 AM
who is the biggest musician in Kenya
 
hmmm...
I have no idea at the moment :-P
But STL is quite good
there is also camp mulla
which brke up
 
do you like Victor Wanyama :p
 
Is he the footballer
who is that?
 
yes
 
hehehe I really do not care much for football
I dont care about current events/politics/sports
am actually always the clueless guy who hears what happened weeks ago and goes like 'No shit!!!Are you for real?'
If I dint catch it on fb I missed it coz I dont own a tv yet and I just watch series and movies
@Shaun how do you even know him?
 
8:41 AM
he's a good footballer :p
 
his playing in a european team not even sure which
hehe I guess he is :-P
Dennis Oliech?
Do you know him
 
I do
mcdonald mariga as well
 
Yea him too
I am Martin Iriga
his brother :-P
Ma~riga
see ^~^
 
:P
 
hi all
I have question about C# , may i ask?
 
8:48 AM
just ask @Farhad
 
@Shaun I want to put a password for my form where is the best place for saving that password?
 
Database ...
 
^^
 
o_^
 
Farhad you need to read up on authentication.
 
8:50 AM
@Sippy Thanks
 
Go google it.
Also don't store passwords in plaintext.
Google encryption
 
ok right now
 
Read for a few days cos there's a lot to learn.
 
hehe @Farhad what are you developing a winform app?
 
that's a simple app for workers name and etc
just they want to have password for the app
 
8:54 AM
yes is it desktop app or web app?
@Farhad
 
@Gotalove desktop , for web I use php , and I'm new to C#
 
okay
 
@Gotalove great thanks : )
 
sure I started with C# a few months ago myself from PHP background goodluck
 
eugh php
 

« first day (1441 days earlier)      last day (3517 days later) »