« first day (960 days earlier)      last day (4002 days later) » 

3:43 AM
Can any one help me creating proxy class from wsdl and XSD files?
I am using wsdl.exe "wsdl path" "xsd path" i am getting unable to import operation the data type is missing
my xsd is having nested types
 
 
6 hours later…
10:07 AM
@RoelvanUden do you happen to know if Aforge has wpf controls? I downloaded it but all I saw was winforms
 
 
2 hours later…
11:37 AM
hi anybody here
 
11:49 AM
@JohanLarsson I dont know, sorry.
 
can somebody check if this file works on their computer
 
12:11 PM
First i know its vb. But any ideas before I throw it out to the main site?
 
one of the arguements is null, it sounds like
 
think ive got it now... almost
 
12:38 PM
@StuartBlackler looks strange
 
it is :)
im playing around with Expression Trees
and I just cant get the thing to compile :(
 
why vb?
 
it will eventually be going into a library for work and they only like vb
would have been so much quicker working in c# :(
 
1:09 PM
Still stuck?
 
yea :(
 
ok got my ass out of bed now so can give it a try
 
I might just go back to DynamicMethods instead of expression trees
 
Is it a property setter you want?
 
this is what I am trying to create (see comments for which methods im currently writing) pastebin.com/0NbaefiP
 
1:17 PM
Probably not what you want
Trying to hack the lambda now
 
Taking a look at this: msdn.microsoft.com/en-us/library/a89hcwhh.aspx wish there was a type safe version of it :(
 
Is this good?
 
1:39 PM
yea thats good :) thank you
im basically trying to write my own serialiser/deserialiser
easier said than done
 
@StuartBlackler Updated the gist
 
Thanks @JohanLarsson
 
no never seen it until now
 
looks quiet easy so im going to attempt it in 9 days :)
 
You become a certified C#er after that?
 
1:49 PM
looks like it, then there is two more to get an MCSD
 
Microsoft Certified ? Developer?
 
Solutions
My aim is to get that by September, then i can ask for more money :)
 
probably a useful line in a CV
 
brb going to the gym to sign up, shouldnt be more than half hour
very useful i think
 
@StuartBlackler You probably want to do some caching, think compiling expressions is pretty expensive
 
2:30 PM
I am using SQLite local database in my C# application
When you guys load from a database where do you store the information?
 
I have never done any db so no idea
 
I mean you dont open the connection everytime you want to access something, you just load all the info at once, right?
 
2:51 PM
If I want to extend a class that I import from a .dll by additional functions, how do I do that?
 
class A : B {...} is one way
Extension methods might be another
 
partial class A doesnt work? If it does, what do I have to care about?
 
why partial? Partial means the code for the class is spread out in two files
 
mmh ok, well nvm then
thanks
 
the class you want to extend cannot be sealed or internal maybe some more conditions that I forget
 
2:56 PM
ill try if that works, else ill provide the functionality in a Helper class as static functions
ty
@JohanLarsson extension properties dont exist, do they?
 
no I have been looking for them :D
 
howdyou mean that?
using extension methods worked fine btw ;)
ive been missing those in C++
 
@CBenni I would also like to have extension properties
 
aah ok ^.^
hard to find a syntax for them however
as long as it should agree with extension method syntax
well the difference isnt too big, ony 2 parenthesis behind the property are overhead ^.^
 
and you need two methods, get and set
 
3:05 PM
aah right
didnt think about that
 
can you people upvote the good answers in the following question - I am not sure which answer I should use as my solution -stackoverflow.com/questions/16883799/…
 
I know too little to vote, leave it open for a while and pick the highest voted as answer?
If it works that is
 
3:19 PM
hej @Matt
 
hi :D
 
 
3 hours later…
6:11 PM
hey everyone
 
 
1 hour later…
7:29 PM
WHHHHHY
did the adventureworks database change, all the tables are completely different
 
8:04 PM
For questions about this room, or for some tips and tricks for chat, please read our wiki. Stay classy c#!
2
 
Ha. Ha. Classy. C#.
Ha.
I sound like a kendoll
 
I don't think it is a pun
 
Prolly not.
 
