« first day (1755 days earlier)      last day (3208 days later) » 

4:05 PM
can't flag/close questions with a bounty? lol what garbage is that
 
Anyone know the difference between .Seconds and .TotalSeconds on the System.Diagnostic stopwatch?
 
trick question?
 
No.
 
there is no Stopwatch.TotalSeconds msdn.microsoft.com/en-us/library/…
 
.Elapsed.TotalSeconds
My mistake.
 
4:17 PM
@AshSimpson That has nothing to do with StopWatch, and everything to do with TimeSpan
and the documentation should make the difference clear
 
^
 
@KendallFrey Ill give it a read.
 
Is it not possible in XAML to set padding on the parent container (RelativePanel) and set the child to fill the remaining width (StackPanel)?
 
1 minute 30 seconds, seconds is 30, total seconds is 90 seconds. total seconds is also fractional so it might be 90.23429 seconds
@DemCodeLines horizontal and vertical alignment set to stretch, items in stackpanel stretched?
put the StackPanel in a Grid.
Idk what a relativepanel is, but might need to set h/v contentalignment?
 
@DemCodeLines I think you can use stretch and either a padding on the relativepanel or margin on the stackpanel
@Netscape RelativePanel is new in UWP, it is awesome.
 
4:23 PM
Jesus, 300k people watching the Blizzard GamesCom stream.
 
I want to update my consoles title every 30 seconds, and do soe routeen checks, what is the best way to do this? a task or a thread.. or any better ideas?
 
@AshSimpson Um, a Timer?
 
hey
so, there is a technique for sketching out use cases
 
Also, FYI, there's almost no reason to create a thread ever
 
i learned it in college, but i can't recall the name of it
 
4:26 PM
UML Diagram?
 
basically, it started on the left with the person performing some action, and you walk it to the right
 
Use Case
 
@JGrindal more proof of PC master race, MS and Sony at E3 combined was only 280k, probably not unique since lots of people watched both...
 
Action Diagram
 
action diagram maybe? let me google
flow chart is too generic
 
4:27 PM
Auntie Flow
 
for what i'm describing
 
@juanvan First scene of Carrie?
 
Could be! She has all the direction
 
lol these are all so close to what i'm thinking of
 
4:29 PM
so banana close
 
A use case diagram at its simplest is a representation of a user's interaction with the system that shows the relationship between the user and the different use cases in which the user is involved. A use case diagram can identify the different types of users of a system and the different use cases and will often be accompanied by other types of diagrams as well. == See also == Agile software development Applications of UML Business Case Fundamental modeling concepts SysML Unified Modeling Language Use case User story == References == == Bibliography == Gemino, A., Parker, D.(2009) "U...
anything like that?
 
Shittest video ever why would you put it on your site
 
pretty sure Use Case is the only standard diagram with actors.
 
Thanks, got the XAML to work. BTW, looks like they changed JsonObject in UWP.
 
4:32 PM
@DemCodeLines Yeah, I remember hearing about that somewhere.
brb finding lunch.
 
@ton.yeung will read that, we don't have autho on the angular side, its on the api bearer token
 
i guess what i was looking for was Sequence Diagram, but from what this site says it's used for isn't what i was taught it was used for
oh i guess other people use it for use cases
 
can i turn off diagnostic tools somehow in vs2015?
by default... i notice the ability to check/uncheck the options
 
4:49 PM
Hello again, fine C# people
 
Hey guys. I have a .NET question. Any .NET dev around?
 
Hey guys just installed windows 10 and visual studio community 2015 but I cannot find tools for windows 10. Here dev.windows.com/en-us/downloads it says that the community version should include them. Anyone have same issue?
 
Happy Questioners - and Ask
 
@Almis did you choose custom when you installed it?
 
picked the wrong day to come in... they're doing building restoration with grinders right outside my window
 
5:01 PM
If you go to Programs and Features, click VS2015 and choose Change you can add any you missed.
 
@ton.yeung no module to add for route security?
 
@CuddleBunny yes and I checked everything
 
I know a guy who knows a guy who does .Net
 
@Almis are you on Windows 10 right now?
 
I will pass the message along with my carrier pigeon
 
5:02 PM
@juanvan I'm wondering if .NET makes it inherently difficult to build APIs
 
@CuddleBunny yes
 
@LazyCoder haha
 
@GregWiley easier to build APIs in .NET than anything else I've used.
 
@GregWiley nope make them easier - following SRP makes them harder for new coders
 
5:03 PM
Ok. Kinda weird. I'm having a hard time with some enterprise devs. One even called a non-API approach "purer"
 
@Almis If you do File > New Project, do you see Univseral under Templates > Visual C# > Windows?
 
I'm not sure how to take that
 
@CuddleBunny yes
 
@GregWiley Apress asp.net web api 2 - good book
 
@Almis Under universal it should have project types or a node that lets you install the tools.
 
