« first day (1944 days earlier)      last day (3010 days later) » 

4:01 PM
@CharlieBrown that's really the scrum master's job. Not anyone else's.
A scrum master should run a tight ship and be hell-bent on making sure nothing gets in the way of their workers doing real work.
It's a tough job to do properly
 
Hello everyone
 
ANy Lambda expression experts around?
Trying to get back a list of prices for a specific formula.
 
@user2519971 the given answer is correct
 
Formulas.Where(f => f.Id == 14).Select(f => new { f.FormulaPricingGroup.Prices.
 
4:06 PM
...
 
Is it just me or is UPS Ground just, like, the worst possible shipping option? Other than, I don't know, training a team of swallows to grip the package by the husk?
 
I am trying to return specific columns for the prices
 
@webworm going to need way more information
 
Sure thing @Charlie
Basically ... I have three tables ...
Formulas
FormulaPricingGroups
Prices
 
there are no tables in Linq/c#
 
4:07 PM
@webworm that's not a complete statement
 
i have a design question
 
i have a hat
 
say i had like...10000 id's
each 5 digits
 
@Failsafe Amy will do it for you for 3 hugs/hour
 
so like 00001 - 10000
 
4:08 PM
@Mike your right ... I cannot complete the query ...
 
how would you display these to the user
 
@webworm do you mean, how do you specify the names of the properties in the anonymous type?
 
in a web page
 
@webworm, by tables you mean IEnumerable ?
 
needs to be editable, meaning addition/remove
 
4:08 PM
@Failsafe are they choosing them? creating them? editing info atteched to them?
 
more like copy pasting from excel or click n drag from excel
 
@Tom ... you got it ... but when I try an access the members of the Price entity ll I get are the methods like Where, Select, etc ...
 
no just a list
00001
00001
00001
00001
00001
etc.
 
well, that many elements in html alone will burn most browsers
 
@webworm new { Property = f.FormulaGroup.Prices.Whatever }
 
4:09 PM
You see each formula belongs to a FormulaPricingGroup
and each price also belongs to a FormulaPricingGroup
 
@CharlieBrown besides that
 
Formula -> FormulaPricingGroup is 1 to 1 (a formula can only have a single FormulaPricingGroup)
 
how do you display a basic list like that and make it not look like shit
 
Oh, so not that at all. You're asking how to get a specific Price to assign to that property?
 
@webworm, may be, if you paste the classes, it could be clearer for us
 
4:11 PM
ul > li, style it nicely
 
pagination though? infinite scrolling maybe?
 
I tried to make an ad-hoc example in this post ...
http://stackoverflow.com/questions/35325366/association-entity-is-valid-in-linqpad-but-null-at-runtime
 
If it needs to be dragged, then I would "box" each item
 
individual elements dont need to be dragged
 
you would need to implement virtualization, so think inifnite scrolling in both directions
 
4:11 PM
Instead of formulas I am usinf Vehicles in the example
 
order doesnt matter
 
except, when elements go off screen by x pixels, remove them from the dom
 
Here is a simpler example (less fields) ...
public class Vehicle
{
public int Id {get; set;}
public string Name {get; set}
public int VehicleTypeId {get; set;}
public virtual VehicleType VehicleType {get; set;}
}

public class VehicleType
{
public int Id {get; set;}
public string VehicleTypeName {get; set}
public ICollection<Vehicle> Vehicles {get; set;}
public ICollection<Price> Prices {get; set;}
}

public class Price
{
public int Id {get; set;}
public int Price {get; set;}
public int VehicleTypeId {get; set;}
 
hmm
 
@webworm I think you've asked about three completely different questions so far...can you please be clearer exactly what the problem is you're trying to solve?
 
4:14 PM
@CharlieBrown wow i just got to the bottom of that
 
The linked question looks like it might be to do with lazy loading, but I'm not very familiar with EF
These guys are
 
how can anyone who admits they work in marketting judge dev process correctly?
 
and yet, happens all the time for some reason
 
I am trying this in LINQPad ...
dbContext.Vehicles.Where(v => v.Id = 123).VehicleType.Price.Select(p => new { p.Price})
I am sorry ... it is hard to explain what I am confused about
 
@webworm that wont work, Where returns an IEnumerable
 
4:15 PM
@CharlieBrown he also states he was able to get a CTO fired ... so basically he has too much power
 
dbContext.Vehicles.Single(v => v.Id == 123)
 
Hi guys. I'm on my phone. How's everyone?
 
@CharlieBrown - How to I change what is displayed for the collection?
 
They need to make mobile chat better
 
if i work in any other department in a company I just literally have to know my job ... as a developer I have to know my job and have deep fundamental understanding of how everyone else does their job in order towrite and maintain their business processes
 
4:16 PM
@Wardy i think the author is a bit nuts, but still makes good points
@webworm what output do you want?
 
@CharlieBrown +1 to that
 
@KalaJ there's an opt-in mobile beta chat client
 
I dont think SO has an option for chat in the android app either
 
@CharlieBrown - Thanks! I didn't think of that. I was always thinking of getting back a collection
 
Mike, there is? ?
 
4:17 PM
@CharlieBrown - I would like to get back a list of prices for a given VehicleId
 
I have to write soap x509 encryption today from scratch. so much crap derailing me
 
@KalaJ yep. Go to your chat profile -> preferences
 
@webworm ok, one sec
 
I will try out that Single in LINQPad ....
 
4:19 PM
var prices = (from v in dbContext.Vehicles
from vt in v.VehicleType
from p in vt.Prices
where v.Id == 123
select p).ToList()
var prices = dbContext.Vehicles.Single(x => x.Id == 123).VehicleType.Prices.ToList();
 
@CharlieBrown - Thanks ... I am going to try and convert that to Lambda
 
Either one
 
@CharlieBrown - So my problem all along is that I was returning IEnumerable instead of a single entity?
 
correct
 
@CharlieBrown - That is why I kept getting methods that only applied ti IEnumerable. I was thinking that Where() would return only a single entity
 
4:22 PM
Since this doesn't appear to have been shared to this room:
76
Q: Test the new mobile chat!

balphaRemember 2010, when smartphones looked like this?             Back then, we created a mobile version of chat, so that people could use the bare minimum of features on those and similar phones. Well waddayaknow, suddenly it's 2016, smartphones for some reason now look like this:             –...

 
@CharlieBrown - Thanks a bunch! I really appreciate your help. Is there a way I can assign points to your SO rep?
 
no, but you can help someone else in the future and thats good enough
 
@CharlieBrown now im really lost ... in a later post he writes "im a developer" gilesbowkett.blogspot.co.uk/2014/09/agile-is-overripe.html
 
@CharlieBrown - Thanks again.
 
is this guy in marketing or development?
 
4:25 PM
@Wardy one of his points is 'since when are developers not business people?'
 
@TomW yeh ... which is a good point IMO ... we are essentially more business people than most others in other deps
 
Therefore I surmise that he is a rather unusual kind of guy who knows how to sell software because he writes it
 
I mean how many other departments have to have a complete understanding of the entire business just to get their job done?
 
Although another good point: marketing is not (only) sales
 
wtf... visual studio just gave me a weird error when trying to rename a method
 
4:27 PM
@Michael VS is constantly giving me weird shit like that
"Cannot navigate to breakpoint - catastrophic failure"
 
Restarting visual studio completely seemed to fix it.
lol ive never had that before
 
Anyone here use SO Careers?
Tried to find a chat about SO Careers but no luck.
 
@webworm Yep. I just got a job through it :D
 
this I think highlights the underlying problem
 
4:32 PM
@Squiggle - Hey thats great!
 
I would like to create a CV for Stack Overflow Careers but I am afraid a potential employer might see some of the stupid questions I have asked.
 
These are all errors that I've encountered and saved
 
@webworm the Internet never forgets. Mwuahaha.
 
4:35 PM
@mikeTheLiar stahp!
 
I'm done
 
HAMMAHTIME!
 
@Squiggle - Your right ... always wanted to keep my SO account personal so I could feel free to ask a "stupid" question
 
Thanks @mikeTheLiar, I can't seem to access our on my phone but I'm check it out later
Access it on*
 
@webworm eh. Have at it. You've got a decent rep and your questions at-a-glance don't look at all retarded. You'll be fine.
 
4:37 PM
@Squiggle - Thanks ... your too kind. But most of my rep is from asking questions. I have given some answers but far and away there are more questions.
 
@webworm you worry too much. If a potential employer judges you on trying to seek answers for things you don't know about, they're not worth working for.
 
@Squiggle - You make a good point. Thanks!
 
But I'm speaking from a different perspective here. I've never asked a question on SO ;)
 
@Squiggle - Haaa!
 
@mikeTheLiar time to reinstall VS if you're getting that many issues ... and don't add resharper this time!!!
 
4:39 PM
@Squiggle - Congratulations again on your new job!
 
\o/
 
user47589
ALL GLORY TO SQUIGGLE
 
in HTML / CSS / WebDesign, Feb 6 at 17:28, by CSáµ 
http://www.brightball.com/development/no-such-thing-as-real-programming
 
I have a challenge
 
PHP developers have no shame
 
4:40 PM
isn't asking questions / having question history like a pointer to "these are the sorts of problems i have solved in the past"
 
whoever applies to their next job
 
@Amy STOP BEING SO PATRONISING YOU GORRAM PANINO
 
put JicamaJS on their resume
3
see what happens
 
@Squiggle kappa
 
user47589
what's gorram?
 
4:40 PM
god damn
 
!!urban gorram
 
@Squiggle [Gorram](http://gorram.urbanup.com/391081) A version of "God damn".

Can be found on Joss Whedon show "FireFly".
 
@Amy It's from firefly
 
In english people speak
 
user47589
ah
 
4:41 PM
jane says it
 
@Amy you of all people ought to have known that
 
a lot
 
your mom says it
 
user47589
I hang my head in shame.
 
@Amy lol ...
 
4:42 PM
Hi Failsafe, I came across your resume in our database and you look like a good fit for Game Engine Programmer(Networking) - 150k + RELOCATION OFFERED!
 
Has anyone in United Kingdomland ever had to deal with moving into a dwelling that doesn't have a registered address?
 
:O
lol
 
My landlord, though they have built something fancy and relatively expensive, is apparently stupid
And has not registered the god damn address as something that exists.
 
@Sippy more hassle than it's worth. Go homeless.
 
Okay!
 
user47589
4:43 PM
I tire of the Tekshapers spam emails. You guys get those?
 
(you can just unsub)
(that's how emails work)
 
I get cybercoders ones
 
user47589
they don't respect the unsub.
 
all day
 
Motherfuckers.
 
4:43 PM
@Amy filter rule
 
I autoreply back with "No"
 
grabs shotgun
 
it's better than just unsubbing
 
any email from <spam address> => bin
 
no dont ignore it
 
4:44 PM
@Failsafe set rule to reply 10 times NO
 
set up a rule to auto reply with something
its more passive aggressive
 
then after a month 100 times FUCKING NO
 
I got an email from Cybercoders wanting to know if I wanted to hire anyway
 
then after a year 1,000 times GET READY FOR THE DAM DDOS NO!
 
user47589
Cybercoders is worse than tekshapers
 
4:45 PM
^
 
@Sippy It's controlled by the post office. There's a form
 
"We saw from your website that you're looking for talent" Our website says there are no open positions
 
@TomW Apparently it has to go through the local council first.
 
According to whom?
 
Council can't give it a postcode but they have to confirm it or something
Royal Mail
 
4:45 PM
fff
Write to your MP if they don't do it
 
Hence why developer is meant to do it
When
They build
The god damn
Place
/rant
 
I can officially put "poop" on my resume. "Familiar with good, poop, swagger, crumb, yar, bedwetter, dogwater, bassmaster, glee, joi, ridicule, tacky, etc"
 
user47589
I get the tekshapers emails from different gmail addresses, its a different throwaway address each time.
 
Lol "bassmaster"
Bassmaster Brown in da house
@Amy They sound lovely
 
public class BaseController : ApiController { // BASE CONTROLLER oontz oontz oontz
 
4:48 PM
@TomW Lol
 
@Squiggle ouch
 
Hey man if you can't laugh at work what use is work
 
ApiController is a base what you mean to say is ...
 
public abstract yeah
 
public class MyContextController : ApiController {
 
4:49 PM
^ this guy
 
user47589
hands off my context
 
@Amy oh its yours is it ?
I did wonder where i got this context from
I have IDataContext at the bottom of my stack
 
user47589
gimme my context back
 
EFDataContext : IDataContext
 
I'll be back in here again on the 22nd I think
Y'all prepare yo'selves
 
4:50 PM
AppContext : EFDataContext
it gets nice and messy when I start to abuse inheritance
 
@Sippy Peace be with you.
 
@Squiggle I am literally doing that
public class BaseController : System.Mvc.Controller {}
 
@Failsafe [Scooter-style voice] base base base BASE BASE KONTROLLAH
[psy-trance visuals, thumping hardcore]
 
@Squiggle Somebody's reminiscing on past glories...
 
:)
@Squiggle what job?
 
user47589
5:02 PM
at my first job, i was given the nickname Scooter by my bully of a boss.
 
:o
why
 
@Amy not because of borderlands
right?
 
user47589
I suggested we name our team something from He-Man or something, he started calling me "Scooter, Queen of the Sissy Bikes"
 
well he just sounds like a big douche bag
 
did you do a FADC shoryuken to his jaw?
 
user47589
5:04 PM
he was. former construction worker, he had the job because he was friends with one of the owners.
 
user47589
the "Good Ole Boy" system at work.
 
user47589
@Failsafe nah this was back in 2005
 
i've been given the nick name "pukey" from multiple groups of people, because i'd work out so hard i'd puke every time..... whiskers was another one, one drill instructor called me almer fud a bunch, 40oz is another one
 
lol
 
5:07 PM
the 40oz one is a pretty funny story, when i was in jr. high school i offered my buddy a few fortys that i had, didn't realize his dad was right next to him - just didn't see him in the car, and i didn't know what else to say, so i offered his dad one too, ever since he's called me 40oz
 
heh. Yeah. Funny story.
:-/
 
suck a cock
 
:D
sorry. That was too snarky, even for me.
 
Anyone here remember my TPL questions earlier this morning? I'd like to discuss again if possible
For the new here, some background info ... >
So I have chunks of IO operations that I would like to dispatch on separate Tasks. I originally subclassed BlockingCollection and had a Task waiting "at the end" trying to Take chunks as they were added to the collection. Once taken another Task was created for the IO operation to complete within. This has caused issues that I cannot track down. Also per the advice here it seems like a poor solution.
 
So after some thought I think I want to create a class that can "schedule" incoming chunks by stringing Tasks together with continuations. So as a chunk comes in, it is put into a Task and added as a continuation to the "last Task that was produced".
 
5:14 PM
tldr;
 
This will keep the order of IO operations (something the last solution did not do), it will just just spawn as many Tasks as possible, only 1 per IO device, and I think I can keep the same thread per continuation.
it will not just ***
I guess does this seem more reasonable?
 
i have no idea, i've neer done IO
 
Ahh all good, I dont think who I spoke with is in here still. Maybe Amy but thats it
 
i want to get a job overseas
 
I'm pretty good with Tasks and IO (in the Haskell sense anyway)
@SteveG again?
 
5:23 PM
yea
if i wasn't so fat, i'd be a security contractor in iraq/syria
but i am, so i guess i'll just have to move to australia and get fatter
 
If I wasn't so fat, I'd be a healthy weight
 
lmao
 
on a scale of 0 to boogie2988, how fat are you
 
> on a scale of 0 to boogie2988 Kendall's mom, how fat are you
 
i'm not familiar with that scale, but if i had to guess, it'd be mashedpotato2432
 
5:26 PM
do you not know boogie? :(
he's awesome
 
i can probably walk a couple miles and be okay, running one is def. out of the question, unless theres a chimmichunga at the end of it
 
"i can probably walk a couple miles and be okay" okay pretty fat
 
lol
yeah for sure
 
I can walk pretty much indefinitely. Running, not so much.
 
I can smug because I ran three miles at lunch today
Was expecting it to be terrible. Actually haven't lost too much performance, but it hurt
 
5:31 PM
lmao
i'd like to get back into shape, but <excuse 1>, <excuse 2>, <excuse 3>, <excuse n>
 
round is a shape
 
So is pear.
 
banana
 
Donut?
 
Ladies
 
5:32 PM
panini
 
omg fucking panini's
but no, seriously, must work out
 
the mathematician in me says "I'm not a sphere I'm a ball"
I had two and a half pizzas for lunch
 
I'm trying to decide if I want to walk to the Mexican place for a shrimp burrito or not.
 
i had 4 panchero's taco's
 
Nobody wants to see shrimp swimming in a toilet
 
5:34 PM
well, 3 and a half, because 4 would have just been too unhealthy
 
^ that's how I eat
 
lol
 
two an a half pizzas, better not have that extra cookie
(they were mini pizzas though)
Can I say I "improved error handling" if I removed some catch blocks?
I think anything but swallowing is an improvement
inb4 phrasing
so
 
@KendallFrey unless it's pizza
 
@KendallFrey yes
 
5:49 PM
catch(Exception ex) { throw ex; }
>_<
 
I'd throw my ex if I saw that
 
no walking today, 4F windchill. man, i hate winter
 
Almost over!
 
@CharlieBrown It's not that bad here but it's still not pleasant
 
I wish the fing nights would stop getting so cold so I could plant things
It's been a really mild winter but still freezing odd nights here and there
 
5:57 PM
@TomW Good For You
 
@TomW Spring is coming.
I saw the sun today.
@Squiggle What job you accepted?
 

« first day (1944 days earlier)      last day (3010 days later) »