« first day (2047 days earlier)      last day (2901 days later) » 

8:00 AM
Windows From application
 
@SteffenWinkler his boss/lecturer says it needs to go up and down when the users press buttons. I have no idea why.
I haven't seen software that has that functionality for a decade.
 
@Squiggle We have a similar thing, actually. A carousel-style view that has big left/right buttons on the side instead of a scrollbar.
 
so does anyone know why you'd want to create an EF proxy for an entity instead of an instance of the entity itself?
 
@AvnerShahar-Kashtan sure, for carousels. But vertically?
 
@StevenLiekens No idea. It can do cheap change tracking then but that's entirely pointless if it's a new object.
 
8:06 AM
@SteffenWinkler @AvnerShahar-Kashtan @Squiggle this is what i got my code here: https://gist.github.com/anonymous/69f119b08191b83e217d77fae233ced9

my user control looks like this: http://imgur.com/UlvGUN8
 
I only ever see that on PoS systems
@AndréMarques are you making a point-of-sale or touch screen system? or what?
 
@Squiggle it will be touch screen i think thats why my "boss" from my intership said me to do like this
 
oh
@RoelvanUden it's used for loading related entities
 
@AndréMarques and you're certain that ScrollViewer.ScrollToVerticalOffset doesn't work? msdn.microsoft.com/en-us/library/…
 
@StevenLiekens Just like lazy properties are used to avoid fetching unused data from the DB until it's necessary, so are proxy objects used to avoid fetching related entities until they're actually needed.
@Squiggle That would require code behind, though.
 
8:10 AM
Short question: I will create serval userControls with the same property `Output`. Is it possible to access this property without knowing which userControl is coming in? Imagine there is a `public void GetOutput(Control myUserControl)`. VS wouldnt compile `myUserControl.Output` because is no `Output` for the type `Control`.

Any idea?
 
@C4ud3x Create an interface, IOutputControl. Have your user controls implement it. Then try casting myUserControl to IOutputControl and getting the value from it.
Alternately, use dynamic to try accessing the property at runtime.
 
I thought the answer would point to interfaces... unfortunately I've no experience in using them >.< Ill try my best.
 
@Squiggle could u give me a example of how to use or the syntax or where to put it
@Squiggle is that to scroll up and down?
 
@AvnerShahar-Kashtan Doesnt even looks that hard stackoverflow.com/questions/4901478/…. Thanks for that !
 
@StevenLiekens That explains it. I don't use lazy loading.
 
8:15 AM
@Squiggle ohhh. Okay. That doesn't sound clever at all. Or intuitive. But I guess it's a nice idea for an exercise on binding.
 
@AndréMarques Try setting "upbt"'s Command property to "ScrollBar.LineUpCommand" and its CommandTarget to {Binding ElementName=ScrollBotoes}
 
hello world!
^^
 
@C4ud3x You're welcome. Controls are, at the end of the day, still classes.
@C4ud3x Don't forget to check the type before casting. The problem with downcasting is that you can rarely be sure that you're getting the type you expect.
 
Im trying to go straight with visitor pattern. If done right, I guess there is no chance to get the wrong control.
 
@AndréMarques I'm not a WPF developer, plus I'm at work. Give it a go yourself - there's a few examples of solutions on StackOverflow if you search
 
8:21 AM
@Squiggle ok sry :s @AvnerShahar-Kashtan and the on click disappear
 
@AndréMarques and tell us if it doesn't work, share your code and work with us to help you resolve it. You understand that we can't just give you code :)
 
@Squiggle yeah i know :s i always try to understand but sometimes there is code that i dont understand
 
@AndréMarques Don't use OnClick and code behind, which usually leads to messier code. Try using MVVM and command binding, including binding to commands exposed by other controls.
 
@AvnerShahar-Kashtan didnt work
im gonna try what @Squiggle said
 
albert einstein didnt say this
thats just triggering
 
8:29 AM
@misha130 no, it was obviously Oscar Wilde
 
What do i need to be able to develop with Unity in Visual studio?
 
visual studio and unity
 
I got them both
 
win
 
Well soon... tm^
 
8:32 AM
ohh. And don't forget skill
 
I got the reeeeeeal skill
 
If it's not working, click harder.
 
@misha130: lots of different quotes that are plain wrong on the internet :)
 
u mean like this ? Raises mouse to mic and spams m1
no but what is skill? Is it a tool?
!!wat
wtf, they peaced the !!wat
 
caprica slumbers

 Game Development

Game development and other polite discussion. Game development...
if You want to ask Unity related questions
 
