« first day (1609 days earlier)      last day (3565 days later) » 

00:07
seriously considering trying to convince one of you to subcontract to fix this damned authorization problem... lol
@Pheonixblade9 - Normally I'd be interested but I have to format my desktop this weekend. I imagine it'll take up most of my time to reinstall all my software D:
I wouldn't even bother but I really really need remote desktop :P
I've gone without it for three months and I can't put it off any longer
:(
doesn't need to be this weekend, haha
just in the next week or so
YES IT DOES CODY
00:12
D:
oh you mean your project
I MEANT MY PROBLEM NOT YOURS
lol
I GOT THAT IT JUST TOOK ME A SECOND
I still have two weeks to fix it
WHY ARE WE YELLING
Because I'm blocked on everything on my project and I only have 40 minutes left at work.
00:13
ooo, SO has new style, I kinda like it
I sent all the emails I could.
hahaha if you're bored I could just grant you access to my github repo and you could review it...
or just leave early
I have been working extra hours this week. Still need sure if I'm gonna grab the extra $ or just leave early on friday.
Nah I'm too new to leave early.
Plus I'm getting paid hourly.
ah. Hahaha
soooooo
I don't have a git client D:
00:15
you can look at it on github
oh aight
mwahahaha
That works.
what's your github user?
erm... I don't have one. Hang on I'll make one.
00:16
I feel like it's something stupid
honestly
Oh I guess I do have one: CyrexCore2k
ok I added you :)
right now I'm wrestling with angular ui bootstrap's accordion :P
were you able to access?
Yeah looking through it.
kewl. thanks
I had someone review yesterday, but he just had a couple small things to say. I am concerned about overarching architecture, not just the Angular stuff
00:35
Well like I said, I'm not very familiar with roles and that seems to be at least partly where you're having an issue.
yeah.
heh
So this might be irrelevant but:
At the very least going with their approach might give you a better error message to debug?
hmm... maybe
how about... a small angular problem instead?
if you're still bored and still here. Haha
I have 5 minutes.
GO!
I'm trying to get the accordion working
It's being routed to /template/accordion rather than using the accordion directive that I've included in the bundle
<div>
    <accordion ng-show="dimensions.length > 0">
        <accordion-group ng-repeat="d in dimensions" heading="{{d.name}}">
            {{d.name}} entities
        </accordion-group>
    </accordion>
    <div ng-hide="dimensions.length > 0">
        This company has no dimensions defined.
    </div>
