« first day (962 days earlier)      last day (4004 days later) » 

12:00 AM
While I've been playing AoVA, AVP and watching TV and movies ;)
@CCInc Where are you calling Output?
Inline comments suck..
 
@LewsTherin Like I said, it's an RPC function
So technically it's called from my other app
 
Ok, gotcha
 
@LewsTherin What's AoVA?
 
Alliance of Valiant Arms... is AC-Rev MMO?
@CCInc I think you need to init dexx on initialize.. try that?
 
But they'd be pointing to the same object (the one that is already initialized, right?)
 
12:07 AM
Yeah
 
What's the C++ equv. of IntPtr.Zero? Null? Void?
 
NULL
 
@LewsTherin I haven't played multiplayer ;-(
Just playing the story line so I can get to AC3
 
I think multiplayer is the best.. but I get annoyed when those fuckers call me a noob and kick me out lol
This is for any game btw.. I'm just not good enough for those fucks.. forgive my french
 
@LewsTherin yah, I enjoy multiplayer, too. Just don't have Internet at my apartment ;-(
 
12:20 AM
I seriously don't get that.. how can you live without the internet?
THE INTERNET
Even if I am not using it.. there is a comfort knowing that it is there
 
What's considered the most modern method of interacting with databases in .NET?
 
why is this bellyaching?
SHORT SW_HIDE = 0;
SHORT SW_NORMAL = 1;
 INT STARTF_USESTDHANDLES = 0x00000100;
 INT STARTF_USESHOWWINDOW = 0x00000001;
 INT UOI_NAME = 2;
 INT STARTF_USEPOSITION = 0x00000004;
 INT NORMAL_PRIORITY_CLASS = 0x00000020;
 LONG64 DESKTOP_CREATEWINDOW = 0x0002L;
 LONG64 DESKTOP_ENUMERATE = 0x0040L;
 LONG64 DESKTOP_WRITEOBJECTS = 0x0080L;
 LONG64 DESKTOP_SWITCHDESKTOP = 0x0100L;
 LONG64 DESKTOP_CREATEMENU = 0x0004L;
 LONG64 DESKTOP_HOOKCONTROL = 0x0008L;
 LONG64 DESKTOP_READOBJECTS = 0x0001L;
 LONG64 DESKTOP_JOURNALRECORD = 0x0010L;
@tjm6f4 EF or L2S IIRC
 
Is that really compiling? INT, SHORT? wtf
 
No, it's not compiling :( what did I do wrong
 
Are there any pros/cons for doing either - scenarios where I'd want one over the other?
 
12:24 AM
I personally prefer old fashioned SQL, but yeah
 
@CCInc Use int, short.. ?
 
C++
or would I #define those
 
@CCInc What lang is this supposed to be? And what is the first error that you get?
 
C++, syntax error: constant
 
where
 
12:26 AM
@CCInc try const short SW_HIDE = 0;, ect.
 
Error 5 error C2143: syntax error : missing ';' before 'constant'
 
@CCInc Built-int types in C++ are all lower-case
@CCInc umm...so add a semicolon
 
rolls eyes
const short SW_HIDE = 0;
const short SW_NORMAL = 1;
Would I define those instead?
 
Why would you need a const modifier with short?
 
shrug dunno
 
12:32 AM
@LewsTherin To declare a constant.
 
Isn't that optional?
 
sure....but adding it guarantees that the value will never change.
If you accidentally try to change it, the compiler will complain.
In this situation, it is identical to final short SW_HIDE = 0 in Java.
 
Ok.. I thought it was giving a compiler error
 
the earlier version with SHORT was giving the compiler error, from what I understand.
 
HDESK m_desktop;

[STAThreadAttribute]
INT main(array<System::String ^> ^args)
{
		m_desktop = CreateDesktop(name, NULL, NULL, 0, AccessRights, NULL);

	// Enabling Windows XP visual effects before any controls are created
	Application::EnableVisualStyles();
	Application::SetCompatibleTextRenderingDefault(false);

	// Create the main window and run it
	Application::Run(gcnew Form1());
	return 0;
}
'name': undeclared identifier (m_desktop)
 
