For one of my classes I need to write several prolog programs. Can someone suggest a mac friendly prolog compiler? I tried gnu prolog but when it doesn't work for me.
I'm trying to find out why my application is very slow on a certain machine (runs fine everywhere else).
I think i have traced the performance-problems to hard-disk reads and writes and i think it's simply the very slow disk.
What tool could i use to measure hd read and write performance under Windows 2003 in a non-destructive way (the partitions on the drives have to remain intact)?
Hello,
Windows Server 2008 , Server Manager- File Services-Share and Storage Management-File Server Resource Manager Right click - Configure options- Email Notifications tab
I have already configured what I need but when I write for example smpt.google.com
in the log it writes UNABLE TO CONNECT TO THE REMOTE SERVER
I have been through this article http://support.microsoft.com/kb/947057
Please help me..
maybe this is a firewall problem?
In an application, are there multiple permissions that acess internet? Could only part of an application be denied a certain permission, such as internet?
Could only the part of the application that is spyware be denied internet permissions, Such as through modifying the files that connect to the internet?
spyware
X no internet acess
(internet) (read) (write) (sound or harware)
| permission 1 | permission 2 | permission 3 | permission 4 |
I need to write a rewrite rule for Nginx so that if a user tries to go to an old image url:
/images/path/to/image.png
and the file doesnt exist, try to redirect to:
/website_images/path/to/image.png
ONLY if the image exists in the new URL, otherwise continue with the 404. The version of Nginx on our host doesn't have try_files yet.
In my WinXP I write a bat file to start the putty which is connected to my linux for development.
D:\PuTTY-v0.60\putty.exe [email protected] -pw 123456
But I have to set the charset to utf-8 manually everytime when I do the login.I think it's quite a waste of time.So how can I do the setting more quickly?Thanks.
I search online for the solution, but nothing :(.
I write this simple rule
RewriteRule ^(.*)$ http://www.mysite.com/$1 [P,NE,QSA,L]
In mysite.it i have an .htaccess with this rule and it's ok, but if i have a link
"http://www.mysite.it/public/file name.html"
the server point to "http://www.mysite.it/public/file"
I try many solution but i can't solve.
I try this and many shades of...
RewriteRule ^(.*)(%20)(.*)$ "http://www.mysite.com/$1$3" [P,NE,QSA,L]
Thanks!
I'm running Adobe AIR 1.5.2 (latest) on Windows 7 (64-bit RTM) and downloaded TweetDeck 0.31.1 (latest). When I run TweetDeck I get the following errors:
Ooops, TweetDeck can't find your data
and
Sorry, Adobe AIR has a problem running on this computer
Other AIR applications install and run fine. I've uninstalled both TweetDeck and AIR and reinstalled. Following the uninstalls I've also removed all on-disk references to both TweetDeck and AIR, but no luck.
UPDATE: Using Process Monitor I did a trace of Tweetdeck from the moment it launched until the first error occurred. I saw the following information in the output of the trace:
1 5:22:18.6522338 PM TweetDeck.exe 5580
CreateFile
D:\ProgramData\Microsoft\Windows\Start Menu\Programs\rs\??\d:\Use\myusername\AppData\Roaming\Adobe\AIR\ELS\TweetDeckFast.F9107117265DB7542C1A806C8DB837742CE14C21.1\PrivateEncryptedDatak
NAME INVALID
Desired Access: Generic Write, Read Attributes, Disposition: OverwriteIf,
Options: Synchronous IO Non-Alert, Non-Directory File,
Attributes: N,
ShareMode: Read, Write,
AllocationSize: 0
In this trace output, Tweetdeck.exe is trying to create the file
D:\ProgramData\Microsoft\Windows\Start Menu\Programs\rs\??\d:\Use\myusername\AppData\Roaming\Adobe\AIR\ELS\TweetDeckFast.F9107117265DB7542C1A806C8DB837742CE14C21.1\PrivateEncryptedDatak
but the path specified is invalid. When looking at the path you can see that it is indeed an invalid path. First, there’s the “??” portion which doesn’t exist in the file system since the “?” is an invalid character in Windows/NTFS file systems. Additionally, looking at this path, it actually seems to be composed of two parts (is the "??" a delimiter?):
Part 1: D:\ProgramData\Microsoft\Windows\Start Menu\Programs\rs\??
Part 2: d:\Use\myusername\AppData\Roaming\Adobe\AIR\ELS
\TweetDeckFast.F9107117265DB7542C1A806C8DB837742CE14C21.1\PrivateEncryptedDatak
(the problem here is that d:\Use... doesn’t even exist.
What seems to be happening here is that Tweetdeck is looking for the user credentials (the “PrivateEncryptedDatak” file) but it’s looking in the wrong place, can’t find the file, and hence the error that Tweetdeck is giving (shown in the screenshot).
I'm trying to determine how TweetDeck is getting this path. I searched the contents of all files on my hard disk hoping to find some TweetDeck or Adobe AIR configuration file containing this incorrect path, but I was unable to find anything.
UPDATE: See Carl's comment regarding directory junctions and symbolic links under my accepted answer. This ended up being the problem.
Edit by Gnoupi: People, the answer section is there to provide an actual ANSWER, not to say you have the same issue. It doesn't help anyone that you have the same problem. Eventually, if you think this is really worth mentioning, put it as a comment under the question.
But simply, if what you want to add is not an answer to the question, then don't post it as an answer. This is not a forum, I recommend new users to read the FAQ: http://superuser.com/faq
In previous versions of Outlook it was possbile to write some VBA and assign a shortcut to do this. I can't see how to do this in 2007, if indeed it is possbile.
Note - the following thread is relevant but only for earlier versions
http://superuser.com/questions/92688/outlook-keyboard-shortcut-to-move-message-to-a-different-folder
Hi everyone,
I am about to setup a home network server running Ubuntu Server and I'm currently a bit worried about how to handle network shares and permissions in a good way.
After working a bit lately with Netgears ReadyNAS's units, I have become really spoiled with how easy it was to set up network shares and giving a specific user different levels of network access to a specific share (forbidden access, read, read/write).
How would I accomplish the same with my Ubuntu server through SSH?
Thanks a lot
Pretty much the entire question is in the title. I've got a powershell script watching a directory for processing, so I'd prefer that the file didn't appear until the upload was complete...presumably FileZilla would write the file to a temp directory until it was complete.
TIA.
I want to run script when my mac is idle (for example after 5 minutes or screen saver start time is also ok) and when I resume it from idle state.
I know that I can write daemon using NSDistributedNotificationCenter and com.apple.screenIsLocked and com.apple.screenIsUnlocked, but I hope that there is already solution without creating new daemon.
I need this to for example turn on/off speed limit for Transmission (as it is sometimes hard to work when hashing/downloading on full speed).
Hopefully this is programming related.
Many people have reported that the NTFS-3G driver works perfectly for writing to NTFS drives without any problems.
If NTFS has been successfully reverse engineered to a useful degree, then why is the kernel driver still only read-only, with write support being very dangerous.....just as it was 5 years agi?
Hi,
I am having the following problem.
I am running a Windows NT server.
I need to monitor the server utilization continuously (automated process) and need to know if the server load is high. And if it high I need to trigger a scheduled task.
Can we write a VB script in order to do this?
Can someone please help me?
Kindly let me know in case you require more info on this
Thanks
1.i can't understand why Linux on flash card need install, does it simply copy certain file to certain location in flash card?
---i mean ,plan it in a response file,then one program read the plan in response file and write certain format to flash card.
2.does the file system bind tightly to the linux kernel? is it possible let each kernel,user,app have its own root? rather than mount everything under one single / "root"
I'm looking for a command line interface program that gives me the ability to write formatted text easily interoperable with MS Word and OpenOffice.
I figured RTF would be the common ground. An example of what I was hoping for would be:
[Heading 1]
Hello Heading
[Paragraph Style 1]
My name is hello world, I'm awesome.
Older versions of Excel had a icon that would expand the selection to include any non-empty cells in all directions. It was an X shape with four arrowheads. You can still write VBA code to do this, but I really miss this tool. Did they just drop it from Excel 2007?
In older versions you had to go get it from the Customize menu because it wasn't on any toolbar by default.
I am trying to write a hotkey to minimize the current window.
My current attempt is below and it does nothing. I can't see how to make commands like WinMinimize act on the currently acitve window.
<^>!z::
WinMinimize,
return
I'm fairly new to appliances but have become a big fan of virtualization. Are there any other resources where I can find and download virtual appliances outside of vmware's website? Or do I just need to scour the web looking them? I'm sure there is a central site that lists all the virtual appliances available, if there isn't I'm going to write one.
This is so embarrassing. I'm usually really good at figuring out software, especially iPhone apps. Heck, I write software myself! But for the life of me I cannot find a place in Tweetie 2 to post a picture to TwitPic. I assume there is a way to do this, can anyone provide step-by-step directions for me?
I tried to look for benchmark on the performances of various filesystems with MySQL InnoDB but couldn't find any.
My database workload is the typical web-based OLTP, about 90% read, 10% write. Random IO.
Among popular filesystems such as ext3, ext4, xfs, jfs, Reiserfs, Reiser4, etc. which one do you think is the best for MySQL?
RAM is just used for temporary storage. But since this storage is in the cpu memory (RAM) it is fast. Programs can easily read/write values into it. I've noticed more the RAM less time it takes for the application to load/execute. But doesn't this actually depend of the processor speed (MHz or GHz values). I am wondering what is the science/relationship between processor speed and RAM.
I have been banging my head on this for a long time now. There are many discussions on the net about this and similar problems, but none of the solutions seems to work for me.
I have a Debian server with two ethernet network interfaces. One of them is connected to internet, while the other is connected to my LAN.
The LAN network is 10.11.100.0 (netmask 255.255.255.0).
We have some custom hardware that use network 10.4.1.0 (netmask 255.255.255.0) and we can't change that. But we need all hosts on 10.11.100.0 to be able to connect to devices on 10.4.1.0. So I added an alias for the LAN network interface so that the Debian server acts as a gateway between 10.11.100.0 and 10.4.1.0.
But then the dhcp server stopped working.
The log says:
No subnet declaration for eth1:0 (no IPv4 addresses).
** Ignoring requests on eth1:0. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth1:1 is attached. **
No subnet declaration for eth1:1 (no IPv4 addresses).
** Ignoring requests on eth1:1. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth1:1 is attached. **
I had another server before, also running Debian but with the older dhcp3 server, and it worked without any problems. I've tried everything I can think of in dhcpd.conf etc, and I've also compared with the working configuration in the old server.
The dhcp server need only handle devices on 10.11.100.0.
Any hints?
Here's all relevant config files:
/etc/default/isc-dhcp-server
INTERFACES="eth1"
/etc/network/interfaces
(I've left out eth0, that connects to the Internet, since there is no problem with that.)
auto eth1:0
iface eth1:0 inet static
address 10.11.100.202
netmask 255.255.255.0
auto eth1:1
iface eth1:1 inet static
address 10.4.1.248
netmask 255.255.255.0
/etc/dhcp/dhcpd.conf
ddns-update-style none;
option domain-name "???.com";
option domain-name-servers ?.?.?.?;
default-lease-time 86400;
max-lease-time 604800;
authorative;
subnet 10.11.100.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
pool {
range 10.11.100.50 10.11.100.99;
}
option routers 10.11.100.102;
}
I have tried to add shared-network etc, but didn't manage to get that to work. I get the same error message no matter what...
I am trying to write an IF formula for an order form where a discount is applied depending on the amount of units ordered.....
The discounts are:
0 to 24 units - 0 discount
24 to 59 units – 5% discount
60 to 95 units – 10% discount
96 to 131 units – 15% discount
132 to 263 units – 20% discount
264+ units - 30% discount
the cell that i am taking the total from is J1028. I have no idea how to do IF formula's so desperately need some help.
Thanks
Possible Duplicate:
Alternatives to Splunk?
This has been discussed, but it has been several months, so it may be time to revisit it:
Earlier discussion RE Splunk alternatives
For the record, Splunk rocks. But the pricing is simply beyond what we can consider (When I spoke with Splunk today, the cost for a system to index 5gb/day of data is over $30,000.)
That is more than we spend on SQL Server (by a large multiple), more than we spend on a rack of servers (by a multiple), etc. etc.
The splunk sales team is correct (that for $30K we get more value and functionality than if we spend the same building our own system), but it doesn't matter. The splunk cost is simply too high (by a multiple).
Soooooo, we are looking around!
Is anyone out there building a splunk like system?
Our basic need:
Able to listen for syslog messages on multiple udp ports
Able to index the incoming data in an async way
Some kind of search engine
Some kind of UI
An API to the search engine (to embed in our console)
We currently need to index 3-5gb/day, but need to be able to scale to 10gb/day or more. We do not need a lot of history (30 days is fine).
We use Windows 2008 and 2003 servers.
Thanks for your thoughts!
UPDATE: We spent two weeks researching commercial and open source options. Our conclusion: Write our own (we are a software company... we know how to write things). We built a great system built on mongodb and .NET that gives us the functions we needed from MongoDB in about one engineering week. We have now completed our implementation. We use two Mongodb servers (master and slave), and are able to log and index any amount of log data (5gb/day, 15gb/day, etc), limited only by disk space.
OBSERVATIONS: This space needs a solid solution that is $1000-3000 flat rate. The licensing models used by the commercial firms are based on a "milk the data center ops guys" models. That is their right (of course!), but it leaves a HUGE space open for someone to come in underneath them. My guess is that in another year or two there will be a good open source solution that will be really usable.
Thank you all for your input (even if it was self promotion).