« first day (18 days earlier)      last day (4945 days later) » 

7:02 PM
so long as answers get upvoted they will move off that "tab"
so long as they are unanswered they will remain unanswered
the idea tho is to let guys like me who are killing a few hours find some juicy targets that need to be hit
and it's to encourage people to mark stuff as closed
 
People are damn fast at answering! I can never catch ones that I know offhand without a little reference
Maybe that means I need to learn more
 
no shame in that
additionally you have to consider that sometimes just because you answer correctly doesn't mean you get any benefit of having answered
1
Q: JavaScript array problem

DanielThis bit of code doesn't seem to work. for(var b = 0; b < wallPoints.length-1; b++) { wallPoints[b].xPos = wallPoints[b]-1; } function Point(x,y) { this.xPos = x; this.yPos = y; } wallPoints is an array of Points The code doesn't return any errors, it just make...

check the comments
I had the answer within seconds of posting, but the upvotes aren't on my answer that I submitted moments later.
 
I dont really give a damn about rep, I just like this site
Asked a few questions and tried to answer a few to get into this chat and do what I like to do: Talk about coding in real time
 
well sometimes we value our rep, like when you're trying to figure out do you need to listen to poster a or b
 
does anyone know how to setup debugging with custom URLs
my asp.net MVC app depends on the subdomain so i can't just launch it from localhost
 
7:07 PM
Edit your hosts file
Add in the DNS entry you're looking for and point it to your VS debugger IP
 
my host file is already in place
i mean i can browse to the app locally and all
just not debug from VS
 
then what's the problem?
 
when i hit debug it launches localhost url\
 
ah, hang on
 
Change the URL :)
 
7:08 PM
you can hook it on a custom path, let me look
 
"http://localhost:49219/"
 
yeahyeahyeah
 
it also just choked on a 64bit DLL, odd?
do i need to explicitly tell the debugger it is 64bit?
 
So change to subdomain.domain.com:49219 using the value you have entered in your hosts file
 
it as in the project
 
7:09 PM
that I don't know
 
k
 
@Soundsoldier that's wrong advice
loading VS
hang on
 
Thats how I debug my sites when I can't use localhost as my url
 
in VS?
 
Yeah
 
7:10 PM
oh, then you didn't finish what you were saying
in that case yes, that's right
but he doesn't know where
website start options (right click or off the website menu)
is it there or is it ...
 
exactly, do ya do it?... as in breakfast dd?
 
pretty sure that's where you change it @shogun
bdd?
breakfast driven development?
body dysmorphic disorder?
Body dysmorphic disorder (BDD) (previously known as dysmorphophobia is sometimes referred to as body dysmorphia or dysmorphic syndrome) is a (psychological) somatoform disorder in which the affected person is excessively concerned about and preoccupied by a perceived defect in his or her physical features (body image). The sufferer may complain of several specific features or a single feature, or a vague feature or general appearance, causing psychological distress that impairs occupational and/or social functioning, sometimes to the point of severe depression and anxiety, development of ...
actually a sad condition
and something programmers would be prone to
@MayowaAyinde so you want to know if anybody here is Agile and uses Behavioral development practices?
 
yaeh do ya do breakfast DD? @drach-hardtospell
 
I do not
@MayowaAyinde start typing @drach and then hit the tab key
 
Behavior Driven Development @drachenstern (yeah that works... your name sure needs VS INTELLISENSE)
 
7:18 PM
@MayowaAyinde I almost feel offended by that given your name, but I don't get offended over names anymore in life.
mine is a perfectly good adaptation of two germanic words that really don't combine into the one that I use, I presume yours is a real name?
 
yeah mine's real name... so 1860-ish :(
so who does Behavior DD here?
 
just a friendly reminder that we are no less who we choose to represent to the world than our names, and that often our names (as programmers) are self-chosen, to identify us from within, and they are not the names given to us by our birthparents. You're free to continue to use the name you were given legally, or to establish for yourself a new identity. but don't disparage a programmers handle guy ;)
so I don't do BDD
but I wish you luck on it
I probably tend to do front-ahead design ;)
 
hey i actually like ur name, sorry if i offended you, really sorry :)
 
You can have my handle when you pry it from my cold, dead, naked body
 
lol, you didn't offend me @MayowaAyinde
everyone says I'm on edge today ... that they're on eggshells around me ...
maybe time to schedule a doctor's appt
 
