« first day (1287 days earlier)      last day (3658 days later) » 

7:02 PM
Is there a regular expression pattern that will ignore text / spaces but will split should it encounter a <>, ?
 
What do you mean "split"?
Regular expressions are used to identify things
 
Well, I'm trying to do a Regex.Split(column[2], @""); but for the actual pattern if it detects those three characters it will split. If it finds those, it splits it there.
 
well, [<>,] would fit?
 
@LasseV.Karlsen Thanks, I thought it could be possible. Doesn't solve all my constraints but an address is to unpredictable.
@LasseV.Karlsen Is there a way to have Regex skip a space, but match space two?
 
You mean that in "a b c d e f" it would find the double space between c and d, but not the single spaces between the others?
guess double space isn't visible here
there is a double space between c and d
 
7:10 PM
Yeah.
 
well, uhm, yeah? " "
 
or find space between b c not others?
 
Then you would need to involve b and c
 
And since those values can change between a letter and number. I would have to make it a bit more complex.
 
Sounds like it, yeah.
 
7:23 PM
You know what annoys me, you tell your boss you'll leave three hours early so I can come in over the weekend for equipment maintenance. Then he sends an email stating your leaving two hours early. So everyone else expects me to be in the office for an additional hour than anticipated. Either he made a typo, or he is trying to screw me out of time.
 
user1630889
I have two tables mapped to Entity Framework which have (essentially) the same properties, but they have different field/column names. I tried "bridging" the gap between the two entities via a common interface, but LINQ to Entities is not supporting that.
 
By "over the weekend", do you mean "during the weekend"?
 
        var querytext = $('#query').val();
    $.ajax({uri:uri, type:'PUT',data:'query=ILikeCheese&InputBy=Abhi&InputDate=2012-12-12',success:function(){alert('Put attempted')}}
        );
I am trying to call a PUT / POST method on my http webapi service
the code won't do this.
 
@AlexanderPritchard What do you mean it doesn't support it? Write an interface and have the entities implement it
 
user1630889
Shoe: Running such a query results in an exception.
 
user1630889
7:39 PM
Shoe: "The specified type member 'Whatever' is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties are supported."
 
 
Post a code snippet
 
Falabella
 
user1630889
Shoe: I am having difficulty coming up with a succinct snippet that would demonstrate the concept. I am having even more difficulty coming up with a situation where the situation I described could ever work.
 
user1630889
In Entity Framework, properties have mappings. Using an interface to try and hide the field names (and reconcile two different field names into one) will produce code that is not mapped to any properties.
 
7:53 PM
Are you using DB first or code first
 
user1630889
DB first.
 
@Steve Mm... hot... that's so hot. Er, the pizza... the pizza's hot. It would probably burn you.
 
probably is burning the donkey
or
whatever it that fucked up looking creature is
 
@AlexanderPritchard You can't "hide" it, but you can write an interface to return two different properties
 
I am such a pervy wanker
ignore me
 
user1630889
8:00 PM
Shoe: So far, I haven't figured out how to do so... TableA maps to Entity1 and has field PaperPlate, while TableB maps to Entity2 and has field DisposablePlate. Any attempt to write an interface InterfaceA which has field GenericPlate has thrown exceptions.
 
user1630889
We are talking about a 70% reduction in code if I can get this to work. Not to mention code that is much easier to understand.
 
An interface with a field? That's a first.
I sympathize with those exceptions though. I mean, they're probably specific exceptions? At that? But now, like, they're only exceptions, which is kinda, like, bad.
 
user1630889
Is that a joke, Lasse?
 
user1630889
I really don't care of the solution ends up being an Interface or an Abstract Class, and I'm switching between the worlds of database design (fields/columns) and C# (where I am in fact dealing with properties, not fields, correct).
 
user1630889
Language gets muddled.
 
8:09 PM
@AlexanderPritchard what exception is getting thrown...
 
@AlexanderPritchard Have Entity1 and Entity2 implement the interface and write a property to return a GenericPlate
Then return their specific plates
for each entity
 
It was a joke because the problem as explained is about as clear as mud.
 
user1630889
Shoe: Running such a query results in an exception.
Shoe: "The specified type member 'Whatever' is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties are supported."
 
user1630889
That is the exact thing which I have done, and I have already stated the exception which is thrown when that happens.
 
user1630889
Where "Whatever" is the property declared in an interface.
 
user1630889
8:13 PM
LINQ to Entities has no idea what IGenericEntity.GenericPlate is.
 