8:33 AM
I think you can only open files from Unity in VS?
Not solutions.
 
or should i just use monodev :o
 
I'm ok with monodev
 
project rider anyone?
 
I'm doing the networking part for months now
 
Does anyone knows Razor well?
 
8:35 AM
morning
 
*know
 
I know razor well
 
me too. Have static link, electric storm, ....
ranged semi-carry
 
can anyone explain this thread (resolution) to me pls http://stackoverflow.com/questions/20762400/make-sure-method-finishes-prior-to-another-method-call
I need to do the same thing, but Im not getting it
 
    if (int.TryParse(Request.QueryString["CustomerId"], out customerId) && int.TryParse(Request.QueryString["UserId"], out userId))
    {
    }
Great if-statement.. Whatever that is
 
8:36 AM
outdated @Mr.Toxy
 
@JakobMillah Great.
 
@JakobMillah awesome
 
@misha130 whats the updated method to use?
 
not using threads but using tasks
 
logic question :- this gives me or display the same value of combo box in the text box private void cmbYear_SelectedValueChanged(object sender, EventArgs e)
{
if (cmbYear.SelectedIndex == -1)
{
tbAmount.Text = string.Empty;
}
else {
tbAmount.Text = cmbYear.SelectedItem.ToString();
}
 
@misha130 I have a function that needs to parse every file from a list, but I only need it to parse a file at a time, only when the other function that exectues the commands ends.
 
I need to get the value of the year against the amount instead
 
We are bursting with excitement! You asked if you could ask a question but don't actually ask it! DONT DO THAT, DONT LEAVE US HANGING, JUST ASK YOUR QUESTION
3
 
ok @misha130 are you able to see the error? It tells me: "end tag is missing match starting tag" on the </a> in the else
 
I got swamped by questions
 
8:39 AM
ContinueWhenAny(Task[], Action<Task>)
Creates a continuation Task that will be started upon the completion of any Task in the provided set.
 
this is my swamp now shrek
 
?
 
what froxer said
 
8 )
 
@Froxer thx :D gonna check that out
 
8:41 AM
@JG7000 you want to get Year from SelectedItem and set it to amount textbox?
 
@Errore put the </a> outside the if/else if
razor aint smart enough to not see the error
but it should still run either way i think
 
@misha130 I can't, because if I do this then the whole content int he if goes inside the anchor
 
two ifs
 
@Jemaxack I have the year I want its corresponding value in text box
 
fuuuck me
im nervous
in like 1h
im gonna get a phonecall....for a interview in Stockholm
They are looking for a Senior but they might give me a shot
 
8:44 AM
..
 
@misha130 I think you can solve the problem by using <text></text> or @: but I don't remember how it works
 
@JG7000 can you clerify your question?
 
As a senior?
 
@Froxer Good luck :D
 
I told him @Sippy that i dont have the 5 years they are asking for.
@Sippy but he told me its fine, lets talk anyways.
 
8:45 AM
5 years to be senior?
 
I don't mean this in a bad way
 
Well idk in my eyes 5 years is a senior
 
but if they hire you as a senior
I'm quitting and becoming a farmer
 
LOL
no, i get it
im a junior at best
 
@Sippy XD
 
8:45 AM
If 5 years makes you a senior, what am I then? So old I could have lived with dragons?
 
He might be keen to hire you if you're smart and just hire you as a junior, that's what I'd do
 
@Errore <text></a></text> you mean? then the razor formats the </a> as text
 
What is a senior for you guys ? :O
 
@Sippy I will quit and selling ice cubes
 
@Roel how much?
 
8:46 AM
LOL @ntohl
 
I got 3 years experience 10 days ago :^)
 
you guys crack me up
 
@RoelvanUden you may know some dinosaurs
 
@RoelvanUden wait how old are you haha
 
@RoelvanUden Lol
 
8:46 AM
@Froxer *you
 
You only have like 2-3 don't you?
 
@Jamaxack when I call a userId I get his/her personal data plus the year or years he/she paid subscription, I am getting the year in the combo box but not getting the amount for the year
 
enterprisewise
 
@misha130 this is what I mean... but I am not able to write it... I have syntax errors
 
thats a fancy word
 
8:47 AM
@JanDvorak yep, sorry.
 
how about @Html.Raw()? @Errore
 
The definition of a "senior" maybe tells about years... but I guess its rather a combination of knowledge and time.
Time only cant be enough.
 
@RoelvanUden I always considered you something of a universal constant
 
