« first day (1964 days earlier)      last day (3209 days later) » 

11:00
@ntohl Haaaaaaaaaaaaaaaaaaaaahahaha
I'm so glad I don't have to work on VB6
Fuck that in so many ways
@RoelvanUden gyazo.com/548e41fd8592224247df09d40c7d6121 Do you know what information is important now? :P
If you just blatantly put all your code in the main body then your profiling is going to be a chore.
I thought that'd be a picture of some code then
Was gonna rage
Feel free to rage. Don't hold it in.
It's what we're here for. :P
I have created three components that are drawn on a canvas but one has 255 draws but is done < 1 sec and something else draws a total of 60 times and it takes 6 seconds and the browser almost crashes. I'm not sure what's going on and until now profiling doesn't give me any information at all :(
The profiler only says: (program)
11:08
Try deleting (program) and re-running it?
What? (program) is Chrome's native code.. what do you mean deleting it? ;D
Can one of you smart people tell me
If there's a ridiculous hack that I can do
To make a class in an assembly inherit something at runtime
using reflection or some shit
cos otherwise the headdesk is gonna be so real
Not really @Sippy. Go for that headdesk.
FAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAK
I'd have to write the hack in VB anyway so I suspect that's a blessing in disguise
I've never written anything in VB and I don't plan on starting now lol
setTimeout(function(){ losercanvas.registerComponent(bracket); }, 100); // This is very very fast

