« first day (1175 days earlier)      last day (3781 days later) » 

7:00 PM
@LewsTherin
 
Hey
 
oops, i meant to say hi in that ping
lol
 
But i don't like anime
 
I pay 8000 euro in tax per annum... I'm so depressed
 
7:01 PM
except hentai;) jk
 
@OutlawLemur Anime is awesome! :O
@OutlawLemur Aren't you like 10? XD
Yeah jooking.. yeah right..
 
Hey... 14
 
Lulz
 
@Steve @TomW Let's go
 
Hey how can I convince my partents to let me watch breaking bad
 
7:02 PM
Start by watching porn
 
lmfao
 
That should scare them into making you watch BB
 
@JohanLarsson okay one sec
 
sorry, Win key didn't work :D
 
7:03 PM
Its annoying my sister is watching it in the room next to me really loudly but wont let me in
 
i think i have to integrate github into VS? or
 
@MarcinJuraszek - heh, I use win+r all the time like that too
 
Also how do I work with multipart/form-data http requests server side?
 
@OutlawLemur torrent it and watch whatever the hell you want
 
@TomW I would but that is a lot more work than convincing my parents...
 
7:08 PM
@OutlawLemur - Instead of one HttpFileBase you work with an array of them mapped to the variable name
HttpFileBase[] files
<input type="file" name="files" />
<input type="file" name="files" />
<input type="file" name="files" />
 
A couple weeks ago I had to write a file upload that wouldn't refresh the page and worked with IE8.
 
@Travis And I get those from Request.Files? Or Request.Form
 
Stupid iFrames. :(
2
 
@OutlawLemur - I am not sure which framework you are using to do the binding
 
Oh asp
 
7:10 PM
Forms or MVC?
 
That narrows it down :P
 
Forms sorry
 
ewwww
 
I am not sure how forms handles the binding :(
 
Haha how does mvc? cuz right now Im calling Request.Forms["image"]
 
7:11 PM
To be honest I always just use Request.Files
it works in both MVC and Forms.
 
@Steve I use gitextensions
 
Ok thanks @Spencer
 
Current tab count: 30
ugh
 
@OutlawLemur - MVC allows you to use named parameters with files but there really isn't a point. I can't imagine many situations where I'd be uploading multiple files that need to be uniquely identified and the code just needs to iterate through them all and treat them identically...
The only use case I can imagine where you would need to identify each one would be a single page with multiple configuration files for example. But then I'd sooner just split the behavior up so the user can only upload one file at a time.
 
oh, hey there Outlaw
Or shall I call you Ex-con?
 
7:20 PM
@KendallFrey everybody.
Ugh. It's nap time.
 
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
My\| PC is fuci\\ki\\n\g u\\p
The keys aren't even stuck :S
Mmn, this is hardwired keyboard though. And still happens after restarting.
 
don't spill soda on it next time maybe?
 
Hey @Kyle :)
 
How are the twins?
 
Happy New Year
 
7:25 PM
howdy
twins due tuesday
:)
 
noice
 
w00t. Congrats.
 
@KyleTrauberman \No soda ha
 
scary :P
 
7:26 PM
@KyleTrauberman Congrats bud
 
I have twin sisters, twins can be kind of intense
 
Show me
@ton.yeung Your logic is odd
 
@ton - No they are a lot younger than I am
 
im sure. this will be the last for us. I gotta go in for a little snip snip... :(
 
good luck with that
 
7:27 PM
Vasectomy?
 
Or what is it called
Owww
 
yes, owww
 
Thanks Lews, you made it real. I thought we were talking about hair cuts.
 
That's me
 
7:28 PM
:P
 
So you have 3 kids now. How do you sleep at night?
 
One thing about twins is their ability to team to open things at a young age.. Like the fridge
 
this will be 3 and 4.
 
wow
 
7:30 PM
jeeze I can't even imagine having one.
 
Yeah
 
Taking care of myself is difficult enough.
3
 
3 boys, 1 girl edit...
 
@SpencerRuport Ikr?? Same here
 
Is anyone else unable to edit their messages?
 
7:31 PM
I can edit my messages :)
 
Oh my god!
I solved my tedious error!
 
I can't. :(
 
I can't edit your messages though :(
 
Maybe I've been in the room too long.
 
@ton.yeung Wait - I didn't think you could even as a mod
@ton.yeung I knew they could remove them - didn't think they could edit though
 
7:32 PM
Why?
I've been invited to the trash can.
 