@Froxer I'm 26, I'm practically young! But hey, I have programmed for 12 years! That's twice a senior!
 
Isn't senior = "don't need a mentor"?
 
8:47 AM
@SteffenWinkler LOL
 
@RoelvanUden we're the same age? Ohhh you are counting in galactic years, not earth years.
 
@RoelvanUden Senior²
 
get out roel
I was programming since i was 13
 
@SteffenWinkler If we're both 26 then yes!
 
so wtf is 5 years ? Middle Dev ? What is it called, i know Entry - Junior - XXX - Senior
 
8:48 AM
@misha130 And now your are? 14?
 
25
 
:D
 
Junior, Medior, Senior, Dinosaur, Myth
 
:DDDD
 
I heard the word "medior" not long ago
 
8:48 AM
@Froxer a cadet maybe
 
@RoelvanUden yes but I'm 26 earth years old.
 
so basically you are a wizard @RoelvanUden ? Can i call you harry?
 
@RoelvanUden , Roel
 
anxiety fucking sucks...
 
Myth :D
 
8:48 AM
And meta, please don't ban me
 
hahahahahaha
#BAN
 
soooooo
 
@Froxer don't be nervious. It will be short, and unpainful...
 
@Froxer No!
@SteffenWinkler Me too ;o
ohmai
@misha130 you're even older! in terms of programmin'!
 
padawans...
 
8:49 AM
dinosaur
 
@RoelvanUden but you've so much more experience than me :(
 
It'll be slow and excruciating
 
just...incoming a Sorry Froxer but you are basically a noob and... we need someonne with some skills @ntohl or what is gonna happend :D @RoelvanUden come on its gonna be great
 
and you've achieved more than me.
we can't be the same age
 
@Froxer The most of the times the decision is picked before the talk.
 
8:50 AM
ok
 
I've been screwing around too much ;_;
 
@misha130 thanks, I have solved the problem by using two if
 
@ErroreFatale cleanest way is the best way
 
I bet you enjoy it by now @misha130 ;)
 
@SteffenWinkler I didn't achieve anything ;d
 
8:50 AM
but should i think of something???
 
I just have random mostly-meaningless knowledge.
 
@Froxer Being polite wouldnt be bad.
 
@RoelvanUden liar, you're a wizard
 
i mean i always try to be polite and respectful its in my nature
anything that i probly wouldnt think of ?
 
I'm.. I'm a what?
- A wizard.
But.. I can't be a.. a.. Wizard.
 
8:52 AM
@RoelvanUden weren't you married/about to marry?
 
Yes.. and now your name is harry @RoelvanUden
 
You are a wizard Roel
 
@SteffenWinkler What the? No. I don't even have a girlfriend.
I am considering becoming that creepy old guy with 5 cats.
 
I know you have a brother, thats about it
cats are great
 
Lol
 
8:53 AM
@RoelvanUden oops, must've changed you with someone else. Sorry. But you also have 1.5k rep more than me.
 
Yes! Let's turn this into pet talk!
 
@Froxer Then be urself (even if it sounds stupid) and answer honestly. No need trying to talk about skill you havnt got. So its all about if he thinks you are useful. You cant change your skill within one hour. But you can decide how to behave.
 
@SteffenWinkler Rep is meaningless too.
 
no.
Rep is live
 
@misha130 Do you know if you can have/get/raise a cat while working fulltime?
 
8:53 AM
@Froxer mention designs and DI as much as possible
 
I never had a cat.
 
