« first day (876 days earlier)      last day (4088 days later) » 

5:03 AM
Slowly losing hope...
 
same here...but alot quicker
 
New spark of hope
 
gasp
 
Found an error in my script, fixed it
 
working?
 
5:06 AM
Ran csc args.cs again
New error message!
 
working? hopefully?
yay
lollll
 
fatal error CS2018: Unable to find messages file 'cscompui.dll'
 
do you have that file?
 
5:08 AM
Not in the current directory
 
maybe you should put it there
?
 
Found it
Putting it in there
 
then when you run it again, you will probably get new error message?
 
AWWWWWWWWW YEAAAAAAAAAAAAAAHHHHHHH
It worked
'Bout damn time
 
w000tttt
 
5:10 AM
Ran the executable
"Args.exe has stopped working"
Well f*ck
 
wtf?!?
 
Looking for more errors
 
there should be another file in the Release folder you should copy also. Probably this is a dll named MyProgramModel.dll or something similar.
In order to receive more information you can wait Windows to try to do something to repair your program and then you will probably be displayed with a dialog. Click on debug and there should be a more comprehensive error you can consider.
 
life saver
Windows has abbandoned me
 
5:14 AM
Just closed and didn't tell me what to do
Searched for all .dll files in the directory
Nothing looks promising
Tried a different approach
error CS1619: Cannot create temporary file
'c:\Windows\Microsoft.NET\Framework\v3.5\CSCE72A.tmp' -- Access is
denied.
We just went round in a circle
 
error CS1619: Cannot create temporary file
'c:\Windows\Microsoft.NET\Framework\v1.1.4322\CSCC7E7.tmp' -- Access is
denied.
yeah
thought so
ok
this sucks
 
Do I need to give it permission?
Or should I copy the contents of the directory into a different one?
 
i guess...
 
hello everyone
i have a one qustion
 
Get in line
:P
"args.exe has stopped working"
 
5:22 AM
@ProfPickle I want to inset date in sqltable in another format except i2013/10/03
 
Copied the entire file into the same directory as args.cs and that's what I get
@SaimaMaheen Working on it
 
@ProfPickle yes
 
I can't database for shit
@sublime.Hat Answer Saima's question
I'm guessing you should be able to set it when you're setting the data type
 
@ProfPickle Yes if i change the datatype to nvarchar then i insert but when i change it to date type it cannot insert..
@ProfPickle and if i change datatype of nvarchar then my dates query cannot work
 
true dat
@SaimaMaheen Did it help?
 
5:36 AM
@ProfPickle thanxxxxxxxxxxx
 
Woot
YES! Finally got my program working!
Forgot parameters started at 0
 
5:57 AM
Is anyone even still listening here?
 
@ProfPickle hello
 
Well, that's a start
 
boss i cannt understnad to show the dates of sqltable column in another format in report
 
This site looks promising w3schools.com/sql/sql_dates.asp
This question looks good if you want a custom format
4
Q: Custom Date/Time formatting in SQL Server

PascalI am trying to write a stored procedure which selects columns from a table and adds 2 extra columns to the ResultSet. These 2 extra columns are the result of conversions on a field in the table which is a Datetime field. The Datetime format field has the following format 'YYYY-MM-DD HH:MM:SS.S' ...

 
@ProfPickle thanxxxxxxx
 
6:08 AM
np
 
Hi, sort of new here, I was wondering if anyone has written to the serialport using the win api instead of going straight through the serialport class?
 
@tmwoods I haven't.
 
I have been told I need to do this to solve my problem but I'm quite new to this and was wondering if I could get some straight advice
@ProfPickle Thanks anyway
also how can you tell how many people are in this room?
I mean besides counting icons
 
I don't think you can.
 
bummer
 
6:18 AM
There appears to be about 5 people active though
 
i see only two others besides myself
 
@tmwoods try this site.
It looks promising
If that doesn't help, msdn has probably written one
 
actually that is what i already know how to do (how to use the SerialPort class). Unfortunately there is an apparent bug (more than a few people have reported it over the years) and it is incompatible with certain hardware. The advice given to me is to try using the Win API directly
but thank you, i will continue to keep searching :)
 
Shame.
Well, atleast I tried
 
yes, thank you. i appreciate it. This has been quite a thorn in my side for a while now
 
6:23 AM
@tmwoods Have you tried this question's answers
2
Q: problems with SerialPort class in .net

