Hi,
If I have a column, set as primary index, and set as INT.
If I don't set it as auto increment and just insert random integers which are unique into it, does that slow down future queries compared to autincrementing?
Does it speed things up if I run OPTIMIZE on a table with its primary and only index as INT? (assuming only 2 columns, and second column is just some INT value)
(the main worry is the upper limit on the autoincrement as theres lots of adds and deletes in my table)
I have a system where a central Java controller launches analysis processes, which may be written in C++, Java, or Python (mostly they are C++). All these processes currently run on the same server. What are you suggestions to
Create a central log to which all processes can write to
What if in thefuture I push some processes to another server. How can I support distributed logging?
Thanks!
We're excited at the prospect of upgrading our development IDE from Visual Studio 2008 to 2010. Our production environment, however, is not scheduled to be upgraded from .net 3.5 sp1 to .net 4.0 in the near future.
What are the possible risks in using Visual Studio 2010 to develop production grade applications that will actually run on .net 3.5 sp1 ?
Just got a chance to try out a cloud programming environment that let's you develop .net apps within the browser (http://coderun.com/ide/) I found it pretty interesting, since I was able to develop a mockup ASP.net site on an IPad.
With javascript engines in browsers becoming faster and faster, cheap server infrastructure to compile on; will the cloud become the IDE platform of the future?
I would like to execute a stored proc that simply updates a record. At this point I would like to keep it parameter less. But in future, I will be adding parameters to the stored proc. Can I simply do it via SQLDataSource? It will save me writing few lines of code to execute stored proc in a traditional ado.net. If its possible, could you please supply me with a sample code?
Thanks
I’m coding an application with server resources in mind, so I don’t want to use too much so that this application scales in thefuture. I don’t mind writing my own queries. So, is ActiveRecord resource intensive for my application? Or does it not make a difference?
Thanks!
As a software developer (leaving junior position, now taking mid-level), how important are Microsoft Excel skills?
I ask as I have done this extensively in one job but is it reall a skill that will help in future jobs?
Thanks
I like scala's propose of operator precedence but in some rare case unmodified rules may be inconvenient because you have restrictions in naming your methods. Is there in scala ways to define another rules for a class/file/etc? If not would it be resolved in future?
OK so my code is here: http://www.so.pastebin.com/m7V8rQ2n
What I want to know... let's say I have an image which I can redraw on tiles... is there a way to check for future tiles so I DON'T go out of bounds of my already defined tile map?
Like if I were at the edge of a map... it would NOT let me go past it?
Thanks.
I need a cache some objects with fairly heavy creation times, and I need exactly-once creation semantics. It should be possible to create objects for different CacheKeys concurrently. I think I need something that (under the hood) does something like this:
ConcurrentHashMap<CacheKey, Future<HeavyObject>>
Are there any existing open-source implementations of this that I can re-use ?
Hi
i'm developing a small prototype of a desktop application using Qt and Python because i would like to distribute it in a multiplatform way.
A friend of mine is annoying me on messenger because he claims that there are not known cool mainstream desktop apps developed with Qt and python technologies so, what i am doing, is just an exercise without future.
Do you know any cool apps developed in python+Qt?
thanks
Is it time to start new projects in Rails 3? I'm nervous about using beta versions but at the same time I really like what they are doing and don't want to deal with legacy 2.3.5 issues with these apps.
Is it better to wait these things out, or buckle-up, deal with early adopter issues and get a head start on thefuture. Thanks for any light you can shed.
Hello guys,
Can anybody help, I'd like to write my own beautiful control, f.e. nonrectangle button (more beautiful). and it will be in another file (dll), for future use.
The biggest problem is, that it will change design (color) when mouse cursor on it))
plz, help
Galym
Given that my class looks like this:
class Methods{
function a(){
return 'a';
}
function b(){
$this->a();
}
function c(){
$this->a();
}
}
Is it possible to ensure that function a can only be called from function b?
In the above example function c should fail. I could just include it in function b, but in thefuture I may want to let a() be called by some new functions (e.g. d() or e())
I'm parsing Xml data which has entries like this:
<item name="UserText" type_name="gh_string" type_code="10"> </item>
I'm supposed to read the 6 spaces as a String, but both the InnerText and InnerXml values of the System.Xml.XmlNode are zero length Strings.
Is there any way I can get at this whitespace data in existing files and what do I need to do in thefuture to prevent this sort of screw up?
I know it's a basic question but I've tried every combination of propedit propset, etc.
In an existing project, there's a file (let's call it 'error.log) I want to ignore for all future commits. What's the command-line syntax to do so?
This is strange:
DateList@AbsoluteTime[596523]
returns
{2078, 7, 2, 2, 42, 9.7849}
But
DateList@AbsoluteTime[596524]
returns
{1942, 5, 26, 20, 28, 39.5596}
The question: What's going on?
Note that AbsoluteTime with an integer argument is undocumented.
(I think I now know what it's doing but figured this is useful to have as a StackOverflow question for future reference; and I'm curious if there's some reason for that magic 596523 number.)
Hi!
i am developing in JSF a Spring Security application.
the login form is fine.
however, when i try to retrieve the authentication object, in future code, i always get the authentication pricipal as anonymous.
i try to fetch is like this:
Authentication auth = SecurityContextHolder.getContext().getAuthentication();
I know that so far (until MSSQL 2005 at least), system databases are master, model, msdb and tempdb.
Thing is, as far as I can tell, this is not guaranteed to be preserved in thefuture. And neither the sys.databases view nor the sys.sysdatabases view tell me if a database is considered as a system database.
Is there someplace where this information (whether a database is considered a system database or not) can be obtained?
I'm building a class library that will have some public & private methods. I want to be able to unit test the private methods (mostly while developing, but also it could be useful for future refactoring).
What is the best way to do this?
Essentially, I wanted to run a piece of demo code from W3c Offline Webapps page. It looks like that:
var db = window.openDatabase("notes", "", "The Example Notes App!", 1048576);
Firefox 3.5, IE8 and Chrome do not seem to get it. Is there anybody out there that actually wrote support for that? Or is this wishful thinking about 'the standard of thefuture'?
I have a requirement to track what authenticated users change with regards to the data when logged in. I don't need to track what pages they look at although that could be very useful in future.
I have thought about saving the User Guid but that seems very clunky.
Are there other methods/best practises?
i am trying to make a text box no editable for the users. I tried using this code and it works. Any ramifications??? I mean do u suggest the use of this code or it may cause trouble for me in future???
<input type="text" name="west" value="fixed value" readonly />
Hi,
I am doing some unit testing for a DAO that works with postgresql. Some of the SQL queries that my DAO uses involve the DATE function. Is there an in-memory database that supports functions similar to the ones that postgresql does?
Currently I am looking for support for the DATE function however, I obviously can see myself using other functions in thefuture.