« first day (2385 days earlier)      last day (2578 days later) » 

2:00 PM
It's resources/streams/connections that need to be properly closed
If it was memory, every object would be IDisposable
 
oh, damn, I was thinking about destructor.
 
Dispose()
 
I should go to sleep, but I still have work T-T
 
If you're writing destructors in C# you're doing something wrong
 
@satibel if you don't dispose all objects correct your process can give you the D ;P
 
2:04 PM
@satibel you should get out of the chat then and get to work
 
@SebastianL avendata.com/index.html now they are employing even cheaper. They have an HQ in Mumbai (India)...
 
@mikeTheLiar Presumably he means finalizers, since destructors don't exist in C#. Finalizers are an important thing for IDisposable.
 
@KendallFrey Uhh...
 
Is Linq to Sql still widely used? I thought it was abandoned years ago but they still use it at work. I want them to switch to EF but cant find much to backup the switch
 
@mikeTheLiar I've only heard those referred to as finalizers
> C# really doesn't have a "true" destructor. The syntax resembles a C++ destructor, but it really is a finalizer.
 
2:08 PM
@Anth12 just mention them how easy to upgrade version
 
It is very similar. Im getting random errors on legacy sites and there isnt many docs etc. around any more
 
@KendallFrey Yeah, you're correct.
How is everyone?
 
you could at least push for deprecation at first, as it seems that it's not used much anymore.
the main points are documentation and being able to interface with other databases than Sql.
 
@mikeTheLiar I asked that question to the community, still no answer. Do a lot of people just use Entity Framework now?
 
2:23 PM
Yes
 
the counter point is if everyone where you work is familiar only with linq to sql and is refractory to learning to use EF.
 
I'm not a fan of Entity, too heavy. I know you can tailor it down, but until Entity Framework 7 comes out, where it is supposed to be optimized for Cloud development. I'll try that iteration.
 
something something premature optimization
 
Have you had a chance to see the changes, they ripped out the old ObjectContext to only support the new DbContext.
Basically rewrote from scratch.
 
hello everyone
entity framework is tits
 
War
2:32 PM
@ntohl being in hungary probably doesn't help, the salary expectation for a developer over is seemingly a lot lower than here ... but that rate of tax is insane
 
@War yeah... 650k huf gross 470k huf net...
 
War
@Mathematics aren't you in a senior role?
@ntohl oh ok not as bad as I thought then
@ntohl may last pay slip I dropped about 30% of my pay to tax + national ins (which is just another tax we pay, supposedly for the nhs but not really)
 
I have a friend over there. You don't have tax on a lot of assets. Like transport, basic food etc.
 
War
@ntohl you're joking right?
we pay tax on everything
fuel would be like 30p a litre round here if it weren't for tax instead it's like £1.20
 
@SteveG haha
 
2:36 PM
@War hmm. Maybe I was misinformed, but I remember You don't have tax on school books for example
 
@SteveG You going to get Injustice 2?
 
@War I mean bus ticket
 
@Greg im not sure what that is, but it sounds interesting
i really want mario cart to come out
 
War
@ntohl kids basically get simple stuff provided by the school any thing else has to be bought by the parents in a normal book store ... on which they pay normal VAT @20%
 
2:40 PM
@War I meant that: 0% Zero Rate for life necessities - groceries, water, prescription medications, medical equipment and supplies, public transport, children clothing, books and periodicals.[148]
Comparison of tax rates around the world is difficult and somewhat subjective. Tax laws in most countries are extremely complex, and tax burden falls differently on different groups in each country and sub-national unit. == Methodology == This is a list of tax rates around the world. It focuses on four types of tax: Corporate tax Individual income tax Payroll tax Sales tax, including VAT and GST. Some other taxes (for instance property tax, substantial in many countries, such as the United States) are not shown here. The table isn't exhaustive in representing the true tax burden to either...
so after we taxed our income by 34.5% at least, than almost everything have 27% VAT.
insane
 
@SteveG If you like fighting games, it is pretty legit. The comic story that follows the game, is pretty legit to.
 
