« first day (2239 days earlier)      last day (2711 days later) » 

12:58 AM
lol shoe leather
I dont know anyone who still uses Java
it's almost all we did at uni
after lisp and C for the basics
 
1:12 AM
I'm building an HTML email by reading markup from a text file in App_Data. The file is just about 4kb in size. Is that such a bad idea?
 
1:53 AM
Anyone know how to fix the MousePosition for a WebBrowser control? I've got the MouseMove event working properly but the vertical position seems to be offset by a certain amount
http://i.imgur.com/93dGgns.png
When i hover over "Jobs in Texas...", MousePosition for ClientPoint gets the Messages element, MousePosition for the ScreenPoint gets the "Magic the Gathering" element... and the offset doesn't seem to be a fixed value
 
 
3 hours later…
5:03 AM
 
SRJ
hi
gm
 
Hi Gm
Does anyone know about Aspera API and how to integrate it with a c# application
?
 
SRJ
am having a dt.Fill() method.. returns errror as the date column is null
pls.. how to handle
cannot convert dbnull to datetime
 
5:30 AM
check if the value is null before putting it to the column?
 
5:55 AM
any idea to update a document inside the collection of the mongodb using c# as we do in entity framework?
 
 
1 hour later…
6:59 AM
@TravisJ well my question got a formatting fix from one of the notable experts in this field, I think he's an MVP
....but no answer
 
7:16 AM
o ha you
 
8:07 AM
morning o/
 
8:35 AM
hello
 
Morn all
friday at last
 
\o/
I go paintballing tomorrow
wooo
 
\o/
 
pew pew
 
nice
anyone got HTC Vive
 
8:49 AM
I want one ;_;
don't have a spare £800
 
theres talk of them just using 1 box for the setup...that would drop price
 
Has anyone used Xamarin.Forms in production? What's the iOS build/deploy process like?
 
@Ggalla1779 I'm not entirely sure how that would work tbh, unless you had to always stay facing that box
 
that's their challenge I guess, just need to get that price down
 
9:11 AM
@Ggalla1779 Yeah.
1 lighthouse tracker only works for sitting experiences
and you can get psvr-like/oculus-like tracking issues with just one
 
is it worth it Roel?
what games you recommend
 
I can't tell you if it's worth it or not. I'm happy with my purchase, and had the disposable financial means for it. But for some people the money may be too much to reasonable set themselves over. It's essentially early adopter technology, after all.
 
i really really want to try it out tbh
 
well i think it going to be the future so its good to experience it, for that the money is irrelevant
htc lists stores you can try it
 
There are a lot of games that are worthwhile. Start with The Lab, of course. Longbow and Xerox are insanely fun. The other games in The Lab are great for one or twice, but not too many more times. For a great workout, get Holopoint (I love archery). For fun sci-fi shooting, look at Spare Pirate Trainer. A bit more horror/survival? Look at The Brookhaven Experiment. Of course, try free experiences like Accounting (hilarious) and rec room (multiplayer social fun).
Sitting -- Project Cars and Elite Dangerous are pretty intense.
TBH there's SO MANY fun games out right now, but A) they're expensive and B) they're often short.
Oh and Audioshield is fantastic. Never forget Audioshield.
 
9:17 AM
I need to check if my graphics card can handle it
thats great thanks..... Eve Valkerie looks bit mad
am sure they can get the price down and make this more mainstream
Can I play HTC Vive without internet?
ie Install games then play offline?
 
that depends on the game no?
besides online multiplayer games you should be fine
 
we have a house rented for xmas like to take it there
so all family can have laugh
 
most games should be fine
 
Do you have 1 as well Proxy
 
if you download games through steam i think you need to connect online once a month or so but else you can play them offline as well
no, i dont have vr yet. too expensive
 
9:29 AM
kk
 
@Ggalla1779 Most games, sure. Eve Valkyrie is not yet on Vive IIRC, it should be soon. It might be now.
 
9:44 AM
ok cheers
 
damn am i an idiot
 
Indeed like Proxy said, log in once/month for Steam games.
 
thats great, just dont know if I would have internet there
 
well you can log before you go, and you will be ok for a month
 
10:04 AM
yeah thats sounds great...just need to test Graphics card so if its fit
if it doesnt then not going to replace that and but Vive eh
 
Tip: Get some light stands if you plan to use them on the move.
Because a wall mount is not exactly preferable in a rented house :D
 
I was on amazon and they had 2 stands as extra..... I thought this would be much easier to manage setup
 
10:54 AM
a slow friday
 
Stop that Roel
 
¯\_(ツ)_/¯
 
Today is truly a black day in American politics.
 
sigh
 
10:59 AM
every friday I check the links if it's youtube, and click on it, because actually want to listen Friday... Should I feel guilty?
 
no i do i too
though i close yt after 2 second
 