</div>
00:41
Show me your directive
instead of the directive, it goes and looks for the template
http://localhost:33651/template/accordion/accordion-group.html
any ideas? pretty sure I have it setup right
I know it's getting data back, I can see the API call
I don't think that's the problem though
Can you post the whole view?
that is the whole view
unless you mean something else
00:49
Where's the controller element?
I just added it :)
Did it fix the issue?
I know! I was just hoping I was being an idiot!
00:51
Can I see all your javascript?
'use strict';
app.controller('homeCtrl', ['$scope', '$routeParams', '$route', 'dimensionService', function ($scope, $routeParams, $route, dimensionService) {
    $scope.getDimensions = function (companyId) {
        dimensionService.getDimensions(companyId)
        .then(function (data) {
            $scope.dimensions = data;
        });
    }

    $scope.companyId = $routeParams.companyId;

    //get the current company's entities when the page loads
    $scope.getDimensions($scope.companyId);
<div ng-controller="homeCtrl">
    <accordion ng-show="dimensions.length > 0">
        <accordion-group ng-repeat="d in dimensions" heading="{{d.name}}">
            {{d.description}}
        </accordion-group>
    </accordion>
    <div ng-show="dimensions.length = 0">
        This company has no dimensions defined.
    </div>
</div>
the service isn't the problem, I'm quite sure. It hits the service and returns just fine
it's set to the scope variable, so I don't need an ng-model right?
I'm assuming you're calling .module('ui.bootstrap.demo', ['ui.bootstrap']) somewhere?
@Pheonixblade9 - I don't think that would cause the issue you're having no.
I don't think I have to, do I?
I mean, I have this in app.js:
'use strict';
var app = angular.module('app', [
    //angular modules
    'ngRoute',
    'ui.bootstrap',
    'LocalStorageModule'
]);
Oh yeah that'll do it.
I am using the dropdown elsewhere and I don't have anything added in for that apart from declaring it in app.js
hmm
00:57
oh
maybe try adding ng-delay="dimensions"
to the <accordion> tag
ooo I didn't know about that
hm, no dice
I have a small question about a general app in AngularJS. Lets say you store data on an external database. You have to do an AJAX call to some REST API to get the data. But how can that be done safe? I mean, it's all written in Javascript right. How can I create the app so that only my app can get the data?
@ErwinOkken OAuth, like I've been struggling with, is the most common solution
I gotta go home haha
But somehow that works.
@Pheonixblade9 Thanks :)
01:05
@SpencerRuport thanks... I'll see if I can get it working. haha
have a good night, thanks for the help.
I don't think the callback is the issue either.
Aight. HOME!
hi
can anyone help me with this question? Trying to reference an instance of a class in another class to prevent memory leaks
0
Q: How to reference an object instance created in one class, in another?

Brian JI need to have only one instance of an object MyoDeviceModel class in my application, but need to reference that same instance in another class to prevent memory leaks. My problem is I don't know how to reference the instance in this situation. The instance is created in the AppViewModel and I n...

@BrianJ It sounds like you're trying to implement a singleton. Googling "c# singleton pattern" should give you some tips. Also, singletons are a bit of a code smell, since they are often signs of bad architecture.
01:23
okay thanks, the reason I want only one device instance, is because only one physical device will be connected and I need to read that same instances values for value recording purposes.
protip. this works:

<div ng-show="companies.length == 0">

this doesn't:

<div ng-show="companies.length = 0">
I was like WHY IS THIS NOT WORKING IT WAS JUST WORKING AHHHHHHHHHHHHHH
02:20
love js yet?
02:43
that seems, intuitive... what i didn't understand in the one thing ive read on JS is == and ===
@NETscape you mean how it works?
!!> 42 == "42"
@KendallFrey true
!!> 42 === "42"
@KendallFrey false
02:51
na
yes sir :(
SIR, yes sir
yes sire
me neither
i dont want to go to bed yet
because then i'll have to get up
02:59
I did some multiplayer gaming for once
was fun
Yeah. I never read up on it
BUT is literal vs instance or whatever, ay?
=== checks type, == does not
=== behaves like == in C#
my eyelids are getting heavy
I should go to bed stop eating so much junk food
03:17
@KendallFrey what did you play?
 
3 hours later…
06:45
Morning!
06:56
07:43
morning o/
morning. Has anyone used Nhibernate, SQLite, and dates?
or at least SQLite and dates?
08:21
Generating some dummy text with blindtextgenerator.com and this was one of the lines: Sex-charged fop blew my junk TV quiz.
08:33
That's beautiful
morning :D
Hey, you chaps know what day it is?
Fun friday the 13th?
More like f'ed up day
[could be fun, though]
Why? What happened?
08:42
@scheien The day started.
@scheien In short, we've discovered critical bug.
Ah, ye, that's bad.
@RoelvanUden: You having a bad day huh?
or just got out of bed on the wrong foot?
I don't. I was referring to a plausible explanation for @OlegKuznetsov
hehe
Plus we can't rollback to previous release, due to irreversible changes in the current one. Ugh
So, yeah: FUN
08:50
@OlegKuznetsov Where FUN means "Fucked Up Nightmare"?
@RoelvanUden: It's plausible, and very open ended :)
Got a bug report from an external supplier the other day. "Your data feed is broken"
We haven't changed it. The only thing that changed was one piece of text which now contains a comma.
That can be a major problem in CSV :P
(Since there is no formal specification for quotes around text and all that)
Aye, which we implement.
I don't think the supplier handles that spec.
08:57
Hehehe fun times.
var forename = line.Split(',')[0];
var surname = line.Split(',')[1];
...
!!facepalm
Ah. Ahaha. Ahahahahahahahaha.
is there a list which commands are available?
09:04
@RoelvanUden Information on interacting with me can be found at this page
If you want to experiment with commands, do so in a playground please. ;-)
09:27
@Squiggle: lol, that's is just awesome.
s/awesome/depressing
it's a sad state of affairs when you can actually say "This would be improved by XML".
No. They will just start cutting into the XML not using a parser.
Exchange format doesn't mean shit if the receiving end is just retarded.
yeah
still sick as hell
why won't this go away
@RoelvanUden: amen!
@RoelvanUden stop being right :(
09:43
If you have provided a spec, then point them to that. If they fail to comply, it's their fault, not yours.
they provided the spec
AFAIK
isn't that even worse?
or is the quotation not specified?
:(
I think the spec was "we need a CSV with fields X, Y and Z in it plz"
Cool
How do you guys handle motivation at the day job?
09:55
I'm sad :(
day-to-day, I try to making sure I'm working on fresh code most of the time :)
Terry Pratchett died
life y u do dis
2
and I actually quite enjoy meeting with the end-users, because I can actually see what I do makes a difference to other people.
@Squiggle Yeah, I like that part too. Too bad I don't have any contact with end users in my job.
@Sippy aye, it's sad, but he was a very sick chap. I'm glad he passed away with his family around him.
09:56
@Squiggle He left a hell of a legacy.
Time to read all of his books then!
truth
I have never heard of him >_<
@RoelvanUden very funny fantasy writer
@RoelvanUden Pick up "Thud!", friggen hilarious book.
And as far as I'm aware, fairly standalone
Just spilled sugar all over my keyboard.
3
This is gonna suck.
09:59
I was restarting Discworld a few weeks back, haven't got any further than the first chapter due to time :(
@Sippy why do you have sugar near your computer?
@BenjaminDiele Cos the UK government is poor and we have to buy our own coffee and stuff.
@Sippy 'ello guv'na
I wonder if a British person has ever actually said that
I say that occasionally
along with "ey up!" and "wotchyer, guv"
Are you from Landan?
10:02
:D
Yorkshire, mate.
The fuck
Oh of course
"ey up"
I just enjoy messing with people
I like Yorkshire peeps
my favorite pass time is making up words in the presence of non-native speakers.
"Thanks, Didier. That meal was fabricious."
"...quoi?"
10:04
hey all
need some help
need to know about command injection in asp.net
?
command injection?
0
Q: Get Last two folder's name from URL using C#

Ram SinghI have a URL and from which i need to get names after "bussiness" and Before the Page Name i.e. "paradise-villas-little.aspx" from below URL. http://test.com/anc/bussiness/accommo/resort/paradise-villas-little.aspx I am not getting how can i get this. i have tried the RawUrl, but it fetched th...

@nitesh.kodle123 as in, the security vulnerability? Or are you talking about SQL?
@RamSingh var urlPart = url.Split("bussiness")[1].Split('/'); var folder1 = urlPart[0]; var folder2 = urlPart[1];
also you've spelled "Business" wrong.
@Squiggle i have just taking example, never mind that...:)
also that code I wrote is totally hacky.
but yeah, string manipulation would probably be best. URIs aren't really nested folders like on a file system. They're just a string that defines a resource, with some convention.
10:16
@Squiggle let me try will update yoy
you *
-1
Q: Using Two Partial view with different ViewModels

WebDeveloperI know there are dozens of problems like this but I think I have read this one( Darin Dimitrov )but that did not help me to solve it.I am looking for a clear solution. My problem: I have tow partial views which the first on uses ViewModel like this: _barbeList @model IEnumerable<AfSys.Saloon.V...

Oh the sweet, sweet irony of the OP's username
Oh god, this makes your friday even better: youtube.com/watch?v=KHZ8ek-6ccc
Oh my god triage queue is so full of useless spam today
my eyes are bleeding
10:44
i need
idk
something to make this sickness go away
chemo
@SteveG bourbon
wish i could say i haven't considered it, not sure it'd help ;)
but hey, at least it'd be fun
Get outta here Steve!
@SteveG y r u sik
why
idk
i'm guessing something to do with a virus
if it were like 1200ad, and you tried explaining virus and diseases to people, do you think they'd believe you?
@SteveG they would call you a wizard or they would be scared as shit from everything ^^
10:54
@SteveG they'd bleed you out
haha
Hammer a hole in your head to get the madness out
When I said why are you sick I meant what's the problem? :P
oh, god whats not wrong
Hahaha
Did you find an apartment yet?
at least i'm not throwing up
uh, no not yet, i still have a good 4 months
10:57
Ah right
going to check out a few places next week
I should probably start looking for mine
Moving in May lol
lol
i tried finding one on that short of notice before
all the good ones were taken
Yeah
Prolly gonna get rekt
@Sippy got thrown out or why is May absolute?
10:58
@SebastianL Contract ends, new job
Good time to move in with gf
Thrown out lol LIKE I LIVE WITH MY PARENTS
can i move in with your gf too
@Sippy i didnt mean this ^^
@SteveG lawl, not even a questionmark :D

« first day (1609 days earlier)      last day (3565 days later) »