« first day (1524 days earlier)      last day (3426 days later) » 
00:00 - 18:0018:00 - 00:00

12:11 AM
found it :D
 
need my btc address?
 
Haha :P Still seems off. I looked at the end of one of the streams, but the pattern seems to be mostly located to only one page
fin
 
12:56 AM
Why can't I call this method through SignalR? pastebin.com/6bCL2EWu
I keep getting the error message:
[09:57:03 GMT-1000 (Hawaiian Standard Time)] SignalR: 'TalkSmack' method could not be resolved. Potential candidates are:
TalkSmack(message:String):Void
at Microsoft.AspNet.SignalR.Hubs.NullMethodDescriptor.<get_Invoker>b__0(IHub emptyHub, Object[] emptyParameters)
at Microsoft.AspNet.SignalR.Hubs.HubDispatcher.Incoming(IHubIncomingInvokerContext context)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
I have also tried a variation of the client-side call:
smackChatHubProxy.invoke('TalkSmack', { message : message });
 
1:29 AM
@ReedCopsey , know ye anything bout SignalR? I am floundering here.
 
 
1 hour later…
2:59 AM
Soooo. I need to do something, but I don't want to use SignalR.
 
@MatthewH Oh, then you should totally try jQuery.
 
Hmm.
 
It's very great and does all things
 
Well how would I, from the program and C#, get that data immediately as the info "posts". Real-time.
 
comet
websockets, long polling, you name it
Don't ask me why it's called comet
 
3:10 AM
Hm.
 
I'm tired bye
zzzzz
 
can we use static constructor in web application? is that a good idea to use?
 
Okay, I'm going to take a risk and make a post on Stack Overflow :P
 
3:55 AM
Hey, anyone around?
No one? Okay, I'll guess I'll risk posting it :/
 
4:21 AM
Jesus, why is it every time I post a question. It gets put on hold or closed?
I'm really doing my best to explain and trying to simplify everything down. I'm also following the rules.
 
I am around, whats up?
@MatthewH Just to get your attention
 
Well I was going to post something here. But nevermind.
I'm just frustrated because of what I said earlier
 
Well, I am willing to lend a hand...
Otherwise I am going to head out and grab some grub. Maybe watch an episode of Twin Peaks.
Alright. Pork ribs and homemade Mac and Cheese win out. Catch you later.
 
4:36 AM
0
Q: Communicating between server and client in C#

Matthew HI have two items, a website and program. This is all what I want to do, keep that in mind. So, the user go to the website and on the website it has an input box for data, and a submit button. The user types "hello" in the input box and submits it. It posts the data like so... http://www.domain.c...

That's my post.
I'm just really trying to figure out an easy way to do it.
Maybe it would be easier with NodeJS?
 
 
3 hours later…
7:47 AM
Guys ... Cud i call a locally running web server from my https site ? how could it be made possible
 
8:13 AM
depends on what you want to do
@bhuvin
Is it a web service?
I've done something similar on a project I worked on a couple of years ago, a large scale integration setup.
The endpoint (wcf service) in a DMZ
Accepted data and put it into a message queue
To give a proper quick response to the caller (e.g. biztalk)
Then we had a service picking up the messages and running it through our internal web service and doing the imports and other stuff that needed to be done
Main reason was that we did not want to expose our internals to the interwebz
IIS (DMZ) -> message queue -> pipe through to internal message queue -> do internal stuff
But that may not be the same as you want :)
 
9:01 AM
hi guys
I need help in using skype api with C#
@scheien
Is there an option to login to skype with user name and pwd using C# code
 
No idea
Never used the Skype API
 
okay, thanks . I had used Skype4ComLib.dll
 
@scheien - Sorry man was off to a meeting ..
 
@bhuvin: np mate
:)
 
hello there I am having a weird bug in my form I have tried troubleshooting it but nothing seems to work(tablelayout does not show in runtime for only one form)
I tried using send to back and front. This has not happened before so i am a bit lost in what i should do to fix it
 
9:09 AM
winforms?
 
yes
 
Now its like a Website calling a locally running web server sorts ... Using Nancy for that ...
so now this website is running on SSL
 
oh wow so troll... for some reason it was set to false under visible-_- so for wasting your time
 
and since it will call the locally running Website it will create a Popup and hence confuse the user in terms of Security ...
 
Locally as in on the users computer?
 
9:17 AM
yup ...
 
