« first day (1475 days earlier)      last day (3459 days later) » 

1:23 AM
wassup dawg
 
whats up monkey
 
tring to make forums using asp.
do i really need a ready made forum engine?
 
you trying to make like a vbulletin
 
vbulletin not really just a forum site
well somehow a semi social site. forum based.
 
1:44 AM
like this?
 
Why VS giving me error when i try to use z = await test.getNumberAsync("ddddd"); and my function is defined as public async Task<int> getNumberAsync(string channel) The error The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task'.
 
Hi, The error seems to be self explanatory ?
 
@LearningC needs some code
 
2:19 AM
oh hi
just had some errand to run
 
Do all webservices have to be written in VBscript?
 
2:52 AM
@work
 
3:32 AM
is the chat function included in forum engines?
 
 
4 hours later…
7:03 AM
hi guys
 
7:18 AM
yo
 
hello @Gotalove 0/
 
finally C# awakens
codemonkey \o/ shell
0
Q: Create Model from CodeFirst Database from Procedure

MohitHi i have an Existing Database, from which i want to use One Procedure's output to be as Model. The Procedure returns two types of result first in which if data had not satisfied the condition then following columns had been returning CurrentStatus|Reason if user had satisfied the condition th...

 
lol
where are all the people
are you asking how to map columns dynamically
your output is to be as model then binded to the razor page?
 
well that is the common scenario
@c0dem0nkey as you see in last i had written in last that i know that can be happen if i add a blank reason column there
but i want it without that how to handle it.
i want a dynamic result to be fetched and can be used.
@c0dem0nkey well ViewResult can be set if i know what is the expected output but since it can vary i wanna know how to handle it. as in Select new i can't query if it is null
but thanks for help
 
7:42 AM
hi im new to c#.
does anyone uses data access telerik?
 
Hi and same here
new to C#
 
8:05 AM
@Mohit Dynamic columns goes against what static typing stands for. Just map both columns to a POCO and check if the second column is set or not. If you're determined to go dynamic, dump EF and go for a dynamic data provider such as Massive (not recommended IMHO).
 
8:33 AM
Ok Thanks
 
I can see flying airplane over your head :P
 
good morning
anybody knows about sorting list of <T> objects?
I have objects that has got two properties: index and sideIdx. I would like to group them by sideIdx and order by index ascendant
Anyone has a good answer or knows a good tutorial about it?
 
5
A: Group objects in List<T> by id and order the List by duplicateCount for each object

Mikael ÖstbergThis will work like you requested: var list1 = new[] { "u1", "u2", "u3", "u4" }; var list2 = new[] { "u2", "u4", "u5" }; var list3 = new[] { "u4", "u6" }; var allLists = list1.Concat(list2).Concat(list3); var result = from u in allLists group u by u into g orderby g....

 
Thanks Shell
 
@Shell, your friendly interface to the world of Google
 
8:49 AM
The post you gave me does not give as result another list of same objects reordered
The GroupBy() groups objects by a property
 
@RoelvanUden yeah btw, Happy Birthday belated.
 
but the OrderBy() does not allow to choose a property of the object
 
@Shell Thanks :-)
 
Happy belated Birthday @RoelvanUden
 
9:01 AM
how to access then each element of reordered list?
do I need to use var?
because I need to access to properties of object
I've done the following: var orderedList =
list.OrderBy(u => u.bracketPointIdx).GroupBy(u => u.sideIdx);
but now orderedList is of type System.Linq.GroupedEnumerable
How can I return to a List<T> ?
 
@Mohit
 
With .NET (Visaul Studio), when we publish, we can check the option to look for updates. This means, every time we start our application, it will check to see if there is an update, and if there is, we can install it - this works fine.

However, I'm using InstallShield Express - does this have the same option? My google searches prove nothing either way?
 
good noon bro
i have small doubt @Mohit
shall i ask u?
 
9:33 AM
@Mehmood
good noon
i am developing xbox 360 apps
i have small doubt
how to build xbox 360 apps and how to run the emulator
if u have any idea plz tel me
help me any body
 
Do You ?
 
@Dave @FrancescoDS @CustomizedName
@CustomizedName
yes bro
if u have any idea plz tell me
 
which country are you from
 
india
 
yes @user3419311
 
9:39 AM
@Mohit
tell me bro
 
yup
 
have u any idea about xbox 360 apps
@Mohit
 
same answer that @Cool gave you
 
means what?
@Mohit
 
in asp.net room
 
9:41 AM
oh ok
 
@user3419311 you can directly call me at ASP.NET Room, i am more active there.
 
Morning dudes
 
@Sippy Mornin'
 
Our management firm 'Capita' have pushed an 'updated' display driver to my laptop
My new native resolution is 1680x1050
 
