Tag Info

Hot answers tagged

7

and don't want to ask the individuals doing the work to manually record things like how long it takes them to perform a given task Here's the problem. You basically want to create meaningful metrics, without measuring the only thing that matters. Nearly all of your users won't care about how fast the code itself is unless it causes a noticeable impact ...


5

"Hardware is Cheap, Programmers are Expensive" The cost between a low end computer and a high end computer is generally a few hundred dollars. That investment will be amortized over a few years. If you save 10% on compilation time or the IDE responds more quickly when opening or code completion in the IDE works faster by investing in the higher performing ...


4

The challenge is how should this information be stored efficiently in an RDBMS? The question should be why should this information be stored in a RDBMS at all? What are you going to do with it once it's there? If all you're going to do is "save" a spreadsheet into the database and then pull it back out again, then I'd suggest you're wasting your ...


4

The /Book/55/title-of-book pattern has an important benefit: it contains the title of the book, which is helpful for SEO, but also the ID, which: Won't change (unless you change the type of the ID, say uniqueid instead of int). Is the only thing needed to locate the corresponding resource. This is important when you need a shorter URI, especially when the ...


4

If you have 4 independant services, then they have to independant. No data should be shared in common DBs or similar, as then you simply make them dependant! Now while its OK to share a single DB in production, the services should use their own schemas as to DB is just there as a common container, similar to how a single Linux server can run all 4 services. ...


3

Angular is for Single Page Applications, forms are sent using AJAX to avoid the page to be reloaded. For sending multipart forms with AJAX, your browser need to support FormData(IE10+): http://caniuse.com/#search=FormData https://developer.mozilla.org/en-US/docs/Web/API/FormData ngModel doesn't work with input[type="file"], so you have to create your own ...


3

You question is a bit of a broad/opinionated "What's the best way to manage the whole CSS thing?". It's a great question, but I don't think there is a single answer. I feel like the question is ultimately, "How do you work with Bootstrap?" Bootstrap is a front-end framework. Frameworks generally include a lot of features but, by their nature, are a ...


3

I think the biggest benefit of hiding IDs and presenting a hash-like string instead, is to prevent records being harvested simply by incrementing the value. This isn't so much a security concern, but a deterrence to would-be data harvesters who may wish to collect or index data from your service. As for implementing this, it would be better to generate a ...


2

Yes, the big question is what do you want to do with these excel documents once they're in the DB. You can store them as BLOBS quite happily, but then you can store them as files on the filesystem too, and the latter allows you to manipulate the documents in various ways (eg running code to change them). If you're just storing them for later retrieval, ...


2

I think in order to answer this question, you need to ask yourself another more important question... Why are you originally supporting two different builds? Most likely the answer to that would be because you have customers that have a different tempo at introducing newer major versions, which makes complete sense. So a customer is on 2.3.4 and haven't ...


2

Your example is a bit abstract, but let me run through my thoughts. Option A : In my experience this is Always Bad regardless of your reasons. sure DBs like MSSQL can have friend databases etc, but if the data is linked, it should be in the same DB Option B : Not sure whats going on in here, you are adding an API which queries all DBs and brings the ...


2

I've been faced with this, and the answer is: For someone experienced in performance tuning, the new code can be tuned so almost no code can go faster. Here's an example. The reason is, there is a minimum length of time the task can take, and it's greater than one cycle. There are many, many programs that can do the task, and one or more of them take less ...


1

What is a Non-Blocking framework? Explain it like I'm 5: Imagine you want to make a deposit to your bank account. You walk in and notice there is no queue of people waiting line. The sign over the bank teller says: "Non-blocking teller". You walk up and ask the teller to process your deposit, the teller responds: "I'm busy with another transaction, ...



Only top voted, non community-wiki answers of a minimum length are eligible