« first day (840 days earlier)      last day (4107 days later) » 
00:00 - 22:0022:00 - 00:00

12:03 AM
i think its actually due to some export treaty so that it is able to be distributed outside the USA, but i could be wrong; ive been wrong before
 
@SteveKonves you're right. It has cryptography stuff too
 
the russian spy thing that went down a year or so ago used data encoded in facebook pics; theoretically it could be done with music, as well.
 
12:15 AM
ok guys i'm out
see you on the monday
 
take care ryan
 
later @RyanTernier
 
12:29 AM
mr steve are you there? who was that stared message too lol ?
 
@E.LDunn the room at large
(and @KendallFrey)
 
lol
hows you mr pheonix
 
12:53 AM
I'm good!
 
1:05 AM
@Pheonixblade9 no one asked how I am
 
how atr yoy?
 
didnt know you where there lo l
 
@CCInc pretty good, been worse been better
@E.LDunn I wasnt here when you asked him!
LOL HAH HA
 
1:20 AM
that would be why then :)
 
@E.LDunn yep, good point
but you didnt even notice when JABFreeware the great entered the room
sigh...
:D LOL
 
sigh
tsk tsk
 
lol well ive had a few dont blame me
MIKE!!!!!!!!
oh he only has one rep , he cant talk
well the thought was there
 
@E.LDunn poor man!
 
cant upvote his question, as i dont know anything about what his question pertains too
 
1:29 AM
@E.LDunn Did I say anything about upvoting? ;)
Me either
 
lol
do i risk the dirty can
 
1:52 AM
lol, just bought a new internet domain
 
@Pheonixblade9 from who?
I used NameCheap
 
I used my hosting provider
logicpoint.net
 
anyone 'ere good with sqlite?
 
@CCInc why are you asking them?
You are the expert here
on that
 
yes but I never see this before
 
2:07 AM
@CCInc what?
 
@CCInc sure
 
System.Data.SQLite.SQLiteException was unhandled
  Message=callback requested query abort
abort due to ROLLBACK
  Source=System.Data.SQLite
  ErrorCode=4
  StackTrace:
       at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
       at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
       at System.Data.SQLite.SQLiteDataReader.Read()
       at GetHistory.Firefox.GetFolders(String connectstring) in C:\git\BrowserSync\BrowserSync\GetBrowsers\Firefox.cs:line 680
       at GetHistory.Firefox.SyncBookmarks(SortableBindingList`1 bookmarks, String path) in C:\git\BrowserSync\BrowserS
 
@CCInc sorry, I dont have time to help you
I must go. See you!
/o
 
I'm out, night kids!
 
aww but my problem!
 
2:09 AM
sorry, meeting friends at the pub
 
well goodnight
 
2:26 AM
can i come pheonix im out of booze, and also sorry cc i cant help either
 
 
2 hours later…
4:28 AM
hey guyz
 
hey @Sunny z
 
how to convert 1/28/2013 to January 28,2013 ?
hie @CCInc
in c#
 
you mean when you are converting to a string?
or do you have a string you want to convert?
 
i have datetime in converted it into toshortdatestring it gives me 1/28/2013
but i want it into this -> January 28,2013 form
 
easy one sec while I look it up
 
4:32 AM
okay !
Any 1 here play Lord of ultima ?
 
@Sunny thats strange, tostring wont do that for you
you could do
console.log(dt.Month+", "+dt.Day+", "+dt.Year);
 
at starting i have datetime , is there any method that direclty converts it into January 28,2013?
 
Nope
 
okay ..
 
here is all the tostring extension thinggies:
//       d: 6/15/2008
//       D: Sunday, June 15, 2008
//       f: Sunday, June 15, 2008 9:15 PM
//       F: Sunday, June 15, 2008 9:15:07 PM
//       g: 6/15/2008 9:15 PM
//       G: 6/15/2008 9:15:07 PM
//       m: June 15
//       o: 2008-06-15T21:15:07.0000000
//       R: Sun, 15 Jun 2008 21:15:07 GMT
//       s: 2008-06-15T21:15:07
//       t: 9:15 PM
//       T: 9:15:07 PM
//       u: 2008-06-15 21:15:07Z
//       U: Monday, June 16, 2008 4:15:07 AM
//       y: June, 2008
//
//       'h:mm:ss.ff t': 9:15:07.00 P
Actually there might be lemme check
 
4:42 AM
np...:)
 
Ah, try this:
dt.ToString("MMMM dd, yyyy");
 
ok lemme
wOOOw
great it worked :D ty @CCInc
 
Sure, glad it helped!
 
hey sexies
 
SEe this page if you need to modify it msdn.microsoft.com/en-us/library/8kb3ddd4.aspx
 
4:47 AM
hellO babe!
 
@Pheonixblade9 I thought you went home, or are you home?
 
sure cc
 
hows it going
@CCInc I am home. thought you guys might have ideas.
 
fine except the same errorz
 
4:50 AM
plz helpz?
 
with?
 
my errorz
3 hours ago, by CC Inc
System.Data.SQLite.SQLiteException was unhandled
  Message=callback requested query abort
abort due to ROLLBACK
  Source=System.Data.SQLite
  ErrorCode=4
  StackTrace:
       at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
       at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
       at System.Data.SQLite.SQLiteDataReader.Read()
       at GetHistory.Firefox.GetFolders(String connectstring) in C:\git\BrowserSync\BrowserSync\GetBrowsers\Firefox.cs:line 680
       at GetHistory.Firefox.SyncBookmarks(SortableBindingList`1 bookmarks, String path) in C:\git\BrowserSync\BrowserS
 