user1630889
LINQ to Objects would understand it just fine.
 
That is because linq to objects is a loop
Whereas linq to entities translates into SQL
 
user1630889
I am aware of this.
 
There's a difference, a major one, in how things are interpreted, and when
 
user1630889
And that.
 
8:14 PM
Whereas linq to objects is done at compile time, linq to entities is done at runtime, it has to work with what you've given it
So if you're querying collections of interfaces, how does it know which underlying table/column to use?
 
user1630889
There's the question :)
 
No, it's not a question
It cannot know this, it won't work.
 
user1630889
Yeah, I don't believe that.
 
The main problem here is that you've tried to take EF and make it an abstract layer
You've failed to realize that EF is a direct tie-in with the database
you can't abstract that away
 
user1630889
No, I haven't failed to realize that.
 
user1630889
8:16 PM
And I'm not trying to abstract that away.
 
Then what are you trying to do?
Why aren't you querying collections of concrete objects?
 
user1630889
You know what, maybe this is just what I'm stuck with, as frustrating as it is. My honest hope was that I could provide a data mapping for each implementation's generic properties.
 
user1630889
But who knows if C# will be smart enough to recognize what I've done, even then.
 
Right now? No.
 
@AlexanderPritchard I've done it before, and do it regularly
it doesn't sound like you have it right
 
8:19 PM
The code might work if the code actually looked at the underlying object.
But most of EF is using <T>, and then looking at what T provides.
If T is an interface, that interface better have the attributes mapping things to the right columns in the database.
If T is an interface implemented by types having those attributes, you're not going to get that to work.
 
user1630889
Lasse: Yeah, that sounds like a problem.
 
user1630889
Shoe: I don't see how. Are you really talking about LINQ to Entities, here?
 
user1630889
This is really annoying. We tried the same thing using constants that defined expressions with another set of tables. C# still wasn't smart enough to tell that "not just anything" was in the expressions that were in those constants.
 
user1630889
That was in a situation where quite literally copying and pasting those expressions in place of their aliases executed just fine.
 
user1630889
I'm just... Ah. I'm stuck. We can't change the schema. Just a little frustrated at this point... every solution I attempt runs me into a brick wall.
 
8:25 PM
Let me tell you my problem.
 
I understand that you're having a problem. I still don't understand 100% what that problem is. That may be a problem on my end, or it may be a problem with your explanations. Irregardless, I really want to help, but I can't. So can you please take 1 step back and tell me what the real problem is, and drop whatever you've tried to do to solve it?
 
user1630889
Lasse: I'll do my best.
 
user1630889
Lasse: I have two tables in a SQL Server Database: TableA and TableB. Those vary only very slightly in the number of fields and field names.
 
user1630889
Lasse: They map to two entities in Entity Framework: EntityA and EntityB. Those vary slightly in the number of properties and property names.
 
8:30 PM
OK. Understood.
 
user1630889
Lasse: A lot of the code is written in this manner:

Expression<Func<Object, int>> queryable;
if( userSelection = paperPlates ) {
queryable = p => (p as PaperPlate).Radius < 10;
} else {
queryable = p => (p as DisposablePlate).PlateRadius < 10;
}
var dataSet = objectList.Where(queryable);
 
user1630889
Lasse: Whereas I would want it written in something similar to this manner:

// objectList is now a list of IGenericPlates, or AbstractPlates
var dataSet = objectList.Where( p => p.GenericPlateRadius < 10 );

Or.... I am entirely open to other ideas, but don't be surprised if I've already tried a few things.
 
I don't think you can do that.
 
user1630889
(And excuse me for dropping TableA, TableB, EntityA, EntityB in the final example. EntityA = PaperPlate, EntityB = DisposablePlate)
 
The reason is that PaperPlate and DisposablePlate properties have attributes, mapping them to specific columns.
Or, wait, step back (for me). Is PaperPlate and DisposablePlate mapped to the same column name in the database?
 
user1630889
8:36 PM
Lasse: Great question! Unfortunately, no.
 
Additional question, what is objectList ?
 
user1630889
Lasse: Another important bit. Currently, to make this code work, it is a generic list of objects. In practice, at runtime, it is specifically either a list of PaperPlates or DisposablePlates.
 
Can you show me how you declared objectList?
 
user1630889
IQueryable<object> objectList; (in most of the procedure argument lists)

Very high up in the chain, it is set as follows:

