« first day (1915 days earlier)      last day (3026 days later) » 

user47589
5:00 PM
is that java code, @mahdiazarm?
 
it is
 
user47589
you realize this is the C# room?
 
it's android!
I knew it!
 
it's android
 
Android isn't Java technically
 
5:00 PM
yes @KalaJ
 
it's based on Java, but it's not owned by Oracle
so it's not Java
 
user47589
should i hate it or not?
 
he mentioned shared prefs and I'm like.... you mean in Android?
 
@mahdiazarm why not post it in Android chat? or in Java chat?
 
It's like how Arduino uses "C"
 
> The minimum reputation required for access is 100 points on StackOverflow.
 
user47589
@Failsafe haha
 
heh
 
it's not really C at all, it's compiled with a C++ compiler, and it has classes
but it's made to look like C
 
5:02 PM
there is no chat available right now
 
@mahdiazarm YOu probably won't find much help here
 
@Jeremy That's probably not a bad thing :)
 
user47589
i don't know android.
 
@mikeTheLiar No, but it explains why @mahdiazarm is here
and the Java room explicitly says no android please, since it isn't Java after all...
 
Android's pretty cool; it's got a neat way of caching resources and a fairly clever UI lifecycle management system.
 
5:04 PM
just like the JS room doesnt do angular or jquery lol
 
JS room doesn't do Angular? News to me
 
Well I didn't think we'd need to specify that Android questions are off topic in the C# room
 
^^
outside of Xamarin?
 
Well, so are most of the things we talk about
 
tnx everybody see you later
 
5:05 PM
@ShotgunNinja yea but does xamarin really count
thats the same argument that the java room is using
 
Not really.
 
@mahdiazarm Sorry we can't help, but we are the C# room after all... :)
Try posting a question the Stack Overflow main site. It's what it's there for.
 
If it uses a significant part of the C# language spec, it's on-topic in here.
 
@ShotgunNinja errr... I mean, we talk about a lot of off-topic things here
 
@Jeremy very well tnx
 
5:13 PM
What day is it today? Srs
 
I can't decide if I want to go out for lunch or just have Soylent
 
@mikeTheLiar depends. Do you like food?
 
@mikeTheLiar How is Soylent?
 
ahhhhhhhhh the soylent shills are back
 
like, does it taste good?
 
5:14 PM
@TomW I fucking love food
@ShotgunNinja it's inoffensive. Not bad. Kinda malty
 
If you want something malty just drink beer
 
Like ovaltine without chocolate
 
@Jeremy +1
 
I can live with that
I'll just add chocolate syrup to the bottle.
 
I've tried flavoring it/additions but I find the added sugar just makes me hungry again faster
 
5:16 PM
@mikeTheLiar do you work somewhere that food. ..good. ...is?
 
My girlfriend wants to try Soylent
it doesn't actually have soy in it, does it?
 
There's surprisingly few options for decent lunch in downtown Boston. It's weird
 
That does surprise me
 
soy lecithin according to the ingredients, if that counts
 
there's a good pho place in chinatown
 
5:17 PM
Pho Pasteur?
Or however you spell it
 
Haven't been out for lunch from work in a while
 
forgot the name, it's right next to the metro station
 
Client has a decent bistro. Usually go there
 
@tweray I think it's the same one. phopasteurboston.net
 
yeah that's the one
used to deal with lunch on that during my student ages
 
5:20 PM
Since most of the food trucks have closed up for the winter the selection is a lot slimmer
 
you can still get some good clam chowder at quincy i suppose
 
@mikeTheLiar yelp.com/…
 
as long as you don't care about cholesterol
 
Yelp makes it so hard to get off the yelp site. It's like, fuck off, I want to go to the actual website of this establishment
 
@mikeTheLiar Yeah... sometimes it's linked, but it's not often enough
dumb to have to google something to get to the restaurant's own site
 
5:23 PM
dude, why New England Holocaust Memorial is in the list
 