7:25 PM
Mayowa: I've done what I think qualifies as BDD, but fairly in isolation, so not sure how true/pure it is...
 
@Pete I'm pretty sure he's in the same boat, and trying to decide if he's doing it right
/me waiting to see if I'm right
 
@Pete you mean using traditional testing tools e.g nunit?
 
/me makes assumptions too
wb @LasseVKarlsen
 
@MayowaAyinde I'm using a xUnit.net, and using an extension losely based on iridescence.no/post/…
 
7:28 PM
@Pete
 
@MayowaAyinde Although I will probably look at using MSpec or something similar when I start a new project.
 
is there any advantage to using nUnit over the testing framework built into Visual Studio?
 
not at all @entens at least i dont think so
 
Isn't the assertion methods still a bit old in the VS test framework?
 
NUnit is more widely used, isn't it?
 
7:31 PM
@TimRobinson that's my understanding
 
For instance, to assert an exception, don't you only have the attribute?
 
@entens community involvment?
 
or to put it another way - I've worked on plenty of NUnit teams but not on one that's used MSTest
 
@entens If you're using any sort of continuous integration other than TFS, there's much better support for nUnit, xUnit, etc.
 
nah i do rambo development.
 
7:32 PM
lol
 
no need for TFS
 
sadly we do too here
 
i have a small instance of Hg setup and it works well enough for local source control
 
@entens and if you're stuck on VS EXPRESS... msTest isn't an option
 
but fortunately we pretty much just display data from the database, not too many objects to get in the way of having business logic to test
 
7:34 PM
Actually the version of express for Windows Phone 7 has MSTest support IIRC
 
@Pete i've almost completed an mvc app, using StoryQ
 
Related question: Anyone have preferred coding music?
 
@Soundsoldier depends on the code...
 
Lets say.... the kind of code where it's mostly tedium and not a whole lot of thought
The code is coming out of the muscle memory in your hands, then what?
 
what's coding music? a bdd tool?
 
7:37 PM
@MayowaAyinde Music that you listen to while writing code :)
 
@Soundsoldier if its pure tedium, then i resort to some sort of classic rock or old school metal. a little AC\DC, metallica, and anthrax to get me through.
 
How about your cerebral workout?
 
@Soundsoldier ok.... well i'd say Rock Rocks!
 
Rock does rock!
 
@Soundsoldier then i just get some beats on and tune out. 90% chance i'm listening to somafm.com/play/fw/secretagent
 
7:39 PM
I love Soma.fm
 
@MayowaAyinde how was it?
 
@Pete well it's nice
but if you envy cucumber... it's a long way off
it worked for me though
@Pete btw cucumber is ruby on rails' bdd framework
 
@MayowaAyinde yeah, I've heard of it.
 
@Pete I'd advice you go with Specflow instead of MSpec if you want to go for something new
 
@MayowaAyinde I saw they had a new Specflow plugin for MonoDevelop too.
 
7:45 PM
@Pete interesting, do you use Mono?
 
@MayowaAyinde The previous project I worked on for several years was a x-platform Gtk# app.
@MayowaAyinde Doing boring windows-only winforms now though.
 
@Pete I had to try StoryQ cos I only have VS Expess
 
lol @ breakfast driven development
i have a droopy left eye because i had a surgery causing nerve damage, that's a bodily defect
but rarely does anyone notice i'd think
i mean not eye, but eye brow
 
Ah, Mercurial 1.7 is out
 
8:00 PM
eh, i'm out of here, later all
 
I had surgery underneath my ear on the nerve cluster that controls the left side of my face a few years ago, luckily they didn't slip
 
/me !afk
I have a droopy right eye from Bell's Palsy
they usually think I'm just tired
 
8:22 PM
@LasseVKarlsen What's new in 1.7?
 
/me answers "what's new?"
 
Mostly bugfixes
 
@Tim: I know what new is :')
 
@TimRobinson currently undefined isn't it?
 
C#quiz: when is it possible to use new on an interface?
 
8:24 PM
on an interface?
 
i.e. new ISomeInterface()
 
I didn't think you could new an interface
 
you'll hate the answer
 
Can't think of anything, maybe something nasty with COM interop?
 
if you're instantiating an object that implements the interface?
 
8:26 PM
@Joren yes :)
 
