When I switch between buffers in vim with ":bn" and ":bp", my status line shows the following handy information:
"foo.txt" 43 lines --88%-- ((1) of 3) 38,1 All
(I think it's "set showmode" that enables that.)
But that "(1)" is always literally "(1)" -- it doesn't change as I change buffers. (The parens a...
I am doing a tutorial and getting this error: Fatal error: Class 'MySQLi' not found (LONG URL) on line 8
the code on line 8 is:
$mysqli = new MySQLi($db_server, $db_user, $db_pass, $db_name) or die(mysqli_error());
I saw online someone said to to see if it was turned on in my Phpinfo() but there wasn't anything listed in there under f...
I'm getting a confusing error from rsync and the initial things I'm finding from web searches (as well as all the usual chmod'ing) are not solving it:
rsync: failed to set times on "/foo/bar": Operation not permitted (1)
rsync error: some files could not be transferred (code 23)
at /SourceCache/rsync/rsync-35.2/rsync/main.c(992) [sen...
If I have run a long line in IPython, and try and recall it (using the up-arrow) or backspace beyond the start of the current line, it displays incorrectly (all smushed into one line)
For example, in the following session I wrote a long line [1], entered a somewhat-blank line [2], then up-arrowed twice to get the print statement on line...
So, I am trying to learn how to use (and extend) Groovy, and I am following the example from this page. Basically, it shows how to define an annotation for Groovy code that lets you hook in to the compiler process. The example revolves around writing and annotation that will cause lines to be printed before and after method calls.
My c...
C# .NET 2.0 if that turns out to be applicable.
I'm going to start to get to the bottom of why a web service we have is acting slow - this web service jumps over a proxy, into another domain, queries a stored procedure for some data, and then returns a int/string/dataset, depending on what I asked for. I just wrote a console app that qu...
Hello again,
I have built the site: www.bgarchitect.co.nz which was as much a learning experience in jQuery and CSS/xHTML but is also a real project and as such should work in most browsers (IE6 is still a problem but IE7 should really not have an issue here).
Something that bugs me terribly is getting this error:
which only happens...
I am not an expert in PHP, still learning it. I'd like some hints on how to troubleshoot problems.
Recently I installed PHP 5.2.9 on Vista+IIS7 (phpIsapi). I ran a script that did an opendir()/readdir(). This script ran just fine on 5.2.0. On v5.2.9, it failed but I got no indication of the source of the problem.
I banged aroun...
When the SQL Server (2000/2005/2008) is running sluggish, what is the first command that you run to see where the problem is?
The purpose of this question is that, when all the answer is compiled, other users can benefit by running your command of choice to segregate where the problem might be.
There are other troubleshooting posts rega...
The issue was reported as a bug to the VS team here
but was closed as not reproducible since the original poster didn't reply I guess. I added my validation to the case, but I still can't find a workaround to fix this.
Issue: Just started today, all references to any assembly outside of the solution fails to resolve, with "The referenc...
I am attempting to troubleshoot some issues on machines that I don't have access to. The problems are very intermittent and impossible to reproduce locally. I am thinking of asking them to install WinDbg so they can generate a stacktrace/dump of the process. Is this the best way? What approach have you used to get to the bottom of a prob...
$ mkdir foo
$ cd foo
$ hg init .
$ hg log
abort: Is a directory
$ hg history
abort: Is a directory
Darwin Host.local 9.6.1 Darwin Kernel Version 9.6.1: Wed Dec 10 10:38:33 PST 2008; root:xnu-1228.9.75~3/RELEASE_I386 i386
$ hg --version
Mercurial Distributed SCM (version 1.2.1)
$ python --version
Python 2.5.4
(all installed via macpo...
Why is the following happening, and how can I sort it?
On OS X Leopard (v10.5.6):
$ ./script/server
Rails requires RubyGems >= 1.3.1 (you have 1.2.0). Please `gem update --system` and try again.
$ sudo gem update --system
Updating RubyGems
Nothing to update
...
As a followup to this question and after reading Rob Mensching's blog post that was referred to from this answer, it seems the way I'm trying to do it with msizap is a bad idea and I'm seeing some problems with it in testing.
In his post under what he'd do differently, he said:
With the data build a solution. I
expect that a new M...
For frequent network troubleshooting purposes, do you know a publicly pingable host with an easy to remember IP address (such as 1.2.3.4)?
...
I have a .Net 3.5 App using a SQL Server Express 2005 database that allows connections over TCP/IP. The computer that has the SQL Server installed is part of a domain. The program is installed on 3 computers and share the same database. The connection string is in a file that is shared among all the computers. SQL Server is installed on ...
We're serving our source code using VisualSVN running on Windows Server 2003. Recently, we split a portion of a project into a new project in it's own repository, and then linked it back to the original project using svn:externals. Since then, we've been having issues when we try to commit files with Subclipse.
The error we're getting i...
This code generates "AttributeError: 'Popen' object has no attribute 'fileno'" when run with Python 2.5.1
Code:
def get_blame(filename):
proc = []
proc.append(Popen(['svn', 'blame', shellquote(filename)], stdout=PIPE))
proc.append(Popen(['tr', '-s', r"'\040'"], stdin=proc[-1]), stdout=PIPE)
proc.append(Popen(['tr', r"...
I am a neophyte at Weblogic troubleshooting.
We have an issue on our production environment. I cannot access the ennvironment directly (our hosting people will do that, but it's some hours until I can ask them things).
I have a thread dump from the time the issue was evident on production. I can look through the dump and deduce some th...
VS2008 shuts down right after converting any VS2005 solution.
The solution icon is changed from 8 to 9 but if I try to open the solution it tries to convert it again and then it shuts down (and so forth).
Anyone seen this? Is a re-install the only way to go here?
...