no...
:(
 
What do you meeean with designs
 
@misha130 :(
 
design patterns
 
8:54 AM
oh
 
factories and what not
 
like SOLID et.c ?
 
etc etc etc
 
I guess SOLID is a principle...
 
Pets seem to be exclusively for people that are unemployed or stay-at-home housewives. What the actual fuck.
 
8:54 AM
SOLID is a parent principle
 
but every piece of solid is a kind of pattern
 
that all other designs inherit from
 
to keep shit simple, dont overcomplicate stuff et.c
 
become NEET @Roel
 
let every component do its own thing, make a new interface instead of change what already works
 
8:55 AM
@misha130 Thats for sure a good point. Having knowledge in design patterns is a good thing.
After 6 years of coding im currently (today) facing my first one lol.
 
@misha130 :-(
I can't get a dog, I can't get a cat, working full time is meh.
 
Yes overcomplication is real pain sometimes
 
just program a robot @RoelvanUden ... i believe in you, you are a wizard afterall.
 
As much as I like technology, I like actual flesh and blood pets more.
So no, denied.
 
@misha130 yeah me too. Since I was 8 if you count scripting of different kinds.
 
8:59 AM
If(brother.state == bad) slap();
:D
 
ok more story to why im gonna get a call in 1h...
 
Not counting.
 
on Linkedin i was contacted by a headhunter
 
@Froxer prepare to answer questions like "elaborate what S O L I D means in SOLID"
 
She explained they were looking for fresh .net developers out of uni
 
9:00 AM
heahunter hahahaha
 
@RoelvanUden y u no like tamagotchi?
 
and that ladies and gentleman is why you dont watch porn without a vpn
 
im not trolling @Mr.Toxy i can copy pasta the message and @JakobMillah can translate it from Swedish :)
 
@scheien Such uselessness. I mean, it's a bloody program. It's just ints and bytes. Who cares.
 
Anyways
 
9:01 AM
@Froxer just chill, if it works then ok, if not then whatever
 
@Froxer I was joking :P
 
See told me to contact X person if it looked interesting
i did
X person replied, sent me a description
 
@RoelvanUden True.
 
in said description it says that they are looking for people for their R&D team, further down it says 5 years experience under the person they are looking for chapter.
Now I dont even know what a R&D team is ?
 
XD
 
9:02 AM
X.x
 
Awesome guy. I mean me neither but.... :D well...
 
@Froxer does it say thats an eliminatory factor? or its just kinda of a plus?
 
its like a plus kind of thing i guess
but it gave me the idea that they are looking for people with some more experience than myself.
 
oh so dont be worried, if you're good and they are interested in you they most likely will ingore that fact
 
9:04 AM
well, i still have no clue what a R&D team is :P
Research and Development ???
 
@Froxer As long as you dont tell that its ok....
 
yeah atleast sounds like that
Research and Development (R&D), also known in Europe as research and technical (or technological) development (RTD), is a general term for activities in connection with corporate or governmental innovation. R&D is a component of Innovation and is situated at the front end of the Innovation lifecycle. Innovation builds on R&D and includes commercialization phases. The activities that are classified as R&D differ from company to company, but there are two primary models, with an R&D department being either staffed by engineers and tasked with directly developing new products, or staffed with industrial...
 
@Froxer This!
 
Ok
so basically what i did with the project i have finished where i currently am?
they gave me an idea, asked me to explain a working workflow
i did, i got the internship.
i completed the project that i explained in the interview and here we are.
ok, im gonna go outside and take a walk or something. I dont want to be at the office when i get that call.
53 min remaining ... until explosion
 
God you are nervous.
 
9:07 AM
yes.
 
@Froxer They might offer you a different position, than the one they actually are looking for.
 
Makes it harder for urself ^^.
 
I would be cool with that, experience is experience.
Currently I have close to none real environment exp
just bunch of prototyping
 
Rather typeof(experience) is typeof(experience) >.<
Then its cool.
 
I mean, i did my first real deploy 2 weeks ago.
in IIS environment.
solid solid solid.. ok
i got this.
 
9:09 AM
remember that Linq query from yesterday?

     var lastVersion = new DirectoryInfo(Directoria).EnumerateFiles()
                        .Where(d => d.Name.ToLower().EndsWith(".sql"))
                        .Select(d => new { Directory = d.Directory, Token = d.Name.Split('_') })
                        //.Select(d => new { Directory = d, Token = d.Name.Split('_') })
                        .Where(x => x.Token.Length == 3 && Version.TryParse(x.Token[2], out version))
                        .Select(x => new { Directory = x.Directory, Date = x.Token[1], Version = version })
it gives me 0 items
 
@Froxer I was a regular worker at office until I asked my boss if he would allow me to code a simple tool to increase the performance of all others :D
 
I think it has to do with this line
.Where(x => x.Token.Length == 3 && Version.TryParse(x.Token[2], out version))
 
Inbetween our project.
 
@Squiggle did you try rider and see how its only DNX and not core?
 
x.Token.Length == 3 what do I need to change here ?
 
9:10 AM
After 2 years of coding I now infected the whole company with my shit ^^.
 
0
Q: indexOff is breaking for specific case in jquery

Ram SinghConcept: I want to add value to a string if it is not exists the string already. i tried to do achieve this by using below code: var liItems = '11,2,4'; if (liItems.indexOf('1') < 0) { liItems += '1' + ','; } in this case i am checking if "1" exists in string, but in string we have "11" n...

Please help me
 
@C4ud3x that sounded really weird in the end. :)
 
@Froxer XD. Well I was a hobby-programmer. I was studying physics.
The first tool was simple... then he asked "couldnt you create a small function that...."
2 weeks later "couldnt you...."
"Couldnt you...., couldnt you...., couldnt you...., couldnt you...., couldnt you...., couldnt you....,"
Now its huge.
Now im daily on stackoverflow like the others in here.
 
One of us... one of us...
@misha130 yes. It wouldn't load my new project :P
 
Hi guys
I have 1 serial port event which fires as data comes to my serial port
void _serialPort_DataReceived(object sender, SerialDataReceivedEventArgs e)
This event will fire when my data comes to serial port
but now i want to logs something in this
i have 1 table and in this event i want to log whether this event fires or not
so if this event fires then i want to insert data in to my logs table through web api service method
but i want to save logs asynchornously because this event will be firing conitnuosly as data will be coming so frequenlty to my serial port
This should not happen like when i am calling my web api service to save data in logs table but again data comes to my serial port but due to database save operation is going on it will block the serial port event
 
9:26 AM
sucks
 
damn allergies, I love/hate you spring
you bastard sunny beautiful motherducker
 
@JakobMillah: Before you quit, have you employer buy you tickets for ndcoslo.com :)
 