9:28 AM
Hi peeps, is there a way to forcefully move and replace files without having to delete the existing files first?
 
close the process that is working on the file?
usually works
 
Good morning. Quick question about the DataContext please. Am I write in my understanding: There is only 1 DataContext but if were to visualize it, it would look like an XML file, with many nodes
 
@Broken_Code Already found another solution, but thanks for the sugestion
 
10:11 AM
o/
2
 
Hi @Sippy
 
Hi guys
@MyDaftQuestions - Cud you elaborate ?
 
Well, I am under the impression (from my research) there is only 1 datacontext
but is the datacontext effectively a tree (like XML)
the reason for the confusion is a control binds to the user control, but if I have a ListBox, then the items in the listbox only bind to the listbox
For me to bind an object inside the listbox to the ViewModel, I have to FindAncestor
which to me, is the same of saying CurrentNode.Parent
I'm just curious if this way of thinking is along the right lines or I've totally missed the point
 
10:41 AM
Anyone know the best CDN to use, that can be accessed globally, including China
 
according to what i have heard akamai is good ..
 
I will have a look
any others ?
I tried Aws CloundFront, CloudFlare but none have locations in China
 
Hi guys, I'm getting this exception in asp.net mvc 5 app: "An error occurred when trying to create a controller of type 'WebClient.Web.Controllers.AccountController'. Make sure that the controller has a parameterless public constructor." But I already have a parameterless public constructor there. any idea?
 
How are you creating the controller
 
Its just the default case as I'm not using any DI.
It was working like 15 mins before. but suddenly it doesn't work
 
11:01 AM
Any of you guys clued up on Linux administration?
 
@Sippy: that depends
What's the problem?
 
@SiddharthP - do a clean and a rebuild.
 
Linux VPS using a terabyte of bandwidth every month in one week
 
Also try and delete the bin and obj folders (or rename them)
 
Which is my limit
 
11:08 AM
@MyDaftQuestions tried that already
 
@Sippy: Which services are you running?
 
@scheien Just teamspeak
 
Using a heavy codec?
 
No
It's been up since last night
Box was at 900gb before that
Nothing running on it
 
Do you have any iftop/nload or other measurement app available?
 
11:12 AM
@scheien I have iftop on it but I can't make it run :D
I hate linux
 
^^
 
@Sippy, how do you know that is in use
meaning, how do you know you're using that much bandwidth
as opposed too the tool is reporting incorrectly
 
Because I get warnings from my provider every month
And then my server shuts down
 
Did you install the vps yourself?
 
Are you being hit with a DOS attack or similar? We had some %*%(£$ from China trying to hack our server, and it used a massive amount of bandwidth due to the continuity of the attack...
 
11:14 AM
@scheien Nope.
@MyDaftQuestions Fuck knows
 
which distro is it?
 
Could be worth seeing who/how many people are connected and if the same IP is prevelant
 
Debian
Latest
 
@Sippy Dafuq are you hosting on it?!
 
check /var/log/messages | grep sshd
to see if there are many connectiuon attempts
 
11:15 AM
@RoelvanUden I had two warsow gameservers which I had to take down cos they were lagging
 
Gameservers eat bandwidth y'kno
 
Not 1tb per month
With 16 players.
Most of the time no one on it
 
Is this for games??
 
No.
 
I thought it was idlke
 
11:16 AM
It's for I pay for my VPS and I can't use it
 
sorry :(
 
@scheien uhhh
check = command? :P
 
check your auth.log
nah
cat /var/log/auth.log | grep -i 'invalid'
or something like that
if you are running sshd on standard port 22, then you are going to have bots bruteforcing it
 
Yay shitloads of bruteforce attempts
 
you should add ip/hosts to ignore after 3 failed attempts withing x seconds/minutes
 
11:19 AM
My provider stops DDoS/brute force from reaching the VPS :P
 
sigh
 
@RoelvanUden: hehe yeah, they should stop it as early as possible :)
 
@scheien Any tricks on how?
 
ah
 
like literally
200 requests per second or something
 
11:20 AM
I used some PAM modules
 
That'll be what's raping my bandwidth I guess
 
ages ago
you should also run a local firewall and add drop rules for each host/ip
iptables
Fail2ban is an intrusion prevention software framework which protects computer servers from brute-force attacks. Written in the Python programming language, it is able to run on POSIX systems that have an interface to a packet-control system or firewall installed locally, for example, iptables or TCP Wrapper. == Functionality == Fail2ban operates by monitoring log files (e.g. /var/log/auth.log, /var/log/apache/access.log, etc.) for selected entries and running scripts based on them. Most commonly this is used to block selected IP addresses that may belong to hosts that are trying to breach the...
 
Literally downloading it :P
 
seems to do the trick
If you know the hosts, then you could restrict all, and whitelist
 
Nah
Will fail2ban work out of the box?
Like install and go?
Or do I need to configure and run it?
 
11:28 AM
never used it, just found it through an answer over at serverfault
 
Ah
 
here's an howto
There are a few default vars that you may or may not want to change
 
Ah
Gonna have to do that later then
Can't do it on this phone lol
 
11:43 AM
@KendallFrey omgad u won de draw
 
morning guys ^^
 
@Sippy srs? yey
 
@KendallFrey Yap
 
glad I won something I can actually use
Now to find a domain to squat
 
Hehehe
 
11:56 AM
maybe sippy.biz
 
sippy===biz
kendall someone is bruteforcing my vps :(
 
12:12 PM
nice, wtf is a valid tld
 
@KendallFrey Lol seriously
@scheien Thanks btw
Appreciated
 
12:29 PM
@Sippy ur hat is looking nice.. but, i dont think u need it.
hello @scheien good evening
 
I'm a crab and I have a crab hat.
 
@Sippy: np :)
 
1:23 PM
@Sippy I'm a pedant, and I have a pedant hat
 
@KendallFrey ur a nerd
 
yes, captain obvious
 
lelelelel
 
 
1 hour later…
2:44 PM
Morning everyone!
 
Ello
 
3:21 PM
Morning everyone.
@JLott Hey, how have you been?
 
My day has been great
 
3:57 PM
:)
omg @JLott i thought you were dead
 