@tweray Cause I didn't limit to restaurants
feel free to do so
Oh, Piperi looks good
...and you've made me hungry
 
Get a panini
 
lol
 
user47589
i hear panini is really healthy for your ass.
 
does anyone go on yelp and look for things other than restaurant? i thought about it and looks like i never did lol
 
5:27 PM
screw you guys and your paninis
I'm on the South Beach Diet, I can't eat bread until Saturday
Phase 1 ending then
 
!!wiki south beach diet
 
The South Beach Diet is a popular fad diet developed by Arthur Agatston and promoted in a best-selling 2003 book. It emphasizes eating high-fiber, low-glycemic carbohydrates, unsaturated fats, and lean protein, and categorizes carbohydrates and fats as "good" or "bad". Like other fad diets, it may have elements which are generally recognized as sensible, but it promises benefits not backed by supporting evidence or sound science. == Technique == The diet has three stages, and gradually increases the proportion of carbohydrate consumed as it progresses while simultaneously decreasing the proportions...
 
We picked up the book from Goodwill and decided to try it out
 
Oh, Chicken and Rice guys are nearby. That's an option
 
ok, i read the wiki, still don't understand it, can someone explain it so a 6 year old can understand?
 
5:29 PM
First two weeks: No bread, starches, or high amounts of sugars
Next two weeks: Increase diet to allow healthier starches/sugars like fruit and whole-grain bread
After that, resume eating as normal.
 
so basically if i eat three weeks of steak and ribs, i somehow did it?
 
No, it also imposes balance of the foods you can eat, as well as portion control.
 
Now I want a steak.
 
@ShotgunNinja Not sure if I'd have high energy or low energy
 
Oh, there's also certain types of meat and fats that aren't allowed in Phase 1 and 2
 
5:32 PM
how is it feeling
 
It's a lot more balanced.
instead of having surges of energy followed by crashes, I just feel slightly tired all the time, but not uncomfortably so.
 
@ShotgunNinja that sounds like a pretty good diet plan, tbh. Low carb diets are a great way to lose weight, but I've seen friends crash-diet on that and end up making themselves really ill.
 
It's not really low-carb, but it's selective carbs.
the only low-carb part is Phase 1
 
yep. It's a precursor to getting you to fix your bad eating habits :)
 
Okay somebody just walked in to the office with a burrito. That does it
 
5:34 PM
haha
 
lol
 
the only problem is that I still fucking crave starchy foods and Taco Bell and shit
 
a burrito?
 
I just crave them for the taste and not for the starch content
 
@ShotgunNinja I feel for you, man. I went vegan for a while. My craving for cheese was overwhelming.
 
5:35 PM
Hello guys
 
well taco bell is quite attracting to be fair
their new $1 crunchwrap sliders is really good
 
talking of food, I gotta go to a restaurant and eat some fondue or something. ttfn.
 