losercanvas.registerComponent(bracket); // This takes ~ 5/6 seconds
11:16
There's some points in this chat when someone asks a question that hints at something even more painful
Why can't my brain handle that situation :(
@Squiggle ?
@ErwinOkken losercanvas?
@RoelvanUden For losers? :P
kappa
11:17
@Sippy the fact that you're asking that question about runtime implementation of inheritance hints that your code is in serious need of refactoring
@Squiggle Fuck off I'm not refactoring this beast
I'd be here for years lol
And it's VB
It does need refactoring
I spoke to the guy who maintains this codebase and told him which class I was looking at and he laughed
And basically said if you touch it shit will break
Feel bad for him :D
And I was right too - new context for every database request
@RoelvanUden I have two lines of code. First is var Bracket = new Bracket(..); Then it's doing alot of stuff already. (I know it shouldn't :P) Then the second line adds it to the canvas. The canvas will then draw it on the screen. But for some reason the constructor of Bracket is still busy when line two will execute. And because I observe variables and if they change I redraw the screen, it all gets messy from there.
Impossibru. Your constructor cannot still be running code when it's done initializing.
Unless you've been a weird funky dude that's been scheduling tons of async stuff
They said that @ the javascript room too, but still that's what happening.
No async things @ load, only @ mousedown, but that's not the case.
Talk is cheap, show me the code.
11:22
I'm not sure if you want to.. but let me upload it
I'm pretty sure you don't want to haha
[RageOn] FUUUCKIING EF WHY DONT YOU FUCKING GET MY FUCKING INTENTION YOU FUCK [/RageOff]
feeling better now Roel?
Jup!
@Squiggle So here's the thing: I access a DbSet, include a bit of a graph, filter on some properties, then select one level down. The result is not with the rest of the graph loaded.
@RoelvanUden Just a warning.. my browser almost crashes, so: propoolapp.com/stackoverflow
Almost crashing is not really the case, but I can't guess what will happen in your browser :P
@ErwinOkken Yeah I just wanted the code that was blocking
11:27
That's the problem.. I have no clue. And it's alot of code.
You're making it really hard for me to even bother to help you.
I know, but I also have no clue on how to make a clear overview.. I'm stuck and I don't know what I can even do to continue :P
@RoelvanUden Yeah. I discovered this the other week. You declare the DbSet<> with .Includes, select a projection... and the included navigation properties are not present. It's balls.
@RoelvanUden Have you asked EF Guru Charlie?
@ErwinOkken Make your code debuggable. Split into smaller functions, organize code, that makes profiling possible
11:31
@RoelvanUden Actually I think I found it.. :x
kappa
@Squiggle Indeed. It's fucking ridiculous.
Rubber duck programming!
Food time.
debugging
11:32
debugging, right.
Enthusiasm
-o
Do you speak to Americans a lot? :P
Hehe no, I only talk English very often but I don't write it a lot
"Debuggering". v. refactoring some really shit code
Lol
But I know my problem so I'm sooooo happpypypypy <3
11:33
@Squiggle What does that make debuggesting?
@KendallFrey You just made that up!
@Squiggle "Rebugging". v. when code you've just fixed is handed off to a colleague of questionable competence
5
Lol
/intern
FFS Digitec. Ship my order already. "In stock at suppliers" means nothing has happened since I placed my order.
11:37
unbugging - reverting to an older version to get a better product
That's called tactical reversioning
quick, write a program that hangs in the fewest characters possible
public static Main(string[] a){var b=1;while(true){b=-b;}} ?
public static Main(string[] a){var b=1;while(1){b=-b;}}
11:46
can you do while(1)?
args are optional
cool
as is the visibility
just kidding it's required
@BenChand C# doesn't implement truthiness, thankfully.
@Squiggle lol
11:48
I get "cannot implicitly convert type 'int' to 'bool'"
@Squiggle Could you interact with var a instead of var b to make it shorter?
your program doesn't need to do anything besides hang
@BenChand Main(string[] a){while(1){}}
if you have a while with no content, won't that get optimised out during compilation?
maybe if you compile with /optimize
11:51
@Squiggle works for me, although while(1) doesnt has to be while(true)
does Main need to declare a return type?
even if it's void
ah yeah
yes
though int is shorter than void
is shorter than string[] a
but then you need a return value
11:52
class P{static void Main(){while(true){}}}
for(;;) is shorter than while(true)
; is shorter than {}
@KendallFrey in that case:
class P{static void Main(){for(;;);}}
Main(); is shorter than for(;;);
If you called Main recursively wouldn't the program terminate due to stack overflow exception?
@KendallFrey would not compile
11:55
@AlexL why not?
@KendallFrey my bad does but stackoverflows
nobody said it has to be C#
> befunge
j a v a b o y s
// REBEL
@AlexL I'd name the class class i to take up the least amount of horizontal pixels.
C# might support a unicode non-printing codepoint as an identifier. Not sure, though.
12:01
doesn't matter for monospace fonts
I really hope not.
Hmm. A bit of help. I have a directed graph of elements and I want to find the longest path in it. Between any elements. Is there anything cleverer than just running a longest-path algorithm between every source/destination combination?
I've never actually studied graph theory, so don't assume I know any commonly used tricks.
Or perhaps prepare a list of all vertices without incoming edges, one without outgoing edges, and just make combinations between those?
longest path? let's first confirm your graph doesn't have dead loop
I'm not planning to implement the longest-path algorithm myself. I'm using a helper library to do the actual graph traversal code. Not planning on reinventing any wheels.
The question is how not to use it too naively and pass it something with a whopping combinatorial complexity.
is roslyn useful for creating runtime types?
@AvnerShahar-Kashtan Is it a tree?
12:14
@RoelvanUden I fixed my problem. Components had subcomponents and it registered those subcomponents too fast :-) It's working like a charm now!
@KendallFrey Nope. Just a directed graph which can have loops in it.
but not cycles, right?
/me catches up on relevant terminology.
Ok, there are both loops (which I filter out before starting) and cycles.
undirected cycles are fine, but directed cycles are bad
what's a loop?
oh
In graph theory, a loop (also called a self-loop or a "buckle") is an edge that connects a vertex to itself. A simple graph contains no loops. Depending on the context, a graph or a multigraph may be defined so as to either allow or disallow the presence of loops (often in concert with allowing or disallowing multiple edges between the same vertices): Where graphs are defined so as to allow loops and multiple edges, a graph without loops or multiple edges is often distinguished from other graphs by calling it a "simple graph". Where graphs are defined so as to disallow loops and multiple edges...
12:17
A->B->C->A
a loop is just a special case of a directed cycle
@tweray No, I think that's a cycle.
@KendallFrey Which is easy to filter out.
oh yeah, time to go back to algorithm class
loops, or cycles?
@KendallFrey loops. I just filter out any Edge instances where Source and Target are identical.
12:19
Well you can't have cycles at all
that defines an infinite path
Ian
Ian
Hi, today I just noticed that there is a Team for C# Chat! :D
How do we join actually?
@Ian you just did
Ugh. Trying to use LINQ SQL syntax over a function that returns an out param. I can't really change a temporary var defined as let with out, can I?
12:38
@Ian you need to at least one Panino
Hay
So Microsoft is going to announce new version of .net which is .Net Core 1.0
@MukeshSingh They've already announced it. I've been using it for a while :)
Message to all: Server X is going down for maintenance.
*1 minute pass*
Coworker: Can you access Server X? It doesn't respond.
Yeah
Not officially released yet.
Is everything open source now? I mean .net framework, asp.net framework, WCF and web api
WCF isn't, AFAIK.
Oh, wait, WPF isn't.
Not sure about WCF.
12:45
1
Q: how to call webmethod from aspx.vb page in vb.net

