« first day (2693 days earlier)      last day (2271 days later) » 

2:00 PM
you make a huge neasted if, if all possible variations and a huge big Expression
 
@HéctorÁlvarez are you registering the button click before or after the page has finished loading?
 
@Zorkind That sounds awful. Just add each .Where to the queryable to narrow down for each additional component.
 
@RoelvanUden i know right?
i said that, they said, no, you do it this way. :-(
 
Who said that?
 
so i have to do a bunch of extra useless coding.
another programmer that decided to call the shots and my boss accepted it
so i have my wings clipped :-(
 
2:01 PM
Is he in a formal position of being 'the boss'?
 
nope
it's complicated to explain :-p
 
Then fuck it, just do it your way. Fight it out if it ever comes to it.
 
i tried :-( almost slapped him in the face
it got ugly, but i lost.
 
No, just write the code as you see fit and check it in.
 
i did, he went there and redid it
:-(
 
2:03 PM
Great, change it back next time. See who wins in the long run
 
every time i try to do it my way, he go screaming to my boss and just redo my work
:-(
 
Alright, points for you. He's screeching autisticly, can't accept change.
When in fact, our job is change.
 
@CaptainSquirrel technically speaking, after.
 
Just improve it again whenever you work in that area.
He might learn something eventually.
 
@HéctorÁlvarez Make sure
 
2:05 PM
@CaptainSquirrel I know it's after
 
but I might me wrong, let me explain
 
Does that element exist?
 
XD
 
And/or do you have another element on your page that has the same id
 
2:05 PM
@RoelvanUden it's painful man.
 
this is some sort of SPA pattern without angular or any other frontend framework, aside from JQuery
 
I would keep that up, improving the code each time you see it. If he goes out to rant every time to do it, and he denies having a decent argument about it, just keep doing that until a point arrives where he's forced to discuss the problem with you and the boss. Then just defend your decision and point out why this is better (e.g. the translated SQL doesn't include useless verbose information and is thus better for performance).
 
@RoelvanUden but i will not take this for too long. i might just go and fuck it. why should i work for a company that accepts this :-\
 
so the problem is when the page is loaded it technically didn't load, I just copied another HTML body into this tag that's meant to be replaced to simulate a SPA
 
2:06 PM
Sanity always wins in the long run.
 
just a little more, and 20 GB SQL script is read into database in 1 GB batches
 
not sure i understand
 
@RoelvanUden problem is, there's no other programmer to see what's the best.
 
so I've been assuming the problem is what you just pointed out for the past hour, because when I paste the functions that load the Click events, it works
 
@RoelvanUden so it's a fight about who sells better
 
2:07 PM
yah
So
when you load the page, you need to do all the click events for that page
 
@RoelvanUden i am a programmer not a fish sales person XD
 
if I bind it to the form onsubmit it works if I click twice
 
@Zorkind This is one colleague. There will always be idiots anywhere you work. That's a fact of life. Your boss doesn't understand programming, and can't really judge on it. It's up to you to educate your colleagues if necessary.
 
I.E. Having this on your page that is being loaded
$(function() {
	$("#buttonReset").click(LoadPageResetPassword);
});
 
If it's a style preference, you're doing to lose. You must have convincing arguments why it's better to do it this way. Benchmark it, etc.
 
2:08 PM
@RoelvanUden i know, i tried to talk him into it, but he just wont accept.
@RoelvanUden well repeating code, is not like performance issue.
 
@Zorkind Read what I said again, you want to force the point with your boss. If this colleague is a little butt-hurt child he'll need the confirmation of bossman that he's a dick and he should suck it up.
 
@CaptainSquirrel I would assume this equals "window.onload"?
 
basically yeah
 
well then that won't work
 
@RoelvanUden XD
 
2:09 PM
@Zorkind That's purely stylistic, so it's your preference vs his. That's not convincing.
 
because there's no page loading
 
So why are you doing a click event if the page hasn't loaded
 
@RoelvanUden yeah :-\
@RoelvanUden i am fucked
 
as I said, content is copy-pasted to simulate SPA behavior
 
Ah, i missed that bit
 
2:09 PM
it only loads once, then replaces content
all the time
like a hacky hacker
like a nut inside a nut
 
When you replace the content, do your click event then
 
@CaptainSquirrel not that byte? ( ͡° ͜ʖ ͡°)
 
I think that should work
 
I do, but apparently it is too fast
let me paste some code
 
setTimeout(function() {
	//click event
}, 1000);
Kappa
 
2:11 PM
@Zorkind Eh, to be honest, you'll just have to suck up this one. We can discuss style preference endlessly and we'll never agree on everything. Just try to be consistent.
 
function LoadPageResetPassword() {

    $.get('BLAH BLAH PATH TO SOME HTML FILE', function (data) {
        $('#REPLACE_ME').html(data);
    });
    enableResetPasswordButtons();
}
 
@RoelvanUden yeah :-\
 
dammit, meeting
 
function LoadPageResetPassword() {
    $.get('BLAH BLAH PATH TO SOME HTML FILE', function (data) {
        $('#REPLACE_ME').html(data);
      	enableResetPasswordButtons();
    });
}
 
I have to be consistent with m_Foo naming convention with private fields :(
 
@CaptainSquirrel my god, that worked...
cries in spanish
 
Yah, cuz you needed to do it when you replaced the data :P
 
I have to expect all my code to be auto formatted by an inconsistent formatter.
 
:-p
 
2:14 PM
I do not understand
inconsistent formatter?
 
we are all beaten into acceptance of bad coding :-(
 
its not even that
we start writing bad code because we have to do stupid shit to get what the users want
Because a user doesn't know what they want until you give them what they asked for
and they go "but can it do this"
 
that too, but under the hood bad coding, is beaten into us.
 
Yeah. Some colleagues occasionally run their 'auto format' code tools which re-formats all C# code according to their settings. Their settings. Sometimes I come back to my previously-beautiful code only to witness an unbearable and unreadable mess.
 
rollback to previous commit -> recommit the format -> tell colleague to fuck off when they complain
 
2:16 PM
@RoelvanUden i know right?
at least we don't have that here
 
@CaptainSquirrel If that's the only change in the commit, sure, but man, monster commits.
 
@RoelvanUden i know the feeling.
impossible to fight this out
 
I was thinking about that a lot. But the solution would be to share a COMMON resharper/whatever configuration, and pre commit hooks run that reformatting.
 
Yeah, I gave up. I take comfort in the fact that my personal projects code won't become shitty all of a sudden.
 
2:18 PM
At least you have an excuse that you can't touch your old code because some moron has reformated it
 
I recently spent an entire day making code readable again.
Talk about efficiency.
 
@RoelvanUden yeah wen i get home and have the pleasure of coding on my own projects it's like an elixir for me
 
@Zorkind Exactly. :-)
 
@RoelvanUden coder porn :-p
 
@RoelvanUden editor config and an agreed upon style
That said people are constantly shitting up our sprocs with tabs by editing them in SSMS.
 
2:20 PM
People, man. Dogs are better. Humans are shite.
 
@MikeTheLiar i had that issue with tabs too in the past
 
Cats > Dogs
Dogs > Humans
 
Cats >>> Dogs
 
wolfs o/
 
!!giphy people what a bunch of bastards
 
@MikeTheLiar why are you shifting a cat to a dog?
 
I like both cats and dogs. Why must one be better than the other? >_<
 
!!giphy jen breakes the internet
 
@RoelvanUden agreed
i like felines in general
 
2:21 PM
Cats are amaze balls
 
@RoelvanUden because c# > java
 
Until they decide to not come home :/
!!giphy im going on an adventure
 
I want a cat. I have a dog, and she's great, but I want a cat too :-)
 
cats are bell ends
 
2:22 PM
@Harry clearly you have not experienced a good kitty
 
@CaptainSquirrel or they come home pregnant
 
@Zorkind Spaying works well for that
 
i hate cats
 
:-p
 
2:22 PM
Still got that tab open
 
cats are for old lonely women
 
Okay, let me just say this: I fucking hate cats that roam around the neighborhood shitting in my fucking garden.
@Squirrelintraining Such cuties! You still have that :-D
 
@Harry don't forget lgbt people, nothing against them o/
 
@RoelvanUden Si claro
 
@RoelvanUden XD
@RoelvanUden i hate cat's making sex in the street at night, not letting me sleep ^_^
@RoelvanUden i scream like "go fuck somewhere else"
xD
 
2:24 PM
I also freely admit I've set my dog loose on the cat that shits in my garden.
 
so. I need a dog fan, and a cat fan facing off. They will decide which is better with>
 
@RoelvanUden my dog would look at me and say "what's that that you want me to do again? o.O"
 
@Zorkind Haha mine got the instinct. What breed is your doggie?
!!> (Math.random() >= 0.5 ? 'Cats' : 'Dogs') + ' are better!'
 
@RoelvanUden "Cats are better"
 
:D
 
2:26 PM
@RoelvanUden it's that small german long one, forgot the name
 
@RoelvanUden "Dogs are better!"
 
Look at this cutie
 
@RoelvanUden good was to put it
@Zorkind dackel?
They are fucking ugly
 
@Squirrelintraining dashhound
or something
 
@CaptainSquirrel i want to burry my face in the belly * - *
 
2:27 PM
Honestly, She'd probably let you do it
Only cat i know that actively wants belly rubs
 
@Zorkind windhund?
@CaptainSquirrel kek, my cat just wants me to chase her around the flat when i come home.
 
@CaptainSquirrel my cat does, too. I think it's a comfort thing. They have to really trust you.
 
Good fun but when she gets you with her claws it hursts
 
dachshund
!!urban dachshund
 
Man i get to see both my SO's cats tomorrow
 
2:28 PM
@Zorkind Dachshund Pronounced dak-sun(s), Dachshunds are a small breed of dog that sometimes are known in vernacular as wiener dogs, sausage dogs or hot dogs because their bodies are long and their legs are short and muscular. They used to be known as "badger dogs" for they hunted back in Germany before they were exported to other countries. Variations of Dachshunds include them being either shorthaired, wirehaired,(snip)
 
so excited
We are going to cat sit for a week
 
@CapricaSix damm Cap, wtf o.O
 
Is it time for cat pictures?
 
Oh. I'm not too fond of this breed. @Zorkind I'm sure he/she's still very nice though!
 
2:28 PM
@CapricaSix i thought she would show pictures :-(
 
@CaptainSquirrel aboutSO Cats?
 
@RoelvanUden yeah :-p
 
it's a sausage dog :-p
 
2:29 PM
@Zorkind yeah a dackel al right
 
@Squirrelintraining never heard that name :-(
 
@CaptainSquirrel that siam!
 
!!wiki dackel
 
2:30 PM
siam?
wot @Squirrelintraining
 
Okay, I'm done.
 
@CaptainSquirrel The long haired siamese cat left
 
She's not siamese lmao
 
'ts a fake siam ? :o
 
i showed you my cat pls respond
 
2:30 PM
she's part siam
i think
 
Counts
Called it
 
Anyone got a Ragdoll? :D
 
@RoelvanUden see every picture i've been posting
both of them are part ragdoll/ragamuffin
 
that is a long haired siamese
 
2:31 PM
Yeah, that looks about right
 
@CaptainSquirrel You filthy little half-breed!
@CaptainSquirrel I mean, cuties!
 
!!giphy inuyasha
 
Both of them like cuddles
 
2:32 PM
but only when they want cuddles
 
@CaptainSquirrel I really like ragdolls :-D
 
ragdolls are cuuuuuuuuuuuuuuuuuuute
 
when it comes to cats, FFXIV is the best :-p
cat people i mean
 
Fucking furries.
Admittedly, I had a cat-girl as character in FFXIV
 
@RoelvanUden :-p
japanese people love that kind of thing.
 
2:34 PM
o/, I've been making a C# windows app which creates a wave form out of samples, is there a built in audio object which can be given samples, samplerate etc. in order to play the sound or is it easier to write it to a wav file and then play the wav file with SoundPlayer?
 
wait, WPF or windows form?
 
WinForm
 
cause, 2 diff beasts.
oh ok
 
!!tell nicka winform
 
@nicka Are you high?
 
2:36 PM
XD
i would deff go to WPF for that kind of stuff
more POWER
 
Don't underestimate my POWER!
 
@CapricaSix I don't even know what WPF is, I see it in VS then pick winform
 
@Zorkind So do I!
 
@NickA D:
 
@RoelvanUden my cat is either a ragdoll or a ragamuffin, we're not sure.
 
2:36 PM
^^
 
@Zorkind Teach me, give me the POWER
 
@NickA FYI: Cap is a bot, the command !!winform produces the "Are you high" text
 
@NickA sorry man, i can't be your sensei :-(
 
Ye, thats Roels job!
 
@Zorkind But you recommend WPF instead
 
2:37 PM
I'm having some trouble adding an EF model to my project. I do right click on project -> Add -> New Item -> Data -> ADO.NET Entity Data Model -> EF Designer from database. In the Entity Data Model Wizard, I choose my data connection; the "test connection" button indicates success. I click "Next", VS churns for thirty seconds, and... The wizard disappears. No message box, no error messages in the output window.
 
@NickA yeah because i am a WPF paddawan myself O:
 
yesterday, by Squiggle
try it
 
why people like using the auto-magic way to use EF all the time? :-(
 
Questions:
1) Assuming an error is occurring, how can I convince VS to let me see it?
2) Could I add EF to the project without using the wizard? How hard is it to do that?
 
perhaps i like coding too much -_- to a fault
 
2:39 PM
@Zorkind It's because I'm dumb and don't know how to do it, primarily.
 
@Zorkind Eh, no, it's usually beginners.
And then there is @Kevin
 
when you said "i do right click on project -> add" i stopped reading XD
:-D
 
@Kevin Does your DB contain a LOT of tables?
 
Ok, so what I'm hearing is "there's no secret hidden magic that can only be accomplished via the wizard; you can get precisely the same results by adding plain old files and directories yourself"
@RoelvanUden Yes, but I only care about one of them.
 
It depends really. The wizard/magic can generate a visual context file.
You can't really get one of those without the wizard.
If you just want to map that one table, you can do a code-first approach and write out the POCO for that table alone.
And leave it at that :)
 
2:41 PM
I like text over boxes-and-arrows anyway.
 
TFW our production server can't be pinged nor can it ping
\o/
 
@CaptainSquirrel kek
Let's call it a day eh?
 
!!giphy that is not my job
 
Wait a second, I got so caught up after being asked if I was high that I never got an answer to my question!, how do I play a audio from a bunch of samples
 
2:42 PM
@NickA kek
Welcome to the C# room!
 
@NickA XD
 
This is why I hide away in SOCVR saying nothing >.<
 
if such a controler exists in winform, it would probably be a paid third party one :-)
so, google it out man.
 
I did, I got a whole bunch of SO posts about how to play a wav file... damn SEO
 
i am sure it exists tho, too many sound professionals use software made in winform, so you prob going to find something.
 
2:44 PM
 
you need to better your searching skills XD
 
that was my cat. It was so wild, that had to gift it to someone when the baby came
 
awe that sucks
 
@HéctorÁlvarez dynamic is king all hail dynamic
 
@RudiVisser No thanks, I prefer intellisense actually working.
I'm too lazy
 
2:48 PM
bbl guys o/
thanks for leting me vent a tad of my frustrations.
sholder tap worked o/
 
One of the older projects here uses EF... I guess I'll just kind of, copy-paste all the relevant looking files into my new project and hope that works. just grep for "EF" and take everything that matches.
 
@RoelvanUden thanks man <3
 
I see no problems whatsoever with this plan
 
Haha no problem
 
^_^
o7
 
2:49 PM
@HéctorÁlvarez Your loss. The Dynamic Language Runtime is proven to be at least 6.2x faster than the .NET Framework's static typing by science
 
@RudiVisser what.
 
@RudiVisser where?
how?
 
I never said it was good science
 
!!giphy SCIENCE!
 
2:51 PM
!!giphy rick
 
!!giphy weebl science
 
Thats not my rick..
 
pls be the gif i want
 
2:51 PM
!!giphy pickle rick
 
Mr poopy butthole!
 
What the crud
I didn't want him!
 
lmao the pizza
 
@RudiVisser I'll have you know 32% of people invent their statistic facts.
 
2:53 PM
AI may have solved go, chess, and poker, but memes are the exclusive purview of humans
 
@HéctorÁlvarez Yeah but only when using % figures, I used a x figure
 
The cutie, a little larger.
 
@Kevin relevant_xkcd.png
 
@Kevin pun intended?
@RoelvanUden She has grown!
 
2:54 PM
@Kevin inspirobot.me nope
 
. thats a dog
 
Not just any dog
It's sama senpais dog
 
kms
 
@KendallFrey Like all AI pundits, allow me to move the goalposts. That's not true memery!
 
2:55 PM
@Squirrelintraining Still so damn cute <3
 
@Kevin ooh, two fallacies for the price of one!
 
 

« first day (2693 days earlier)      last day (2271 days later) »