« first day (2040 days earlier)      last day (2910 days later) » 

7:01 PM
@OmegaExtern first one is, second one can be created multiple times, but only one will remain alive
 
user47589
apparently a RequiredFieldValidator does not consider a disabled-but-valid field to be valid.
 
user47589
if i set enabled=true, it validates correctly.
 
user47589
this is useless.
 
user47589
i hate webforms
 
user47589
worse, it says its invalid, but the form submits anyway
 
7:08 PM
I think browsers shouldn't send disabled field values in the request
 
Is there any way to determine if I have a Java application before I go uninstalling Java? I would dearly love to kill the crap out of it. Forever.
 
user47589
do you have any applications with a UI that looks like it was made in the 90s?
 
@Sidney just uninstall it and find out, you'll need it for any Android dev stuff of course.
 
XD
 
user47589
search your computer for .JAR and .JNLP files
 
7:11 PM
who is webforms in 2016
just walk away from life right now
 
@misha130 who is webforms?
 
user47589
walk away from life and toward... death
 
Nope, I think Dell just naively slapped it on my computer thinking I might need it. They also gave me adobe reader.
 
a physical representation of webforms obviously
 
7:12 PM
Anyone know how to customize where Visual Studio 2015 decides what code patterns need "fixing"? For example, I prefer to use "String.Format" or "String.IsNullOrWhiteSpace" rather than the lowercase "string.Format" etc.. However, in the ide visual studio dims "String" and suggests a "fix" to change it to "string". This is annoying and I want to turn it off. Anyone know how and/or if possible?
 
with tentacles and all
 
@CuddleBunny I just threw up in my mouth
 
@Failsafe right?
 
gross man
 
I thought there was a database rollback or something when that hit my feed
 
7:12 PM
I mean the gulp
 
user47589
@Jakotheshadows with resharper? or without?
 
no resharper, just vanilla VS2015
well, maybe not vanilla... I have at least the first update I think
yeah I'm at Update 2
 
user47589
not sure, i dont have 2015 on my work pc yet
 
resharper tells you to convert string to var
 
misha, that doesn't apply here
 
user47589
7:14 PM
@misha130 this isn't a variable declaration
 
yea I should learn to read
:^)
 
18
Q: Visual Studio 2015 - Code style settings

NexithIn the new Visual Studio 2015 I get the following "Name can be simplified" quick action. I prefer using String over string when using the static methods of the String class because gives a better overview. I have looked for an option to customize this under: TOOLS -> Options -> Text Editor -> ...

 
@Jakotheshadows Yes it is possible with ReSharper. However with VS2015.2, I think you'll have to make your own analyzer see Project -> References, in there you see Analyzer which is new, you go to Add analyzer...
 
user47589
he said he's not using resharper
 
I figured it out
Probably the same answer that CuddleBunny found
 
user47589
7:17 PM
good to know
 
FOR SHAME
 
user47589
shame. shame. shame. ding ding
 
i foreach'd the regular way instead of doing linq foreach
 
Tools -> Options -> Text Editor -> C# -> Code Style -> UNCHECK "Prefer intrinsic predefined type keyword in member access expressions"
 
basic instinct kicked in and i failed myself
 
7:18 PM
@KendallFrey On MSDN, there are two checks for null.. So, I am wondering how does it make more sense if I check for null inside lock-statement, too?
 
user47589
you do the check twice, once outside the lock because the null check is a very fast operation and entering the lock is anything but fast. the first check might keep you from spending time on the lock unnecessarily. you need the second null check inside the lock to actually avoid a race condition
 
user47589
You can use just the single lock if you want. It's no less correct. Just potentially slower.
 
why isnt foreach part of IEnumerable
 
it is, do you mean ForEach?
 
.ForEach()
 
7:24 PM
its an extension
 
Extension to List<T>
but it could be so much more
 
because IEnumerable is a pure abstraction
ForEach is explicitly impure
why would you want to use it though?
you have foreach
 
because LINQ IS GLORIOUS
 
it's not LINQ though
so
 
oh..
 