i am using a plus button to add a datetimepicker
as folowing
private void plusBtn_Click(object sender, EventArgs e)
        {
            newTimePicker = new DateTimePicker();

            newTimePicker.AllowDrop = true;
            newTimePicker.CalendarFont = new Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            newTimePicker.Font = new Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            newTimePicker.Location = new Point(pointX, pointY+=33);
the minus button should delete the recently added datetimepicker
any idea on how to fix that
i am trying ti write this.Controls.Remove(newtimePicker);
 
> goes on diet, misses taco bell
Good to know marijuana isn't disallowed by the south beach diet :^)
 
but this would remove just one datetimepicker
private void minusBtn_Click(object sender, EventArgs e)
        {
            if (this.Controls.Contains(minusBtn))
            {

            }
        }
 
5:50 PM
Im trying to use fluent API to create a many to many relationship between two tables. It works, but at the same time entity framework is an extra unnecessary mapping
*It works, but at the same time entity framework is also creating an additional an extra unnecessary mapping
 
@Michael - You can focus the textarea, and press the up arrow to edit your previous message for up to two minutes after posting a message.
 
posted on January 13, 2016 by Visual Studio Blog

Part 1 of this post provided some background on unit testing with a basic example in Visual Studio for an app written with Apache Cordova. In this post we’ll make many improvements to that example using the process of test-driven development, which helps you separate the process of thinking about how to challenge a unit of code to fail from the process of coding that unit to make it

 
@Michael - You are forced to used the automatically created content if you use ef code first.
 
6:07 PM
@Kob_24 OK. What's the problem?
 
user47589
does anyone know how to decorate an angular controller? i can decorate services and directives, but not controllers...
 
user47589
and google isn't helpful
 
user47589
i hate angular
 
why is there .net and .net core?
@Amy, what do you mean by decorate angular controller?
 
user47589
6:17 PM
i need to override a method on a controller from a library.
 
@Amy in Angular? Just use the prototype
 
user47589
hm
 
user47589
thats a good idea
 
it had to happen sooner or later
lol, I have to install VS2013 so I have a place to mess about with VS that doesn't impact my work environment
 
6:41 PM
you guys are awfully quiet...
 
The powerball
uuuuu
 
back from lunch
@juanvan yea i gotta buy tickets on the way home
 
just got the tickets for the office and ran into this old cheerleader from highschool
one of those moments ya know being married now is better then being in the dating pool, but it would have been fun to go out for a drink just the same
 
@Codeman Oh, that makes sense.
Kind of.
 
@juanvan I know that feel, brah
I mean, I'm not married, but yeah...
I still get drinks with friends, but I behave ;)
 
6:56 PM
Leaving the office to get lunch was a horrendous mistake
 
@mikeTheLiar why's that?
 
Ya, this would have been some afternoon delight lol
 
@Codeman Because it's very cold and windy here
 
@mikeTheLiar @ShotgunNinja and I don't have sympathy for your "very cold" 29F :^)
 
What do you want, it's been mild here so far. I didn't dress appropriately. Sue me.
 
7:07 PM
@mikeTheLiar But what can I sue you for
 
2 days ago, by Amy
i would sue my rich family member before they sue me. pre-emptive suing, the Bush doctrine applied to family.
Anything, it's preemptive
 
I'm fine with 29 deg F
what I'm not fine with is -10 deg F windchill
 
Bad enough living in Wisconsin without adding insult to injury
 
user47589
i am eminently quotable.
 
user47589
all Amy quotes are royalty free
 
7:19 PM
5 mins ago, by Amy
i am eminently quotable.
 
- Wayne Gretzky
 
36 secs ago, by Shotgun Ninja
5 mins ago, by Amy
i am eminently quotable.
 
32 secs ago, by Spencer Ruport
36 secs ago, by Shotgun Ninja
5 mins ago, by Amy
i am eminently quotable.
 
technically it's legal to quote someone as long as he/she allows, but are you allowed to quote someone's quote about someone if he/she allows?
 
7:21 PM
We verify these quotes, not because it is easy, but because it is hard - JFK
 
I have pulled pork and rice ready to eat for lunch today.
It's gonna be a good day.
 
hmm, I'll have to see about writing a plugin to make VSTS work for Project Rider
 
user47589
git pull pork_n_rice
 
7:24 PM
How do you pull rice?
 
Your pull request is rejected.
 
favorite pluralsight courses anyone?
 
Push money first. :D
 
its 50F and rainy here
 
@KalaJ Any topic in particular?
 
user47589
7:26 PM
hrm, well, they're all my favorites. i can't decide.
 
git push canIPayByCornInstead
 
git push product
git pull money
 
@KalaJ I like the new stuff they do where someone codes and you watch, or they hack something
 
if(payment.IsCommodity && payment.CommodityType.Value == GeneralValueAssessment.Low) return false;
 
not really
work is slow
 
7:27 PM
fatal: your product doesn't worth shit
 
There's a course on generics in C# that was pretty good. Surprisingly entertaining as well
Huh. Pluralsight is telling me that I now have access to something called "code school"
 
if you never watched it, google javascirpt:wtf
 