4:14 PM
@ton.yeung That sentence really fucked me over.
It's not even wrong, what the hell
Ah yeah it is
made for stew = made stew with;
 
mmmm human stew
 
@ton.yeung Actually this exact sentence suggests @JLott made a wild squirrel.
Brain caught up now.
 
@Sippy Learn English brah
 
@KendallFrey nou
 
"made" == "prepared"
 
4:27 PM
@KendallFrey NOP
 
@Sippy CLI HLT
 
@KendallFrey dont u interrupt me
 
I didn't, I did cli
 
YE THEN U HALTED ME
We shall we shall we shall not be halted
 
Is there anyway, where we can display only uniques values in Telerik RadGrid asp.net.
 
4:36 PM
watnow
 
In Visual Studio, is there a way (extension, maybe?) that can automatically put me into tabs mode or spaces mode based on the contents of the current file?
I've put up with spaces until now, because work
Productivity Power Tools has a button to Tabify and Spacify, but I don't know if it actually inserts the right character when I type
Nobody here uses Visual Studio I guess
 
:)
 
@KendallFrey I do!
I don't have the problem you're going on about though
I do use power tools and they are fun.
 
Nobody here uses visual studio with varying tabs vs spaces on a regular basis
 
both
if you're not using tabs AND spaces, you're wrong
 
4:51 PM
@MikeAsdf The only reason I don't is because I don't want to, so I ashamedly make all my personal code with spaces
 
@KendallFrey I'd be sick
 
Are these varying files part of the same solution or are they segregated?
"Saves editor formatting settings as part of each solution." visualstudiogallery.msdn.microsoft.com/…
 
"This extension detects the current file's indentation settings and automatically resets the corresponding Tools->Options settings to match." visualstudiogallery.msdn.microsoft.com/…
"SUPPORTS: Visual Studio 2010"
 
4:59 PM
!!kendall
 
@KendallFrey If I want to log controller actions, it's better to create the logger in a base controller, have all my controller inherit from that
And then call base.logger.logshit();
amirite
 
Usually in many logging frameworks, a logger object is instantiated with a class name
 
hi
 
@MikeAsdf I'm using log4net
 
5:01 PM
hi
 
hence you'd be missing out which subclass is doing the logging
 
The guide basically said instantiate the logger in every class
 
What I've seen is having a base Logger property that is instantiated by every subclass
 
Didn't see the point, as I have to customise the logging anyway
It's logging user actions
 
so if you have shared code in the base class, each statement records the current subclass it's on
 
5:02 PM
I should've started there really
It's not logging errors and shit, it's just logging 'this user did this at this time'
 