@Sippy Uh...
 
9:55 AM
Yeah.
 
ok bro
 
This is on my DVI screen
Yano, the 1920x1080 one
"YEAH GUYS LET'S FIX EVERYONE'S WORKSTATIONS BY GIVING THEM NEW DISPLAY DRIVERS WE DIDN'T TEST"
fukin idiots.
Also this laptop has a quadcore processor and 16gb of RAM and it lags
Someone fucked up the image.
 
@Sippy raise a ticket. I'm sure it'll get reverted within a few months.
 
Hahaha
I'm wise to that procedure
Hence why I will be fixing it myself.
I rewrote everything I lost yesterday from TFS
I need to learn TFS.
 
So some JS devs in this city are starting a Meteor usergroup.
Is it worth me going along? Either to learn something, or to mock them?
 
9:57 AM
wats meteor
 
@Sippy use TFS shelving if you're doing a big check-in!
Meteor is TEH NEXT BIG THING
 
@Sippy @Squiggle hi
 
like, node.js on steroids but with more ROCKSTAR and more reinventing of the n-tier wheel
 
@Squiggle Is it actually good though?
Sounds like node with a front end
 
@user3419311, why are you pinging me? Do you want me to just stop everything to help you? Ask your question by all means, and if some one has the time they will help I'm sure, but pinging everyone 'demanding their attention' will only piss people off. I'm not here to do your work!
 
10:00 AM
@Sippy no idea. This is why I ask :)
@Gotalove hello there
 
@Gotalove hihi
 
@Dave
i am asking just have u any idea plz share your knowledge
thats all
its not mandatory bro
silly guy
 
I've been here 10 minutes and your manner is already annoying me.
 
also who actually uses "bro"?
 
This isn't that part of the internet where you get to be a random douchebag, if you want help, be respectable and respect those you're asking for help from.
@Squiggle I do bro.
 
10:06 AM
+1
 
@Sippy I thought you were more of a "buv'" kinda guy
*bruv'
 
@Squiggle I'm a 'bled' kinda kid.
 
C'mon m8, b kool
 
Guys don't use silly slang.
 
he he he, look at me go
 
10:06 AM
bled.
 
blud
 
@Dave Lol my dad does that in texting.
Makes me cringe.
 
I have to admit, I don't use 'text' slang (or what ever it is called). Even my texts are written in full
he he @sippy
Actually, my grand mother got her first tablet, she's in her late 80s, and her first ever email to me said something like "Hello, this is your grandmother, I'm trying to send an email lol "
LOL????? I couldn't believe it
I demanded she stopped that and acted her age ha ha ha ha
Slightly sweetly, for her, LOL was her short hand for lots of love
So, now I feel like a twit!!
:)
 
@Dave I was about to say, lol means something entirely different to that generation
Causes some awful misunderstandings
someone posted a funeral status on facebook, and her other grandmother posted something like "so sorry lol"
 
roffles
 
10:13 AM
@Sippy, I've only just stopped laughing. Yes, i'm probably going to hell for laughing but that was funny
 
Haha
We're all going to hell in someone's religion.
I hope this display driver works :(
 
You need a display driver to work in hell? Planning to catch up on movies?
 
Argh. Paper is shit. Why do we still use paper?
 
@Dave Hells yea
k it didn't work
Lol
 
he he
Paper - I heard about that. It's the internet written tree's ?
@Squiggle, new Red Dwarf in October ish time 2015
 
10:16 AM
Government still uses paper
Not sure why
 
in United Counties of Kingdomshire
 
Is it gonna have Charles in it?
 
@Dave it's the flat, white rectangular stuff that old people use.
 
hahaha @Sippy I like that->We're all going to hell in someone's religion.
so true
 
@sippy, yes, original cast from what I've read
 
10:17 AM
@Dave interesting!
heh it's not like the original cast are doing much else these days.
 
@Dave Haha. That could be ridiculously interesting.
 
:)
 
my mum joined whatsapp before I knew what it was.Deeply embarassed
 
@Gotalove that is embarrassing.
 
Craig Charles is a DJ, Danny is a jobbing actor who appeared in Blade 2 a long time ago. Robert Llewellyn is driving a car around doing celebrity interviews for his youtube channel.
 
10:19 AM
I think I might be some kinda app-hipster
 
what's Chris Barrie up to?
 
Well, the last series was actually very good IMO, because it was done by one of the creators (so the humour was a return), so hopefully next will be ok. Obviously, Danny's movement is somewhat stiff compared to his earlier days :)
 
I don't like using old apps, but I hate getting new ones that everyone else uses.
 
delete plz questions/26634903
 