Adam RosasIm trying to diagnose why some USB serial port adapters do not work well with .net the behavior of the affected adapters is after SerialPort.Write() calling any of the SerialPort.Readxxx() methods causes the method to block until about ReadTimout the workaround that I have discovered is to use a ...

It's probably completely off topic though
 
its close. here is my question (its a bit long) if you are interested
8
Q: IO exception error when using serialport.open()

tmwoodsI know there are a few other people dealing with this issue, but I was hoping someone could help me. I am trying to connect to a COM Port but I am getting an IO exception when I try to use the serialport.Open() command: System.IO.IOException: The parameter is incorrect. at System.IO.Ports.In...

I know it is a baudrate problem, but its one that cant be fixed apparently
its a 'known bug'
 
If it's known there's an answer
That's good, right?
 
Normally yes, but this is apparently the one time that nobody has found an issue
the best advice I have gotten so far is 'switch your hardware'
 
Yeah... "advice"
 
which to me is a) an ridiculous way to avoid a problem and b) way to hard at this stage in my product development
 
6:30 AM
I just spent 30 mins downloading a game that I was going to mod, and now it's not working
 
which game?
 
I was planning on ammusing myself with ye old Halo Combat Evolved
 
what was your intended mod?
 
No specifics, I was just going to play around with it
Figured it'd help
Look on the bright side, your question earned you about 40 rep
 
Note the -50 it cost in a bounty
really i'm just interested in getting my communication lines working
but that is a positive attitude
:)
 
6:36 AM
Perhaps try a different language.
Maybe Java
C++
...Anything
 
haha, also a bit of killing a mosquito with a hand-grenade
i already have the entire user interface designed and ready
 
Why not?
Damn mosquitos
 
ive been using it with another device
this was just an overhaul of the hardware with a new chip (that was no small task)
 
Apparently not
 
so i really don't want to have to strike out on a new language (yet). i am a full-time student still so finding time is tricky
but it may come to that eventually
 
6:37 AM
True
So, you work for a company right?
Some sort of deveoloper or something
 
its my company
sandwinnovations.com
 
Very classy
 
i do custom electronic design
thanks :)
its me, a buddy and a couple other guys who have come along with us
its still in its infancy but i think it has potential
 
Nice website
Did you do it with software or did you hardcode it.
...That explains your picture...
 
my website you mean?
no, i got my neighbour (who always wanted to do web design) do try his hand at it
i feel like he nailed it
especially for his first go
 
6:41 AM
Yeah
It's pretty alright
 
thanks, i appreciate it
its not exactly getting a lot of traffic just yet
we still have to get going on our marketing
 
yeah.
So, what made you want to learn C#?
 
i originally wrote a program for a data logger in visual basic and hated it
so i looked online for something like 'what is the best language to code software in'
 
Good reason
 
and read teh typcial java vs. c# essays
similar to the xbox vs ps3 argument
 
6:50 AM
Yeah
 
whcih has no real answer
and visual studio was the first program i found
and it supported c#, and i already c and c++ from embedded design
so i went with c#, but now i sort of wish i went with java
 
I tried Java
 
and?
 
...Before C#
It's all right
 
haha
but i'm guessing you like c# better, since you are in this chat
 
6:51 AM
It has less support
 
java does
 
The IDE is better for C#
 
iinteresting
 
You can do a lot more with less experience
 
i always assumed (i dont know why) that java woudl have more support
but that is good to know
 
6:51 AM
I'd never thought I'd be saying this, but C# is more... 'use friendly'
 
yeah, i like visual studio. i can usually guess as to what i need to do and get it right the first time
 
...But compiling C# programs is a kick in the teeth
 
anyway, its been a slice but its getting late for me
my programs are relatively light-weight
 
Well, cya
 
good talking
 
6:52 AM
ditto
 
7:05 AM
Hello
 
Hello
 
@ProfPickle can u work on sql server 2008
 
Not at the moment
Sorry
 
@ProfPickle ok thanx bosssssss np
 
any body here could help me with sql server?
 
7:11 AM
What's with sql these days?
 
i changed my user account name over the domain so i couldnt connect to the sql server instance and login field
 
 
1 hour later…
8:31 AM
Looks like I'm winning the star race.
 
9:13 AM
@RyanJMcGowan star race?
 
--------------------------------------------------------->
I just noticed my name is up like three times.
That usually means I'm a hot chick with mediocre jokes. I don't know how to take it.
 
Like I said earlier in chat
http://i2.kym-cdn.com/entries/icons/original/000/005/600/its-something.jpg
...My image doesn't want to show up...
That's better
 
much
 