I think it's "wat" that you're thinking of
 
user47589
!!wat
 
@mikeTheLiar CodeSchool is pretty good. A lot more hand holdy than PluralSight
 
I tried to watch Dino Esposito's course on CQRS but I couldn't do it. Kept almost falling asleep and his accent is super distracting
 
 
that's also a good one, not sure which one come first though:
https://www.pubnub.com/blog/2015-02-27-kyle-simpson-asks-javascript-wtf/
but yeah, the wat one is more entertaining
 
7:36 PM
sup sharpers
 
Code School has a course "Unmasking HTML Emails"
fucking shoot me if I ever have to create HTML emails again
 
@tweray THe other is 3 years older ;)
 
#C
sdrawkcab si txet yM
 
@mikeTheLiar dude, don't be selfish, you need a minigun for me
 
@TomW the problem is that say at i add 10 new datetimepicker, so its just one picker is deleted and what i want is to delete the latestet added datetimepicker
 
7:42 PM
@tweray Very well. I'll shoot you if I ever have to create HTML emails again.
 
time to write out some design documents :)
 
@Kob_24 Windows forms?
oh yeah, course it is
 
yes
 
jeebus
 
ControlCollection.RemoveByKey(string) should work, I think.
You'd have to name them with some strategy that makes it obvious which one is which
 
7:44 PM
yeah thats what i tried to do
at the add button i wrote like that
newTimePicker.Name = "newTimePicker" + count++;
 
and?
 
so when button is added the namewill be newTimePicker0, newTimePicker1 and so on
 
lol I only got a rec for generics
okay
 
but the thing is how to use these names at the delete button method
 
generics it is
 
7:46 PM
@KalaJ it's the one by Scott Allen I think
 
alright i think i was initially thinking about this
 
found it thanks @mikeTheLiar
 
Does someone knows about GUID?
 
@Kob_24 what do you mean by 'how'?
What is the problem?
 
pluralsight is failing on me
:(
503 Service Unavailable

No server is available to handle this request.
 
7:46 PM
Just specify the one you want to remove
 
@Obviously what about them?
 
How can I append guid in the url
 
private void plusBtn_Click(object sender, EventArgs e)
        {
            newTimePicker = new DateTimePicker();

            newTimePicker.AllowDrop = true;
            newTimePicker.CalendarFont = new Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            newTimePicker.Font = new Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            newTimePicker.Location = new Point(pointX, pointY+=33);
 
when making a get request on a page
I am getting this error
The parameters dictionary contains a null entry for parameter 'guid' of non-nullable type 'System.Guid'
 
look at the code here, at this line
 
7:47 PM
when making guid
 
newTimePicker.Name = "newTimePicker" + count++;
 
@Kob_24 what is the purpose of this line? if (this.Controls.Contains(minusBtn))
 
i can get a guid from here
 
na nothing dude it has no meaning
 
But how to append at the end of url
 
7:48 PM
i was just trying something
but here i wrote like that this.Controls.Remove(newDateTime)
and then i made dispose
 
@Kob_24 yes, I understand how you're adding it. I'm asking what the problem is with removing them
 
thhis would delete just one datetimepicker
the problem is that i cant fix it to delete the latest added datetimepicker
 
@Obviously why are you getting GUIDs from a website?
 
Why not?
 
No just for testing
 
7:50 PM
because when i delete the metod dont recognise which datetimepicker should it remove
 
So use the method we just discussed, give them a unique name
 
it just remove the first object with the name datetimepicker
ControlCollection.RemoveByKey(string)
this one
wait
iw ill check it
yeb i think this works fine
thx
 
np
 
,)
;)
 
I think as long as the count variable stays untouched by all your other code and you make sure to only increment and decrement it when successfully adding and removing controls, you shouldn't get out of sync and break stuff
 
7:57 PM
I just told a co worker about the Monty Hall problem and I kinda regret it
 
user47589
why
 

« first day (1915 days earlier)      last day (3026 days later) »