5:04 PM
@juanvan So it sounds more like the enterprise culture than a technical constraint :(
 
@GregWiley possibly, Web API is pretty slick. I dunno what they mean by non-API approach unless they're talking about MVC.
 
figure MVC^
 
The two options are basically "build a product and MAKE users come from other systems to use this product" or "build a service that allows other systems to use our data/tech"
 
@Almis Blank App should get you started.
 
5:07 PM
I'm not the best developer and I know nothing about .NET at all. But creating a platform / service for others to use seems like a better user experience AND an easier system to maintain.
 
@KendallFrey What type of timer?
 
@AshSimpson System.Timers.Timer is my default go-to
 
@CuddleBunny oh really? I was expecting it to have windows 10 in parentheses or write somewhere in description :) thank you
 
@GregWiley you want both, I want a user to place an order on my site an I want them to be able to place it in there POS system
 
@GregWiley Depends on the other systems. If integration is a headache or they're really old it might just be best to make something new and better.
@Almis Yeah. Universal is for all the new stuff, all of old stuff is under Windows 8.
 
5:08 PM
@GregWiley I really enjoy .net, I've dabbled in several languages and although I'm not expert level in any of them .net for me has been by far the most enjoyable to dev in
 
@CuddleBunny nice.. didn't know that
 
@Almis you can even add iOS and Android projects to your Universal solution and share PCL code.
 
Right now they are the only ones using the tech. The idea is to get others to adopt it. I think it would be difficult to make others adopt it when you are forcing THIER uses to come to YOUR product and then back to THEIR site. It is an inconsistent user experience, in my humble opinion.

I'm just trying to figure out what the rub is.
 
RUB?
 
@juanvan Totally agree... And wouldn't you want your POS system and your site to use the same data?
 
5:10 PM
@CuddleBunny nah I prefer to use android studio and xcode for that :)
 
@juanvan why creating a platform / service would be a problem
 
I want them to have access to the same data, placing orders in the same system
 
@juanvan me too! no matter what system you are in, you can use the tech / data you need to keep a consistent experience. That's the power of APIs :)
 
@Almis you can still use Android Studio and XCode for views and use Xamarin to share common code. Here is a good overview of all the UWP stuff: microsoftvirtualacademy.com/training-courses/…
 
that is our rewrite, doing api backend and angular front end
then giving access to other api routes for external users to send xml request(?) have not gotten to that part
 
5:12 PM
@juanvan love it! It also keeps data and UI separate. You can rewrite one without effecting the other too much
 
versioning* is what you do
 
@GregWiley @juanvan lol I was just typing that. I'd say both is the best route.
 
this is a better example of using sequence diagrams for use cases: visual-paradigm.com/tutorials/gensdfromfoe.jsp
 
@CuddleBunny @juanvan thanks. It's good to know I'm not crazy. It sounds like there are some egos and ownership at stake here.
^^ not a technology issue :(
 
That way you have your open APIs and your front end is a good default for people who don't have their own platform. By using your own APIs you also get a good feel of how you can improve them too and it helps you write the documentation.
 
5:15 PM
@CuddleBunny I heard that xamarin is trial and they allow you to make only small apps 2-3 mb
 
@CuddleBunny it also helps to iron our data structure and the user experience, in my opinion. An API is the bridge that affects both. Make for great conversation between devs, designers and maybe even users.
 
@SteveG Does the actor then walk that diagram? b/c that would be cool
 
maybe? idk, this is the first time i'm doing it outside of college
 
feel like going out back to blaze one lol - OMG the comment on that video is great
 
@Almis Yeah there are some limitations. 128k of compiled code, I don't remember what the max app size is either.
 
5:17 PM
@SteveG WOW REALLY?
 
thank you all very much. I must say, this is a fantastic chat group. Gonna go grab some lunch now. nom, nom
 
.
 
any idea if you can use a calculated column as a primary key?
 
@CuddleBunny this is the reason I dont want to develop on xamarin :) anyway thank you again
 
I want to calculate a hashcode and use that as the PK
 
5:21 PM
GUID off that ?
 
how do you mean
 
generate a GUID off the Value
 
I want the hashcode so I can calculate it in c# as well
a guid won't get the same value
 
no it would not
 
it is basically supposed to be a PK composed of all columns
 
5:24 PM
good lord
 
@Pheonixblade9 why would you want to have hashcode as primary key? better to use integer and make new column for hashcode
 
@KendallFrey oh, I know
 
so is there any reason you don't want to just compute the hashcode ahead of time and store it in a physical field?
 
basically this third party service has something that is supposed to be a PK but they send us multiple records with that value
and I'm trying to figure out how to get updates to work correctly
 
are they updated values?
I want to play UO!!!
this down? mercuryvmp.com
 
5:30 PM
@Pheonixblade9 dont they have a datetime value?
 
why not concat them all hash put it to the DB
 