'Tis okay. I actually don't mind this song.
So long as you don't look at the video.
 
Oh. Don't worry. I do not
 
Speaking of music:
Or videos, actually.
I really still love this vid
It's so well done.
 
11:15 AM
halp. Database first DbContext. I want to add something to the constructor (ie Database.Log = s => Debug.WriteLine(s);) so that I can log.

The way I extend the generated edmx DbContext file is by having a partial class (as you do). Now I can't have a second constructor within my partial class because it's already defined in the generated version.

How do I get around this?
@RoelvanUden I like how you star your own Rebecca black friday video to cause maximum impact on people visiting the channel, sneaky
 
I didn't. Sometimes I do, but I didn't this time. I suspect Squiggy. :P
 
It's obviously someone silly enough to click it
 
once bitten....
 
12:02 PM
anyone any ideas to my question above?
I can't put the EF logging statement into the DbContext's constructor that has been generated because then when it gets generated again it'll - vanish!
 
12:16 PM
@RoelvanUden YOU HAVE NO PROOF
 
oh wow
when i take a ss with a wpf application my memory consumption skyrockets lol
 
That's the NSA's algorithms running on your computer to detect porn and credit card details
 
well even if they get something its not mine
so its ok with me
 
"not my porn" Yeah that excuse always works
 
i was referring to the credit card
if you want i can share my porn with you
 
12:28 PM
What kind is your fetish?
 
you can find out if you want :)
 
this is amazing
@Proxy on a scale of 1 to necrophilia, how taboo is it? :P
 
sadly very low i guess :(
hahaha
it was a virus, i was scared and my pants were slipping down
 
Oh my dear god
That video is fucking hilarious
 
12:33 PM
what is with the sudden change in attitude :O
moment of bravery?
 
that sounds like a movie title
 
any one had experience where you send an email to a company, and not only does the company receive it (yes, you'll have experienced that bit :)) but also a copy of the email automatically populates a database so when I log into their website I have a copy of all emails. I'm curious how this is achieved
 
Introducing, the next action packed 3d movie experience
Moment of bravery
Staring world renowned actors @RoelvanUden, @Proxy, @KendallFrey and a guest appearance from @Squiggle
This group of misfits must overcome their greatest fear....
 
In theory we could make a movie
 
Stupid questions in the c# room
 
12:40 PM
For those familiar with MVC - is it a common practice to use partial view to rebuild table with updated information with AJAX? Not sure how wise or not this approach is.
 
DUN DUN DUNN
 
With the criterion that no two characters appear together ever
 
poor kid
 
@Dave There are many possible ways.
 
@KendallFrey, yes I know, I was just curious (only as a high level) what others had done. I'm not after implementation detail, just whether it was done on the server itself, plugins into the mail client etc
I'm assuming on the server but...
 
12:42 PM
Probably the server, but not necessarily
 
I could create an action that returns JSON data and rebuild tables with it, but partial views seem much more convenient.
 
Ooops, needed to put an issue - I won't have access to the mail server :\
 
@KendallFrey Apocalyptic scenario where the last line of communication is using Skype. AND WE ALL KNOW HOW UNSTABLE THAT IS WHEN THE INTERNET ACTUALLY WORKS
 
Hey, Skype works fine
 
12:52 PM
I'll have you know i use skype to make all my business calls
!!giphy sarcasm
 
@Kieran I'll have you know I do non-sarcastically
 
@KendallFrey please no
 
It's better than anything else I've ever used
 
Tbf the call quality is ok
so long as your not calling someone in a different country
 
12:55 PM
I talk with a team on the other side of the world every day
 
Calls to someone living just 30km away are already total shite here.
And a call CANNOT LAST longer than 2 hours, because fuck you, that's why.
 
on skype?
 
Oh and my phone doesn't ring because it's a Microsoft Phone hahaha
Why would a Microsoft product work a MS phone?
And my desktop Skype refuses to ring.
Oh and the calls suddenly drop randomly.
Oh and did I mention that Skype goes crazy with text messages every now and then?
No notifications, then suddenly a fucking sound for everyhting I've had
 
my ex roomate wanted to break the world record on a skype call
think he had it on for 4-5 days
 
It may be that all these issues are because I use WINDOWS PHONE, you know, for a MICROSOFT product. Motherfucking pieces of shit, I tell ya
 
1:00 PM
@RoelvanUden check where You live : downdetector.com/status/skype
 
@RoelvanUden well it seems to work fine on android :)
 
1:56 PM
@Proxy Are you sure your not my ex-roomie? I had a skype call running for close to 92 hours once ;_;
(while i had a roommate)
 
did you talk with you girlfriend?
@Kieran
 
pls no
Yes i did
 
and you had it while you were sleeping on?
do tell?
 
yes
;_;
 
YOU MOTHERF**KER
nah i'm joking
my friend never coded
:)
 
