« first day (843 days earlier)      last day (4107 days later) » 

12:00 AM
Model's are effectively just that, model code. Regardless of other things you should be able to reference them. Do you have the namespace correct?
 
Well, that's just it; I'm not sure what else I need to do in order for VS to see them from the MVC project. The EF model classes aren't in the root of their project; they're down a level, but I don't know where in the MVC project I need to mention that.
Web.config ... ?
 
wait, models are in : MVC Project A

MVC Project B references the compiled MVC Project A?

Or are the models in their own C# Project?
 
No sir yes to the last; own C# empty project.
 
well, I've created an Android interface to our web services in about... 4 or 5 hours
I'm pretty awesome. :D
 
Referenced and correctly used from an empty ASP.NET application turned WCF Data Service application.
The MVC project can see them, but I can't do any generation with "Add Controller", cause' that's what can't see them.
I think VS might be bugging out, it's acting odd now.
UI glitches and such
 
12:18 AM
hi all!
 
hi @JABFreeware
 
Wacky.
It sees them all now.
I didn't even restart VS.
 
@Pheonixblade9 what are you doing?
 
And changed... well, nothing?
I modified the dependency order of unrelated projects, cleaned and rebuilt for the nth time.
Thanks for talking it through with me @RyanTernier
 
@Bracketworks how did you make a button apear?
 
12:22 AM
I restarted VS.
;) [tag:whatever]
 
@Bracketworks LOL, in chat I mean
@Bracketworks oh
 
It's for SO tag references, not just glitter.
<kbd>F1</kbd> nevermind; thought that would work here too.
Restart time. I'm taking bets on MSSQLSERVICE not starting, 3 to 1 odds.
 
@JABFreeware code-a-thon day.
 
@Pheonixblade9 I see you are doing many things with your website.
 
@CCInc oh, my new one?
 
12:29 AM
yah
 
yeah, if you guys find anything funny, send it to me, I'll post it.
 
My comment was pretty awesome.
Why don't you post that?
 
you're mr wordpress? lol
 
No
 
which comment?
 
12:31 AM
Check the "awaiting moderation" comments in yoru WP admin
 
@Bracketworks Sorry man, got put onto some client calls. yay work
 
are you so proud that you're my 2nd comment evar?
 
@Pheonixblade9 YES
 
friend of mine just started this site:wrong url
i feel like an idiot
there we go
He does a weekly interview and "will" post those interviews. He does them with PM's, senior dev's, directors etc, goes through the dirt of their jobs, what they hate, love etc.
 
12:41 AM
Hey all,

When building a profanity filter, and only wanting to filter out exact matches which classify as 'words' (spaces delimitted) how would I do this?
Without splitting the thing into a list of words and then parsing
 
regex is probably the most straight forward
 
Ugh, I still can't find on this tagging stuff..
I would think it would be popular.. and I want to sleep :(
 
@LewsTherin that?
 
@RyanTernier Yeah, but finding related tags, etc..
A .NET one will be awesome then I go to bed
 
i've actually never heard the concept of tag vs category
 
12:47 AM
Well there seems to be a difference.. but if I find no implementation I will have to write my own crappy method.. which will suck
I found a terminology at last!
Folksonomy!
 
@RyanTernier Far as I've known; categories = hierarchical, tags = cross-cutting.
 
Ugh, still nothing
 
sup folks
back home
playing League instead of working on shit
because work ethic is the annihilated by my apartment.
 
1:08 AM
What namespace is Enforce.That in?
 
1:20 AM
hey @ShotgunNinja nice avatar
 
Anyone know Refresh(), need to using what library?, I am new in C# >.<
 
refresh what?
 
You need to be waaaay more specific.
 
Do you mean on WinForms?
 
1:21 AM
F5?
 
Or what?
 
^
 
yeah2, on winForms
 
^^
^^^^
^^^'
 
On the WinForms, you just need access to the generic WinForms libraries.
 
1:21 AM
WinForms is System.Windows.Forms.
 
@CCInc The water looks choppy today...
 
I already using that library
But still cannot
 
*namespace
 
codz plz?
 
What have you tried?
 
1:22 AM
I am using Visual C# 2010 Express
private void backWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) {
lvStudent.ItemsSource = dataSet.Tables["student"].DefaultView;
lvStudent.Items.Refresh();

//MessageBox.Show("Complete");
}
 
