« first day (1965 days earlier)      last day (2986 days later) » 

7:00 PM
depends on the turkey. real turkey is good. the slabs of Jell-O that eom people call turkey is gross
 
I mean the bird. If you cook one, then you eat it, it will be gross.
Dry af
chicken 4 lyf
 
ok, first hotdog down. gonna make a go for #2 and see if I survive.
@Sippy eet moar chikin?
 
@MikeEdenfield Remember to think about dicks while you eat it
 
@Sippy i thought that was a given?
 
7:01 PM
ofc but you know
you might be new
 
@Sippy brine your turkey, don't be a fucking savage
 
Skype is constantly consuming 20% of my processor like... all the time.
 
harder to get right than chicken, but not destined to be dry
 
@Sippy you use lube ofc lol
 
I'm not even chatting. It's just sitting in the system tray.
 
7:02 PM
@KendallFrey roflmao
 
lube, gravy, w/e
 
Nothing suspicious about that.
 
It's all the same right?
 
@CharlieBrown That is interesting with how LL makes all the SQL queries.
 
@SpencerRuport that's the NSA listening in
 
7:02 PM
@SpencerRuport MSFT have destroyed skype :)
 
user47589
just once, i want to kill the animal i eat, and go through the entire preparation process from bird -> meal
 
@Amy do it it's kinda fun if you got the stomach for it
 
@Amy you can do that
 
If you don't then you won't eat a bird ever again
 
Most farms will let you pick out a bird and slaughter it yourself
 
user47589
7:03 PM
really, @mikeTheLiar?
 
Really really
 
@Amy - It's a weird sensation watching a chicken body jump around for a few minutes without a head.
 
mike just wants you to come to his farm so he can steal your paninis
 
Back when I worked in kitchens my chef would do that for Thanksgiving
 
@SpencerRuport funny though
they run downhill lol
 
7:04 PM
@mikeTheLiar - NSA or general advertising. Either way I'm not happy about it.
 
@CharlieBrown So my boss, wants to stick with the lazy loading for this project. Fine, maybe it will keep causing me problems. But I needed to understand what you showed me (how to handle EF more correctly, or.. in a more clean straightforward way.) I'll make use of it this way in my own projects.
 
There's something seriously wrong with my internet
TiP Summary - Minimum :: 7.86 Mbps | Middle :: 7604.02 Mbps | Maximum :: 11184.81 Mbps
 
sounds good
@Sippy just the tip
 
Why is my max connection speed at 11 Gbps
Sorry it's not
wait is it
i don't even know
@CharlieBrown tell that to @MikeEdenfield
:P
 
7:08 PM
So I watched a youtube video of a guy breaking open a battery pack. I had no idea you could just pull out the individual cells.
He pointed out that usually just one cell fails.
I'm gonna see if I can charge them and find other uses for the ones which haven't failed yet.
 
@SpencerRuport Depends on the battery
 
@CharlieBrown in the example you laid out, it worked perfectly for a View Form scenario, what about an Editing form?

Would we follow the same pattern, except use a global variable (Form Level) to bind to the UI, and then when it comes time to save changes ?

Using(Context ctx = new Context())
{
//Attach _BoundObject to Context
//Mark BoundObject Entity as Modified
//SaveChanges()
}
 
ok, 1 sec, stupid conf call
 
user47589
it depends on the type of battery, but yeah, one cell will fail before the others, which will increase the strain on the other cells, and hasten their failure.
 
It was a laptop battery pack. I looked up the model
 
7:15 PM
@SpencerRuport I remember the first time I learned about that exact same thing
you'll probably have to do some soldering.. and with batteries thats a bit scary
 
The laptop battery pack had nine of these guys: aliexpress.com/store/product/…!
@Michael - A buddy of mine is more proficient in that sort of thing so I'll get his input before applying heat to any of them ;)
3.7v 2400ma :D
 
@Michael ok, updating that code now...
 
@SpencerRuport so 9*~$4 = ~$36
how much for a new battery pack?
 
@Michael - I'm thinking I might just make some mini USB chargers out of them with a little 3d printing.
@Michael - I think it was $60 when I bought it 2 years ago. The replacement was $35 I think.
 
7:20 PM
aaaand I'm back
 
and it feels so good
 
Don't call it a comeback
 
@CharlieBrown so doing .Attach() is perfectly clean and valid in this type of case?
 
@SpencerRuport arc welders are faster.
 
@SpencerRuport I said and I'm back, not baby I'm back
 
7:20 PM
like thats how you do it?
 
