« first day (1440 days earlier)      last day (3518 days later) » 

2:00 PM
allo
 
Did you get lost on the way to work shaun?
 
haha
I had the morning off today
went to do theory test
failed by 1 mark
 
NOOB
 
past 2 hours i've been fixing my app
2 and a half*
I gotz a question
Is there any way to get today's date in C# and declare it as a variable?
 
DateTime.Now
 
2:02 PM
^
 
^
 
excellent
thank you
 
lol
 
boom
 
I was going for UtcNow
 
2:02 PM
didn't know that was a thing
 
Too slow
 
I just want the date tho ;o
I'm guessing Date.now isn't a thing
 
@Sippy it's like three extra characters, way too inefficient
 
DateTime.Now.Date!
 
@Shaun whatever you use it for, just take the date part
 
2:03 PM
(is that a joke or an actual thing)
 
Actual thing.
And a joke.
 
HOW
 
IIRC DateTime.Date just returns another DateTime with the time set to 00:00:00
pointless really
 
Oh.
 
ah yeah but I need to include it in my SQL string
 
2:04 PM
@Shaun RTFM
 
befoer an already existing time
@TomW FUCK OFF
I'm not asking how to include it you fucker
 
R U MAD
OR WOT
 
ye
fucker and his manual ;3
 
What are you asking?
 
it's okay i'll use the old google machine
 
2:05 PM
What to find the manual?
NERD
 
@Shaun that'll give you a little bit of time
 
ffffffff
7 Don't kick-mute unless absolutely necessary. Seriously. - sep 19 at 15:37 by Kendall Frey
cough
 
Don't be a dick. Letting you know I'm serious was necessary.
 
How am I being a dick?
Clearly I'm not being serious.
I genuinely was googling.
I'm sorry you misinterpreted.
 
Prolly has more to do with you calling him a fucker repeatedly lol
 
2:09 PM
'Banter' is fine, as much as I hate that term. Straight up abusive language directed at a specific user is not.
 
It was hardly serious though.
 
Still a bit abrasive
 
It's not like you're a stranger, I was just doing it like I do with you Sippy cause I figured you'd take it okay
 
I don't mind it, but I wouldn't expect everyone to take it the same way :D
 
I'll be more careful in the future (and just keep the abuse to sippy)
 
2:11 PM
I think Tom just wants you to omit the swearing :P
A little swearing is good for the soul! A lot of swearing is bad for us all.
OHHHHHHHH
the knowledge
 
There's quite a lot of swearing in here tho
 
If there's any discussion to be done on what's proportionate use of kick-mute it's for the room owners collectively, not for me to dictate by myself, so I'm not going to say anything else on the subject
 
did it hurt to hav that dropped on you
 
fair enough
 
@TomW You have some experience with encryption, I'd ask @Drch but he is on vacation.
 
2:15 PM
@Greg very little, and I'm suiting up to go out for a run, is it a quick one?
 
Yeah.
I've got a value that is passed to a third party API but requires a plaintext transfer, no big deal it does HTTPS so that is fine. But the app.config still exposes it on a public facing system. I want to encrypt it so you can't ever see the value. It should still be changeable.
 
is it an API key sort of value?
 
I was originally thinking about a hash, but that won't work as if your password was tree this API would expect tree otherwise it will refuse the connection. So it can't be encrypted during transfer.
 
hehe Shaun
You curse too often
 
It's cos he an angry lil dude.
 
2:19 PM
not even mad
string date = DateTime.Now.ToString("dd-MM-yy");
 
U R SO MAD
 
@Greg How does app.config expose it?
 
that will format it as 14 and not 2014 yer?
 
gg
 
config files should be kept private
 
2:20 PM
sopy pls
 
@TomW Anyone who remotely connects could read the file.
The server isn't locked down basically, so I'm trying to cover my own ass.
 
Because this information exposes access to our company Credit / Debit Card payment system.
 
not used it, lot of RTFM to do on that one
 
@TomW I was originally thinking of DAPI but that didn't seem ideal.
 
2:22 PM
ohh boy. If that server is not appropriately secured and you're handling financial data you may be breaking laws
Check. Pay someone to check it for you if you have to, don't fuck around with this
 
@TomW Well, here is the catch 22. It doesn't physically handle payment data but it does connect to the payment system to grab reports which it sends to an older system. So that is why they didn't lock it down.
 
well, I am not a lawyer but if I were you I'd want one
on the technical side, encrypted config file seems to be the way it's intended to be done
as I said, I was on my way out
 
@TomW I'm fixing legacy code so I'm trying to make it better, once I'm done I'm going to let my boss know what the previous developer did with the public exposed credentials.
@TomW Okay, thank you.
 
@Shaun just add two more y's
DateTime.Now.ToString("dd-MM-yyyy");
 
@Gotalove haha, I was asking if it formatted with only two digits if I use two Y's (becuase that's what I neeD)
 
2:26 PM
aah :-P
 
:>
still listening to Kenya song?
 
hehe I should listen to it now that you mentioned it
@Shaun I cant find the link pasted it on my fb timeline
 