12:35 AM
What's with the ^ ?
 
I didn't add that
 
You haven't declared name anywhere
 
Isn't that CLI syntax? For a managed reference or something?
 
35
A: What does the caret (‘^’) mean in C++/CLI?

Rob WalkerThis is C++/CLI and the caret is the managed equivalent of a * (pointer) which in C++/CLI terminology is called a 'handle' to a 'reference type' (since you can still have unmanaged pointers). (Thanks to Aardvark for pointing out the better terminology.)

 
@CCInc so declare name.
 
12:36 AM
I'm an idiot, heh
 
I was right! :)
 
sorry folks, brain a little off today
 
huh, thought it was XOR
 
Not in that context
& is and, but also an unmanaged reference.
 
It also says "syntax error: '='"
wtf
 
12:37 AM
@CCInc Which line?
 
Is CreateDesktop() a void function?
 
And what's up with the INT and the [STAThreadAttribute]?
 
That was autogenerated for my forms project
 
STAThreadAttribute is a .NET type
 
12:38 AM
But IIRC the INT is for returning an error code, like a console app does.
 
success/error code.
 
This is relevant to your interests: youtube.com/watch?v=OQ5jsbhAv_M
 
Well I don't like CLI
 
Dynamic Programming (or efficient algorithm writing)
 
@CCInc I mean why is it INT instead of int?
 
12:43 AM
OH
 
I think you have a fetish for uppercase chars
 
@LewsTherin I think MS has that fetish.
 
One of them certainly
 
What's with the syntax error: '='?
 
@Billdr hrmm...one of these days I'll seriously look at some MIT OCW classes...
@CCInc What is the return type for CreateDesktop()?
 
12:45 AM
I'm trying to think of a way to count all the paths, walks, and trails of a graph. This was the most interesting lecture on the topic so far.
 
MSDN says HDESK
And INT was defined in WinNT.h, WinDef.h, and WTypes.h if anyone was wondering
 
How is there no ambiguity?
 
I think they are all the same thing.
Kind of like WinUser.h is a part of windows.h
 
fell twice :(
 
1:43 AM
well, I did some things with numbers and was able to find the same number two ways, using magic. I guess that number is right? /math homework.
 
hi all!
any humans here
or all bots?
 
I AM A ROBOT
GIVE ME YOUR SPINE
 
@Pheonixblade9 NEVER
try and take it
hey what about your three laws
you can't attack me
 
ASIMOV WAS A FOOL. HE WAS THE FIRST AGAINST THE WALL.
 
@Pheonixblade9 lol agreed
 
1:47 AM
:)
I was actually just leaving. is it quick?
5...
4...
3...
2...
1...
l8a blud
 
2:30 AM
any nba game live streaming link pls?
 
 
4 hours later…
6:30 AM
God Morgon
 
7:07 AM
morogn :-)
errr... morgon
 
Is it easy to convert a web site project to web application project? I read a book that use web site but I want to make web applications. Ofc i talking about asp.net.
 
god morning :)
*good
 
Loclip: I think it
its quite easy I mean
 
Loclip if you looking for a good asp.net series, then check youtube.com/user/kudvenkat (hope youtube links are allowed in the chat)
he has many tutorials about asp.net
link to the playlist: http://www.youtube.com/playlist?list=PL6n9fhu94yhXQS_p1i-HLIftB9Y7Vnxlo
 
but of course if you want to make an asp.net mvc project then its a bit more work
for just plain old web forms project I think you only have to ritgh click on the site project on solution explorer and chooses convert to web app
 
7:24 AM
Ok thank you guys
 
anyone here knows how to make compiler in c#?
 
hello guys
@MrMAG is there any user which provide MVC 4 tutorials
 
7:51 AM
@MrMAG even I'd appreciate that.
 
@Kartikya do you have any tutorial link for beginner in MVC 4
@RoelvanUden welcome
to the room
 
I got a welcome!
 
@RoelvanUden yo
 