@MikeEdenfield we used to do arc welding with the bench power supplies in our CpE lab. That was fun. Also very dangerous
 
@MikeEdenfield faster at blowing up a battery?
 
yeah, you need to attach if you save with a diff context instance than you created with
 
and thats a pretty typical thing?
to create with a context, have detach objects during editing, and then reattaching?
 
I dunno about typical, but it's definitely a scenario MS envisioned when they built EF
 
7:22 PM
yep, every web app has to do that
web apps of course, do context per request, so you have no choice
 
good good stuff
 
Here is a much more advanced version of this pattern I use for teaching classes about patterns github.com/carbonrobot/FullStackEF
 
Awesome, is that like a working example project?
 
yes, it does compile and run
 
downloaded for near future reference :)
 
7:30 PM
Anyone ever tried melting a wrench on a car battery?
 
That's presumably a waste of a perfectly good wrench and battery
 
It is
But it'd be cool
 
it would be hot
 
oh god why
 
user47589
because reasons.
 
7:35 PM
i will prob need new boat batteries next year. talk about overpriced crazyness. its like 400$ each and I need 3
 
for 3 boats, or 3 for a single boat?
 
1 boat
 
user47589
if the boat was made by Apple you'd have to throw out the whole boat and get a new one when the battery died.
3
 
lol, no doubt
id probably have to buy a new one every year too, just to keep it working right
 
i wish i know how to pen test
 
7:36 PM
Ive performed battery surgery on apple products.
 
user47589
click the end of the pen, apply to paper
 
@Amy or you could get it serviced by a third party, but when you tried to turn it on you'd just get an error message
 
$1200 for consumables doesn't sound outrageous for someone who can afford a boat
 
@Amy thanks
 
user47589
no problem
 
7:37 PM
I'm smell doritos.
 
user47589
i have extensive experience in pen testing, let me know if i can help further.
 
It's lunch time.
latez
 
@Amy Yea? Any experience using the FeatherOS distro?
the one with the InkWell core lib
it's pretty old school
 
@Failsafe that's so cutesy I think I'm gonna puke
 
pretty punny
 
user47589
7:39 PM
No. Most of my experience is with Bic.
 
hurka hurka hurka
 
@Amy that's too mainstream
every pen tester has that
 
user47589
if you're okay with substandard pen testing, sure, go with those guys.
 
Feather like backtracks?
 
I have extendive experience in pen15 testing
 
7:41 PM
<--- Joke























@juanvan's head
 
lulz
 
lol sorry @juanvan
 
lol
 
@Codeman you must host the site penisland.com
 
guess no one else uses backtracks for pen testing
 
user47589
7:43 PM
i use backtraces.
 
backtrack got EOL'd
its Kali Linux now
 
ya it did
 
If you have a global variable (Form level)
private object objectToEdit = new object();

and a bunch of methods in your class that perform actions on the objectToEdit

is it better practice to have the methods take it in as a parameter? or take in No paramaters and just use the global variable?
 
set it in the constructor and use the values
 
because methods that take in the parameter explicitly is better for dependency injection right?
@juanvan how so?
 
7:47 PM
only use DI in the constructor (that is my take)
 
so it doesnt really apply to methods?
like in my example, the same stuff gets done the same either way.
didnt know if it was better practice one way or the other
 
user47589
i agree, constructor injection is preferred over property injection
 
@juanvan I wrote a GUI in Visual Basic
 
did it take two people typing on the same keyboard?
 
wrote it from scratch?
 
7:56 PM
@Amy can you give basic example?
 
user47589
of constructor injection?
 
constructor injection being that the value "this" class operates on must be passed to the constructor
?
 
user47589
all that is is giving a component all of its dependencies when constructing it, not after constructing it and injecting into properties.
 
user47589
you don't pass this to a constructor. i dont understand what you mean by that
 
7:58 PM
I just meant, "some" class
 
user47589
I still don't understand what you mean.
 
well, what do you mean by property injection then? like what would that look like?
 
user47589
okay, lets back up
 
user47589
lets get some terminology down so there's no confusion.
 
okay
 
user47589
8:00 PM
a class represents a component, and provides services to other components.
 
user47589
components depend on each other.
 
private readonly IKernel _container;
public NinjectDependencyResolver(IKernel container)
{
_container = container;
}
 
user47589
a service is a set of functionality, and is best represented by an interface.
 
okay
 
user47589
anyway, components depend on each other. with DI, the DI container provides those dependencies to each component.
 
user47589
8:02 PM
it can do so in two ways, in the constructor, so the component has all its dependencies and is ready to go out of the gate, or post-constructor, by setting properties on the component.
 
