« first day (1228 days earlier)      last day (3946 days later) » 
00:00 - 19:0019:00 - 00:00

19:00
I don't care too much about tying stuff up, but would you be willing to help me work it out a bit in a few minutes?
I want to get it "done", then I'll see if I can make it work async
For a few quid
Let's start with a tenner
@Pheonixblade9 What's not working now?
@LewsTherin I do owe @ReedCopsey a beer or two :)
@ReedCopsey I just need to write the XML parsing code, shouldn't take long.
Eh ha ha xD
		private MarketplaceCategoryFieldComplete ParseMarketplaceCategoryFieldComplete(XElement xe)
		{


			return null;
		}
:) awesome method is awesome
I did this project top down TDD. I might do bottom up next time
19:01
@Pheonixblade9 - I think we all owe Reed a beer or two :P
Rofl damn straight
@TravisJ let's all chip in and buy him a case :P
It'd be nice to replace xml config with json
:D
@Pheonixblade9 - I would be up for that haha
@TravisJ How do you feel about minimalism?
19:06
Is that a deep question or is minimalism a framework? o.O
@Greg - It depends on the context. It is a double edged sword.
@TravisJ For navigation menu, double edged as in, not alot of information>?
@Greg - As in, if this is a nav menu that is on an entertainment site and it is really simple then people will think the site is boring. Whereas if it is for business and it is really flashy, people will think that it is too extravagant.
@TravisJ Yeah.
I was thinking something simple like this: tutorialzine.com/2010/06/css3-minimalistic-navigation-menu
Trying to get some ideas.
managing a project where the team is halfway across the world is hard :(
@Greg I think minimalism has been distilled to flat design for the web.
19:28
Hm, I'll take a look.
@ton.yeung It is bootstrap.
@ton.yeung It even says: "Free Bootstrap Framework" in the title.
@ton.yeung hahaha
I have ten tabs, spanned across three 27" monitors.
Between everyone here I'm confident that your guidance will help me create a beautiful professional application.
complex LINQ-XML query is complex
@ton.yeung Neither do I. I organize tabs on usage and goal to certain monitors.
I'm trying to avoid going through the doc multiple times...
I've never used that, which browser?
@ton.yeung I usually use Opera, which lets me stack tabs and then click an arrow to see others.
in VS, how do I see the order in which unit tests were run?
It matters here
19:40
@ton.yeung VS does support ordered tests, but it's generally a bad idea
@KendallFrey try adding an ordered test and see what it looks like
rather, MSTest supports them
I don't care about enforcing order
I'm pretty sure one of my tests broke future tests, but I don't know which one
errr yes
hmm. will this work without throwing an exception if the element doesn't exist?
don't blame me, I'm just refactoring
bool.TryParse(xe.Element(ns + "elementName"), out myBool)
@KendallFrey it's a special type of file - essentially an XML declaration that says what order the tests should run in. Then you add each test to that declaration. So the test itself is not ordered, but they are ordered in the ordered test file
Says it returns null, not an exception
19:44
bool.TryParse((string)xe.Element(this.DocNamespace + "required-flag"), out required);
that should work, right?
Define "work"
I don't see any obvious flaws, assuming that the proper type conversions exists
what is "MMC"
@ton.yeung I like Opera, it is weird though because my display is 3200 x 1800. Which it displays at that resolution, it doesn't scale. So I have to zoom, cause everything is small.
@Steve Microsoft Management Console ...?
@ton.yeung MMC An acronym (Mutual Manual Coitus) that refers to the act of two people (m/f, f/f, m/m, etc.) simultaneously masturbating each other.
19:52
lol
@Steve MMC An acronym (Mutual Manual Coitus) that refers to the act of two people (m/f, f/f, m/m, etc.) simultaneously masturbating each other.
Random programmer /opinion question. How do you guys answer the question of " is it worth it to learn X language?" I am wondring if I should learn Ruby but .. I don't need it.
but I don't know much about it to answer that question for myself.
It's always worth it to learn a new language
do you actually feel like learning @AmmarAhmed?
@ton.yeung FUUUU
19:54
if you want to learn/explore I don't see the problem
@Nacimota I ALWAYS feel like learning. I just rather focus my time and energy one the things that will benefit me
@KendallFrey even visual basic?
and it is hard to know if X will benefit me if I don't know what X has to offer
yes
And remember why we love 0-based arrays
or maybe that's for C
If you're learning just to flex your mental muscles, go for something with an odd paradigm, like befunge or rebel
19:56
I rather, for example, explore a topic in a language that I know in depth. Maybe something like advanced parallel programming in C# over learning how to write "Hello World!" in a meme language.
why?
It depends whether you're looking for theoretical or practical knowledge
@AmmarAhmed speaking of which, I just started reading C# in depth. Good book
@Nacimota is the new version out? I need to get it. So I can answer all of those SO questions like skeet does.
I don't think so? I'm reading the 3rd edition
@ton.yeung I was told the same thing from a guy around here.. I just get LAUGHED at when I show up at a hackathon or startup event and try to use my enterprise languages lol.
19:59
@ton.yeung Well, all the other browsers scale. Opera is the only one that truly shows at my high resolution on my laptop.
@ton.yeung Python is actually on my list of things to learn. I tried using F# for prototyping by python seems better.
@AmmarAhmed curious why you think that?
by better I mean for what I use*
@ton.yeung That is why it is weird.
I typically find them both about equal- mostly because they're both terse with a repl
20:00
@ReedCopsey yeah "better" was vauge wording I admit. I just saw what python offer when it comes to scripting and I liked it I guess. I want to be able to work with directory files and web stuff easily and what I saw from python was cool.
yeah - F# with type providers can be even easier for some web stuff ;) but they're both similar in that respect
FSI gives you a similar "scripting" type environment
Again that goes to my earlier point. I don't know what I don't know. So it is hard to invest the time into learning new languages and platforms.
@ReedCopsey what do you use F#/Python for?
We've embed Python for extensibility/scripting for our users
so we've got a hand-written embedded python engine in our main project written in C
I use F# for development, typically
Why python?
@ReedCopsey I was going to use F# on this client .net project but I did not want to risk the support issues after I leave. Not a lot of F# people out there :)
20:06
@SpencerRuport Customer driven requirements - in my industry, Python is very common and well known
Gotcha
How much time did it take to write your own python engine?
academia industry?
moderator election just finished; results: meta.stackoverflow.com/questions/223009/…
We have Python deployment scripts, and no one here knows Python.
20:21
Today feels like a Friday...
@ton.yeung oh no I got you. I was wondring what @ReedCopsey was using python in.
and thanks
I just had my graduation ceremony, and turned out I graduated with honors. Fun.
@RoelvanUden I think everyone does nowadays
but congratulations
Almost seems that way. :)
I have a forms application with a control that has it's pixels repainted by some calculation. Is there anyway I can speed this up? I was thinking making the GPU do it instead?
20:34
I don't think I know anyone who only graduated with a pass, third-class honours is the mark of someone who did hardly any work
Or would it be sensible to get into directX or something similar.
grade inflation being what it is
@RoelvanUden Aaah. The system is different over there.
Here it is the highest graduation you can possibly get. But, there have been a few today. :P
According to wikipedia that makes you at worst, the top 5th, depending on which class of honours they awarded you :) so yeah, congratulations
is System.Web.Http.RouteAttribute available on .Net 4/VS2010?
20:39
It's not bound to a top of students here, @TomW. It's actually quite simple, everyone that has an average of 8/10 or higher will pass with honors (Cum Laude). Of course, that means that there aren't all too many who make that.
But are the grade boundaries not adjusted depending on the performance of the year? ;)
pretty sure my university applied a correction factor to everyone's grades based on how hard that year's exams were assumed to be
therefore although the first class mark is a fixed percentage, grades are weighted such that a more or less constant proportion of students will achieve it
@TomW Nope, there is no kind of adaptation to the performance of the other students. It's pretty clear, if you perform well enough to score that average, regardless of other student performance, you will graduate with honors. If you have a year of fuck-ups, none will go with honors.
Simple problem... not simple solution...
preggo? :D
I kid, I kid.
I need a WHERE * LIKE '%{0}%', textbox.text;
Maybe I am just not thinking this through...
20:43
@JLott So.. what's the problem?
^ That Where statement is not a real thing
You can't just put a where on All columns... right? You have to do like Where NAME LIKE %J%
'%' + @text + '%' SQL parameter?
The where part is the problem...
@JLott well yeah, what are you looking for?
something in any column?
^ yes
Like I type J and it will give me a record with any column containing a J
20:45
3
Q: How to search all text fields in a DB for some substring with T-SQL