War
@ntohl that's bullshit
0% Zero Rate for life necessities - groceries, water, prescription medications, medical equipment and supplies, public transport, children clothing, books and periodicals.
 
sorry, but that's what my friend also said.
 
War
Unless i'm missing something I pay tax on literally everything I spend my money on in the UK
 
I believe You tho
 
War
2:44 PM
when I get an energy bill they even quote the amount of tax i've paid
 
@SteveG The first game, basically Joke uses Scarecrow's gas on Superman. He think's Lois Lane is Doomsday because of the toxin, he flies Lois into space. Killing her and is unborn child. Causing him to become a tyrant on the planet.
Joker* and his*
Fuck these Apple butterfly key's, they're retarded and horrible to type on.
 
@War isn't that how VAT works?
 
War
@ntohl it's funny because the world looks on the UK like we have it easy because we aren't at way at don't have big rates of tax across the economy but the reality is that we pay tax on what we earn, what we spend, what we don't spend, what we inherit, and what we leave behind
fucks me off
@mikeTheLiar yeh but according to wikipedia I don't pay tax on that
 
Welcome to the world of greedy government.
 
Taxes are a good thing
 
2:47 PM
having a car have at least 4-5 type of income for the government.
 
s/greedy/functional/
 
@KendallFrey Some tax can be a good thing.
 
inb4 kendall says something about haskell
 
I was gonna say something about side effects
 
@mikeTheLiar Him and the nine other people in the world would understand?
 
2:48 PM
!!haskell
 
Feb 16 at 17:00, by War
@KendallFrey no-one gives a shit about haskell
 
@mikeTheLiar Basically where I was going with that, haha
 
Joe
is this correct english : Here are some benefits of the usage of the ultrasound waves
 
@Greg C# doesn't have a boobies operator, now does it?
 
Joe
????????
 
2:49 PM
@Joe it's grammatically correct
 
On a side note, have you both seen Jai?
@KendallFrey No, no it doesn't.
 
Joe
thank you
 
But it has the lambda penis =>
 
Joe
when you say : wavelength is fixed ... DOES THAT MEAN THAT IT IS NOT CHANGED ANY MORE?
mikeTheLiar ???
 
your move @Greg
 
Joe
2:55 PM
??????????
 
@War technically energy is not in the list.
 
War
@ntohl same applies to my water and sewerage rates I believe
it's a lower rate of tax but I still get taxed on it
 
@KendallFrey haha, well played. Well played.
 
War
to my knowledge, there's literally nothing I don't actually pay tax on in the UK
 
@War pooping
 
War
2:57 PM
@CapricaSix OMFG who did that ... THX that's perfect!!!
@KendallFrey I paid tax on the shit I put in to my system and the loo when I bought it
 
but not actually the process of dropping a big one
 
Your still complaining about taxes @War. One thing is true in life, death and taxes.
 
death is a part of life, huh
 
Death and Faxes
 
life is a fatal illness with 100% death rate
 
2:59 PM
Meth and foxes
 
Saxet, Texas
 
Sexit, Firaxis
 
oh fuck firaxis
i've been binging Civ
 
@KendallFrey Can't have life without death.
 
how do you know?
lobsters seem to manage it
 
3:01 PM
Lobsters also keep their shit in their head.
 
They live for a long time, but they will die. I mean the Greenland shark will live for over 300 years, but it still dies.
 
I plan to live forever. So far, so good.
 
Will see how tomorrow goes
 
@mikeTheLiar You're an impressive 0% of the way
 
Is forever retroactive?
Do I need to start living backwards as well, in order to achieve my goal?
 
3:03 PM
I think living backwards would be its own accomplishment
Besides, there doesn't seem to be a forever backwards
there may not even be a forever forwards
 
reverof?
 
ef rover
 
War
@KendallFrey does it count that it "feels like" i'm paying at that point in time ... or should I add that i'm being taxed for my SO chat usage on my mobile provider during that time?
 
!!> 'forever'.split('').reverse().join('')
 
@mikeTheLiar "reverof"
 
