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

10:03
I keep getting the "OverflowExecption" error when trying to create a IntPtr with an Int64 (i.e. IntPtr pid = new IntPtr(Int64.MaxValue);). Does anybody know why this is happening and how I could fix it?
@seph are you compiling for x86 instead of Any CPU ?
@HollyStyles I am compiling this on AnyCPU
Its a Device Application (using .NET CF 2.0); Device is runnung WM 6.5
10:20
@seph The device must be a 32bit platform
@HollyStyles do you have an example of how to connect with a Service on the network?
I can't seem to find a properly one....
@HollyStyles I already have a good example now.

It's using net.tcp:
<baseAddresses>
<add baseAddress="net.tcp://localhost:1234/DMS/DMSNotificationService"/>
</baseAddresses>
@RaZor Yep you're on the right track
nice!
but
this is not a service but an exe file
@RaZor You can host the service in your own app, IIS or as a Windows Service
I want a windows service...
10:26
'Ra
@RaZor so app.config, web.config whatever the xml configuration is relevant to all of them
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 ...

plz help
@HollyStyles to all what? Clients, services?? not sure what you mean..
Hello :D
@RaZor What I mean is the fact that your example is an exe is irrelevant
okay, that's loud and clear :) but then I have to set the ip adres in the app.config in both client and server app.config??
10:30
I want to find the index of list item whose age is 20
ObservableCollection<person> myList = new ObservableCollection<Person>();
Yep else how will the client know where the hell the service is?
:)
Because I see that in the client app.config there is a line called: endpoint. which is pointing to "net.tcp://localhost:1234/DMS/DMSNotificationService"
i tried this
Person agedTwenty = myList.Where<Person>( x => return x.Age == 20; ).Single<Person>();
int index = myList.IndexOf(agedTwenty);
 but give me error