@Gotalove www.weebls-stuff.com/songs/kenya/
 
@Shaun is roel on holiday now?
 
I think he was meant to go on mondayh
he's not on holiday just off work
dunno fi he visits here in spare time
 
2:34 PM
Oh I see
 
hehe love this song
hometime guys
have a good evening
 
Seeya
 
posted on September 25, 2014 by ericlippert

There’s a saying amongst programming language designers that every language is a response to previous languages; the designers of C# were, and still are, very deliberate about learning from the mistakes and successes of similar languages such as C, C++, … Continue reading →

 
error CS0136: A local variable named 'x2' cannot be declared in
this scope because it would give a different meaning to 'x2', which is
already used in a 'parent or current' scope to denote something else
How is that in any way hard to understand
 
2:56 PM
@Sippy Pretend you're a noob that doesn't know what scope means
 
@KendallFrey hnnnnnnnnnnnnngh
@KendallFrey Mr Kindle sir
Is there a site that has bootstrap templates for mvc apps anywhere that you know of?
Like a replacement for _Layout
I could write my own but I'm a lazy fuck.
And I'm not very artistic. :D
 
I'm not a web dev, I have no idea
 
Oh yeah.
 
When I want stuff on my site, I write HTML
<div> all the things
 
lol
 
3:00 PM
Hehehehe
Need to learn all the bootstraps
It's so easymode
 
@KendallFrey Even when a <span> makes sense?
 
Exercise is bad for you
5
 
@TomW Yes.
 
@Greg no, I'm not that bad :)
 
3:04 PM
in a sample size of one, anything that makes the subject feel like this is actually an illness
 
@Sippy MVC 5 can include Bootstrap templates by default.
 
@TomW that's true
 
@Greg It can but we're not in the future yet in this company.
 
shortness of breath, heart palpitations, muscle pains, high temperature...
 
Or the present.
 
3:06 PM
protip: half past three is when the streets are full of meandering children
this makes running on said streets frustrating
 
@TomW Unless you have kneepads.
 
@Sippy Well, you can use that site you may have to do some tweaks though.
 
@Greg Time to get boss to pony up.
Yeah that site is helpful, thank you.
I'm writing an AD management application
Cos apparently our team is too retarded to do it properly
With the tool that they have
omg that's beautiful
If, like me, you prefer not to be bombarded by bright colours and have your monitor turned up to full brightness and contrast
It's nice :D
Some of the animations are very annoying.
 
Shall I post a screenshot of my chat window?
dark themes ftw
 
3:12 PM
@ton.yeung SAME! People always are like "How the hell do you even see with this"
 
@Sippy My coworker implied I was a Sith
 
@KendallFrey Yeah but you are a sith.
 
@ton.yeung No I guess not, but I think VS does it very nicely.
Well, superusers is what we really are.
Or powerusers if you like.
We know where stuff is so highlighting it all in pretty colours is just counterproductive :D
 
You should try syntax highlighting some time
 
3:14 PM
I do, I know everything.
 
it's a really cool feature of VS
 
It's cos I'm young.
Young people know everything.
Yeah! :D
@KendallFrey wat
Are you trolling me or can you turn it into Sublime?
 
What is young?
@Sippy no, srs, my comments are all green
 
Coding on dark theme with Sublime was like looking at a rainbow.
Never coded on a mac
Fuck obj-c
 
Never on a mac
 
3:16 PM
Yeah?
 
gtfo
all the cool kids use it
 
AM I BEING TROLLED AGAIN!?
 
