Hello everyone,
i have one problem when i sort the NSMutablearray using date and time wise.
Does anyone have idea how can i sorted array date and time wise
Thanks in advance
I want to compare UTC timestamps from a log file with local timestamps. When creating the local datetime object, I use something like:
>>> local_time=datetime.datetime(2010, 4, 27, 12, 0, 0, 0,
tzinfo=pytz.timezone('Israel'))
I want to find an automatic tool that would replace thetzinfo=pytz.timezone('Israel') with the current local time zone.
Any ideas?
Our ESXi hosts have always been slow booting when it came to iscsi_vmk loaded successfully - sitting here for almost 5 minutes.
In all a full server reboot takes almost 12 minutes.
We have 9 iSCSI targets per host (5 SANs with redundant interfaces) configured as dynamic discovery targets.
Has anyone experienced this? Can it be remedied with static discovery mode?
Are there any debug steps we can work through to help diagnose this?
(All our targets are accessible at boot so i'm assuming the host isn't stuck retrying to connect to a target)
Suppose some user logged in to VSS for long time but VSS admin need to log off those user who is not using VSS for certain periode of time(such as 15 minutes).How to do it?
I've clicked through on a few forums but unable to find a suggestion for this issue. I have a user with a HP laptop which will boot perfectly fine whilst connected to the network but at home it will take 4 minutes to log on.
Some suggestions I have had is that its looking for the DNS server of the domain. Another was that it was suggested it was a roaming profile (it isn't).
So hoping someone has encountered Windows 7 acting like this and has some suggestions. The other users on this domain don't have the issue and its a mix of XP and Win 7 client PCs.
I am building an ASP.NET Web User Control which has a panel within it.
How do I make the Panel within the user control resizable (i.e. with handles) at design time in Visual Studio.
I need to create a design class or something??
Thanks.
Although my machine resumes from sleep very quickly, the network access takes quite a few seconds. Why should this be?
I have specified fixed IPs, hardcoded the DNS and gateway settings.
Any clues as to how i can speed this up?
Currently, I have a media PC running Ubuntu 10.04 that I am trying to connect via a wired network cable directly to a NAS box, and wirelessly to the router.
This works no problem after I run sudo /etc/init.d/networking restart but I can't get both interfaces to come up on system startup.
My /etc/network/interfaces file reads as follows:
auto eth0
iface eth0 inet static
address 10.0.1.2
netmask 255.255.254.0
broadcast 10.0.1.255
network 10.0.1.0
auto wlan2
iface wlan2 inet dhcp
As I say, I know this works, because I can get it to work by restarting the network interfaces, but I can't bring them both up on system startup. Does anyone know why this might be?
i have a table where i want to track time so a valid entry might be:
1 hour 3 mins
47 mins
10 hours
3 mins 14 seconds
what field type is best used for this. i obviously could use varchar . .but i thought there might be something better as i would like to run queries to total the amount of time over a number of records.
Does the RTOS play a major role or processor play a major role in determining the time for context switch ? What is the percentage of share between these two major players in determining the context switch time .
Can anyone tell with respect to uC/OS-II RTOS ?
This is a most weird issue.
I have a couple of exchange OST mailboxes, and just for security, I am exporting them using File / Import / Export to a file / Export to PST file. If I run the export consecutively, it always creates files with different file sizes, WITH NO ERROR OR WARNING that something went wrong. The files should be of the same size as you run it right after the previous backup finished.
I found out that if the filesize is substantially lower, then a reboot and back up can fix this up.
What's your insight into this problem? What could cause that the files have different sizes and what could have caused that there is no warning?
I suspected some Windows Search issue as sometimes the backup fails with a dialog error stating that Windows Search terminated the export.
I've got 2 pcs setup with WLAN - however when I copy files between the machines it takes forever (obviously, since I run 801.11g).
So I thought, why not just connect them directly with a cable (my wireless router is the other end of the house, that's why I don't use cables to that)
However how should I configure the LAN connection on each machine, so I can use it for transferring files between them, whilst using my WLAN to access the Internet ?
I was thinking about letting one machine be gateway, but then Windows pops up with a lot of warnings (basically it says this won't work when you're using two disjoint networks)
And now I'm at a loss as to what to try.
I have strange problem on my HP laptop. This began to happen recently. Whenever I start my machine, Windows 7 Action Center displays the following warning:
You need to restart your computer for
UAC to be turned off.
I never disable UAC, but obviously some process or virus (I'm not sure, only guessing) causes this. As soon as I get this warning, I head for the UAC settings, and re-enable UAC to dismiss this warning. This is a bothersome situation as I really don't know what causes the problem.
I have run a full scan on the computer for any probable virus activity, but TrendMicro OfficeScan said that no viruses have been found. There are no other strange incidents on the machine. Everthing works fine except this bizarre incident.
How can I learn what process is trying to turn off UAC? What way should I follow to overcome this problem?
I'm using HylaFax on one of my server to send facsimile to different devices which works pretty well except for one device. I'm not sure, but the problem might be, that the remote device takes to long to pick up and response to the call. I tested it by calling the fax number with my phone and it took 30 seconds till the remote side picked up.
So is there a way to tell HylaFax how long it should wait for the remote device to answer?
I'm building a site with wordpress, and when I use the date() function on an otherwise empty file, it shows the right date. However, if I use it in a file that includes other wordpress files, the time is displayed as GMT time, so the date is off.
If anyone can figure out how I can use date function without interruption from the wordpress methods, I'd appreciated it.
Dupe of calculate playing time of a .mp3 file
im reading a audio file(for ex:wav,mp3 etc) and get a
long value as duration.now i want to convert that long value
into correct time duration(like,00:05:32)
A VB6 app is experiencing a run-time errors at a variety of places.
I know this is the result of poor error handling, but is it possible to analyse the code to see where it is susceptible to run-time errors?
Hi,
I am writing a small app to automatically connect my PC to the internet at a certain time..
I am using rasdial.exe for it...
Private Sub SetIt_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim windir As String = Environment.GetEnvironmentVariable("WINDIR")
Shell(windir & "\system32\rasdial.exe", AppWinStyle.NormalNoFocus)
End Sub
My question is how to make the shell function run at a specified time or after a certain interval??
Regards,
Shardul
I want to define a time attendance system for government, and right now I am preparing a system requirement document, can someone give me some advices about what features/functions should I include in the system ?
I have a project written in C and I would like to know if there is a simple way to get its execution time and memory usage under Windows.
Thanks in advance.
Is one aware of a date parsing function for c. I am looking for something like:
time = parse_time("9/10/2009");
printf("%d\n", time->date);
time2 = parse_time("Monday September 10th 2009")
time2 = parse_time("Monday September 10th 2009 12:30 AM")
Thank you
What types of programmers tend to be attracted to full-time positions and what types are drawn to contract positions?
Which type are you, and have you swapped between one to another?
Does there come a time in a programmer's life when he/she typically switches from one to another?
Do you find one more challenging than the other?
Can any one tell me how many processes were loaded in win 3.1x on startup? (system tasks)...
Just couldn't find it anywere..i guess it is too long ago for the internet :-)
10x
I have a simple query that does select * from t limit 1; on a remote mysql server.
I use squirrel(mysql client) to run it, it shows:
Query 1 of 1 elapsed time (seconds) - Total: 22.047, SQL query: 1.047, Building output: 21
why does building output take such a long time? what does this process do? when running from mysql command line, the whole process takes 0.3 secs (also remotely)