3:06 PM
@War tbh i only feel one thing at that point
 
War
@Greg I think there's a problem with your logic there ... "death and taxes" is not "1 thing"
 
In Greg's mind they are.
 
War
lol
 
there is no such thing as forever
eventually, time will cease to be a thing
 
Taxes kill me day by day.
Taxes are cancer. Nobody wants that shit.
 
3:09 PM
@SteveG Time is an illusion, lunchtime, doubly so.
 
trumps tax breaks are ridiculousssssss
 
I like the things I get from my taxes.
 
yes me too
 
If my taxes were used correctly, I wouldn't care so much. But, they aren't.
 
it's impossible for your taxes to be used correctly
 
3:10 PM
That's.....not a reason to hate taxes.
 
because everybodys definition of 'correct' is different when it comes to what to spend tax money on
we should just accept the fact that some of our tax money will go to things we don't support
 
the correct usage of taxes is to subsidize programmers by paying them all $1M a year to help the country get ahead on technology.
Clearly
 
yesssss
 
Anyone read what the new FCC Chair wants to do to net neutrality?
 
i did not
 
3:13 PM
@mikeTheLiar Well, I get irked when I see 80% of property tax in a category called "Other". What is other, I'd like to know.
 
Mar-a-Lago. probably.
 
if i were president, i would be the best president
i've heard ppl say
 
I'd vote for you.
 
you should
i would dump so much money into science and r&d
 
I'd vote for you.
 
3:15 PM
you're telling me that we can pass 1 trillion dollar infrastructure things, but we can only give nasa 10 billion a year? get the fuck out of here
 
If I was president I'd try to be nice to people who don't live in my country
imagine that
 
@KendallFrey something something your cows are stealing american's milk
something something lumberjacks
 
@SteveG Hey, Trump said we will have a person on mars by the end of his term, it must be true!
 
something something bigly
 
now i'm picturing cows milking humans, thanks
 
Joe
3:16 PM
linear array transducer of multiple receiving channels of ultrasonic waves ... is that correct english?? I used two of words
 
if i were president, i would try to rally the whole world around 1 mission: get humanity to mars. once, just once in the history of humanity we should work together on a quest of epic proportions
 
You're welcome.
 
@Greg Please let it be himself
 
Joe
hmikeTheliar
 
@KendallFrey hahahaha
 
3:16 PM
@SteveG Mars will kill anyone living on it in a matter of months
 
@Greg You confused the hell out of me then
 
Joe
any answer??
 
@SteveG Didn't you watch the movie "Life" Mars isn't good for mankind. It will destroy us all!
 
@mikeTheLiar no it won't, didn't you see Matt Damon survive it?
 
@mikeTheLiar well thats why we need to dump massive amounts of $ into science and r&d, and i don't just mean 'america', i mean humanity
 
3:17 PM
Matt Damon is immune to cancer
 
@Kieran I blame my horrible Apple keyboard, I keep making typos.
 
apple keyboard?!
 
@Joe I honestly don't know. I don't have enough knowledge about the topic. It might just be word salad.
 
Joe
hahaha
 
@Kieran Yeah, I have a MacBook Pro with those butterfly key's. Hard to type on. Then I have a VM with Windows, since I have to support iOS and Windows development now.
 
3:18 PM
@SteveG let me know when you figure out how to re-liquefy Mars's iron core
 
Yikes
 
Because without that Mars is currently not feasible for something to live on
 
Joe
thank you man
 
I also have a new shiny 5k iMac as well.
To support the new goal.
 
@mikeTheLiar Feed Mars some Taco Bell
 
3:19 PM
"The Red Planet"
 
@Kieran Yeah, it isn't too bad though. Swift is pretty nice language to work with.
 
I know another nice language
 
!!haskell
 
Feb 16 at 17:00, by War
@KendallFrey no-one gives a shit about haskell
 
no one hyphenates like that
 
3:22 PM
!!fuckfuck
1 message moved to Trash can
 
Hey Guys
What is
"public Volatile string SomeVariable" mean?
 
