« first day (1153 days earlier)      last day (3802 days later) » 

5:00 PM
@TravisJ Siding with caution is a safe bet ;)
 
That is pretty legit
 
@rightfold nice, faster than on my machine
afk, back to grind
 
@ton.yeung... I doubt I could even figure out how to set something like that up...
Psssh
I am also taking off the week of Christmas :)
 
user1804599
What's so nice about WPF?
 
user1804599
I heard people say it's nice.
 
user1804599
5:09 PM
Would you use it for anything that doesn't need fancy graphics?
 
Welp... no one here knows anything about nservicebus
Everything is talking about web applications
@ton.yeung When I looked up some info
 
@rightfold I wouldn't use WinForms ever
WPF is nice, especially for data-driven apps.
 
@rightfold XAML is awesome
 
user1804599
How about ASP.NET MVC?
 
user1804599
Why?
 
5:22 PM
@rightfold - Why is mvc awesome? Not sure if serious.
 
user1804599
ASP.NET MVC.
 
user1804599
I know what MVC is and I know why it's good, but I'm asking about ASP.NET MVC in particular.
 
Yes I got that part.
I wasn't sure if you didn't know why asp.net mvc is so good.
 
@JLott What do you need to know about nservicebus?
 
From the little I know, I'd say MVC is for data-driven websites, and WebForms for simpler stuff.
 
5:23 PM
@RyanTernier Why I should use it
 
Question is do you need it, do you require it? DO you have customer needs that need that level of SOA?
It's very similar to WWF / BizTalk
without the headache of setting it up
but if you're looking for something to just Queue messeges, and run them at a later date, MSMQ might fit your needs as well
 
@rightfold ASP.NET MVC comes, in contrast to many other frameworks, with pretty much everything. Asynchronous controllers, model binding, social authentications, powerful templating, client/server validations, compile-time checking on code+views, rest apis, easy routing, and pretty much a ton of other crap I forgot
 
Brokers (BizTalk, WWF, etc.) make versions updates and upgrades a bit difficult
 
Basically, we need an alert system in our application for errors that occur. These errors will be displayed in a nice widget for our clients and we will be notified if certain errors occur. @RyanTernier
 
Service Bus' allows for easier updates, maintenance.
What is the platform the errors show up on?
 
5:27 PM
Windows C# WPF application
 
An error would happen on your server, and you want that pushed to the client? or an error on the client and have it displayed?
 
Either.
 
I think NService bus would work, but so would using a chainsaw to prune roses.
 
O.o
 
it might be overkill
Unless you have plans in the future to use it in other aspects of your system
 
5:29 PM
We are going to set it up right now to work with database triggers and then we want to code it for use with scripts
And we might, especially with us getting into web applications on mobile devices
g2g off work
 
Is there a standard way to return both HTTP code and a JSON result?
 
@LINQ2Vodka Yeah, return a 200 OK and some content in the response body
 
:) i know this way. But what about standard HTTP code?
 
200 isn't a standard HTTP code?
 
is it podsible to return 403 with an object?
 
5:34 PM
What do you mean?
Sure
 
i mean not in data body
 
@KendallFrey - Do you use knockout?
 
Nope.
 
booo :(
Stupid binding.
 
All sorts of sites have custom 404 pages; those obviously return custom content with their 404 code.
 
5:36 PM
ah, ok
the problem was that you can chose either HttpStatusCodeResult or JsonResult as an answer, but i can set HttpContext.Response.StatusCode directly and return Json
 
lol @LINQ2Vodka i LOVE your name!
 
everybody does :) thanks
 
If you look at 50:49 in the video, you will see that SampleTypeProvider inherits from TypeProviderForNamespaces. This class hasn't been released yet. How am I not surprised?
 
Well that was terrifying.
I thought I lost my SO account.
ClaimId shut down and that's the only access I have to this account.
Thank god for cookies!
 
wut
how...
 
5:44 PM
How what?
 
Is that some oauth thing?
 
It's a shared login service before FB, Google and everybody else started doing that.
!!wiki OpenId
 
@SpencerRuport That didn't make much sense. Use the !!/help command to learn more.
 
hey Kendall
 