Muhammad ZubaidWhat I am trying to do, Is to call WebMethod from aspx.vb, Below is my WebMethod syntax which is in Default.aspx.vb <System.Web.Services.WebMethod()> _ <ScriptMethod(UseHttpGet:=True, ResponseFormat:=ResponseFormat.Json)> _ Public Shared Function dat( _ ByVal Id As Integer) As List(Of items) ...

> The RTM version of .NET Core will have the following application models:

ASP.NET Core apps and services
Universal Windows Platform (UWP) apps
Console apps
Yeah
Thanks
Also dropped some legacy support for things like Remoting or AppDomains.
Ian
Ian
@CharlieBrown I already did? When?
Follow below links to see how to call web method from asp.net
12:48
@AvnerShahar-Kashtan and services. What sort of services?
and Binary Serialization.
Discrete professional services?
> .Net Core will be released in two variants; .Net SoftCore and .Net HardCore.
7
What is difference between both SoftCore and HardCore?
@MukeshSingh HardCore exposes explicit interfaces.
Ian
Ian
@Squiggle need to have at least one Panino?
12:55
Hi guys, anyone know Azure Biztalk services? Or can point me to a chat about Azure?
@Ian ...it's a running "joke".
@dario_ramos I am vaguely aware of them. What's the specific question?
I'm trying to set up an automated test for a mapping bridge
In plain old Biztalk Server, you had BizUnit
I couldn't find something like that for Azure BTS
Ian
Ian
@Squiggle Oh, sorry, I just came. :p
And my search was inconclusive, except for someone who said I should call the bridge manually... which sounds like a pain
12:57
@Ian That's OK. It happens to us all.
@dario_ramos good question. What is the code artefact you write to use a mapping bridge? Xslt file or something?
@Squiggle what are you talking about, it's not joke. panini is life
@tweray Panini are life. Jeez.
Ian
Ian
@Squiggle ^^"
It's a .trfm file (this is an XML mapping)
srry, i mean, panino are life!
Ian
Ian
Stack overflow "Team". It is still beta...
@Ian aye. Just join! It's virtually meaningless though.
Ian
Ian
@Squiggle oo, OK... O.o I am asking how to join... But you say there isn't anything interesting there?
@Ian what you see on that page is exactly all there is
13:00
Anybody knows oracle or point me out to oracle chat room?
1 oracle is enough to destroy the world, think about a room of oracles
just realized, we raised to 8th greatest team in SO lol
Ian
Ian
@Squiggle oh, I see, we cannot see our own name... :|
@tweray I did not get
Ian
Ian
13:04
@tweray hoh? :D what team is No. 1?
I mean i have one question regarding oracle
@dario_ramos and I guess to execute that in a unit test context you'd need whatever hosts it
I think that invite should work
13:04
Hmm, tricky.
@MukeshSingh you can try java room
Ian
Ian
hei thanks for the link! Role for the team....??
@TomW Maybe use the Transform service API app REST interface?
Since this is Azure, there is a Logic App connector which uses the .trfm file
I can try making an HTTP call to it and checking the result
@tweray Thanks
@Ian enter "VB6 consultant".
13:07
morning
Ian
Ian
@Squiggle I put Philosopher - that is because I read Marcus Aurelius' quote as the team's profile picture... ;)
@Squiggle Fortran or cobol would also do? Or are they too old?
why sharepoint is soooooooooooooooooooooooooooooo annoying ?
3
becuz it's sharepoint?
13:10
simply hate it
yourefired.png
your rent is due
your sister got a new job
aint got any :D :D :D
D: D: D:
13:17
good morning
!!google panini
tbh, panini is not a healthy way to start at morning
!!wiki panini
Panini may refer to: == People == Pāṇini (fl. 4th century BCE), ancient Sanskrit grammarian Giovanni Paolo Panini (1691–1765), Italian artist A. R. Raja Raja Varma (1863–1918), Indian poet, grammatician, also known as Kerala Panini Carlos Panini (died 1951), wealthy Mexican businessman of Italian origin Manuel Panini (born 1983), Italian footballer == Art, entertainment, and media == Panini Group, a company headquartered in Modena, Italy Panini Comics, a publisher of comic books and magazines, part of Panini Group Panini (stickers), a brand of collectible stickers published by Panini Co...
> Pāṇini, ancient Sanskrit grammarian
Hmpf.
13:21
does this interests anyone ?
0
Q: Hosting single asp.net page with code behind