That's not code :)
derp, bad timing
 
I am trying to create DataBinding
 
What is lvStudent?
 
@KendallFrey ListView
 
1:24 AM
I'm afraid you have made a stupid mistake.
 
@KendallFrey Will you help me debug bot?
in Teenage Programmers Chatroom, 50 secs ago, by HangBot
undefined
:7541781 Could not process input. Error: Cannot call method 'send' of undefined
 
Did you happen to be following a tutorial?
 
I want the ListView auto update from the database
So I use DataBinding
 
Because you appear to be using WinForms like WPF.
 
well I can tell you that will not work as is
 
1:26 AM
Why are you using ItemsSource? There is no such property on ListView.
@CCInc I'm not a debugger. Have you tried debugging in your browser?
 
Yes.
The thing is, I use send no where in my code.
 
Obviously false.
 
...
 
cc/help
 
1:27 AM
ty
 
I was trying to create a form with a list of students (List of student include Id, name, photos, etc), with an add button.
when pressing the add button, a dialog appear to add the data.
After add the data the Student List will automatically update the latest list of student.
Can anyone tell me how to implement this?
 
Nov 21 '12 at 0:47, by Kendall Frey
I'm not a code vending machine.
 
No, I dont mean the code
 
Yes, you do.
 
can I use ListView for showing the list?
 
1:32 AM
@CCInc You should be able to get at least a stack trace.
 
Or is there any good solution?
 
@Sieryuu If you want to display a table of data, you should probably use DataGridView
 
@KendallFrey, oh Thanks, then how to make the data update automatically?
The forum said that need to use DataBinding, is it correct?
 
Are you new to WinForms?
 
1:35 AM
@KendallFrey yeah, I never done winForms before >.<
 
oh right sorry I forgot
 
@Sieryuu Good, now, stop using WinForms and use WPF instead.
 
^
 
@CCInc What is error.stack?
 
1:36 AM
best to learn wtf wpf before winform
 
Best not to learn WinForms at all.
 
@KendallFrey Where is that at?
 
Your TypeError.
 
@KendallFrey can I know the reason?
 
@KendallFrey Yes, but where?
wait how do I get tah?
 
1:38 AM
@CCInc You showed me a screenshot of a TypeError, now show me the stack of it.
 
uhh
Sorry for being an idiot
but what JS stack?
 
@Sieryuu 1. WPF is newer and better supported. 2. WPF has better data binding capabilities. 3. WPF can make some awesome interfaces.
@CCInc error.stack
Or err, or e, or whatever you call it.
 
But how do I retrieve that object error if it is thrown in the console and I don't have the obejcT?
should i wrap it all in a try catcH?
 
Yes.
 
Ah, ok then.
 
1:42 AM
try catcH is a very good thinG!
:)
 
How do I make GIT save my GITHUB username/pass?
Hmm, so where did bot.Message.reply come from
 
Oh, dear, it's Kyle.
 
So somewhere between here and here a Message object was created/used and the reply functio was called
var text =args;
//console.log(args, "args");
$.post(
    'http://ccinc.host56.com/Translate.php', {txtToTranslate:text},

    function(data){
	console.log("wasrun");
//  console.log(args);
  console.log(data);
    }
);
 
2:13 AM
What is the "+=" means in WPF?
 
usage?
 
yeah
 
no, show me your code usage meaning
 
@Sieryuu += doesn't have anything to do with WPF.
a += b means a = a + b
 
@KendallFrey, OIC, thanks
 
2:17 AM
Except in events, which is why I asked
 
@KendallFrey what is the meaning in WinForms?
 
same thing
unless it is an event, it is a = a+b
int i = 1;
int ii = 2;
i += ii; //3
 