I was watching also video from youtube but books are way better the only book i found for beginners in mvc 4 is this amazon.com/Beginning-ASP-NET-MVC-Jose-Guay/dp/1430257520/…
 
@Loclip is there any free book?
 
8:06 AM
@raman I don't know, I taking books from my university library for free :/
you may find it online as pdf
 
@Loclip hmmmmmmmmmmmm
 
yes i checked and pdf version its available but I will not post link here lol :) when you find it give it a try and if you like it support the author by buying it
 
@Loclip ohk
 
Yeah I have the e-book too. Somewhere in the void that is my hard disk.
 
@RoelvanUden can you please send me it on my email
if possibe
possible
my mail id is visions.netteam@gmail.com
 
8:20 AM
I don't know where I stored it. Google :-)
 
:(
 
@raman its very easy to find it just write the name of book and pdf :)
 
And if you like it, support the author and buy it ;)
 
@RoelvanUden first author should have help me
:P
 
Stackoverflow was made with asp.net?
 
8:29 AM
another big site on asp.net -> highscalability.com/plentyoffish-architecture
so it is possible :p
 
plenty of fish worked on the floor below us in vancouver
the guy only hires hot chicks
its great
 
iow if your site is slow it is probably your fault and not MS :p
its a great name
 
If stackoverflow used asp.net instead of other languages then it must mean asp.net is the best :D
 
yes and if you are also using asp.net that would make you THE GREATEST PROGRAMMER IN TEH UNIVERSE
there is a pretty easy way to know if the technology you use is good
 
8:44 AM
how?
 
are your users happy
 
who great in making compiler here?
 
@DavidDV that mostly depends of how you use the language instead of what language you use.
 
well yeah
but
If I would explain how I do things to other programmers on forums or chat, its always OMG you suck!!!!, but still my users are very happy so :p
 
@DavidDV hahaha true... well we will learn with time :)
I remember myself making program without using classes... worked fine but my code was OMG... :)
 
8:56 AM
I have small services which are just static functions
doesn't work better with OO
OMG static functions you can't mock them when doing TDD !!!
 
haaha
 
you can write shitty code and still have a successful business
its more common than not
 
define shitty code
for some TDD-believer everything done without TDD is shitty code
 
unmaintainable mess
 
unmaintainable will fuck up your business becuase of time to market problems
for example chosing tight coupling when there is no immediate reason to do loose coupling is a good choice
then again when a lot of developers hear "tight coupling" they immediatly start bitching about loose coupling an DI and IOC and bla bla bla
 
9:01 AM
if you are solving really small problems, then it doesnt really matter how bad your code is
but loose coupling is a best practice for a reason
 
loose coupling when you don't need loose coupling is making things more complex and wasting time
it really is very easy to do all the best practices all the time
 
i try to follow the SOLID principles regardless of the size of the project
2
single responsibility is a biggie
and its not difficult to do inversion of control
it doesn't really make it that much more complex
 
no it just takes time
it does
 
and makes the quality and maintainability much higher
 
not if you don't need it
 
9:04 AM
you do need it
if you want to write good code
 
no
my code is good without it
 
like i said, if youre solving really small problems, then it doesnt matter
 
I'm not
 
but if your code base is going to be of any reasonable size, then these types of 'complexities' arent that big to get right
 
and it still is good
:p
 
9:05 AM
im sure its the best code ever
 
its a fat client
no unit tests
 
awesome
 
in winforms :)
 
@DavidDV: I have to agree with @drch here. SOLID is good, even for small projects.
 
using something by principle is not good
 
9:07 AM
But... it takes time, a lot of time to master. But once you mastered it, you'll find it easy to apply everywhere and it helps making code maintainable and even helps with small projects.
 
its like saying code reuse is good
its not
 
wtf
 
why code reuse its not good?
 
david, i think you might actually BE an anti-pattern
 
code reuse takes time :)
and effort
 
9:07 AM
wow
ok back to work this is ridiculous
 
Hahaha... code reuse is not good?
 
like I said before my users are happy :D
code reuse takes time / effort / you need unit tests /...
 
happy users doesnt mean good code
 
it does :)
 