user47589
the second way is not preferred, because the component isn't guaranteed to be in a ready state
 
user47589
the component doesn't care how its dependencies are created or where they come from. it only accepts what its given
 
okay I see.
so create a constructor such that it takes in what is necessary for the class to perform what it needs to?
 
who wants to help me name things? (no I'm not a father)
 
Instead of having no constructor (parameters) and letting the user manually set the properties
 
user47589
8:04 PM
so practical example, say you have two services, IFoo and IBar, and each is provided by a component, Foo and Bar. note that IFoo does not have a dependency on IBar, but Foo does (a dependency on IBar)
 
user47589
because components have dependencies, not services
 
I have a control with a bunch of tabs. my thinking is... name the parent controller HubController, then each of the tabs will have a Tab model and a {feature}TabController
 
user47589
Foo depends on Bar. so
 
user47589
public Foo(IBar bar) { this.Bar = bar; }
 
CodemanHub
 
8:05 PM
:)
 
user47589
that's constructor injection
 
got it
 
user47589
correction: Foo depends on IBar, not Bar. components depend on services, not components.
 
user47589
the same thing with property injection would having an IBar property with a public setter.
 
and property injection would be:
Foo f = new foo();
f.Bar = bar;
?
 
user47589
8:07 PM
you can do DI without using a DI library. you just have to construct the entire object graph yourself.
 
user47589
yes. in practice, if you're doing "real" DI, you'd use a library that can construct components for you and wire their dependencies up
 
user47589
but, what you wrote is by definition property injection
 
okay got it.
So my original question really has nothing to do with dependency injection?
 
@Amy we just have a ServiceFactory and pass in stuff to our constructors for DI
of course, we also have a god object which is frustrating
 
@Amy It was:
should my methods in my class make use of a global variable? or take in that variable as a parameter?
 
user47589
8:09 PM
using DI promotes SOLID and DRY code.
 
yup
also - eating fiber promotes SOLID and DRY poop
 
user47589
that it does.
 
I want some cheesecake
 
user47589
depends @Michael on how you want that class to behave. i tend to avoid globals, and pass in all of the data a function needs to perform its specific task.
 
@Amy okay good. thanks for the answer :)
 
user47589
8:12 PM
generally if a class maintains internal state between method calls, then callers need to be aware of how that state can affect them (rephrased)
 
user47589
instance construction / garbage collection is cheap. there's no problem creating an object simply to throw it away
 
user47589
imo, DI and IoC are difficult topics to wrap your head around, but once you do, your projects will scale much better.
 
Yeah, they sound like something that would make code much cleaner. I've been trying to try to understand them when they might apply in my code
 
@Amy I just write functional code and I don't have to worry about that nonsense :D
 
Hi, can someone help me, short dump question : If i bind the source property of a bitmapImage with the urisource "x" and "x" is a uri which is getting redirected to "y" does it work?
 
user47589
8:17 PM
hehe codeman
 
@Amy the trouble is getting my coworkers to do that...
 
user47589
they just need the right motivation
 
the motivation is me telling them to do it in a code review :P
there's way too much "I'm a college grad and I overcomplicate everything" code in our codebase
 
don't get me wrong - I'm not perfect, you can't really write strictly FP code in C# easily
but you can write your code such that you have a minimum of side effects
 
8:19 PM
And functional programming is not supported very often (e.g. for programming) windows 10 universal
 
user47589
My first programming job was doing Scheme. Loved it.
 
just got to watch garbage collection on low power devices like tablets, win 10 uni apps, xbox, things like that. large garbage collection runs will murder the app, so its better to reuse objects than recreate
 
user47589
Functional development is very different, but very satisfying.
 
user47589
@CharlieBrown that wouldn't apply to server environments.
 
not typically, they are not "low power devices"
 
8:24 PM
@CharlieBrown F# will be supported in the future for windows universal apps anyway...
 
you can take concepts from f# and apply them to your c# world, makes for nicer c# code
 
@CharlieBrown basically what I do
stuff like "use LINQ instead of a foreach loop, it'll make you more honest about what your code is actually doing"
way too easy to have random side effects in a foreach loop
@CharlieBrown the GC is enemy #1 for Android programming
 
I heard on the street that if your phone/device has enough 'extra' ram then it's not bad.
..that GC hapopens less often and, more importantly, takes less time to run for some reason.
 
gc can be tough to manage. since it runs on its own, it might try to run when your app is doing something complicated, then it turns into a shitshow for resources
 