switch( userSelection ) {
case PaperPlate:
objectList = Entities.GetPaperPlatesQuery();
break;
case DisposablePlate:
objectList = Entities.GetDisposablePlatesQuery();
break;
}
 
Never mind that comment. Let me read and process.
Ok
So, let me just explain what I've understood so far. Please tell me if I got anything wrong.
You declare objectList as an IQueryable. You assign it a specific table queryable (I'm assuming here but I bet I'm not wrong).
Then you filter it using a Where-method that takes a fitting (according to the specific table) expression.
Is that right?
Because I think the main problem here is the (p as X) parts.
 
user1630889
8:43 PM
Yeah.
 
At this point, EF will give up, it can't process that in any way.
I don't think you can do what you want to do.
 
user1630889
Lasse: Mind if I clarify?
 
@AlexanderPritchard When you do that it looks like you're quoting him instead of replying.
 
@KendallFrey What?
 
user1630889
8:46 PM
What I just posted is the code that currently works (compiles, runs, produces expected results), but the branching based on Type (and use of generic "object" lists/queryables) irks me to no end. The code in its current condition is difficult to comprehend.
 
I understand, and sympathize, with that.
You want the C# compiler, or EF, or Visual Studio, or God (assuming you believe in that sort of stuff), to help you write less code, no less succinct, but less verbose, to do the same thing as you've got working now. Am I getting this right? :)
 
user1630889
Lasse: Yup. That's typically what I depend on a compiler/framework for.
 
I agree.
 
@AlexanderPritchard Use the reply button on the message to reply.
 
user1630889
Kendall Frey: Okay.
 
8:48 PM
@KendallFrey never!
 
STOP IT
That's so annoying
 
But, as I said before, and I apologize if it looked a bit flippant, EF is not capable of doing what you want.
 
user1630889
You know what's annoying? Having to use the mouse to do stuff.
 
user1630889
And/or my Macbook Pro's trackpad.
 
8:49 PM
Well, : doesn't ping people, @ does
 
EF is tied directly to your database. If you have 2 tables in the database, you're going to have 2 queries against those tables.
 
It also offers tab-completion for the lazy
 
user1630889
Lasse: That makes perfect sense! (No, it does.) But that doesn't surprise me. What surprises me is the compiler/runtime's inability to comprehend expressions in any way I would expect to use them in an enterprise environment.
 
user1630889
Aka where few of what my clients want makes sense, but my code has to.
 
user1630889
OooOOOPS! @LasseV.Karlsen.
 
8:50 PM
Yay!
That was getting under my skin
 
The main problem with the expressions and EF is that the type of the objects you're using is propagated a lot more than what you would like.
 
BTW, you might find the FAQ useful. It contains all sorts of tips on different features.
 
user1630889
@LasseV.Karlsen: All right, so now that we know the limitations, what do you think a good alternative may be architecturally? I have considered trying to use metadata/reflection to perform some hackery, but I can't see a clear way to do it at this time. I am, as an alternative, considering hiding the branching based on type in Static methods, or sucking it up and writing (nearly) duplicate methods for each Type.
 
and you still use the :, lol
 
To be honest, I don't know, but let me expand on that.
It depends entirely on how you've organized the rest of your code.
 
user1630889
8:54 PM
@KendallFrey yeah I think it's really weird not having clear lexical separation between who I am talking to and what I am saying.
 
user1630889
@KendallFrey: That gets under my skin.
 
In my world, projects, whatever, we try to divide everything up into individual layers as much as possible, where each layer cannot and should not know about any layer other than the next one.
 
fair enough, but the user will clearly see their name highlighted
 
So in this case, I would have a "data access layer" that would use EF to talk to the database, as opposed to "SqlConnection", "SqlCommand", and similar.
But the layer about this would not care, or know, about the things that would go on in the database.
Meaning, that my data access layer would probably use the code you've got working now, but return collections of that common interface.
Meaning that, sorry, no, you cannot get the code any better than what you have, but the rest of the code does not need to know about the problem.
If that makes any sense at all?
 
user1630889
@LasseV.Karlsen: Both unfortunately and not, that's exactly what I was thinking.
 
8:57 PM
"But the layer about this" <-- above!
 
user1630889
Yeah, that's how I read it.
 
user1630889
@KendallFrey: Unless the user is crazy, they at least will know that they didn't reply to themselves :)
 
I said earlier that EF is directly tied to your database, and I actually consider this part of my code as part of the database.
 