idk
lol
code?
 
oh yea
0
Q: Callback Requested Query Abort on Transaction

CC IncI am using a recursive function that has a transaction in it, however the transaction causes a "callback requested query abort abort due to ROLLBACK" error. Here is my code: public Dictionary<int, string> GetFolders(string connectstring) { var connection = new SQLiteConnect...

    public Dictionary<int, string> GetFolders(string connectstring)
    {
        var connection = new SQLiteConnection(connectstring);
        connection.Open();

        Dictionary<int, string> folderdictionary = new Dictionary<int, string>();
        using (var transaction = connection.BeginTransaction())
        {
            using (SQLiteCommand command = connection.CreateCommand())
            {
                command.CommandText = "select * from moz_bookmarks AS bookmarks WHERE type=2";
hu hu hu thats cool win++, win--, ctrl+alt+i
 
recursive functions + sql = whatever the opposite of oral sex is
 
4:57 AM
lol
I've heard that before, well not the analogy
So what do you suggest I do instead?
 
wheres the recursive bit
 
its in GetChild
        private static string GetChild(SQLiteConnection sqlite_connection2, string title, int id, ref List<string> folder, bool recursive, SQLiteTransaction transaction)
        {
            if (recursive)
                folder.Add(title);
            using (SQLiteCommand folder_get = sqlite_connection2.CreateCommand())
            {
                folder_get.Connection = sqlite_connection2;
                folder_get.CommandText = "SELECT * FROM moz_bookmarks WHERE id = " + id;

                SQLiteDataReader get_folders = folder_get.ExecuteReader();
 
5:30 AM
Hi,I need unique id for devices in metro application
but I need to know if user reinstall the application what would happen
it changes??
 
This walk-through covers it pretty well: msdn.microsoft.com/en-us/library/windows/apps/jj553431
 
@Thought I've read that but ...
 
j
 
j
 
6:08 AM
lol, first time I've published: yourinternetrecord.com
 
what is it?
 
@JohanLarsson gonna be a cool website
just published it from VS2010
never done that before.
trying to figure out how to hook up the database
 
hobby project?
 
yeah
$25 for the domain name and 3 months of hosting
 
6:15 AM
ever do that before?
trying to figure out a good way to use my local DB on the local deploy
 
no I have not done any web or db
what does it mean?
 
nm :)
 
 
2 hours later…
8:00 AM
hello
any one is online here
i need a help
 
 
1 hour later…
9:13 AM
morning
 
night
 
9:32 AM
How to callwebservice of another aspx page in our html page using jquery?
 
1 message moved from Lounge<C++>
 
10:18 AM
hi does any one know how to convert the wav file to mp3 in windows phone. . .
I searched many resources I can't find anything . . .
 
no idea
quite likely doesn't exist as most people would just use their pc
 
10:30 AM
I read this and think 'ka-ching' bbc.co.uk/news/technology-21280943
and if there's anyone who's all Y NO WORK FIX NOW PAY MONEY it's bankers
 
11:25 AM
@TomW what does it mean? I always have trouble reading the y no syntax
 
lol, I love how you refer to it as a syntax
"Why doesn't this work? Fix it RIGHT NOW and we'll pay money"
 
ok ty
 
it reassures me that for people who can 'do software', there's always gonna be work
might have to re-skill a bit, but fundamentally there are lots of very rich, very panicked people out there that need something fixing that you can probably do
 
yeah software feels pretty future proof
 
that's why I reckon this enterprise stuff I'm now doing is a good career move
stuff businesses use = boring, sometimes...but stuff businesses use = money
 
11:31 AM
@GopinathPerumal I don't think you'll have much luck. If any at all. Windows phone is pretty limited in what it can run, and conversion of music files is not something that is available in anything other than ordinary C as far as I am aware.
 
@TomW that makes sense, making money from software might become harder and harder.
 
 
3 hours later…
2:09 PM
hello
need some help for windows application
 
what's the problem
 
i have created one application. it is working fine on Windows XP. but when i m installing that application on Windows 7 64bit machine. it generating error for connecting sql server and saying "Cannot open user default database. Login failed.
Login failed for user 'user-PC\user'"
hi...
 
hmm, can't help with sql, but can you try to run it as xp? Under properties -> compatibility, run as xp
And also try to run as administrator
first try running as admin, then try running as xp
 
i had tried it to run as admin. but have no luck yet...
 
2:24 PM
and as xp?
 
trying
 
Also better off creating a question, seems like chat is dead today..
 
does the copy constructor of List perform a deep or shallow copy?
 
not working as xp...
 
Then I'd just create a question, since barely anyone online
Alot of more ppl would see it if you post a question
alot more*
 
2:36 PM
why it is saying Login Failed..? i m using integrated security as true...
 
and what happens if you put it false
in any case post a question, doesn't seem anyone here knows remote sql
 
3:08 PM
@CBenni Shallow.
 
3:31 PM
@KendallFrey Wy does add work with string, but addrange doesn't? (Cannot convert string[] to columnheader[] )


lstProcesses.Columns.Add("Process Name");
lstProcesses.Columns.AddRange(new string[] { "Process Name", "Process CPU", "Process Threads" });
@KendallFrey any idea?
 
What class is this?
 
3:48 PM
A listview, with ColumnHeaders
 
Hello All
 
Sorry May be I jumped in between.. Lemme Catch topic which is going on. may i can share some thing
 
@CSharpStudent There is no AddRange that accepts a string[].
 
is Dharma here?
 
Thats my problem
I've tried adding by
 
@dharma I can help you with your problem.. I guess
 
lstProcesses.Columns.Add(new ColumnHeaders[] { "Process Name", "Process CPU", "Process Threads" });

but it won't convert string to columnheaders
 
Did you expect it to?
 
Hi C Sharp.. Sorry.. but can you please quickly repeat ur problem
 
3:54 PM
Wy does add work with string, but addrange doesn't? (Cannot convert string[] to columnheader[] )


lstProcesses.Columns.Add("Process Name");
lstProcesses.Columns.AddRange(new string[] { "Process Name", "Process CPU", "Process Threads" });
@KendallFrey any idea?
Trying to add an array of of columnheaders
instead of
 
I suppose nobody bothered to write that overload
 
lstProcess.Columns.Add("Process Name")...
 
Because Add accepts a string, but AddRange does not accept a string[].
 
didn't write lol
 
Which is stupid since .Add does, but .AddRange doesn't ()_()
 
3:55 PM
Well, complaining isn't going to change it.
 
type of lstProcesses?
 
System.Windows.Forms.ListView
 
okay..
 
best I can do now is
string[] columns;
columns = new string[] { "Process Name", "Process CPU", "Process Threads" };
foreach (string s in columns) { lstProcesses.Columns.Add(s); }
which is 3 lines where there should be an option to do it in 1 ()_()
 
Your first line is redundant.
And you can just create ColumnHeaders from strings you know.
 
4:00 PM
no I dont thik looping is a good solution
 
how would you create columnheader from strings? I keep getting conversion errors
 
lemme write snippet for you.. doing that in parallel
 
@CSharpStudent new ColumnHeader(str)
 
then I would still have to make them all, instead of just 1 array
ColumnHeader[] columns2 = new ColumnHeader[] { "Process Name", "Process CPU", "Process Threads" };
 
7 mins ago, by Kendall Frey
Well, complaining isn't going to change it.
Pick a way, and do it.
 
4:06 PM
Hi can you please send you whole current sample code with declaration?
 
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Admin_Helper
{
public partial class frmProcessList : Form
{
public frmProcessList()
{
InitializeComponent();
}

ColumnHeader[] columns2;
ColumnHeader columnHeader = new ColumnHeader("Process Name");
private void btnGetProcesses_Click(object sender, EventArgs e)
 
declaration of lstprocess...? I am not able to find that
 
i dragged it on the form along with a button, added property to details
listviewproperty view to details*
 
okay got it
 
4:22 PM
Btw what would the best way be to update the list, without flickering?
I've got a timer now, but it will flicker when it updates
nvm found a thread explaining what to do
 
hey peeps
Hey uhh can I use strikethorugh in a SO answer?
 
anyone got experience with semaphores?
 
huh?
 
@StuartBlackler Not practical experience, but I may be able to help.
@CCInc Yes.
 
4:37 PM
I NEEDZ TEH HELPZ
0
Q: Callback Requested Query Abort on Transaction

CC IncI am using a recursive function that has a transaction in it, however the transaction causes a "callback requested query abort abort due to ROLLBACK" error. Here is my code: public Dictionary<int, string> GetFolders(string connectstring) { var connection = new SQLiteConnect...

 
@KendallFrey this is probably a bad idea, but I am planning on creating a stack to pre-allocate buffers for perf and push/pop from the stack. I currently have these to methods:
public void PushBuffer(byte[] buffer)
        {
            if (buffer == null)
            {
                throw new ArgumentException("The buffer cannot be null");
            }
            else
            {
                Array.Clear(buffer, 0, buffer.Length);
            }

            _buffers.Push(buffer);

            // signal waiting threads to continue...
            _bufferSemaphore.Release();
        }

        public byte[] PopBuffer()
        {

            if (_buffers.Count == 0)
so I guess I just use .WaitOne() to block in PopBuffer() ?
 
Is this some sort of producer/consumer pattern?
As in, one thread pushing buffers and another popping them?
 
sort of. I am creating a central BufferManager to pre-allocate a certain amount of byte[]'s and SocketAsyncEventArgs
Just deciding whether to limit the amount of resources and make consumers wait, or allow new resources to be created if demand requires it (if that makes sense)
 
4:52 PM
Does anyone think using tiny url on forum posts to link to your personal site is a good idea? I might change my site url so tiny could help..
 
What forum posts?
 
sorry I meant blog post commenets
 
No
I don't think anybody trusts tiny urls
 
They're better than bit.ly or adf.ly
 
I see, so then you lose all the traffic when you change your site then by hardcoding your site url
 
4:55 PM
Yes, I don't see a good reason to use a shortener for just linking to your site.
 
I guess I should just point to my personal site and from there point to my business stuff
 
@CCInc Erm.
 
I could have it redirect anywhere
 
cool
agreed
 
ouch
 
Jon Skeet uses it, so it must be good!
 
lol
WAT DAFUQ EA
Y CAN T I PLAY SIMCITY
 
so you got on the beta?
 
For like 1 DAY
And now I can't play cause they blocked it off!
Beautiful replayed song:
 
5:04 PM
how did you manage that?
 
I signed up like 3 times
and on the 26'th at 12:00 midnight they sent me an email
Y PEEPLES NO ANSWER MY QUESTIONZ
 
hello guyz
 
'ello
 
@CCInc I see you are a reg in the java sux room
 
yeah
 
5:21 PM
also you can share/ask any queries
I am not adertising..
just wanted to make u aware
leaving now
 
I see what you do there
 
Thanks..
 
Grr
I started a bounty on this question and it hasn't been looked at
5
Q: Search for all chat messages by a particular user?

JezIs it possible to search for all messages by a particular user in the chat search, at http://chat.stackexchange.com/search? I tried searching with the 'search for' field empty, but got no results... and with '*', the same.

 
5:58 PM
is there any superior alternative to vs 2012's built in unit testing?
 
That's subjective.
 
@Ford NUnit
 
thanks
 
I also use nUnit but ms test is usable
 
I believe there are runners that integrate with VS, although I haven't used them
 
6:03 PM
I like the testcases in nunit
Resharper has a nice runner, a bit buggy but still nice
 
Are there any large differences between winform & wpf?
Or any large benefits of using wpf, besides graphics?
 
Tons. More customisability, saner programming model
depends how far you want to break those ideas down
 
Basic WPF knowledge can scale you to any project size.
Expert WinForms knowledge will still be a hassle on a larger project size.
 
databinding support that works
 
For a small project, wy wouldn't you choose winform?
 
6:10 PM
It's ugly, the databinding sucks and it's tedious to do even fairly simple things outside what was originally envisaged
layout is a pain in the balls
 
Seems like I'll have to try and use wpf more often xD
 
WPF has a steep learning curve
but you asked for reasons not to use winforms, not reasons not to use wpf ;)
 
not to use would prob be so many properties
and those damn layers ()_()
 
Big or small, WPF is better. But yeah, you have to get used to MVVM.
Once you do, you'll love it.
 
and minor detail, no dropdown list for colors when selecting from properites ()_()
Noticed when selecting background color, the list only appears in xaml
 
6:14 PM
Making hex colours is easy anyway.
 
still, wy can't they just keep the dropdown list with colors
only option for hex/ selecting colours
or some small list
how could I check if something returns a string array?
I've got a wmi, which returns both propertie name + value, but somethings the value is an array
so when I use propertieData.Value.ToString() it returns System.String[] instead of the properties itself
 
The is operator?
 
Never used it :P, lemme google :)
 
if(value is type)
 
:O worked but got an long array xD
if (propData.Value is Array) { foreach (string stringArray in (string[])propData.Value) { dct[propData.Name] += stringArray; } }
 
6:27 PM
wats dct
 
a Dictionary
I have a Dictionary<string, string>
I store the property name in the first string, and the value in the second
How could I set the 2nd column in a listview to auto resize to the content? since now it sometimes does it and sometimes doesn't.
Typical, I ask it then I find it ()_(),
Anyway:
foreach (ColumnHeader columnHeader in listView.Columns) { columnHeader.Width = -2; }
 
Reason #63 why MonoDevelop is better than Visual Studio: Obsolete members are stroked out in the autocomplete popup.
 
@KendallFrey what about 1-62? =)
 
yeah tell us 1-62
 
sigh
 
6:40 PM
I have a problem I need to return two int[] how can I do this here is my code ->
using System;
using System.Collections.Generic;

namespace variables
{
	public class ElevatorLimit {

		public int getRange (int[] enter, int[] exit, int physicalLimit)
		{
			foreach (int stop1 in enter) {

				foreach(int stop2 in exit){

					for(int max = 0; max < physicalLimit; max++){

						for(int oneIn = 0; oneIn <= enter.Length; oneIn++){
							int[] x = enter[stop1];
						}

						for(int oneOut = 0; oneOut <= exit.Length; oneOut++){
							int[] y = exit[stop2];
						}
					}
				}
 
What's with the enter, exit, physicallimit?
 
It's a problem on topcoder I think this will work
using System;
using System.Collections.Generic;

namespace variables
{
	public class ElevatorLimit {

		public int getRange (int[] enter, int[] exit, int physicalLimit)
		{
			int[] people;
			people[0] = enter;
			people[1] = exit;
			foreach (int stop1 in enter) {

				foreach(int stop2 in exit){

					for(int max = 0; max < physicalLimit; max++){

						for(int oneIn = 0; oneIn <= enter.Length; oneIn++){
							return enter[stop1];
						}

						for(int oneOut = 0; oneOut <= exit.Length; oneOut++){
Wow I have a lot of errors
 
you're trying to put an array in a single spot
people[0] = enter
and wy would you need an array of how many enter, exit
isn't it just either 5 ppl enter, and 3 ppl exit or someth
 
You are to write a class ElevatorLimit, with a method getRange, which takes as parameters a int[] enter, a int[] exit, and an int physicalLimit, where the ith element in each int[] indicates the number of people that entered and exited, respectively, the elevator on the ith stop. At each stop people exit the elevator first, and then people enter. physicalLimit is how many people are physically capable of being in the elevator simultaneously. You are to determine the maximum and minimum numbers of people that could have been on the elevator before the simulation begins, and return these valu
 
another thing that won't work
you want to return people
but people is an array, and you have a public int not a public int[]
 
7:11 PM
Hey I'm making a flowchart for choosing the right c# data structure, can anyone verify if it's okay? i47.tinypic.com/35hk6qg.png
 
7:34 PM
@noob1992 Now you do C#? :S
 
7:47 PM
Does anyone here happen to be familiar with pre-.NET 4.5 async file I/O? i.e. BeginRead/EndRead
I take that as a no. :)
 
 
2 hours later…
9:40 PM
Marco.
 
Polo.
 
Just checking whether the chat died or not.
 
It did.
 
That's a shame.
 
Shame!
 
9:49 PM
but now it's aliiiive
 
Thanks to Tom Webster!
 
Tom Wolf?
 
yes, sorry. I just took a guess from W
 
I also guessed
 
You don't mess with the Johan but the Johan definitely messes with you :D
 
9:52 PM
lol
 
Johan is Russian?
 
no why?
 
2 mins ago, by kush
You don't mess with the Johan but the Johan definitely messes with you :D
 
That's a Russian Reversal joke
In C# chat, joke reverse YOU!
 
ok over my head
 
9:56 PM
In capitalist West, bank rob YOU!
 
Star as sign of that I agree
I really dislike big companies in general
 
Who is this couple?
 
umm
 
Luckily I have found a very small place to buy food, expensive as f*ck but still feels good to buy stuff there
 
Chrome OS?
 
9:59 PM
 
Oh hey we have the same chrome extension
You better read taht text
 
@CCInc What? Incognito mode? XD
 
00:00 - 22:0022:00 - 00:00

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