« first day (1189 days earlier)      last day (3984 days later) » 

00:00
@TravisJ Maybe tonight we shall race each other. Or I'll watch Dark Knight Rises or Play Ryse. Not sure yet.
@Greg - Yeah that could work. Might be busy though since thursday is the start of my weekends. Depends on how the night goes. One thing though, can I multiplayer with you without an xbox live membership/account thing?
Is it called Gold? Not sure the exact name, I haven't play much with the x1.
@Greg - I did check out getting one of those racing wheels.. It was $400! =/
@TravisJ Yeah, it is super expensive. Xbox Live gold is like sixty bucks for the year I think. It is worth having.
Can we play without the subscription?
The steering wheel doesn't come with a freaking clutch pedal =/
I guess it is on the steering wheel. Paddle shifting sucks though
00:24
Y'all don't pc game? :(
Not anymore. I played some d3 but it got old.
I tried playing Diablo 3 on inferno difficulty. shit sucks.
I got to the 2nd to last act and everything kills me in one hit, even the little dudes
lol
I saw somebody who beat it, on youtube...
I can rock out mp10, but it just kind of boring
mp10?
monster power 10?
00:31
yeah
!!wiki mp10
maybe that's the problem. maybe the games I join are high monster power
I definitely don't have uber geerz
I have max mf, do 275k dmg, and still barely find any legendaries.
01:20
I very much dislike D3
I like Torchlight 2 better mostly
exactly
What the hell
I'm setting the exception for a task....and the task isn't firing an exception
System.Threading.Thread.Sleep(timeout);
            lock (tcs)
            {
                if (!tcs.Task.IsCompleted)
                {
                    tcs.SetException(new Exception[] { new TimeoutException("Wait Timed Out") });

                }
            }
that should cause the task to cancel, right?
I mean, throw an exeption
@ginkner Inside the task? I'm not familiar with this code
BTW, guess who got a raise? :)
@KendallFrey what, does your mom charge 2 bucks now?
01:33
6_9
siiiiiiiiiiiiiiiigh
@KendallFrey No, it's a task that runs asychronously to time out the task attached to tcs
I'm TRYING to run it synchronously
maybe that's the wrong thing to do
that...wasn't very helpful
did you see the gist i posted earlier?
and good for you
No, I didn't
This is malfunctioning big time
And I can't figure out why
tl;dr :/
back to rocketry
01:38
...um...ow
ok
CODE SAMPLES SHALL BE SHORT, CONCISE, AND CLEAR TO AVOID CLUTTERING UP OUR BRAINS
It CANT be short. There seems to be a problem with the entire mechanism, and I can't figure out what the hell it is.
public Task<TriggerType> WaitOneAsync(TimeSpan timeout)
        {

            TaskCompletionSource<TriggerType> wait = new TaskCompletionSource<TriggerType>();
            lock (_waits)
            {
                _waits.Enqueue(wait);
                Task.Run(() =>
                {
                     _timeout(timeout, wait);
                });

            }

            return wait.Task;
        }