user1630889
@KendallFrey: Maybe try saying my name without the @ or a proper reply and see if that bothers me? I'm curious as to how that could irritate anyone. (Genuinely curious. Not trying to criticize.)
 
It irritates me because it's not the normal way to talk to someone in chat. I'm not used to it is all
 
8:59 PM
I've done a few projects where I've had to support multiple database engines, and I've always tried to separate the "how do I query the database" part from " what do I ask the database for".
 
woo DAOs
 
WB @ShotgunNinja :)
 
I never left, the system just logged me off
I could still see everything posted
 
And yes, I think that sometimes these chat systems are made by/for programmers/technicians, and not regular users.
 
O_O
WHOA
what a revelation
 
9:01 PM
The fact that I say "Hey, Alexander, look at this". Why should that be different from "Hey, @AlexanderPritchard, look at this".
 
a chatroom made on a programming Q&A site is made for programmers/technicians!
 
@LasseV.Karlsen cuz itz liek twiter!
 
user1630889
@ShotgunNinja: I will say this as a programmer/technician, that I have enough going on in my head already. The less I have to think when asking for help, the better.
 
Chat rooms have had a way to ping people long before this
 
@ShotgunNinja The second you stop thinking of us as überpeople, that second you start writing better software :)
 
user1630889
9:03 PM
One of the prime reasons I don't like IRC. StackOverflow chat's the best real-time chat I've seen sofar, but I think there's ample room for improvement.
 
Actually, and let me serious, because I had this specific discussion at work today.
People don't want to think.
- end of point -
 
user1630889
clap clap clap clap clap
 
@AlexanderPritchard Once you use it enough, you realize it really sucks
Mostly in the implementation and details
 
@AlexanderPritchard I was just saying, don't be surprised when the programmers who made this site tailored to to be programmer-y. They weren't really designers.
@LasseV.Karlsen lol, I don't think of anyone like an uberperson. People are people; we fart, lie, and make mistakes.
 
user1630889
@ShotgunNinja: Isn't that like, what they would call a strawman argument, or something? No, I get what you're saying. I just don't think it's a good excuse. I don't think poorly designed chat functionality is tailored to anyone in particular. I think "can get away with" is more appropriate.
 
user1630889
9:07 PM
Ironically, you would think technical software made for technical people would be technically superior, but that is seldom the case.
 
user1630889
It is more often than not less secure, less user-friendly, more prone to crashes/errors, difficult to comprehend, non-responsive, inflexible, etc.
 
Yeah, it's a bit of a strawman, but it's more that there is a prevalence among the programmer community to design toward a "smarter" person, when the reality is most people are downright clueless, meaning they either won't or shouldn't focus harder than they have to.
 
user1630889
Yeah.
 
When I write SQL (yeah, I don't buy into the EF/Linq2Sql "crap"), I tend to think of this as my local extension of the database.
I also create another layer on top of that abstracting away the specifics of whatever the database layer has in mind.
 
why would you write off EF as crap? It has its place. It makes simple DB schemas extremely simple to get off the ground
 
9:12 PM
Yep, it does. Correct. It makes simple databases simple to access.
And at some point you're no longer in a simple database.
 
The only thing I don't like about EF
 
And at that point you're stuck trying to talk/persuade EF/Linq2Sql into doing what you really want done.
 
is that it's tough to work around its limitations
 
Tell me again, what was your problem? :)
 
user1630889
ding ding ding ding ding
 
9:14 PM
I like when ORMs provide some form of "back door" to just execute what I want when I want, if I have to do that
 
user1630889
<---- Joins the club
 
but I'd still always use an ORM
 
AND HE SCORES!
 
user1630889
EF is great until it's not. Let's put it that way.
 
Seriously, I'm a big proponent of ORM's. But they all do have their limitations. And one of the major limitations is that you probably need to be one of the developers of the underlying framework in order to fully coax it into doing what you want it do to.
Case in point, I liked Developer Express' XPO framework.
 
user1630889
9:16 PM
@LasseV.Karlsen: Are you familiar with how EF in particular handles proxy objects? shudders
 
The main problem with that is that you really need to know what it does, how it does it, and when it does it, to "fully" be able to use it.
@AlexanderPritchard Sorry, no. And judging by the way you phrase that, the correct response would probably be "Thankfully, no". :)
The main problem with XPO is that it makes everything into smart objects. Nice!
Except, you write this kind of code: var firstWhatever = entityIveAlreadyRetrieved.SomeCollectionProperty.FirstOrDefault();
and it ends up executing 1 SQL statement for that code.
And then you do that in a loop.
And it's all downhill............
 