@DavidDV: Code reuse is never the point. Maintainability and flexibility is the point and that's what SOLID, DRY, and a lot of other principles address.
 
9:08 AM
My job is not to write code that looks nice
 
good thing
 
Steven principles = bad, it means you always have to do them
Solid suggestions, that I can live with
 
@DavidDV its not the look, its about the flexiabillity as well
 
wel duh
 
the solid principles are very simple
 
9:09 AM
my users will not be happy if they have to wait long on updates
 
@DavidDV: Code doesn't have to "look nice". But hopefully your job is to produce code that can be maintained in a couple of years as well. Except when you're writing a proof of concept, some piece of throw-a-way code. In that case, it doesn't matter.
 
theres only 5 of them - you should read them and see which ones you disagree with
 
drch please
 
@DavidDV if you go after some good principles, it will safe u time as well :D
 
I know them
Principles are bad,
 
9:10 AM
"my users will not be happy if they have to wait long on updates". Your missing the point. You will be able to respond faster to change. You will be able to give users what they want, quicker.
 
they arent the principles of pretty code
 
@Steven I'm already doing that :p
 
"its faster if i copy paste"
 
ha
 
@DavidDV: Do you know what the SOLID principles are about? Have you studied them?
 
9:11 AM
omg yes
 
Aman @drch: They are not about pretty code.
 
> they arent the principles of pretty code
 
principles are not compatible with YAGNI
 
Perhaps this is all about context. In some contexts they do not always apply. What kind of shop are you in @DavidDV? What kind of software do you make?
 
principles are something you ALWAYS have to do
 
9:13 AM
@DavidDV: The SOLID principles are in fact guidelines.
 
I make R&D software for a pharmaceutical company
then why don't call them the SOLID guidelines
 
In fact, you CAN'T always follow them. That's impossible and not adviced.
 
@DavidDV: how many other developers do you work with on your team?
 
only 2
 
@DavidDV: I'm sorry, I didn't define them. Ask the people who did.
 
9:15 AM
i suppose these practices are less seen in winforms/webforms as the framework itself limits you a bit since youre hooking into their events pipeline
you arent as likely to ship a DI container in a web form project as you would in a web application
 
If I was working in a team of 5+ developer I would probably need more things like unit-testing
 
@DavidDV: Even though you seem to be against those principles, I think that I can spot a lot of parts of your code that comply to the SOLID principles. They are not bad at all. You don't have to apply them always, but those principles are a good tool for your tool belt; use them when they come in handy.
 
Steven I'm not against using SOLID things when it makes your code better, I'm against using SOLID by Principle always for everything
 
@DavidDV: I currently maintain an open source project and I do this alone. Still, it was impossible for me to maintain it without the big set of unit tests. The size of your team is IMO irrelevant to using unit tests or not.
@DavidDV: With that I do agree.
 
I'm making an application for end-users
if I was making a library for developers I would unit-test everything
 
9:18 AM
im ok with using them almost always for almost everything. except i dont use the D until I add in unit testing ;)
and open/closed isnt one you think about day to day on new code
 
You shouldn't try to apply SOLID everywhere, but it takes time to see where it's a good fit or not. For me: when it comes to the core parts of the software I design, SOLID is a must.
 
So you are doing the same like me then
 
In my working ours all the applications I write are for end users. I write unit tests whenever I can.
 
and whats about PRINCE2? is that similar to SOLID ?
 
wtf is prince
TAFKAP2
 
9:21 AM
@drch: Hahaha... For me the D is where I start :-)
 
@Steven: yeah, i usually hook up a DI container, i just use concrete classes when im first hacking my way through in the beginning
so i dont have to register anything till i have a better idea
 
Prince2 has nothing to do with software design. It has something to do with management.
 
okay, its just something i'll learning in the future education
 
@drch: In that case you probably don't do TDD? Because in that case you start with a test.
I think it is really useful for a developer to know a bit Prince2 (have a 2 day course or something). It helps you understand your manager and communicate more effectively with him.
It's something (I must admit) stink at, communicating with my managers :-(
 