I tried to edit @ton's message but the server said "You can only edit your own messages"
 
I figured that.
 
@SpencerRuport Hey, at least you got invited somewhere.
 
I know. :(
 
You're more popular than me now
 
7:34 PM
I wonder if everyone sees the same fkey
 
Nobody is more popular than you.
 
Nope
@TravisJ You can't use someone else's key, in case you were wondering
 
1 message moved from Trash can
yep
 
1 message moved to Sandbox
Oh, yeah, it just goes by message id
 
@ton.yeung I don't anymore
it sucked
I did sharepoint stuff
 
7:37 PM
i also glitched the 6 hours later...
 
not what I wanted to do
I worked at two scholls. Apollo Group (UoP) and GCU
apollo wasn't bad, but theyve done a ton of layoffs since i left
and GCU was ugh
 
going to try out Borderlands 2. Wish me luck
from the videos it looks...schizophrenic
 
It is.
 
@TomW its fun
 
7:39 PM
lol yeah it is
 
@ton.yeung not in the least
 
BL1 was better in my opinion.
 
@ton.yeung free education
yep
 
No intellisense for writing T4?
 
I got free education for me and my spouse
 
7:41 PM
@JohanLarsson Depends
 
depends on?
 
Do you have Tangible T4 installed?
 
nope, is that the extension?
 
It gives you intellisense for <# tags #>
 
red tape
 
7:42 PM
ok installing it then
 
The pro version gives you intellisense for the code as well I think
 
I remember having to get ~15 people to sign off on a css font size change
yes, that's true
 
@KendallFrey you've worked w/ t4?
 
but it was ridiculous
culture
GCU wasn't as bad
but still present
 
@Steve A little. As of yesterday, I'm the official T4 expert in our company.
 
7:43 PM
haha
grats
 
user1804599
You’re all so badass.
C# is the best language ever.
 
it really depends on the company, but the industry as a whole is in a state of flux.
 
I think that culture depends a lot on the uni - I have some friends who work at the local school, and they complain that there's no oversight on devs
 
I never felt 100% secure while working in the industry
 
@ton.yeung Yes - though I've seen similar in Seattle
 
7:44 PM
@rightfold You would have liked this: codegolf.stackexchange.com/questions/17312/…
 
you'd hate working at the uni here, though
 
now I work for a digital marketing agency
and I love it
 
@ton.yeung I DON'T CARE
 
variety of my projects
beer fridge :)
 
lol
 
7:45 PM
I crashed my car into the bridge...
 
user1804599
@KendallFrey That is really the most boring code golf I have seen, sorry. :v
 
I'm actually writing code now instead of just configuring sharepoint
 
@rightfold It's not code golf, really.
@ton.yeung I had a feeling this joke would go over your head
 
@ton.yeung Well, for one, pay sucks ;) but the lack of oversight means the other devs do stupid stuff all of the time, and they're tool of choice seems to be drupal half the time :p
 
@Steve I'm stuck :)
 
7:46 PM
@JohanLarsson Better get some lube
 
@KendallFrey or I'll bring out the whip?
 
chains and whips excite me
 
> Error 2 The name 'ClassName' does not exist in the current context C:\Git\Kasta\T4Box\T4Box\ClassWithArgumentsTemplate.tt 8 64 T4Box
 
@JohanLarsson im still installing gitextensioins, tried another one at first and couldn't figure it out
 
7:47 PM
@JohanLarsson show me the code?
 
` class <#=ClassName#>`
 
@JohanLarsson where is ClassName defined?
 
@KendallFrey code, error in ClassWithArgumentsTemplate
 
It's not defined...
 
@Steve ok I'm moving backwards :)
 
7:49 PM
lol ok
 
@JohanLarsson moonwalk?
 
no, uglier
 
Do you know what the problem with your code is?
 
[] ideas :D
 
ClassName is not defined
 
7:51 PM
just copy-pasted some
 
@JohanLarsson i have an ebook of EF4 that has a pretty large section on t4
if you're interested
 
do I define it in the codebehind?
 
ok, easy then ty
Profit! Ty Kendall
 
user1804599
Ty Pe Sc Ri Pt
 
7:56 PM
N O
 
user1804599
I liked TypeScript until I discovered that class A {} function foo(a: A) {} foo(42); compiles, i.e. it’s a piece of shit.
 
@KendallFrey have you ever used Visual T4?
 
I don't think so
I think Normal T4 is fine
 
book said it gives intellisense to your t4, just curious if you've used it and still prefer tangible t4
 
