Hi,
Having written some network drivers , I m bit new to storage world.
I m hearing new terms like RAID,SATA,ATA,AHCI, etc., in this world.
Please throw some light and relation between them
Thx!
Hi,
As we know AWT classes uses native OS libraries for creating GUIs but Swing uses Java library itself for creating the GUI.Can anyone please give me an example of the Windows OS library corresponds to a AWT GUI ?
Thx
Hey. How can I get a total number of rows in a file (do not want to do it with loop). I'm reading CSV file.
Example 1
CSV.open('clients.csv', 'r')
Example 2
FasterCSV.foreach('clients.csv')
Thx.
How can I define, which filetypes should be work by the VisualAssit in Visual Studio 2010? I don't like, how this tool works with openCL and cuda files, therefore i would like to turn off it for thie file types (oherwise it highlights 1000 errors).
thx.
Hi all
i want to change javascript alert title header from displaying Internet Explorer to another name. is a way to do it?
i found this site in the net :
http://bytes.com/topic/javascript/answers/148721-change-title-bar-javascript-alert-box
it seems no silution to it.
http://stackoverflow.com/questions/1905289/how-to-edit-a-javascript-alert-box-title
is it true there are no other way??
thx all.
Hi,
I'm sure I'm not the only one who finds it a bit annoying when scanning say Events in Intellisense and having to wade thru all the Properties etc as well. Is there a way/plugin or something to allow the selection of only Events, only Properties etc?
That would really be a big plus!
Thx in advance for any help.
Hi,
Is there an easy way to have the complete code in a lstlisting environment underlined?
My current solution looks like this, but I'm not really happy with it.
\begin{lstlisting}[mathescape]
$\ul{if(gt(x1, 0)) then} $
...
\end{lstlisting}
Thx for any tips.
Hi,
What is Python's equivalent of "public static void main(String[] args) { ... }"? I remember having used it in the past and then forgot.
What I'm basically trying to remember is a function which I think included some underscores (__)...
thx
Hey, Guys
As I have a DataGrid as another DataGrid's RowDetailsTemplate, I've got a strage effekt. If I Change selection in my inner DataGrid, the SelectionChanged-Method in the outer Grid is automatically caled, too. I don't know why, but I would like to know, what I can do against this.
Thx
I need to use C# to get data from database(sql) and the data in database is updated every few seconds. So do I have to make a loop or there is a better way to do that? Is it possible that when database is updating, the program can wait until it finishes updating? thx!
Maybe the question is not self-explanatory, so I will explain it through.
The deal is: I got the variable $conn in the bootstrap class file. I'd like to make it global for every controller so that I just have to call $this-conn in the controller action scope in order to access the data inside. How would I do it?
Thx
Is there a way for a unix socket listener to only accept connection from certain user (chmod/chown does not work for abstract socket afaik), or in another word, get the uid of the incoming connection (on Linux)?
Dbus, which uses abstract unix socket on Linux, has a function GetConnectionUnixUser which is used by polkit to determine the caller. So I suppose the dbus-daemon must have a way to do that. Does anyone know how that works?
THX
Hi Folks,
This is the first time I use mod_rewrite and I can't get it to work. I have a website with bands and their IDs. What I want:
a URL /bands/My_Band_id13/ should redirect to /bands/index.php?bandname=My_Band&bandID=13
What I have:
RewriteRule ^/bands/(.*)_id(.*)/$ /bands/index.php?bandname=$1&bandID=$2
What am I doing wrong?
THx,
Maenny
Hi there
I've put some of my free time on reading/learning about cakephp but now I'm wondering if will not be better to switch completely to ruby on rails.
Can you give me the good and the bad of those tools, when is about web-development?
many thx
Is it possible to host 2 asp.net projects off one ip address? I don't have a domain name just an ip number. I'm running IIS7.
The first project runs and displays fine over the web by simply typing in the ip address into the browser but I'm having trouble accessing the second.
Currently both projects have virtual directories in IIS7.
Help is greatly appreciated.
Thx
I'm new to CE programming and I have a Marvel device PXA270 with Windows CE 5.0 installed. The device has one usb port.
I wonder if there's ANYTHING I can try to connect a 3G-HDSPA usb stick to it. When plugged it only recognises its folders as a pendrive would do, but no Internet.
Thx.
Is there a way to pre-populate a user's documents list with server-generated log files? A way to offer any files at a given path? Is this a job for plugins or native to some settings config?
thx
hi all. I have the following query which I would like to write using the criteria api of NH.
select status, count(1) from (select distinct Status, post_id from post_statistics) tbl group by status
each post_id can exist multiple times in post_statistics
e.g.
id post_id status
1 1 open
1 1 edit
1 1 open
1 2 open
so the query should return the following results:
status count
open 2
edit 1
thx in advance.
I am doing some input/output between a c++ and a python program (only floating point values) python has a nice feature of converting floating point values to hex-numbers and back as you can see in this link:
http://docs.python.org/library/stdtypes.html#additional-methods-on-float
Is there an easy way in C++ to to something similar? and convert the python output back to C++ double/float? This way I would not have the problem of rounding errors when exchanging data between the two processes...
thx for the answers!
Hi all, I'm studying how to use caching in Heroku for my Rails app. HTTP cache powered by Varnish is superb and I'll use it in all pages without user info but I also want to use a kind of ActiveRecord caching with Memcached using "high livel" plugins such as cache_fu or cache-money...but it seems that Heroku supports only the memcached gem (http://docs.heroku.com/memcache) and it's a very low level Memcachad API...
Do you have any other solutions?
Thx.
I have 2 EditText01 and 02. My button will be disable once the activity is started. And when these two EditText box got text inside, the button have to be enabled back. However my button is always disable and can't enable back using, button.setEnabled(false);.
Can anyone help me with this? Thx... :)
I am a total newbie in the Python world.
I want to start to experiment with Python and IronPython and compare the results.
Is it possible to install Python and IronPython on the same machine with interfering each other or is it besser to this in the virtual machine.
Thx in advance.
I got this error and dont know what could be the cause. Any idea?
Problem at line 2127 character 18: Bad for in variable 'sport'.
for (sport in sugested_sports)
thx alot.