OpenID is an open standard that allows users to be authenticated by certain co-operating sites (known as Relying Parties or RP) using a third party service, eliminating the need for webmasters to provide their own ad hoc systems and allowing users to consolidate their digital identities. Users may create accounts with their preferred OpenID identity providers, and then use those accounts as the basis for signing on to any website which accepts OpenID authentication. The OpenID standard provides a framework for the communication that must take place between the identity provider and t...
 
5:46 PM
or Spencer
 
Hi Scott!
 
what up
 
@ScottSelby Hi Scott
@ScottSelby Or Jon Skeet
 
yo- what is up with Delegates??
I'm reading Skeet's book and have some questions about delegates
 
Delegates be delegatin.
 
5:46 PM
go
 
hold on let me get the sample code
like this:
Func<string,int> returnLength;
returnLength = (text => text.Length);
Console.WriteLine (returnLength("Hello"));
why would I ever do that? what is the difference / advantage , compared to just writing a function that is called return length?
 
Writing a function inline is shorter than writing a whole new method
 
myButton.Click += returnLength;
 
It's most useful for LINQ
 
etc.
 
5:48 PM
exactly
I've used delegates in web forms for event handlers , beyond that delegates are useless to me
 
So you can do Where(customer => customer.Name == "Harry Dick")
 
I was trying to see if it's just me , and something I should learn
 
quite useful for code golfing
 
Kendall, I see , I do that all the time
I have just never used C#2 style of declaring delegates I guess
 
I'm trying out some web application penetration test tools. Anyone own a site that I can poke at?
 
5:50 PM
Fanfueled.com
 
@Billdr nsa.gov
 
Is that honestly yours Scott?
 
hey - one more random question
Billdr, It was untill 4 weeks ago , I mean I was the lead developer untill 4 weeks ago
but I can text the dir. of Technology if you break anything
 
I'd rather not risk it. There appears to be money at play there.
 
hey - how do I set up a windows user account that can only visit one website
@Billdr - I own a couple other , but they are down right now ,
recoverymeetings.org
 
5:53 PM
@ScottSelby waaat
 
@ScottSelby You should be able to have Active Directory restrict internet access only to particular site; otherwise they are all blocked.
 
Hrm. Set up that user's group policy so that IE doesn't allow shortcuts or access to the address bar and then set it's homepage to that website?
 
@Greg - any idea how to go about that?
 
@Greg AD can do that??
 
@Greg that would be awesome if that works , it's win 8 by the way , I'm going to give it a shot
 
5:54 PM
@Mike Yeah, it usually has to be coupled with another approach. But that approach will use the Active Directory Domain Permissions.
 
Does it only affect IE?
 
@ScottSelby Is it a personal computer? Or apart of a domain?
 
personal
it is going to be used at a hotel conference for the public to come up and register
and I only want them on one domain
 
ah, kiosk purposes
 
exactly
 
5:56 PM
Scott, your control panel form is free of sql injection bugs. That's about as far as I'm willing to go.
 
@Mike No, it should affect all browsers. Essentially it will look at the workstations IP Address, which will have it become blocked. Once the request is made, the router will obviously get it but the server will see this Domain and the security implications put onto it, and bam lock it out.
 
Which auditing toolkit are you trying out @Billdr ?
 
@ScottSelby An example. superuser.com/questions/537837/…
 
@JeroldHaas That was just SQL Inject Me. I want to do something with OWASP-ZAP
 
5:58 PM
@Mike It is essentially triggering a fake proxy.
@Mike I haven't done it in a long time though, not sure if it is still valid approach.
@Mike Your approach might be better, since it is a personal computer.
 
"Internet Explorer Kiosk Mode can be enabled using a Group Policy setting if the computer is part of an Active Directory domain." social.technet.microsoft.com/Forums/windowsserver/en-US/…
If you want to prevent the user from hurting the system, Linux might be more appropriate. Just found this webconverger.com
 
@Mike Why can't you just install the application to a Guest Account and force IE into Kiosk mode?
@Mike You could even use an application called Squid, which is free. Create a Proxy that will force that Guest Account to not be able to do anything on the internet, plus by default that Guest Account won't be able to access any of the cmd functionality as they won't be elevated or be able to elevate it.
 
Squid still hasn't lost its relevance.
 
@JeroldHaas What do you mean?
 
