« first day (2351 days earlier)      last day (2599 days later) » 

12:13 AM
@SteveG It's like await, if that helps.
 
yep totally
 
 
2 hours later…
2:30 AM
this guy
did a task to complete 'adding Jobs to the project'
his code compiles but doesnt add anything, full of errors
now he is on holiday lol
I wonder if he has pending changes on his pc or something, because there is no way this is ready for review
 
his compiled but none synced with they branch with latest code?
The off day must first to be take responsible in teamwork. Maybe you can calling him and asking for teamviewer or something.
 
nah, it's all good, I'm going home soon and it isn't a priority item
either he didnt commit his final work, or didnt push it or put the card up for review in jira by mistake
We'll mock him on Monday
 
 
2 hours later…
4:54 AM
If Kieran is on the star board, does that mean he's not on the port?
 
 
2 hours later…
7:12 AM
ohayou
 
7:35 AM
morning :)
 
8:02 AM
Morning.
Just found this question about programmer jokes. Some of them are actually pretty darn funny.
 
I flaged this. Averyone beware this link.
 
it's Friday!
 
stackoverfiow redirecting
chome and my firewall both blocked this website.
 
hi
 
The link is perfectly safe.
 
8:19 AM
Okay. I think you are bots. your speak are too intact just like bots = ̄ω ̄=
 
Caprica Six is the only bot in here that I'm aware of.
!!jhmckimm
 
18 hours ago, by jhmckimm
It melted through the grill in the oven. Like... The dough. Melted.
 
posted on March 24, 2017 by Scott Hanselman

There's a great feature in Visual Studio 2015.3 and Visual Studio 2017 that is turned off by default. It does use about ~10 megs of memory but it makes me so happy that I turn it on. It's under C# | Advanced in Tools Options. Or you can just type "Advanced" in the Quick Launch Bar (via Ctrl+Q if you like) to jump there. I turn on "Suggest usings for types in NuGet packages" and "Suggest us

 
no! my vs2017 wont give me Tuple NUGET when I declared tuple types.
 
have you tried turning it off and on again?
 
8:21 AM
Oh, I just realise its Friday today! How the hell have this week gone so fast? D:
Then again, not complaining
 
...Just install it from searching...instead of reopen it are takes lot of time
whatever, maybe their VS version are so new = ̄ω ̄=
 
@jhmckimm there actually exists a question like this on SO and i had a little hope you actually found it
 
Yes, it's that question. I just copied the link to it and swapped the L for an I.
 
does it mean i can swap it with another letter like m or n?
 
No, the domain is stackoverfiow.com and it just redirects to rebecca.blackfriday
Some people don't take too kindly to it: http://prntscr.com/entr32

:P
 
8:31 AM
lol, just read the SO survey report and there are 2.0% people do not pronounce 'GIF' as 'gift' or 'gee eye eff" or 'jiff'
what else can you pronounce it
 
Wait, what?
jhife?
Like knife.
 
as 'gee-if"
?
 
I pronounce it with the hard G.
 
which is one of the 3 possible ways
 
Oh, I just got that email.
 
8:33 AM
but 2.0% select 'another way to pronounce it'
 
Trolls, surely?
 
yup
 
Seeing JS at the top makes me sad.
 
how so?
 
JS drives me nuts.
 
8:40 AM
too many js frameworks and libraries?
 
@jhmckimm it's more funny that way >D
 
Hello!
is it better if instead of wrapping code inside if I will check for false result instead and return; ?
 
hello everyone
 
most loved programming language: smalltalk ranks as 2nd... what?
 
@Mr.Noob it depends, if You want to separate different reasons why code returned "false". If It's a WCF service call, I would surely wrap it inside FaultException, because I want the exception level of WCF, and the exception level of my program.
 
8:47 AM
I'm trying to show user names from my sql table into a message box in case somebody forgets their user name but at every line i get the column name aswell along with the name...
System.Text.StringBuilder b = new System.Text.StringBuilder();
foreach (System.Data.DataRow r in msgBoxDT.Rows)
{
foreach (System.Data.DataColumn name in msgBoxDT.Columns)
{
b.Append(name.ColumnName.ToString() + " : \n" + r[name.ColumnName].ToString());
}
}
MessageBox.Show(b.ToString());
connection.Close();
 
@Mr.Noob so void, and return, or bool and return, or exception handling
 
I am working on wpf app, and I thought instead of checking if file exists for example and then wrapping all code inside this if statement I could just check if its not exists and return; do other programmers do that?
 
Yes.
 
yes
 
9:33 AM
Morn all
 
9:45 AM
@Mr.Noob yes
early return is love, early return is life
 
