instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have a report in SSRS 2008 that has the following structure:
List
Tablix
Row Group
Row1
Field
Row2
Subreport
Is it possible to completely hide the first row in the row group, based on some condition?
I can hide the row, but the empty row still takes up space, I want the empty row t... | stackexchange/codereview |
Is it possible to build projects to a common directory, instead of the per project bin folder?
The purpose would be to make it easier to source control all my binaries. How can I do it and, what are the pitfalls of this approach?
You have the option to build projects to another directory (a common directory?) rather th... | stackexchange/codereview |
I've created a stored procedure in SQL Server that in turn is using a linked server to query two databases. The results are returned as expected in Query Analyzer, but when I try running the same stored procedure using a pass-through query in Access I get an authentication error.
Access has no problem quering either da... | stackexchange/codereview |
In my data model I have two entities:
Category and Item.
Category
attr: name
rel: parent (Destination: Category, Inverse: subCategories)
rel: subCategories (Destination: Category, Inverse: parent, To-Many Relationship)
rel: items (Destination: Item, Inverse: category, To-Many Relationship)
Item
attr: title
rel: categor... | stackexchange/codereview |
I am using the new Version of MS WPF Ribbon (Version MS WPF Ribbon 3.5.40729.1) with Windows 7 and I am trying to change the Background of the Ribbon. Everything looks fine if I use light background colors.
But e.g. if I choose "Black" a white gradient is shown with the black. It does not seem to be possible to remov... | stackexchange/codereview |
How can I detect whether a view is being called in a test environment (e.g., from manage.py test)?
#pseudo_code
def my_view(request):
if not request.is_secure() and not TEST_ENVIRONMENT:
return HttpResponseForbidden()
| stackexchange/codereview |
I saw these 2 basic ways of namespacing in JavaScript.
Using object:
var Namespace = { };
Namespace.Class1 = function() { ... };
Using function:
function Namespace() { };
Namespace.Class1 = function() { ... };
How do they differ? Thank you.
| stackexchange/codereview |
A very minor saving either way but it prompted a mini-debate in the office and I wanted to get other feedback on it.
Assuming integer values for $x which is more efficient;
($x >= 3)
or
($x > 2)
edit
I have rolled back a wording change because one of the factors we discussed is that some believed >= to be easier to... | stackexchange/codereview |
I'm trying to create some threads in a service, but I got the hibernateException: no session... . I have already seen a discussion about this in stackoverflow with a solution of throwing RuntimeException. In my case is not working.
Here is my service code:
class MatchService {
static transactional = true
def voi... | stackexchange/codereview |
I have some questions about android development.
I have googled around, but cannot seem to find any answers to my questions.
Is it possible to display google maps in a widget?
Is it possible to run (and view) two apps simultaneously?
Is it possible to run an App within an App?
| stackexchange/codereview |
what does this mean?
name = name. replace(/([A-Z]) /g, " -$1" );
it's js.
correction i meant name = name.replace(/([A-Z]) /g, "-$1" );
| stackexchange/codereview |
I'm looking for a tool which can do at least one of two things.
Guess what headers might be unused and can be removed.
Guess which headers should be included in a file, but are included indirectly through inclusion of other files. Thus allows proper compilation of the file.
Is there such a tool?
| stackexchange/codereview |
I have a simple 2 tab panel setup with 2 validation groups. My problem is that my buttons fire both validation groups.
<cc1:TabPanel ID="TP2" runat="server" HeaderText="" Enabled="true">
<HeaderTemplate>Loan Main</HeaderTemplate>
<ContentTemplate>
<table cellpadding="3" cellspacing="1">
<tr>
<td s... | stackexchange/codereview |
I have to count the word frequency in a text using python. I thought of keeping words in a dictionary and having a count for each of these words.
Now if I have to sort the words according to # of occurrences. Can i do it with same dictionary instead of using a new dictionary which has the key as the count and array of ... | stackexchange/codereview |
I have an eclipse bundle with an application and product configuration file (myproduct.product). When I export the product I get executable that I can run just fine.
But how do I export this .product file from a java application? I have looked at the example at the bottom of this page:
http://wiki.eclipse.org/Equinox/p... | stackexchange/codereview |
I am using a TreeMap<Integer,Object>() to store values.
Now my Object has a component, Object.value(), which keeps getting incremented as per values read from a file.
So, I evaluate whether the key exists and need to update value.
I do not understand how I can update values in a Map in Java.
I cannot just replace the w... | stackexchange/codereview |
I'm trying to establish a PHP (5.2.6)/MySQL connection via mysqli.
error_log( sprintf( 'Querying %s:%s (%s) as %s/%s', DBHOST, DBPORT, DBNAME, DBUSER, DBPASSWORD ) );
$mysqli = @new mysqli( DBHOST, DBUSER, DBPASSWORD, DBNAME, DBPORT );
if( !$mysqli ) {
error_log( 'Unable to establish a connection to ' . DBHOST . '.... | stackexchange/codereview |
Normally, ModelBinding Validation of a class member might be done like this example:
public Class someclass
{
[StringLength(50)]
public string SomeValue { get; set; }
}
SomeValue is limited to 50 characters at a maximum.
Is it possible to have the constant (50) changed to something else at run-time, say, durin... | stackexchange/codereview |
Assume we have some string of defined length, that could contain some delimiters, that are used only for user-friendly view.
Example: 9-digit string, "123456789", that could be presented like "123,456,789" or "123.456.789" or "1-234-5-67-89" or "123 456 789"
What I need, is a regexp, that could count length ignoring th... | stackexchange/codereview |
I want to copy the file http://searchr.us/Testing/web-search.phtml?search=SEARCHED+TEXT to
http://searchr.us/Testing/search/SEARCHED+TEXT.html
How do i do this?
NOTE:The source of http://searchr.us/Testing/search/SEARCHED+TEXT.html should be the same as http://searchr.us/Testing/web-search.phtml?search=SEARCHED+TEXT
I... | stackexchange/codereview |
When writing Java stored procedures, I often receive values via oracle.sql.ARRAY parameters. However, how do I export values via oracle.sql.ARRAY parameters? For example:
public static void fetchFavoriteFoods(oracle.sql.ARRAY favoriteFoods) {
// What must be done here to add "pizza" and "cheese burger" to favoriteF... | stackexchange/codereview |
I am trying to implement a command line emulator in JavaScript. I want the Spacebar key to act as Enter (submit, then clear the command line).
In this post, let's represent a space as an underscore, so _ means [space]:
If I enter banana_ and then, after catching the keypress, I call input.value= "", it clears banana, b... | stackexchange/codereview |
A trick to avoiding filtering by nullable parameters in SQL was something like the following:
select * from customers where (@CustomerName is null or CustomerName = @CustomerName)
This worked well for me in LINQ to SQL:
string customerName = "XYZ";
var results =
(from c in ctx.Customers
where (customerName == ... | stackexchange/codereview |
Could somebody tell me how to find the definition of a symbol in a shared object file on Solaris.
Thanks
Raj
| stackexchange/codereview |
How would I make a Mysql query that would grab the most recent entry for each type. Then count them and display based off name. Thank you
MYsql Database
Id | Date | Type | Name | Time
1 11/8/2010 | 12312| Bill | 7:30 AM
2 11/8/2010 | 12311| Bill | 7:45 PM
3 11/8/2010 | 12312| Bill | 8:30 AM
... | stackexchange/codereview |
For my LINQ object Foo, I want to have a "before-and-after" state bracketing my object mutation (coming from an ASP.NET MVC UpdateModel() call as it happens). My idea was to copy the pre-mutation properties from the attached instance into a new unattached instance. Then I'd be able to make the updates in the attached i... | stackexchange/codereview |
I would like to know if it is possible to trigger a jquery function to hide something after a Mouse event in flash.
I want this to run when something is clicked in flash:
$("#googframe").click(function() {
$("#googframe").hide();
});
i know how to monitor a click in AS3 but how do i get it to trigger this. By ... | stackexchange/codereview |
We're working on a project that uses Velocity for its display templates. Unfortunately, there is no documentation concerning what properties are available on objects, which makes it fairly difficult to write these templates.
Is it possible to use Velocity to produce a list of the properties on an object? If so, how?
T... | stackexchange/codereview |
List<String> cursewords = new ArrayList<String>();
cursewords.add("darn it");
cursewords.add("gosh");
cursewords.add("gee whiz");
cursewords.add("golly");
String text = " Golly ";
if (cursewords.contains(text.trim().toLowerCase()) {
System.out.println("found curse:" + text);
}
Is there a better way to do this?
... | stackexchange/codereview |
is there any method to create page strucutere with Zend_Navigation (xml) like this:
- 1. Dashboard
- - 1.1 New article
- - 1.2 New user
- - 1.3 New products
- 2. Articles
- - 2.1 New article
- - 2.2 Reviews
- 3. User
- - 3.1 New user
- - 3.2 Etc Etc...
-
-
-
I'am trying to do by this XML (example xml) But it works une... | stackexchange/codereview |
I see there is a TextAppearanceSpan available but no examples on usage. I just want to make the text bold and leave everything else unchanged - is there perhaps a simpler way to do this programmatically?
| stackexchange/codereview |
i have to create a simple script which retrieves the mails from gmail account and then shows it to the user when user name and pass are supplied, the problem is am neither aware of gmail api and nor i know where to download it. i can't use any non official api, every help will be appreciated
edit:
i have to use php, j... | stackexchange/codereview |
So this is what i'm trying to do, i have a web application that deletes a physical file and the file record in the database. I am trying to find a way to prompt the user to see whether they want to delete the record in the db if the physical file is missing ...
using ASP.NET, here's where i'm getting stuck ...
protecte... | stackexchange/codereview |
I now switched to the v3 API of google maps and offer some route-planning using google's DirectionsService. It all works as expected, but the language is in english and i can't find a way to set it to german. The map itself is already in german – only the output of DirectionsService is in english.
Anyone an idea how to... | stackexchange/codereview |
How to optimize a data allocation in the distributed database?
Are there any software products for solving this problem?
For example:
There are some number of connected servers for the distributed database. Each server simultaneously is a client of this database.
The database has many tables.
We have statistic of queri... | stackexchange/codereview |
I need set field value, not passed to Django Form constructor.
I have model and form like this:
class Message(models.Model):
created = models.DateTimeField()
text = models.CharField(max_length=200, blank=True, null=True)
active = models.BooleanField(default=False)
class MessageForm(forms.Mo... | stackexchange/codereview |
I'm having some issues in RoR with some model methods I am setting. I'm trying to build a method on one model, with an argument that gets supplied a default value (nil). The ideal is that if a value is passed to the method, it will do something other than the default behavior. Here is the setup:
I currently have fou... | stackexchange/codereview |
What is the advantage of using a trusted certificate instead of self-signed for message security in WCF?
As far as i understand it's only used for encryption, not really validating the identity.
| stackexchange/codereview |
Is there a way to use GL_RGBA8 on the iPhone/iPad? My textures show up as blank when I try to use GL_RGBA8_OES instead. GL_RGBA is causing problem when using transparency.
I haven't tried it on the real device, only in the simulator.
| stackexchange/codereview |
I am developing an mvc.net application and would like to use Facebook Connect as single signon, but do I need to create a Facebook application from within their interface, or can I use the login features without creating an application?
| stackexchange/codereview |
I'm trying to deploy a small rails3 app to a FreeBSD host using capistrano and bundler. I have added the line
require 'bundler/capistrano'
to my deploy.rb file, and bundler seems to work fine until it comes to the mysql2 gem. Here the install fails because the install script uses chmod and chgrp to try to install the ... | stackexchange/codereview |
I have a UIWebView in an iPhone app and want to intercept structured mailto-URLs like mailto:email@address.com?subject=foo&body=bar in order to display a MFMailComposeViewController inside the app instead of handing over the URL to Mail.app.
Now it would be great if all properties of MFMailComposeViewController would b... | stackexchange/codereview |
OK, here is yet another question of the "How to do it better in STL?" series.
We have two ranges, designated by first1, last1, and first2. We want to find the number of different i's from [0, last1-first1] such that *(first1 + i) == *(first2 + i)
For example:
{a, b, c, d, d, b, c, a}
{a, a, b, c, d, c, c, a}
^ ... | stackexchange/codereview |
How can I do a SELECT where I get the DISTINCT result based on the FromLinkID AND ToLinkID together?
If I have a List with the following data, how could I get what I am after in LINQ?
| stackexchange/codereview |
I'm making a game gui api and I'm wondering how to implement tabs. I'm using freetype for text. When I try to render '\t' It looks like a square. I'm wondering how tabs are implemented because they are not a fixed width.
Thanks
| stackexchange/codereview |
I am trying to import a .sql file and its failing on creating tables.
Here's the query that fails:
CREATE TABLE `data` (
`id` int(10) unsigned NOT NULL,
`name` varchar(100) NOT NULL,
`value` varchar(15) NOT NULL,
UNIQUE KEY `id` (`id`,`name`),
CONSTRAINT `data_ibfk_1` FOREIGN KEY (`id`) REFERENCES `keywords` (`id`) ON ... | stackexchange/codereview |
Does Date.today() return the current date based on the server's date? If so, how can I get the correct date for a user?
| stackexchange/codereview |
I have an application which contains a nested list box, that is a list box inside a listbox.itemtemplate in the item template of another list. I would like to prevent scrolling of the inner list box in favour of just scrolling the outer list box. At the moment either list can be scrolled which is a bit confusing for ... | stackexchange/codereview |
My users, who may be located anywhere in the world, will be presented with a text box wherein they can enter their address. In most cases, I assume they will physically be in the same country as whatever address they are typing.
I'd like to help Google Map API make better guesses by doing region biasing. Is there a way... | stackexchange/codereview |
I am currently playing around with parsing diff files, and have yet to come across a solid documentation on diff files.
I am especially interested in specifications. E.g. I don't really understand the lines that look like this (at the beginning of each changed code block):
@@ -296,7 +296,8 @@
I know they have to do wi... | stackexchange/codereview |
I'm making a web service with Django that uses MySQL database. Clients interface with our database through URLs, handled by Django. Right now I'm trying to create a behavior that automatically does some checking/logging whenever a certain table is modified, which naturally means MySQL triggers. However I can also do th... | stackexchange/codereview |
I am creating a little map app where you are given information, video and images regarding different campuses in a university.
I am using the customContent method to insert video player object into the infoWindow but when I do this it gets rid of my text content and becomes the only visible thing to the user.
How Can I... | stackexchange/codereview |
Could somebody tell me how can I remove input filter chooser from comment form in Drupal 6?
Regards
| stackexchange/codereview |
i have a pgp public/private (RSA) key pair that my friends trust. i have a webserver running and i'd like to generate an ssl certificate whose public key matches my pgp public key.
does that make any sense ? is that possible ? is that safe ?
| stackexchange/codereview |
That's my xml node:
<node att="something < something else"> </node>
When i write in my code :
trace(xml.node.@att.toString());
it prints out the string :
something < something else
My problem is that i need to print out the orriginal string:
something $lt; something else //put $ instead of &
Does anyone know ... | stackexchange/codereview |
Trying to use MessageInspector to modify the message before the wcf service through the proxy. However while debugging the message body does not gets copied and body shows
<s:Body>... stream ...</s:Body>
What is the problem with the code?
public class CustomWCFMessageInspector : IClientMessageInspector
{
public o... | stackexchange/codereview |
I need as an example how to program a parallel iter-function using ocaml-threads. My first idea was to have a function similiar to this:
let procs = 4 ;;
let rec _part part i lst = match lst with
[] -> ()
| hd::tl ->
let idx = i mod procs in
(* Printf.printf "part idx=%i\n" idx; *)
... | stackexchange/codereview |
for( i=0; i<26; i++) {
btnAlpha[i] = new Button(this);
btnAlpha[i].setBackgroundColor(Color.TRANSPARENT);
btnAlpha[i].setTextColor(Color.GREEN);
btnAlpha[i].setText(Character.toString ((char)(j+i)));
btnAlpha[i].setOnClickListener(new View.OnClickListener(){
public void... | stackexchange/codereview |
I know ImageMagick's annotate command can superimpose some text over an image, but can it use the image's filename as this text? I would've assumed so, but can't seem to find direct documentation that confirms this.
No doubt some combination of parameters can manage this, or is there a better way of doing this in a sc... | stackexchange/codereview |
Are there specific js libraries or techniques for querying json objects in the browser - i.e. 'get all People where person.name = "Joe"'. Something similar to what linq does in .NET.....
| stackexchange/codereview |
While creating a new object i am getting ActiveRecord::RecordNotSaved error on before_save.
But i want to fetch the proper message other than ActiveRecord::RecordNotSaved error message.
How may i fetch the proper error message and pass it to the rescue?
begin
#some logic
raise unless object.save!
rescue ActiveRec... | stackexchange/codereview |
I'm trying to upload to a portfolio app I've built, specifically trying to find where to hook delayed_job into the process. It all works otherwise. Right now it returns undefined method 'call' for #<Class:0xae68750> on app/controllers/portfolio_items_controller.rb:18:in 'create' so here's my model and that portion of t... | stackexchange/codereview |
Example:
Please make sure you have the connect TNSnames and SQLnet files.
| stackexchange/codereview |
In Xcode, you can select an active target that will launch either into the iPad, or iPhone simulator. However, when launching an app from Instruments, I do not see any similar option.
How do you select the simulator you want to launch in Instruments?
| stackexchange/codereview |
Alright, I'm trying to link three different tables (Customers, Orders, and Order Details), in an effort to figure out which customers ordered the same item twice. I'm stumped. Here's what I've come up with thus far:
Select ContactName, Orders.OrderID, ProductID From Customers
inner join Orders on Customers.CustomerID ... | stackexchange/codereview |
I have two classes gameWindow and gameEngine. The Main method is in gameWindow class & so is the swing GUI code. Now, I want to access the swing components in gameEngine. How to do that? I always get the cannot find symbol error when I try it normally. I've tried making the components public but with no luck.
Also, I ... | stackexchange/codereview |
I was wondering: can you transfer a database you use on an Android device onto a virtual Android device in your development environment ?
I am using a program to enter books on my Samsung Galaxy S. From this program I can download the source, which can help me a lot in understanding various aspects of the Android deve... | stackexchange/codereview |
How do I make Dired display its files using an arbitrary function or set of columns? Basically I want to change from:
-rw-r--r-- 1 konrad konrad 3847863 Out 18 14:17 ClojureinAction.pdf
-rw-rw-r-- 1 tamara tamara 27338341 Out 20 07:16 Halliday, Resnick, Walker - Fundamentals of Physics.pdf
-rw-r--r-- 1 konrad ko... | stackexchange/codereview |
I have looked through the Ruby on Rails guides and I can't seem to figure out how to prevent someone from deleting a Parent record if it has Children. For example. If my database has CUSTOMERS and each customer can have multiple ORDERS, I want to prevent someone from deleting a customer if it has any orders in the da... | stackexchange/codereview |
If I access my page directly, I get:
$ wget http://localhost:8010/ --save-headers -O -
--2010-10-29 18:30:24-- http://localhost:8010/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8010... connected.
HTTP request sent, awaiting response... 200 OK
Length: 950 [text/html]
Sav... | stackexchange/codereview |
I am looking for a tinymce code highlighting plugin that is easy for users to use.I want the users to highlight the code to code highlight and with a click of a button,the code is highlighted,like how stackoverflow does it,without resulting to
| stackexchange/codereview |
Anybody did compile Farseer Physics Engine 3.0 with XNA 4 ?
| stackexchange/codereview |
I need to parse the %PATH% list in a .BAT script, but I'm not having much luck with paths that contain spaces.
for %%a in (%PATH%) do @echo %%a
The above parses on spaces (default), but I need to parse on semi-colons. I'm trying to use this but it's throwing me an error:
for /f "tokens=* delims=;" %%a in (%PATH%) do ... | stackexchange/codereview |
I have a C program where I am starting to use some SIMD optimizations for the SPE (Cell processor), etc. I would like somehow to "time" how many cycles do they need. One idea is to switch on/off and measure whole execution time. But this is slow. I can also add between and before the execution gettimeofday(&start,NULL... | stackexchange/codereview |
Does anyone know a good document/article about GDI resource handling?
I need to share some resources like icons and bitmaps among classes that can have different lifetime, and I want to understand how I should approach this problem.
For Mutexes and other kernel objects there is a DuplicateHandle function, but GDI is co... | stackexchange/codereview |
I have a bunch of ruby scripts in a folder which is added to $PATH and I think that some of them might be usefult to others. So I want to distribute them and the only 'good' way I know is rubygems (gem containing only binary), it has a very useful advantage of versioning, but also a drawback of initialization time (som... | stackexchange/codereview |
I have a property defined in an interface as:
Boolean IsBusy { get; }
It is implemented in the class as:
private Boolean _isBusy = false;
public Boolean IsBusy
{
get
{
return this._isBusy;
}
private set
{
if (this._isBusy != value)
{
... | stackexchange/codereview |
public class Main {
public static void main(String args[]) {
List list = new List(0);
int[] intArr = null;
list.fillWithRandom(intArr); // null pointer
list.print(intArr);
}
}
import java.util.*;
class List {
private static final int NUMINTS = 10;
private void list(int numInts) {
List list = new ... | stackexchange/codereview |
I followed the below link to integrate Twitter into my application.
http://icodeblog.com/2009/07/09/integrating-twitter-into-your-applications/
It was working great earlier. It was updating my comments to twitter account in web perfectly. But after long time, i am testing the samething now, but it is not working at all... | stackexchange/codereview |
I have a question how about in-process workflow
I migrated workflow application (approval workflow) from Lotus Notes to SharePoint 2007 by using Quest tool.
I migrated workflow by hand (dev) and list item data by using Quest. But I wonder how can I migrate in-process workflows that can be run continuously after migrat... | stackexchange/codereview |
Currently I have set up my application to take advantage of the XAuth implementation of Twitter services via ShareKit. Those that are aware of ShareKit and have implemented it into your own application either for testing purposes or for adding the huge array of services it implements to your application, you'd be well ... | stackexchange/codereview |
Suppose I follow users 4, 7, 10, and 20. How can I query that in Mongo?
db.all_posts.find(users = 4, 7, 10, 20).sort( by date )
I don't know the right syntax. Is this scalable?
| stackexchange/codereview |
There's got to be a way so that this only uses 1 query. I'm assuming using a join and a group by
Here's my current code:
$sql = mysql_query("select * from `databases` where `id` in (select `id_database` from `categories`)");
while ($row = mysql_fetch_assoc($sql))
{
echo $row['name'] . '<br />';
$sql_c = mysql_q... | stackexchange/codereview |
I have a WebPerfoamce test in Visual Studio Team System 2008, it's average execution is 20 seconds.
I have a load test that runs the test every 5 seconds using:
Test Mix Type: Based on user pace
Tests per user per hour: 720 (Which should be 12 test runs per min)
with a constant user load of 1.
The problem is when this ... | stackexchange/codereview |
What is the best way of handling exceptions while iterating over a loop in Scala?
For instance, if I had a convert() method that could throw an exception, I'd like to catch that exception, log it, and keep iterating. Is there a "scala" way to do this?
Ideally, I'd like something like...
val points: Seq[Point] = ...
va... | stackexchange/codereview |
is it possible to map two foreign keys linked to the same table? its best i show you what i mean.
i have a table called fixtures which currently looks like this:
<class name="" table="">
<id name="id" column="id">
<generator class="Increment" />
</id>
<property name="date" type="" column="" />
... | stackexchange/codereview |
I have some tables, Ex.: Car(id, NameCar) and Person(id, PersonName, Address, etc)
I need to search for a keyword and say in which columns I found it.
Example: Search for Civic, return Person with id 10 have Civic at Car Name, and at Address Name.
How can I do this with good performance?
| stackexchange/codereview |
I'm trying to get vim to provide some form of jQuery Omnicomplete. I have used ctags to generate tags based ont he jquery js file. After which I have turned on omnicompletion for javascript using
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
after which I set the tags variable to the tag file ... | stackexchange/codereview |
I want to create pdf, svg and hi-res antialiased img using Java.
The java-gnome project (http://java-gnome.sourceforge.net/4.0/) contains cairo
bindings, but there are problems using it on xp because of the multithreaded gtk
incompatibilities with xp...
Any of you guys that have successfully been using java-gnome cair... | stackexchange/codereview |
I've a simple class that looks like Boost.Array. There are two template parameters T and N. One drawback of Boost.Array is, that every method that uses such an array, has to be a template with parameter N (T is OK). The consequence is that the whole program tends to be a template. One idea is to create an interface (ab... | stackexchange/codereview |
I've made a previous question, looking for the class that build the content on a RPC call(here).
Now, I'm not finding the sequence of method calls that results on the call of the following method in the class ClientSerializationStreamWriter(here):
@Override
public String toString() {
StringBuffer buffer = new Strin... | stackexchange/codereview |
I would like to do a double devision using two floats (It appears that Direct Compute does not support double devision).
Is that possible?
This is what I tried so far (c# code, should be HLSL later):
int count = 7;
double value = 0.0073812398871474;
float f1 = (float)value;
float f2 = (float)((value - f1));
float r1 = ... | stackexchange/codereview |
I'm issuing a socket connection, using the following snippet
Socket socket = new Socket();
InetSocketAddress endPoint = new InetSocketAddress("localhost", 1234);
try
{
socket.connect(endPoint, 30000);
}
catch (IOException e)
{
e.printStackT... | stackexchange/codereview |
I am asking this question again but hopefully being a little more clearer. See this thread for more info
javascript error in IE8 compatibitlity mode
I have the following markup on the page of which I cannot change directly. I need to change the the function called from "change_option" to "changeoption". How can this b... | stackexchange/codereview |
I am having a bit of a problem with my COBOL homework again. I think everything is how it is suppose to be, but for some reason I cannot get any output data when I run my program. All it does is show blank lines like someone just hit the enter key over and over. It really sucks cause I can't see if I am right or wrong.... | stackexchange/codereview |
I am creating window in another thread. After closing the thread some of the resources window is not released from the memory. Because of this growing counter GDI Objects and User Objects in windows task manager. Graphics that not released are font and region. I haven't idea what is going on...
public class WaitingWind... | stackexchange/codereview |
We have a project which (assumed) would be finished in 1-2 years. By then, the JDK7 (and hopefully the Java7 JCP spec) should be ready.
But, I wonder, how probable is the "danger" that Oracle will make a "stupid" decision, which would make the JDK7 a less "attractive" platform then the existing JDK6?
More specific, I'm... | stackexchange/codereview |
I have 2 tables : Item and Location (one - many ).
I select one location and I try to update it
The entity goes from {Id=2, Name="name1",City="city1",Items=null} to {Id=2, Name="name1", City="city2",Items=null} and i want to save the updates.
The update method from the base class is:
public virtual void Update... | stackexchange/codereview |
Im using the enum Microsoft.TeamFoundation.Build.Client.BuildStatus for each and it works great for the statuses contained in it.
But is there a blatantly obvious way of determining if a build is queued, but not yet in progress? I know the build explorer in visual studio can see this, im having problems getting that d... | stackexchange/codereview |
I am trying to understand the glLookAt function.
It takes 3 triplets. The first is the eye position, the second is the point at which the eye stares. That point will appear in the center of my viewport, right? The third is the 'up' vector. I understand the meaning of the 'up' vector if it is perpendicular to the vecto... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.