7:26 PM
> pure
 
Current mandate from business is loony-toons. What do?
 
get a womandate
 
loony toons is bad?
 
user47589
where are you going to find one of those
 
loony toons sounds fun
 
7:28 PM
@KendallFrey I'm married. I'm lucky to get any kind of date at all.
 
I'm having a very frustrating problem. Im using MVC, code first database to create my project. I spent ages fixing this problem but everytime I close my project It comes back for NO reason I can see!! After I restart visual studio and run the project again, this error comes up, wasn't there before!

Value cannot be null.
Parameter name: address
 
IEnumerable<T> 💩<T> (this IEnumerable<T> 💩, Action<T> 💩)
{
    foreach (var 💩 in 💩)
    {
        action(💩);
        yield return 💩;
    }
}
that's what i think
/s
 
@Amy What if I move return inside lock, any side-effects from that?
 
whats the point of Poop
its just T
 
im making it impure by shitting on it
 
7:32 PM
@Failsafe LINQ is not supposed to cause side effects
 
user47589
@OmegaExtern no i dont think so. it'll exit the lock as it would otherwise.
 
@TravisJ I'm gonna write my own LINQ with .Blackjack() and .Hookers()
 
user47589
I want to invest.
 
I'd use it
 
user47589
take my money
 
user47589
7:33 PM
but leave out the linq.
 
user47589
omg is 💩 a valid symbol name in C#?
 
@Failsafe I wrote my own LINQ once
 
user47589
i am so using this
 
in JS
 
7:34 PM
@Amy yea probably
it's unicode
 
Patched
 
 public class 💩 : Exception
 
@Amy Ok, then I can do it using null-coalescing operator :P
 
 throw new 💩();
 
blah
 
7:36 PM
public class monkey?
 
I have to write all kinds of crazy one time servicing job code to do something that would take me like 10 minutes to do manually
 
Why would my email service suddenly stop working after restarting VisualStudio?
 
people writing unicode symbols as class names is the most hipster thing I have seen in my life
and it starts today
 
throw new ಠ_ಠ();
 
I am still using that
 
7:37 PM
@Amy look of disapproval is too
 
just lenny face all your code
 
i am waiting for somebody to find it
 
It's a shame "¯\_(ツ)_/¯" doesn't work, that would be the out of memory exception.
 
here you forgot this \
 
Why would my email service suddenly stop working after restarting VisualStudio?
 
user47589
7:39 PM
How would we know?
 
Idk you should probably ask it again in 5 seconds without giving any more detail
 
user47589
5 second rule?
 
Excuse me for being point blank ignored for a better topic..
 
@AndreQueen is it running on IIS express?
Beyond that IHNFI
 
user47589
You aren't being ignored for a better topic.
 
user47589
7:41 PM
Two of us directly responded to your query.
 
your smtp server is down
100%
i hacked it
 
Did you try turning it off and never turning it back on again?
 
telnet <yoursmtpserver> 25 does it answer
 
user47589
Make that 5 of us.
 
telnet @Amy 25
 
user47589
7:43 PM
@AndreQueen We cannot answer your question without at least some details. This isn't something we could possibly know. We know nothing about your email service, how it runs, how its built, what machine it runs on, or how its possibly related to VS.
 
does it beep and boop on response?
 
I'm afraid it only beep beeps
 
oh my
 
user47589
beep beep means it's considering killing all humans.
 