Hi. I am working on MVC. I am trying to register with email confirmation. I m getting error is SendMailAsync : An asynchronous module or handler completed while an asynchronous operation was still pending. "await UserManager.SendEmailAsync(userID, subject,
"Please confirm your account by clicking <a href=\"" + callbackUrl + "\">here</a>");" Can any one help me?
The register data is saving in database.
 
I know it's not related directly to your question, but don't generate HTML by string concatenation
 
Hi I am working on robotics using C#. Can someone tell me how to create occupancy grid map for robot localization using C#?
 
Sure. Do you know why that error is coming?
 
I created a grid using Grid class of C#. But I could not access the Rows property of Grid when trying to change the color of individual cells of the grid?
 
9:52 AM
@user7090664 sorry, not familiar with ASP.NET
but I hope someone else will drop by who knows
 
thanks mate.. hope so
 
In the mean time, did you consider investigating what "An asynchronous module or handler completed while an asynchronous operation was still pending." means?
not directly related to your problem but you can understand what might be causing the exception and find your specific problem yourself
 
@milleniumbug "don't generate HTML by string concatenation" why?
 
10:53 AM
Hi All. I am new to Telerik MVC controls. I want to export HTML content to PDF file using Telerik MVC controls. How can I do that? After digging into Google, I could not find any useful resource. All posts are talking about exporting Telerik/Kendo grid to PDF but I want some other html to convert into PDF. Please share useful resource if you have any. Any help will be appreciable.
 
If you were to make a site authentication system based on cookies (Set Cookie on login, later check if cookie exists AND contains the "correct" value), would you reach any kind of security? If no, how would you make it better? If Identity is the way to go, is there any guide online that i've simply completely looked over that I could follow, as the project i have started was started with no authentication?
 
War
@user7090664 did you fail to await the async operation?
@Mr.Noob it's considered bad practice
@TejasSutar you'll need to use a gneeral purpose html to pdf library for that, teleriks stuff doesn't do it for pages it does it for controls
@SteffiKeranRaniJ an MVCE would be helpful for this one
@Xariez the trouble with security is that there is no silver bullet solution, right now the "best practice within .Net" seems to be to use identity framework and go from there.
 
I always do try to use the Identity way of authentication but considering I'd prefer using Sqlite databases that i got plenty of experience in and, as far as local databases i feel like it's what works best, i never get it to coorperate like i want it to.
 
War
you can use identity with any back end
 
Oh i know I CAN
It's just I don't know HOW
 
War
11:11 AM
oh ok ... i read an article about that, one sec I will try and find it
I basically did the same thing but, weirdly still use EF
I wanted to put my Identity service behind a custom set of business services that I use ninject to construct
the only requirement I have for services is that they accept an instance of something that implements an interface I created (IDataContext) so I can swap out the EF part any time I like by changing an IoC rule
it's not too bad, but there are a lot of interfaces you need to be aware of to get it to work
 
@Mr.Noob The same way you don't generate SQL queries by string concatenation, you don't add numbers by manipulating strings, and so on
 
quick question, maybe somebody knows the answere to this
I've made and event for my main form, a closing event, but it sometimes asks me twice or even more if i want to exit
 
@Mr.Noob HTML is not text, it's a semantic tree of elements. Manipulating it as if it's text is wrong since a.) it allows you to generate invalid HTML b.) it lets others inject elements as will, see cross-site scripting
You may think escaping is a valid solution to this problem, but it's not since it relies on you to "not forget" doing it (spoiler: you will), and hence it's not correct by default
The real solution is to manipulate HTML not as text, but as a semantic tree of elements, with a HTML DOM generator
 
11:36 AM
Hey guys, I'm having a little trouble getting my head around an architecture. I have a DB that has a hierarchy. The Hierarchy has nodes and objects. The code says that Object<T>:Node<T> so objects are nodes
I have a genericv service<T> which maps entities to DTOs it also maps Dtos to Models
the problem I have is that
I now need to make logic that talks to the service but the logic has a base
so the base talks to the generic service
what I'm finding is that generics are spreading throughout the project
I've got types which take in <T,T,T,T,T,... because they need the types to tell their internal classes what types they should work with
generic classes calling generic classes
it smells bad
what do you guys do when you get into this type of situation?
 
11:58 AM
@War Thanks for your reply. Any good library have you came across?
 
@PrimeByDesign Use Haskell
 
@KendallFrey you're in a csharp room telling people to use Haskell! LOL!
I'm all for the functional programming model
sometimes I think object oriented code was a big mistake
why do we need the complexity of the real work in our applications?
A shark is a fish but a fish is not a shark
2
casting nightmares
 
War
@TejasSutar I think I use Gembox nuget.org/packages/GemBox.Document
it deals with OOXML too
 