It wasn't, but it does work as one :)
Pun unintended haha
 
you had a day off yesterday?
 
8:07 PM
Yes I did. It was nice.
 
good man
 
I had a nice lunch, walked on the beach, collected some beach glass, hung out with my gf and the dog. Saw fast & furious 6
 
what is beach glass?
 
Sea glass or beach glass is physically and chemically weathered glass found on beaches along bodies of fresh and salt water. These weathering processes produce natural frosted glass. Sea glass can be collected as a hobby and can be used to create jewelry. How it's made Significance Sea glass begins as normal shards of broken glass that are then persistently tumbled and ground until the sharp edges are smoothed and rounded. In this process, the glass loses its slick surface but gains a frosted appearance. Types There are two methods of making sea glass. The first type of sea glass produc...
 
8:27 PM
@JohanLarsson - I am remaking part of my nav. What do you think? jsfiddle.net/ed5vg
 
Nav as in navigation/menu?
 
yeah
that will sit at the top of the page
Later I am going to animate a menu which spawns when one of the tabs is clicked
 
@TravisJ not sure, it is very blue :D
 
Yes, the blue is just an indication of color there. The actual blue I use is much nicer on the eyes, and I have a picture of the sky for the background so it has a true gradient.
It was easier for the fiddle to just call everything "blue"
 
ok
Time is going to show current time?
 
8:33 PM
Actually that shows the current date.
 
I'm not sure how it is going to be used, find the tabs a bit strange. You log in as one of them right?
 
when you log in, the tabs are generated based on your access rights.
When you click a tab, then it will show all of the features available for that access.
 
ok so an admin has all rights a manager has + some?
 
so admin has access to a dbms of the whole database. superadmin has access to the users, manager has access to features for use by management, there are actually 3 other roles that aren't included which are data, employee, customer
 
ok makes sense then
I think the tabs and the selected tab should be connected to the content more
not sure if the time provides anything useful but the symmetry is nice
 
8:42 PM
hey, does anyone how I would make an edit to Windows Explorer, to say, change the way the preview pane looks, etc.
?
 
@TravisJ what happens if you flip the white border and have it only above and on the sides?
@JABFreeware all I know is on/off, what do you want?
 
@JohanLarsson lol I mean programatically
I want to make an addin
 
oh, no idea then
 
that would require adding something graphical to the windows explorer window
ok
any idea anyone?
 
9:08 PM
@JohanLarsson - Sorry, I had to have a small meeting. Here is an example with the way the content is laid out so you have a better idea: jsfiddle.net/hD42H
 
Ok I think you definitely want to connect the tans to the content, bring them down perhaps
Also find a way to signal current tab, make the non-current ones gray for example.
 
The tabs are connected to the content right now
But I am not a fan of it
 
hmm maybe it renders strange in Sweden I get thin blue line, white line, broad blue line and white line between content and tab. (counting from bottom and up)
 
no rounding?
can you show a screen shot?
 
yes sec
 
9:16 PM
that's my screen
 
I get the same
 
that looks right to me
 
So you want the blue in the middle of that taken away?
 
maybe not taken away but behind the tabs
I want the white in the tab to connect to the white in the content
I've actually spent today reading about tabcontrol et al. :D
 
9:19 PM
Keep in mind that the tabs do not reflect the content, they open a window so to speak, they make a popout
 
Gui bloopers, pretty good book despite disgusting cover
 
More like this: jsfiddle.net/Zgsqp?
 
@JohanLarsson you might want to take a look at this as well? amazon.com/Introduction-to-Rx-ebook/dp/B008GM3YPM/…
only £0.77 uk prices!
 
9:35 PM
@TravisJ I think I want even more, I want nothing but white between the white in the content and the white in the tab.
 
There should be no blue? You mean the inner border?
 
firing up Gimp
 
hi
 
Like the super admin tab
hej
 
Okay
btw, breaking the border like that is going to be really difficult. :P
 
9:52 PM
ok skip it then
Found this,dunno if good (view demonstration page)
if you look at Chromes tabs they are connected to the content and clearly show which one is the current one
 
^ i like the idea of that
 
