« first day (1438 days earlier)      last day (3515 days later) » 

2:01 PM
Entity Framework has async and sync support, how do they accomplish that easily?
 
Morning everyone.
 
@Shoe Most of EF is parsing expressions and building queries. Just by allowing it to switch to an async method they can replace very select portions to support it. I'm not 100% sure what they do though, they might have linked the sync version to call the async (But I sincerely doubt it because they do care about performance)
 
I'd think there would be a better way than just copying code
 
Hello everyone.
 
My god can someone quickly help me with a quick SQL statement cause this is driving me insane
http://gyazo.com/4e5bd4c77ff3a80ba53146149f3dafe3

The first query is what's displayed, the second query just returns 0 results and I have no idea why cause you can see there is a result with taht date.
 
2:13 PM
Can someone help me?
 
@Shaun Is that a varchar?
 
@RoelvanUden a 'DATE'
 
I have a winform panel and I am adding the controls like label, panel dynmically.
 
@Shaun Then you probably need to use 2014-09-23
 
The problem is while scrolling the panel my system gets halt for a moment. I cannot do anything.
 
2:23 PM
Hi guys, I've a web api application and a few zip files saved in the root folder. this app has permission to access this zip file. How can I get the link of this file to send it to the browser so that it can be later on be used as a href of anchor tag?
 
@Bergkamp there is no need to have 1-to-1 mapping between business and data objects
You can have a business object called FileContentDto which can have ContentId, ContentType, FileId, FilePath properties. Popuate those from tbl_Content using navigation properties
 
2:43 PM
anyone with asp.net web api experience??
 
@Yoda stack overflow should have similar questions.
 
@tranceporter SO has but all of them uses filestream to load the file in memory and give it as response. those are some big zip files and I don't want to read it in memory instead just want to give physical location references like http://[server]/download/filename.zip
 
I made booze today :D
 
that's the way to return a file via web api
 
@TomW what kind
 
2:48 PM
@tranceporter ok so if that's the way then should I do it in POST ? As I also want to save some audit in database that when the file was downloaded, etc.
 
@NETscape blackberry gin
Gin is most definitely In. I went to a nice bar at the weekend that had more gins than it had whiskies
 
Make an entry in the database before you offer the file download
so you can have an a href pointing to /api/filesApi/GetFile?id=1, then before you return the FileContent from GetFile method, make an audit entry
 
ok
so this should be a GET request right?
 
@TomW most definitely in, at that bar maybe heh
 
yeah you can
 
2:54 PM
@tranceporter thanks I'll try this out soon.
 
no probs
 
3:13 PM
:)
 
3:41 PM
I'm working on a legacy system, that basically took four separate systems and rammed them all together in the most inefficient or maintainable way. So now they ask for several features, which are so difficult to add because the architecture is so poorly written and thought out. Sigh-
At some point I should write a clean implementation of Product Management / Commerce Services. So the project can be abstracted far cleaner and rewritten correctly.
@ton.yeung That Invision App actually looks really, really cool.
@ton.yeung I might actually start it for a project I'm working on called Myriad.
@ton.yeung It is, the goal is to unify several key aspects of a business into one self contained entity. Except, NOT SUCK.
I'm tired of working on Content Management Systems, Business Management (PIM), E-Commerce, and other business items that are horrible.
 
4:04 PM
@ton.yeung busy 13 days ;)
@ton.yeung hacked your Sphero yet?
 
If the browser request times out, does the code in my WebForms codebehind still run until it completes its task?
 
You can create some sense of autonomy with OrbBasic or MacroLab. Or you can just write a program for it. But hacking it's sensor system could be fun ;) If you're good with hardware, you might find that many of the sensors to accomplish that already exist, they just aren't used in the apps.
 
@ton.yeung ERP?
I did get an email for a Software Engineer position, it is ten months long at an Aviation company.
@ton.yeung Yeah, I want to build one that doesn't suck.
 
@ton.yeung then you're in great shape! There are a ton of cool hacks on Thingiverse too.
 
What is a Sphero?
You did remind me I need to build a cool Microcontroller setup for my waterfall / fountain LED idea.
 
4:17 PM
all this uproc talk sounds a lot like the bot the room was making
 