JimI have a huge schema, with several hundreds of tables and several thousands of columns. I'd know that a specific IP address is stored in this database in several places, but I'm not sure what table(s) or column(s) it is stored in. Basically, I'm trying to find everywhere that this IP address is...

dat bloody answer
How many columns are there?
You could concat them manually
It is going to change based on client but roughly 15..
There is not a simple answer... this should be something in SQL lol
That is why I said not simple solution lol
no it really shouldn't be :/
YES lol
For the people who need it for some stupid reason
because a client wants it
So MS caters to your clients? lol
foreach (object d in x.Deletes)
{
    if (d.GetType().Name.Contains("Settings")) reloadSettings = true;
    foreach (ModifiedMemberInfo info in db.GetTable(d.GetType()).GetModifiedMembers(d))
    {
        Log.AddLogEntry("User deleting property '" + info.Member.Name + "' from '" + info.OriginalValue + "' to '" + info.CurrentValue, LogCategory.Security, LogStatus.Audit);
    }
}
20:47
@KendallFrey It is really ESRI I guess lol
I'm not getting into the Log part ever, am I doing it wrong? Swear it was working before I started messing with it today :(
Why is this being so difficult...
What do you mean by WHERE * ?
you trying to match any column value?
@ReedCopsey Yep
unfortunately, there isn't anything like that - it'd fail for PK types, etc
20:54
Now nothing is working lol. It is just one of those days
so you have to do lots of OR checks
@ReedCopsey Yeah.. ESRI has a query.Text that I am looking at. Never noticed it before. I am not sure what it is for.
ESRI's query functionality is very odd
You are telling me... freaking thing works one second and then breaks the next
My spacial queries work perfect, but let the user enter something and it loses it's mind.
edc
edc
21:08
I am back from the dead
mmm shawarma
hey @JLott! long time no see
@JLott Can't you use "*"
I know this lol
@Pheonixblade9 HEY!
posted on February 25, 2014 by Visual Studio Blog