The content will be a feature, whereas the tabs are just to open a menu of features to navigate to. It is not really an actual tab, it just has rounding
There are dozens of features per menu that opens.
So you can see, the tab wont really directly relate to the content, it will just be a super header. I can still make it blend in there, but there isn't going to be much point because the only relation it will have is the access rights, and it is going to be rather obvious to the user where they are.
 
this was in comments
 
@Steve Hey hey
Hi
 
hej
no wpf today
 
10:07 PM
Nah not since yesterday.. just don't feel like learning shiz
 
lol, grocking the xml namespaces sounded risky
 
And I still have to get to type converters and stuff
 
type converters or IValueConverter?
 
Maybe IValueConverter is a type converter?
You can have many type converters
 
IValueConverter is easy I'll show you tomorrow
 
10:22 PM
@Johan - I had another meeting. But I am bak now. iz beautiful? jsfiddle.net/zd5Zx
note that super admin is clickable (but not too much happens)
 
[x] beautiful
 
That was not easy to get offset :P
Does it look right on your screen?
 
sry about that
the selected looks right, the other ones are too high up
got to get some sleep now, nite
 
nite
 
Why is it fucked for me?
 
10:31 PM
my fiddle? screenshot?
 
hey, does anyone how I would make an edit to Windows Explorer, to say, change the way the preview pane looks, etc.
?


Johan Larsson
@TravisJ what happens if you flip the white border and have it only above and on the sides?
@JABFreeware all I know is on/off, what do you want?


JABFreeware
@JohanLarsson lol I mean programatically
I want to make an addin


Johan Larsson
oh, no idea then


JABFreeware
that would require adding something graphical to the windows explorer window
ok
any idea anyone?
well?
 
I don't code in wpf sorry
 
Or is it supposed to be that way?
 
@TravisJ okay
 
@Lews - Johan wanted the selected one to be connected like that
 
10:39 PM
Oh alright. Cool then :P
 
:P
It was actually really hard to connect
 
JavaScript?
 
It took like 10 minutes instead of the usual 1 minute.
It is css
 
Your 10mins would be 60 minutes for me
 
lol
 
11:00 PM
can someone suggest me a tool that would allow me to manage my remote employee? real-time video streaming / taking screen shots and such ?
 
I guess a webcam would work? Depends on how much resource you have. I haven't ever had to deal with that though.
 
i dont really want to look AT developer) more on the screen to see if he's doing work vs just billing hours..
 
ask him to submit a version to you at the end of every day, or end of every week
 
@alexus He could be pretending to do work..
And you wouldn't be able to tell
Unless you are a dev?
 
That will serve two purposes. 1) It will create a version history in case something goes wrong in the code or design. 2) It will allow you to see how much different the code is by week so you will know if he is working or not.
 
11:05 PM
Good night chaps. Have a wonderful Monday :D
 
@l
 
@StuartBlackler Night
 
@LewsTherin I understand that software can only do so much..
 
I think Travman's idea is the best
 
11:27 PM
=/ I managed to crash visual studio
 
user1125394
if you have class Foo : Bar
and a List<Foo> list;
there's no other way to do: Bar x; without having to list.Add((Foo)x);//<- ?
 
user1125394
(casting x to Foo, note that I get x as Bar, and can't change that)
 
No
Use List<Bar>
 
Wont the Foos be flattened?
I think would have to be List<IBar>
 
flattened?
 
11:31 PM
Yeah, down to Bar.
 
Oh.. yeah
 
Bar x;
list.Add((Foo)x);
can fail though because not all Bars are Foos, whereas all Foos are Bars.
 
user1125394
no i need a list of Foo, for their extended fields
 
user1125394
hmm wait
 
Well you can't have them :P Bar doesn't get to have access to Foo's stuff or it would be a Foo.
 
11:33 PM
 if(bar is Foo)
Then cast
There is no implicit downcast because it is impossible to tell
 
Can we look at something a little more concrete?
 
user1125394
yes ok I cast x, solced
 
user1125394
I have to add him the extended fields before
 
Although.. using a generic method should work?
Interface.Add<T>() where T : Bar
Not sure though
 

« first day (960 days earlier)      last day (4002 days later) »