War
Feb 27 at 15:07, by War
yesterday, by War
Feb 16 at 17:00, by War
50 secs ago, by War
@KendallFrey no-one gives a shit about haskell
 
12:10 PM
@War What is GemBox?
ahhh
sorry just reading it
very nice
 
War
lol
It's a pretty good package and the API is pretty clean from what I have seen of it
 
at work we used a component with spreadsheets that allowed us to use speadsheets as templates
 
War
i've not used all of it but the bits I have used haven't been hard to work with
 
we could then fill in the tables
 
War
if you're going to do that use razor or something
 
12:12 PM
it was great because users could change look and and feel
without needing to change code
just by changing the template
well
this was specifically for excel
 
War
a standard html editor and added BBCode style binding syntax might be enough
 
@War just use haskell
 
HAHAHAHHA!
 
War
5 mins ago, by War
Feb 27 at 15:07, by War
yesterday, by War
Feb 16 at 17:00, by War
50 secs ago, by War
@KendallFrey no-one gives a shit about haskell
3
 
12:38 PM
lmao
^
@AvnerShahar-Kashtan :)
it's going to be 70 degrees today, there is no way im working
maybe i should clean my jeep
 
Knowledge is knowing that a tomato is a fruit, wisdom is not putting it in a fruit salad
 
1:02 PM
Technically, tomatoes, cucumbers, peppers, olives, and avocados is a fruit salad. Which sounds delicious.
 
Sorry for the offtopic... Just got access to th Review queue but I see no link in the stackoverflow. Is there other way to get to the review page other than going through privileges -> queue -> queue link?
 
Isn't there a link on the info bar on the homepage?
 
Caching.
It's always caching.
 
@KendallFrey I do see no link... I could only get to the page through the privileges info
 
isn't it on the top right?
 
1:08 PM
second from the right, after the link to stack sites
 
Only way is thru the privileges page
that was intented to be a question xD
 
1:22 PM
File.Refresh() method only works for file attributes?
if I am reading last write date will Refresh() help me somehow?
 
"Application is not supported in a Windows Presentation Foundation (WPF) project"

Nice exception. Tho it builds perfectly
 
1:37 PM
This looks like a bug in metaexchange or in stackoverflow... I have 359 rep so cannot get the 'Access Review Queues' privilege (140 rep left) but in fact looks like I have enough rep to pair review 'Documentation: Proposed Changes'. An if, I direct access the link, I can review.
should I check if already reported and report if it is not?
 
how is it possible that my app use ~80mb ram on Win 7 but only ~22mb on Win 10?
 
both operating systems are on the same machine?
 
are you sure it's ram?
and not ram+cache?
 
Maybe it's ewe
 
idk win 7 is my pc and win 10 on VM
 
1:46 PM
Anyone here using SharePoint?
 
@Alex I'm trying to use my brain, that's already too much.
 
:)
 
:D
 
At one of the places that I worked, we implemented SharePoint 2010 for CMS (don't ask why!)
We took some 30+ departments and put their sites there
Now they're wondering whether to abandon SharePoint and go to something else or upgrade it
 
lol
 
1:49 PM
I'd say abandon ship on that
But not sure how much effort is involved moving to something better
Any C#/.NET CMS solutions you guys would recommend?
 
 
user7480455
Good Evening All
 
user7480455
Happy Wednesday!! YEs!
 
?
today is friday
 
tomorrow is saturday
 
user7480455
1:52 PM
5 more days And its Tuesday!
 
and sunday comes afterwards
 
user7480455
What side of the international date line you boys on???
 
user7480455
No way!
 
I'm on the same side as Greenwich
 
user7480455
Let me check my date time ob my Dell's clock
 
1:54 PM
where you are it's at least friday
 
user7480455
sorry mate sorry.... I was looking at the time not the date...
 
:D
 
user7480455
So I'm and trying to wrap my hands around what GET and POST really means... so I can choke it to death!! Any one have a GET and Post for kids.. that can clear this concept up as I have read many words but I still don't get it as it relates to the mvc
 
GET is solely for retrieving information, POST is for sending information as well
 
user7480455
that's what I thought
 
1:58 PM
get = get data, post = create data, put = update data, delete = delete data
 
user7480455
I had a guy on another forum say that I can use ajax to get
 
user7480455
can't
 
you can use ajax to get data, just the call will be HTTP GET
 
user7480455
the httpGet and HttpPost right?
 
user7480455
let me post what this guy how is a guru said...
 
user7480455
1:58 PM
sorry typed
 
user7480455
"You can not send json data via a get (MVC binding does not support this). You need to change to a post, or use urlencoded format (Ajax default)."
 
user7480455
I was offended!
 

« first day (2351 days earlier)      last day (2599 days later) »