@Mr.Toxy XD
 
@C4ud3x its being relentless on me T.T
 
9:43 AM
@scheien That would be nice :P Since they can't even fix licenses for software to me, I am very scepticle they would buy me a ticket :P
 
10:00 AM
skeptical
 
kurwa
Ja jest polski, japierdole
ja niewiem co ty mówisz
I thought it looked abit weird :) Thanks for correcting me½!
@scheien Called the dude at Combitech. He was going for lunch and sounded very enthusiastic
He will call back a bit later.. I don't know if I should bring the topic up with my job before speaking to him or wait. I guess waiting is the way to go
 
@JakobMillah just being nosy on your question history, read your one about WSDL
 
@Learning Think Producer/Consumer, or message queue.
 
Never seen anyone hand-craft a WSDL before but I'm glad that someone has, no reason why one shouldn't
 
@TomW Hahah Glad it wasn't something negative :D It was pretty nice tbh. New experience. Kinda liked it
 
10:11 AM
It makes sense really, it's design by contract and it's a standard for defining service contracts. People should do that more, really.
 
My question experience is not much to celebrate.. Pretty long jumps between each question and all different areas
 
@TomW The problem with WSDL, like SOAP in general, is that it's such a convoluted standard that writing it without tooling is a serious pain.
 
WCF has a questionable interpretation of WSDL in places, for example it imposes strict ordering on object properties because it uses xs:sequence, which is dumb
And the ordering it chooses looks alphabetical, but it's actually by character ordinal.
 
Also, java/jetty based web services use characters in their autogenerated WSDLs that aren't legal in WCF's parsing of WSDL.
For joy!
 
!!tableflip
 
10:14 AM
Damn. Meta killed her?
 
The fun part? These characters aren't even used in important names - just in internal keys used to link parts of the schema.
So I downloaded the WSDL, replaced $ with _, and ended up with a fully usable and compatible WSDL.
 
@TomW (ノಠ益ಠ)ノ彡┻━┻
 
that went ok... i think
Basically, hes gonna talk with the team and see if they cant help me develop my powershell knowledge (In which i have none currently), or see if there is possiblity for a junior position.
hmm, i need new router home - Good candidate? https://www.asus.com/Networking/RTN12_D1/specifications/

thoughts?
 
@JakobMillah wtf are you on about lol
 
10:30 AM
@Sippy #Rebellion
 
#onyourown
 
Yes
 
finally solved that Linq query I was working on
  public List<string> ListaDeFicheiros(string Directoria)
        {
            List<string> Paths = Directory.GetFiles(Directoria, "*.sql", SearchOption.TopDirectoryOnly).
    Select(f =>
    {
        int version;
        string[] parts = Path.GetFileName(f).Split('_');
        if (parts.Length < 1 || !int.TryParse(parts[0], out version))
            version = -1;
        return new { File = f, Version = version };
    }).
    Where(f => f.Version > -1).
    OrderBy(f => f.Version).
    Select(f => f.File).ToList();
it ended up like that
 
Those Ficheiros got Lista'd fo sho
 
10:52 AM
translation: Those Files got listed fo sho
 
@JakobMillah hehe
 
How come so many write function names in non-english languages?
I find that slightly weird, incase you ever recruit people that does not know the language
 

« first day (2047 days earlier)      last day (2901 days later) »