I've just gone to installed RoR on my snow leopard mac.. and found the rails gem was already installed..
is this normal? Does it need updating?
Does this get installed along with textmate?
I'm currently transferring from Fasthosts (UK) to 123-reg. Whe WHOIS database says the domain is with 123-reg, but it isn't. Has something gone wrong here, or does it just take a while? Also, will the domain disappear from my Fasthosts control panel when the transfer is complete?
Many thanks
Apologies if I have missed something obvious here but having gone through the documentation, forums and googled for a number of hours, I just can't find a definitive answer to the following questions:
How does the WebApplicationContext.GetObject() method handle concurrent requests? Are the requests serialized or executed in parallel? Is there any performance data available to demonstrate how it behaves under load?
Thanks in advance for your help,
Andrew
I've gone through ODBC API searching for a function that can extract information of a data source. The closest I found is SQLDataSources that enumerates all data sources and gives you the DSN name/description.
But specifically I would to extract the TNS service name of an Oracle data source. This property appears in the registry under ServerName but I found no way to access it through an API.
I've been trying to learn how to use the APIs available out there, but I can't seem to find any good book or tutorial out there. So... where can I start learning about using the available APIs (e.g. Twitter API)? I've only gone to Wikipedia so far.
Using only HTML, CSS, and Javascript, has the web development world got to a stage where it is possible to display a loading message on the screen until absolutely everything has downloaded before the web page is displayed on the screen?
For example, display "loading", until all html, css, javascript, images etc etc have downloaded and can be displayed without the user seeing bits of the website still appearing after the load message has gone?
I was wondering if anyone new how to get access the metadata (the date in particular) from jpg, arw and dng files.
I've recently lost the folder structure after a merge operation gone-bad and would like to rename the recovered files according to the metadata.
I'm planning on creating a little C++ app to dig into each file and get the metadata.
any input is appreciated.
( alternatively, if you know of an app that already does this I'd like to know :)
Is it possible to have divs located around a central point and then on hover for them to whisk off screen and return when the mouse is gone?
This what the layout is looking like, the idea is for the green "leaves" to whisk off to show the branches and the menus. Would this be possible with JavaScript and PHP?
In CouchDb's documentation, the described method of deleting document attachments is to send a DELETE call to the attachment's url.
However, I have noticed that if you edit the document and remove the attachment stub from the _attachment field, it will not be accessible anymore.
If i remove foo.txt from the document below and save to CouchDb it will be gone the next time I access the document:
{
"_id":"attachment_doc",
"_rev":1589456116,
"_attachments":
{
"foo.txt":
{
"stub":true,
"content_type":"text/plain",
"length":29
}
}
}
Is the attachment actually deleted on disk or is just the reference to it deleted?
I must not be the only one - I'm rsyncing .tar.gz files and notice that every time the full file gets rsynced rather than the differences. Reading into it it seems back in 1999 someone created an algorithm that fixed the issue http://svana.org/kleptog/rgzip.html (only 5% of data needed transferred)
Has this gone anywhere since, how do I create rsync friendly .tar.gz files?
I remember when I was developing in C++ or Java, the compiler usually complains for unused methods, functions or imports. In my Django project, I have a bunch of Python files which have gone through a number of iterations. Some of those files have a few lines of import statement at the top of the page and some of those imports are not used anymore. Is there a way to locate those unused imports besides eyeballing each one of them in each file?
All my imports are explicit, I don't usually write from blah import *
Is using "self" ever necessary in Objective-C or maybe just a good practice? I have gone from using it all the time to not using it at all and I don't seem to really notice any difference. Isn't it just implied anyway?
We are in web era standalone applications are almost gone everyone wants their internet application to run inside browser, programming languages like Ruby, Python and scala are becoming more and more mainstream.
Sometimes I wonder what these programming language offer which make them top choice of IT companies, if I plan to become a freelance web developer is it worth learning C# or Java. I read beginner's book for both of them, but to master any of them require some time investment.
I'm assuming it's possibly to do so as programs like google chrome have gone one better and put each tab on a separate process.
So how can i put a GUI control such as a datagridview on a separate thread?
Hey guys,
I need few good book recommendations for PHP. I am trying to learn to develop webapps. I know there are other (arguably) better language out there that I should start with (ie, python). But I want to start with PHP and go from there.
My programming knowledge is limited to html/css (I know they are not actually programming languages), and I have gone through half of a python book.
Thanks! :)
I'm starting to develop an application using MySQL and although I've developed apps before using databases, I've normally gone to the incrementing id method. The other day I was reading a posting somewhere and saw someone being picked apart for this, for not properly "normalising the database". I'm not a big database person, but I wanted to make sure I'm doing this right.
Any ideas, help / guidance?
More or less I want to execute two functions in parallel.
One way as I see is doing through SetTimeOut function.
I have not completely gone through the ReactiveExentension, although it looks promising but may be overkill for my needs.
Is there any framework which supports parallelism ?
My use case is trivial, but I would like to know if anybody heavily needed parallelism in Java Script ?
Thanks, Biswanath.
I would like my page action to be activated for all the outgoing links from a certain page. How might I go about doing that? I've gone over the docs to no avail. Any pointers would be appreciated!
I am looking into Sharepoint 2010 currently and it seems to me the workflow engine being used is based on WWF 3.5. I wonder if it's a good idea to do this as WWF has been gone through dramatic changes with version 4. I wonder if the investments would be save.
I have gone through Head First Java and some other sites but I couldn't find complete stuff related to Threads and additional concurrency packages at one place.
Please suggest a book/website which covers complete Threads with more details like
Synchronize and locking of objects
More detailed about volatile
Visibility issues in Threads
java.util.concurrent package
java.util.concurrent.atomic package
I have the following two lines of codes in my model, however, both virtual and path have values "\". Where have I gone wrong?
var virtual = VirtualPathUtility.ToAbsolute(HttpContext.Current.Request.ApplicationPath);
var path =HttpContext.Current.Request.ApplicationPath;
In sql server how difficult would it be to determine what procedures/functions no longer compile? In other words, if I scripted out alter statements for all procedures and functions in a database, I'd like to know which of these statements are going to fail?
I've been working on cleaning up a database I've inherited which has gone through years of changes and I'd like to what objects are going to raise errors when something tries to execute it.