I didn't get Snapchat till one of my exes literally downloaded it to my phone and made me an account.
@Dave Are all the cast still alive?
Fairly important question lol
 
10:21 AM
@Zorgatone you're a derp.
 
Indeed I am
 
@Sippy They're not that old
 
:)
 
@Sippy, yes, just less mobile :)
And more stops to the toilets during filming but other than that, all good
 
Hehehe
@Squiggle Craig Charles is actually a really good DJ lol
And he goes mental while he's playing which is fun to watch
 
10:23 AM
DJ for what type of music?
 
@Dave Pretty sure it's house music
Or garage or something
 
I guessed it would be some varation on techno , not sure why I thought that though
 
He has a Funk and soul radio show
But I've definitely seen him play edm of some form before.
 
... radio.... radio.... radio...... You mean. No. Wait. Why?
 
I went to one of his live DJ sets
 
10:26 AM
Do warehouse managers like funk and soul?
 
wasn't bad, but he didn't actually turn up until 00:30.
 
@Squiggle Drugs are bad, mkaaay?
He's usually on coke lol
 
Yeah
 
I love not being able to do any work lol
Waiting for client to come back with spec
He emailed my PM yesterday saying he can't talk to me until at least next week
@Gotalove If you like that just wait till I start selling tshirts ..
 
I hate not working! And I hate source control and clear case!!!!!! They are a needed evil, but, my goodness, these types of programs hate me
Ooooh, I have to go and do some training. That sounds like it isn't fun and it won't be. Bye
 
10:29 AM
@Dave Ooo enjoy!
 
I'm doing UI mock-ups. It's fun, but I only have half of a spec.
 
@Squiggle When I start my super successful business I'm gonna hand my clients a template spec
And tell them if you don't fill that out, I'm not doing ANY work for you and you can die for all I care.
jk, but please fill that out.
Relentless contains 60% of my RDA for sugar.
nice.
 
@Sippy my strategy was to just lock myself in a room and not release them until they had agreed to something tangible.
 
hehehe
 
@Squiggle That's also good.
 
10:36 AM
This design work is tough because I have 4 different clients in the business, only two of whom I have been able to speak to.
 
I refuse to work without speaking to end users.
 
general question a normal website vs well done bootstrap website will load time be that much of a difference?
I used a bootstrap theme sometime back but i think I f*d it up coz the load time was ridiculous
comparing to when I tried using basic html and css
 
Bootstrap load times shouldn't be noticeable.
 
a bootstrapped website is a normal website
 
Obviously using your own CSS and HTML will be faster, but not fast enough to notice.
 
10:43 AM
faster to load, but slower to write :)
 
Right
I always use bootstrap now :D
Looks pretty
 
okay so maybe I messed up coz I had 2 broken links plus it was those one page website themes
I love it too elegant look
 
10:59 AM
@Gotalove did you find what was causing the slow-down?
your browser's Developer Tools is really useful to profile that sort of thing
 
My boss just decided we do a different one and since I was new to bootstrap I just shrugged it off :-P
 
One thing to look for is external dependencies that are on unknown domains
like <script src="http://cdn.doesntexist.com/j/something.js"></script>
 
It was like this kind of theme startbootstrap.com/templates/agency
With a place where internet speed is an issue those one theme pages have too much js graphics they load slower
 
@Squiggle That's one of the reasons I try not to use CDNs
Especially if they're external.
 
so local copies are most reliable.Havent use cdns myself
 
11:23 AM
Usually, yes.
 
ok noted
 
If you work for a relatively savvy business, they'll have an internal CDN server anyway
 
@Gotalove There won't be much difference. Use a CDN (point of interest: a different domain/proper usage of a subdomain to avoid sending cookies and whatnot with requests for static content) and GZip, static caching, versioning, bundling, and don't include stuff you don't need. Performance with bootstrap can be very good, better than hand-rolling crap.
 
user1804599
11:48 AM
boo
 
I NO WANT TO GIF U MAI PASSW0RD
 
You don't have to
but you won't be able to see any results if you don't
feel free to read the code
 
@KendallFrey This is cool but what is it useful for?
 
entertainment
 
Fair lol
 
12:07 PM
> k
There are a suprising number of these single letter commits
 
Wow this is entertaining
The chinese don't seem to get comments.
 