@Sieryuu += doesn't have anything to do with WinForms.
It's a C# thing.
Sorry, but you should RTFM.
 
^
yay plugin works
 
booga booga
 
2:21 AM
11
Q: Chat Easy Input Tools - Provides keyboard shortcuts for common text formatting commands

rlemon About Provides keyboard shortcuts for common text formatting commands, reducing the dependency on mouse usage. Current version does not have a configurable set of hotkeys but later versions will. How to use. All of the following commands are run if the user has focus in the chat input area. ...

Any other useful chat plugins I shoudl know about?
wait that's not it
 
so... I finished my app. Or at least the first useful iteration of it. I'll let you guys know when I put it up on Github.
8 hours for a proof of concept... not bad :)
 
yay!
 
3:05 AM
I'm using a regular expression... and I want to replace say 'cat' with '**', three stars.. and house.. with 4 ''. How can I get the length of the replacement?
 
in Java, 11 secs ago, by CC Inc
night peoplez
 
@VaughanHilts Match.Length IIRC
I'd recommend using one of the overloads accepting a MatchEvaluator, such as this one: msdn.microsoft.com/en-us/library/cft8645c.aspx
 
I have "private List<Student> LoadCollectionData() " inside got a list of data.
how to Put the itemsSource in the Xaml?
 
Set ItemsSource="{Binding}", and set the control's DataContext to the right object.
 
Anyone have any idea as to why an EditorFor(o => o.p) would cause the related models to be dumped like so: System.Data.Entity.DynamicProxies.EntertainmentEnterta_8E1E836150C91A5513BBED5C‌​CBE8295DF8AEC52D45933526E8183C930D0D66B7
damn MVC3 is frustrating; I can visualize what I need to do; I just can't do it.
 
3:36 AM
@KendallFrey Thanks a lot, that solved my problem.
 
user1786283
Anybody willing to help me, my question here, stuck on windows phone development stackoverflow.com/questions/14699837/wpf-shape-constraints
 
hello folks , any idea why this code public void chickenonSale(Int32 p){ //event Handler

Console.WriteLine("Store has chickens are on sale as low as ${0) each",p);

}
is generating a 'FormatException was unhandled ' error?
 
@KodeSeeker Maybe
first of all your code is filled with typos
 
user1786283
@KodeSeeker it is better to use Console.WriteLine(String.Format("Store has chickens are on sale as low as ${0) each",p));
 
as ${0} each",p not as ${0) each",p
 
3:50 AM
@enginefree the exception persists
 
waht type is p?
 
            public void chickenonSale(Int32 p){ //event Handler

            Console.WriteLine(String.Format("Store has chickens are on sale as low as ${0) each", p));

        }
 
sigh
once again
1 min ago, by CC Inc
as ${0} each",p not as ${0) each",p
 
user1786283
@KodeSeeker try again using Console.WriteLine(String.Format("Store has chickens are on sale as low as ${0} each",p));
 
BTW don't use Int32, use int
 
user1786283
3:52 AM
Is anyone experienced in windows phone development?
 
Not atm
 
@CCInc there is no difference between Int32 and int, it's just an alias
 
@CCInc Gotcha, that was a Noob error :-)
 
@GaryConnell Yes, but most people agree
you use int when talking about the variable type
and Int32 when using the class methods
Just a styling thing
 
well I use String instead of string, Int64 instead of long, mainly because what would you use with DateTime
 
3:54 AM
Notice how @enginefree used "String.Format" in his example rather than "string.Format"
 
user1786283
@CCInc Take a look at the documentation for String formatting, msdn.microsoft.com/en-us/library/system.string.format.aspx, they too use String instead of string.
 
Yes, it is a styling thing, which is what I was trying to point out with Int32
 
I agree though it is purely a styling thing, I just use it for consistency, in that (when using default syntax highlighting) String, Int64, DateTime and any enums will be green and string, int, long will be blue. Just in my opinion more consistent, but makes no difference whatsoever with regard to functionality. I was just confused when you told @KodeSeeker not to use Int32
 
yeah I foresaw somebody saying that
 
