« first day (1971 days earlier)      last day (3202 days later) » 

14:00
the software breaks
?
@scheien at this point I kind of expect 'weird' to happen when I touch new products
@Squiggle wow
@SteffenWinkler What type of aspect are you doing?
interestingly I rarely get the errors other users get. I always get some kind of error nobody has ever seen before
@scheien OnMethodBoundaryAspect and IInstanceScopedAspect
@JakobMillah I dont remember, are you the one who is good with VS shortcuts?
14:02
need the interface because I use ImportMember on a class property
@ntohl one of my old school friends works DeepMind :D
@Squiggle well. I assume most of the time DeepMind learns by himself
herself
@SteffenWinkler Does it work if you're doing something from their tutorial, is it bound to some of the implementation you have. Or the interface?
14:03
itself
:D
@Michael Not really good :P I have a few I use, but that not that many
Shortcuts in Photoshop though. That's my territory1
alt + f4?
aw alright. Yeah photoshop almost requires you to know shortcuts to be any good
@scheien hm, I just commented out the import and the interface. Now I've another exception
something demands protobuf-net
Cannot serialize the aspects: The file or assembly protobuf-net or [...] not found
14:05
@TomW : the page is loaded through ajax and that is why the html code was missing
@SteffenWinkler Is your aspect marked as [Serializable]?
@scheien yup, according to their tutorial those things have to be marked serializeable
@jubi have you tried using F12 developer tools in your browser? that will give you a live representation of the DOM, instead of ViewSource which only shows the first (unmodified) instance.
user47589
the DOM is a dynamic document.
@Amy ur a dynamic document
user47589
14:08
:(
@Amy at least you're not XML <3
@SteffenWinkler Have you tried to mark fields and properties as [NonSerialized]?
@scheien I installed PostSharp into the project that contains the target class.
user47589
yay!
@scheien no, should I?
14:08
how will i trigger the click event of a ajax loaded page
i am using signal r for notification
$(function () {
    $.connection.hub.logging = true;
    var proxy = $.connection.broadcastMessage;

    $.connection.hub.start().done(function () {
        $('#broadcastNotification').click(function () {
            alert(1);
            proxy.server.broadcastNotifications($("#Message").val()).done(function () {
                proxy.server.sendMessages();
            });
        });
    });

});
@SteffenWinkler I would have tried it to see if there's any difference. Not sure if it will have side effects though
this need to be triggered on button click event of a ajax loaded page
@scheien hm, I just removed the serializeable tag. It then complains on every method that is affected by the aspect that the aspect class must be marked with Serializable or PSerializable
I was wondering if some could tell me what is going on here?
<script type="text/javascript">
	$(document).ready(function () {
		<%=this.ClientID%>.divContentViewer_ContentID='<%=divContentViewer_Content.ClientID%>';
		<%=this.ClientID%>.divContentViewer_WrapperID='<%=divContentViewer_Wrapper.ClientID%>';
		<%=this.ClientID%>.Init();
	});
</script>
@SteffenWinkler If the docs says it has to be there, I guess it needs to be there.
14:13
ill throw a debugger on it..
user47589
yeah aspects have to be serializable
can i trigger button click event from a page loaded throuh ajax
?
@scheien heh, I found this stackoverflow.com/questions/16239065/… question and just went through my fields in the aspect that were non-native and just placed that NonSerializeable over one, then the next and so on.
user47589
yes, after the apge is loaded attach the event handlers
turns out my Func<> field needs to be marked with NonSerializable
user47589
14:14
yeah functions aren't serializable
@SteffenWinkler Now it works?
@scheien as long as I don't have the ImportMemberthing, yes.
Progress! :)
I can leave the interface uncommented and it'll compile but as soon as I uncomment the ImportMember attribute everything goes to hell
@Squiggle That makes sense. Kind of sad that there is no real incentive to "GET ON WITH IT!" and actually improve systems, but I guess I can see the point.
14:17
@Amy : can you show me a sample
$(function () {
    $.connection.hub.logging = true;
    var proxy = $.connection.broadcastMessage;

    $.connection.hub.start().done(function () {
        $('#broadcastNotification').click(function () {
            alert(1);
            proxy.server.broadcastNotifications($("#Message").val()).done(function () {
                proxy.server.sendMessages();
            });
        });
    });

});
@scheien updated my inquiry on PostSharp's discussion board with that info, thank you
this is the function which need to be triggered on button click
its a hub call
$.connection.hub.start().done(function () {
$('#broadcastNotification').click(function () {
user47589
$("your eleemnt selector").click(handler)
@SteffenWinkler: You're welcome.
user47589
that's how you attach click events to elements
14:18
how to call the function
above function
 $(document).on("click", "#broadcastNotification", function (e) {
        e.preventDefault();}):
user47589
you can't. what you posted is an anonymous function.
user47589
an IIFE
so if i want to invoke this function
how will i achieve this
It's like
Mathematics made a new account
And started a new project
user47589
14:21
seems like it
@jubi learn how to use google or become a farmer
Cos as a programmer you are gonna need google
That wouldn't surprise me
user47589
this is basic stuff
:(
"But it would save time if you just tell me the answer" is coming
Yes it saves you time, not us :D
@jubi I'm not having a go - it's just one of those things
As a programmer you gotta google shit constantly.
Learning how to do that efficiently will get you results quicker.
user47589
14:22
$('#broadcastNotification').click(function () {
            alert(1);
            proxy.server.broadcastNotifications($("#Message").val()).done(function () {
                proxy.server.sendMessages();
            });
        });
user47589
that attaches the click handler when the hub starts, not when the page loads
user47589
so when you load your page using ajax, run this code there
user47589
correction: not when the ajax page loads
user47589
i guess that's your issue. if it isn't, i can't help you.
user47589
and no, i can't provide you an example of doing this. i assume you're already loading your page segment using ajax, and you know how to add your click handler there.
14:28
@Sippy I'm having a deja vu here
user5981182
Hey guys, out of curiosity, (I assume you use WPF ?), which MVVM Framework are you using in your projects ? (Prism ? MvvmLight ? A custom one ?)
something something Mathematics something use google.
@SteveHémond custom. Overhead was too great for us.
user47589
i dont work with WPF
user47589
almost entirely ASP.Net here, with some console apps
AngularJS + WebAPI is my stack.
14:31
Doing SPA with Angular?
yarp
hows that go? there a book on SPA you looked over before heading off into the brave world of SPA?
shit, i just can't spell the fucking word "consignee", why can't these brits just use some simpler words
@juanvan Just dive in
user47589
@Squiggle same, currently working on that
14:35
Get a room!
@tweray The brits you deal with are not normal brits.
WebAPI + React (SPA)/MVC (Regular) here. WPF is so old school. ;-)
i whole heartly hope so
I am fairly sure it's an ex military guy you are dealing with @tweray xD
WPF is so winforms
3
Unless you're working with like BAE / Lockheed / big defense contractor
Then they're just current military
14:37
@scheien the water is fine, just make mess and figure it out as ya go
dealing with a shipping vendor there, got a new branch opening in uk
am good at making a mess ;-) then there is no one left to help clean it up
>be me
>working on asp.net api project
>need global error logging
>void Application_Error(object sender, EventArgs e) to the rescue
>doesnt work
>never called
>confused_and_angry.jpg
>2 days later
>lead tells me project isnt asp.net api
>blank project manually converted into api
>api doesnt know how to call Application_Error
@mikeTheLiar Why the fuck would you do that
lol
>memes
14:40
lmao
@Sippy lead says "we got too much stuff with an API project that we didn't need. I want this repository to be lean and mean"
user47589
i wish DefinitelyTyped type definitions actually worked. half of them won't compile
@mikeTheLiar "I'm stupid and I don't know what stuff comes with an API project and I like to sound cool"
@mikeTheLiar Application_Error is an ASP.NET thing.
user47589
14:41
this is easily the most frustrating thing about typescript
@Amy They do work for me. What doesn't work for you?!
user47589
lodash.d.ts
@Amy ur the most frustrating thing about typescript
user47589
101 errors
@Amy Are you in VS by chance?
14:42
but a bitch ain't one!
user47589
yeah
what
user47589
why, @RoelvanUden?
@Sippy YEAH
@Amy Check where tsc in a VS command prompt, you'll probably get TS1.0 back at you.
Which for obvious reasons fails to compile most things
(We're at 1.8)
user47589
1.0.3.0
That's your problem. Uninstall TS1.0 and upgrade to 1.8.
Then all definitions will work.
user47589
wait, i thought i was using 1.7
user47589
why is VS using some old version?
user47589
14:43
thanks @RoelvanUden
That's a VS screwup. They boxed and shipped with 1.0 which is still causing havoc.
Np! :3
@mikeTheLiar think about the bright part, maybe they are on OWIN structure, in which case a logger can be easily injected
(VSCode and Atom are far better at working with TS honestly)
TypeScript highlighting in VS makes me angry
@RoelvanUden Stop peddling your bloatware
@tweray it was a good use of two days
14:45
@Amy : so when you load your page using ajax, run this code there
Made it to page 3 of google results
user47589
@jubi i can't help you further.
kek
okkk
coool
all this source is in source control using 2 spaces for indentation
CANNOT READ
14:47
@mikeTheLiar was that the issue from the other day, was that you?
Yay two spaces of indentation <3
I fucking hate 4 spaces
@TomW yeah
ok, have a nice day everyone, I'm off.
user47589
flips @SteffenWinkler's power switch back to On
user47589
no escape
14:50
Lol
rip
@Amy you can't just go around turning people on
2
user47589
why not?
Not without their consent at least
user47589
i don't see him complaining
she has a point
maybe he has a decoy power switch!
user47589
14:51
clever
@mikeTheLiar yep, someone dun goofed. At least that's a sane reason. Why was Application_Start being called though?
@TomW ihnfi that's what I'm trying to figure out now
there can be some understanding problem with beginners like me
@RoelvanUden first-world problems.
vat
14:54
@Sippy bat
rat
hat
@mikeTheLiar maybe just recreate the project properly than trying to work out what tardface deleted that he shouldn't have
@TomW if only
14:55
sat
mat
bat
shat
TWAT
on my hat
@mikeTheLiar NOOO
I already said bat
14:55
flat
Mike loses.
thats 4 letters @JakobMillah
mikeTheLoser
@Michael I apologize for ruining everyone's fun
u mad!?
14:55
lol. I need to go outside, gets some air
I need to eat
and sleep
repeat
Mostly sunny. 68 deg.
!!weather boston
@mikeTheLiar Boston: 55.64F (13.13C, 286.287K), clear sky
14:56
68 degrees? Sounds fun
Columbus wins
!!weather porsgrunn, norway
@scheien Porsgrunn: 2.53C (275.687K), broken clouds
We're supposed to break 70 today. Exciting stuff.
da fuq
14:57
!!weather jönköping, sweden
@JakobMillah Jonkoping: 3.33C (276.487K), few clouds
Celsius
get that shit out of here
you beat me with almost a degree @JakobMillah
GET REKT @scheien
14:57
!!weather Dublin, ireland
@Ggalla1779 Dublin: 8C (281.15K), scattered clouds
!!weather Eindhoven, Netherlands
@RoelvanUden [object Event]
haha
14:58
lol
Fuckin' why
!!weather antarctica
@Michael [object Event]
lol wtf
!!weather Eindhoven, The Netherlands
14:59
@RoelvanUden Eindhoven: 7.08C (280.237K), scattered clouds
Thanks biatch.
!!weather eindhoven, holland
@scheien Eindhoven: 7.08C (280.237K), scattered clouds
Ey fuck that, Holland ain't a country
!!weather McMurdo City, antarctica
14:59
@Michael [object Event]

« first day (1971 days earlier)      last day (3202 days later) »