The Visual Studio 2013 Update 2 CTP 2 is ready for you to download and try. Our team remains committed to delivering regular improvements to Visual Studio 2013 through new capabilities and bug fixes. The update for Visual Studio 2013 offers improvements in a number of areas including Team Foundation Server, testing tools, the debugger, Entity Framework tooling, and web tools. For an overview o

@JLott Why are you using where use text
21:20
It is not working...
I am trying to figure out what Text does...
Say I have account 001-1239-12348 : if the user searches for 001, it does not return any records..
text is a like shorthand
The only thing that actually does work is if they type in one number...
@Shoe But does it only work on the objectID or something?
It goes off the display field in the map document
@Shoe Could you explain that a bit more
Go to your rest service that you're querying against
21:24
Alright
Then in the description for that service you should see Display Field: xxxx
How do I make everything a display field lol
Can't
So it is almost just like a where lol
Sigh... they just won't be able to do exactly what they want
Or I guess I could just let them do a where on a few things...
I guess every column is a little ridic
Yes text is a where shorthand
21:29
Does ESRI's where allow you to do multiple columns? Like in SQL?
Has anyone had this issue with Bootstrap in IE where the checkboxes are huge?
@JLott It accepts regular sql
Awesome
@JLott I don't have a stack gis account lol
Weak lol
21:34
you can use LIKE with query.Where
0
A: How can I tell my boss that I need some "downtime" to recover my health, without affecting my career?

Pheonixblade9I think the best solution is to get a doctor's note (to prove that you're not just trying to get some free time off) and then speak to your boss about it. Make sure that you frame the request as being good for the company AND good for you. A well rested, non-stressed manager will be able to mana...

annnd you're fired.
Yeah that is what I am using @ReedCopsey. But it still doesn't completely solve the issue. I was hoping that LIKE would search everything, but it just searches based on display field
yeah - you have to do a set of OR with multiple display fields, I think
@JLott Something like that isn't possible in sql
21:39
@ReedCopsey Yep and it seems to be working
@Shoe I know... which I understand why... but it kinda sucks lol
It takes a longer time to do these queries than I would like for it to...
@JLott - You could check for the id using .Contains("001")?
@TravisJ I am just using the WHERE and just letting them search my name and account number
That is really all that they would really want to search anyhow
It wont be a simple query, you need to query the table schema to get the list of columns to generate the query
21:50
@SpencerRuport I've seen that before what's your html look like
@BrockHensley not my question :)
<div class="panel" role="form"><div class="container-fluid form-horizontal">
    <div class="row form-group">
        <div class="col-xs-1">
            <input type="checkbox" class="form-control" data-bind="checked: Response.Enrollment.AgreedToTerms" />