(cool kids don't use mac)
who needs xplat
All I need is bash and cat
 
All I need is to bash a cat!
Does anyone else find themselves listening to game soundtracks?
 
I want to make my own terminal emulator, for windows
 
3:18 PM
Orchestral shit like Jeremy Soule
So good to work to
 
@Sippy not unless the soundtrack is a song in its own right
 
@KendallFrey Yeah, Jeremy Soule wrote the tracks for Skyrim and Guild Wars
his music is godlike
@ton.yeung she's gone :(
 
Caprica?
!!hello
 
@Sippy you know what, I might buy that dark admin theme just because
 
@TomW It's so niiice
I might too
But I will change some of those animations cos eurgh
 
3:20 PM
in JavaScript <3ro, 31 secs ago, by rlemon
@KendallFrey bots dead
 
It's like one of those powerpoints people used to make in year 9
It'll be temp.
 
if you change the invocation pattern, sure
 
omg it has skins too
 
I assume rlemon is working on it
 
@Sippy Yeah, they're pretty nice themes. Be careful though, some have a ton of Javascript and aren't the most performance conscious.
 
3:21 PM
@TomW Oh wow.
 
@Sippy fullscreen is like...pron
 
@TomW dribbles
I'm going home to look at this some more.
 
@Sippy ewwwww
 
Later guys o/
 
3:23 PM
@ton.yeung so many skins
 
ohh
that's the joke, gotcha
 
that dog is awful
3/10 would not pet
 
wow
such doge
so old
many wriknle
too ages
will deth
 
!!doge old wrinkle age deth
....no?
 
5 mins ago, by Kendall Frey
in JavaScript <3ro, 31 secs ago, by rlemon
@KendallFrey bots dead
 
3:25 PM
oh.
 
he looks like what things look like when on the slow motion camera
 
it's alright, grab a new one out of the tank
 
did that make sense
 
I think it'll need some maintenance because of the chat changes
@Shaun yes
 
excellent
 
3:26 PM
fantastic
 
oh dear god
kill it with fire
 
he has a turd for a tail
 
look at it's mouth
burnt vagina
 
testicles on his chin
 
how can it even see
 
3:27 PM
he left the floppy dildo in
 
lel
 
@Shaun eyes
 
@KendallFrey ¬____________________________¬
best dog
corgies are best
dat dog ugly
akita's are better than that
 
This room is going to the dogs
 
get out
wow such dog
wow much shiba
 
3:32 PM
It is spelled shi, right?
bcos.... lol
or was a really bad one?
A QA Engineer walks into a bar. Orders a beer. Orders 0 beers. Orders 999999 beers. Orders a lizard. Orders -1 beers. Orders a....
heh
 
the lizard was the part that made me actually lol
#swag
 
3:54 PM
Something weird is going on
I pressed F11 and it stepped into a method that isn't explicitly called
 
4:09 PM
gahhh
 
@ton.yeung Yeah, I saw. Wonder if it is good.
 
hey the whole @ tagging thing has been revamped
neat
@KendallFrey
i'm starting a neural network book club, are you ready to compete
 
@ton.yeung They have off road courses now as well.
 
@Steve revamped?
 
when i do @, it no longer shows just names, it shows pictures and boxes
 
4:24 PM
Ah F5 required
I see now
 
You can use ProtectedConfig sections for an app.config not just a web.config correct?
 
correctamundo
 
@drch What is the easiest way to implement it?
 
no idea
 
4:33 PM
configuration = ConfigurationManager.OpenExeConfiguration(fileName);
ConnectionStringsSection configSection =
configuration.GetSection("connectionStrings") as ConnectionStringsSection;
if ((!(configSection.ElementInformation.IsLocked)) &&
	(!(configSection.SectionInformation.IsLocked)))
{
    if (encrypt && !configSection.SectionInformation.IsProtected)
    {
        //this line will encrypt the file
        configSection.SectionInformation.ProtectSection
        	("DataProtectionConfigurationProvider");
Something like that?
 
Who're you trying to protect the config from, and where would the key be held?
 
@user1112560 Well, the key would be stored in the database hashed.
 
And the connectionstring to the database would be encrypted in the configuration file? :P
 
@user1112560 That doesn't need to be encrypted. I'm really trying to encrypt username / password to our Credit Card Payment System.
@user1112560 What would you potentially believe?
 
@ton.yeung - I was really dissapointed with forza 5 (I assume you meant 6 is coming out when you said 2)
 
4:50 PM
@TravisJ Why were you disappointed? I barely played it, I honestly play Killer Instinct / Diablo 3 far more often.
 
@Greg - It was touted as a multiplayer full simulation racing game.
Multiplayer on the game sucked. Bad.
I wanted to be able to race other people. Which you can kind of do. But the format is terrible so no one plays. If you wait for like 45 minutes you can get one race that last 5 minutes in.
 
@TravisJ Well, I think they touted it because the single player is playing other Cloud versions of players within your skill level.
 
Single player was cool, but it was essentially just like any other forza.
@ton.yeung - I went to the horizon page and it just said forza motorsports 5
Is horizon the nickname for 5?
 
@drch It looks like the IIS functionality really is designed for a web.config not an app.config.
@TravisJ It is supposed to have "off road" / car club format and making Forza incredibly social.
 
@Greg ProtectedConfig should work for App.config or Web.config
it's not web-specific
 
4:54 PM
@ton.yeung - That looks kind of awesome
 
@drch I'll have to call the aspnetiis_reg or whatever?
 
@Greg OK, credit cards, no more jokes. Assuming that your PC has Aspnet_regiis.exe loaded, it'll use the defaultProvider to encrypt the file (RsaProtectedConfigurationProvider). The if(encrypt) seems like it should be taken out as the file should always be encrypted.
 
Now if only I got to keep my Forza 5 cars
 
@TravisJ Doubtful, I'd play Forza if I had more people to play with.
 
"Jump between solo and online play instantly. No lobbies, no waiting."
I'll believe it when I see it
 
4:58 PM
@Greg hmm, yeah it looks like the usual way to generate the section is with aspnet_regiis -pe and will probably choke on an app.config.
 
Probably
I don't mind buying it, I am a racing fanatic
 
@drch That is kind of what I was thinking.
 
I just hope it doesn't suck
 
@TravisJ If it is like the original Forza I'll buy it. That was my favorite iteration.
 
@Greg i think you can do it in code like this: a2zmenu.com/Blogs/CSharp/How-to-encrypt-configuration-file.aspx
 
4:59 PM
@drch I'll have to try it, see what happens.
 

« first day (1440 days earlier)      last day (3518 days later) »