I used that for caching a 33.6kbaud modem connection ten years ago @Greg
I've seen it used in so many diverse ways I don't see how it could ever be obsolete.
 
6:13 PM
@ton.yeung Yeah, that makes sense.
@JeroldHaas Oh, yeah. It is awesome, I haven't used it in a long time.
 
tosses @ton.yeung a troll snack
 
I'll settle for a nice elk steak, with a black cherry compote with a root puree. Or a burger and Fries.
 
@ton.yeung compote n. Any mixture of herbs, tobacco, and pot rolled into a cigarette.
 
Whatever puts hair on your chest
 
@ton.yeung enjoy your pad thai?
Or went elsewhere?
understood
Mine was leftover from last night, so distributed to same cost as mc d
It's not a small bowl of take-out.
 
6:25 PM
looking for some tips on converting a existing windows app to multi tenant.
 
Over-eating does not a man make.
Thank you.
 
@ton.yeung ok , i believe i should set connection strings at run time bAsed on the client. \
oh, so based on tenent_id i fetch connection string and work ?
i am wondering why do they make multi tenent WINDOWS application ..
 
@codebrain What do you need to do? don't just "implement" multitenancy because a buzzword caught a managers ear
Multitenancy with a windows application?
So one application can be used by multiple clients, or one application can use multiple client configuration/databases?
 
@Ryan That's what happening i think. yeah, we have a windows application running for years now. All of a sudden they say they want this windows app to be multi tenent.
wondering windows app like SaaS ? sounds stupid to me.
 
@ton.yeung Yeah, a loan for a house is a huge deal. I had to jump through an assortment of hoops.
 
6:32 PM
@codebrain Multitenancy is used mainly in cloudcomputing. Giving a serrvice application the means to work with multiple Tenants
 
@RyanTernier mmm
 
lol its not bra.
 
awwwwwwh
@RyanTernier buttcomputing!
 
@RyanTernier yes, i understand. :)
 
Who's they? Do "they" know what multi tenent means?
What does your app do currently?
 
6:35 PM
My manager and client.
@RyanTernier its a mediacal application. health care. Like from appointment to billing it got all the modules for a hospital.
 
ok
do you just take care of the client portion? Or do you maintain the server portion as well?
 
We maintain both.
 
On a side note I haven't drawn in years, I picked up a pencil and started sketching and I came up with a flawless rendering of Wonder Woman. Now to actually shade her, so she looks real.
 
kinky
 
@RyanTernier I have a relative who loves Wonder Woman, so I'm sketching her a perfect rendering for Christmas. Help save money.
 
6:39 PM
I am confused, how they serve an windows application as multi tenent ? its installed on Client's machines in their hospital. awww..i just dont get that. windows + multi tenent.
 
@ton.yeung Doubtful, Wonder Woman is pretty skimpy outfit. @JLott may wear it for her husband, but I don't think in public for Halloween.
 
@codebrain I think you need your manager to define what he means by "multi-tennet"
 
@codebrain The change would need to take place on both client and server
But you need more requirements than "Make it this way". What do they want to achieve, what are the end goals?
 
They didnt provide any documents neither requirement. i just got a mail saying , debug the refresh the applcation, you gonna make it multitenent :\
 
@RyanTernier obviously the end goals are to make the app multi tennet ;) /s
 
6:42 PM
If the client is asking for it, the client must have a need they need fullfilled.
 
yeah i ll check with the requirements and what they actually need by tomorrow.
 
@ton.yeung She is engaged, so she will be soon.
 
multi tenent on your app pretty much means:
-SEcurity so client A cannot see client B's data
-configuration so any type of client can use the same application, but sign into different configuration sections and data locations
-Robustness/higher availability - if one client goes down, it doesn't mean all clients go down.
-etc.
 
@ton.yeung Based on her, her fiancee they might as well be married.
 
yeah i understand the concept of multi tenency. It very well suits web app.
 
6:46 PM
@ton.yeung Well, if they live with each other long enough they could fall under Common Law Marriage before hand, semantics you mention though.
 
windows applcations are installed in every computer in hospital and we have the server and database. if multitenent to be implemented, still the applications will be installed in their computers. so they have access to different database. cant use the app in remote server isn't it ?
 
