instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
Given some data of shape 20x45, where each row is a separate data set, say 20 different sine curves with 45 data points each, how would I go about getting the same data, but with shape 20x100?
In other words, I have some data A of shape 20x45, and some data B of length 20x100, and I would like to have A be of shape 20x... | stackexchange/codereview |
We have an application that depends on a number of groups of third-party DLLs. Unfortunately, none of the writers of these third-party DLLs have named them very consistently so it is hard to see which DLL is part of what group.
To try and manage this, we would like to put groups of third-party DLLs in a folder in our a... | stackexchange/codereview |
I am trying to extend DOMWindow example 6 to anchor to various elements at the page. As it is, the syntax implies that selector needs to be static, be it class name or id, both work. What I'd like to do, however, is assign the id of the clicked element as a selector, but it doesn't seem to work. A simple example:
$(fun... | stackexchange/codereview |
I have a javascript script in a chrome extension i'm building. It is content script.
The script is using mediawiki api:
function wikifind(str)
{
var req = new XMLHttpRequest();
url = "http://en.wikipedia.org/w/api.php?action=query&format=xml&titles="+str;
req.open("GET", url, true);
req.send;
}
I h... | stackexchange/codereview |
I am trying to add functionality in my ASP.NET MVC app to change some fields of my data structure. After clicking the submit button on the form, the following action is called:
[HttpPost]
public ActionResult Edit(Document doc)
{
// Attempt to save the project
if (_documentService.SaveDocume... | stackexchange/codereview |
I need to be able to stretch a image background to fit the window size now it works in all browsers except for ie6
I have endlesly searched the internet for a solution and tried all things I have found but nothing seems to work in ie6
here is my demo site if you have ie6 you will be able to see my problem
I need it ... | stackexchange/codereview |
I want to customize the sign out functionality in sharepoint. I want to redirect to Home page after signout button is clicked. I used the following code :
function _spBodyOnLoad()
{
try
{
document.execCommand("ClearAuthenticationCache");
window.location=home page url;
}
catch (e) {}
}
but the pr... | stackexchange/codereview |
I want to pass encrypted parameters via a JSP form to frmservlet.I want to pass userid by encrypting it.But it is not decrypt by the frmsrvlet,How can I do this?
| stackexchange/codereview |
Recently I started using codeplex.com for hosting a project I'm doing which I want to share with people. I'm new to using Source Control and Open Source treatment.
My application deals with Twitter, and of course I have to use Twitter API keys.
I'm using Visual Studio 2010 and TortoiseHg for the source control.
So my q... | stackexchange/codereview |
How expensive is calling size() on List or Map in Java? or it is better to save size()'s value in a variable if accessed frequently?
| stackexchange/codereview |
Do anyone know where I can find a complete reference of openejb.xml configuration file from OpenEJB?
| stackexchange/codereview |
Possible Duplicates:
What is a smoke testing and what will it do for me?
What is a sanity test/check
What is a smoke test and why is it useful?
| stackexchange/codereview |
I am disabling the parent menu option in a Windows forms menustrip. When you hover over it, the submenu still opens. Is there a way to disable the submenu opening or do I have to disable all the submenu items?
| stackexchange/codereview |
Is it possible to just log partial times without turning on all logging with?
config.log_level = :debug
I just want to see partial times as all the others seem under control and don't want to slow down the application to get this logging.
| stackexchange/codereview |
Any idea to run those kind of scripts from Oracle PL/SQL? Any solution would be appreciated. Thanks!
| stackexchange/codereview |
I want to have the encoding of my project's file to be set to UTF-8.
Following maven FAQ answer, I set the project.build.sourceEncoding property to UTF-8. unfortunatly, it has no effect.
Then, by looking at a m2eclipse JIRA, I tried a workaround by defining compiler plugin sourceEncoding, but it neither worked, as I tr... | stackexchange/codereview |
Basically, I have two routines: One is a CDK collision check, and the other is a generic verification of an array. They're both inside the same Timer Event. There are two arrays - the collisionList and the MasterArray, and the object is in both of them.
First, the collision routine:
var collisions:Array = collision... | stackexchange/codereview |
I installed windows-7 64 bit. When I try to run my program (that works with Oracle 11g) I get this error:
Attempt to load Oracle client libraries threw BadImageFormatException
this problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed
What can be the problem ? Where I can... | stackexchange/codereview |
https://www.x.com/community/ppx/code_samples
The sample code returns ACK, but where is the proper response?
For example
Getbalance, sample code returns ACK
https://cms.paypal.com/cms_content/US/en_US/files/developer/nvp_GetBalance_cs.txt
but the document shows it returns other values?
https://www.x.com/docs/DOC-1186
| stackexchange/codereview |
i'm looking for an activeX component which allows loading .wav files, displaying + playing it - and also is capable of displaying/setting the current playing position.
any ideas?
thanks
| stackexchange/codereview |
I have a issue that I have been struggling with for some time and its becoming quite frustrating...
I have an app that a user can modify the background image of a widget in a configure activity. Once they select what image they want I save a SharedPreferences file with the widgetsID and the value for the image... howe... | stackexchange/codereview |
I have a WPF application and I need to know how to center the wain window programatically (not in XAML).
I need to be able to do this both at startup and in response to certain user events. It has to be dynamically calculated since the window size itself is dynamic.
What's the simplest way to do this? Under old Win32 c... | stackexchange/codereview |
I have a boolean field in a MySQL database. When displaying the selected rows from the DB on the datagrid in C#, I want this field to be displayed as "true" or "false".
Can somebody help me out in telling how can I do it?
| stackexchange/codereview |
I have 2 tables
SCHOOLS (ID, SCHOOL_NAME, CITY_ID)
STUDENTS (ID, STUDENT_NAME, SCHOOL_ID).
I want to list schools in a particular city along with the student count (School Name| Student Count)
One way to do this is to have co-related subquery -
select sh.school_name,
(select count(*)
from student
... | stackexchange/codereview |
I have code that creates an XML document that is difficult to read in a basic text editor. I tried using transformer.setOutputProperty(OutputKeys.INDENT, "yes") which is much better but now when I read the XML back in I have all these annoying text nodes that weren't there before. All these text nodes contain a newli... | stackexchange/codereview |
I'm trying to get PayPal's ExpressCheckout working with Recurring Payments. I've got the first two stages (the calls to SetExpressCheckout and GetExpressCheckoutDetails) but CreateRecurringPaymentsProfile fails with the error below. I'm using a modified version of Paypal's sample code, but I suspect I'm (not) setting a... | stackexchange/codereview |
Is MD5 hashing a file still considered a good enough method to uniquely identify it given all the breaking of MD5 algorithm and security issues etc? Security is not my primary concern here, but uniquely identifying each file is.
Any thoughts?
| stackexchange/codereview |
I asked a question about this yesterday and got lots of helpful feedback (thanks!) but I don't think I gave enough information in the question - hence, another.
I have two threads which concurrently read two files. They put the information from these files into two ConcurrentQueues. Another two threads then come along,... | stackexchange/codereview |
Section 15.1.3 in RFC 2616 states:
Clients SHOULD NOT include a Referer header field in a (non-secure) HTTP request if the referring page was transferred with a secure protocol
However, I know many browsers have bugs and don't always follow spec, plus it only says SHOULD NOT, instead of MUST NOT. So my question is th... | stackexchange/codereview |
I need to generate automatic sql script of SP, views, triggers etc.
Is there any tool available that i can use where i just need to put in the name for example SP name and it generates a create script for that for me.
sql server 2005
Thanks
| stackexchange/codereview |
I have set up my models to use a polymorphic Image model. This is working fine, however I am wondering if it is possible to change the :styles setting for each model. Found some examples using STI (Model < Image) However this is not an option for me, because I am using a has_many relation.
Art
has_many :images, :as => ... | stackexchange/codereview |
I'm hoping to hear your recommendations on using paperclip for images with versioning.
Anyone know of any elegant paper_clip image, versioning implementation solutions?
Use Case, User Uploads an image. User then uploads an image to replace the previous update. The user can see a trail of images.
Thank you
| stackexchange/codereview |
I have a checkbox in my view:
<%= check_box_tag 'remember', '', false, :class => 'chkbx' %>
Now when the user clicks the 'submit' button, I need to:
1. create a cookie
2. set the expiration to 1 year from now IF the user checked the checkbox.
How can I do this?
| stackexchange/codereview |
i have a transaction table like this
cust_id | item
---------------------
1 | book
1 | shoe
2 | book
3 | shoe
how can i use SQL command to find customer who bought book and shoe together?
so, the result can be only customer 1.
I need to do Apriori project, iv try to google, but i dunno the cor... | stackexchange/codereview |
I want to add HTML like this:
<div><img src="item.png"/> <a href="#"><span>Hello</span></a></div>
but in some cases I need to get rid of the wrapping a-element, so it looks like this:
<div><img src="item.png"/> <span>Hello</span></div>
This a-element could be anywhere in arbitrary HTML-fragments. I grab it ... | stackexchange/codereview |
Good night,
I have an SQLite query which I am executing in C# using the ExecuteScalar() command. The result in an Object type variable which is in fact a value of type Int64. As I need to cast it to an Int32, I tried first using Convert.ToInt32 and now I am using (Int32)(Int64)Object, although I get the same performanc... | stackexchange/codereview |
I have the following snippet of code in the Validator which basically is used to show an error message. In the error message I would like to show a link by sending it as a parameter in the error message.
if (user != null && formData.getUserId()== null) {
errors.rejectValue("email", "email.already.exists",... | stackexchange/codereview |
The following works without error on OSX 10.6, but fails in the iphone simulator using SDK 4.1
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <netinet/tcp.h>
#include <sys/un.h>
#include <string.h>
int main(void) {
int sock = socket(AF_UNIX, SOCK_DGRAM, 0);
s... | stackexchange/codereview |
Most of the time in C programming it seems that there will be one header file (.h) per code file (.c), for the function prototypes at least.
When would it be appropriate to not have a header file for a code file?
| stackexchange/codereview |
Possible Duplicates:
What does this mean? (function (x,y)){…}){a,b); in JavaScript
What do parentheses surrounding a JavaScript object/function/class declaration mean?
Hi All
I don't know what the following does:
(function(){
// Do something here
...
})(someWord) //Why is this here?;
My questions are:
What's t... | stackexchange/codereview |
I appear to have followed this example (found under "Defining Your Own Event Class"), and my code compiles and runs without error, but I'm not catching the event anywhere.
The code:
class MyCustomEvent : public wxEvent
{
//... stuff here
};
wxDEFINE_EVENT(MY_CUSTOM_EVENT_1,MyCustomEvent);
and later I bind the event:
B... | stackexchange/codereview |
I'm not sure how to make concatenate inside a loop in the same way as this:
For x As Integer = 1 to 10
Me.Button & x & .top = 0
Next
instead of:
Me.Button1.top = 0
...
Me.Button10.top = 0
Any suggestions would be much appreciated,
Thanks :)
| stackexchange/codereview |
I plan on allowing a user to open a modalpopupextender containing a gridview witha Filter text box. I want it so when the user types in a filter, the filter is applied to the gridview and the contents of the gridview is then updated to reflect the applied filter - all without posting back. Also ideally the gridview wil... | stackexchange/codereview |
I'm currently using textmate with the actionscript 3 plugin to get as3 compile support. I'd like to use flash develop though, as it comes with much more, including code suggestions.
Is there any free and/or opensource alternative to flex builder/flash builder 4 that runs on a intel Mac?
| stackexchange/codereview |
Any Xcode project I create from scratch always contain either a sym link to the com.apple.AddressBook.plist file or to com.apple.PeoplePicker.plist in the folder:
Application Support/iPhone
Simulator/(SDK
Version)/Applications/(GUID)/Library/Preferences
Anyone know why this is and how do I go about the app never ... | stackexchange/codereview |
I want an expression language that runs on the JVM and includes support for
math expressions, including operator priority
string expressions, like substring, etc
supports named functions
this allows me to decorate and control exactly who and what functions can be executed.
read/write variables that are "typeless"... | stackexchange/codereview |
Could someone please explain, I do not exactly get the concept.
What is a Byte Array?
Where and when we use it in applications/programs?
what are the advantages and disadvantages of using a byte array?
| stackexchange/codereview |
let's say I want to instantiate a different type of object depending on certain circumstances, so i would instantiate them inside the body of an if statement. The problem is if you want to use that object later, you need to declare it before instantiation. How does one declare a generic object. Is there something si... | stackexchange/codereview |
I'm busting my brains over this issue (it should be straightforward), but can't seem to find a solution so hopefully one of you can help me. I'm trying to store sessions using php's memcache extension.
I'm running MAMP and have installed the extension correctly (I think...it shows up when I do phpinfo), am running th... | stackexchange/codereview |
I am using Adobe Air to get data from SalesForce, and present it in a datagrid.
I am using a query to get the data, and then put it into an arraycollection that is bound to the datagrid, this works correctly and the data is displayed.
I have made the datagrid editable, and I am able to change the values in the datagrid... | stackexchange/codereview |
how do i read any n character from file with c# whole encoding?
i mean not reading byte! i wanna just read one character (any encoding) at a time?
| stackexchange/codereview |
Need to Create a Registry Key using bat file.Can I create Reg Key using Command prompt or a bat file.
The main purpose behind this , I want to create envoirment variable using bat file.
| stackexchange/codereview |
I have a SQL query:
String S = Editor1.Content.ToString();
Response.Write(S);
string sql = "insert into testcase.ishan(nmae,orders) VALUES ('9',@S)";
OdbcCommand cmd = new OdbcCommand(sql, myConn);
cmd.Parameters.AddWithValue("@S", S);
cmd.ExecuteNonQuery();
Error: Column... | stackexchange/codereview |
I'm tring to create a google map in my android app
how can i generate a key using the line command?
i didnt find the line command(im using windows os)
i need all the steps until i get the key in order to send it to MD5
| stackexchange/codereview |
I'm looking for a Tool to do
Test planning
Inserting test results
Searching previous tests and results
Comparing multiple test results
Making reports out of existing test
data
The tests could be almost anything. For example testing performance of a specific software in a specific hardware. The point is that it would ... | stackexchange/codereview |
I would use them to implement factory pattern, for example:
class Types{
static const car = "CarClass";
static const tree = "TreeClass";
static const cat = "CatClass";
static const deathstar = "DeathStarClass";
}
And I would like to use them like:
$x = new Types::car;
Is it possible?
And what if my class ... | stackexchange/codereview |
Given the following code:
status = row[COL_STATUS]
if status == "idle":
row[COL_EDITABLE] = True
row[COL_FONTSTYLE] = pango.STYLE_NORMAL
row[COL_WEIGHT] = pango.WEIGHT_NORMAL
elif status == "DCed":
row[COL_EDITABLE] = True
row[COL_FONTSTYLE] = pango.STYLE_ITALIC
... | stackexchange/codereview |
I'm aware of opening files in readonly mode from shell using vim -R, but how to open a file from inside vim in a separate tab (:tabe <filename>) in readonly mode?
Thanks for your time.
| stackexchange/codereview |
I have spent sometime researching the forum and other places to resolve this but yielded nothing and I have decided to ask.
I have log files containing NMEA sentences. I have stored this sentences which are in hundreds of thousands in mysql database. I have stored the longitudes and latitudes as double datatype. I want... | stackexchange/codereview |
I have set up some database connection parameters on an OpenDS ldap server, using my own schema. It looks as the attached screenshot.
when I try to query the LDAP using following URL, it fails.
ldap://localhost/db-configname=local1,ou=eways,dc=repository,dc=com?db-serverName?sub
I have LDAPAdmin that automatically ope... | stackexchange/codereview |
I'm using simple_form gem for creating Rails forms.
http://github.com/plataformatec/simple_form
All is great, except how do I create a grouped select box? Can't find it in the docs or by google-ing.
| stackexchange/codereview |
I have this java application and ran into a requirement to parse an STDF.
Actually all I needed is to get the FAR,MIR and MRR sections of an stdf file. There exists a stdf4j on sourceforge but I can't use it that much due to lack of documentation.
The resolve was to use the stdfparser which is written in python and is ... | stackexchange/codereview |
Our site takes many different sized thumbnails and converts them to squares for sorting. The squares are 135px x 135px.
Our current setup:
:styles => {
:thumbnail => '135x>'
}
As you can see, this is downsizing the image to 135px height (while keeping the aspect ratio), the foces the width to 135px causing the i... | stackexchange/codereview |
So, those of us who've been answering questions and dealing with bug reports for a while are all deeply familiar with the concept of a "complete, minimal example". You start with a gnarly huge pile of code that's got a weird error, and you want to ask someone about it. But you don't want to send them the whole mess, ... | stackexchange/codereview |
I've been researching on how to do this for about a week and I'm still not sure about the correct approach, in some examples I see the Thread class is used in others I see Invoke is used which has confused me a bid.
I have a GUI program in c# which contains a textBox which will be used to give information to the user.
... | stackexchange/codereview |
I'm trying to modify a GUI. It is hosting a GLCanvas displaying JOGL content.
Here is the code to set it up:
private void setupWindow() {
this.frame = new JFrame(WINDOW_TITLE);
frame.setSize(width, height);
frame.setVisible(true);
frame.addWindowListener(new WindowAdapter() {
public void window... | stackexchange/codereview |
I'm using "Mercurial Distributed SCM (version 1.1.2)" on my Ubuntu.
I'm new to mercurial, and just created a new project on sourceforge.net.
I added some code files, commited some changes, pulled & pushed.
I created some tags "0.1.1", "0.1.2" and "0.1.3" using "hg tag" and now I want to pack it all in a revision zip fi... | stackexchange/codereview |
I am working with FactoryGirl for the first time and have set up my tests for the following controller code
# PUT method
def chosen
answer = Answer.find(params[:id])
if answer.update_attributes({:selected => true})
respond_to do |format|
format.html {
flash[:notice] = "Success"... | stackexchange/codereview |
Can I, without locking, safely call List.AddRange(r) from multiple threads? If not, what sort of trouble would I run into?
| stackexchange/codereview |
Please help me
In my Project when i m starting new activity it is crashing
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.shortnews);
showNewsListView = (ListView)findViewById(R.id.shortnewslistview);
ShortNewsListAdapter listAdapter ... | stackexchange/codereview |
For example: NSString *strWord = "english";
The result NSArray would be something like: e n g l i s h
I think is possible to do it with
[NSString componentSeparatedByCharacter:somecharacter], but I don't know what that character is...
I wrote something like this to extract the character:
NSString *character;
for (int ... | stackexchange/codereview |
I want to convert numbers from 0 to 15 like this:
0000
0001
0010
0011
.
.
.
1111
The problem is that when we convert 2 to a binary number it gives only 10 in binary, but I want to convert 2 to 4-bit binary number 0010.
| stackexchange/codereview |
I'm rather new to WCF and the Entity Framework, so bear with me.
I'm passing objects generated by the Entity Framework through a WCF service, and I want to be able to access said objects with both SOAP and REST. What I have currently works, but the outputted XML seems far more bloated than it needs to be. Here's an exa... | stackexchange/codereview |
Is it possible with an animation to change the Ellipse.Fill from a LinearGradientBrush to a SolidColorBrush or change the gradientStops within the LinearGradientBrush?
| stackexchange/codereview |
Hey guys..
I need a JSP code which uses ONLY AJAX and not .net or php.
It should basically consider of 2 dropdowns, something like COUNTRY NAME and STATE NAME.
The STATE NAME dropdown should get refreshed once when we select DIFFERENT COUNTRY in the COUNTRY DROPDOWN..
Any text before of after the dropdowns should not b... | stackexchange/codereview |
How do I open a .class or .jar file within a Java program?
(remember that .jar files may have more than one class with main(String[] args) method)
(individual question from IDE-Style program running )
| stackexchange/codereview |
Where can I find some tutorial for creating QT applications (with C++)?
How should I start?
| stackexchange/codereview |
Possible Duplicate:
What browsers support HTML 5 / CSS3
I keep hearing about HTML5. If I start learning it and using it, will I have any browser compatibility issues?
I use jQuery considerably. Has it been upgraded to be compatible with HTML5? Basically, is it safe to use HTML5 now, or better to wait?
| stackexchange/codereview |
I want to extract relevant words from a text statement provided by the user.
eg. For a question "How many sides are there in a rectangle?"
The words should be 'rectangles' , 'sides', 'many' , 'how'.
We've discovered that what exactly I'm aiming to do is a NLP Question answer system.
But right now I want to only extract... | stackexchange/codereview |
I have the following code:
def incoming_acceptation(incoming_code)
if invite_code == incoming_code
accepted = true
self.save
true
else
false
end
end
But it does not change and save accepted to true, it remains in the previous state, false.
@i.incoming_acceptation(incoming_code) ... | stackexchange/codereview |
I'm seeing some weird behaviour when using wordexp() in a minimal C program when started within Xcode. I cannot reproduce this by starting the compiled binary from the command line.
#include <stdio.h>
#include <stdlib.h>
#include <wordexp.h>
#include <errno.h>
#include <assert.h>
int main (int argc, const char * argv[... | stackexchange/codereview |
How to separate between items BY Lines in ListView control in WPF ?
| stackexchange/codereview |
I have the following 5 tables:
users(user_id)
books(book_id, author_id)
source_phrases(source_phrase_id, book_id, phrase)
synonym_phrases(synonym_phrase_id, source_phrase_id, reader_id, synonym)
synonym_ratings(synonym_ratings_id, synonym_phrase_id, rater_id, rating)
I am trying to get a query that will select all the... | stackexchange/codereview |
I work on a WPF project with many UserControls and I'm trying to put some sanity in my WPF resources.
A base file contains generic stuff needed by all views, such as colors:
<!-- Resources.xaml -->
<Color x:Key="FlashOrange">#F59500</Color>
Then, a resource file specific to a view needs to reference FlashOrange:
<!-... | stackexchange/codereview |
The NetworkInterface.GetAllNetworkInterfaces method returns a list of all interfaces on the system, but it returns a lot of seemingly garbage interfaces too like
xxxx::xxxx:xxxx:xxxx:xxxx%12
::1
in addition to "normal" ones like
127.0.0.1
192.168.0.3
etc
I only want keep these "normal" ones. What criteria (properties,... | stackexchange/codereview |
I create a Setup for my project in Visual Studio.I want to change the progress bar status Text at runtime.The default status text is "Please Wait" .To change the Status Text I call the API method "MsiGetMode" .But there are two parameter of this method one is "install (Handle to the installation provided to a DLL custo... | stackexchange/codereview |
I need to copy the strings from text box to struct. is there any way to do it? here's what am trying:
public unsafe struct mystruc
{
public byte[] install_name; // size limit 32 bytes
public byte[] install_id; // size limit 4 bytes
public byte[] model_name; // size limit 4 bytes
};
private void read_b_... | stackexchange/codereview |
I'm exploring OpenID for a new "hobby" project. Mostly just to learn how it works and have downloaded the DotNetOpenAuth samples and looked at the Nerddinner implementation.
And I have a couple of questions.
What do you store locally to identify returning users (role management, their posts, whatever)? What I see is p... | stackexchange/codereview |
I have the following code:
btnTest.Click += (sender,e) => SomeAction()
why does this code works in WinForms and not in asp.net. In asp.net I had to do the following:
btnTest.Click += new EventHandler(SomeAction);
target framework in both cases is .net 4.0
| stackexchange/codereview |
I have an xml file saved and this is what I want to do,
when some one click the link that contains an xml file, I want them to ask the question if they want to save or open the file.
I know there is a way to do this using http header to send and trick your brower into using the application/octet-stream mime type, but I... | stackexchange/codereview |
I read a few questions regarding the Firefox "Script Stack Space Quota is Exhausted." The answers are usually "work with less data".
However, how much "JSON" data we process is not the issue. We created a very small template, then loaded over 700 products with that template without an issue.
The problem seem to be ho... | stackexchange/codereview |
Possible Duplicates:
Good tutorials for lambda
Lambda Explanation and what it is as well as a good example
C# Lambda expression, why should I use this?
Can someone explain to me how to use this and give me examples? How do we read it?
Example != is read as "not equals to." So => means what?
| stackexchange/codereview |
I'm doing a C# project window service. 1st time doing it.
I have managed to installed and checked that it is working.
1 thing that puzzle me is that when I see the event log, I notice all or almost all of the other services has its own Event ID. However in my project, I can't find the place to put this event id.
Only... | stackexchange/codereview |
Imagine having a 4x4 square, with 16 smaller squares inside of it, with associated data on what the squares should look like (ie., opacity, colour, etc...).
Is there an existing, efficient, algorithm, for converting this set of squares into an open-gl compatible triangle strip?
| stackexchange/codereview |
I want to convert the text entered by someone into a textbox into a double(for example), and automatically set up the value of an bean field with that double.
| stackexchange/codereview |
I have a class that is able to serialize and deserialize with ease after my WPF application has loaded. I am now trying to add in the ability to load a project on startup when passing in the project file. Unfortunately, it is throwing an InvalidOperationException stating:
There is an error in XML document (2, 2). ---> ... | stackexchange/codereview |
I have this dynamic string
"ZAN ROAD HOG HEADWRAPS The most
popular ZAN headwrap style-features
custom and original artwork"
EDIT
How can I check all the capital words then if I encountered a ucwords() or title case word then I will automatically add a '--' after the last capital word?
Note: The capital words are... | stackexchange/codereview |
According from Emulator Color Depth on Windows Phone 7 forum, I just heard about limitation of Silverlight on Windows Phone 7 that it display only 16-bit color-depth image on Silverlight application just like previous version of Windows Mobile.
Is it true? Anyone can confirm this.
PS.Normally, Silverlight natively supp... | stackexchange/codereview |
I have two silverlight applications on the same page that use the same methods from the same classes on page load.
This causes issues in firefox (firefox doesn't respond and shuts down/crashes), but it is okay in IE and chrome.
Is there a reason for this?
| stackexchange/codereview |
I have a timestamp column tradedate in one of the DB(Oracle) tables.
I am using hibernate as the persistence layer to fetch and store Data to DB.
I have a requirement in which I need to query the DB on date.
i.e From UI the user passes a date and I need to get the filtered data based on this date.
If the tradedate col... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.