user1630889
Hah. Oh my goodness. So familiar.
 
And then you replace that with my current world.
There's no freebies.
 
user1630889
I won't say I'm perfect by any means :) I deployed entity.SomeCollectionProperty.SingleOrDefault() to production a couple weeks ago.
 
user1630889
And yes, in loops.
 
9:20 PM
If you need to execute 1 sql at a time, in a loop, that's what you do.
If you can execute 1 sql that retrieves everything at once, then you do that instead.
So yeah, ORM's are good. For simple projects.
 
Well, I wouldn't see you need to know how it does it entirely - but FirstOrDefault() will always evaluate an IQueryable<T>
I use Lightspeed, in very non-simple projects
 
My main beef is not with how an ORM can work.
My main beef is that an ORM makes programmers stop thinking.
You can "dot" yourself into an object, property by property, but if each such property access ends up executing an SQL, my opinion is that the ORM has made it too easy for me.
Because that's how I'm going to write my code.
 
mmm - that's a programmer issue, not a framework issue
 
making better tools is a good thing - not learning how to use them is a different issue
 
9:25 PM
And if you separate the framework from the programmer that is going to use it. Sorry, you've just failed!
As a group, we programmers tend to hunt for how to make things easier for ourselves.
Reuse some existing code? Good!
Intellisense? Excellent!
But if I, who made the framework, made intellisense work in your disfavor........
Who cares! I type X. and I can pick my method call? Early lunch!
 
user1804599
I find ORMs fine as long as I don’t have to modify my entity types to support them.
 
user1804599
Decoupling ftw.
 
user1804599
I can later decide to remove the ORM and use something different if I want.
 
user1804599
ORM is a detail of your application and not part of the big picture and main logic.
 
user1804599
(Just like storage in general.)
 
9:29 PM
As I said earlier, the database layer (in my opinion/view/mind) is a local extension of the database.
 
user1804599
@LasseV.Karlsen IMO it’s also plug-in to the application that merely implements an interface.
 
And by "database layer" I actually meant to write "data access layer". Whatever is requrired to talk to the database.
 
user1804599
There may not be a database at all, for all the application cares.
 
It's going to be inherently coupled to how the database is organized.
@rightfold Correct.
(database + data access layer) - (business object layer) - (gui layer) is how I want to think about my applications.
 
user1804599
I add implementation of use cases between the latter two.
 
user1804599
9:34 PM
Which is just a bunch of functions.
 
user1804599
Currently writing a web application this way and I like it.
 
user1804599
Don’t call me an experienced developer/architect. I’m on my third project now at work. :F
 
more experienced than me :)
 
I have very little experience writing good web applications.
I'm more of an old-school programmer :)
 
user1804599
Currently all I have is logic for creating projects and issues (I’m writing a bug tracker).
 
9:42 PM
Why?
There's about a million good ones, why write another?
 
user1804599
I fake storage like this in my unit tests.
 
user1804599
@LasseV.Karlsen Gotta do something during the weekends. :D
 
Oh, aha, ok :)
 
any special reason you use foo and not fuu?
 
user1804599
In Haskell this is even nicer, since I can use monads as a dependency injection mechanism.
 
9:44 PM
@rightfold What kind of programming language is that btw?
 
user1804599
Which allow for code that doesn’t pass around dependencies to constructors, and without registering them globally.
 
user1804599
@LasseV.Karlsen It’s LiveScript.
 
OK.
Nothing uncommon about the techniques though. In C#/.NET I use NSubstitute to make mock implementations of interfaces, kinda like how "insert-project" is implemeted, and then call code under test.
 
I'm pretty sure the code I'm working on was written with job security being the primary goal.
2
 
user1804599
9:47 PM
At work we don’t test the logic because it’s embedded in the HTTP handlers and they directly return HTML. (And parsing HTML in unit tests equals eternal pain.)
 
half the business logic is done in the sproc, and half is done in the C#, and half is done in an XSLT YES THAT'S 150% FUCK YOU
...
 
user1804599
Biggest mistake I made in this project.
 
user1804599
Certainly gonna do it differently next time. :)
 
@rightfold And that's what I love about being a programmer/developer.
Always learning something :)
 
user1804599
This is the first project I’m really proud of, though.
 
9:50 PM
I always hate code I wrote half a year ago, dunno if that will ever stop
 
HAMMERTIME!
 