although, there is one advantage to string, int, long, etc, no need for "using System" which you do need for String, Int32, Int64, etc
 
4:02 AM
Oh really?
I never knew that
 
user1786283
@GaryConnell Did not know that, I'm going to start using them more then.
 
yeah found out when using the "Organize usings" option in VS :) but if you need DateTime, you need to add "using System;" again lol
 
oops
 
4:24 AM
private List<Student> LoadCollectionData() {} << This is my code for binding
I use "dgStudent.ItemsSource = LoadCollectionData();" for load the data to my GridView
Should I Call "dgStudent.ItemsSource = LoadCollectionData();" Everytime then there is an update from Database?
 
4:47 AM
Client: "We love what you produced, it does everything we wanted. can you make it in python now? We found out that the guy we hired to maintain this doesn't know c#"
Me: "um...didn't you spec this for c#?"
Boss: "Sure. This will just be phase one then. We will have to rescope and charge more for phase two"
Me: "um...couldn't you just teach the guy c# or hire someone who knows c#"?

my boss said, and I'm not joking here, he turned to me and said "shhh. I'm talking to the people with the money." *while* they where in front of us, and everyone seemed to be ok with all this.
5
 
5:27 AM
@All Good morning!
 
5:43 AM
I'm going to lose my damn mind.
What's the best solution for the following?
Error 2 Reference.datasvcmap: The type 'System.Data.Services.Client.DataServiceCollection`1' is ambiguous: it could come from assembly '...\bin\Microsoft.Data.Services.Client.DLL' or from assembly 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.Services.Client\v4.0_4.0.0.0__b77a5c561934e089\System.Data.Services.Client.dll'. Please specify the assembly explicitly in the type name.	App_WebReferences/ContentService/
 