@Almis they have several
@juanvan I'm explaining to some coworkers how UO is better than WoW ever was in terms of a living world
 
they need to be learned in that
 
:P
non-instanced player owned housing... I mean, just that alone
ugh... what do I do here
 
@Pheonixblade9 - uo?
 
5:40 PM
ultima online
 
making regents before the servers went down :)
 
@Pheonixblade9 - I only liked WoW for the pvp. If I went out into the normal world, I would only go out to gank people.
 
@TravisJ UO had PvP-only servers where you could kill anyone at any time if you're not in a town. Also, you got to keep their stuff
 
nice, warlord style
 
@TravisJ we are the same
 
5:43 PM
must be after me, you could kill anyone at anytime in the org. version
 
the game actually started as all PvP-only, but they eventually added a new shard, Trammel, to each server, which was non-PvP. But each server still had Felucia, which was all PvP. I lived in Felucia... hence my neighbor was a murderer that killed me sometimes to steal my stuff
 
lol
@Pheonixblade9 - That's what happens when you live in a town that sounds like Fellatio
 
you could create runestones that teleported you to any given location. but you couldn't teleport to inside of the house, you had to teleport to just outside your doorstep... and sometimes my neighbor would be waiting there to kill me and steal my stuff
I was a high level tailor, so I usually had some valuable cloth or something
 
use to be able to hide in the house when they were not locked, they changed to where ppl allowed in had to be on the deed. that ended robbing guild castles
or be rezed inside a house and loot it
 
yep, same here
you could make chests protected
and you could mark your house as private or public
 
5:46 PM
ya - those were the fun days of UO
 
@Pheonixblade9 or protected internal?
"My offspring or my friends"
 
:P
but yeah, it was really the first successful MMO. Released in 1997
 
was the first online world I knew of
This it was there first online game too
about there not being a module for route security
ya
Ya basic - you can not see this view
right now it stays on the view it naved to
its still very alpha
its a project that still as no project plan by the PM
even though we have about 200hr into it
and the Prez wants to see something so IT just started working on it, be damn the PM
 
6:05 PM
a working something lol
PM is the Prez daughters' husband
ya he was a temp, then he moved to like 3 areas in the company, was before me, then he started dating her and they put him to PM courses, and we now have a PM(partial) he is a work in progress
Falls under the Stepped in Shit Luck, may not be born into it, but can marry
the crash course version?
he is a Good talker, but to IT he never gives us direction just what projects came up who's are they, who can we offer it to, can IT do the job.
 
6:35 PM
@ton.yeung if the project is really what the company needs. PM is the IT manager.
small company so they use him for both
no he is a user
ya usually have to dumb things down
coming from me its not hard :)
the last guy, did website initiatives, a few other apps for in house, software planning
 
Is it a very bad practice to connect my app directly to my Azure SQL Database or should I absolutely create a service in between ?
 
@JoanLeaven you can connect it directly.
 
@JoanLeaven what's "your app"?
 
ya its Ok, not Great you doing DI?
 
a webapp? a mobile app?
 
6:45 PM
wpf app
 
Can anyone help me? I have just been introduced to MongoDB and following this tutorial, but in VS it is throwing at error for the code the tutorial is giving me, and saying the type or namespace 'Mongo' could not be found? odetocode.com/Blogs/scott/archive/2009/10/13/…
 
(desktop wpf app)
 
@JoanLeaven oh, then probably not.
 
why so ?
 
@JoanLeaven as long as you're ok with your desktop users having the possibility of decompiling/sniffing things and getting raw access to the DB
 
6:46 PM
You would have to embed your connection string and credentials into the app
 
@AshSimpson did you import the project , are you calling an class that does not exits
 
most people are too lazy for that kinda thing but you never know.
 
@CuddleBunny would you put them in the app.config?
 
so whats the best way to address that ? i really don't want to implement a rest service and map every entity to a DTO and all that stuff ... with wcf / soap its easier because your entities are included by the service reference ....
but you know what they say about soap ... eh
 
6:49 PM
@ton.yeung falls under - if you think he can do it he will
 
@juanvan Anything that compiles would be at least slightly obscure.
 
wish you could put a plug that anytime your views a tut that is old, it would put and big red X on the screen = No don't do this
 
@JoanLeaven if you have all your models you can probably just copy them to an ASP.NET project and scaffold some web apis
 
@ton.yeung the last place was family working in asp classic and they did not want me to code
 
@CuddleBunny I will have to look into that. Thanks.
 
6:54 PM
ohh boy you don't know the 1/2 of it :)
experience, I am getting it, all that matter. They are sending us to get MCSD so that is a +
 
What would be the proper way to do a Salt? I know a lot of people don't agree with BCrypt.
 
@ton.yeung title on my resume "I do everything but Clean Windows"
 

« first day (1755 days earlier)      last day (3208 days later) »