1:59 PM
ohthankfuckforthat
 
i can't believe there is two of you out there
 
lmao
better believe it
we are multiplying
it might take us a decade but soon enough we will conquer the world!
 
nah you won't
 
!!giphy dozens of us
 
2:39 PM
anyone used stripe before?
 
o/
 
3:01 PM
\o
 
\o/
 
|o|
 
-o-
oh wait
>o<
pew pew
 
(ノಠ益ಠ)ノ彡┻━┻
 
ADH
3:08 PM
Is it me, or is that the Achilles heal of the cloud the fact that if takes forever to copy large amount of data.
*it the
*is the
 
That's not the cloud, that's internet in general
Believe it or not, FedEx has higher bandwidth than any internet connection
 
ADH
By that you mean, delivering a thumb drive?
 
well not quite
a truckload of hard drives
 
ADH
That is interesting
 
@Kieran ┬─┬ノ( º _ ºノ)
 
3:16 PM
@Squiggle (╯°□°)╯︵ ┻━┻
 
@Kieran ┬─┬ノ( º _ ºノ)
no.
 
@Squiggle ༼ノಠل͟ಠ༽ノ-︵-┻━┻
 
@Kieran ┬─┬ノ( O _ Oノ)
 
@Squiggle ┻━┻ ︵ヽ(`Д´)ノ︵ ┻━┻
 
@Kieran ┬─┬ノ( ༎ຶ ︵ ༎ຶノ)
 
3:20 PM
@Squiggle (╯°□°)╯︵ ┻━┻
@Squiggle ┻━┻ ︵ ヽ(°□°ヽ)
@Squiggle ┻━┻ ︵ \('0')/ ︵ ┻━┻
 
@Kieran 🍺\(´~`)/🍺
 
ooo beer
🍺🍺🍺🍺🍺🍺🍺
 
omg I leave for 10mins
 
I know, right? <table>s all over the place. It's like 2003 all over again.
 
>D
 
4:12 PM
Hello all!
I found myself wondering...
is it possible to override a string so that string s = "hello" console.WriteLine(s);
will print out "goodbye"
?
 
Well that'll be a compiler error so no
 
well sure
but you get the princepal
 
not really lmao
 
string s = "hello"; console.WriteLine(s);
...
 
I got that bit
 
4:15 PM
@PrimeByDesign why you want to do that?
 
okay so what I am asking
well let's say
 
but you want it to print goodbye instead of hello?
 
you have a lot of code with strings inside it
and you want to change culture
or change all existing strings
so that they come out differently
 
http://stackoverflow.com/questions/18726852/redirecting-console-writeline-to-textbox
http://stackoverflow.com/questions/32661000/how-can-i-use-an-own-class-for-console-writeline-override
http://stackoverflow.com/questions/10341318/whats-the-recommended-way-to-prefix-console-write
 
then use resources
 
4:16 PM
without going through each string in ths app
yea
I get the idea of using resources but
imagine that you have piles of existing code
that needs to be done quickly
I'm thinking theoretically here
 
tl;dr create a class that inherits from TextWriter and then set Console.Out
 
ah
okay my example was poor
I need to change all of the strings from the string class
rather than the console out method
well I don't need to
but what if I needed to do something like that? Would it be possible?
changing a primitive type
 
You are not telling us the use case. What is your use case?
 
Not without dark magic that you probably don't want to dig into
 
okay so my colleague needs to go through his application and he's considering using resources and localization but he's now going through his whole solutions
 
4:20 PM
I have a WPF <Image> with the Source bound to a Stream property. I want the stream to be disposed once it the image has been loaded. What do I need to know?
 
to allow for translations
this could take up to 2 months to do
 
Use resources and localization. That's what it's there for.
 
Hello everyone!
 
sure.. but what if you could wrap them up in an existing string overload
some how
 
what does that even mean?
 
@Teomanshipahi There is no BitmapImage in the code anywhere that I can see
It's binding directly to a Stream
 
well I'm just playing with ideas here... I wondered if there was a way to override behavior of primitive classes so that the value of a given string could be modified at runtime
 
@PrimeByDesign you're going down a very weird and nasty branch of thinking
 
@Squiggle I agree with you
 
clbuttic mistake
 
4:24 PM
but I'm just exploring how the framework works
 
@KendallFrey are you binding from code begin like this? stackoverflow.com/a/16857441/929902
Maybe I got it wrong.
 
@Teomanshipahi No, it's binding directly to a Stream
as in <Image Source="{Binding MyStreamProperty}" />
 
What's a best practice on creating a new SQL Server database? Some people say "Do not use Autogrowth" and some say yes. I'm confused about the Log file size, if I use 4GB initial size for database then what's the right size for Log File?
 
@KevinMaxwell you almost certainly don't need to worry about that at the outset. The default settings are default for a reason
But the answer to your question is "it depends"
 