"is ambiguous" is some thing i heard few weeks back :( couldnt guess it now
@Bracket is it some wcf data service problem ?
 
Yessiree
 
It keeps trying to hit the GAC
 
check if its useful..
I think its interfering with other assemblies or confused :P
 
5:49 AM
Its confused alright, and if I could I'd punch it's f*cking head in.
 
@All Gud Morning
 
Morning @Dinesh and @JyotiGupta
 
does any know how to convert gridview to image in asp.net
 
why do you want to convert gridview to image ?
 
we just want to export the grid(s) to ppt sildes
 
hi
gud mrng
 
Moring Jyothi Gupta
 
@dineshHaraveer can u help me in sql query
 
6:00 AM
there??
 
i hav a query and i m assigning it into a string variable in a single quotes and chking different conditions and concanate another string acording to my condition but it does not tak my values in a parameter
Declare @strQuery as nvarchar(max)
set @strQuery = 'select (CASE rating when 0 then 1 ELSE RATING end / CASE ratecount when 0 then 1 ELSE ratecount end) as currentrating,
Obj.objectid, obj.objectName,obj.address,obj.countrystatecityarea,obj.facilityids, Obj.nooffloors,Obj.NearBy
,rep.name, Obj.longitude,Obj.latitude,Obj.AccomodationType,obj.walkingDistance
from tblObject Obj
inner join tblRepresntative rep on rep.repid=Obj.repid
where 1=1 AND Obj.isDel=''false'' and obj.status=''true'' and
Obj.objectId in (
like that
 
Morning guys! I feel like crap ! :)
 
@dineshHaraveer r u there????
 
6:07 AM
you have better luck in the sql room
 
????
 
@Jyoti :( no clue about your query .. wait for sometime and you ll get answers from others..here
I m poor with queries
@Beginner hope you dont feel like a crab :P
 
its ok @codebrain and thanx
 
@codebrain i seen your link given but it is not converting the grid to image
 
@codebrain no way, I am a vegetarian! :P
 
6:17 AM
yo @dinesh , you better check all the links , it has required information i hope so ..you cant get ful code buddy :( its a better example i guess..
 
use print screen
:-D
 
yov @Beginner he want to do it code and in runtime LOL
 
Haha I know. just joking. :p
 
i have checked some of the links but all are of export to excel,pdf but no code given for converting image
 
@Roel you tagged me as random guy from india ?! :P I am sending Taliban terrorists to your home right now~!
 
6:22 AM
lol at Arthur Ice's message
 
add it here beginer
lol read it
So @Jyoti you're new to this room , tell us something about you !
 
is code blocks supported in here in a special way?
are*.... :/
 
what !?
paste your code, then ctrl+a , click fixed font and send
 
is that a no-no?
ah! thanks!
what about mobile?
 
no no-no here , i dont own this room yet :P
 
6:32 AM
nm. switching to lappy
 
do you code in your mobile too :P lol
you're a south indian ?
 
ni
no
chori chori
 
whats chori chori !?
 
some Bollywood music chori chori chupke chupke
 
sucks lifetime
 
6:34 AM
u're from india! u supposed to know that!
im so bored already, and I just came to work... sucks starting a new job!
 
lol..! watch sunny leone pics from ggoogle she is gorgeous
 
There are people around me :p
 
lol..call them too !
sunny doesnt mind , she is a bitch
 
I think I'm going to email Mazda now. I want them to put xenon lights. I wanna find out how much it is
Hahaha you're crazy
 
lol
 
6:42 AM
gud mrng @codebrain
 
morning @Himans
 
Wow...Mazda doesn't have an email sales email address WOWWOWOWOW
 
whats/who is mazda!?
 
Im back
 
same qstn who is mazda??
 
6:46 AM
yet my display name seems to have stayed the same despite my changing it...
 
Mazda? Car Manufacturer??
Page.Refresh(user1887149);
Try now user1887149
 
Page.Refresh
 
why mazda?
 
huh? lol
o nm
duh
still no change
 
@user , close this chat room and open it again
page.refresh()
 
6:48 AM
@codebrain Thank you
 
that didnt refresh my page :P
@user if still it does not change , wait for an hour ..it ll some time to reflect in account and chat rooms
 
@user1887149 try,try,try and try agian..and u will succeed..:P
 
LOL user
Press CTRL + F5
It will recache
 
@codebrain hi!
 
6:49 AM
@beginner refresh wont change it , it ll take time ..
@another user ! hi
 
OMG he changed into user 1690130
hehe :-O
 
:D
 
lmfao
 
fuck you @beginner ,its another user ..rOFL
 
this is funny :-D
 
6:50 AM
lol
 
:P
 
hmm
not yet on exchange, but it is on overflow
im sure it will change
its dotToString
 
y are you so much bothered about it !? it ll change
dot to string , i guess user1239085837 is better ! :P
 
put ur effort and ur developers mind and yes u will surely succeed
:P
 
Stop motivating him @himans!
 
6:51 AM
@BeginnerCoder what are you talking about?
 
lol. well i tried changing on mobile first, and kept getting errors with opera browser
 
i was contacted out of the blue
 
so i switched to lappy....and now i gotta wait
oh well enough about that and thanks!
 
@codebrain :P
 
OMG there's user twins!
 
6:53 AM
all gone mad
 
@user hello
 
lol !
 
is this a stupid way to get floating point numbers out of a scrollbar value to textbox?
new to wpf
 
cheese lunch \, yuck
 
textBox1.Text = ((int)float.Parse((e.NewValue.ToString()))).ToString();
what was the code formatting hot keys again?
 
6:55 AM
html formatting ?
 
i know its longwinded but i couldnt seem to get the floats outta the textbox. i fiddled with the small change to no avail.
 
@user188 no clue about wpf seriously
 
um, i mean to insert a code block
 
just paste it , ctrl+a , click fixed font ..wondering how you became a programmer :P
insert in chat?
 
what are you doing
 
6:58 AM
who ! im not dreaming sunny now
 
i just picked up MCTS 70-511 training kit. I am on page 8 or so. Move a slider, put value into textbox
 
user copy and paste your code here
 
e is RoutedEventArgs
 
i am trying to completely understand Delegate+Events+Anonymous Methods+Lambda Expression+fuck up life of mine..
 

« first day (843 days earlier)      last day (4107 days later) »