Thingiverse is a website dedicated to the sharing of user-created digital design files. Providing primarily open source hardware designs licensed under the GNU General Public License or Creative Commons licenses, users choose the type of user license they wish to attach to the designs they share. 3D printers, laser cutters, milling machines and many other technologies can be used to physically create the files shared by the users on Thingiverse. Thingiverse is widely used in the DIY technology and Maker communities, by the RepRap Project, and by 3D Printer and MakerBot operators. Numerous technical...
 
@NETscape ?
 
@Greg www.gosphero.com
my workplace.
 
@EvanL Yeah, just checked it out. I may inquire for your assistance with a Waterfall / Fountain LED System I want to build.
 
@Greg with arduino or something?
 
4:22 PM
@EvanL Not sure yet, my goal is to use the Microcontroller to dictate when the pumps should power on / dictate the flow to for timing. Then the goal was to have the Led's constantly changing color based on temperature of water.
 
@Greg Sounds fun! I can probably help with that, arduino would make that simple with the right sensors.
 
unless these are 120V pumps...
 
@ton.yeung I've never really looked at those. I'll have to check it out. @EvanL I'd love your help.
 
@Greg Cool let me know. Could remote hack something like that, our firmware/hardware engineers would love to help too I'm sure ;)
They could write it in about 10 minutes.
@ton.yeung More just prototyping stuff. Just google Sphero Hack and you'll find all sorts of stuff. Japan loves to hack our robots.
@ton.yeung I don't think I can publicize that data, sorry. I can tell you that we're doing just fine ;)
Probably not an issue... but I'd hate to get fired over something like that lol
 
@EvanL Awesome, well.
 
4:28 PM
If you search for Orbotix Inc. Investment or Revenue, you will get any of the public information.
 
@EvanL My goal is to get a pretty elaborate music house / water show for a food drive to help the homeless.
People come and watch the show, then all I ask is to donate food.
@EvanL I'd love to get into hardware coding for a hobby.
 
@ton.yeung Hm.
@NETscape ??
Mine says it can't validate the certificate, host could be attempting to trick your machine.
 
try again
 
@ton.yeung Who, me or @EvanL or @NETscape
I build software for an Electrical Supply company, all types of robotic stuff / data comm / solar / etc. for sale.
@ton.yeung For hardware development?
@ton.yeung We don't do any robotics at my job, we sell components for them though.
 
4:37 PM
morning guys
 
@NETscape That is cool, hm. I need to get into that, I take it I'll need some low level languages?
@ton.yeung Which profile?
 
lol so I just got off the phone with a lead dev for this startup - he had SO profile envy because I have multiple gold badges :)
 
@Greg arduino is super simple. It's an abstraction of C, but really pretty easy.
 
@EvanL Nice! I do know C
 
@EvanL I just don't like that Arduino is different from straight C :P
 
4:38 PM
Artists can do it ;)
 
@ton.yeung What should I put on it?
@ton.yeung Eh, maybe later I'll do that.
@ton.yeung I tried Betterment, lost 2.2% on my investment in three weeks.
Luckily, it was a small investment.
 
5:00 PM
@Greg I'm telling you, their fees are too high
if you're doing day trading, their "no trade fees" is nice, but otherwise Vanguard or Fidelity is better.
 
@Pheonixblade9 I ditched them.
 
@NETscape Is he trying to sell the system?
 
@NETscape who is dis nerd?
 
5:08 PM
yah. looks likee it
 
@ton.yeung What is what?
@ton.yeung betterment.com
@ton.yeung Where is this game you speak of?
 
@ton.yeung How can it be free? where are the hidden costs?
 
I'm doing okay on my investments
I'd have been better off with an index fund though... should have followed the advice I gave y'all ;)
 
@Pheonixblade9 Just do the index fund?
 
yeah, if it's for retirement.
I've made... 8.27% in the past few months.
 
5:19 PM
@Pheonixblade9 Yeah, I want to build retirement wealth, retirement, and a nice safety net essentially.
 
MSFT has been kicking ass. AMZN has been taking a dump.
yeah. dividend stocks are better for when you're actually retired.
@ton.yeung indeed. I might sell it soon. I've made 27% on them
right, but growth stocks are better when you're young
 
@Pheonixblade9 Yeah, I wouldn't mind investing in Microsoft.
 
@Greg you kinda missed the boat
hahaha
they're releasing a flip phone
I think I might be long MSFT though
who knows.
wish I'd bought more than $1k of it
 
@Pheonixblade9 wut?
 