This takes no time
public bool TrySetOne(TriggerType trigger, Converter<TriggerType, T1> converter)
        {
            TaskCompletionSource<TriggerType> wait;

            bool set = false;
            lock (_waits)
            {
                while ((!set) && (!(_waits.Count == 0))) //while we havent completed a task, and as long as we have some more to check.
                {

                    ; //get the next wait.
                    lock (_waits.Peek()) //wait for any other threads to stop using the next wait it, then get exclusive access.
This takes no time
yet it takes an entire second for the task returned by WaitOneAsync to return
I'm sorry that it's a lot of text
It's a bit difficult to examine without the enitre thing
which is why I put it in a gist
I'm sorry, I don't know threading all too well
/sigh/
and not many people are here atm taht can help
01:44
yeah
so.. prolly post a question on SO proper
urg
probably
It's just frustrating
I've been tracking this bug down for 2 goddamn days
That's coding
11 hours a day
@ginkner I know how you feel
01:46
/sigh/
I think it's funny that people come on here saying "I've been trying to figure this out for days." I'll post a problem in chat after 10 seconds.
Does anyone here understand shaders?
kinda
more and more as I play with them
Johan played with them recently
You ever made a toon shader?
01:47
I understand the basics
@KendallFrey Yeah I know
Nope.
Oh... ok...
Isn't it a bit like an edge shader?
My shader is coming out with a gloss over it
01:48
fucking hell. conflicts always happen at 4:30
Making a toon shader... Hmm. I have no idea how you would make lines
@Pheonixblade9 yup
you don't
3 mins ago, by CC Inc
That's coding
@ginkner what then?
@ginkner What?
@KendallFrey My GUESS is that you fill space based on depth info.
just really, really broadly
01:49
My guess is you ignore it
:P
You create a outline of the object slightly enlarged and place it slightly behind it
I think if you ignored any lighting, you'd get a cartoony look
eh....but catoons have shading
@Kendall You don't ignore it you just use a step function
@OutlawLemur That doesn't really work for radia lines
@OutlawLemur That works too
01:50
It is either this shade of black or it is this shade of white
!!wiki cel shading
or a step of grey
Fuck it.
@ginkner Whatever the ramp image is
I give up for the day
That article links to this:
The Sobel operator is used in image processing, particularly within edge detection algorithms. Technically, it is a discrete differentiation operator, computing an approximation of the gradient of the image intensity function. At each point in the image, the result of the Sobel operator is either the corresponding gradient vector or the norm of this vector. The Sobel operator is based on convolving the image with a small, separable, and integer valued filter in horizontal and vertical direction and is therefore relatively inexpensive in terms of computations. On the other hand, the ...
01:53
is interesting
Your toon shader has three main components:

The diffuse shading needs to be represented by just two values: one for bright regions, and another for dark regions.
Specular highlights need to be identified and represented as a single color where their intensity is sufficiently high.
Objects need to be outlined to complete the cartoon look.
god damnit
ok guys, I need help
@Pheonixblade9 wat?
@Pheonixblade9 shoot for it
I have a feature branch. I merged master into it to prep for merging to our shared dev branch. The conflict resolution was bad, but built fine for some reason. I pushed my merge to dev. It broke the build.
I'm trying to figure out how to fix the dev branch, or fix my branch.
when I try to revert the master merge on my feature branch, I got shitloads of conflicts.
01:56
definately not me
git and I are just aquantences
and I need to go home
later
You say merging master -> dev screwed up, but it built? And then dev <- master didn't build?
I merged master into my feature branch. and it built in VS.
then I merged my feature branch into dev, and it broke the build.
oh, wait 3 branches
02:00
I'm not going to be much help here, sorry.
fucking hell, I don't want the trophy again
You just gave it away, didn't you?
a few days ago
to our chief architect
02:11
do a rollback on dev
tried that.
when I do a git commit -m 1 SHA I get about 100 conflicts
C++ and JS room are utterly useless, as usual
heh
true that
make a new dev branch
@Shoe not an option
this specific branch is what's hooked up to all our automated tests
02:33
all the devs share the same test branch?
yes
we have a shared dev build each morning.
So how do you know who breaks things
TeamCity does builds every few checkins
We don't let checkins succeed if they don't build and pass unit tests.
yeah, that is something we are working on that annoys me that we don't have already
why don't we have it? no budget for an extra server.
02:45
Hey guys
Damn, it's almost 10 already
I was gonna work on code tonight too.
You mean 8? Ja ja ja
u so hilar
I know:)
That's the spirit.
02:54
Haha
God this is annoying
!!afk darkness etc.
!!doge darkness,sad,lonely,kendall,ladies
    wow
                         so darkness
very sad
             such lonely
                        many kendall
much ladies
03:29
I think it has overestimated the quantity of kendall.
and ladies.
uhhh
!!doge darkness,sad,lonely,kendall,masturbation
      wow
                         very darkness
many sad
                  much lonely
                            such kendall
so masturbation
that's better.
why am I still at work :(
Slave to the machine.
03:39
slave to the CI chain.
 
3 hours later…
07:03
holly mother, what a great answer!
0
A: Does Linq can perform database operations fast?

Hamed ShamsWhen you're using Linq or Query (Writing TSQL query in the CoedBehind) the process of interaction with DB is on the Client (Presentation Layer) (that named Fat-Client App) so it's a bit slowly than when you use Stored Procedure in your database (that named Fat-Server App) cause you'r query the da...

(not mine, the other one)
:) lolzz.. it seems a copy paste without understanding
@shakthi gm
@Neha Good morning ;)
@shakthi am expecting a mail from ur office ;)
ooi i got a mail. currently no openings :(
in feb they ll contact you for a new prject ;)
gr8
07:10
:P
well have you ever used a list property in usercontrol
i hardly used usercontrol
oh
may be once or twice in ma old company. why ? whats up ?
i got in issue
had a uploader in my uc, and need to get all id of files uploaded to my page
so thought of getting list property with viewstate
but found it is not a good option
& now looking for how to do?
07:13
okay, use static and clear it after the process.
no that i cant
static is dangerous for a public page
oops..
use session then..i dont think you should go for view state.
why do you want to maintain in client than serveR ?
Good night Marcin :)
session /viewstate these both are not good
ada..
then you should keep the list in your pocket :P
lol
:D
07:24
haha
well sincerely i want a solution to this
0
Q: Could not load file or assembly 'WebGrease' or one of its dependencies