like IPoint point = new Point(); ?
oh, well look here, I already hate COM interop :p
 
@Tim: I have psychic powers
 
I'm going from memory, but I think it's through [CoClass]: msdn.microsoft.com/en-us/library/…
 
You can't do new ISomething
 
when you import a type library, each coclass gets a .NET class and a .NET interface
 
8:27 PM
sigh COM interop
 
you can do new on the interface; it instantiates the class instead
 
excellent: You rarely apply this attribute.
 
I told you you'd hate it :)
 
@Tim Not in C#
 
@LasseVKarlsen when I found out I'd do it regularly -
I'm recalling from memory, though; I'm at home and I don't have any COM libraries in front of me
 
8:31 PM
dancing opcfoundation.org/Default.aspx/02_news/… its about friggin' time!
 
Does anyone know how to get rid of a window border in a maximized topmost C# System.Windows.Forms.Form ?
 
@entens What is OPC and why do they have such an atrocious website?
 
@Joren - agreed, the website is horrible.
 
@StevenBehnke set FormBorderStyle?
 
OPC is the defacto communications protocol for the automation industry. the foundation that controls the spec finally released something that isn't a atrocious wrapper around a legacy COM interop.
 
8:33 PM
Catch when it's maximized and set the window left to the negative border pixel width, top to negative border pixel height, and set the window width / height to screen width / height + border pixel widths
Haha thats a hack I used to use in Windows XP
 
I've done: this.FormBorderStyle = FormBorderStyle.None; It is a 1 pixel tall border on the right and bottom.
 
Automation industry, like manufacturing robots and stuff?
 
But that will be a faux 'full screen' without a title bar
 
@Soundsoldier: What about http://blogs.msdn.com/b/oldnewthing/archive/2010/04/12/9994016.aspx
No go in .NET?
 
more like automation as in, everything from robots to the control stations used to control power plants. i can guarantee all that crappy old COM interop is running your electric service.
 
8:36 PM
That's pretty broad then to use a single communications protocol for
 
I've not tried that yes, @Joren
 
@entens ... not so much nowadays, not in all places ... we're doing smartgrid stuff here too
@Joren yep, and the industrial automation guys love that there's only a handful of systems, instead of the numerous variety that we have
 
@drachenstern yup. that runs on OPC. DNP3 is only used for long distance communication.
 
the problem is that they try and write API systems that do EVERYTHING ...
 
@drach: I know that kind of thinking, unfortunately ...
 
8:38 PM
oh come on, feature creep is a thing of the past ;)
 
@entens the stuff I'm working with currently is actually Multispeak, just to give you an idea where my work is today. And no, I'm not trying to draw a parallel between OPC and MS, just that this is where I happen to be. Yay data warehousing
 
@drachenstern yup. my company does automation ranging from turbine governors to replacing control rooms. i swear electrical engineers and embedded systems guys write EVERYTHING. the lack of multithreading and horrible UI is astounding.
 
@entens but some of the systems I've had to dive into in the past six months hurt my brain ... I can only imagine the nightmares of COM interop they've been doing to keep things going
lol, I've seen those TOO! :p ... wanna hear a better one? We write ASP.NET interfaces to replace those legacy apps ... oh the joys of that one, let me assure you
never thought I would want to give someone a SCADA system and let them goto town instead of me doing it from scratch ...
 
eh, ASP and anything webbased is highly frowned upon. everything has to meet NERC security regulations.
 
not ASP for starters, but .NET, and b) for the stuff we do, which is NOT plant based, it's not a problem. I'm just saying I've seen some of those interfaces you describe.
our interfaces are more Customer service oriented, they just LOOK like the ones you describe
and they all tie into the same data systems in the backend
 
8:47 PM
true. i just end up making utilities for the field engineers. most of our customers just use a historian product like PI or whatever Canary Labs is calling theirs now as a ERP
 
9:08 PM
:| your right. their website is the worst. they still provide support for list services. ie he olde send an email to listmanger@site.com subject:subscribe
 
 
1 hour later…
10:17 PM
playing with mongodb - it's quite nice
 
I really like CouchDB
Waiting to finish this freelance project i'm working on and I'll make something withit hopefully ;P
 
10:33 PM
night all, ttyl
 
10:45 PM
See ya drach
 

« first day (18 days earlier)      last day (4945 days later) »