5:24 PM
@KendallFrey what are you saying wut about?
 
your message
 
...which message?
 
the one I replied to
 
oh. yeah.
 
@Pheonixblade9 How high you think Microsoft Stock will get?
 
5:25 PM
high as fuck
 
a quadrillion dollars
 
@Greg doesn't really matter. market cap is what matters
 
@Pheonixblade9 Clarify.
 
not weed high, bath salts high
 
well... if you don't own a stock, the stock price matters because it's what you would be paying for it
the market cap is the total valuation of a company. Typically it is currently operating income x 5
if you own stock, you want to see the market cap go up - it means the company is more valuable.
 
5:27 PM
take like a million then times that by quad
 
if the stock price goes up too high, they'll split the stock (so the price of an individual share goes down) but the market cap stays the same.
 
I learned about that in Stock Ticker
 
AAPL just did that
 
Hej Johan
 
so, as a stock owner, I don't care about the stock price - I already own a certain % of the company (class C, so nonvoting stock) I just care about the market cap
often when you buy stock in a public exchange, it's class C (non-voting rights) as opposed to class A or B (both have voting rights but they differ)
 
5:29 PM
@Pheonixblade9 Hm, interesting.
 
Class A has front-loaded fees (you pay when you buy), Class B has back-loaded fees (you pay when you sell) and both have voting rights (you maintain the right to vote in shareholder meetings accordant to your # of shares). Class C is investor-only non-voting stock.
Class B and C also have higher operating fees
 
Well, I'd love to help vote for Microsoft but I lack funds to matter so why bother? I'd just be an investor, seems better.
 
@Greg it's unlikely that voting shares are for sale publicly.
you'll often see two ticker symbols, for example GOOG is all class C whereas GOOGL is Class B
you'll notice GOOGL (the voting shares) are worth slightly more than GOOG (non voting shares)
 
Yeah.
 
finance is complicated, eh?
I just read a lot. I still feel like I know nothing, lol. But maybe more than the average person
 
5:33 PM
@Pheonixblade9 Well, I'm really taking it serious. I'd like to actually do it correctly though.
 
honestly, just use very low cost index funds and you can't go wrong
once you hit the $300k-$500k portfolio value, you can start looking into different things like real estate, direct equity, that sort of thing.
 
@Pheonixblade9 Wouldn't that take awhile?
 
yes.
I wouldn't expect to have to worry about that until you're well into your 30's
 
I feel like that would be a ten to twenty year or longer endeavor.
 
investing takes a long time.
there's no quick solution. If there was, everyone would be rich, and then noone would be rich
you just need to get it out of your head that there's a magic bullet. Investing takes time and discipline.
 
5:36 PM
pay me. pay me now.
 
@NETscape I will if you give me something cool
 
use the magical skill of programming to get rich quick
 
you know the best way to increase wealth? increase income, lower expenses, save money
 
a block of ice?
 
@Pheonixblade9 Saving money isn't necessarily profitable
 
5:38 PM
@KendallFrey if it sits in a savings account making 0.01% interest, sure
 
best way to increase wealth is to rob a jewelry store and tell them to make me a grill
 
Best way to increase wealth is to do it in a video game
 
!!urban grill 2
 
@Pheonixblade9 [grill](http://grill.urbanup.com/135) 1. One's personal business
2. One's teeth/smile
@Pheonixblade9 [grill](http://grill.urbanup.com/1536499) 1- Teeth
2-A gold/diamond plate that is molded for your teeth. It is decorated with diamonds and/or gold.
 
one's personal business...?
 
5:41 PM
"get up in my grill"
 
get out my grill... as in get out of my face
as in you're too close to my teeth, please take a step back.
 
SimpleInjector vs LightInject
what is really simpler/lighter?
SimpleInjector has better score on NuGetMustHaves
but LightInject wins on FeatureTests
DryIoc, LightInject and SimpleInjector offer a very performance combined with support for advanced scenarios like interception and generic decorators.
Simple Injector and LightInject also provide extensive documentation and support all important platforms.
Also, what should I use?
 
5:58 PM
last I knew, Ninject was the thing to use. but idk
 
I had a dog named Hellboi
 
@ton.yeung Finished the Aizen arc. Man, so awesome!
What was that anime chat room you gave me again?
 

« first day (1438 days earlier)      last day (3515 days later) »