AMH
Hi ALl
 
Hi
Quick question, can you decrease an array's length if it already has a value set to something higher than it, example:
int [] array;
array = new int[10];
 
9:22 AM
Use List.
 
...And then set array[10] to something...
...You get my drift, right?
 
If the size will change, arrays are not what you want to use. Arrays work well if you know the size will not ever change. There is a way. But Lists work a lot better if you're going to add and subtract.
 
Good to know.
 
AMH
how to konw if that event event handler x is null or regestered or not
 
More quick questions...
 
AMH
9:26 AM
@RyanJMcGowan how to konw if that event event handler x is null or regestered or not
 
What's a jagged array commonly used for, and why is it used?
 
sup..morning
 
@AMH null as in not referenced anywhere?
 
AMH
@RyanJMcGowan yes
 
@codebrain good morning
 
9:28 AM
@prf mrng @ryan ?
 
@ProfPickle A jagged array would be good if you have exactly 10 points to work with in an array, and each point had an X, Y, and Z int. You could keep them in a jagged array.
@codebrain still night. 1:30 am
@AMH Delete it. It won't compile.
Then you'll know.
 
its power cut here..3pm here..
 
AMH
no I want in runtime to know if it regestered , to avoid multiple registeration @RyanJMcGowan
 
Actually Ctrl + K, R does that too. At runtime? Put some code in it that will do what you want to let you know it ran.
MessageBox.Show("XEventHandler fired.");
 
AMH
did u get my question , u have eventhandler u want t ocheck if it registered ok if not just register
 
9:32 AM
Oh in a conditional, you mean.
 
AMH
yes
I have large project and want to avoid multiple regestration
 
Yeah there's a way. Let me look something up
 
AMH
ok take ur time
 
It's gonna be .Contains() most likely. I'm just trying to find an example before I make up some code that doesn't work
 
wats goin on
 
9:43 AM
@AMH take a look at this: stackoverflow.com/a/937219/1265290
I just saw "power cut" ... That's nuts. Book a flight to Miami yet?
@AMH, also take a look at the other answer. They just assigned the handler once with -= and once with +=. That would always work.
 
Morning
 
9:59 AM
Very, very early morning
 
jesus, for you it certainly is
 
3:02
 
go to bed!
 
This early?
 
Oh, you're one of those...fair enough
The only time I stay up that late is when I'm too drunk to know what time it is
 
10:20 AM
A.D.H.D.
 
10:34 AM
morning all
 
goodnight*
 
heh
g'night
morning @E.LDunn
wtf better
You know when you type '@'
you get a popup for names? Is there a hotkey to select one? Or do I have to click?
 
yea
no idea i always click it
 
Tab. It's fscking Tab.
That discovery just improved my spamming efficiency by about 1000%
 
