"Doubt is uncomfortable, certainty is ridiculous." - Voiltaire

Archiv der Kategorie ‘StackOverflows‘

 
 

Answer by jfar for New Project : Online Image Search, While Keeping The Images Secure

Original Question/Answer on StackOverflow.com

What do you mean by secure?

Any image that I can see on my computer’s screen can be downloaded and saved to my hard drive.

Answer by jfar for LINQ to Entities Searching text properties for multiple keywords

Original Question/Answer on StackOverflow.com

Looks like Linq to Entities doesn’t support contains:

http://msdn.microsoft.com/en-us/library/bb738638.aspx

I’d roll my own query for this one. Your probably going to want full control over the text search queries if you find out these types of searches become performance issues.

Answer by jfar for Becoming a multi language programmer

Original Question/Answer on StackOverflow.com

Write something fun.

For example I’m in the opposite situation ( well, I’m no C# guru ) and getting back into php. For a first project I’m building an application to store the different types of fireballs stored in street fighter games. :D

Keeps you motivated and you can kind of explore the programming space a little more than you would if you implemented a boring blog system or shopping cart.

Answer by jfar for Best UI You’ve Ever Used

Original Question/Answer on StackOverflow.com

Recently I’ve enjoyed Shelfari and Reddit. For desktop apps, Rhapsody is pretty nice.

Answer by jfar for Database Development Mistakes Made by AppDevelopers

Original Question/Answer on StackOverflow.com

Blaming the db engine when the query that ran sooo fast on your development machine blows up and choke once you throw some traffic at the application.

Answer by jfar for Why does StackOverflow work?

Answer by jfar for Why does StackOverflow work?
StackOverflow.com

Because people are generally good.

Hiring a SqlServer OLTP Specialist, What experience or requirements should I look for?

Hiring a SqlServer OLTP Specialist, What experience or requirements should I look for?
StackOverflow.com

I’m running into Db performance issues with an OTLP project I’m working on. Another developer and I have reached the end of our accumulated performance knowledge and seek out an individual to join the team to help us speed up our application.

For some background we’ve done schema changes to denormalize pieces of the data, optimized every query, ran multiple database tuning advisers to get our indexes just right, tuned MSSql’s server options.

We don’t need somebody to come in and tell us joins can be slow and what deadlocking is, we need somebody who knows what to do after exhausting all the steps listed above.

Anybody have any tips or experiences hiring OLTP DBA’s to share? What kind of questions can we ask the DBA during the interview process?

Its an odd situation to be in, we know we need somebody who knows more than the current team, but we don’t know what questions to ask because we don’t know what the next steps are. Does that make sense?

Answer by jfar for Effective book for developing way of thinking

Answer by jfar for Effective book for developing way of thinking
StackOverflow.com

The Black Swan is a pretty good book for changing the way you think. Once you learn to suffer through the authors arrogance and self-promotion there are some real gems inside.

Better way to cleanly handle nested XML with LINQ

Better way to cleanly handle nested XML with LINQ
StackOverflow.com

I’m working with XML that was designed by somebody who got paid by the level of nesting. The different xml files always looks something like this:

<Car>
   <Color>
       <Paint>
          <AnotherUselessTag>
               <SomeSemanticBs>
                   <TheImportantData>

With LINQ its easy to get what I want: ( not exactly, but you get the point )

from x in car.Descendants("x")
from y in x.Descendants("y")
from z in y.Descendants("z")
select z.WhatIWant();

I’m asking if there is a better way to do this? Some way of navigating the DOM with Linq?

Answer by jfar for Problem with Linq2Sql Many-to-Many relationship & Inserting new objects.

Answer by jfar for Problem with Linq2Sql Many-to-Many relationship & Inserting new objects.
StackOverflow.com

Many to Many relationships aren’t supported in Linq2Sql. :(

There are a couple of workarounds:

http://www.iaingalloway.com/many-to-many-relationships-in-linq-to-sql

http://blogs.msdn.com/mitsu/archive/2008/03/19/how-to-implement-a-many-to-many-relationship-using-linq-to-sql-part-ii-add-remove-support.aspx

Weird that the picture of your db schema is the same as one of the articles…