« first day (1174 days earlier)      last day (3999 days later) » 

00:00
OK thank you
I'd ask for some opinions on a program I'm writing, but I know no one would help me.
I'll help you, my dearest
No you won't
00:03
what is it?
pinkie promise
This is what I have so far:
@r@player<start>room<start,You are at the start,north=end>room<end,You are at the end>/^look@/@r@/^go (\w+)@/@m $1@/@m (\w+)@((?:[^@]@)*player<)(\w+)(>)(?=(?:room<[^>]*>)*room<\3,[^,>]*,\1=(\w+))/@r@$2$5$4/@m \w+@/@$>You can't go that way./@r@(?=(?:[^@]@)*player<(\w+)>(?:room<[^>]*>)*room<\1,([^,>]+))/@$>$2/^(?!die@)[^@]+@/@$>I'm confused about what you want to do./^@/$<@
yeah, about that...
oh, crap, that triggered Cthulhu
and crashed the page
If you're still interested, I'm looking for the best way to implement states to the rooms
00:05
ask in c++?
Not a chance
I think I'm gonna have to implement inventory first though
00:20
@Steve You been paying attention to the Winter Classic today?
@KendallFrey i watched it for like 10 minutes, why?
Just wondering
Leafs won poke poke ;D
cool
00:37
REBEL makes me mad lol
ugh
microsoft makes me mad
Why? I kinda like MS, not proud of it of course.
well, it started with not being able to stream netflix w/o an xbox live account
Heh. Microsoft is good for one thing: making windows
and office
then this stupid signalr library keeps importing new js libraries, instead of the same verson ones, and its not working, so either i'm completely retarded and can't copy code, or this stupid hubs connection is failing and not giving me an error
00:47
@CCInc C# > Office imo
sup, losers?
True that
@KyleTrauberman WOAH
hej Kyle
why did you leave us? New job?
00:49
yes
@KyleTrauberman Jus' writin some REBEL
good job?
I'm just sitting here in the hospital, killin time and thought I would pop in to say hi
awesome job
hospital?
uh oh, what happened?
00:49
we have an employee beer fridge :)
wife is prego again
this time with twins
GZ *2
"we have an employee beer fridge" "wife is prego again" sweet, sweet, juxtaposition
...
590 chars is a lot of REBEL
ow, my brain
A HashSet is not meant for getting item[meh] out of right?
huh?
I think so
But your question is confusing
00:58
yeah, I'll try again, maybe, tired here :)
pretty sure he's asking if he can do random access on a HashSet
Pretty sure it's just a little more complex than that
possibly
I'll use a dictionary<int, class> where int is hashcode instead
ew gross
What are you trying to solve?
01:00
yeah feels dumb
@KendallFrey Would take me a couple of hours to not make any sense trying to explain :)
found TryGetValue() on the set now
will be perfect for what I need
meh, it was on the immutable set
if (bcs.Contains(abc))
{
    abc = bcs.Union(Enumerable.Repeat(abc,1)).Single();
}
can you write anything more wtf than that?
it is bad in every way
01:24
You need to stop beating yourself up.
You complain about all your code
I can indeed write something more wtf
Oh, dear, message is too long
@KendallFrey this time it was needed, swithed back to the dictionary
IMX
IMX
01:41
Someone still here?
@IMX hi
IMX
IMX
Hi, do you have experience in encoding .wav files to byte arrays`?
Programming puzzle: Make the computer play a sound.
Someone's answer: sudo rm -rf /
Another brilliant one: eject
There were a couple infinite loops too
@IMX Haha, funny, I was helping CC Inc with that a few weeks ago
Actually, converting bytes to wavs
What's your question?
IMX
IMX
Ok dude, maybe we can settle this problem :)
If you could help, I really would appreciate it
What's the question?
IMX
IMX
01:53
How to do it properly
I don't know what you're trying to do
IMX
IMX
I record a wav with the microphone
I want to upload the recorded wav to a server
But right now the uploaded file is just a noise
FTP or SSH
IMX
IMX
PHP
@IMX You mean the audio data gets lost?
IMX
IMX
01:55
I don't know if thats the problem, but may be
Well, can you compare the server and client versions?
IMX
IMX
Yes, on the client its "Test 123" on the server its "sssshhhhhhh"
:)
Wait, what?
Oh, that's what it sounds like
IMX
IMX
Dude, did you read the link I posted?
IMX
IMX
01:56
kk
It's very unclear
Did you try it without base64?
You didn't describe what is the problem exactly, and how does it manifest? — BartoszKP 45 secs ago
He's 100% right
IMX
IMX
How could I upload it without b64?
Or lets say, how would you do it yourself?
How it it uploaded? HTTP?
I'm pretty sure FTP supports binary
HTTP does too, I'm sure
I don't know why binary wouldn't work
IMX
IMX
I am uploading it via PHP
@IMX PHP is a language, not a protocol
IMX
IMX
02:00
HTTP
ok
You're decoding the base64 on the server side, right?
IMX
IMX
yes
Is the script
You're definitely urlencoding it before upload, right?
IMX
IMX
WebClient wc = new WebClient();
wc.Headers[HttpRequestHeader.ContentType] = "application/x-www-form-urlencoded";

wc.UploadStringAsync(new Uri("http://areon-development.de/creepchat/upload.php?upload"),
"&contents=" + HttpUtility.UrlEncode(b64));
Can you compare the client and server wav files? Maybe with a hex editor
IMX
IMX
02:05
Yes, but is the way I do it until now correct?
Obviously not, if it's not working
I don't know what's wrong though. There isn't enough detail for me to tell for sure.
IMX
IMX
Can I hexedit it with notepad++?
No
You can see non-printing characters though
and copy and paste them
IMX
IMX
I just noticed
byte[] fileContent = new byte[_data.Length];
int bytesRead = _data.Read(fileContent, 0, (int) _data.Length - 1);

string b64 = Convert.ToBase64String(fileContent, 0, (int) _data.Length);
The fileContent array is empty
at what point?
Oh, and why is it Length - 1?
IMX
IMX
02:11
Thats old code, I remoced it
The base64 conversion takes 'fileContent', which is empty
How can I fill 'fileContent' with proper bytes?
Read should do it
IMX
IMX
How?
what does bytesRead end up as?
IMX
IMX
bytesRead ends up nowhere, its declared there but never used, so I removed it
What does it get set to though?
It's useful to know whether it returned anything
IMX
IMX
02:16
it gets set to '16043'
            byte[] fileContent = new byte[_data.Length];
            int bytesRead = _data.Read(fileContent, 0, (int) _data.Length - 1);
but fileContent contains all zeroes?
IMX
IMX
yes, thats what I am asking
I don't know how to fill up fileContent
_data.Read should do it
Don't know why it wouldn't
I also want to know why it's Length - 1
IMX
IMX
I followed a tutorial
_data.Read returns an int
Why did you remove _data.Read from your question?
IMX
IMX
02:21
because its irrelevant
I dont use it anywhere
You still need to call it
IMX
IMX
I have no idea what I am doing :/
If you don't call it, of course fileContent will be blank
IMX
IMX
Its 03.30 am here in Germany
Still here?
IMX
IMX
02:29
Given up?
No, but I can't figure anything out with the details I'm given
Did you compare the server and client files?
IMX
IMX
I can't do that on a WP8
huh
You uploaded a file
Apparently you have access to them both
And I'm not sure what WP has to do with it
You aren't writing code on it, are you?
IMX
IMX
02:32
Yes, but you are asking me to access the files the app is generating inside its own isolated storage
Yes, I am
IMX
IMX
That I cannot do
You uploaded a file
Which one was it?
IMX
IMX
The recorded one
You just said you don't have access to it
How could you upload it?
IMX
IMX
02:36
Ok I just downloaded a tool and now I have access
03:11
@KendallFrey :)
I just wrote a very poetic answer
0
A: How to avoid accelerating over typeliness with large C# Tuples?

Kendall FreyThe souls of a thousand classes are screaming, trying to get out and manifest themselves. Yet you have crushed them to submission, and the meaningful names they once had are now lost. Your code pines for simplicity and sensibility, but no answer is to be found.

@Steve So, what's new?
nothing, got my lil signalR chat thing working finally
what about you?
See above
oh i did
Also, waiting on a guy in Asia. We were supposed to have a meeting 15 minutes ago
03:15
lol
thats always fun
BTW, did you click the link to the answer?
It's not complete unless you view it on the page
lol yeah
i did
This should make Steve go nuts
WOOOOOOOOO
its loading slow as hell
03:20
1 message moved to Sandbox
went nuts, huh?
i have no idea what was happening, but it looked like it just continuously downloaded the same image, again and again and again
lol it's a gif
you bin schooled, bro
im not up to date on the young whippersnappers' jargon, whats bin schooled
bin/been
!!urban schooled
03:22
@KendallFrey schooled To teach a lesson to.
oh
i know what schooled is, i'm not that old
fooled, basically
how do you think you came to be? i schooled your mom one night ;)
funny funny
i'm duplicating this chat on my intranet, just to learn
going to be fun
03:25
@Steve Funny thing, actually, I was with your mom last night, and something I did reminded her of how you came to be.
I wrote a chat once. In Node.
nice, i've never used node
I like it
hehe, watching 2 guys Lync status change to "in a call" at the same time
haha
did your guy ever call?
nope, he's apparently there, but not online yet
that'd just piss me off
03:33
the other two guys just finished their call
he's available in 2 min I guess
there he is, brb
04:15
done, yay
@KendallFrey
Happy NewYear brah .xD
same to you
04:17
Except it's Jan 2 there, right?
yeah and back to w0rk haha
I'm working right now, lol
11PM on NYD is not when most people work
:P
btw its my 1st anniv also at work Jan.2 and im surprise that i survived LOL maybe nexttime there will be no nexttime
its given that programmers dont have vacation?
i mean dont rest and sleep as well
so all here are zombies i think ... xD
IDK, but our company doesn't usually have vacations except for national holidays
Some people get weeks off for Christmas
no i mean even at home some still extend their work to finish till deadline
04:22
I don't work in the evening unless something is really really rushed
Or I need to, say, call a guy in Asia
I have a clock like this sitting beside my desk:
Or is it a counter-clock?
lol wtf
pretty much
your making morning evening and evening morning? or time was running in reverse .xD
-_- oh f* its newyear and im again underpressure .xD
good evening
@Steve good evening sir
1
Q: add line between axis to divide axis chart .net report

LOL SingerI have chart in report as follows: I just wanted to add horizontal line on x-axis labels to show them separately as below: Plz help me, through which option i can obtain this?

@Steve sir plz help me
(hope not disturbing)
04:45
anyone can help me improve my regex pattern?
05:00
hi
"SELECT RemBal FROM Sales WHERE CustomerName='" & CustomerName.Text & "'"
This is my query which runs perfectly
now i am trying to get the balance on two basis customer name & current date
"SELECT RemBal FROM Sales WHERE CustomerName='" & CustomerName.Text & "' AND SaleDate=#" & SaleDate.Value & "#"
now this query not giving me any error but not returning any value
please help
anyone??????
Two things - 1) don't concatenate into the sql query like that, its very dangerous (sql injection). See the following link about how to use parameterized queries: http://www.codinghorror.com/blog/2005/04/give-me-parameterized-sql-or-give-me-death.html

and 2) are you sure whats being input in the SaleDate control is outputting the same format that your data in your database is stored in?
 
1 hour later…
06:11
@rlemon you there?
06:31
Hii
06:56
hi please help me for that
0
Q: how to paging in repeater with update panel when click on link button

VIPUL PARMARI have 5 link buttons, and repeater with update panel in page load i bind all data with paging then it work fine but when i click on link button then bind another data on repeater then paging is not work fine below is my code my aspx page is : <div class="search-options" style="position: relati...

Hangover everywhere
no9
no9
good morning and happy 2014
hey all
hello all!
I need a help with exception : Invalid attempt to call FieldCount when reader is closed.
but this am getting when trying to count linq result
07:11
happy 2014, survive this year and you'll have one more night to perfectly hangover !!
you're counting linq dataset when the the reader which binds the data from db to dataset is closed
you need .Open then .xD
am using datacontext object
IQueryable<VIEW_ProjStatusType> projStatusType = _dataContext.VIEW_ProjStatusTypes.Where(pst => pst.LanguageID == LoggedonUser.UserPreferredLanguageID).AsQueryable();
if (projStatusType.Count() > 0)
http://stackoverflow.com/questions/2050940/force-the-opening-of-the-datacontexts-connection-linq

maybe this can help
i need help with paging in repeater
Dont use count... its not gonna work there
or dont use iQueryable
07:18
It's a @Maddoge
0
Q: how to paging in repeater with update panel when click on link button

VIPUL PARMARI have 5 link buttons, and repeater with update panel in page load i bind all data with paging then it work fine but when i click on link button then bind another data on repeater then paging is not work fine below is my code my aspx page is : <div class="search-options" style="position: relati...

0
Q: Pivoting a column and showing data according to count

LOL SingerI have following table: I wanted to pivot month column and show count of data according to groups of >10,<=06,etc. Means wanted to show how many counts for >10 in Jun, jan As folows: Gruppi Min (GG Flusso/Decorrenza-->Out) Jan Feb Mar Apr May Jun >10 ...

@CCInc yo @CCInc Survive this year well !
happy year !
Hey! Happy new year!
i just changed codebrain to shakthi
07:25
anyone can help me fix my pattern>?
whats the regex pattern for
function GlobalMain() { //*beginmain
    //Define statements or call function/method below


//*endmain
}
making it flexible even commented text are inside a function
can also be
function GlobalMain() { //*beginmain
    //Define statements or call function/method below

  return 3;
//*endmain
}
but return 3; can still detected inside function ...anyone can help?
08:04
hiii
can anyone have idea about this problem
0
A: event is not generated in windows event

YK1I think you have not referenced the EventLogger correctly in code: ILog eventLogger = log4net.LogManager.GetLogger("EventLogAppender"); Should be changed to: ILog eventLogger = log4net.LogManager.GetLogger("EventLogger");

Hey @Swati
08:34
0
Q: Pivoting a column and showing data according to count

LOL SingerI have following table: I wanted to pivot month column and show count of data according to groups of >10,<=06,etc. Means wanted to show how many counts for >10 in Jun, jan As folows: Gruppi Min (GG Flusso/Decorrenza-->Out) Jan Feb Mar Apr May Jun >10 ...

@shakthi
no9
no9
@Swati maybe this will help stackoverflow.com/questions/6523252/…
@Swati
help
@no9
help
@LOLSinger @no9 please help me for my question.
morning
no9
no9
ahh good morning RaZor
@LOLSinger @VIPULPARMAR I am sorry I really dont have time now...
08:37
@VIPULPARMAR @no9 please help me for my question.
no9
no9
omg :)
0
Q: Pivoting a column and showing data according to count

LOL SingerI have following table: I wanted to pivot month column and show count of data according to groups of >10,<=06,etc. Means wanted to show how many counts for >10 in Jun, jan As folows: Gruppi Min (GG Flusso/Decorrenza-->Out) Jan Feb Mar Apr May Jun >10 ...

@LOLSinger check your post
@no9 heya buddy
08:57
@LOLSinger i have seen your link. My application is in mvc4 so I have mentioned that configuration line in Application_Start event in Global.asax so no need for change in configuration, as logs in files are working
@Swati my link?
oh sorry not yours
@no9 i have seen your link. My application is in mvc4 so I have mentioned that configuration line in Application_Start event in Global.asax so no need for change in configuration, as logs in files are working
how can I make a wcf service and connect with the service from the network
any examples??
can anyone help me with this?
09:24
@RaZor File -> New -> Project
Select the Templates -> Visual C# -> WCF in the left pane, select WCF Service Application in the middle pane
When Googling for WCF Tutes use this term "WCF Done Right" it will help you avoid the pitfalls and have cleaner WCF solutions
@HollyStyles thanks, I'm new to WCF Services...
09:42
I was new to WCF once too, I will try and save you from some of the growing pains.
Are you going to use this service internally or is it for an external 3rd party?
Well, It has to be installed on a Server. then all clients in the same network have to connect to it
but I have no clue how to connect with the service when it's on a server @HollyStyles
All clients are on your Companies private network?
If yes, use netTCP.
yes but... if a client works from home using a VPN. Can I still use TCP/IP??
nice :)
09:51
Is the client a .NET application?
yup
C# WinForms .NET 4.0
Cool then netTCP will work for you. You generate a client proxy from the WSDL of you WCF service, all WCF Tutorials explain this. By default WCF will use HTTP/HTTPS for communication, but as all your clients are .NET and the network is private you can use the much more efficient netTCP bindings.

« first day (1174 days earlier)      last day (3999 days later) »