What's the name of the system that allows you to bind an ImageSource property to a Stream, anyway?
I think I've read about it before but that was forever ago
 
4:30 PM
@mikeTheLiar so you mean should I use the default settings?
 
@KevinMaxwell if it helps we left autogrowth on for all of our database logs and we process a lot of data
@KevinMaxwell unless it proves to be a problem
But I'm saying wait for it to become a problem before worrying about it
 
@mikeTheLiar This is my current setting.
 
And are you having problems with those settings?
 
@mikeTheLiar It's in Development stage, but as of next week I should move my DB on the server. I just wanted to make sure that I'm not doing anything wrong.
@mikeTheLiar No, I have no issues yet.
 
I'm gonna stick with "don't try to solve problems that don't exist yet"
2
 
4:34 PM
@mikeTheLiar I will bookmark your quote right now :)
 
😀 It's served me well over the years
 
Haha :D, your quote felt like ice bucket challenge on me :D
 
 
2 hours later…
7:03 PM
hello children
 
Does a line Clipboard.SetText("<b>bold</b>", TextDataFormat.Html) look suspicious to you? Note: it's Windows Forms.
 
ADH
I just installed .net framework 4.6.2
But, I cannot choose it as the target framework in VS project.
What gives?
 
7:47 PM
Hi! Somebody does know how could I add a web service with code? Not with the right click and add services..
I have the IP and the Port to acces to the WSDL. Thanks.
 
@TomW - Better than nothing I suppose :)
 
@TravisJ still no answer. Another day of banging my head against it
I have an idea but am not at a computer
 
@TomW - Sure you are
Beyond that, tomorrow is Saturday and you can feel free to look elsewhere for things to bang on :D
 
8:08 PM
!!lenny
 
( ͡° ͜ʖ ͡°)
 
@QuicoLlinaresLlorens what type of service is it and API that you have to login to?
 
@juanvan I only have to access to the WSDL page using the IP and Port.
The web service is running in another machine that is in the local network with apache axis2.
 
so you send a HTTP request with an XML body and get back some XML response?
 
I only know to do it with the graphical interface of visual studio
I know to do it in this way
but I wanna code it, but I can't find nothing related to it
 
8:20 PM
What laptops do you guys use to run visual studio?
 
Intel
@QuicoLlinaresLlorens You want to code the service? or using the service
think you want to use this
 
8:52 PM
@juanvan I want to use it. I can access the WSDL through web browser. I have the service running on an Ubuntu with eclipse (java).
 
9:25 PM
Dell xps
@QuicoLlinaresLlorens you can use svcutil.exe to generate proxy classes
Then include those in your project
 
10:06 PM
So thank you, I will try it.
 
I have a WinForms app. This app shows memory usage of itself. I am using Timer with a 3 second interval to update value. Is this an OK way to do it? Or more feasible ways are available?
I could not find on memory usage changed event so far.
 
How is it determining the amount of memory?
 
Process currentProcess = Process.GetCurrentProcess();
long totalBytesOfMemoryUsed = currentProcess.WorkingSet64;
 
Memory usage is often determined more by the OS than by your application.
 
@TravisJ you mean memory allocation?
 
10:12 PM
Hm, apparently that will show the memory use according to msdn.. msdn.microsoft.com/en-us/library/… TIL I guess..
Have you verified that it is accurate by looking at an external memory profiler?
 
@TravisJ yeah it is pretty accurate with processexplorer
I cannot even access on clipboard changed event :(
 
I don't see anything wrong with using a 3 second poller. Perhaps you could find some sort of finalizer to tie the update into somewhere, but polling isn't harmful by definition, only when abused (often by using millisecond intervals)
 
I need to keep polling clipboard
 
Why the clipboard?
 
I have a personal app for home usage
 
10:17 PM
That sounds a little unethical.
 
wait what
 
I only use app myself. I do not publish it.
 
"Personal app for home usage that polls the clipboard" == "Unethical"? I think I'm missing some sort of crucial part of this logic thread.
 
But I want to write it in good way :)
 
Polling the clipboard, not the personal usage part.
 
10:20 PM
Why is polling the clipboard inherently unethical?
 
Similar vector as a keylogger
 
I mean it can be abused. Doesn't mean that it's going to be.
 
I said a little
 
I mean, if I write a program that captures key presses that doesn't mean it's necessarily unethical.
One of my assignments in school did something like that.
 
I think this is getting tangential :D
 
10:22 PM
I'm going to put this conversation on my clipboard for now.
 
Anyway, if you are polling your clipboard and it isn't going to need to scale there shouldn't be any concern about hitting it every 3 seconds.
 
I will keep using timers for now. I feel like a little pair programming when I confirm with other developers :)
 

« first day (2239 days earlier)      last day (2711 days later) »