That's what I got given
I think I looked at Visual T4
Forget why I'm not using it
 
8:08 PM
Hey everyone!
I was wondering if any of you guys or gals have experience with application request routing/url rewrite in IIS
@ton.yeung I had to look that up, nice. Now I know.
@ton
@ton.yeung indeed, it's like magic.
 
@KendallFrey you want write to the repo?
 
I have a rewrite rule that routes requests to a web role, the only problem is that the query string is not listed in the location of the 302 response that is sent back
So, I of course get an error when making an ajax call. Has anyone else experienced this? I simply can't figure out exactly what the cause of this is. I have used ARR before with success and I have never had this issue before. Any ideas?
 
Need to append query string in ARR Rewrite Rule to Farm
<action type="Rewrite" url="http://{YourFarm}/{R:0}" appendQueryString="true" />
Is the query string not making it to the Content server or is the Content server seeing the query string but in it's output/redirect does not include the query string?
@karbon
 
8:25 PM
has anyone worked with JSON.NET?
 
@Annie I have. If you have a question I can even pretend to be knowledgeable about it.
 
@Mike, thanks!
I am trying to map a part of JSON to a model class, is it possible?
say I have:

{
  message: [
             {
                a1: "message a1",
                b1: "message b1",
                c1: "message c1",
                d1: "message d1",
             },
             {
                a2: "message a2",
                b2: "message b2",
                c2: "message c2",
                d2: "message d2",
             }
           ],
  blog: [
            ... other stuff...
        ]
}
 
@JohanLarsson what repo
 
@Annie have you seen this?
 
@BrockHensley-FKAdirt I have appendQueryString set to true. Previously I had just checked it in the interface. I made sure by manually setting that to true in my web.config. Still no dice.
 
8:31 PM
Ah, so you have a predefined "json schema" of sorts, and you want a portion of it in a model?
 
and my model class has a1 a2 b1 b2 properties..
 
IIRC, Json.net will ignore nonexistent properties in the destination model.
 
@karbon you had it checked in the UI yet it wasn't in the web.config o.O? You editing the right config file? Does the Content Server (logs/FREB) see the Query string appended at all?
 
I am trying to map on array MyModel[]
 
8:33 PM
@BrockHensley-FKAdirt yes, appendQueryString defaults to "true", so if it is absent it should append it automatically. You can also set it to true manually.
 
is it possible to ignore blob, and then extract chunks from errors[] and map those chunks to array of MyModel?
 
@JohanLarsson Why would I?
 
Just making sure it's staying checked in the UI. How about the content servers logs/querystring?
 
@Annie Ah, so you're trying to map only some inner object part of the JSON?
 
@KendallFrey I struggle to find a reason why not.
 
8:34 PM
yes. :)
 
Can templates call each other?
 
@Annie Here's one approach: stackoverflow.com/a/17568000/251011
where you parse to a dynamic object and then manually pluck out the inner part and convert it to your desired type.
 
@Mike, thanks! I will give it a try now. :)
 
@JohanLarsson I have my own T4 sandbox
 
@Annie Keep in mind if your JSON has multiple top-child-objects, you'll have to extract with something other than that example's .Children().Single()
 
8:40 PM
What the frick is a ZP1 file
 
| Section2 = | Section3 = }} Rotigaptide (ZP-123) is a stable gap junction conduction-enhancing antiarrhythmic peptide analog that has been shown to increase gap junction intercellular conductance in cardiac myocytes. Gap junctions are protein channels that are responsible for conducting electrical impulses between cells in the heart to maintain normal rhythm. It is currently under clinical investigation for the treatment of cardiac arrhythmias – specifically atrial fibrillation. Gap junction modulation is a promising and novel mechanism of action for the treatment of cardiovascular dis...
 
@Mike, thanks. I will keep that in mind. Incidentally, from the above example, if my model class name is other than "message", is there any decorator for class to streamline mapping process?
@JohanLarsson, and thank you, that's a quite useful resource! :)
 
@Kendall Thanks buddy
 
I want one... :3 i.imgur.com/68Ch83M.jpg?1
 
@ton.yeung, well I guess it keeps the conversation pleasant.. :)
 
8:47 PM
@Annie "message" is just the name of the array property on the root object, right? I don't see why it should have any bearing on what the the model class name is allowed to be.
 
@ton.yeung Figured it out... Client said they had to change the extension to that or they could not email it...
Random
Lol
 

« first day (1175 days earlier)      last day (3781 days later) »