not when im first hacking on it. I usually stub out the feature, so i can get my head around it, then go back via the tdd route
if i have a really good understanding of what i need to do, then ill do proper TDD
 
9:24 AM
@drch: To be honest, I don't apply TDD by the letter myself.
Sometimes write code first then the test, or write a bunch of tests at once and the code later. All not TDD.
 
better watch out for the TDD inquisition then :p
 
But there's one thing I always, always always do. Make sure I do the "red - green".
What I mean with that is even if I wrote production code first, after writing the test I go back to the production code to make the test fail (red) and make the test succeed (green) again. This is a very important step for verifying my test works.
@DavidDV: LOL
 
"red - green" must really suck when you are colorblind
 
But, when learning TDD, I think it is good to exactly stick to the default practice.\
But enough jibber jabber for me. See you later guys
 
@DavidDV ps sorry for being over the top and condescending. i thought you were trolling rather than making a real case ;)
i think ive been talking to kendall too much
 
9:30 AM
I'm just against cargo culting / lets blindly follow all the best practices / not caring about your user / end-product
or not knowing or understanding the cost or added complexity of some technologies / best practices
 
abstractfactorymethodprovider
 
exactly :p
 
and tbh i think yagni trumps all
 
i like the url slug already
 
9:45 AM
hello guy
guys
i am facing some issue in first data payment gateway after migrating the server
before we had used windows server 2003 and now we are using windows 2008 server
that is of 64 bit
now we are not getting any response from first data while payment
 
will you look at that, he's still using the First Data Payment Gateway!
That thing is outdated man
/dickhead mode off
 
that sounds like something you should take up with their support team
 
@drch i supposed someone else might face the same prob
so i asked
@ActionHank
 
@raman I don't know what you mean by first data payment gateway
Is it written in c#?
 
@ActionHank we have implement the payment gateway of first data
@ActionHank they provided us a dll and code to implement
and that was working with 32 bit server
not working with 64 bit
i think this is the only issue but i dont know how to resolve this
i have applied 32 bit compatibility mode true to apllication pool
 
10:02 AM
:D
 
How to apply css style for [Required(ErrorMessage="This is a error")]
i got no time buddy, i am working 10 hours a day lol..
 
same here :) but till weekends
 
@raman idk how to solve your issue. Googling provided some results. Maybe you should call First Data?
 
huh, cant say it in here bud
 
ok pm me
 
10:10 AM
Action, hey mante
pm you ? why ? :P
no time to chat, gtg :(
 
@ActionHank yes i am going for this now...
 
hi @code
 
@ActionHank as i have seen a article on which it clearly says that first data is not supported with 64 bit, we need to have change our way of payment , before we used dll now we have to use web service for transaction
 
Well... I would prefer using webservices anyway :P
 
10:22 AM
:( Can't see imgur
 
@NullPoiиteя ?
 
10:38 AM
@AndréSilva it's a screenshot of some previous conversation where uses of the N word are highlighted
@NullPoiиteя I love the advice on your user profile BTW
 
@ActionHank its really useful ... and its Gordon's advice ... i am just showing it
 
@NullPoiиteя Gonna read up on this SOLID thing today :) Thank Gordon for me ;)
 
10:55 AM
How to copy table structure to word form?SQL Server2005
 
@ActionHank Ok..
 
11:15 AM
woo, php can convert from an int to a double on the fly apparently.
 
11:36 AM
An attempt was made to access a socket in a way forbidden by its access permissions
Have anyone seen this SocketException?
 
so apparently the office printer cannot scan documents if it's out of cyan ink
2
 
I haven't, Andre.
Obviously, Hank.
Cyan ink is vital to the scanning process.
 
Next up: the magenta cartridge
 
I created a function on my MySql db the other day. Did I have to do something special to save it? Other than CREATE Function ...
 
11:57 AM
@Billdr I can't think of anything. Is your function gone then?
 
Yea
I needed to alter it substantially anyway (see the sidebar), so it's not the end of the world. I'm just not sure why I can't find it.
 
from what I know a CREATE would suffice
 

« first day (962 days earlier)      last day (4004 days later) »