@Sippy you seem right
 
If recording the subclass is irrelevant data to you, then yea just set it up in base class and make it protected
 
For logging the way you're talking about I'd agree
okeydokey
Thankyou
 
hokeypokey
 
@KendallFrey abracadabra
 
5:10 PM
programming is so boring, lets talk about something else
 
The Interview
 
ha, what a bunch of pussies those media companies are
 
N.Korea and its 1800 hackers that have power for 8hrs a day
and use paper the rest of there 12hrs working
 
lol, is that how many they have or just a guess
 
cnn report
Media Guess
 
5:12 PM
ah, so wrong :p
 
my cat said 5 thousand
 
thats more like it, at least its a more legitimate source than the media
 
Im getting an error like this when I publish my asp.net project
 
this is A HUGE proof of concept tho
 
CS0101: The namespace 'Resources' already contains a definition for 'Strings'
 
5:14 PM
if you hack it you can stop it
@meda did you name a resource Strings
 
yes I did
but when I delete it I get the same
 
did you do a clean build? and refactor it out in the code?
 
@juanvan what is even stranger, it works locally
 
oh this is a live event only
 
yes
let me clean
 
5:21 PM
I'm trying to get this example working in a console app
 
Naming a class the same as a keyword but in different case is a dick move
 
I downloaded the sample code and run as a Windows app and it worked fine
I copied to Console App and nothing
 
@KendallFrey the keyword is String not Strings
 
What? Neither of those are keywords
 
so what are you reffering to
 
@meda We have a class called Global
 
ok?
 
yeah
It's really hard to type
 
@KendallFrey Im confused now :-S
 
!!youtube malfunction
 
5:26 PM
 
ok
 
that should help
 
@KendallFrey you trollin heh
 
they see me trollin
they hating
 
@juanvan wouldnt that be a a problem only if I imported microsoft.visualbasic
 
5:28 PM
ya I noticed
did a clean not fix?
 
no it didnot help
I regrett using hg for source controll, reverting back breaks my project
 
show all files - rename Resources.Designer.cs and have VS rebuild it
 
hg? gh?
 
@Steve however they call it
 
Mercurial? GitHub?
 
5:31 PM
the mercurial
yeah that one
 
ah
 
I'm trying to get this example code msdn.microsoft.com/en-us/library/jj155756.aspx working in a ConsoleApplication, but it doesn;t
At the line Task<int> firstFinishedTask = await Task.WhenAny(downloadTasks); the application just exits
Any ideas why ppl
 
@Tommo1977 maybe you dont run a recent visual studio
await is kinda new
 
would never compile
 
@meda I am running Visual Studio 2013 with .NET 4.5.1
It compiles fine
 
5:35 PM
i want to go home
 
Try installing VS update 3
 
@Steve browse reddit instead
 
@KendallFrey good idea
@ton.yeung can't, on devops
 
yeah reddit AMA....
 
i've never visited reddit directly before, or browsed it
one could say that i'm a reddit noob
 
5:38 PM
wow
 
play COC
 
lol
yeahhhhhh this is funny stuff
 
any one knows MVC here ?
 
probably half the people in here
 
5:47 PM
@Tommo1977 Console version worked ok for me
 
i want to put one collection field is required
like adding data anotation [Required]
to that field
 
@Tommo1977 Pastie
 
but that collection having some null values as data
i don't want to allow the null values
how can i ?
 
put the annotation in the collection type
 
yes i put it already
 
5:50 PM
in other words, putting [Required] above the collection makes the collection required, it doesnt mean validate the data the collection holds
 
then how can i not allow the user selected null values in dropdown
that collection is dropdown
 
does it have a type?
collection<sometype>?
 
Ilist<SelectListItem>
that is a dropdown
it will contain the values like -> null,"some string"
 
aha, i might not know as much as i thought :p
 
morning guys
 
user862319
5:54 PM
fantastic
 
user862319
@Steve Saw this on reddit like 10 ms ago
 
it was my first reddit visit, well, on purpose
and i was quite pleased
 
user862319
user image
2
 
user862319
That was my favorite thing from this morning
 
lol bob
so funny
 
user862319
5:59 PM
So i almost talked myself into buying a resharper license...
 
user862319
It taught me everything I needed to know for free.
 
00:00 - 18:0018:00 - 00:00

« first day (1524 days earlier)      last day (3426 days later) »