haha
urghhh why is my left click event returning "run" or "textblock" when the actual element is a label ... this makes me a very sad panda :(
 
10:57 AM
WPF?
 
yea
 
WPF controls are nested collections of child elements, Label doesn't raise a click event, but the TextBlock child does
Labels don't consider themselves 'clickable' I guess
sounds like bubbling/tunnelling behaviour. The same thing would happen for something like a button, but the button overrules the textblock and raises the event itself
 
must be that, but i need to find the label-ness lol... as thats where an attached property is set :(
 
GetType(textBlock.Parent) is typeof(Label)?
or whatever the syntax is
textBlock.Parent is Label
better
 
in the jiggy you know textblock.Parent = null
 
11:03 AM
damnit, really?
Stupid WPF. It isn't null. What other definition of 'Parent' can there possibly be?
 
its ok i just had to use the visualhelper to walk the visualtree upto its parent label
now i just hope it still works when the left click desides that it want to return "run" aswell
 
what's "run"?
 
System.Windows.Documents.Run .. it changes if i alter the contents of label via lbl.setvalue()
 
I think there's probably a much easier way for you to do this...
Use TextBlock. It supports clicks itself
 
to late, normal thing of boss wanting to push things out the door before they are complete.. so now the users have alot of documents (thats what this does builds up documents and allows them to attach values via database) that have labels in and a requirement for a mod to allow them to manually enter data (on Fecking labels ) :(
 
11:27 AM
Can you pick your battles and change it anyway?
 
11:39 AM
not really, but i have a work around ( besides which i think its a stupid idea, but what the client wants. is what the client gets ).
programming would be alot easier without users
 
Hello together
When I have a class (C#) that is disposable, should I also write e destructor (finalizer)?
 
No. It is very rare that you need to explicitly write a finalizer, and I can't think off the top of my head what any of those cases are
 
id say it depends on if you can trust anyone else that uses your code to call dispose
 
@TomW Okay, I read that a finalizer should be implemented when the instance holds directory (not in base class) a unmanaged resources..
 
^ what he said. Typically anything you'd do in a finalizer (releasing native resources) should be done in Dispose(). If you want some additional robustness in stopping a user from messing it up by failing to call Dispose, you can still force that to happen in a finalizer
but the finalizer is not guaranteed to run
 
11:48 AM
@TomW okay, thanks.
 
sometimes you just can't stop a user doing something stupid
 
@TomW I know, the finazlier is called by the GC.
 
You can contrive certain cases where it won't be
 
@TomW I'm writting a DisposableObject base class. And I'm not sure, if I should write a finalizer that calls Dispose(false).
 
 
1 hour later…
1:22 PM
Math.Abs(int.MinValue); ha-ha
 
 
3 hours later…
3:58 PM
mm guys do you know how to expose a detailed error report... I basically published an app on a server and works perfectly fine... but after sometime.... it gives me an error:

<Error><Message>An error has occurred.</Message></Error>
xml display, do you know how i can get a detailed error report on this
 
 
1 hour later…
5:07 PM
So, Whats the best way to start with MVC4 ? I worked for MusicStore for mvc2 ..any other best sample tutorials ?
 
5:31 PM
@codebrain Get the book :)
 
Hmm.. #Fact :)
 
5:42 PM
hu guys i need to crawl a microsoft login page..when i try to see html part from string which i get from responsestream i get error msg "Microsft requires javascript to sign" why i get this? any idea...
 
6:09 PM
What is the fastest possible way I can insert an item into the middle of an array (shifting the other elements appropriately)
IT's an array of object references, not primitives
Actually I need to copy it entirely and insert
 
... If you need to copy, then copy it. Buffer is your friend.
 
Not an array of primitives.
I was wondering if there is some way besides two separate copies
Would using pointers be quicker?
Though I don't understand why Buffer won't copy references. They're just... references. I guess it's worried about structs or something.
 
What exactly is the use case here?
A basic array might be a terrible choice to begin with
 
6:25 PM
I'm implementing a persistent HAMT for use as an associative array. It involves copying arrays a lot.
 
6:46 PM
Hello, I was wondering if anyone here has used the WinAPI directly to access a serial port (i.e. not using the SerialPort class built into VS2010)
 
Aren't there libraries (not .NET ones; native ones) for that?
 
yes, but there is a known bug (apparently, I am new to this) that is well documented that outlines the fact that the SerialPort class doesn't play nicely with a few random pieces of hardware
I have this outlined in a question, its quite long though
8
Q: IO exception error when using serialport.open()

tmwoodsI know there are a few other people dealing with this issue, but I was hoping someone could help me. I am trying to connect to a COM Port but I am getting an IO exception when I try to use the serialport.Open() command: System.IO.IOException: The parameter is incorrect. at System.IO.Ports.In...

basically the up baudrate throws an exception for no reason
 
Which is why I mentioned; native libraries
Not for .NET
Written in stuff like C++
 
oh i see. that is exactly what I am looking for
 
Invoking the windows api/drivers directly sounds like a mess
 
6:51 PM
but when I search, I just get a ton of forums explaining the problem, not describing the solution
it is a mess that i am trying to avoid
but I am new to this and am still scramblign int he dark a little bit
 
did you search for win32 serial port library? native? C++? stuff like that
 
You're going to roll your eyes at this: how do I do that?
oh
wait, I misread your question
Yes, I have tried that
Most of them either don't work or were in progress and abandoned
There were a few that were promising but I haven't been able to get them to work
But I worry it is because of my inexperience, not because of the quality of the libraries
 
Sounds peculiar. I don't know anything much about interfacing with hardware on .net (or on anything really) but it sounds as though yours should be a common problem
and common problems usually have plenty of solutions
 
I have done this with several devices in the past, this is the first time I have had a problem
 
Do you need this done like, soon?
Or is time on your side here?
 
6:55 PM
Wow. I'm impressing with my hash map implementation.
 
Well, soonish. I still have about a full month. But this is just one aspect of the project and I need to move forward relatively quickly
but I could say that yes, time is on my side
 
It destroys F#'s map implementation in every way and every test.
Especially for read operations
 
@tmwoods Do you code C/C++?
 
One second, just got a phone call
 

« first day (876 days earlier)      last day (4088 days later) »