Hi
Using RubyMine 2.0.2 for the first time today, on Mac OSX Leopard. If I create files in the filesystem (with, say, script/generate) those new files do not appear in rubymine. I have had limited success with restarting the program, in that the files in the db/ folder are added and removed, but unfortunately new folders in the views directory…
Try the following code:
s = '#value#'
puts s.gsub('#value#', Regexp.escape('*')) # = '*'
puts s.gsub('#value#', Regexp.escape('+')) # = ''
Wtf? It looks like the char '\+' (returned by Regexp.escape) is completely ignored by gsub. How to fix this?
it happens when i change the DataSource.
i have checked everything(stack traces, all exception information, datasources, grids, all the threads, etc) i have also write lots of diagnostic code(+3000 line)
it seems to be a virus, it is going to destroy everything in my app.
all grids are going to have the very same error.(while i have not changed…
I get this message at runtime of ASP.NET 2 page :
The page 'MyFolder/blabla.aspx' cannot use the user control 'MyFolder/MyControl.ascx', because it is registered in web.config and lives in the same directory as the page.
Of course I can separate them to 2 different folders and thus solve the problem, but the question is :
WTF !?!?! Why I…
Is the web sill 100% stateless? Before you start to say "of course it is, wtf" listen to what I'm saying here.
I'm starting to wonder about this because web servers are definitely caching things, keeping connections open in connection pools, etc. So you can't really stay it's 100% stateless anymore.
Am I right on this?
Hey,
what i read on several help-pages, was, that getting jquery code completion to work, was just:
getting targeted browsers right (the
only one i choose was firefox 3.x or
later)
putting jquery file into project (it
is now visible in "source files")
adding the "script type"etc.-line (tried filename with and without / before )
Did…
We have observed some puzzling behavior from the CAs we have set up in both the past and present. For some reason unknown to us, it seems that our CAs are randomly issuing "Basic EFS" certificates to our users. This is evident through the "Issued Certificates" log on the CA. I personally set up a CA yesterday, and the instant that I…
I recently changed the default search engine to a custom google search URL (using baseUrl) with some additional parameters and removed all the rest of the search engines, and since then, the search predictions stopped working.
I even tried to reinstall Chrome but as soon as I resync, the problem is back!
Search predictions are just…
Does anyone know why tar is not including files named .__init__.py (note the dot)?
$ mkdir /tmp/work && cd /tmp/work
$ mkdir foo
$ touch foo/.__init__.py
$ touch foo/.namespace__init__.py
$ tar czf foo.tar.gz foo
$ mkdir e && mv foo.tar.gz e/ && cd e/
$ tar zxf foo.tar.gz
$ ls -al foo/
total 0
drwxr-xr-x 2…
I don't get it. WTF do people see in this? I'm trying to figure it out, but I can't. Have you seen what people post? Let's use Jeff Atwood as an example. What does he gain by posting (with disturbing frequency) all those, well... posts (I find the term "tweets" disgusting). What is a "follower" supposed to get from these…
I've installed ruby 1.9 from source, and tried installing gem 'bundler':
< gem install bundler
> /usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
> It seems your ruby installation is missing psych (for YAML output).
> To eliminate this warning, please install libyaml and reinstall your ruby.
>…
The network:
* A windows 7 PC with 2 NICs - one connected to an old style ethernet hub - the other to the internet - with internet sharing enabled
* An Apple iMac connected to the hub, successfully utilizing the ICS to access the internet.
My problem: Using the Mac, copying from the internet is fast. However, if I connect…
I'm coming from munin and a CPU graph contains data for system, user, nice, etc ALL on one graph. I just installed ganglia and setup the basic monitoring. It appears that each type of cpu data is a separate graph! WTF is this and can I change the defaults to combine these into a single per host?
That is my question, how do…
I have a Mirrored Dynamic disk on my Windows 2003 Server. How do you monitor the health of the volume?
Is there a way to have the server send an email when there is an issue with the volume?
Is there a way to have the server run S.M.A.R.T. tests?
EDIT:
Nothing says WTF like logging into a client server, running DISKPART…
I have a strange problem on Windows Vista (Automatic updates).
Long time ago I had installed Firefox, Thunderbird, Safari and Opera and they all worked well.
Once upon a time, after Windows restart, Firefox, Thunderbird and Safari won't start. [Opera (USB) works fine].
When I start the browser, program name is listed…
I have my programers remoting into a web server with windows rdp. This web server is the only machine that can access another mysql server in a secure zone. When I remote into the web server from my machine I am able to connect to the mysql server through the mysql workbench on the web server. However, when I try…
According to the screen manual (version 4.0.2.)
C-a x
C-a C-x (lockscreen) Lock this terminal.
C-a X (remove) Kill the current region.
But what actually happens when I use it (Screen version 4.00.03 (FAU) 23-Oct-06):
C-a X locks the terminal and asks me for the password. When I enter the…
I was just debugging a macro in MS Access, and when it hit the breakpoint ran a query and I copied the data from it to the clipboard. Some of the values were null before stepping to the next step, then I ran the next step which ran a query which changed the data I had on the clipboard. I then pasted the…
(Original title: "WTF is this thing called?")
I have a couple of networking components in my rack that take giant AC adapters ("power bricks") that don't fit neatly into my rackmount PDU.
I have one "thingy" that is shown below, and I need to buy a few more. But I have no idea what I'm searching for…
Ahhh! I am using Amazon S3 for some low price storage to clear down out SAN. I created the bucket and created a root folder. I set the storage class to standard and server side encryption AES.
I started a copy job to move the files, some files copied over and i checked the files:
Reduced Redundancy …
I am having problems starting my apache server, because port 443 is already in use.
It turns out, the system process (PID 4) uses the port 443. I don't have IIS installed, the services.msc shows (predicatbly) no Exchange server running, nor WWW-Services, nor IIS. I have no idea how to find out what…
I mean seriously. Let’s imagine for a moment that by some stroke of luck or genius or cosmic accident that you come to be the owner of sex.com. You’d think you had won the lottery. That would be like having a license to print money. I mean really. Sex is the most…
If you are doing any multi-threading and are using MSTest, you will probably run across this error. For some reason, MSTest by default runs in STA threading mode. WTF, Microsoft! Why so stuck in the old COM world? When I run the same test using NUnit, I don't have this problem.…
Today was really a new one. I got back from a week off and found our main production server's tempdb had gone from its usual 200MB to 36GB. Ironically I spent Friday at the most excellent SQLBits VI and one of the sessions I attended was Christian Bolton talking about tempdb issues -…