It does make sens that more ram makes the defragmenting task more efficient
 
8:29 PM
@Luggage in Android, thanks the awesomeness that is the DEX, the RAM of your device doesn't matter because the OS is what limits the size of your processes
so you can have an Android device with 8GB of RAM but if your process goes above a certain amount, the GC will kick in every couple seconds, causing a huge slowdown in your FPS
 
Why is there no razor syntax for an ajax-like call
 
@Failsafe I think there is? I'm sure I've used it at least once
 
like
 
Ajax.ActionLink
 
well shit
im retarded
I need like a @Html.ListBoxAjax(x => x.MyList, "Action1", "controller");
or something
 
8:37 PM
@Failsafe you could also use fetch
 
SSIS 2012 is an unstable piece of shit.
 
That's because nobody wants to be associated with SSIS
 
No sane people at least.
 
I opened SSIS once
 
i've made packages before in SSIS and had no problems. Put everything in 1 script component and fake it till you make it
 
8:46 PM
Attempted to use it to import a messy spreadsheet into a database. Quickly realised that none of the names or symbols for anything had any meaning to me and I wasn't prepared to learn
 
So technically, it wasn't the products fault at all really
 
Well I just attempted to move a control flow component and it caused VS to crash and restart, discarding all of my changes in the process.
Unstable piece of shit.
 
It's the product's fault in the sense that it's unintuitive. It's not a defect, but that doesn't mean it's not a bad product
 
@mikeTheLiar Haha
 
@TomW yes it does.
It is a bad product.
 
8:48 PM
@TomW Woah i never said the product was good
you can tell SSIS is bad because of the way it is
 
@mikeTheLiar watch the double negative on your left flank
 
lol you crazy English with your double negatives. Speak American
 
or at least do the needful
 
DO THE NEEDFUL
 
Or do the needy
 
user47589
9:04 PM
no
 
!!no
 
;)
 
9:20 PM
:/
 
user47589
o_o
 
(.Y.)
 
=~
 
9:28 PM
-~0
probably my favourite obfuscated code
 
!!> -~0
 
@mikeTheLiar 1
 
o_0
 
user47589
time to get down to business.
 
user47589
Gather 'round, ya'll, and I will sing you the song of my peoples.
 
9:37 PM
Let's get down to bidniss
 
user47589
♫♪♫ Row row row your boat ♪♫♪
 
Gently down the stream,
Throw the children overboard
And listen to them scream
 
That's a new one, I like it
 
You're a weird guy mike.
 
@Sippy And you are...?
 
9:42 PM
@Sippy keep Mike weird
 
#keepmikeweird?
 
&trade;
 
#KeepFightingMichael
 
#MichaelDidNothingWrong
Anyway, You know what I love? When I submit a support ticket to a third party vendor I'd like to use your product to do X and their response is you should write a script that uses our API to do X
If I wanted to write a fucking script to accomplish this task I wouldn't be paying for your shitty product
 
sigh, so hard to find good developers
 
user5981182
9:44 PM
Still better than "Our team is working on this and will update as soon as it is released" (6 years ago)
 
too many devs need hand-holding
 
@SteveHémond yeah, at least this way they're upfront about their policy of "fuck you, do it yourself"
 
user5981182
Too many devs motivated by money, too many devs that do not care, too many devs that will do the minimum
 
I don't mind people needing tech help, thats kosher
Its the other hand holding that bothers me
Here is the task I set forth: "go to website B and start duplicating the pages into our new codebase"
 
@CharlieBrown presumably you're looking for them in US
in which case I can't really hold my hand up
 
9:47 PM
Open source communities is the gate way to good devs
 
Here is the response I get (after 2 days): "Well can you send me a list of each page you want and the url for each one, I cant firgure out how to start"
 
Thats the typical approach of "I DONT KNOW OH MY GOD WHAT DO I DO"
 
user5981182
The kind of dev I hate the most is the "look at what i've written I'm so smart" kind (like the one who throws random design patterns just for the sake of telling "i know design patterns", or will write his own shitty Framework from scratch instead of using one from the hundreds available oneline which have been tested etc.)
 
@misha130 wait 2 days? No, that's the approach of an apathetic asshole.
 
user5981182
and the kind who change his job title from "programmer" to snobby titles likes "software architect" or "organic architect" man wtf
 
user47589
9:50 PM
I wait 2 days for the requirements to finish fermenting.
 
I herped and I derped and I diff'ed and oh god why.
 
We have solution architects and technical architects
They actually have prescribed job descriptions though
 
Majority of people called architect I've encountered don't really do anything
 
