-
as seen on Super User
- Search for 'Super User'
Greetings,
I am running PSPad (a Windows programming editor) on OSX/Snow Leopard using Wine 1.1.35
I want to associate various file extensions (.php, .js, .html) with PSPad.exe
OSX Finder does not allow this association -- I can only associate file types with $.app items in Applications.
How do…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a web endpoint that displays an image of a string... When the following code is run (in tomcat) it spawns a java icon in the taskbar on OSX. Not sure if it is a problem, or whats going on. Looking for some sort of explination
@RequestMapping("/text/{text}")
public void textImage(HttpServletResponse…
>>> More
-
as seen on Super User
- Search for 'Super User'
I have a FAT32 partition on my HDD. When using OSX, it is mounted to /Volumes/MEDIA. After a recent upgrade to Mavericks, spotlight is having trouble indexing it, eating up almost all of my system resources, and I cannot get the indexing to stop:
[jay-mba-osx ~]% sudo mdutil -v -a -i off
/:
Indexing…
>>> More
-
as seen on Super User
- Search for 'Super User'
Hi,
I've run into some problems with how I've got user home directories set up on our system here.
Our server is an XServe, using Open Directory to manage the user accounts.
The majority of our workstations are OSX, but there are a few running Linux (Centos 5.3), and, as time goes on, we expect…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to connect to a webserver that's running on my mac OSX 1.6. I'm able to connect to it locally using http://127.0.0.1:8888/myapp but when I attempt to connect to it using my machine's local IP address (http://192.168.1.15:8888/myapp IP shown below) from the same machine (or another on the…
>>> More
-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
I am having trouble accessing the several critical header files that show to be a part of the build process.
The "Ubuntu Software Center" shows "Build Essentials" as installed:
Next I did the following two commands, which did not improve the problem:
~$ sudo apt-get install build-essential
[sudo]…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
What is the correct pattern for doing an atomic "UPSERT" (UPDATE where exists, INSERT otherwise) in SQL Server 2005?
I see a lot of code on SO (e.g. see http://stackoverflow.com/questions/639854/tsql-check-if-a-row-exists-otherwise-insert) with the following two-part pattern:
UPDATE ...
FROM ..…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I want to verify that my understanding is correct. This kind of thing is tricky so I'm almost sure I am missing something. I have a program consisting of a real-time thread and a non-real-time thread. I want the non-RT thread to be able to swap a pointer to memory that is used by the RT thread…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Are the "modify" operators like +=, |=, &= etc atomic?
I know ++ is atomic (if you perform x++; in two different threads "simultaneously", you will always end up with x increased by 2, as opposed to x=x+1 with optimization switched off.)
What I wonder is whether variable |= constant, and the…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
From what I've read from Herb Sutter and others you would think that volatile and concurrent programming were completely orthogonal concepts, at least as far as C/C++ are concerned.
However, in GCC c++0x extension all of std::atomic's member functions have the volatile qualifier. The same is true…
>>> More