Ryan: Hey, [Dev], I'm doing a code review and I noticed the code doesn't compile Dev: Well I did the changes you asked, I didn't know you wanted me to compile it before checking it in. Ryan:....
We have in SVN: Task Branch (Local development - do your test cases) Release Branch (before you comit, you run BuildAndMakeDistribution. Makes install packages and runs tests. WHen this pases you can check in). Trunk (God help us if anyone checks into this except the lead, after the project has hit production)
we have a dev branch that is built daily. People create feature branches, work off of them, and merge to dev when it's ready to test. When QA passes in dev, it gets set to a weekly release to test. It gets verified in test, then gets merged into release/current, then is built and released, then merged into master
Given the following interface definitions:
public interface IFoo<TBar> where TBar : IBar<TBar> { }
public interface IBar<TBar> where TBar : IBar<TBar>
{
IFoo<TBar> FooProperty { get; }
}
And some naive implementations:
public class Foo<TBar> : IFoo<TBar> where TBar : IBar<TBar> { }
publ...
I am using google text to speech (TTS). Guys you all know it has only 100 character string support at a time. I have implemented TTS part correctly but not for greater than 100 characters. So as I said I'll get exception.
public void Read(string text) // Lets say text has length 250 (>100)
...
Kendall, sorry for not answering your question. I'm trying to use that RegEx to clean the keys and not the values of a string with JSON text. Based on your earlier suggestion for RegEx, I am only targetting the values and not the keys. I will paste a link to the evaluated results.
> This is not extra virgin olive oil. It tastes and smells like petroleum. I bought this because I thought that Rachel Ray wouldn't allow her name to be used on an inferior product. Very disappointed.
I have a byte[] b = new byte[1024]; which is filled with data. all the data in it could be represented by a ushort[512], however the byte pairs are in little endian. Is there a way I could take b, Reverse pairs of the bytes (i.e. flip index 0 and 1, index 2 and 3, etc.), and turn it into a ushort[]?
@NETscape do you want like, an elegant way of doing this? or just some way. Because you could probably just iterate through, switching the bytes, and then cast it as a ushort?
using .net 3.5 I have an entity that when i initialize then try to call the tables (EF -> MSSQL) properties it wont show in the code for one table, all my other tables work fine
this one table does have a 1 to 1 relationship with another table which is its only difference
if you do
if(true) { int i = 0; CreateDummy(i); } Does that create two references to 0, and once we leave scope the `int i` reference will be disposed?
@KendallFrey yeah, perhaps throw in debug.Breaks for convenience. That parser test is more of an integration test. Not that it is dumb but it is so huge.
Can anyone help me understand why I can't get the auto generated classes properties and methods I would expect from initializing the class? Pictures and code example below:
@RyanTernier - Isn't that a cool approach? I really like using Dictionary<Type,Action>. I came across that approach when looking at DI Containers, because it is the basis used for making the composition root in DI Containers.
@TravisJ I beg to differ, but only on the grounds that they have very very restrictive coding practices as well that most shops would never even think of.
@Ryan - I have not done any tests as far as performance goes. However, I do have a factory which creates my dropdowns that uses it and I saw no difference. I do not have a large test case available to do anything substantial.