LOL SingerWhen i run my MVC4 Web application it gives me following error: Could not load file or assembly 'WebGrease' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Description: An unhandled exception occu...

plz help
08:05
morning
morning
Hi all Good Morning
How to redirecting to a new page after the Pdf is generated in mvc?
@JasperManickaraj <a href="pdfcreatinglink" target="_blank" text="cleck to get pdf" />
it will create a pdf in new link
08:21
i use window.location.href to call the controller method.. In Controller Method i return "return new JsonResult { Data = "" };"
After the pdf was generated it push the pdf and asks users whether to download / open option
But i need to redirect the page after it shows the PDF
you show pdf in a full page or in a part of your browser ?
part of my browser
pdf is created on a button click isn't it ?
after clicking that button you want to show the content in the new tab in browser ?
08:26
after clicking the button i need to redirect my page and the pdf also need to be download..
redirect is just a url, if you want it in new tab target="_blank" will do. href="redirecturl"
if you generate pdf in browser it ll automatically ask you to download it !?
@roel Wie ghet us dir ?
@shakthi Almost!
Vielen Dank !
@shakthi That was German, not Dutch. Also, it was "Wie geht es dir?"
But fine thanks!
Ich lerne deutsch :P
spelling mistakes, hard to remember. lol thank ya. have fun
@RoelvanUden you ll find some good pals here chat.stackexchange.com/rooms/499/german-language
08:31
@RoelvanUden Ha ha
@shakthi I dislike German. It's a horrible language :P
Weird shiz is happening to me.. I can feel my ear drums vibrating
09:11
@RoelvanUden haha I am starting to learn. i feel the same. Translating algorithms from google and bing are weird. En to DU google is good and DU to EN bing is good.
09:42
OMG to much snow.... guess working from home isnt to bad though.
09:59
has anyone seen this issue before
0
Q: Issue with strange char and md5

DaImToI have a column in the database which apears to contain '/' data type of the column is nvarchar(4000). The problem that im having is that when i do a hashbytes('MD5',page) on the column the results are diffrent then hashbytes('MD5','/') . After a bit of digging i found after casting the colum...