could mean different things:
a) It is harder to read than to write code
b) progress
c) ??
 
@JohanLarsson No, it will never stop.
 
HAMMERTIME!
 
@LasseV.Karlsen meaning a or b?
b would be pretty nice :D
 
9:54 PM
Any code you've written in the past will always invoke that "I can't believe I thought this was a good idea" feeling when looking at it later. :)
 
Not always. :P
 
user1804599
I have written some pretty bad code last year.
 
My statement should be considered a rule. Rules are made to / will be broken :)
 
we should try to do it the Roel way!
 
user1804599
/* line 629 */ public function place_customer_order(
…
/* line 644 */) {
…
/* line 1038 */ }
 
user1804599
9:58 PM
It’s full of horrible loops and if statements and SQL queries.
 
user1804599
Yet there’s a business that depends entirely on this function. :V
 
user1804599
I better not touch it, since nothing in this project is covered by automatic tests.
 
do you still love testing?
 
user1804599
Good thing this isn’t the current project anymore. :)
 
I see your problem.
 
user1804599
10:00 PM
@JohanLarsson Yes! It’s so nice.
 
yes it is nice
do you catch many bugs when writing tests?
 
user1804599
@LasseV.Karlsen Not my problem anymore, so it’s fine. :D
 
user1804599
@JohanLarsson I think it more or less prevents many bugs.
 
SEP-field absorbed it
 
10:01 PM
And by "I see your problem" I mean this: OK, so you got a method declaration that spans 15 lines, then you got the method body spanning 395 lines. Hello SOLID!
 
@rightfold yeah, but I also catch dumb things when writing tests. I usually write tests after though.
 
user1804599
@LasseV.Karlsen Well, it worked, and yielded almost a million bucks, so it’s fine. :P
 
:)
If that million bucks was for you, nice! If its for your employer and you only get a standard salary, uhm?
 
user1804599
Although seppuku may be appropriate here.
 
user1804599
@LasseV.Karlsen It’s for the customer. :v
 
user1804599
10:03 PM
Their customers invoked this function while buying stuff. :P
 
user1804599
$question_marks = implode(', ', array_map(function($x) { return '?'; }, $folder_ids));
$db_folders = get_instance()->db->query("
    SELECT id
      FROM product_sets
     WHERE id IN ($question_marks)
", $folder_ids)->result();
 
user1804599
Lol, this code is full of gems.
 
user1630889
gives up
 
user1630889
I need a break.
 
user1630889
The past 10 hours of my time has been spent trying to reconcile this data in some sane way. I hate billing the client that much time for technical problems.
 
user1630889
10:10 PM
Mainly because they don't understand why schema issues like that should cause such a hassle.
 
user1630889
@LasseV.Karlsen: The sane thing to do now is what we talked about earlier. Abstract the differences away somehow, but keeping in mind that there are pros/cons to this.
 
user1630889
@LasseV.Karlsen: Thanks for the help/sanity checking. I'm heading home to rest.
 
user1630889
@LasseV.Karlsen: Is there any way to give you brownie points or something?
 
chat rep is usually enough :)
 
user1804599
Oh my, I’m going crazy.
 
user1804599
10:22 PM
This code is so hilarious.
 
user1804599
			case 200:
				echo "HEUJ EINDELIJK GELUKT";
			break;
			case 400:
				echo "Bad request again";
			break;
 
I think I'm gonna schedule cleaning the entire next sprint
finally success!
 
Well, my movie ended. I'm going to bed now. You all take care now, and don't do any architectural decisions that I wouldn't do!
(followed by MUAHAHAHAHA!)
 
user1804599
@JohanLarsson The filename is testFrank.php. The guy who wrote it was called Frank, lol.
 
do you write tests before code?
 
user1804599
10:26 PM
Yes.
 
user1804599
I never did, because I didn’t write tests before.
 
have you noticed tests being in the way when refactoring?
 
user1804599
Yes.
 
user1804599
:V
 
that can be painful but really nice when they catch dumbs
 
user1804599
10:27 PM
Although they do make sure I’m not breaking shit.
 
yes it is a nice feeling to know that the logic is locked up with green dots
 
10:49 PM
I'm becoming a reflection masterrrrrrrr!
 
11:33 PM
Forgive me I'm not a verteran, but what exactly does "Managed Properties" mean?
 
It's a way to restrict developers from editing code they shouldn't.
I've never used it before.
I don't think it's very common.
 

« first day (1287 days earlier)      last day (3658 days later) »