never had VS email me :(
 
user47589
7:44 PM
unless its beep beep beep
 
We need the machine that goes "ping"
And if it's "beep...beep....beep" then it's backing up.
 
"The Sounds of Dial-up" Coming Soon
 
user47589
Nothing relaxes me as much as a 56.6k modem's handshake
 
@Amy You have problems
 
user47589
:D
 
7:46 PM
I got 99 problems but a sane project schedule ain't one
 
Are the 99 problems budget related
 
@Failsafe we can acquire those problems down the road
 
Nice
that was 99/99
 
user47589
I give it 9.5/10
 
warm it up exe that's a 10
 
user47589
7:48 PM
I take off half a point for not using proper capitalization.
 
Here's what I posted in the Slack chat:
> So to recap - we have roughly 9 sprints to rewrite large parts of the application, on a new stack, with a new architecture (including watertight or least minimally leaky devops), with 3 people, and 0 budget. Not to be overly pessimistic but are alarm bells ringing for anyone else?
 
I like hanging out in here, you guys give me lots of criteria to ask about / filter on when doing job interviews, such as "how do you manage projects, what qualifies someone in your organization to manage projects" etc.
 
@Jakotheshadows You have to take what we say with a grain of salt because most of us are jaded as fuck
 
user47589
Speak for yourself.
 
Also salty.
 
user47589
7:49 PM
Yes, we're all salty.
 
thats because you're all pirates
 
user47589
arrrrrrrrrrrrrr
 
Also according to @mikeTheLiar's company doing absolutely nothing qualifies someone in your organization to manage projects
 
Right, this is why I think it is a good question to ask a company during an interview. After all, I'm interviewing them as well to see if I want to actually work with them lol
 
user47589
yup
 
7:51 PM
@Amy not to be confused with arrrrgv and arrrrrgc
 
user47589
the interview goes both ways
 
user47589
@mikeTheLiar of course, of course
 
if they hem and haw on it at all, I know I probably want to avoid them
 
@Amy You'd think I'd like interviews more then.
 
well, how do I post pretty formatted code hin here
 
7:54 PM
ctrl + k
 
that was awful.
 
or go to gist.github.com
 
[HttpGet]
public ActionResult EditCommissionSchedule(int CS_ID)
{
    var model = new EditCommissionScheduleViewModel()
    {
        Schedule = ctx.GetSchedule(CS_ID),
        Tiers = ctx.GetScheduleTiers(CS_ID)
    };
    return View(model);
}

[HttpPost]
public ActionResult PushScheduleTier(int CS_ID, decimal newTierMin)
{
    try
    {
        if (ctx.PushScheduleTier(CS_ID, newTierMin) == 0)
            ModelState.AddModelError("CS_ID", "No rows affected!");
    }
    catch(Exception ex)
    {
 
link on the sidebar
so what's your question
 
If I add model errors as shown in PushScheduleTier
will they show up in the EditCommissionSchedule view when I return it?
Or will it not work because the two actions have "different models"
 
7:56 PM
Does App.config become "MyExecutableName.Exe.Config"?
 
yes ^
 
I love how some things can be so simplehard.
 
@Jakotheshadows Why don't you try it
 
@Failsafe I will when I get to that point, but I'm still a ways off from that point. I haven't made any of my views yet
just trying to think ahead a little bit, but maybe its too soon to worry about that lol
 
//DO NOT DELETE THE METHOD BELOW.
I'm about to delete it
 
8:01 PM
DO IT!
 
it is done
 
Comment it out - Shadow of its' self
 
I would think that by the mere fact that a method exists, it should probably not be deleted by someone who doesn't know what it's for... That could just be me though.
 
user47589
take a screenshot of the method, then use that screenshot in a ASCII art generator, then paste the result in place of the method
 
Print it out and put it on a wooden table, then take a picture
 
8:05 PM
!!tell Amy Horrible
 
@Amy That's Horrible!
 
I'll put that in
 
user47589
good choice
 
also, you have the opportunity to be the first person ever to deobfuscate that
 
user47589
I'll let someone else have that honor.
 
that's what everyone else said
i haz a sad
 
Ugh. I did a FGITW on a stupid Java question. I feel dirty.
 
@KendallFrey I got as far as eval, and then said "nope"
 
how can I display a list with multiple values to a windows Form? any idea?
 
8:10 PM
a table
 
Listbox?
 
table layout Pane?

@mikeTheLiar, the listbox I think about it but I need to be able to edit and see some information.. so I need maybe 2-3 line
 
user47589
choose the appropriate control. there's a limited number to choose from
 
@Jakotheshadows, .. yeah.. I already search on google :P
 
user47589
8:12 PM
What did you find using Google, and how did it not help?
 
So are you expecting us to give you a different answer? Or are you saying there is nothing on google that answers your question
because if you're saying the latter, I disagree
there is plenty out there
 
user47589
see, when I google it, the second result is exactly what you're looking for
 
the problem is unsolveable
 
user47589
I would link it here, but you already googled anyway, so.
 
@Shoe completely impossible
 
8:14 PM
maybe you have another idea the great keywords that I searched ^^
 
thats why I threw you a lmgtfy link
give it a try
 
user47589
well I googled the same thing @Jakotheshadows proposed you google, and the second result is precisely how to show a list of things in a form.
 
there are some promising results in there
 
user47589
It's funny. People come in here asking for help, say they googled something, a basic search gives us the answer they want, we link that answer to them, and they usually thank us as its exactly what they needed. That happens 3/4 of the time.
 
ok I'll try but it is just because I have 2-3 elements in the list.
 
user47589
8:17 PM
You have a list of 2-3 items?
 
user47589
Curious. The solution I'm looking at uses a list of two items to demonstrate the answer.
 
Oh fuck me. This just keeps getting better and better. In order to decouple ourselves from MS, we're going to be moving the majority of our services to Mongo/Node/Angular.
 
user47589
wow @mikeTheLiar
 
!!headdesk
 
So uh, who's hiring?
 
@CapricaSix lol
 
items[0][1]
items[0][2]
items[0][3]
items[0][4]
 
user47589
I'm not hiring, but you can live in our attic. Can you catch mice?
 
@mikeTheLiar my condolences
 
8:19 PM
@KendallFrey it seems to be a base64 encoder, but I'm not even going to try untangling the for(I=!(__=(!(l=-~(O=($=[])+[]),x=~-(l-=~l))+O)[x]+(!O+O)[l]+(t+O)[x++]+(++x+x++‌​,e(( x= (l<<x++) +++x)),b)+(!O+O)[x-x++]+(e (x++),b),o=+O);I;I=( O+=(e (++o+(+![][+[] ]<<(l--* +l++))),b), o<=(l<<l)-~[]));
 
!!>for(I=!(__=(!(l=-~(O=($=[])+[]),x=~-(l-=~l))+O)[x]+(!O+O)[l]+(t+O)[x++]+(++x+x‌​++‌​,e(( x= (l<<x++) +++x)),b)+(!O+O)[x-x++]+(e (x++),b),o=+O);I;I=( O+=(e (++o+(+![][+[] ]<<(l--* +l++))),b), o<=(l<<l)-~[]));
 
@mikeTheLiar "SyntaxError: invalid increment operand"
 
Dun goofed.
 
user47589
u dun goophed
 
8:20 PM
Anyone else get lost in the daily wtf? This one is pretty good. thedailywtf.com/articles/It_Must_Be_Broken
 
I was once referenced on tdwtf. Highlight of my development career.
 
Ouch. Link?
 
@Sidney lol, I wasn't the wtf. I was more like a meme reference
 
> I approached Mike the Truthsayer for advice, but he told me to go squawk myself
 
user47589
ahhh. skooma
 
8:23 PM
I used to spend a good deal of time on the forums over there, so did the author of that bit.
 
they revamped their site. I used to subscribe to their RSS feed. never read anything though
 
I can't wait for tomorrow
it's like Christmas Eve back when Christmas was awesome
 
user47589
#MakeChristmasAwesomeAgain
 
user47589
I knew a guy like JJ in that story. Annoying asshole, lasted 3 weeks.
 
user47589
He lost his job because he accused me and some others of things like assault and battery, i think in a move to get rid of us so he could advance. he accused me of assaulting him in the parking lot, and another developer of vandalizing his car (his car was undamaged, btw)
 
user47589
very toxic individual
 
8:51 PM
Damn that kind of crap can fuck off
 
@Amy we know that women can't assault men, what a skrub
 
user47589
Well, it would be unusual for a woman to assault a man 3x her body weight.
 
user47589
Which was, basically, what I said to my boss.
 
To all stupid put all Panini in your ass-ault
 
user47589
I think his name was Kevin Mc-something
 
8:54 PM
McMuffin?
 
user47589
don't work with anyone named Kevin Mc*
 
@Amy Kevin McKevinface?
 
dude that's what I was thinking
 
user47589
you were thinking "yessssssssssssssssss"
 
user47589
then you thought "oh noooooooooooooooo"
 
user47589
8:55 PM
after that i dont know what you thought. the log ends there.
 
user47589
man, thinking about that guy has dropped my mood. i need a help vampire in here to kick.
 
plz this is very important to be finished ASAP but how to write program that learns from mistakes
thansk in advances for all help lovely peoples
 
user47589
I can't kick you. I like you.
 
user47589
you give me skooma
 
@mikeTheLiar like, machine learning?
 
9:02 PM
I am not understanding these large words. please to explain me
 
I found an interesting edge case with loading a css file. I had a script that was being loaded using <script src="/file.js">ish and in it, the script loads a css file by placing a link element in the head of the page. Worked fine. However, I had another script which was executing on dom ready which was calculating heights to give some fieldset elements equal heights.
 
@Amy, wasn't Kevin McNick a hacker
 
The css file, since it was loaded from the script, wasn't always done loading by the time dom ready fired and as a result the height calculations were slightly off, but only on first visit. Subsequent visits would have the css cached and load it before the dom was ready and as a result you wouldn't notice. So users didn't notice the behavior, but it showed up in testing. </story>
 
user47589
there's only one expert in here who can help you, @mikeTheLiar, but he isn't on at the moment. his name is Mr Toxy
 
Gah it's amazing how much things can go to shit in just a few hours
@Amy lol
 
9:04 PM
every time someone says "expert" I start seeing 7 red perpendicular lines
 
whats happening everyone!
so WTF do i gotta do to get rid of this could not read password message when i do git push without needing to go ssh?
 
shaped like a kitten
 
3 of them invisible
but red
 
user47589
invisible but red...
 
user47589
I think I know your problem, but I have no idea what the solution is.
 
9:06 PM
@NicolásCarlo turn off authentication?
 
If a password is required, SSH is required AFAIK
 
user47589
haha, men can't ping users with fewer than 2 letters in their name
 
If you are a man, you can no longer ping in chat, says so right there
 
user47589
suck it, boys!
 
9:07 PM
:D
 
!!tell amy lenny
 
@amy ( ͡° ͜ʖ ͡°)
 
user47589
lol
 
At any rate, I don't think user names < 3 characters are allowed any more
 
9:08 PM
@mikeTheLiar thing is i was doing it without a problem through normal command prompt, now with another tool it is fking sht up
 
Are creds stored in git config? That'd be my guess
 
So someone with the name "Ng" couldn't use their name as their username
 
@mikeTheLiar no, in command prompt it prompts for the password
 
@mikeTheLiar - First they take away my pings, then they take away my <3 for user names, what's next?!
 
At first they came for the users with < 3 characters in their username, and I said nothing because I had > 3 characters in my user name.
 
9:10 PM
As patrick henry once said "give me pings or give me death"
 
Then they came for the help vampires, and I said nothing because I was not a help vampire.
Then they came for the panini and there was no one left to speak.
 
wtf is a help vampire?
 
user47589
!!helpvampire
 
Oh you sweet summer child.
 
@Amy Information on interacting with me can be found at this page
 
9:11 PM
!!help ping
 
@OmegaExtern ping: User-taught command: <>https://www.youtube.com/watch?v=Q7kTRWW1jxw
 
The random ass users who come in here and want you to fix all their problems
 
user47589
that's a help vampire
 
user47589
i thought it was on a caprica command?
 
9:11 PM
48
Q: What is a help vampire?

RobbertI've seen several posts about help vampires, but I don't really understand what is meant by that phrase. What exactly is a help vampire?

 
user47589
they come in here, don't do anything to help themselves, and expect us to solve everything for them.
 
ah got it
 
And they're allergic to context or providing useful information
 
LOL
well before i get labeled a help vampire...lemme explain the whole thing: git for windows, installed via visual studio and used in command prompt works perfectly in the sense that when i do git push, it prompts for password, but now i'm trying to use magit (a git tool in emacs) which is giving me this stupid could not read password for the same repo using the same config...can't do ssh right now, have to use https...any idea?
 
user47589
you aren't being a help vampire.
 
9:15 PM
yeah i know, but more detail might help anyway ;), i can't seem to get anything other than "use ssh" on google, one thing i found was to add the passsword in the url, that doesn't sound like a good idea
 
user47589
I'm not familiar enough with emacs and git to provide any insight.
 
user47589
I have to use https here at work; the git protocol is blocked.
 
user47589
there's a setting somewhere to force git to make all connections through https
 
did you try turning it off, and then back on again?
that works like 99% of the time
 
@TravisJ i even tried putting it in the oven...still nothing
 
user47589
9:16 PM
Putting your computer in the oven is a good way to keep it nice and safe.
 
user47589
Bake at 300F for 15 minutes or until tender.
 
@Amy didn't know about that setting, that might be it, ima look that up, thanks
LOL
 
user47589
For a little zest, give it a blast from your spice weasel. BAM
 
Knock it up a notch.
@Amy I've actually heard stories about people saving video cards by putting them in the oven
 
user47589
what?
 
9:19 PM
From what I understand it's old solder. By warming it up you allow it to settle again and recreate connections that have failed.
 
user47589
uh huh
 
> Since the card is already out of warranty, you have nothing to lose by baking the card in the oven, right? Well it turns out that reheating your video card to a certain temperature can actually “revive it”. The logic behind the experiment is that by heating up the card, it re-melts the solder joints which can sometimes come loose over time and cause the card to artifact, display a blank screen, or sometimes even overheat.
 
that sounds awfully risky
 
9:20 PM
I didn't say it was a good idea.
 
user47589
well, if the video card is already broken, i dont see the risk
 
Other than lead and mercury in your oven?
 
pfff a little lead and mercury never hurt anyone
my macbook pro recently died because the video card is fked up. i am not putting that thing in the oven
 
@mikeTheLiar Man, you know you might have just figured what's wrong with my old computer. Whenever I turn it on, it displays a blank picture..
 
Maybe but I still don't recommend it. If you read that link it gets into why you shouldn't do it.
 
9:24 PM
I'm deep into framework classes
god help me
 
user47589
I noticed that god did not reply to your plea.
 
loves
 
God heard your request and found it wanting.
 
put some cookies in with it
2 birds 1 stone
 
user47589
yeah, god likes milk and cookies.
 
9:26 PM
God is Santa?
But Santa isn't real. You said so.
 
#fullcircle
 
user47589
no i didn't.
 
I am just trying to connect to the database and there's soooooo much overhead
 
3 hours ago, by Amy
Also, Santa Claus isn't real.
 
user47589
lies! lies and slander!
 
9:28 PM
The chat history has determined that is a lie.
 
@mikeTheLiar my 2 month old started crying when he read that
 
@Codeman, why are you in framework classes?
.net framework?
 
Two month old can read already? Impressive.
 
@Nathvi because I'm changing the framework
no, TFS framework
 
user47589
pray i dont change it any further
 
9:30 PM
O...
 
WAT?! Time to call Lobot
 
@Amy considering this is TFS, yes, change it. Change it further. Change it as much as you want.
 
user47589
time to go home. so long, plebs
 
9:31 PM
Goodnight moon.
 
9:57 PM
MRW digging around TFS framework code i.imgur.com/f0AoMPG.webm
(it's actually not that bad)
 
10:11 PM
BURNEY
 
user47589
10:25 PM
oh god, is barney still a thing
 
ha
 
10:40 PM
I love you, you love me,
Barney gave me HIV.
It started with a hug and ended on the floor,
I got raped by a dinosaur.
 
user47589
that got dark
 
just like the sky over Hiroshima as the cloud spread to block out the sun
 

« first day (2040 days earlier)      last day (2910 days later) »