« first day (724 days earlier)      last day (4449 days later) » 

18:00
but if you dont have the scriptignore?
And without the attribute, the serializer will throw a cycle exception
and the bool thing + counter instead, if serializing and count>1 return null
It recurses, and it will get stuck in an infinite recursion.
@TravisJ It throws before trying?
yes
It gets stuck without the attribute. Just accept that the attribute is there.
Of the like 100 situations where this serialization is used, only this one situation is required to ignore it.
18:04
I hit windows key l, and it didn't windows key l...
@rlemon I saw that over lunch. It's neat to see how after a movie is done, things tend to fall by the wayside.
@SpencerCole pfft. the lot looks the same as I remember it in the movie. :P the rest of the places. .. yea
however what an epic movie I had totally forgotten about
I know people who haven't seen that movie. It's sad. I'm not a sports guy, but that movie hit me right in the feels.
BSOD while installing VS 2012
on restart installation status was the first thing visible, appearing to work normally, bug/feature?
18:11
Well, I can't recall BSOD being a feature of any program.
But I think the VS installer is supposed to restart in the middle.
@KendallFrey Isn't it a feature of Windows?
of the 'undocumented' nature of course.
but it was def BSOD, not just a splash. Or can the be so devious to have a boot emulator cloning BIOS and everything?
Now it wants to restart (again)
ok, back
@KendallFrey more like Obimination
They are just devious enough to restart the installer immediately on startup.
Sigh, Eric Lippert says that you can't override anything marked internal
18:16
@KendallFrey That is a feature at least
@TravisJ not even with an internal override?
Where did he say that?
Oh, that makes sense.
so downgrading the project to 3.5 has now given me this error (only one I didn't really understand and am confused by):
> Unable to cast object of type 'System.Windows.Forms.SplitContainer' to type 'System.ComponentModel.ISupportInitialize'.
18:20
somebody decided to name the BulkJob variable bj... I can't help but giggle every time I see it
((System.ComponentModel.ISupportInitialize)(this.gridSplitContainer)).BeginInit();
wtfpftftft
so what is all this code I just copied bill? :P
I want to create a concrete class derived directly from Foo in another assembly, Blah.DLL.

Me: You are going to have to learn to live with disappointment.
^---that is pretty funny.
lol jk, I didn't copy it
18:22
My mouse must have jumped or something, it was a quote from the blog post you linked.
@Pheonixblade9 As long as they didn't name the double variable penetration, it's legal.
yeah, I am trying workarounds, and not being very successful.
@rlemon You can remove those lines safely. They're just designer cruft.
int hepink.
I have found the offending line of code though, I just don't know how to replace or otherwise disable it
18:23
string emup
hepink wtflol
ISupportInitialize is just an interface that some controls implement that tells them that they're being initialized by the designer, so they can suspend drawing and whatnot.
it makes more sense in camelCasing.
int hePink
If you remove those lines and the designer thinks it needs them, it'll put them back next time you move things around.
@IliaJerebtsov ahh. ok - sounds good. :P
18:25
byte me;
short circuit;
Who uses shorts anyway?
someone say it! common I got the bot running
easter eggs galore
!!/help
Is that how it works/
HAMMERTIME!
18:26
Looks good.
STOP invokes HAMMERTIME!
char ming
So far this week I've heard: "No, you can't use AJAX with jQUERY. I read that on the jQUERY website."
Yep. That's the caliber of people I work with.
that's like saying "you can't use C# with a computer screen"
It's like saying "You can't use javascript with javascript."
18:28
Whatever, my computer screen has a built-in compiler.
I'm pretty sure the J and ajax and the j in Jquery mean the same thing...
You mean the j isn't for jack---?
#Define javascript jack---
@KendallFrey AJAX, the j is short for Jack, and the JAX is short for Jacks.
how in the hell does this thing work 10/10 tests withing VS but as soon as I install it (oneclick) on the same machine it crashes before it even starts
18:31
I'm thinking about using a binding in code between ViewModel and Model, good idea?
@SpencerCole print this out, hand it to whoever said that.
Lol
I'll write it on my whiteboard.
Doubt.Removed();
I rage whenever I hear AJAX .... because lets face it 99% of the time they mean XHR and just know AJAX is a buzzword
I'm just happy that I know what XHR is.
18:35
@rlemon I know what both are, and I use AJAX with XHR.
yes
Javascript: Fix a bug to create a new bug. We provide job stability.
however "I want to AJAX that data to my database"
confession bear I say AJAX when I mean XHR :(
You're an xhr.
18:36
@rlemon But it's easier to say 'Yeah, just use AJAX to call the webservice.'
oh, xhr is xml. Got you.
XmlHttpRequest ._.
Also, I use XHR for JSON!
you're both freaks. There's xml and there's json.
Last year this time, I heard the statement:
18:38
XHR is an obtuse way to say xml.
JSON is just javascript shorthand.
Wha-I-uh..
Yup.
You read that right.
One well educated individual said "In HTML5, they're getting rid of <div>'s, so you want to try and get away from those."
Read that one nice and slow.
what..
the..
actual..
f-ck ?
<div>'s? whoaaa. use tabled everywhere. much better
18:40
So on Friday, a co-worker came by my desk to talk, and left his cup of water here. Still here. I'm waiting to see how long it will stay.
I work with some class acts.
One does not simply get rid of all divs.
2
You'll have to pry my divs from my cold dead hands!
She was a manager of a website for a PBS Station.
Convinced our architect to use the code analysis rules I wrote = winning
18:42
The person who made the JSON/javascript shorthand comment, she was our 'javascript expert'.
Both of those people are no longer with us. We canned them at first opportunity.
Actually, now that I'm parsing that statement, I think I see what she was saying.
365
Q: What's your most controversial programming opinion?

Jon SkeetThis is definitely subjective, but I'd like to try to avoid it becoming argumentative. I think it could be an interesting question if people treat it appropriately. The idea for this question came from the comment thread from my answer to the "What are five things you hate about your favorite la...

She didn't say "shorthand for javascript."
@Billdr No. Javascript Shortand.
It's a way of talking about an object that can be understood between different languages, like shorthand is a way of talking about something between spoken and written word.
It's a crap analogy, but it isn't the worst thing I've ever heard.
18:45
No, she meant it was javascript shorthand as in it was a library that you could use to not type as much javascript.
That'd be shorthand for javascript
So not only is she an idiot, she's poorly spoken.
Anyway, my javascript issue just keeps pushing itself further down my data flow. I need to get home and edumacate Lews. See you post commute!
._. Define: edumacate
Educate.
Educate
Spoken as if you were a redneck.
Or someone who was uneducated.
18:47
(logging my hours)
Can't it be both?
I don't think they're mutually exclusive stereotypes.
Really, I'm leaning into the "uneducated" connotation. It'll be the blind leading the blind.
LOAD TIMECARD SITE!
Dumb question: Has anyone used an imaginary number in programming? What happens when you Math.sqrt(-1)?
18:49
same thing as /0
except with different wording
I always imagine a squirt gun when someone says sqrt...
That must make calculus apps difficult to program.
Wolfram Alpha comes to mind.
@SpencerCole I use Math.* instead of loading the Calculator (my browser is always already open)
Lua has math.huge how cool is that. a variable to define infinity
@SpencerCole I think of Q3's fast inv sqrt()
18:52
@Billdr It should fail, but you can use the Complex type.
More specifically, NaN.
NaN freaks me out...
Yey, my visual studio is really slow on my aspx page and I can barely do any css test :D Someone is not working today.
lol
lol excuses.
about complex numbers
C declares a _Complex type
18:53
Restart VS :p
that's exactly a complex number
@KendallFrey i'm going to borrow your brain for a minute - where do I continue from here if the application builds fine and no errors publishing with ClickOnce.... however "ApplicationName as stopped working" as soon as I try to execute it.
@KendallFrey C# has NaN?
@Billdr Why of course
jinkies! I just never ran into it.
18:54
it's not c# that has NaN
@Billdr Actually, IEEE has NaN.
NaN is part of IEEE 754 floating point numbers
Array(8).join(parseInt('')) + ' Batman!';
@robjb Yep, already did, I know what it is and I'm not going to fix it :D Not my job. :D Feels good to be an ahole to other aholes
it's IEEE-754 that has them
dammit Kendall beat me to it
18:55
@rlemon Debugger?
there are like 16 million different NaN values actually
It's okay @zneak, I did a google search off yours.
I feel ignored :(
jk,jk
@Billdr To calculate that, use Complex.Sqrt(-1);
@robjb ignored.
18:56
@KendallFrey and that'd give you an imaginary? Cool
@zneak But bit-equal ones are still not equal.
yeah
@Billdr It would. Strange thing is that it doesn't give exactly i.
@KendallFrey Erm. Then it's broken.
i used phalanger to create a library from a few php classes i have. I added the .dll output to my project now how do I use the methods in that class? anyone?
18:57
Hmm
It returns a value within the acceptable precision.
i=sqrt(-1) unless I got screwed in calculus.
I asked this question some time ago on math.sx
ugh. I'm going to assume this is an issue of me 'downgrading' mid project. time to start fresh.... hope my CTRL+C CTRL+V is warmed up.
6
Q: Is the square root of a negative number defined?

zneakI have been in a debate over 9gag with this new comic: "The Origins" And I thought, "haha, that's funny, because I know $i = \sqrt{-1}$". And then, this comment cast a doubt: There is no such thing as sqrt(-1). The square root function is only defined for positive numbers. Sorry... Th...

18:57
What is "exactly i" anyhow?
see above, @robjb
I just explained it Rob.
Math.sqrt(-shit)^2
read the first answer, it's a pretty awesome one
18:58
I know what the mathematical definition of i is, lol
i is what you use in for loops!
But how can a representation of i be inexact? It isn't a real number.
<not a mathematician>
i is not a real number
I'm aware of that.
18:58
however i is always multiplied by a real coefficient
and that's the imaginary part of the number
and Barney always had real children around him. doesn't make him any more real than i
so if you have 4 + 3i, you just have 3 as the imaginary part
Okay, let me reiterate, I understand the math
and 4 as the real part
It's useful for charting really obnoxious patterns.
18:59
I failed algebra in high school.
and a complex number is just a struct that has two real fields
3 mins ago, by Kendall Frey
@Billdr It would. Strange thing is that it doesn't give exactly i.
It's a place holder that lets your formula think "What if...."
So wth does it give?
oooh
19:00
imagine a straight line from -infinity to infinity
Math.min() < Math.max(); //false
He wants the value returned by Complex.sqrt(-1)
you can have dots that match any real on that line
now make another axis perpendicular to that one
It returns (6.12303176911189E-17, 1)
KF FTW.
19:01
and any value you put on that perpendicular axis is the i coefficient
Now, how many digits does math.pi return?
for( var start = -1/0, end = 1/0; start < end; start ++ ){
 Draw.StraightLine();
}
you know what blew my mind recently
I've made a clone of graph wars in objective-c
A shotgun, you damn zombie.
and I needed a way to make adaptive sampling for functions
to fix some weird bugs
(the program draws user-input mathematical functions, like sin(4x))
19:03
okay, the beancounter app is up and running again, and my hours are logged. G'day sirs!
bye Bill
@Billdr hey
See you in how many hrs?
so to have adaptive sampling I implemented the derivation of these arbitrary functions to be able to estimate arc length
and when I read about it on wikipedia
there was a paragraph about fractal lines
and those have an INFINITE ARC LENGTH for ANY SEGMENT
Yes, I can see how that blew your mind.. mine is already blown into smithereens.
@zneak verrrrry interesting. o_0 link?
19:06
I have three php classes from a vendor. Basically handling the login features of their api, and the encryption behind the login. The site Im trying to create would use these three classes, what is the best way for me to dev if I want to do it in ASP.NET?
i have tried to convert the classes using phalanger but that doesnt seem to be working
SOB.... closed my music tab by accident
I use spotify. Nothing can close spotify!
@rlemon right-click reopen cloed tab???
19:08
@owengerig doesn't start my playlist where I was ... I mean.. of course I can... but i'm lazy you see. hence the deskjob
Manual Labor? hah I don't do things.
ok I'm just giving up and re-writing this entire application.
fighting with VS is just a PITA
@rlemon Fighting with VS?
@SpencerCole I write code, Some of which works!
5
19:10
@rlemon Yeah. Yeah. Me too.
@robjb project written in VS2008 ported to 2010, then again to 2012. nothing is working as expected. time for a re-write (things build, but when you actually try to deploy them nothing works)
Eek
the bulk of the code was implementing my modbus rtu communication .... crosses fingers I can re-use most of that code.
Yea I'm not too fond of the conversion wizard, has produced weirdness for me as well
my favorite so far....
Oct 2 at 19:59, by rlemon
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========



Error	1	Cannot publish because a project failed to build.
o_O .... twitch... twitch
19:13
Lol
Lul.
My favorite thing is "Awesome, it works, time to go show my boss!" aaaaaand it's broke.
BindingExpression bindingExpression = (BindingExpression) BindingOperations.SetBinding(this, UnitValueProperty, _binding);
bindingExpression is null after this but no exception, where to start looking?
"No, no, it worked like 5 seconds ago. Give me a second to make it work. Hold on." as he walks away.
@JohanLarsson The cast isn't the problem if that's what you are thinking. But I am not familiar with the workings of SetBinding.
0
Q: Why is .NET's Complex type broken?

Kendall FreyI was astounded to find that the System.Numerics.Complex data type in .NET doesn't yield mathematically accurate results. Complex.Sqrt(-1) != Complex.ImaginaryOne Now I realize that floating point arithmetic will lead to results like this sometimes, but usually using integers will avoid roundi...

19:17
@LewsTherin No the cast should be fine or throw
public static BindingExpressionBase SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding)
{
if (target == null)
throw new ArgumentNullException("target");
if (dp == null)
throw new ArgumentNullException("dp");
if (binding == null)
throw new ArgumentNullException("binding");
BindingExpressionBase bindingExpression = binding.CreateBindingExpression(target, dp);
target.SetValue(dp, (object) bindingExpression);
return bindingExpression;
}
@KendallFrey Bastard lol
I beat Jon Skeet to answer! :P
If he even answers.
He's going to answer, and SO will accept his answer by default.
I'm so glad SO added a feature for when writing the question leads to the answer.
If he does answer, I'm gonna accept my own out of spite.
Assuming that his answer isn't way better than mine.
Which of course is not a valid assumption.
@KendallFrey using the "answer your own question before you post your question" feature doesn't count as "beating" Mr. Skeet.
19:20
Accept yours, and edit it to say "Yeah Jon Skeet, how does that feel? How does that feel?"
@KyleTrauberman Yes it does.
no it doesn't
you didn't give him a fair chance to beat you
I don't care how unfair it is, he could still win.
Seeing as Jon Skeet answers 1 second faster than the fastest answer, is it really unfair to him?
try {
   Beating();
} finally {
   Accept(System.Generic.AcceptanceLevels.Defeat);
}
3
19:23
Lol
Guys I've got a quick question. I've got an MVC application and I would like to give the user the oppertunity to load in a file.. the client (mvc app) should read some lines and put some files in objects. When it's done it should send these objects threw a WCF service. Everything has to happen in-memory, since the file has to be on the PC of the user and shouldn't be 'downloaded/uploaded' onto the server. What stream should I use?
I dislike ASP... just gonna throw that out there.
icwudidthr
@Mittchel you're not going to be able to avoid uploading the file to the server.
@KyleTrauberman weird, my teacher said I should and he realised it lol
19:28
@rlemon This reference, I get it.
@Mittchel depending on the file you can have the client parse it
but they have to select it
Yes that's my goal @rlemon
They should 'browse' to the file
19:30
only will work on modern browsers
@rlemon Some people just...
dunno if IE9 support it
tbh I don't test for IE. I use code that should work in IE8 but if it doesn't its crappy MSs fault and not mine.. I code to standards.
haha
@KendallFrey I want to make my gravatar the body for your display pic. then I can make sure i'm always 15 people behind you in the conversation... gravatception
@rlemon That is... odd? creepy?
19:33
lol
Flattering.
Or that?
We need one for @Kyle, too.
hrmm. let me see if I can make a small demo
And many more...
19:34
YOU GUYS NEED CODE TO CODE, CAUSE IT'S GETTING WEIRD!
I need code to code code
Me, I'm fighting Henk Holterman.
Yeah, ha ha
wtf =/ .net 4.5 has the f'ing override I am looking for msdn.microsoft.com/en-us/library/…
19:37
@rlemon sorry I failed. I'm ABLE to upload the file and hold it.. but I'm not able to actually SAVE the file.
I modified Killit to turn the image into a body. Now to just fix the proportions
So IO will work then?
@rlemon I.. what... THAT MAY BE THE BEST IDEA I'VE SEEN!
GAW that's scary.
@SpencerCole Apple will sue
19:39
@rlemon Too many rounded corners.
ugh... Javascript...
user image
2
@KyleTrauberman whats the deal bro? :)
I love the ol'JS
@rlemon me likee
@rlemon nothing in particular, just trying to switch paradigms and its giving me a headache
lol same
JS => c#
19:43
i'm assuming you are going in the other direction
@AndréSilva js (to) c#. there is no comparison because they cannot be compared.
I answered before I saw you editted.
@KyleTrauberman well here is the deal; i'll be your ECMAjunkie and you can be my c# guru
deal!
I can guarantee that I'm doing something wrong
but at this point, I don't care
it works
I tried to OOify my JS
How hard is it to learn Node.js?
19:47
Not very.
if you know js, you're 90% of the way there
I imagine
yeah, node is very straightforward
Javascript on server and client is also a really interesting way to work
Can you use Node.js as a web service?
Yeah, you can write services in node
19:55
I was thinking of using Glassfish or Apache Axis2
Looks like Node.js may better.
If I need something available in .net 4.5, and I am stuck in .net 4, what can I do?
I find it very very fast to put together my services and there is a HUGE community for node
@TravisJ build it?
If I build it, will they come?
@karbon Thanks!
Building it requires me copy pasting 500 lines of code, changing one line, and the adding it to my project.
19:58
node.js is a lot easier to use now than it was ~1 year ago
libraries and things have all settled down .
Doesn't that seem like bad practice?
@LewsTherin no problem. I hope you have fun with node. I am really enjoying it.
@TravisJ Not until you do it twice.
@KendallFrey - Not sure if serious?
@karbon I'll be honest, I use node.js for more build scripts / tools and utilities people have created - then I sit behind my LAMP and cry.
19:59
@LewsTherin Sorry I'm late. You up for some setup?

« first day (724 days earlier)      last day (4449 days later) »