which part?
 
does anyone know where I can find an anonymous support group for javascript developers?
 
volatile.
 
google "volatile c#"
 
3:28 PM
Does that mean it is Static?
 
@mikeTheLiar silly silly man
 
@ILikeToMoveItMoveIt no, that's what static is for
 
!!giphy silly man
 
just read the fucking docs
 
3:28 PM
well, that escalated things
 
The volatile keyword indicates that a field might be modified by multiple threads that are executing at the same time. Fields that are declared volatile are not subject to compiler optimizations that assume access by a single thread. This ensures that the most up-to-date value is present in the field at all times.
sorry i am a noob. sorry if i offended anyone
 
kendall is upset about his penis size, don't worry about that
you aren't upsetting me
 
@ILikeToMoveItMoveIt @KendallFrey is a dick, don't worry about it. He has a god complex, he'll be fine when he looks in the mirror.
 
@SteveG Yeah finding pants big enough is a real chore
 
big enough to hold them sagging titties maybe
 
3:31 PM
@SteveG Yeah, the line is so far gone...
 
my come back was weak
 
@SteveG not everyone is like you steve
 
@SteveG You took it some where it shouldn't of gone.
 
:p
 
*shouldn't have
 
3:31 PM
@KendallFrey you never know, they could be
 
my "pecs" are perfectly perky, thanks
 

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
 
lmao
@ILikeToMoveItMoveIt you good now?
 
@SteveG Yes Sir. Thank you !
 
you're welcome
 
4:05 PM
@KendallFrey You have a second, you might be able to answer this.
 
Apr 14 at 12:43, by Steve G
You can ask any question you want except for one, which is "can I ask a question". If someone is around and can help, they will
:p
im in a dickish mood today
 
1
Q: Dapper Multi-Mapping

GregInside the Dapper documentation I can clearly see the multi-mapping for a semi-simple object or simple object. For instance: public class Post { public int Id { get; set; } public string Name { get; set; } public User Owner { get; set; } } public class User { public int Id ...

 
Have you seen the Cake?? @SteveG
 
lol
 
@SteveG Isn't that everyday?
@SteveG Did you watch that trailer?
 
4:07 PM
ohhhh snap
@Greg i'm sorry, im busy with work stuff, what video? link meh?
 
Who's got time for a video
 
@juanvan If you can answer the above question, I'd be excited.
 
So I have an MVC app. I'm trying to render an .aspx page inside one of my views and I don't know how to structure the URL so that when I publish to a hosted webserver the path is valid.

It works fine on my local environment, but not when i publish to a different server with a slightly different path prefix. I end up with a 404 error that says: Requested URL: /Reports/ReportTemplate.aspx
~/Reports/ReportTemplate.aspx doesnt work either.
 
Are you simply returning the Html as ViewData?
 
4:19 PM
let me clarify. The MVC view loads fine, but the .aspx page inside the view get a 404
 
I understand that, how are you trying to display? As an iframe? Grab ViewData and dump it to your MVC View, etc.
 
yeah iframe
 
@Michael Ew.
Can I see your markup?
 
I was following a tutorial to display an SSRS Reports inside my MVC project.
I would, but the code isn't on my machine.
 
SSRS can be constricted by AD. So, if you don't have access, it will error. Plus, the SSRS URL may be actually a bit differently.
 
4:21 PM
but its the aspx page that isnt found
it works locally, just not when published to a hosted server
basically the difference is this:
 
That Visual Studio is running as an Admin on your local box.
 
I have never used dapper
 
I'm nearly positive it's not a credentials issue
 
@juanvan Well, if you do a Func<Parameter, Parameter, Return Parameter>
@juanvan The question, how can I get that Func to allow me to do an extra object before to return?
@Michael Well, I'm assuming. Since I can't see the code.
 
I think its because my local machine has the url like:
localhost:1234:/reports/ReportTemplate.aspx

But the hosted server url path is like:
mywebsite.com/secure/myapp/reports/ReportTemplate.asp
so It has to do with what I use for the URL prefix
 
4:25 PM
That doesn't matter. As long as your Reports Controller is hit, it will render the active view state.
 
am taking look at the documentation
 
@juanvan The useless documentation for multi mapping.
 
There has to be a hint in there somewhere
8
Q: Dapper Multi-map next level

Kyle RogersI'm using multiple mapping for a current query and now I need to map another object on the initial query. For example: public class Part { public int Id { get; set; } public string Name { get; set; } public Address Address { get; set; } } public class Address { public int Id { get;...

 
@Greg actually here is the source HTML
lol I forgot I could just inspect the element
<iframe id="frmReport" src="/Reports/ReportTemplate.aspx?ReportName=BulkUsageStatistics&amp;Height=850" frameborder="0" style="width:100%; height: 850px;" scrolling="no"></iframe>
I can hover over the src="..." attribute and I can see that the path it's trying is wrong
its trying to render the URL at htttp://mysite.com/Reports/ReportTemplate.aspx
instead of htttp://mysite.com/secure/myapp/Reports/ReportTemplate.aspx
 
@juanvan That is double deep, I'm looking for single level. But I'll read that answer, might illuminate.
 
user7480455
4:34 PM
Happy Sunday Boys!
 
@juanvan What is weird, it shows Dapper taking four Func parameters.
 
user7480455
Winter is right around the corner!
 
.. @007
 
user7480455
Hey guys gotta mvc question about views I'd like to pick someone's brain about
 
user7480455
hi juanvan
 
4:36 PM
you can ask
:)
TGIT
 