@ton.yeung On a side note, I got an update to my Xbox One which fixed some issues people were having, and one I was having. I also ordered an antenna that is compatible to control with my Xbox. So now I can say Channel Up, or Goto KRCW and it does.
 
@codebrain Please tell me the client apps don't access the database directly, do they?
 
codebrain, are the databases installed in the hospital too? Or are they in a central location?
 
They dont access directly though.
 
6:48 PM
... i love (really i despise it, want to burn it with hellfire mixed in with napalm and He-Mans sword) some of the ugly code that was written here
 
Hi all
I am trying to assist a friend with stackoverflow.com/questions/20549744/…
but everything looks right. I am thinking its another function causing the issue
 
@ton.yeung You really searched so you could ensure my argument was null didn't you?
@ton.yeung California is like five or seven years.
 
put a ring on that finger...
Canada it's like 4 months/2 years depending
or tatoo it :)
 
@ton.yeung Where you buying, Texas?
 
Marriage is tough....this is my second. If your thinking of buying a house be sure the marriage is a sure thing otherwise she will own a house and you will be making payments while living in a trailer
 
6:54 PM
@ton.yeung It can be, but you still need a house to live in for yourself though.
 
@ton.yeung i brought it after
and she did not work
@ton.yeung if you aint no punk holla we want prenump
lol
 
@ton.yeung Buying and selling real estate.
 
@greg can I get you to look at something for me?
i am trying to help my old lady's friend with her project and she is using dnn. but it looks like everything is right
 
Symptom: red forehead, Cause: facepalm, Cure: stop reading questions linked from meta
 
@Skullomania Um, okay.
 
6:56 PM
shes just having trouble attaching a excel spreadsheet to an email
@Greg if or when you have a sec
 
Oh right, multi line doesn't convert links
 
0
Q: Trouble with attaching gridview to email in DotNetNuke

user6225I was looking around and found this. It is quite similar to what I want to accomplish the only problem is that when I run the script nothing happens unless I remove the { attachment } line. However, if I remove that line I do not get my attachment. private void SendEmail() { StringBu...

 
Is this for a module you are writing?
 
no. I was doing something similar and ended up ditching it....I helped her out with the sendEmail function
 
Odd question - Is it possible to have the code report what version of the .NET run time environment it's being run under? I think it's using the 2.0 instead of 4.0 but I'm not certain. Nothing in the Reflection namespace jumps out at me
 
7:02 PM
it works as far as pdfs go for me...but as of late I have been having trouble just attaching the dang on spreadsheet to the email...so I make another module that someone download or export the gridview from
 
<3 dilbert
 
hola
 
So, I tried AngularJS. And I'll admit it. I like it now :o
 
the pain of having a super fast PC - when you generate random numbers, you sometimes get the same number.
 
is it like crack?
 
7:08 PM
@RyanTernier Has nothing to do with speed, and everything to do with operator intelligence.
 
@Skullomania Does the server allow the MIME type for excel?
 
let me look and see
 
It's crazy how much effort and research has to be put into things like the internals of Random.Next() (or more formally, the cryptographically secure Random)
And all those PhDs and years of research are distilled to a single function call.
 
@Skullomania I see it as inherited.
 
7:11 PM
is that not what we want?
 
I've never had it as inherited, I've actually had it added as its own area.
 
Can't just chain Random.Next() into a Distinct? @RyanTernier
 
@JoshVarty The big issue with a lot of security, is if someone knows the algorithm, they can predict what cypher's are used.
@JeroldHaas .NET 2.0, but i found my issue. My Random was within the method generating the random string, which means it was using the same seed when called directly after the previous random was gotten. Because of it it had the same value.
 
Have done that in a sense with Fwaffle, but haven't tried the Cwaffle equiv.
Oh. Ouch, and then, double-ouch.
 
7:43 PM
hi, is there a way that is considered "good" to perform an action, say, 6 times per second?
at t=0, make the call, at t=.16666 make the call, etc
 
@canisrufus in C#? sure.
await Task.Delay(166)
 
haha, oh
 
put that in your method call. loop it
 
well, that doesn't seem to account for the time it takes to run the task?
i'm doing something where a millisecond error would compound and ruin things
 
I imagine there's a way to record an instant in time, then you'd run your operation, and wait until that time point is hit.
 

« first day (1153 days earlier)      last day (3802 days later) »