10:35
FFS how is it so hard to find developers!?
So many interviews :'(
Are you interviewing devs?
Yeah
never thought it would be so painful
None I've interviewed could tell me the difference between an array and a list
Hi all, im trying to backup my DB in SQL sever 2012 on windows 8.1
i keep getting an error
because it was originally formatted with sector size 512 and is now on a device with sector size 4096
it worked yesterday so im guessing a dreaded windows update has caused it lol
@Corbo152 Roll back your windows update to see whether that fixes it? Then you'll know it was the update.
@DaImTo you know anything about WCF?
10:44
@dav_i Really? Are they graduates?
I'm still struggling with a ping function in my WCF Service
anyone can help me with that?
@LewsTherin Some are... one guy had a job in C# since 2010
@dav_i thanks i was hoping i wouldnt have to do that as its gonna take bloody ages
@LewsTherin yo m8
@RaZor Hiya
@dav_i Then I'm surprised
10:48
@LewsTherin I'm just upset
If that's the interview questions I get asked.. I will have no problems finding jobs
@LewsTherin can you help me with a ping function for my WCF service?
@LewsTherin It's not the only question :P
@dav_i Ha ha yes probably. But it is quite basic.
@RaZor Mmn, I can try..
The only thing it should do is, ask status from Clients
10:51
@LewsTherin I thought so too!
@RaZor Is it a console app?
nope
the WCF Service works as a server
the client is a Desktop C# WinForms Application
So the ping function is embedded in a UI?
yeah
the "server" needs to contact a client to see if the client is still alive
else it has to be removed from the online clients list in de "server"
Like heartbeats
10:54
yeah sort of
I have this so far
but this function is removing last added client when adding a new client
public void PingAllClients()
        {
            new Thread(() =>
                {
                    // Zelf nog bedenken wanneer deze op true komt te staan.
                    while (!abortServer)
                    {
                        var removeClients = new List<string>();

                        // Maakt het thread safe
                        lock (clients)
                        {
                            foreach (var client in clients)
                            {
                                try
@RaZor Why not use Timer?
cuz this works the same way
I'm not sure what your requirements are.
Do you want to check the clients status the same amount of time?
Like every 10 seconds?
Or can client a choose to receive heartbeats every 10secs, while client b 15 secs
@dav_i i sorted it without rolling back the update
just needed to specify it to backup to a new media set instead of existing :)
so happy now lol
This is what I want:

I want the server to contact every single client every 10 seconds to see if the client is still online. If it's not online then it has to be removed from online clients list
11:03
Ok so when you send a requestStatus message.. then let the client send back a message return.. except the problem is how can you call a method on the client?
This is best implemented as a socket
hey
can anyone tell me how to access my usercontrol property from page
the value of prop is set in usercontrol itself
now want to access that value in page using that user control
I tried with myuc.prop & by find control but no luck so far
@LewsTherin to call a method from the client isn't hard
11:18
@RaZor I mean call a method's client from WCF service..
explain?
How are you going to do that? The WCF service will need to know your Client
I'm not too familiar with WCF but if there is a way then that's cool
When I start the client, the client will register/logon itself with the Service
So the client info is stored in the service
Ok.. but how will the service "call" the client?
public void ServiceMethod()
{
   client.Ping()
}
How does that work?
Is it possible?
okay, a little more explaining here: I have a list of Clients, this list contains a key and a IDMSCSReceiveService
the ReceiveService is the client
11:25
Like a Dictionary<key, ReceiveService>?
yeah
In the WCF service?
this: public static Dictionary<string, IDMSCSReceiveService> clients = new Dictionary<string, IDMSCSReceiveService>();
yes sir in the WCF
IDMSCSReceiveService is that a WCF service as well?
uhm no, that is the class for the client
actually it's an interface
but I also have a class of course
11:27
So when you log on.. you do something like this
wcfService.LogOn(key,this)
like this:

public bool InitializeClient(string loginName)
        {
            try
            {
                var rc = new ReceiveClient();
                Client = rc;
                Client.Logon(Client, loginName);

                Client.ReceiveMsg += Client_ReceiveMsg;
                Client.FolderChange += ClientOnFolderChange;

                return true;
            }
            catch (Exception ex)
            {
                var dmsEx = new DmsException("Fout bij het initialiseren van de Client","InitializeClient()", ex);
Hehe more or less the same thing
yes hehe
So in your WCF service you have:
dict[key].Ping()
nope
I have this:

public void PingAllClients()
        {
            new Thread(() =>
                {
                    // Zelf nog bedenken wanneer deze op true komt te staan.
                    while (!abortServer)
                    {
                        var removeClients = new List<string>();

                        // Maakt het thread safe
                        lock (clients)
                        {
                            foreach (var client in clients)
                            {
11:31
Is Ping a remote procedure call?
That's where my confusion is..
dunno.....
IDMSCSReceiveService callback
Because the object will be in a different process.. so how does it call your client on "another process or computer"..
callback is the ReceiveClient
client.Value is also a ReceiveClient which is in the Dictionary
When you call Ping does it actually call your Client?
Have you tested it?
Let me double check
11:35
So invoke Ping on the WCF service.. and see if it hits a breakpoint on your client app
If it does I will eat my hat.
haha
kk
well Ping all clients method is running
but
clien.Ping() is not getting executed....
Comment the code you had.. and just have one line client.Ping()
> clien.Ping() is not getting executed....
Is it crashing? Executing, but nothing is happening?
Executing, but nothing is happening
Yeah because it isn't a remote procedure call.
@LewsTherin Can we pick this up after lunch??
11:39
Yeah I think so.
Gotta get some food... My mind is messing with me.. Didn't have any breakfast lol
No problem :)
Enjoy!
Thanks m8!
appreciate it!
See you after lunch! (Y)
Ron
Ron
11:50
How can I open TabTip using PostMessage?
Thats how I open it right now:
ProcessStartInfo startInfo = new ProcessStartInfo(@"C:\Program Files\Common Files\Microsoft Shared\ink\TabTip.exe");
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
Process.Start(startInfo);

but I want to use PostMessage instead.

« first day (1189 days earlier)      last day (3984 days later) »