okay so I can put the local ipadress in the app.config's???
@RaZor Exactly
10:31
for example: net.tcp://192.168.10.123:1234/DMS/DMSNotificationService
@RaZor Yes.
great that's loud and clear!
@HollyStyles you just made my day! :) Ill let you know if it's working!!
@RaZor Whoot!
haha :)
@HollyStyles btw: Best Whishes for you in 2014 :)
@seph You're on stackoverflow but posted your question on Code Project ???
10:37
@HollyStyles YEAH!!! I can connect to the server service!! from my local machine to network server
@RaZor How's it going with the document management in Sql Server?
what do you mean?
We had a conversation some weeks ago, you were quite frustrated about the project.
Nov 28 '13 at 16:12, by RaZor
Started the whole fucking project from scratch... Been 2.5 years about now and still not done...
ow yeah true
Well, it's still a pain in the ass... still have that nasty fear for loosing my job...
@HollyStyles It's going the right way, but still don't know if I'm still working on that project next month....
11:06
i get the date in 11022013 format as astring how can i convert it in dd/mm/yyyy format
please help me
@SomnathKharat Firstly is there anyway you can get your date value as ticks instead of a string? In my opinion the moment you stringify a date all bets are off and bug-ridden hell is your future. The ONLY time to stringify a date is at the last moment in th e presentation layer where your presenting to the user.
11:40
lol
I usually write 02 JAN 14 in comments etc.
Because I don't trust that yanks won't STILL get it wrong
not that there are likely to be many reading my code
no9
no9
i use dd/mm/yyyy, its standard in my country...
@TomW yeah i write the same way. otherwise they will definitely get it wrong at some point.
12:11
@shakthi @no9 hello =]]
I use dd-mm-yyyy
Ack! resistance is futile :(
obviously the correct solution is for Americans to accept that their convention makes no sense and conform to what everybody else does
;)
I always use milliseconds since 1st Jan 1970 it is now 1388664778 o'clock
lmao
ooh just found this epochconverter.com cool
12:17
@HollyStyles I need to make a service reference to my "server service" in my client application
how can I do thaT?
if I right click on Reference in my project and then Add service reference I can't seem to find my service...
Put the endpoint address (You posted earlier) in the Address: box and click Go
Is your client in the same VS Solution as your WCF project? or a separate one?
@RaZor Personally I wouldn't use Add Service Reference at all
Create your own client proxy, and reference the types in your client and server from a common library
no9
no9
im gonna start using stardate ... problem solved
@RaZor hows WCF .. its giving me a headache as we speak :)
i get random delays calling web methods... sometimes same call takes 1 sec, and sometimes 2 minutes to reach server side
12:36
@no9 your service hosted in IIS? Possibly your w3p.exe is shutting down after some idle time, so the long wait is a re-start and compile of your service
@no9 @HollyStyles I'll be back in 10 to 15mins... Lets talk about WCF then okay??
no9
no9
@HollyStyles thanks for the tip ... it must be something in the web.config...
ok ok, im out for a smoke anyways...
@RaZor hello
was at break..
Guys, do you know how to "clear" the GAC? I've uninstalled all DLLs using gacutil.exe -u x command and delete them but for some reason, I am still able to instantiate it by CreateObject() (VBS).
12:53
@Ianthe If you're going to clear the GAC, you might as well del *.* while you're at it.
My guess is, though, that you need to un-register the COM class
@Ianthe if there's a process still running with that assembly loaded, I think it will hang around
also, the GAC has this trick where it copies stuff into either /temp or /tmp
resolving from those locations is opaque
I'm not sure of the exact scenarios but it's a persistent problem for us
Sorry, my frustration lead me to assume that there's a "cache" for the GAC... I already did a -u x.dll and deleted all copies of that dll from the machine but I can still do CreateObject().
Yeah, I found that it creates under that temp folders. I also tried to kill the processes locking it and delete but still be able to load it. :O
It obviously still exists somewhere
@HollyStyles @no9 back... I need to connect my client project to a service that is already finished.. how can I do that
I tried to search for it using FileSeek, that's where I found the copies under \temp. Removing it however, didn't resolve it.
13:10
@RaZor For that you will have to use Add Service Reference in your client project and paste the address of the service in
hmmm.. @KendallFrey, @TomW Do you know of any way to print out the location of a loaded assembly?
I tried that @HollyStyles but the service can't be found..... I use the address of the running server
are you putting ?wsdl on the end of the url?
@Ianthe Assembly.Location
no why?
13:12
Cos that's what the wizard needs to generate the proxy classes
Web Service Description Language
127.0.0.1:1234/DMS/DMSNotificationService?wsdl doesn't work :/
@KendallFrey nah, tried that already. I'm restarting my machine... hoping that it's just in memory.
@RaZor @HollyStyles might not be configured to publish metadata
httpGetEnabled should be to true then right? @TomW
but @TomW when I open the solution of my server I have a client project aswell which has the Service Reference...
@RaZor you're missing the protocol at the beginning netTCP:// or HTTP://
13:22
@HollyStyles got it! awesome, your really helping me today!!
thanks alot!
@RaZor if you have httpGetEnabled="true" then HTTP:// should work.. Ah it did, no problem.
@RaZor Coz I'm at my free-lance job today where I own the whole code-base so it's just how I like it, and I am therefore so productive I can get away with spending time on Stackoverflow chat
nice! can't you be there every day??
@Ianthe Re-install the whole OS :) LOL
@RaZor Sadly I have a full-time real job and only one customer :( Hopefully one day I can make the full transition to self-employed
nice!
Hope you can work that out!
@RaZor It's not all great, currently spend 50% of my annual leave (25 days) working as well !
13:34
hmm.... That's not good......
so barely any days off...
Luckily I love this kind of work.. mostly... except when it has me pulling my hair out
@HollyStyles technical stuff or customer stuff?
technical stuff is usually fun to fix. Unless it's a product that just doesn't do what it's supposed to
He he
Both
Creating new things is the fun part, fixing broken shit not so much for me.
Well, I've spent long enough fixing other people's mess that I'm quite good at it
I don't get to write code very often
Yeah maintenance mode is 90% of the Enterprise devs lowly life :(
13:43
written a few support tools
some people have been happy, others not so much. The latter though; I write down what I expect they'll ask about how to use it, or why things are done in the way they are, then they ask anyway
no9
no9
someone is still farting in my office
@TomW I see you're in Reading, have you been thinking about a new job at all recently?
@no9 What audibly? or just Aromatically?
I'm always thinking about it
Is there an alternative to string.Contains that allows StringComparison?
not that I'm not happy. I just take to heart the idea that one should default to being aware and thinking about other opportunities
13:48
I'm in London near Tower Bridge, my CTO wants to expand at least two new dev positions will soon be available
Senior Dev
Interesting. What's the company? Or if not that the industry and the product
I work for apsgroup.com
Prepaid debit cards, moving into credit heavily now though
So it's financial sector
no9
no9
@HollyStyles silent ones...
regarding your last question :)
@no9 ack the worst kind :p
no9
no9
its been happening for a while, cant figure out who is it since there are 7 people in 5m radius
13:52
@no9 Well there's your next arduino project, a fart detector. You'll sell millions
He has a fart detector
On his face
yeah but it's not very accurate and detecting the source
@HollyStyles I'll be honest, it doesn't look like the most exciting product lineup in the world. But my position has always been that it's the technology stack and what you get to do with it that makes the job interesting
13:53
Though maybe you could integrate one in a chair
Right fart detecting chairs with an alarm and light system
But it would only alarm when it's a silent one
no9
no9
i belive this should be done visualy
and I guess if you're going into credit, there's a whole load of regulatory stuff coming in?
no9
no9
some sort of glasses
13:54
"OK gas"
no9
no9
like they used to say that peeing in public pool would color water around you...
@TomW Yeah compliance is a big priority all the time, we are regulated
for (int i = x + 1; i != x; i++)
That should sufficiently confuse anyone who reads it
What Exception should I throw when I detect a bug in my code?
@TomW We really want to push our mobile platform that's the most interesting part at the moment. I am midway through getting the dev team fully agile and I could do with some similar minded colleagues, I don't want us to hire yet another blub programmer
14:02
Agile is like REST, in that everyone thinks everyone else is doing it wrong, seemingly
@no9 Wheres peeing in a private hot tub would be more discreet?
@TomW Yeah needs to be bespoke for given situation
@TomW When I started here though they were xcopying debug builds to production, that's the kinda level I'm talking about
yeah, familiar with that kind of company
@HollyStyles O_O My sphincter just turned inside out
It's not the company, they are supportive they've just been hiring cheap contractors
14:07
Well, I suppose if you don't know, you (i.e. the business) need to be shown why that's bad
Don't hire cheap contractors, they're dreadful because [x]
When you're a little startup new in the UK hiring good devs (already pretty thin on the ground) is next to impossible
Now 8 years on we have time and money to start paying up the technical dept
So it appears. The amount of dross that the contracting company I work with (but not for) gets through the door is quite alarming
and they're a national leader in the particular technology they're advertising for
We're building technical debt as we speak
Entropy
Rewriting a massive system is simply going to give us debt
14:11
> Without requirements or design, programming is the art of adding bugs to an empty text file.
2
We're still in the prototyping phase, so hopefully we can fix some of the junk before we go to production
Morning everyone
Morning someone
@KendallFrey by any sense of natural law and justice, you'd be eaten by a velociraptor for that
@KendallFrey How old is this "massive" system?
14:12
@TomW what did I do?
How was everyone's New Year?
@HollyStyles Quite old. It's written in MFC, and was the successor to a DOS system
@TomW upload button plz?
in Functional Programming, Apr 28 '13 at 19:13, by FredOverflow
@rightfold In my experience, even the wildest uses of goto cannot do 10% of the harm inheritance can do.
New system estimate to completion = old system age give or take a year or two
14:13
@JohanLarsson Guess he never programmed in assembly
@KendallFrey don't understand the question
yes, what about it?
14:14
@KendallFrey Inheritance chains has good readability in Assembly?
@JohanLarsson No, assembly is all gotos
Sigh, need to get some work done.
I think I'll create a branch, that rarely ends well :)
@JohanLarsson enjoy merge hell
facepalm
I am an idiot
Writing conditionals backwards...
14:19
Don't beat yourself up :)
hahaha
I should be paying attention though
I am an idiot an idiot I am
I am Sam. Sam I am.
I am not !idiot
Would you like green eggs and ham?
14:21
I don't like green eggs and ham
I do not like them, Sam I am!
WOULD YOU, COULD YOU, ON A BOAT??
I would not, could not, on a boat.
Would you, could you, with a goat?
;)
I will not, will not, with a goat.
14:22
I do not like them ANYWHERE!
I dressed up as Sam I Am for Halloween when I was little
Marvin K. Mooney, would you please go now
One fish, two fish, red fish, blue fish
morning
@Steve Would you, could you, with a goat?
no9
no9
ah well...
:)
14:31
Not with a goat, not in a tree, not on a boat, you let me be! I could not, would not with a fox, i would not could not in a box. I do not like them here or there, I do not like them anywhere, I do not eat green eggs and ham, I DO NOT LIKE THEM!!
...Sam I Am...
Would you fuck me? I'd fuck me. I'd fuck me hard. I'd fuck me so hard
no9
no9
jesus steve... its a children book
:)
don't call him jesus steve
hello clarice ;)
i should watch silence of the lambs, i haven't in so long
@no9 So is Go the Fuck to Sleep
14:34
ffs, where does all this crap come from
no9
no9
from uranus
Confucius say he who lays on back bound to fuck up
lmao
(crap = old PS/1 mouse, grocery coupons, amazon paper invoices, crappy brochures from amazon packages, etc etc etc etc....)
Amazon ships from Uranus, right?
14:35
just Stuff that never seems to stay where it's put and insists on migrating around
no9
no9
thats why charity was invented...
I don't think I'd be comfortable without all this stuff
no9
no9
I gave away all my crap... and I let some1 else deal with it...
paycheck, ripped open package with one AAAA battery, empty shopping bags, phone, tablet, dead AAAA battery... yeah
Hello all,
I am using following text box control of devexpreess
<dx:ASPxTextBox ID="tbxPrevSolids" runat="server" Width="75" DisplayFormatString="c4">