That form-control class is what does it.
But only in IE.
@SpencerRuport Don't apply form-control to checkboxes
Well how do I get them vertically centered? :(
Theres a class called checkbox
<div class=checkbox>
wrap that around an input
22:08
@JLott - Table.Where( row => row.AccountNo.Contains("001"));?
@Shoe - That worked. Thanks :D
np
22:36
Hi, can you give me a link to this : I search the way to add an alternative folder for a VS solution, if a dll is not found in the GAC, look there?
poor kitty :(
???
the reflection before the cat its is wierd
I try to search fo my problem, I can not find the right words. I know theres a way in your VS option, but I want to know if the Solution can keep a link, look at the folder "lib" in my solution if didnt get your librairies.
22:43
@forX do you mean you want Visual Studio to look in a different place to find the "References" in a project, or do you want the assemblies to be resolved from a different location during the runtime of your app?
VS
but I prefer, if you are in this particular solution
not on every solution
i think you are looking for this page then msdn.microsoft.com/en-us/library/ayds71se.aspx
Q2.1: A extends B which B extends C which C implements G. Is A instance of G?
the steps which are described under the header "Reference Path is Incorrect" should help
@user3123545 yes
@Rovak I need to change for every project (I got a lot of project in my solution). I try to avoid to change on every project.
22:49
these don't need to be ternary, right?
mcf.ValuesRestricted = (element.Descendants(ns + "SelectionMode").Any() && element.Descendants(ns + "SelectionMode").Single().Value != "FreeText") ? true : false;
mcf.IsVariationAllowed = (element.Descendants(ns + "VariationSpecifics").Any() && element.Descendants(ns + "VariationSpecifics").Single().Value == "Disabled") ? false : true;
i dont think anything needs to be ternary, so what do you mean?
i think he means that the ternary to return true are false are redundant because the expression itself already returns a boolean
on a side note: ugh, i'm starting to get quiet at work, how can i be more sociable when i have nothing to say ever?
oh good catch
@Pheonixblade9 Yes - using ternary to return a bool is silly
0
Q: MVC routing - different urls to the same action

LINQ2VodkaI have backbone.js framework at client side that performs POSTs to the following urls to create/update some entity: controller/action - for creating a new controller/action/{id} - for updating an existing one I want a single action Save to process both operations and perform entity creation/up...

pls help any1
23:03
@LINQ2Vodka why do you want the same action to handle 2 urls? I would suggest to split them up in 2 methods for each url which in turn refer to the same method to handle the incoming jsonmodel with optionally an ID where its available
because the creation and updation code differs by 2 lines only
HTTP file uploads need to die.
I'm so sick of having to deal with this.
AJAX Uploads, drag drop, click triggers, automatic form submission.
>_<
iFrame submission.
ugh.
@SpencerRuport i guess that problem can be solved with the right file upload library, the same way as jquery hides you from most browser quirks?
@TravisJ I've got a question for you.
@Rovak - Not really.
It's really about IE 8 support and your choices are: Require a file selection click and a submit click, use flash, use silverlight.
23:10
sounds like plupload
@SpencerRuport Sounds like IE8 needs to die, rather than HTTP file uploads
And if you use Flash or Silverlight there are theming constraints.
@RoelvanUden - And IE 9
Same issue.
Approach #1
1. Click Browse
2. Select a file
Approach #2
1. Click the “styled” button
2. Select a file
i usually ignore Silverlight, with Plupload there is an invisible flash element hovering over a HTML element which you can style
You don't need to visually show Flash/Silverlight, just use them as API?
i got that working in Ext-JS with ie7 and up
23:16
@ReedCopsey I think I wrote it that way originally for clarity, lol
@Reed does using inpc instead of regular typed events make sense? I'm thinking about using it in combination with this upside is no redundant code, downside is that it reads (much?) worse and is a ~clever~ solution.
Anyone familiar with command line? Is this correct?
devenv.com "c:\Apps\HCIM\5.2.0\HCIM_Dev\BC_HCIM.sln" /Rebuild "Release|x64"
I want to build that solution in 64bit mode, it keeps erroring out when i try that
23:32
@RyanTernier error message?
I would think you'd wanna use MSBUILD, not devenv.exe
It's telling me that configuration doesn't exist
i think it's expecting tha tRelease | x64 needs to exist as a pre-defined build configuration
do you have the exact error message?
Invalid solution configuration
can you do Release|AnyCPU ?
i could
but we need to force 64bit
23:33
you want x64 specifically?
having an issue with some shared memory between java & .net
can you go to VS and create a new configuration for that/
when our asp.net worker process uses more than 32GB of memory the java VM crashes out because java thinks it's 32bit where asp.net is running 64bit
yea that's what I'm doing now
23:47
@JohanLarsson Would be easier to use msdn.microsoft.com/en-us/library/…
it seems like
maybe but the point of the hack is to just need minimal code in properties (vanilla inpc)
and then have the extension do the filtering etc
don't know why I added the previousvalue, was just playing around
@JohanLarsson I'm not sure I understand what you're trying to achieve, but have to consider something like that: gist.github.com/anonymous/cdf5f4148953a64d39dc It keeps your inpc properties really small
That's how I often implement inpc
00:00 - 19:0019:00 - 00:00

« first day (1228 days earlier)      last day (3946 days later) »