qid int64 4 22.2M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
391,969 | <p>I really like how Consolas looks with ClearType enabled but unfortunately it makes everything else look terrible. Is there any way to enable this on a per app basis? I noticed that putty (the terminal emulator) has options for ClearType separate from the display setting.</p>
| [
{
"answer_id": 392346,
"author": "Mark Heath",
"author_id": 7532,
"author_profile": "https://Stackoverflow.com/users/7532",
"pm_score": 4,
"selected": true,
"text": "INotifyPropertyChanged"
},
{
"answer_id": 392573,
"author": "smaclell",
"author_id": 22914,
"author_pr... | 2008/12/24 | [
"https://Stackoverflow.com/questions/391969",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/327/"
] |
391,979 | <p>I need to somehow retrieve the client's IP address using JavaScript; no server side code, not even SSI.</p>
<p>However, I'm not against using a free 3rd party script/service.</p>
| [
{
"answer_id": 410887,
"author": "Cyril Gupta",
"author_id": 33052,
"author_profile": "https://Stackoverflow.com/users/33052",
"pm_score": 4,
"selected": false,
"text": "<div style=\"display:none;visibility:hidden\" id=\"uip\"><%= Request.UserHostAddress %></div>\n"
},
{
"answer_... | 2008/12/24 | [
"https://Stackoverflow.com/questions/391979",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1965/"
] |
391,989 | <p>To the best of my knowledge, creating a dynamic Java proxy requires that one have an interface to work against for the proxy. Yet, Hibernate seems to manage its dynamic proxy generation without requiring that one write interfaces for entity classes. How does it do this? The only clue from the Hibernate documentation... | [
{
"answer_id": 3383772,
"author": "Maciek Kreft",
"author_id": 203459,
"author_profile": "https://Stackoverflow.com/users/203459",
"pm_score": 2,
"selected": false,
"text": "hibernate.properties"
}
] | 2008/12/24 | [
"https://Stackoverflow.com/questions/391989",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/390636/"
] |
391,991 | <p>Well I am almost done finalizing the auditing portion of my application that I discussed <a href="https://stackoverflow.com/questions/390567/form-level-event-for-when-data-is-changed-on-a-msaccess-form">here</a>. The way I am doing it is looping through all text fields, drop down boxes and checkboxes and storing th... | [
{
"answer_id": 496853,
"author": "BIBD",
"author_id": 685,
"author_profile": "https://Stackoverflow.com/users/685",
"pm_score": 0,
"selected": false,
"text": "Dim db As DAO.Database 'Inside the transaction.\nSet db = CurrentDB\nstrSQL = \"INSERT INTO changesTable (change_time, user_af... | 2008/12/24 | [
"https://Stackoverflow.com/questions/391991",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/428190/"
] |
392,001 | <p>Does anyone know of a program, a utility, or some programmatic library, preferably for Linux, that takes an unformatted SQL string and pretty prints it?</p>
<p>For example I would like the following</p>
<pre><code>select * from users where name = 'Paul'
</code></pre>
<p>be changed to something like this</p>
<pre... | [
{
"answer_id": 18322855,
"author": "Wayne Walker",
"author_id": 448831,
"author_profile": "https://Stackoverflow.com/users/448831",
"pm_score": 4,
"selected": false,
"text": "☺ [wwalker@speedy:~] \n$ echo \"select f1, f2, fname, lName from tblName where f1 = true and fname is not null o... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392001",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3045/"
] |
392,011 | <p>We use MS Access as a front-end to Oracle tables, via ODBC, and it has been working well.
But we're trying to use the DEFAULT constraint in an Oracle table. When we open the linked table in Access, we see existing data just fine, but when we try to add a row, without keying any value into column(s) that have an Ora... | [
{
"answer_id": 392074,
"author": "BQ.",
"author_id": 4632,
"author_profile": "https://Stackoverflow.com/users/4632",
"pm_score": 1,
"selected": false,
"text": "insert into customers (cust_id, name, balance) values (1, \"Bob\", 50.25);\n"
}
] | 2008/12/24 | [
"https://Stackoverflow.com/questions/392011",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
392,022 | <p>I want to kill a whole process tree. What is the best way to do this using any common scripting languages? I am looking for a simple solution.</p>
| [
{
"answer_id": 392111,
"author": "brad.lane",
"author_id": 48774,
"author_profile": "https://Stackoverflow.com/users/48774",
"pm_score": 3,
"selected": false,
"text": "for child in $(ps -o pid,ppid -ax | \\\n awk \"{ if ( \\$2 == $pid ) { print \\$1 }}\")\ndo\n echo \"Killing child pr... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392022",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26658/"
] |
392,024 | <p>(I've tried this in MySql)</p>
<p>I believe they're semantically equivalent. Why not identify this trivial case and speed it up?</p>
| [
{
"answer_id": 392922,
"author": "Eric Sabine",
"author_id": 1493157,
"author_profile": "https://Stackoverflow.com/users/1493157",
"pm_score": 3,
"selected": false,
"text": "create table test1 (col1 int)\ngo\ninsert test1 values(3)\nbegin tran\ntruncate table test1\nselect * from test1\n... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392024",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11236/"
] |
392,034 | <p>I'm going nuts here, trying to get my system configured. </p>
<p>I have a laptop at home and a workstation at work. I use mutt and sendmail. I have a home ISP that is on a lot of blacklists, so that any email I send from my laptop through my ISP is frequently blocked as spam by the receiver. I can SSH to my worksta... | [
{
"answer_id": 392067,
"author": "Paul Tomblin",
"author_id": 3333,
"author_profile": "https://Stackoverflow.com/users/3333",
"pm_score": 4,
"selected": true,
"text": "relayhost=[127.0.0.1]:2526"
}
] | 2008/12/24 | [
"https://Stackoverflow.com/questions/392034",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48915/"
] |
392,041 | <p>I'm using the python optparse module in my program, and I'm having trouble finding an easy way to parse an option that contains a list of values.</p>
<p>For example:</p>
<pre><code>--groups one,two,three.
</code></pre>
<p>I'd like to be able to access these values in a list format as <code>options.groups[]</code... | [
{
"answer_id": 392061,
"author": "S.Lott",
"author_id": 10661,
"author_profile": "https://Stackoverflow.com/users/10661",
"pm_score": 6,
"selected": true,
"text": "optarg.split(',')"
},
{
"answer_id": 392258,
"author": "Can Berk Güder",
"author_id": 2119,
"author_prof... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392041",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48810/"
] |
392,042 | <p>I'm new to PHP and have installed on Linux to boot (also a newbie).
Anyway, PHP is working...</p>
<pre><code><?
$myVar = "test";
echo($myVar);
?>
</code></pre>
<p>... works just fine.</p>
<p>But...</p>
<pre><code><?
$dbhost = "localhost";
$dbuser = "myuser";
$dbpass = "mypass";
$dbname = "mydb";
echo(... | [
{
"answer_id": 392055,
"author": "Paolo Bergantino",
"author_id": 16417,
"author_profile": "https://Stackoverflow.com/users/16417",
"pm_score": 1,
"selected": false,
"text": "error_reporting(E_ALL);\n$conn = mysql_connect(\"localhost\", \"myusername\", \"mypassword\");\nif(!$conn) {\n ... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392042",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26121/"
] |
392,043 | <p>I see on the web there are a lot of questions about caching ASP.Net, but not a lot of discussion on caching options for a Smart Client Application and their databases.</p>
<p>What are the data caching options that are available for Smart Client Application on the .Net framework, and how are any of you using them?</... | [
{
"answer_id": 392054,
"author": "amazedsaint",
"author_id": 45956,
"author_profile": "https://Stackoverflow.com/users/45956",
"pm_score": 3,
"selected": true,
"text": " using Microsoft.Practices.EnterpriseLibrary.Caching;\n //Later \n CacheManager cache= CacheFactory.GetCacheManag... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392043",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13502/"
] |
392,088 | <p>Is there any way to have PHP automatically call a function, before a script outputs any HTTP headers?</p>
<p>I'm looking for something like <a href="http://us.php.net/register-shutdown-function" rel="nofollow noreferrer">register-shutdown-function</a>, but to register a function that's called <strong>before</strong... | [
{
"answer_id": 392129,
"author": "charlesbridge",
"author_id": 22738,
"author_profile": "https://Stackoverflow.com/users/22738",
"pm_score": 4,
"selected": true,
"text": "ob_start"
}
] | 2008/12/24 | [
"https://Stackoverflow.com/questions/392088",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4321/"
] |
392,098 | <p>I do not want the user to be able to change the value displayed in the combobox. I have been using <code>Enabled = false</code> but it grays out the text, so it is not very readable. I want it to behave like a textbox with <code>ReadOnly = true</code>, where the text is displayed normally, but the user can't edit it... | [
{
"answer_id": 392113,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 3,
"selected": false,
"text": "DropDownStyle"
},
{
"answer_id": 392197,
"author": "Dan Williams",
"author_id": 4230,
"author_pro... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392098",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18169/"
] |
392,100 | <p>I've been working with python for a while now and am just starting to learn wxPython. After creating a few little programs, I'm having difficulty understanding how to create objects that can be shared between dialogs.</p>
<p>Here's some code as an example (apologies for the length - I've tried to trim):</p>
<pre>... | [
{
"answer_id": 392125,
"author": "S.Lott",
"author_id": 10661,
"author_profile": "https://Stackoverflow.com/users/10661",
"pm_score": 3,
"selected": true,
"text": "__init__"
}
] | 2008/12/24 | [
"https://Stackoverflow.com/questions/392100",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40429/"
] |
392,120 | <p>Does anyone know why typedefs of class names don't work like class names for the friend declaration?</p>
<pre><code>class A
{
public:
};
class B : public A
{
public:
typedef A SUPERCLASS;
};
typedef A X;
class C
{
public:
friend class A; // OK
friend class X; // fails
friend c... | [
{
"answer_id": 392136,
"author": "sergtk",
"author_id": 13441,
"author_profile": "https://Stackoverflow.com/users/13441",
"pm_score": 1,
"selected": false,
"text": "...\nclass C\n{\npublic:\n friend class A; \n friend X; \n friend B::SUPERCLASS; \n};\n...\n"
},
{... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392120",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48956/"
] |
392,122 | <p>FieldInfo has an IsStatic member, but PropertyInfo doesn't. I assume I'm just overlooking what I need. </p>
<pre><code>Type type = someObject.GetType();
foreach (PropertyInfo pi in type.GetProperties())
{
// umm... Not sure how to tell if this property is static
}
</code></pre>
| [
{
"answer_id": 392141,
"author": "ctacke",
"author_id": 13154,
"author_profile": "https://Stackoverflow.com/users/13154",
"pm_score": 3,
"selected": false,
"text": "type.GetProperties(BindingFlags.Static)\n"
},
{
"answer_id": 45484579,
"author": "relatively_random",
"auth... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392122",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16260/"
] |
392,135 | <p>I understand one uses the "bless" keyword in Perl inside a class's "new" method:</p>
<pre><code>sub new {
my $self = bless { };
return $self;
}
</code></pre>
<p>But what exactly is "bless" doing to that hash reference ? </p>
| [
{
"answer_id": 392146,
"author": "Gordon Wilson",
"author_id": 23071,
"author_profile": "https://Stackoverflow.com/users/23071",
"pm_score": 8,
"selected": true,
"text": "bless"
},
{
"answer_id": 392194,
"author": "kixx",
"author_id": 11260,
"author_profile": "https:/... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392135",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47145/"
] |
392,142 | <p>How do I determine whether a function exists within a library, or list out the functions in a compiled library?</p>
| [
{
"answer_id": 392148,
"author": "codelogic",
"author_id": 43427,
"author_profile": "https://Stackoverflow.com/users/43427",
"pm_score": 6,
"selected": true,
"text": "nm -g -C <libMylib.a>\n"
},
{
"answer_id": 392151,
"author": "Luca Tettamanti",
"author_id": 42448,
"... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392142",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18352/"
] |
392,160 | <p>I have a friend who likes to use metaclasses, and regularly offers them as a solution.</p>
<p>I am of the mind that you almost never need to use metaclasses. Why? because I figure if you are doing something like that to a class, you should probably be doing it to an object. And a small redesign/refactor is in order... | [
{
"answer_id": 392232,
"author": "Kenan Banks",
"author_id": 43089,
"author_profile": "https://Stackoverflow.com/users/43089",
"pm_score": 3,
"selected": false,
"text": "# Both the photo type and the flickr.photos.search API method \n# are generated at \"run-time\"\nfor photo in flickr.p... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392160",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28380/"
] |
392,169 | <p>Is there a way to play a Christmas tune on a PC or Mac without having a pre-recorded sound file? (No .mp3 or .wav or whatever-sound file)</p>
<p>I remember on my TI 99/4A and Apple II sounds (resembling music) could be played. Not sure if modern computers have these abilities (aside from <em>beep</em>).</p>
| [
{
"answer_id": 392183,
"author": "Paige Ruten",
"author_id": 813,
"author_profile": "https://Stackoverflow.com/users/813",
"pm_score": 2,
"selected": false,
"text": "PLAY \"e4 e4 e2 e4 e4 e2 e4 g4 c4 d4 e2\"\n"
},
{
"answer_id": 392228,
"author": "friol",
"author_id": 230... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392169",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/21826/"
] |
392,173 | <p>I'm trying to do some parameter estimation and want to choose parameter estimates that minimize the square error in a predicted equation <strong>over about 30 variables</strong>. If the equation were linear, I would just compute the 30 partial derivatives, set them all to zero, and use a linear-equation solver. Bu... | [
{
"answer_id": 425824,
"author": "Norman Ramsey",
"author_id": 41661,
"author_profile": "https://Stackoverflow.com/users/41661",
"pm_score": 2,
"selected": false,
"text": "__doc.findzero = [[function(functions, partials, point, [epsilon, steps]) returns table, boolean\nWhere\n point ... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392173",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41661/"
] |
392,176 | <p>I am retrieving three different sets of data (or what should be "unique" rows). In total, I expect 3 different unique sets of rows because I have to complete different operations on each set of data. I am, however, retrieving more rows than there are in total in the table, meaning that I must be retrieving duplica... | [
{
"answer_id": 392184,
"author": "Eric Rosenberger",
"author_id": 41624,
"author_profile": "https://Stackoverflow.com/users/41624",
"pm_score": 1,
"selected": false,
"text": "SELECT DISTINCT t1.*\n FROM table1 t1\n INNER JOIN table2 t2\n ON t2.ID = t1.ID\n AND... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392176",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16631/"
] |
392,198 | <p>If I start copying a huge file tree from one position to another or if some other process starts doing lots of disk activity, the foreground app (GUI) slows way down. For example, take a 2gb file tree with 100k files in it. Open a console and do cp -r bigtree bigtree2. Then go to firefox and start browsing. Firefox ... | [
{
"answer_id": 392387,
"author": "Zan Lynx",
"author_id": 13422,
"author_profile": "https://Stackoverflow.com/users/13422",
"pm_score": 4,
"selected": false,
"text": "vm.dirty_writeback_centisecs = 100\nvm.dirty_expire_centisecs = 9000\nvm.dirty_background_ratio = 4\nvm.dirty_ratio = 80\... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392198",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2033811/"
] |
392,215 | <p>I thought this would be simple, but its not working .. in both the object/embed code, i try to load a .swf via a url but nothing loads.
ex:
name="movie"value="http://localhost/mySite/Flash/Flash.swf"</p>
<p>If i run the pages locally from the flash folder and ref via:
name="movie"value="Flash.swf"
... it works fin... | [
{
"answer_id": 392246,
"author": "Russ Bradberry",
"author_id": 48450,
"author_profile": "https://Stackoverflow.com/users/48450",
"pm_score": 0,
"selected": false,
"text": "<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockw... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392215",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26685/"
] |
392,216 | <p>According to the <a href="http://java.sun.com/docs/books/jls/third_edition/html/exceptions.html" rel="nofollow noreferrer">Java Language Specification</a>:</p>
<blockquote>
<p>If there are any enclosing try statements whose try blocks contain the throw statement, then any finally clauses of those try statements a... | [
{
"answer_id": 392219,
"author": "Michael Myers",
"author_id": 13531,
"author_profile": "https://Stackoverflow.com/users/13531",
"pm_score": 4,
"selected": true,
"text": "finally"
},
{
"answer_id": 392222,
"author": "Charlie Martin",
"author_id": 35092,
"author_profil... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392216",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2644/"
] |
392,234 | <p>I have a regex created from a list in a database to match names for types of buildings in a game. The problem is typos, sometimes those writing instructions for their team in the game will misspell a building name and obviously the regex will then not pick it up (i.e. spelling "University" and "Unversity").</p>
<p>... | [
{
"answer_id": 392413,
"author": "Norman Ramsey",
"author_id": 41661,
"author_profile": "https://Stackoverflow.com/users/41661",
"pm_score": 2,
"selected": false,
"text": "agrep"
}
] | 2008/12/24 | [
"https://Stackoverflow.com/questions/392234",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1384652/"
] |
392,235 | <p>I would like to test my ActionMailer class, but don't have an smtp server. I would like to use gmail to send such emails. Could someone provide a sample with all the necessary configurations both on google and whatever config files in the app?</p>
| [
{
"answer_id": 392446,
"author": "Otto",
"author_id": 9594,
"author_profile": "https://Stackoverflow.com/users/9594",
"pm_score": 2,
"selected": false,
"text": "apt-get install ssmtp"
}
] | 2008/12/24 | [
"https://Stackoverflow.com/questions/392235",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48968/"
] |
392,257 | <p>I have a picture box on my form, which I add a picture to. This picture has a transparent background, but unfortunately, it seems lost in the picture box... I'm guessing that's because the picture box's background colour property is set to grey (the default). I can't see any option for "transparent" though.</p>
<p>... | [
{
"answer_id": 31250648,
"author": "DMC",
"author_id": 3026615,
"author_profile": "https://Stackoverflow.com/users/3026615",
"pm_score": 1,
"selected": false,
"text": "PictureBox2.Parent = PictureBox1\n"
},
{
"answer_id": 52620916,
"author": "Rex Mallari Oliveros",
"autho... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392257",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48970/"
] |
392,273 | <p>Pursuant to the advice given in <a href="https://stackoverflow.com/questions/385156/how-do-i-retrofit-a-gui-to-an-existing-c-program">this question</a> I have written a little gui to take the options for a command line C program and pass them on to said C program which is already set up to process them. It displays ... | [
{
"answer_id": 392313,
"author": "ConcernedOfTunbridgeWells",
"author_id": 15401,
"author_profile": "https://Stackoverflow.com/users/15401",
"pm_score": 0,
"selected": false,
"text": "[nigel@rose ~]$ wish\n% set foo /dev/ttys0\n/dev/ttys0\n% puts $foo\n/dev/ttys0\n% puts \"$foo\"\n/dev/t... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392273",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/30924/"
] |
392,277 | <p>I'm trying to change the border color of an image using its id with jquery
( photo['id'] is passed in from a previous function )
the ids of the photos are of the form 'photo239839'</p>
<pre><code> $('#photo'+photo['id']+'').click(function(){
$('#photo'+photo['id']+'').css('border-color','#777');
});
<... | [
{
"answer_id": 392293,
"author": "Andreas Grech",
"author_id": 44084,
"author_profile": "https://Stackoverflow.com/users/44084",
"pm_score": 4,
"selected": false,
"text": "$('img.flickr_photo').click(function(){ \n $(this).css('border-color','#777');\n});\n"
},
{
"answer_i... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392277",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48973/"
] |
392,283 | <p>What are your thoughts on using Windows Live Writer communicating with your website as the content editing system?</p>
<p>Windows Live Writer supports multiple category blogs (i.e. can be news, articles, and blogs), multiple category pages, tagging, XHTML WYSIWYG editing, image and file uploading via services or ft... | [
{
"answer_id": 392293,
"author": "Andreas Grech",
"author_id": 44084,
"author_profile": "https://Stackoverflow.com/users/44084",
"pm_score": 4,
"selected": false,
"text": "$('img.flickr_photo').click(function(){ \n $(this).css('border-color','#777');\n});\n"
},
{
"answer_i... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392283",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13502/"
] |
392,304 | <p>Is there a way to test the quality of a hash function? I want to have a good spread when used in the hash table, and it would be great if this is verifyable in a unit test.</p>
<p><strong>EDIT</strong>: For clarification, my problem was that I have used <code>long</code> values in Java in such a way that the first ... | [
{
"answer_id": 393143,
"author": "joel.neely",
"author_id": 3525,
"author_profile": "https://Stackoverflow.com/users/3525",
"pm_score": 0,
"selected": false,
"text": "HashMap<Long,String>"
}
] | 2008/12/24 | [
"https://Stackoverflow.com/questions/392304",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48181/"
] |
392,314 | <p>I'm wondering if there's a way to save window configurations across emacs sessions. I know desktop-save is fantastic for preserving buffers and whatnot and the emacs manual demonstrates storing a window configuration into a register but this doesn't persist across sessions.</p>
<p>Of course this doesn't seem like ... | [
{
"answer_id": 30154472,
"author": "pors",
"author_id": 562267,
"author_profile": "https://Stackoverflow.com/users/562267",
"pm_score": 2,
"selected": false,
"text": "desktop-save-mode"
}
] | 2008/12/24 | [
"https://Stackoverflow.com/questions/392314",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32797/"
] |
392,315 | <p>I want to use an IFrame in my ASP.Net MVC application, yet I want to retain the layout when the internal pages are navigated via direct access (Search Engine).</p>
<p>How would I switch the master page based on whether the View was in an IFrame, or a top level window?</p>
| [
{
"answer_id": 394413,
"author": "Eran Kampf",
"author_id": 1228206,
"author_profile": "https://Stackoverflow.com/users/1228206",
"pm_score": 3,
"selected": true,
"text": "if (isInIFrame)\n{\n ViewResult result = View();\n result.MasterName = \"IFrameMaster\";\n return result;\n... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392315",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13502/"
] |
392,324 | <p>I have an array of <code>int</code> pixels in my C# program and I want to convert it into an image. The problem is I am converting Java source code for a program into equivalent C# code. In java the line reads which displays the array of int pixels into image:</p>
<pre><code>Image output = createImage(new MemoryIma... | [
{
"answer_id": 392336,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 1,
"selected": false,
"text": "SetPixel"
},
{
"answer_id": 392342,
"author": "Frank Krueger",
"author_id": 338,
"author_profile"... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392324",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
392,327 | <p>How do I obtain a stack trace of addresses on Windows without using dbghelp.dll?</p>
<p>I don't need to know what the symbols or function names associated with the addresses, I just want the list of addresses -- something similar to <strong><a href="http://www.gnu.org/software/libtool/manual/libc/Backtraces.html" r... | [
{
"answer_id": 392350,
"author": "Kris Kumler",
"author_id": 4281,
"author_profile": "https://Stackoverflow.com/users/4281",
"pm_score": 3,
"selected": false,
"text": "USHORT WINAPI CaptureStackBackTrace(\n __in ULONG FramesToSkip,\n __in ULONG FramesToCapture,\n __out ... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392327",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19129/"
] |
392,332 | <p>I have a repository which I have <em>already</em> cloned from Subversion. I've been doing some work in this repository in its Git form and I would hate to lose that structure by cloning again.</p>
<p>However, when I originally cloned the repository, I failed to correctly specify the <code>svn.authors</code> proper... | [
{
"answer_id": 392345,
"author": "Greg Hewgill",
"author_id": 893,
"author_profile": "https://Stackoverflow.com/users/893",
"pm_score": 2,
"selected": false,
"text": "git-filter-branch"
},
{
"answer_id": 392356,
"author": "Jörg W Mittag",
"author_id": 2988,
"author_pr... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392332",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9815/"
] |
392,349 | <p>Is there any way to modify the bound value of one of the variables inside a closure? Look at the example to understand it better.</p>
<pre><code>def foo():
var_a = 2
var_b = 3
def _closure(x):
return var_a + var_b + x
return _closure
localClosure = foo()
# Local closure is now "return 2... | [
{
"answer_id": 392360,
"author": "titaniumdecoy",
"author_id": 18091,
"author_profile": "https://Stackoverflow.com/users/18091",
"pm_score": 0,
"selected": false,
"text": "def foo(var_a = 2, var_b = 3):\n def _closure(x):\n return var_a + var_b + x\n return _closure\n\nlocal... | 2008/12/24 | [
"https://Stackoverflow.com/questions/392349",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4381/"
] |
392,371 | <p>Hi sorry for being annoying by rephrasing my question but I am just on the point of discovering my answer.</p>
<p>I have an array of <code>int</code> composed of RGB values, I need to decompose that <code>int</code> array into a byte array, but it should be in BGR order.</p>
<p>The array of int composed of RGB val... | [
{
"answer_id": 392379,
"author": "Can Berk Güder",
"author_id": 2119,
"author_profile": "https://Stackoverflow.com/users/2119",
"pm_score": 1,
"selected": false,
"text": "#define N something\nunsigned char bytes[N*3];\nunsigned int ints[N];\n\nfor(int i=0; i<N; i++) {\n bytes[i*3] ... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392371",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
392,375 | <p>I have two simple while loops in my program that I feel ought to be math equations, but I'm struggling to convert them:</p>
<pre><code>float a = someValue;
int b = someOtherValue;
int c = 0;
while (a <= -b / 2) {
c--;
a += b;
}
while (a >= b / 2) {
c++;
a -= b;
}
</code></pre>
<p>This code w... | [
{
"answer_id": 392382,
"author": "Dave L.",
"author_id": 3093,
"author_profile": "https://Stackoverflow.com/users/3093",
"pm_score": 1,
"selected": false,
"text": "c = ((int) a + b / 2 * sign(a)) / b\n"
},
{
"answer_id": 392388,
"author": "paranoidgeek",
"author_id": 4827... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392375",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43496/"
] |
392,376 | <p>I’m trying to publish an InfoPath form to a SharePoint document library, and have the form be viewable in a web browser.</p>
<p>The problem is that in the InfoPath publishing wizard tells me that although the form is browser compatible, that it cannot be browser enabled because of one of the following:</p>
<ul>
<l... | [
{
"answer_id": 392382,
"author": "Dave L.",
"author_id": 3093,
"author_profile": "https://Stackoverflow.com/users/3093",
"pm_score": 1,
"selected": false,
"text": "c = ((int) a + b / 2 * sign(a)) / b\n"
},
{
"answer_id": 392388,
"author": "paranoidgeek",
"author_id": 4827... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392376",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
392,397 | <p>As I was programming, I haven't seen an instance where an array is better for storing information than another form thereof. I had indeed figured the added "features" in programming languages had improved upon this and by that replaced them. I see now that they aren't replaced but rather given new life, so to speak... | [
{
"answer_id": 392426,
"author": "FlySwat",
"author_id": 1965,
"author_profile": "https://Stackoverflow.com/users/1965",
"pm_score": 10,
"selected": false,
"text": " MyArray [5]\n ^ ^\n Pointer Offset\n"
}
] | 2008/12/25 | [
"https://Stackoverflow.com/questions/392397",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48214/"
] |
392,416 | <p>When loaded a shared library is opened via the function <code>dlopen()</code>, is there a way for it to call functions in main program?</p>
| [
{
"answer_id": 392419,
"author": "hhafez",
"author_id": 42303,
"author_profile": "https://Stackoverflow.com/users/42303",
"pm_score": 2,
"selected": false,
"text": "/* in main app */\n\n/* define your function */\n\nint do_it( char arg1, char arg2);\n\nint do_it( char arg1, char arg2){\n... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392416",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46431/"
] |
392,425 | <p>I have got a byte array of pixels in BGR order and I want to create an image out of it in C#. Can anyone offer code or advice?</p>
| [
{
"answer_id": 392445,
"author": "user21826",
"author_id": 21826,
"author_profile": "https://Stackoverflow.com/users/21826",
"pm_score": 1,
"selected": false,
"text": "\n private Bitmap createImage(int width, int height, byte[] image)\n {\n int index = 0;\n ... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392425",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
392,431 | <p>In C#, if I want to serialize an instance with <code>XmlSerializer</code>, the object's type doesn't have to be marked with <code>[Serializable]</code> attribute. However, for other serialization approaches, such as <code>DataContractSerializer</code>, needs the class be marked as <code>[Serializable]</code> or <cod... | [
{
"answer_id": 393619,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 3,
"selected": false,
"text": "XmlSerializer"
}
] | 2008/12/25 | [
"https://Stackoverflow.com/questions/392431",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26349/"
] |
392,438 | <p>i'm relatively new to jquery and javascript and am trying to pass
a unique id (number) into a flickr search function (jquery.flickr-1.0-js) like so, (number is the variable where i'm storing the unique id)</p>
<pre><code><script type="text/javascript" src="javascripts/jquery.flickr-1.0.js"></script>
&... | [
{
"answer_id": 392459,
"author": "tvanfosson",
"author_id": 12950,
"author_profile": "https://Stackoverflow.com/users/12950",
"pm_score": 3,
"selected": true,
"text": " ...\n jQuery('#gallery_flickr_'+number+'').html(\"\").flickr({ \n api_key: \"XXXXXXX... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392438",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48973/"
] |
392,449 | <p>I recently found out about <a href="http://en.wikipedia.org/wiki/Livecoding#Live_coding" rel="noreferrer">livecoding</a> where someone will program something on the fly to make music. Apparently there are special languages and libraries for this sort of thing. So I'd like to know if anyone has any experience with it... | [
{
"answer_id": 41822282,
"author": "Bruno",
"author_id": 1253735,
"author_profile": "https://Stackoverflow.com/users/1253735",
"pm_score": 2,
"selected": false,
"text": "loop do\n sample :perc_bell, rate: (rrand 0.125, 1.5)\n sleep rrand(0, 2)\nend\n"
}
] | 2008/12/25 | [
"https://Stackoverflow.com/questions/392449",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25680/"
] |
392,455 | <p>Suppose I have a Linked List I created myself. It has its own destructor, which frees the memory. This Linked List does not overload new or delete.</p>
<p>Now, I'm trying to create an array of said linked lists (open hashing, if I understand correctly). Then I allocate the necessary memory inside the constructor of... | [
{
"answer_id": 392457,
"author": "Johannes Schaub - litb",
"author_id": 34509,
"author_profile": "https://Stackoverflow.com/users/34509",
"pm_score": 3,
"selected": false,
"text": "elements = new LinkedList[N];\n"
}
] | 2008/12/25 | [
"https://Stackoverflow.com/questions/392455",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
392,464 | <p>I'd like to do <code>base64</code> encoding and decoding, but I could not find any support from the iPhone <code>SDK</code>. How can I do <code>base64</code> encoding and decoding with or without a library?</p>
| [
{
"answer_id": 800976,
"author": "Alex Reynolds",
"author_id": 19410,
"author_profile": "https://Stackoverflow.com/users/19410",
"pm_score": 7,
"selected": false,
"text": "#import <Foundation/NSString.h>\n\n@interface NSString (NSStringAdditions)\n\n+ (NSString *) base64StringFromData:(N... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392464",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32096/"
] |
392,473 | <p>The issue is simple really. Instead of creating folders in Visual Studio, I create a directory structure for my project on the file system. How do I include all the folders and files in a project, keeping the structure?</p>
<p>If I "Add Existing File" on a folder named Services and navigate to a file in the directo... | [
{
"answer_id": 35632703,
"author": "Yuchen",
"author_id": 1035008,
"author_profile": "https://Stackoverflow.com/users/1035008",
"pm_score": 6,
"selected": false,
"text": "<Content Include=\"Path\\To\\Folder\\**\" />\n"
},
{
"answer_id": 45806856,
"author": "CAD bloke",
"a... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392473",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/580/"
] |
392,493 | <blockquote>
<p>SQLite3::SQLException: SQL logic error
or missing database</p>
</blockquote>
<p>error when do insert, update and delete operation to tables from browser( that means the create, update and destroy action is failed but the show action is fine ), the same operation in console is OK. I googled this pro... | [
{
"answer_id": 392536,
"author": "eric2323223",
"author_id": 44512,
"author_profile": "https://Stackoverflow.com/users/44512",
"pm_score": 3,
"selected": true,
"text": "\"sudo script/server\""
},
{
"answer_id": 59991823,
"author": "Peter Beecken",
"author_id": 10352180,
... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392493",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44512/"
] |
392,513 | <p>I've created an interface called Initializable, but according to <a href="http://dictionary.reference.com/browse/initializable" rel="noreferrer">Dictionary.com</a> this is not a word. Searching <a href="http://www.google.ca/search?q=initializable" rel="noreferrer">Google</a> only gives about 30k results and they are... | [
{
"answer_id": 392521,
"author": "Michael Burr",
"author_id": 12711,
"author_profile": "https://Stackoverflow.com/users/12711",
"pm_score": 2,
"selected": false,
"text": "Initializable"
},
{
"answer_id": 392523,
"author": "Kev",
"author_id": 419,
"author_profile": "ht... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392513",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32465/"
] |
392,539 | <p>How to download a file via web service ? And how the client application accept this?
I write down the code as below in the client app, it throws an exception "Access Denied"</p>
<pre><code>wsDownload.wsDownloadFile downFile = new wsDownload.wsDownloadFile();
byte[] file = downFile.DownloadFile(strFileName, "", "... | [
{
"answer_id": 392521,
"author": "Michael Burr",
"author_id": 12711,
"author_profile": "https://Stackoverflow.com/users/12711",
"pm_score": 2,
"selected": false,
"text": "Initializable"
},
{
"answer_id": 392523,
"author": "Kev",
"author_id": 419,
"author_profile": "ht... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392539",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
392,540 | <p>I'm currently trying to make a small application that performs different duties. Right now I have a console app pop up and ask what I want to do, but sometimes I would rather just launch it with something like MyApp.exe -printdocuments or some such thing. </p>
<p>Are there any tutorials out there that can show me a... | [
{
"answer_id": 392548,
"author": "Greg Hewgill",
"author_id": 893,
"author_profile": "https://Stackoverflow.com/users/893",
"pm_score": 4,
"selected": true,
"text": "main()"
},
{
"answer_id": 392549,
"author": "Perpetualcoder",
"author_id": 37494,
"author_profile": "h... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392540",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/49000/"
] |
392,550 | <p>I used pole display(E POS) in my POS c# application.I have two major problem in that,
1. I can't clear the display perfectly.
2. I can't set the cursor position.</p>
<pre><code> I used some dirty tricks to do these.But I am not satisfied with that code.The following code i used.
</code></pre>
<p>Code :-</p>
<... | [
{
"answer_id": 392548,
"author": "Greg Hewgill",
"author_id": 893,
"author_profile": "https://Stackoverflow.com/users/893",
"pm_score": 4,
"selected": true,
"text": "main()"
},
{
"answer_id": 392549,
"author": "Perpetualcoder",
"author_id": 37494,
"author_profile": "h... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392550",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/49001/"
] |
392,594 | <p>This is something of a rant, as well as a question.</p>
<p>There are some sites, like Facebook, where you would only want to be logged into one account at a time. </p>
<p>But everything from blogging sites to email always force you to logout before you can login to another account.</p>
<p>And I understand the sec... | [
{
"answer_id": 392603,
"author": "Kent Fredric",
"author_id": 15614,
"author_profile": "https://Stackoverflow.com/users/15614",
"pm_score": 2,
"selected": false,
"text": "foo.bar?thread=2"
}
] | 2008/12/25 | [
"https://Stackoverflow.com/questions/392594",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9106/"
] |
392,626 | <p>I had a Dataset with some data in it. When I tried to write this DataSet into a file, everything was OK. But When I tried to write it into a MemoryStream, the XML file declaration was lost.
The code looks like:</p>
<pre><code>DataSet dSet = new DataSet();
//load schema, fill data in
dSet.WriteXML("testFile.xml");
M... | [
{
"answer_id": 688487,
"author": "Kenneth Cochran",
"author_id": 71200,
"author_profile": "https://Stackoverflow.com/users/71200",
"pm_score": 3,
"selected": true,
"text": "MemoryStream stream = new MemoryStream();\nvar writer = XmlWriter.Create(stream);\nwriter.WriteStartDocument(true);... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392626",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40029/"
] |
392,630 | <p>one of my php page returns data like this:</p>
<pre><code><?php
//...
echo "json string";
?>
</code></pre>
<p>but someone else use file_get_contents() to get my data and use in other website.</p>
<p>can anybody tell me what can i do to prevent such thing happen. </p>
<p>i consider if i can get the requ... | [
{
"answer_id": 392680,
"author": "Pim Jager",
"author_id": 35197,
"author_profile": "https://Stackoverflow.com/users/35197",
"pm_score": 1,
"selected": false,
"text": "<?php\n $allowedFiles[] = 'somefile.php';\n $allowedFiles[] = 'someotherFile.php';\n $allowedFiles[] = 'jsonReturnFile.p... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392630",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
392,643 | <p>I would like to do the following:</p>
<pre><code>$find = "start (.*) end";
$replace = "foo \1 bar";
$var = "start middle end";
$var =~ s/$find/$replace/;
</code></pre>
<p>I would expect $var to contain "foo middle bar", but it does not work. Neither does:</p>
<pre><code>$repl... | [
{
"answer_id": 392649,
"author": "Kent Fredric",
"author_id": 15614,
"author_profile": "https://Stackoverflow.com/users/15614",
"pm_score": 4,
"selected": false,
"text": "$find = 'start (.*) end';\n$replace = \"foo \\cA bar\";\n$var = 'start middle end';\n$var =~ s/$find/$replace/;\n"
... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392643",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2133/"
] |
392,654 | <p>I am using 2 500K bitmaps in to display images on my WiX dialogs.</p>
<p>They dramatically increase the size of the installation package, and what is worse - it looks there's no way to package them as a part of a .cab file since they're <code><binary></code>-es in the WiX terms.</p>
<p>So, I thught, is there... | [
{
"answer_id": 38578388,
"author": "ahmd0",
"author_id": 670017,
"author_profile": "https://Stackoverflow.com/users/670017",
"pm_score": 1,
"selected": false,
"text": ".jpeg"
}
] | 2008/12/25 | [
"https://Stackoverflow.com/questions/392654",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48829/"
] |
392,657 | <p>In borland delphi 7 and even in delphi 2007 everything worked, but in delphi 2009 it just returns the wrong hash!</p>
<p>I use wcrypt2 script (<a href="http://pastebin.com/m2f015cfd" rel="noreferrer">http://pastebin.com/m2f015cfd</a>)</p>
<p>Just have a look:</p>
<p>string : "123456"</p>
<p>hash:</p>
<p>Delphi ... | [
{
"answer_id": 392681,
"author": "Mihai Limbășan",
"author_id": 14444,
"author_profile": "https://Stackoverflow.com/users/14444",
"pm_score": 0,
"selected": false,
"text": "PAnsiChar(AnsiString('123456'))\n"
},
{
"answer_id": 392745,
"author": "Jim McKeeth",
"author_id": ... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392657",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
392,668 | <p>I'm trying to model a basic scenario involving a Person and a Seat. A Person has a Status property: Sitting or Standing. A seat has a Seated property that specifies the Person that is currently sitting in it. Also, a Seat is <em>special</em> in that it only "accepts" certain people to sit in it. I know it sounds str... | [
{
"answer_id": 392677,
"author": "Brann",
"author_id": 47341,
"author_profile": "https://Stackoverflow.com/users/47341",
"pm_score": -1,
"selected": false,
"text": "//inside Person class\n public bool TrySeat(Seat seat)\n {\n if (seat.TrySeat(this))\n ... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392668",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/49027/"
] |
392,678 | <p>I've some questions .. and I really need your help.</p>
<ol>
<li><p>I have an application. </p>
<p>First I display a splash screen, a form, and this splash would call another form. </p>
<p><strong>Problem</strong>: When the splash form is displayed, if I then open another application on the top of the splash, and... | [
{
"answer_id": 392684,
"author": "Ed S.",
"author_id": 1053,
"author_profile": "https://Stackoverflow.com/users/1053",
"pm_score": 1,
"selected": false,
"text": "dropDownList.SelectedIndex = 0;\n"
}
] | 2008/12/25 | [
"https://Stackoverflow.com/questions/392678",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42782/"
] |
392,721 | <p>What's difference between <strong>shadowing</strong> and <strong>overriding</strong> a method in C#?</p>
| [
{
"answer_id": 392727,
"author": "Stormenet",
"author_id": 2090,
"author_profile": "https://Stackoverflow.com/users/2090",
"pm_score": 8,
"selected": true,
"text": "class A {\n public int Foo(){ return 5;}\n public virtual int Bar(){return 5;}\n}\nclass B : A{\n public new int Foo(... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392721",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/35425/"
] |
392,728 | <p>I have a function that returns a float from 0 to 255. I would like to make a gradient in red color from this, but I need a string in "#FFFFFF" format. Is there a function for that?</p>
| [
{
"answer_id": 392732,
"author": "Greg Hewgill",
"author_id": 893,
"author_profile": "https://Stackoverflow.com/users/893",
"pm_score": 5,
"selected": true,
"text": "\"#%02X0000\" % x\n"
},
{
"answer_id": 392976,
"author": "edef",
"author_id": 49047,
"author_profile":... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392728",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25459/"
] |
392,733 | <p>For those of you experienced in both Haskell and some flavor of Lisp, I'm curious how "pleasant" (to use a horrid term) it is to write code in Haskell vs. Lisp.</p>
<p>Some background: I'm learning Haskell now, having earlier worked with Scheme and CL (and a little foray into Clojure). Traditionally, you could cons... | [
{
"answer_id": 2322552,
"author": "Hibou57",
"author_id": 279335,
"author_profile": "https://Stackoverflow.com/users/279335",
"pm_score": 3,
"selected": false,
"text": "(defmacro doif (x y) `(if ,x ,y))\n"
}
] | 2008/12/25 | [
"https://Stackoverflow.com/questions/392733",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38803/"
] |
392,749 | <p>Code auto-generated by Xcode seems to have the opening brace on the same line by default:</p>
<pre><code>@interface Controller : NSObject {
}
</code></pre>
<p>I'd like the opening brace on a line of its own, like this:</p>
<pre><code>@interface Controller : NSObject
{
}
</code></pre>
<p>This applies in genera... | [
{
"answer_id": 393020,
"author": "Mike Shields",
"author_id": 29030,
"author_profile": "https://Stackoverflow.com/users/29030",
"pm_score": 3,
"selected": false,
"text": " XCCodeSenseFormattingOptions = {\n BlockSeparator = \"\\\\n\";\n PreMethodDeclSpacing = \"\";\n};\n"
... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392749",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2288585/"
] |
392,775 | <p>How can I indicate syntax errors (e.g. an illegal sequence of tokens) in an eclipse editor plugin just like in the eclipse Java editor, i.e. by red wriggly underlines, a red marker on the scrollbar that you can jump to, and an explanatory message when you hover over either one?</p>
<p>I'm writing an eclipse editor ... | [
{
"answer_id": 393326,
"author": "Michael Rutherfurd",
"author_id": 33889,
"author_profile": "https://Stackoverflow.com/users/33889",
"pm_score": 4,
"selected": true,
"text": "<extension point=\"org.eclipse.core.resources.markers\" \n id=\"snakesyntax\" \n name=\"... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392775",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16883/"
] |
392,784 | <p>I have two completely different forms in one template. How to process them in one view? How can I distinguish which of the forms was submitted? How can I use prefix to acomplish that? Or maybe it's better to write separate views?<br /><br />
regards<br />
chriss</p>
| [
{
"answer_id": 392801,
"author": "Aaron Maenpaa",
"author_id": 2603,
"author_profile": "https://Stackoverflow.com/users/2603",
"pm_score": 4,
"selected": true,
"text": "<form action=\"/blog/\" method=\"POST\">\n {{ blog_form.as_p }}\n <input type=\"hidden\" name=\"form-type\" value... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392784",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36832/"
] |
392,787 | <p>I have an application. </p>
<p>First I display a splash screen, a form, and this splash would call another form. </p>
<p>Problem: When the splash form is displayed, if I then open another application on the top of the splash, and then minimize this newly opened application window, the splash screen becomes white. ... | [
{
"answer_id": 392800,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 4,
"selected": true,
"text": "Application.Run(splash)"
},
{
"answer_id": 393866,
"author": "Hans Passant",
"author_id": 17034,
"aut... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392787",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42782/"
] |
392,789 | <p>I got into Perl years ago and always found it a fun and expressive language to work with.</p>
<p>I found that programming in Perl makes me quite productive thanks to its low overhead and the outstanding amount of ready-made solutions to common problems on CPAN.</p>
<p>If you're new to Perl, what got you into it?</... | [
{
"answer_id": 396515,
"author": "Gaurav",
"author_id": 27310,
"author_profile": "https://Stackoverflow.com/users/27310",
"pm_score": 4,
"selected": true,
"text": "if($expr) { $statement; }"
},
{
"answer_id": 1080288,
"author": "Chas. Owens",
"author_id": 78259,
"auth... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392789",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3811/"
] |
392,794 | <p>I'm trying to deploy my WCF web service to a free host to test it, but it gives me the following error:</p>
<blockquote>
<p><strong>The Binding with name WSDualHttpBinding failed validation because the Binding type System.ServiceModel.WSDualHttpBinding is not supported in partial trust. Consider using BasicHttpBi... | [
{
"answer_id": 30617155,
"author": "JD-V",
"author_id": 3664961,
"author_profile": "https://Stackoverflow.com/users/3664961",
"pm_score": 0,
"selected": false,
"text": " <configuration> \n <system.web> \n <trust level=\"Full\" /> \n </system.web> \n </configuration>\n"
}
] | 2008/12/25 | [
"https://Stackoverflow.com/questions/392794",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/34623/"
] |
392,796 | <p>I understand (I think) that XmlHttpRequest objects adhere to the "same-domain" policy. However, I want to create a simple (POC) local html file that downloads XML from a web server and does something with it (let's start with a simple "alert()").</p>
<p>Is it possible at all? Do I need a special Firefox config opti... | [
{
"answer_id": 392803,
"author": "Bullines",
"author_id": 27870,
"author_profile": "https://Stackoverflow.com/users/27870",
"pm_score": 1,
"selected": false,
"text": "<script type=\"text/javascript\" src=\"http://www.google.com/jsapi?key=your_google_api_key\"></script>\n"
}
] | 2008/12/25 | [
"https://Stackoverflow.com/questions/392796",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38557/"
] |
392,797 | <p>How do I add a badge to the Dock icon for my app using Cocoa? Is there any roughly "standardized" way to do this? </p>
<p>(I'm referring to the kind of badges that show up in Mail, iChat etc. to indicate the number of unread messages and the like.)</p>
<p>Cocoa Touch does provide one such method, but I haven't bee... | [
{
"answer_id": 393449,
"author": "Ashley Clark",
"author_id": 4556,
"author_profile": "https://Stackoverflow.com/users/4556",
"pm_score": 5,
"selected": false,
"text": "-setApplicationIconImage:"
},
{
"answer_id": 1892564,
"author": "Tristan",
"author_id": 219515,
"au... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392797",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2288585/"
] |
392,806 | <p>The project currently I am working in requires a lot of searhing/filtering pages. For example I have a comlex search page to get Issues by data,category,unit,...</p>
<p>Issue Domain Class is complex and contains lots of value objects and child objects.</p>
<p>.I am wondering how people deal with Searching/Filterin... | [
{
"answer_id": 486442,
"author": "ssmith",
"author_id": 13729,
"author_profile": "https://Stackoverflow.com/users/13729",
"pm_score": 3,
"selected": true,
"text": "private Foo _foo;\npublic Foo Foo\n{ \n get { \n if(_foo == null)\n {\n _foo = _repository.Get... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392806",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36474/"
] |
392,812 | <p>Normally, I run Linux in a VM, however, most of my VMs are on an external HDD and I might or might not have one with me. I figure Cygwin would be a good alternative for lightweight functionality when I need something Linux like and don't have a VM on my laptop. But I'm having trouble getting the configuration right ... | [
{
"answer_id": 29291849,
"author": "dimo414",
"author_id": 113632,
"author_profile": "https://Stackoverflow.com/users/113632",
"pm_score": 5,
"selected": false,
"text": "apt-cyg"
}
] | 2008/12/25 | [
"https://Stackoverflow.com/questions/392812",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/572/"
] |
392,818 | <p>I use this code to open refresh save and close excel file:</p>
<pre><code>Application excelFile = new Application();
Workbook theWorkbook = excelFile.Workbooks._Open(Environment.CurrentDirectory + "/WebGate", 0, false, 5, System.Reflection.Missing.Value, System.Reflection.Missing.Value, false, System... | [
{
"answer_id": 394268,
"author": "Adarsha",
"author_id": 28373,
"author_profile": "https://Stackoverflow.com/users/28373",
"pm_score": 2,
"selected": false,
"text": "Dim oPivot As PivotTable\nset oPivot=worksheets(\"xyz\").PivotTables(\"Pivot1\") \noPivot.PivotCache.BackgroundQuery = Fal... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392818",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
392,832 | <p>I am new to C# and .NET programming. I want to design an application that opens up with a small login screen and when user presses the "Login" button, my program should close the login form and pass to a new form. How can I achieve this simple process? </p>
<p>Thanks.</p>
| [
{
"answer_id": 392854,
"author": "Ali Ersöz",
"author_id": 4215,
"author_profile": "https://Stackoverflow.com/users/4215",
"pm_score": 4,
"selected": true,
"text": "public bool IsLoggedIn { get; private set;}\npublic void LoginButton_Click(object sender, EventArgs e)\n{\n IsLoggedIn = D... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392832",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/49057/"
] |
392,859 | <p>How to create the condition of stack overflow in GNU/linux?</p>
| [
{
"answer_id": 392866,
"author": "Jason",
"author_id": 10639,
"author_profile": "https://Stackoverflow.com/users/10639",
"pm_score": 4,
"selected": false,
"text": "void stack_overflow()\n{\n stack_overflow();\n}\n"
},
{
"answer_id": 392867,
"author": "cletus",
"author_i... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392859",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
392,864 | <p>I still have a problem with the splash screen. I don't want to use the property <code>SC.TopMost=true</code>.</p>
<p>Now my application scenario is as follows:</p>
<p><strong>in progeram.cs:</strong></p>
<pre><code>[STAThread]
static void Main()
{
new SplashScreen(_tempAL);// where _tempAL is an arrayList
... | [
{
"answer_id": 392905,
"author": "lc.",
"author_id": 44853,
"author_profile": "https://Stackoverflow.com/users/44853",
"pm_score": 1,
"selected": false,
"text": "GetFromServer()"
},
{
"answer_id": 393870,
"author": "Hans Passant",
"author_id": 17034,
"author_profile":... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392864",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42782/"
] |
392,931 | <p>I have a few procedures, for simplicity sake, look like the following:</p>
<pre><code>public string FetchValueAsString(string key)
public int FetchValueAsInteger(string key)
public bool FetchValueAsBoolean(string key)
public DateTime FetchValueAsDateTime(string key)
</code></pre>
<p>I know I could just have one me... | [
{
"answer_id": 392948,
"author": "Corin Blaikie",
"author_id": 1736,
"author_profile": "https://Stackoverflow.com/users/1736",
"pm_score": 5,
"selected": true,
"text": "public static T FetchValue<T>(string key)\n{\n string value; \n // logic to set value here \n // ... \n ... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392931",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1768/"
] |
392,932 | <p>I've always wondered how to write the <strong><code>"A ? B : C"</code></strong> syntax in a C++ compatible language.</p>
<p>I think it works something like: <em>(Pseudo code)</em></p>
<pre><code>If A > B
C = A
Else
C = B
</code></pre>
<p><em>Will any veteran C++ programmer please help me out?</em></p>
| [
{
"answer_id": 392938,
"author": "Mykroft",
"author_id": 2191,
"author_profile": "https://Stackoverflow.com/users/2191",
"pm_score": 2,
"selected": false,
"text": "C = A > B ? A : B;\n"
},
{
"answer_id": 392943,
"author": "magcius",
"author_id": 48063,
"author_profile... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392932",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41021/"
] |
392,960 | <p>How can I get my device name (using WinCE) in C# code ?</p>
<p>It gives me only "WindowsCE" how can i get the type on name of the device ? (ex. symbol or datalogic or mio...)</p>
| [
{
"answer_id": 11775895,
"author": "JanSkalicky",
"author_id": 609915,
"author_profile": "https://Stackoverflow.com/users/609915",
"pm_score": -1,
"selected": false,
"text": "Environment.MachineName\n"
},
{
"answer_id": 26186961,
"author": "Cristian Boldisteanu",
"author_... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392960",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43907/"
] |
392,980 | <p>My team at work is considering to use a framework for developing web sites and applications. Some of the seniors are convinced we should use the Zend Framework because it is easier to pick-and-choose the features so the framework we will be light-weight. </p>
<p>I'm afraid however that they are only looking at the ... | [
{
"answer_id": 406677,
"author": "marshallcooper",
"author_id": 50871,
"author_profile": "https://Stackoverflow.com/users/50871",
"pm_score": 4,
"selected": false,
"text": " static public function registerZend()\n{\n if (self::$zendLoaded)\n {\n return;\n }\n\n sfTo... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392980",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
392,981 | <p>How can I convert string to double in C++?
I want a function that returns 0 when the string is not numerical.</p>
| [
{
"answer_id": 392986,
"author": "Evgeny Lazin",
"author_id": 42371,
"author_profile": "https://Stackoverflow.com/users/42371",
"pm_score": 5,
"selected": false,
"text": "double value;\ntry\n{\n value = boost::lexical_cast<double>(my_string);\n}\ncatch (boost::bad_lexical_cast const&)... | 2008/12/25 | [
"https://Stackoverflow.com/questions/392981",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
393,005 | <p>Is there a standard .Net matrix class? I cannot find it if there is.</p>
<p>If not, why not? It sounds like something people would need very frequently. Are there any non-standard libs you could recommend?</p>
| [
{
"answer_id": 393056,
"author": "splattne",
"author_id": 6461,
"author_profile": "https://Stackoverflow.com/users/6461",
"pm_score": 0,
"selected": false,
"text": "using Lydos.Matlab;\nusing System;\n\npublic class Example\n{\n static void Main()\n {\n Engine e = new Engine... | 2008/12/25 | [
"https://Stackoverflow.com/questions/393005",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
393,017 | <p>Is there anything like <code>Collections.max</code> which finds the maximal value in an array for regular arrays in the standard java runtime library?</p>
| [
{
"answer_id": 393103,
"author": "eljenso",
"author_id": 30316,
"author_profile": "https://Stackoverflow.com/users/30316",
"pm_score": 2,
"selected": true,
"text": "public static <T> T max(Collection<? extends T> coll, Comparator<? super T> comp) {\n if (comp==null)\n return (T... | 2008/12/25 | [
"https://Stackoverflow.com/questions/393017",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
393,041 | <p>I want to make some variables I generate in b available in c:</p>
<pre><code>a : b c { ...some code...}
</code></pre>
<p>A simple example:</p>
<pre><code>b : X { int result = 0; }
| Y { int result = 1; }
</code></pre>
<p>so I can, later on in c say:</p>
<pre><code>c : D { printf(result + 1); }
| ... | [
{
"answer_id": 393048,
"author": "Can Berk Güder",
"author_id": 2119,
"author_profile": "https://Stackoverflow.com/users/2119",
"pm_score": 2,
"selected": true,
"text": "result"
},
{
"answer_id": 393127,
"author": "qrdl",
"author_id": 28494,
"author_profile": "https:/... | 2008/12/25 | [
"https://Stackoverflow.com/questions/393041",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43960/"
] |
393,053 | <p>Python provides a nice method for getting length of an eager iterable, <code>len(x)</code> that is. But I couldn't find anything similar for lazy iterables represented by generator comprehensions and functions. Of course, it is not hard to write something like:</p>
<pre><code>def iterlen(x):
n = 0
try:
whil... | [
{
"answer_id": 393059,
"author": "Adam Rosenfield",
"author_id": 9530,
"author_profile": "https://Stackoverflow.com/users/9530",
"pm_score": 6,
"selected": true,
"text": "def fib():\n a, b = 0, 1\n while True:\n a, b = b, a + b\n yield a\n"
},
{
"answer_id": 3... | 2008/12/25 | [
"https://Stackoverflow.com/questions/393053",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
393,061 | <p>How do I create my own primitive? For example an integer that has a range of to 1-10.</p>
<p>EDIT: This came from a task on Rosetta Code. </p>
<blockquote>
<p>Defining Primitive Data Types: Demonstrate how to define a type that behaves like an integer but has a lowest valid value of 1 and a highest valid value o... | [
{
"answer_id": 393064,
"author": "Jonathan Allen",
"author_id": 5274,
"author_profile": "https://Stackoverflow.com/users/5274",
"pm_score": 4,
"selected": true,
"text": "Structure LimitedInt\n Implements IComparable(Of LimitedInt)\n Implements IEquatable(Of LimitedInt)\n\n Private m_V... | 2008/12/25 | [
"https://Stackoverflow.com/questions/393061",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5274/"
] |
393,110 | <p>I'm trying to add a CSS class to the Control that will get the focus, once a page is rendered. While the SetFocus() method of the Page class lets me set the Control, there is no corresponding GetFocus() method.</p>
<p>According to the .Net sources, the information is stored in the private member _focusedControl of ... | [
{
"answer_id": 394760,
"author": "cfbarbero",
"author_id": 2218,
"author_profile": "https://Stackoverflow.com/users/2218",
"pm_score": 2,
"selected": false,
"text": ":focus{ background-color: yellow;}"
},
{
"answer_id": 394769,
"author": "Shawn",
"author_id": 26,
"aut... | 2008/12/25 | [
"https://Stackoverflow.com/questions/393110",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18877/"
] |
393,118 | <p>While developing a C# application (my first C# app.):</p>
<ul>
<li>gets login information from the user (id, pass),</li>
<li>opens a new <code>HttpWebRequest</code> connection to a ASP.NET web page</li>
<li>tries to login to this page with the obtained [id,pass] tuple. If login is successful, my <code>HttpWebRequest... | [
{
"answer_id": 393302,
"author": "fantoman",
"author_id": 49057,
"author_profile": "https://Stackoverflow.com/users/49057",
"pm_score": 2,
"selected": false,
"text": "Set-Cookie: ASP.NET_SessionId=ah0b2kj40oi0vuufv0mmot35; path=/; HttpOnly\\r\\n\n"
}
] | 2008/12/25 | [
"https://Stackoverflow.com/questions/393118",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/49057/"
] |
393,121 | <p>I have a file containing several lines similar to:</p>
<pre><code>Name: Peter
Address: St. Serrano número 12, España
Country: Spain
</code></pre>
<p>And I need to extract the address using a regular expression, taking into account that it can contain dots, special characters (ñ, ç), áéíóú...</p>
<p>The current co... | [
{
"answer_id": 393131,
"author": "cnu",
"author_id": 1448,
"author_profile": "https://Stackoverflow.com/users/1448",
"pm_score": 0,
"selected": false,
"text": "\"Address: (.*)$\""
},
{
"answer_id": 393137,
"author": "Vinko Vrsalovic",
"author_id": 5190,
"author_profil... | 2008/12/25 | [
"https://Stackoverflow.com/questions/393121",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12388/"
] |
393,151 | <p>What's the easiest way to create an array of structs in Cocoa?</p>
| [
{
"answer_id": 393181,
"author": "Rich Catalano",
"author_id": 4103,
"author_profile": "https://Stackoverflow.com/users/4103",
"pm_score": 4,
"selected": false,
"text": "struct foo{\n int bar;\n};\n\nint main (int argc, const char * argv[]) {\n struct foo foobar[3];\n foobar[0].... | 2008/12/25 | [
"https://Stackoverflow.com/questions/393151",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36182/"
] |
393,152 | <p>Many people ask me why, and I don`t have a good answer for them.</p>
<p>Obviously there is a good reason. Does anyone know it?</p>
<p>I searched here and found <a href="https://stackoverflow.com/questions/127233/does-class-need-to-implement-ienumerable-to-use-foreach">this question</a>. It explains how it works, b... | [
{
"answer_id": 393179,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 5,
"selected": true,
"text": "IEnumerable<int>"
}
] | 2008/12/25 | [
"https://Stackoverflow.com/questions/393152",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39281/"
] |
393,166 | <p>I use Javascript to click a link in the webbrowser control. But I don't want to hear IE's "click" sound. </p>
<p>Is there any way to do this?</p>
<p>P.S. </p>
<ul>
<li>I don't want to change system settings.</li>
<li>I've seen this one (<a href="https://stackoverflow.com/q/10456">HowTo Disable WebBrowser 'Cli... | [
{
"answer_id": 737280,
"author": "James Crowley",
"author_id": 33682,
"author_profile": "https://Stackoverflow.com/users/33682",
"pm_score": 7,
"selected": true,
"text": "int feature = FEATURE_DISABLE_NAVIGATION_SOUNDS;\nCoInternetSetFeatureEnabled(feature, SET_FEATURE_ON_PROCESS, true);... | 2008/12/25 | [
"https://Stackoverflow.com/questions/393166",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40322/"
] |
393,168 | <p>I am looking for a control to be able to embed the functionality of the FileOpenDialog without the idea of using a modal dialog. Does something like this exist already? (ideally within .Net 2.0 framework, C#). </p>
| [
{
"answer_id": 393417,
"author": "lc.",
"author_id": 44853,
"author_profile": "https://Stackoverflow.com/users/44853",
"pm_score": 1,
"selected": false,
"text": "DataGridView"
}
] | 2008/12/25 | [
"https://Stackoverflow.com/questions/393168",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
393,176 | <p>The (command line) interface I have in mind is like so:</p>
<pre><code>watching FILE+ do COMMAND [ARGS] (and COMMAND [ARGS])*
</code></pre>
<p>Where any occurrence of "<code>{}</code>" in <code>COMMAND</code> is replaced with the name of the file that changed. And note that "<code>do</code>" and "<code>and</code>... | [
{
"answer_id": 393177,
"author": "dreeves",
"author_id": 4234,
"author_profile": "https://Stackoverflow.com/users/4234",
"pm_score": 3,
"selected": true,
"text": "#!/usr/bin/perl\n# Run some commands whenever any of a set of files changes (see USAGE below).\n# Example:\n# ./watching.pl f... | 2008/12/25 | [
"https://Stackoverflow.com/questions/393176",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4234/"
] |
393,191 | <p>Spotlight indexes at the file level, so a file containing a complicated data structure may need to be split into a set of files for Spotlight to index it in a useful way.</p>
<p>Can you use MacFUSE to achieve this more dynamically?</p>
<p>Will Spotlight index a MacFUSE volume?</p>
<p>Can MacFUSE handle the necess... | [
{
"answer_id": 393202,
"author": "codelogic",
"author_id": 43427,
"author_profile": "https://Stackoverflow.com/users/43427",
"pm_score": 2,
"selected": false,
"text": "sudo mdutil -i on /Volumes/SomeVolume\n"
}
] | 2008/12/25 | [
"https://Stackoverflow.com/questions/393191",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11002/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.