man...
 
Ours are pretty good ^_^
 
9:56 PM
in my experience, most people whose job title is "architect" are only there to make your job more difficult
there are definitely some out there that are good, but they're basically just super experienced and smart engineers that are perfectly capable of implementing everything they tell you themselves, but they don't have enough time to do all the actual coding
 
All of the architects here were promoted into the position. They all seem to be pretty competent
 
that's good
I've met plenty of "solution architects" that have little engineering experience and are basically FAs with inflated job titles
 
My title is "Software Engineer" and I feel like a complete fraud.
 
why?
 
Like, can I just be called Code Monkey?
 
9:58 PM
mmm
they have all sorts of infused waters in the lunch rooms here
like... water with fresh cucumber, or fresh pineapple and mint, or fresh blueberries and strawberries
 
"Software Engineer" sounds way too grown up and responsible
 
@mikeTheLiar We can't... for tax purposes
 
@mikeTheLiar other people won't respect you until you respect yourself
if you don't think you're good enough, make yourself better
 
I respect myself too much to inflate my ego with meaningless titles.
 
I got really good at Android by answering a shitload of [android] questions one summer
(however you tag things)
 
10:00 PM
 
@Codeman 'infused waters' is too hipster. Software has officially jumped the shark
 
[tag:tag]
@NickSuperb I'll just spend a year dead then
 
@mikeTheLiar I'm sure PETA will also object
 
!!youtube code monkey
 
10:03 PM
Of all the versions of Code Monkey on youtube, that's the top result? Ugh
 
user47589
you brought it in here
 
I'm sorry. I regret everything.
 
Oh wow software has jumped the shark with hipster stuff? Tell that to Opal github
 
user47589
wow @TomW
 
10:10 PM
@TomW infused water is hipster?
I don't think it's hipster... it's just really nice that they have tasty healthy beverage options
 
@Amy With this, Star Citizen might just be pretty enough for that alone to sell it to me
 
user47589
you should buy me one
 
840$
 
I think it's really just a frame for a wraparound back-projection screen
Not actually sure whether the projectors are included either, does it say?
 
Infused water is basically weak ass fruit juice... I guess that's pretty hip.
 
10:16 PM
@NickSuperb well... it doesn't have much if any sugar in it
 
My first job's coolest bit of kit was an ex-Luftwaffe Typhoon simulator
That would probably have been quite good for playing games...
 
what, they just had it hanging around?
or you worked in aerospace engineering?
 
They'd repurposed it as a truck simulator
And by simulator, I mean it had a full size articulated cab inside
Been scrapped now apparently :(
 
:(
 
o/
 
10:32 PM
o/
 
How is everybody today
 
Exhausted and just about to go to bed :D
timezones, man.
Cha siu bao <3
 
What is that?
Ok
 
made 'em a few weeks ago and I just got round to uploading some photos. Am drooling again :(
 
That sounds delicious
 
10:34 PM
Got any Chinese bakeries near you?
 
bbq pork filled bun
drool
Probably in the city somewhere, not near me
China town for sure
 
Dang. Well now you know what to order next time you're in the area.
 
Hell yeah, that looks amazing
 
How long to go until you're off to the States?
 
Leaving on the 22nd :D
Booked my flights last night
Feels weird being unemployed though. There is something unsettling about it.
Now I want food but there is nothing in the house and I'm too lazy to get in the car and go get something. D:
 
10:41 PM
well. Have fun with that.
Just make sure you don't starve to death before it's time to fly.
o>
 
The division comes out soon, I think that will consume me lol
 
Between FO4 DLC and DS3 I think I'm going to be pretty set for tha vidya for a while
 
For some reason I couldn't get into fo4, tried really hard too, just not my type of game I guess
 
I feel like I'd be disappointed by FO4
I liked FO3 and NV a lot
 
What did you think of the witcher 3
 
10:54 PM
I didn't really get into it that much. I wanted to play 1 and 2 first, then I was waiting for my steam controller to come. Then stuff happened and I never did any of those things.
 
It was good for the first playthrough, but the ng+ didn't add anything to the experience. Story was really good however and if you've read the books and played 1 & 2, it was a treat (like I have). You miss out on a lot of the game and understanding whats really happening (in all three games) if you haven't read the books first.
 
Kinda like the reverse of Metro 2033.
Both the game and the book were good but they (rightly so) cut out a ton of content
In the game, I mean. The book is super long.
 
Good read?
 
I enjoyed it quite a bit. The ending is a little weird and depressing.
 

« first day (1965 days earlier)      last day (2986 days later) »