And then there are these
just too long for chat :(
> Made Tube Always Have Curves The tube now always has curves based on the turnangle, rather than having them between 0 and turnangle.
> 123
 
Did you not see that one? Lol
 
yes
i tried pasting it
too long
> little bug fix little bug
ahahahah
> be better be better
> Last commit
last?
 
@RoelvanUden about using a CDN I saw a number of sites giving disadvantages of CDN vs locals so perhaps lets narrow it down to say for jquery CDN vs local in your opinion also directed to @Sippy and @Squiggle
 
12:17 PM
@Gotalove It's all about knowing your tech. There are surprisingly little downsides to CDNs, other than having to take care of versions.
 
@Gotalove jQuery CDN isn't a bad idea, will probably speed up loading time
The disadvantages of CDN are contextual, like Roel said.
 
okay thanks both of you those are satisfactory answers
 
Hi guys ... :)
guys any idea how does windows detect that it has limited connectivity or No internet connection (that yellow sign which appears on the Network )
?
 
12:33 PM
Do you really want to know how it discovers it, or are you really looking for how you can react to it?
 
Why would you wanna know that
 
Because it's interesting is a good enough reason
 
I bet that's not the reason.
 
just trying to establish what the real need is
 
12:45 PM
@bhuvin I can help you with that. I wrote an app that can detect if there is a connection, if it's not working etc. I just need to find where I saved the file and I'll upload it for you
There are built in methods for this. It's simple but hard to find docs for
 
@jay_t55 : thanks man ...
@TomW - Actually how i can React to it is my goal , but its imp for me to know ... Its amazing how does it do the same ...
 
This describes the connectivity API
 
 [DllImport("wininet.dll", SetLastError = true)]
        private static extern bool InternetGetConnectedState(out int lpdwFlags, int dwReserved);
        public static bool CheckForInternetConnection(string strUrl)
        {


              int flags;
              var isConnected = InternetGetConnectedState(out flags, 0);
              return isConnected;
}
 
* a connectivity API
 
@bhuvin
 
12:47 PM
Does any body know any good library for graphs in real time for .net 3.5
 
@juanvan - yeah ?
 
see the part above
 
Checking the same out ...
@juanvan : gimme a moment will get back to u ...
 
@bhuvin Important for you to understand why?
Cos it's interesting?
 
@Sippy : Yup ...
 
12:51 PM
Fair.
 
@Sippy see!
 
we are devs ... Curiosity is the best teacher ... :)
 
Lol
To me that seems like a weird thing to be curious about
To each their own.
If I was gonna do connectivity checks I'd do them myself, not using windows.
Especially as the state for windows connections isn't always perfect.
 
@Sippy - Coz of checking the same is another Json serialization call to go for me ... besides that the handling has to be splitted thru try-catch ...
 
?
 
12:58 PM
@bhuvin brb I think I found it
 
1:11 PM
@Sippy : actually to hit the Server, I need to Serialize a object to Json , again in case it is found then in that case it will throw over, hence i cant just fail over into the System but need to handle the Same, with appropriate method. So thats why i prefer knowing the Status. Besides that i have got a Parent Cron , and Child Crons which are running , If there is just an event i could just stop the other crons since they will any which ways need Internet Connectivity ...
 
I couldn't find my old project but I did manage to find this for you errorfunx.blogspot.com.au/2012/02/…
 
how can I get .mp4 play length using javascript or .net?
 
@JoJo use msdn.microsoft.com/en-us/library/windows/desktop/… to get duration in seconds
 
oh wow.. is that available in C# or just C++.. awesome
 
@jay_t55 - Its hitting google ... actually windows doesnt do that ... (as per i guess it ... )
 
1:14 PM
it needs to be for web..
possibly FileStream?
 
@JoJo MP4 is just a contain for some kind of codec. You'll need something that understands the container format and the numerous codecs it can encounter. It's anything but a trivial problem. Look for either a dedicated library or use an external tool that does exactly this (like mediainfo)
 
awesome
that was really cool, ty for helping
 
@JoJo : videojs.com
check this out ...
this shud help ...
 
kk ty
 
1:32 PM
@bhuvin the connection work?
 
hm ?
 
the function
 
@juanvan : you also check this one out ... msdn.microsoft.com/en-us/library/ee264321(VS.85).aspx
as forwarded by @TomW
 
ahh Vista and fwd
that other one is 98+
 
@juanvan - well this i feel is better than the DllImport ... :)
 
1:39 PM
Ya - the one I updated that too was using http request to find google and report back the codes
that was UGLY
 
2:00 PM
posted on October 30, 2014 by ericlippert

There are lots of topics in both practical and theoretical computer science that deal with graphs, lots of different kinds of graphs, lots of ways to represent a graph as a data structure, and lots of operations you’d want to … Continue reading →

 
2:18 PM
in JavaScript, 26 secs ago, by Sippy
Best way to render partial views based on group membership checking: go!
 
2:54 PM
hm.
Depends how your partials are defined. How are you associating partials with groups?
(also - this room is quiet!)
 

« first day (1475 days earlier)      last day (3459 days later) »