Please TeachI need to host a single asp.net page which will have report viewer component in it and some code behind logic e.g. getting reports from SSRS. What options do I have to host it ? Should I create a new web site in IIS just for hosting a single page ? I'll be using this page to display it in a Sha...

very interests
someone answered me to put form into bin of some unknown directory, seriously !
I think he wanted me to tell iframe to get application page from dll
When working knockout, one has to create ViewModels in javascript. Do i also need to create corresponding ViewModels in C#?
@Rusty knockout on top of what? MVC?
Squiggle, yes
13:24
and yes, you need a POCO to properly deserialize those models
someone down voted him and he down voted my question, what a joke !
@Squiggle isn't this sort of code repetition?
or maybe someone else did it
SO community is getting crazy over points
@Mathematics Lol you have 2 SO accounts?
why?
13:26
@Failsafe only have 1 ?
@Mathematics But that question doesn't have you anywhere on it
that's my old username
but my new one is stuck here
@Rusty ...perhaps? It depends what you're trying to accomplish. I haven't touched Knockout for a while. I'm more used to Angular.
13:29
seriously someone tell this user he needs to stop....
he wants me to use jquery instead of iframe, what the Fruit
does anyone know if you can make equality checks between 2 elements with c# selenium ?
@Rusty TBH I much prefer AngularJS :)
I second that @Squiggle
I prefer ng2
Have angular2 got a release date yet?
13:33
@Rusty FWIW, it looks like you can auto-generate the view models if you already have an instance - stackoverflow.com/a/19766036/1034004
@Squiggle: Do you use typescript with angular?
@scheien it's already in beta so i don't assume too much feature change, it's more of bug fixes or performance tweaking stuff, which means you can start coding probably now if you want
@tweray yeah I saw that. Hopefully it won't be any breaking changes, but one would never know. Can't say I want to use the beta in a production app though
....
Hi all! I need help with DynamicQueryable.Where method. I want to filter DataTable rows by multiple columns, but I do not know how to construct a predicate expression
13:37
true that, i am still waiting for sanders to release the whole flow for asp.net server rendering + ng2
The convenience store didnt have my favorite protein bar
so i had to get a more expensive one
...
FWP
wait... there's difference between protein bars?
someone please tell this guy, or I am going to hit my head on the wall !!!
I don't have any site and he wants me to put an aspx page into site's bin folder,
ppl already downvoted it, why bother to care about some answer that doesn't make sense. simply ignore it
@scheien I'll be doing TS/Angular full time in my new job :D
13:40
w8... why does financial firms want to use TS/ng? that's not financial firms that i know of
@tweray I develop internal business apps. Workflow systems, reporting/monitoring packages etc.
@tweray companies have intranet tools my man
my next job though will be Angular/Cordova mobile apps.
I make internal web apps for enterprise
i mean, aren't they like "nonononono, i knew this new and cool stuff but our best interest is security and all our computer still run winXP with IE as only browser"
maybe it's just because i'm far away from wall street for too long, and even nuts can evolve?
13:46
Hay guys, I have one question
@Squiggle oh that sounds sweet.
Why should I use Asp.net Web API over WCF
What is the thing i can not do in WCF which can be done in Web API?
because it is simpler I think?
I've been wondering if I need to transition my angular stuff into TS, but I haven't touched TS at all for anything other than Hello world. Anyone has any protips for angularjs + ts?
@scheien Why?
13:49
Mostly to get more control
and readability
@tweray web apps are easier to auth
imho
well, i can live with es6 tbh, ts is cool, but not the only holy grail
I can't say I find the angularjs components readable, even when following the design guidelines from github.com/johnpapa/angular-styleguide
@scheien as in separation of responsibilities?
@scheien Not really any suggestions I can make. Just... look at a few examples and hack about with it until it makes sense.
13:51
@kush and also angular2 will be in ts
59 mins ago, by Squiggle
> .Net Core will be released in two variants; .Net SoftCore and .Net HardCore.
gd 1 m8
pretty similar to most mvc structures imho
@Failsafe yeah, it's ok. probably more that I'm pretty used to c# and such
@Sippy and .NET AlbaCore
Sponsored by Jess?
13:52
@Sippy you forgot the other version, the one that is very tied down and very dependent on tooling
i like AmoredCore more
I'm not close enough to her to call her Jess lol
the .NET BDSMv1
I'm gonna be using .NET Deathcore
Also when I hear Jess, I think of Zoey Deschanel o.O
13:53
I guess that's her character in that show she's in?
vOv
There is also .Net NightCore its the same as core but runs 3x faster
lol
There's a flavor of .NET HardCore coming out called Happy apparently.
@Squiggle sounds reasonable :)
@DemCodeLines start a github organization and I'll join you like with jicamajs
how do you configure verbose build logs in TFS 2013?
13:55
I'd imagine the same way as in Visual Studio?
@Sippy and a a highly optimised distro called SpeedCore
public abstract class BaseController // base controllerrrrr oontz oontz oontz
HAHAHAHA
I just realised I've been committing changesets to Git without pushing them
Cos I'm so fucking used to TFS
fail
oh I was wrong
@Sippy happy merging!
13:56
This feature is not available in TFS 2013. To change the verbosity for a TFS 2013 build from the build definition, pass the parameter:

/flp:verbosity="<verbosity>" in the MSBuild arguments section, of the Process tab, in the build definition.
No one's pushing to my branch so
np
@Sippy But that's good too. Commit often. Small changesets are better.
@RoelvanUden I know that, I just forgot that I actually have to hit upload on Git :D
Not strictly necessary...
Each git repository is its own master
what's flp?
13:57
@RoelvanUden isn't master just one branch? there's nothing special about master in git afair
!!whoosh
@kush True. And nothing special about the server you consider the 'central authority' either.
Look at me, I am the master now.
o.O

« first day (1964 days earlier)      last day (3209 days later) »