@Michael Is that specified in your code?
 
user7480455
cool... if I want to make a static view
 
user7480455
can I just click add view?
 
@Greg yeah the src part is
this: src="/Reports/ReportTemplate.aspx?ReportName=BulkUsageStatistics&amp;Height=850" frameborder="0" style="width:100%; height: 850px;"
I tried ~/
that didnt work
probably if i did ../../../ that would work
but then my local environment would fail i think
 
@007 static view? one with out a controller?
 
user7480455
4:39 PM
I guess yes? Or if I have a controller already can I just add antoher schtml file?
 
user7480455
I just want the user to browse to that page first
 
ya make you ActionResult XXNameXX()
Right click on XXNameXX and select Add View
 
user7480455
but when I click add view it ask me for a model
 
say no Model
 
user7480455
it will not let me
 
4:40 PM
oh strange can you take a screen shot of the page
 
user7480455
is the XXnameXX the controller?
 
no
the name of the ActionResult
 
user7480455
ok let me try that'
 
user7480455
I I clicked in the view folder
 
user7480455
ohh
 
user7480455
4:41 PM
so I need to make an action result function first?
 
Yes ActionResult function first
 
user7480455
ahh ok
 
user7480455
gonna do that... and see what happens... many thanks!
 
My coworker keeps referring to a "Stack Overflow article" and it disproportionately bothers me.
 
user7480455
it should be on the httpget right?
 
user7480455
4:42 PM
get
 
i'll take a few thanks :)
 
user7480455
Ha! I have plenty to give sir
 
Since when does Visual Studio's output window just truncate the start if it gets too long? >:(
 
5:01 PM
welcome to 2017
jk i actually don't know
 
I think I figured it out @juanvan
 
Sweet
 
5:33 PM
@007
@mikeTheLiar lol yeah, 'article' right?
 
user7480455
Hi Steve How are you sir
 
@007 how are you sir
 
user7480455
5:49 PM
HI there Jab
 
user7480455
I am well and you?
 
peachy
 
user7480455
Fantastic!
 
user7480455
Just here waiting from my shuttle craft to pick me up...
 
That explains a lot.
 
user7480455
5:51 PM
Gota make the Kessel run
 
@mikeTheLiar his kind is not our kind
 
user7480455
is mike talking junk about me still? S
 
user7480455
That guy is a nut... I recommend he tries this new product I found at market call Iggnorax... its only 4.99... it can be found at any High Street Retailer....
 

« first day (2385 days earlier)      last day (2578 days later) »