« first day (2183 days earlier)      last day (2768 days later) » 

8:00 PM
What does your Properties window look like for the .tt?
Specifically the Custom Tool field
 
TextTemplatingFileGenerator
 
That's right
Maybe I'm misremembering and it's supposed to generate on save
 
That's how mine works
 
That's how the runtime preprocessor does it, anyway
 
I'll try a runtime template
wait... that won't work
runtime template generates the text at... runtime
 
8:02 PM
No that's not what you want
 
I need it before compile time
right, because the sln depends on the classes generated
 
mmm, looks like this is generated at "design time"
 
Yeah, that's the normal T4
There's actually no such thing as build-time, it does it ASAP
but there's the setting there to regenerate
 
I guess I misunderstood some things
 
8:09 PM
It really escalated by the fourth step.
 
I hate when people do that
 
I feel like hangry people do that all the time.
 
I'm hangry right now
fk you auto correct
hangry is going in the dictionary
 
lol
 
so is xkcd
xkcd
 
8:17 PM
!!urban xkcd
 
@KendallFrey [xkcd](http://xkcd.urbanup.com/2361183) 1. Saving a few seconds at a long red light via elaborate and questionably legal maneuvers.
2. Having someone call your cell phone to figure out where it is.
3. Calling the Ackermann Function with Graham's Number as the argument just to horrify mathematicians.
4. Instinctively constructing rules for which floor tiles it's okay to step on and then walking funny ever after
 
It's amazing the lengths I'm willing to go to be lazy
 
Please tell me I'm not the only person who does #4
 
If they had "Go up the stairs in Beast Mode" then yes I'd say I'd have done that
 
I do #1, and 50 shades of it.
 
8:32 PM
@KendallFrey, yeah, I tried that project property, no luck
I did install the sdk
 
you could try tangible T4 editor
 
I am using that
free edition
 
It has a similar setting, but I don't know if it actually works
I think it might require the paid edition
 
and yes, I know the properties will let you generate on compile, on the paid version
requires PRO edition
"HAHA, fk u ur not a pro,"
 
Is it an acceptable solution to generate manually?
 
8:36 PM
I mean, yeah, i can do it, but it's so annoying
 
You might be able to set up a pre-build step
 
Guys any idea how i can make a Json class to receive this api :
 
@Pedram What are you stuck with?
 
the problem are these ... "1448816033000" they are random names that change over time
 
I'd suggest using a Dictionary for those
 
8:38 PM
i can't make class name with random name, what should i use as replace ?
 
multiples of 2
class superclass1
and then increment
jk, don't do that ever
 
Wish Visual Studio's Paste as Json class would do it for me xD but it give me wrong one :D
gave me like this
            public class Data
    {
        public Formatted formatted { get; set; }
        public float[][] initial { get; set; }
        public float[][] final { get; set; }
    }

    public class Formatted
    {
        public _1417120656000 _1417120656000 { get; set; }
        public _1417198373000 _1417198373000 { get; set; }
        public _1417545712000 _1417545712000 { get; set; }
 
You can deserialize to a dictionary, can't you?
 
I know that the model binder does not work in MVC if passed a dictionary.
 
i think i did something last summer used dictionary in json class , but can u give me an example of how i can write it ? i don't remember anymore
 
8:42 PM
make the formatted property a Dictionary instead of a custom class
 
@TravisJ hmmm well i can exclude it from the model i just need the very last Price price in this price history listing to get current price :P then i pass the current price to my model
 
You could always manually consume the data.
 
or womanually consume the data if you're not sexist
 
yeah....
 
loool
Well i made this for now and i check see how it goes
   public class Data
    {
        public Dictionary<string,Items> formatted { get; set; }
    }

    public class Items
    {
        public string initial { get; set; }
        public string final { get; set; }
        public int discount { get; set; }
    }
 
8:49 PM
Please don't pluralize your class names
3
 
^
 
@KendallFrey iknow ... :( It's a bad habit
Great ! it Worked :D Thanks for the help :D
 
@KendallFrey - That was what stood out to you? And not this?
 
haha, fk man
that's so hardcore
 
:)
 
8:53 PM
about pluralizing my class name tho ... the visual studio's special paste , paste as json class does pluralize my class names too :|
 
@TravisJ you're lying, stop that
 
So you did see it then
 
see what
 
The space + tab.
 
There is no tab, the hell are you on about
 
8:55 PM
@TravisJ lol that extra space is because when I select the code with my mouse and copy it, i copy it with 1 space less on the top line :D that's why it was went 1 space behind the rest :P
 
@Pedram - lol I know, it just looked funny
 
The documentation on MAF is garbage.
 
:D
 
That's nothing to smile about Pedram, :(
 
@Tomwa - His comment was directed at me I believe.
 
8:57 PM
I know, I was being silly
And yes, I've seen that page but most articles detailing samples of the pipeline and the adapters are ancient at best.
 
lol I don't even know what's MAF xD and google tell me it's Mission Aviation Fellowship
xD
 
@Pedram - Mass Airflow Sensor.
 
@TravisJ is that a fancy name for a fart meter?
 
All I know is that the M stands for Migrains
 
hahaha
 
9:01 PM
@KendallFrey - Yes, it was invented in the 50's by Homer Simpson.
 
d'oh
 
lol
needs moar donuts
 
MAF sensors are used in combustive applications like automobile engines. Your air intake has one to let the engine know how much air is entering the engine.
 
3 hours left in the week
@SeventhSon - What if there is an intercooler?
 
Hmmm, I dunno. Aren't those for superchargers?
 
9:03 PM
"Could not find a valid add-in in the directory C:\\Migration\\bin\\Debug\\Pipeline\\AddIns\\TestAddin."
So much description, so much meaning.
 
You lost me I was just trying to sound smart because I got into modding my hot-rod for a couple years a while back.
 
The dll exists, PEVerify says it's A+
Yet....
Not valid, the hell does that even mean?
 
I only stopped by to BS today. Anyone doing anything fun this weekend?
 
@SeventhSon - Sorry, we weren't even really talking about Mass Air Flow sensors anyway. We were talking about the Managed addin Framework.
 
Ah, K.
 
9:06 PM
btw guys, in some sites they have a weird big number :D but somehow they use it as a timer or set an exact time of day and hour from it, what is that format ? if i got the name i can google it and learn it :D
 
Yeah, intercoolers help superchargers by forcing cool air into the intake so it compresses more.
They can affect the airflow.
@Pedram - you mean the EPOCH milliseconds?
@SeventhSon - What kind of hot rod?
 
Nothing too fancy, I had a 04 Mustang sixer, then got a 07 GT.
 
@TravisJ Daaaaamn Right :D that was what I needed :D Thanks :D just googled and it's what i wanted :D
 
@Pedram - yay \o/
 
I didn't do much to them but read a lot about it. Ended up trading the GT in 2011 for a sweet new Challenger 392 6.4 Inaugural Edition.
^ That was the nicest car I ever owned.
 
9:10 PM
@SeventhSon - I recently bought a supercharged '10 camaro ss, it dynos at 550
 
Nice!
The Chally was about 480.
 
The longer I stare at this the more it obfuscates itself
 
@Tomwa - That is quite a feature.
 
@TravisJ So is that one sweet ride to drive or what?
 
@SeventhSon - It gets going pretty freaking quick. The only stuff I can ever sound off with are motorcycles now.
 
9:11 PM
The Camaro I mean?
 
I have got it to 170 so far, and it had half a gear left
 
Cool. I know, I used to get people revving up next to me in the Stang all the time. Nobody ever wanted to race me in the Chally.
@TravisJ Try not to kill yourself bro.
 
@SeventhSon - Don't worry. My next mini goal is to rent a formula 1 car to drive on a track.
1800 lbs, 750 hp lol
 
@TravisJ That sounds like an attainable goal. Maybe? Don't they have places that do that?
 
Yeah, it isn't so bad. I think it is like $1500 for 10 laps or so
 
9:14 PM
@TravisJ They're like 4 cylendars sometimes, right?
cylinders...
 
It depends on the manufacturer, but they are often 6. Definitely not 8, and 4 wouldn't surprise me.
 
I just did a new PC build at home.
First new build in about 4 years.
 
I am to the point where I think I am only going to buy MS Surfaces for my computers
 
Oh? You like them?
 
They are so nice, I have an original pro and two 4 pro's.
 
9:18 PM
I am not a fan of mobile format computers. I've never had one last more than 2 or t3 years, max.
 
One of them lives attached to my main tv with an hdmi cable
 
But my Lenova Yoga was freakin awesome. Until it died at two years old.
 
@SeventhSon - What do you mean by mobile format?
 
Laptops.
Tablets, etc.
I like to be able to get into my system easily when I need to.
My new sys is really barebones.
 
What I like about the surface is that if it is connected to a display with a mouse and keyboard it may as well be a desktop
 
9:20 PM
No optical drives, no typical ssd or hdd.
Yeah, I love the surface as far as laptops/tablets go.
 
Obviously it wouldn't work in a server rack though, not enough RAM
 
So I've just got the processor, water cooler, PSU, GPU, and case. Plus an M2 on the motherboard. And mem of course.
I put in 32 gigs of 3466 ram and a 500 gig M.2 and the processor is clocking at OC'd at 4.7. And the whole thing is so quiet!
Tempered glass side-panels, Phantek case.
 
Was it made for gaming?
 
It's so cool, I'm still thrilled my wife didn't give me too much crap about buying it.
It's for whatever, I do dev on it and a little gaming. I put a GTX 1080 in it!
Gotta run doods.
Have a great weekend!
 
o/
 
9:33 PM
ahaha
 
he's gone mad
 
O SHIT
 
OH LORD GOD I FIXED IT
 
PRAISE JEEBUS
 
I'm going to have to write a fucking book about this, for the brave fellows who follow
I'm taking a break
 
9:43 PM
hi, so I have a question about synchronized https://paste.fedoraproject.org/445796/76390147/

can multiple threads be in cannotReadNow or cannotWriteNow at the same time?
 
@kush You're in the wrong chat room
 
@KendallFrey ?
but I like this room
 
But we don't like Java
 
we don't like vb.net either lol
 
vb is terrible
 
9:46 PM
but like Saddam Hussein would say "Where else am I going to go? Detroit?"
 
though, I did use a library from it to get machine stats
 
ok I went to the other room. join rooms/139/ and help me there please?
 
i hope your name is kush
 
10:36 PM
@Tomwa There's nothing worse than having an issue, finding a post about it where the authors states he "fixed it" but then NEVER TELLING PEOPLE HOW HE FIXED IT! DAMN YOU! DAMN YOU TO HEcK.
 
11:03 PM
So I have a simple async sockets server app running right now... It receives messages and sends what it receives back to the sender. With no active connections, I'm getting dozens of "The thread 0x820 has exited with code 0 (0x0)" messages. Seems to be happening every 30s or so. What's causing this? Is it GC or some other back-end process?
 
34
A: The thread has exited with code 0 (0x0) with no unhanded exception

BlueMThis is just debugging message. You can switch that off by right clicking into the output window and uncheck the thread ended message. http://msdn.microsoft.com/en-us/library/bs4c1wda.aspx In addition to program out from your application, the Output window can display the information about...

There's no reason to be worried about it
 
Ah, perfect. Thanks.
 
11:31 PM
@RyanTernier Those people are the worst
Good ol' Unhanded Exceptions, much better than the Unhandled ones.
Speaking of Unhandled Exceptions
I was here a long long time ago for this and never resolved it:
I have a crash ~15 minutes into my program, crashes right after Garbage Collection
 
@Tomwa That doesn't sound good. Are you going to do something about it?
 
Well, I uh gave up on it months ago and I've rewritten most of the program in an attempt to fix it and uh it's exactly what it was before
I'm waiting for it to trigger again so WinDBG will grab it
I'm sure it's the same exception though, always occurs at the same ~14m mark
Everything works great minus the whole "You only get 15 minutes" ordeal...
This sounds a lot like my situation:

https://stackoverflow.com/questions/37476695/crash-15-minutes-after-showing-a-window
WPF + XNA + 15 minutes => Access Violation
"Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=00000002 ebx=16c89368 ecx=ea5824ea edx=00000000 esi=003da510 edi=003da510
eip=003da480 esp=16d8f824 ebp=16d8f830 iopl=0 nv up ei pl zr na pe nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246
<Unloaded_XAudio2_6.dll>+0x3a480:
003da480 ?? ???"
It's frustrating because I don't even touch XAudio2, all that happens way down in the game code.
 

« first day (2183 days earlier)      last day (2768 days later) »