Currently I am facing a problem that when my text box have value '$0.0000' and i cick on save button without changing anything my text box showing me value as '8E-10'

Original Value = '$0.0000'
New Value ='8E-10'

Can any one please help to on this
14:39
@Chets Stop spamming
spamming?
first post i see....
no9
no9
@Chets I would bet on validation problem, but i suck at betting...
@Steve copypasta cross room
oh
@Chets ditch Devexpress, it's an attempt to comoditise you and your craft and reduce app development to a bunch of mouse drags.
14:47
Sorry
Anyone here speak NC?
Does G-code have strings? Because if so...
Stop putting on Airs
hey, i'm trying to debug some code that's only available as IL source. there's the following code and i'd like to print not only "failed" but also the actual exception that occurred. does someone in here know enough about IL assembly to help me do that?
catch [mscorlib]System.Object
{
	ldstr		"Failed."
	call		void [mscorlib]System.Console::WriteLine(string)
	leave.s		EXIT_CLR_LOAD
}
14:55
ah, got it. removing the ldstr call and using ´object` instead of string did the job
yeah, looks about right
ermagerd
EXIT_CLR_LOAD is a googlewhack
My catch block isn't translating to catch in IL I guess
or maybe LINQPad doesn't display it
IL_000E:  stloc.0     // ex
IL_000F:  ldloc.0     // ex
IL_0010:  call        System.Console.WriteLine
IL_0015:  leave.s     IL_0017

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