instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
As the GPU driver vendors don't usually bother to implement noiseX in GLSL, I'm looking for a "graphics randomization swiss army knife" utility function set, preferably optimised to use within GPU shaders. I prefer GLSL, but code any language will do for me, I'm ok with translating it on my own to GLSL.
Specifically, I... | stackexchange/codereview |
I need a jQuery plugin to create type effect. Is there anyone or should I write one myself?
| stackexchange/codereview |
I have multiple web-apps running on an app server and each web-app WAR file contains a copy of the same jar file.
Does this mean that a class in that jar file will be loaded multiple times in the JVM, once for each WAR file it exists in? Following on from that, if I have a static synchronized method in such a class, is... | stackexchange/codereview |
Actually i once saw some PHP code on php.net but i forgot its name or usage.
It is something may be related to heredoc (may be not)
What i am trying to achieve is to do HTML inside php IF conditions..
it was somthing like
xhtml code here
i hope u understand what i am trying to ask!
thanks for your help.
| stackexchange/codereview |
Can anyone can give me a JavaScript code snippet by which I can detect if a JavaScript function is loaded in my aspx web page or exists before calling it?
Thanks
| stackexchange/codereview |
now i've been tring to integrate adwhirl to my application it does not show any add from the admob provider.But it will show house ads does not seem any problem with that
I added log cat file
To verify working of admob I interated with the same application too it does n't show any problem
Any help will be appreciated
... | stackexchange/codereview |
I need than on button click opens iPhone's default album and I'll can chose a photo.
I read a lot about this, but still don't works.
I do the following:
~/Library/Application Support/iPhone Simulator/User/Media/DCIM/100APPLE/
I'm storing two pictures IMG_0000.JPG (300 on 300 px) and IMG_0000.THM (75 on 75px)
In ... | stackexchange/codereview |
at what point should I be passing a pointer to data in my functions/methods, rather than just passing the value?
Obviously there's the cases where I want the function to operate on the given data, but what if I'm just passing the value for info/copying purposes?
For example, foo as a basic type:
void setFoo(int foo);
.... | stackexchange/codereview |
I am trying to rotate an image using jquery that will rotate on multiple mouse clicks. Using the jquery-rotate plugin, the following code only rotates the image once (transforming to a canvas in firefox) and will no longer rotate on further clicks.
$(".drag-and-rotatable img").click(function() {
$(this).rotate(45);... | stackexchange/codereview |
I have a kernel does a linear least square fit. It turns out threads are using too many registers, therefore, the occupancy is low. Here is the kernel,
__global__
void strainAxialKernel(
float* d_dis,
float* d_str
){
int i = threadIdx.x;
float a = 0;
float c = 0;
float e = 0;
float f = 0;
... | stackexchange/codereview |
I'm trying to run an html testSuite with Selenium RC.
The browser starts, the first test runs, but nothing else. Selenium never start running the second test in my suite. Couldn't find anything related in Selenium's RC docs nor internet (except a forum's post without answer).
Could anyone help me? What could I be doin... | stackexchange/codereview |
Why does the C# compiler not infer the fact that FooExt.Multiply() satisfies the signature of Functions.Apply()? I have to specify a separate delegate variable of type Func<Foo,int,int> for the code to work ... but it seems like type inference should handle this. Am I wrong? And, if so, why?
EDIT: The compilation error... | stackexchange/codereview |
I am writing code for a simplistic c shell. It stores the history of the last 10 command. If 'r' is entered as a command, then it should run the most recent command from the history. Also, if 'r x' is entered, where 'x' is the first letter of the command to be executed from history, then it runs the most recent command... | stackexchange/codereview |
My problem is that I want to execute a python file with an argument from inside another python file to get the returned values....
I don't know if I've explained it well...
example:
from the shell I execute this:
getCameras.py "path_to_the_scene"
and this return me a list of cameras....
so how can I call th... | stackexchange/codereview |
Supposed I have a file with Perl-code: does somebody know, if there is a module which could find the closing "}" of a certain subroutine in that file.
For example:
#!/usr/bin/env perl
use warnings;
use 5.012;
routine_one( '{°^°}' );
routine_two();
sub routine_one {
my $arg = shift;
if ( $arg =~ /}\z/ ) {
... | stackexchange/codereview |
According to < Windows via C/C++ >:
With Windwos Vista, if a user logs on
to the system with an account that
grants high privileges such as Admin,
in addition to the security token
corresponding to this privileged
account, a filtered token is also
created but granted only with the
privileges of a Standar... | stackexchange/codereview |
I need help to solve the following problem.
I have a input string as follows:-
<span class="notranslate">msgid
"Default_TOP_01" </span> <br> <span
class="notranslate">msgstr
</span>"home <strong>page </strong>"
<br> <span class="notranslate">msgid
"Default_TOP_02" </span> <br> <span
class="notransl... | stackexchange/codereview |
I'm trying to get the text in a div with a fixed width to break on a letter instead of a word. I cant really think of a way to explain it so I made a little example. Any help would be greatly appreciated.
What happens now.
|Hello |
|World! |
What I want:
|Hello Wo|
|rld! |
| stackexchange/codereview |
All I want to do is encode the following link properly, but for some reason "#" is giving me a problem:
var text = "hello, how are you? &am fine"
var link = "http://example.com/test#zzzzzzzzz"
url = "http://twitter.com/share?url=" + link + "&text" + text;
$("#twitter a").attr("href", url)
I tried encodeURI or encod... | stackexchange/codereview |
I have a huge difference of time execution between a 1-minute query and the same one in a table-valued function.
But the most weired thing is that running the UDF with another (valid) company_id argument
gives me a result in ~40 seconds and as soon as I change this company_id for 12 (valid again), it never stops. The ... | stackexchange/codereview |
I see three folders within my eclipse project drawable-hdpi,mdpi,ldpi
Do I need to put images in all three of these folders?Or can I just use one of them.My images
seem to scale fairly well.I do not want to have duplicate images if it is uneccessary.
I guess what I am asking is will the app be able to find my images if... | stackexchange/codereview |
In terms of interface design in Interface Builder or Photoshop, what does everyone do? Ie. setting gradients as backgrounds, using pngs as icons. Whats the easiest way to do this sort of stuff? All through code or what?
| stackexchange/codereview |
How do I reference the ClickOnce directory to which my application was published?
I've tried ApplicationDeployment.CurrentDeployement.DataDirectory and Assembly.GetExecutingAssembly().Location but they point to where the application is installed.
| stackexchange/codereview |
Those of you proficient in Javascript and PHP know how to use the Object constructor to reference basically what amounts to an anonymous associative array like this:
myFunction({
"param1" : "value1",
"param2" : "value2"
});
The benefit is not having to name each parameter of your target function and being able... | stackexchange/codereview |
I need help! Please, I use message form like facebook and twitter, new message slidedown effect. I used line break but shown "n" in new message. When refresh browser, Line break not shown "n". Sorry for my English used. :D
| stackexchange/codereview |
I want to show a wav file as an image, so the frequency is charted on screen like you would see in a wav editor. Any ideas?
| stackexchange/codereview |
I am working in C++, Linux and I encounter the problem as following:
struct testing{
uint8_t a;
uint16_t b;
char c;
int8_t d;
};
testing t;
t.a = 1;
t.b = 6;
t.c = 'c';
t.d = 4;
cout << "Value of t.a >>" << t.a << endl;
cout << "Value of t.b >>" << t.b << endl;
cout << "Value of t.c >>" << t.c << endl;
cout << "Val... | stackexchange/codereview |
There is an annotation in Hibernate that can persist boolean types as 'Y'/'N' in the database.
https://stackoverflow.com/questions/1154833/configure-hibernate-using-jpa-to-store-y-n-for-type-boole
an-instead-of-0-1
However if I don't want to bind to Hibernate is there a way to do it in pure JPA without using getters/s... | stackexchange/codereview |
Ruby has a program called ri where you can type in 'ri Array' and get its manpage. Is there something like that for scaladoc?
| stackexchange/codereview |
I have inherited a huge codebase that I need to make some small changes into. I was wondering if there are utilities that would parse python code and give dependencies between functions, as in if I make changes to a function I want to be sure that I dont break other functions, so if I could see in a graph like diagram ... | stackexchange/codereview |
Possible Duplicate:
What is the point of setters and getters in java?
I have a question about set method. Please provide some details if possible.
I want to know why do we use set method with class name.
public class Mymainclass {
Private class ClassC {
Private Mysecondclass sec = null;
public void setMymainclass... | stackexchange/codereview |
Event tracking in UIScrollview blocks the main thread. I'm using the main thread to run a timer that drives some animation -- the result is that any user interaction with the scrollable view (dragging it up or down, etc) causes the animation (running on the main runloop) to freeze. Is there a way around this?
I've t... | stackexchange/codereview |
I have the following code :
foreach( ... )
{
$m = new Memcache;
$m->connect('10.1.1.243', 11211);
$key = ... // calculate key
$data = $m->get($key);
if($data) return $data;
$data = ... // else fetch data from sql
$m->set($key, $data, 3600);
return $data;
}
The loop goes approximately 100 times. And th... | stackexchange/codereview |
I know we can see the USER WALL by retrieving a token and all... no problem.
However, I have this case in hands, that the request is to display the WALL of a facebook PAGE of a given user.
Does anyone knows if this can be done by using the Graph API?
| stackexchange/codereview |
I need to make an enum with one of the values = 50/50
Is this not possible? Visual Studio doesn't seem to like it.
I may have to make this field a database lookup it seems.
Please let me know.
| stackexchange/codereview |
I have an apk (App1) that has a raw resource (res/raw/mytextfile.txt) and I would like to read that text file from another apk (App2). I define a content provider in App1 and I override the openFile(Uri, String) method as follows:
Resources res = getContext().getResources();
return res.openRawResourceFd(R.raw.mytextfi... | stackexchange/codereview |
Yes, this question has been asked many times, and I've been looking and reading forums, and SO posts, but the answers are all unrelated (or so they seem) to this one. So, I have this main file :
-- sgbd_server.c --
#include "sgbd_server.h"
/**
* Open server pipe and return handle. -1 = error
*/
int open_server_pipe(... | stackexchange/codereview |
I'm using Excel to pull data from an SQL db. I used the code from another SO question and it works fine. Now I want to pull in the column names from a table in addition to the actual table. I figured out that I could get the names using the For Each fld loop. However there's still the issue of populating them horizonta... | stackexchange/codereview |
When my system requires two classes or modules of the same name, what can I do to specify which I mean?
I'm using rails (new to it), and one of my models is named "Thread". When I try to refer to the class "Thread" in thread_controller.rb, the system returns some other constant of the same name.
<thread.rb>
class Thre... | stackexchange/codereview |
noob question here. I have a has_many :through relationship between items and tags. Finding all items associated with a given tag is simple enough:
things=Tag.find(1).items
But what if I want to find all items associated with more than one given tag? I was thinking something like:
things=Tag.find(1).items
Tag.find(2).... | stackexchange/codereview |
This is a simple question, and I'm sure I got it work in the past. I'm trying to call a method in a view
#import <UIKit/UIKit.h>
@interface View : UIView {
}
-(void)spinAction;
@end
from a view controller
#import <UIKit/UIKit.h>
#import "View.h"
@interface layers3ViewController : UIViewController {
IBOutle... | stackexchange/codereview |
What I'm looking for is:
svn diff a b
repeat for all files:
svn blame b/file (manually check rev on diffed lines)
svn log -rALL_REV_S_FOUND
E.g.
svn diff a b --list_commits
Wanted output e.g.
------------------------------------------------------------------------
rXXXXX | user | 2010-11-16 14:28:28 +0100 (Tue, 16 N... | stackexchange/codereview |
How does an application performance monitoring tool like New Relic RPM work? How can it figure out all that information about your application? If someone was to build something similar for a PHP application where would be a good place to start? (I know New Relic for PHP is available, I'm interested in how to build one... | stackexchange/codereview |
I am trying to download mp3 file in my web application using FileReference object. It works fine in flash environment but does not work inside the browser environment. What could be the problem. Any help will be greatly appreciated. Thanks in advance.
| stackexchange/codereview |
I'm having problems with the browser history (using the "Back" and "Forward" buttons) with jQuery's tab plugin. I combined jQuery UI tab and jQuery BBQ: Back Button & Query Library plugin together for this.
I think the problem may deal with nested tabs.
You can find full code at http://jsfiddle.net/nQgC8/
If you test... | stackexchange/codereview |
I'm working on a python app that uses the gdata to programmatically create and mantain a calendar for groups of people. Everything works OK, except for the reminders in shared calendars.
Some context: when you create a new project, a google calendar is created for it under your name. And when you invite collaborators, ... | stackexchange/codereview |
When trying to add an object to the JS environment using Rhino 1.7 r2 on Android 2.2 I always get a NullPointerException. I have boiled the class down to the bare minimum to get this exception, and I can't figure out why. Here's the code that always produces the exception:
public class StartActivity extends Activity
{
... | stackexchange/codereview |
I'd like to rebuild a map with the same gestures as this one buily by http://marcgrabanski.com/ using the V2 api.
http://assets.marcgrabanski.com/resources/jquery-google-maps/tutorial-part1.html
But I would like to use the V3 API. But I feel the v3 is more, maybe unnecessarily, complicated and I would like to find a wo... | stackexchange/codereview |
I'm making a application in Erlang, with a GUI in Java.
I've managed to establish a connection between the to languages, but now i need to (i guess) send a message from Java to Erlang, every time I e.g press a button.
Is that the right way to go?
How would such a message look?
I've found a few good sites about this for... | stackexchange/codereview |
googled but no answer
| stackexchange/codereview |
Suppose i want something simple like the following:
I have an core-algorithm, which randomly selects one of the specialized algorithms (specialized at compile-time) and process this algorithm. These specialized algorithms are implemented trough functors.
The question is now: how to implement a container, which is bui... | stackexchange/codereview |
my program has a picturebox, and I want, apon a mouse click, or on ContextMenuStrip choice, to make something appear at the same spot of the click.
as seen in the picture, i would like to add some kind of a note on the specific clicked date area (probably add a user control)
How do i go at it ? how can i send the click... | stackexchange/codereview |
I'm trying to download af picture with http.get(string), where the string is the url. The string is unknow and changes every day. I got that past covered. If I print the string and paste it into http.get it works fine.
Why doesn't http.get care for variable string?
require 'net/http'
Net::HTTP.start("apod.nasa.gov") { ... | stackexchange/codereview |
I'm trying to monitor the mouse position on client area of window. for example:
WM_MOUSEMOVE:
{
std::ostringstring oss;
xPos = LOWORD(lParam);
yPos = HIWORD(lParam);
oss << xPos << ", " << yPos;
TextOut(hDC, 100, 100, oss.str().c_str(), oss.str().size());
}
Do i need to measure the height, width of f... | stackexchange/codereview |
If I have four points in 2D space, which are then rotated m degrees, what is the best/ most efficient way to determine the direction(clockwise/counter clockwise) of the rotation.
I know which point is which before and after rotation.
I have tried taking into account the lowest point and the highest point (based on y v... | stackexchange/codereview |
I am a big fan of Scala aesthetically, and of a lot of the conceptual work put into things like its typing system and libraries.
However, as I have begun tinkering with Scala (and seen some of my coworkers tinker with it) i find myself having to dig for more and more Java knowledge (especially in the way of libraries).... | stackexchange/codereview |
I'm trying to mash many tables into one query and sorting it by a date.
However I also want a column that defines which table the information came from - this way i can use PHP to decide what to do with the data.
This is what I have so far
SELECT DATABASE() as source, title AS MAIN, id as ID, date
FROM collect... | stackexchange/codereview |
I've written a basic password manager type web application to run offline on a mobile device (testing on a 4th gen iPod Touch). I've added the app to the Home Screen and it all works fine while the iPod is online and can reach the server. Once I put the iPod offline, when I open the app the following dialog comes up:
... | stackexchange/codereview |
I have a page that needs to make six nearly identical queries with the only difference between them being the value of "category":
$query = "SELECT * FROM table_name WHERE category="CATEGORY1";
Instead of writing out six different $query variables ($query1, $query2, etc.) for each different category, I'd like to abbre... | stackexchange/codereview |
http://run.xxmn.com/new/
the search button on the top of the site displays unnormal under IE8,chrome, which is lower than the search textbox. i want the top of the search button can parallel with the search textbox . but it's ok in IE7,6 and firefox. why? how to alter it.thankyou
| stackexchange/codereview |
I want to find the position of a substring in a string if present without using any string method including indexof. I tried so much times but failed. Will anybody tell me how to do in C#? We can use .Length operator.
| stackexchange/codereview |
Is there a way to use jQuery to select the <fb:like href="stackoverflow.com"></fb:like> tag?
| stackexchange/codereview |
I'm planning on releasing an open source (MIT) .NET library, but also including DLLs to make it easy for people so they don't have to compile everything themselves.
My library is very simplistic in the types it references, the only real dependency seems to be .NET 3.0 or higher (since it refers to Func<T> and the like)... | stackexchange/codereview |
I am trying to build a firefox extension which listens to events when a cookie is changed by any domain from any page and handle it accordingly. Is there an easy way to do this in javascript?
| stackexchange/codereview |
Excuse me if the question sounds silly but I have to ask. Is there a server side alternative to Node.js written in C#? I need a client framework to fully utilize Web Sockets but AFAIK IE doesn't support Web Sockets and nor will it support in it's next version. socket.io uses Web Sockets if available and falls back to B... | stackexchange/codereview |
We're trying to build our Delphi 2007 projects using MSBuild. In the IDE we set all Buidl configurations to Debug with (among others) the D+ option on.
The Release build configuration, of course has the debug options off.
We build the project with the following command line:
Msbuild /target:Build /property:configuratio... | stackexchange/codereview |
The portable way of accessing bits in the FP representation is to write into a union, which writes into memory. At least, that's what glibc does. But the code below looks wildly overcomplicated, as well as slow. I'm wondering whether there is an x86 instruction to copy 64 accessible bits of an FP register into an in... | stackexchange/codereview |
Is it really faster than loading it from your host?
Because when you open a website which loads stuff from other sites, the browser has to make new connections. Wouldn't it be faster to load all the stuff from the site that the browser is already connected to?
| stackexchange/codereview |
I am trying to use ant to run a bash script.
Ive found that the exec directive is the tool for the job
I created a bash script test.sh
and in my ant target i added:
<project basedir=".">
<property name="temp.deployment.dir" value="temp_deployment_dir"/>
<property name="temp.dir" value="temp_upload_dir"/>
<p... | stackexchange/codereview |
I am trying to create a Hash that has as its value an array.
The first element of the value(which is an array) is a scalar.
The second element of the value(which is an array) is another hash.
I have put values in the key and value of this hash as follows :
${${$senseInformationHash{$sense}[1]}{$word}}++;
Here,
My mai... | stackexchange/codereview |
I have a db expando class called widget.
I'm passing in a json string and converting it to a dict and then adding it to the datastore.
My question is how can I loop through my dict to create dynamic fields.
widget = Widget.get_by_key_name(key_name)
widget.name = self.request.get('wname')
fields = simplejson.loads(self.... | stackexchange/codereview |
Problem
ASP.NET MVC 3 RC is giving me a compilation error at runtime (when browsing) to an external MVC area. The website itself works, but the plugin refuses to load throwing a compilation issue pertaining to an unknown model.
LogOn.cshtml
@model TestProject.Models.LogOnModel
@{
View.Title = "Log On";
}
//.....omi... | stackexchange/codereview |
I'm writing tests for an activity (my test class extends ActivityInstrumentationTestCase2), I've got some basic tests written and working fine.
However my activity when it completes returns extra data to the calling activity via setResult(resultcode, Intent i) What I'd like to do using instrumentation get my activity t... | stackexchange/codereview |
NSDateFormatter *timeFormat = [[NSDateFormatter alloc] init];
[timeFormat setDateFormat:@"hh:mm a"];
NSDate* sourceDate = [timeFormat dateFromString:@"19/11/2010 12:00 am"];
if(sourceDate==nil)
{
NSLog(@"source date nil");
}
I'm using 24 hour setting in iPhone. After I change to 24 hour setting, datefromstring al... | stackexchange/codereview |
Here is my basic example:
class Foo {
public $toy = "car";
public function run() {
$this->toy = "train";
$bar = new Bar();
$bar->run();
}
}
class Bar extends Foo {
public function run() {
echo $this->toy;
}
}
$foo = new Foo();
$foo->run();
For some reason it w... | stackexchange/codereview |
I'm trying to post some files using OpenRasta. I've gotten as far as getting my handler called, but by all appearances the stream in the entity is empty. Here's my handler:
public OperationResult Post( IEnumerable<IMultipartHttpEntity> entities)
{
var foo = entities.ToList();
foreach (var entity in foo)
{... | stackexchange/codereview |
In Mac OS X, is there a method to override that runs every time a window gains focus?
| stackexchange/codereview |
I'm writing a little text mode application using curses on Linux.
For keyboard input I use the curses functions. Key auto-repeats work, e.g. if I hold a key down I get multiple key events until I release the key again.
Is it also possible to distinguish between real key events and those generated by the key repeat logi... | stackexchange/codereview |
I recently added Autofac to an large, existing application to manage DI.
In the process, I replaced singletons with a single instance managed by the container that gets injected into the dependent's constructor. In some cases, however, circular dependencies had to be broken. The easiest way that I found to do this ... | stackexchange/codereview |
jQuery has a function called scrollTop which can be used to find the number of pixels hidden above the current page view.
I'm not really sure why, but there is no scrollBottom function which returns the number of pixels below the current page view.
Is there a jQuery plugin which adds this functionality? Or is it going ... | stackexchange/codereview |
If you go to http://google.com, you will notice that there is a disabled scrollbar.
On my site, to avoid annoying the user with page shifting, I want a scrollbar on every page. But, if the page truly does not need to scroll have the scrollbar disabled.
This seems like a trivial task, but I can't seem to find the soluti... | stackexchange/codereview |
I have the following xdocument , I am trying to append item elements within the items element with the following code:
xdocument.Root.Element("items").add(item)
This does not work as the items element can not be found. I think it is a problem with the namespaces but I can't seem to get this to work. Any help will be ... | stackexchange/codereview |
Is it possible to delete a file from subversion repository completely including the history? The problem are illegal files without the needing copyright.
How can I do it?
| stackexchange/codereview |
How to add/remove a single element to/from CellList ?
| stackexchange/codereview |
I'm using Rails 3.0.0.rc and have installed the 'dbi' gem inside my gemfile and ran bundle install. But when I do the following require, it returns an error of 'no such file to load -- dbi'
require 'dbi'
What am I doing wrong? Am I using the wrong gem? Please help.
| stackexchange/codereview |
I am trying to override a CSS setting for lists in one of my pages. In my master CSS file, I have set the following rule:
ul, li { list-style-type: none; }
I have one page, where I DO want to set the style of the list - I would also like to increase the spacing between those list items on that single page.
The page loo... | stackexchange/codereview |
I created my own WebView and set the WebChromeClient and WebViewClient objects. When I start this WebView, the HTML form fields react when I touch them (a cursor appears), but they do not get selected, nor does the soft keyboard start. If I use the trackball to choose the form and press it, the keyboard does appear.
I ... | stackexchange/codereview |
I am writing a little lookup app, where i have a console handy for quick queries against a cache for sanity checks etc..
i.e.
get SomeField=Blue
this will than get all objects from cache matching that filter.
I can apply more filters
get SomeField=Blue && SomeOtherField < 5
this can get more complex if i decide to... | stackexchange/codereview |
I have a gallery widget with a about fitfy (almost) full screen images. Images are loaded from SD Card, and only one image is visible at a time (accept for overlap when scrolling). The problem is that after scrolling throught about 35 images I get OutOfMemoryError: bitmap exceeds VM budget. I thought a gallery widget d... | stackexchange/codereview |
how can I get the URL of an HTTPResponse?
I tried:
response.getHeaders("Locations")
But I obtained:
11-15 21:14:03.355: INFO/System.out(880): [Lorg.apache.http.Header;@43ea9568
| stackexchange/codereview |
I created setup program for one application in inno setup , where I'm trying to run application after install, but I get this message under Windows 7 :
The requested operation requires elevation.
I know it's because of admin privileges. Is there a way to overcome this (except of running the setup.exe as an administrat... | stackexchange/codereview |
Are there any open-source tools available which support searching for Java methods by the set of parameter types and return type?
As an example, say I'm looking for a method to generate a hash code for an array of ints. I search for a method which takes an int[] parameter and returns an int:
int[] -> int
yielding
java... | stackexchange/codereview |
In struts2, I took advantage of built-in OGNL in struts2, naming my inputs like <input name='bag["item"].property'>
Which went to getters/setters getBag().get("item").setProperty(value)
I've upgraded to struts 2.2.1, and suddently those no longer work: the getter never gets called.
The internet is utterly silent on usi... | stackexchange/codereview |
How do I save VB6 code, ie. the extension, which will open as macro in Excel? Not code created with VBA in Excel.
| stackexchange/codereview |
When viewing a tag page, is it possible to somehow output (within the loop) the categories that tag is featured in rather than listing it's posts?
The look in my homepage loops is as follows, im looking for the same kind of thing but on the tag page.
<ul class="thumb-grid">
<?php query_posts('m... | stackexchange/codereview |
I am creating a FileFinder class, where you can do a search like this:
var fileFinder = new FileFinder(
new string[]
{
"C:\\MyFolder1",
"C:\\MyFolder2"
},
... | stackexchange/codereview |
private void Form1_Load(object sender, System.EventArgs e)
{
StartToFillTree();
}
private void StartToFillTree( )
{
try
{
tvFolders.Nodes.Clear();
tvFolders.Nodes.Add( new TreeNode("Loading", -1, -1) );
Thread explorerThread = new Thread( new ThreadStart( FillTreeInAnotherThread ) ... | stackexchange/codereview |
I am trying to start an application with every button disabled except for one. First of all, I've tried to set them to disabled through the interface builder and then set them to enabled when I need them to be enabled. However, when I call setEnabled: it doesn't actually enable them (I even did NSLogs to see if it wa... | stackexchange/codereview |
I am trying to sort a table based on the first value from smallest to largest with the gnu-coreutils sort command.
My table looks something like this:
file.txt
100,0.8,0.323, ... some more data
2,0.323,0,323, ...
4, ...
53, ...
.
.
121, ...
I have tried doing the following:
sort -n -k 1 file.txt
but I get things like... | stackexchange/codereview |
Is there any difference other than syntax?
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.