instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
My Problem is in brief below: This is done using PHP, JS, Smarty and HTML
<form name="todaydeal" method="post">
<span id="fix_addonval"></span>
<input type="radio" name="offer" id="offer_{$smarty.section.mem.index+1}" value="{$display_offers[mem].offervalue}" onclick="return sel_bees(this.value);" /... | stackexchange/codereview |
I am deserializing some JSON using the TouchJSON framework. The array of dictionaries that comes from the parsing is used to populate a UITableView.
There is a chance that some of the values in the JSON I parse are empty. This results, if I NSLog it to the console, in the values looking like this:
id = 1234;
title = "H... | stackexchange/codereview |
Setup
Python 2.6
Ubuntu x64
I have a set of unique integers with values between 1 and 50 million. New integers are added at random e.g. numberset.add(random.randint(1, 50000000)). I need to be able to quickly add new integers and quickly check if an integer is already present.
Problem
After a while, the set grows too... | stackexchange/codereview |
Actually both tables are the same, and I just need to merge data. Problem is that one column is defined with XML shema, which is same in both tables, and for my query I am getting this error from sql server studio:
"Implicit conversion between XML types constrained by different XML schema collections is not allowed. U... | stackexchange/codereview |
I need a tool/lib to generate UML diagrams from source of a custom programming language grammar. Is there a tool with API or another method to relatively easily tell to generator how it should to interpret the grammar. I have full control of the programming language lexer.
Ask to specific clarification if you have some... | stackexchange/codereview |
What is the best way to get the type of an attribute in Active Record (even before the attribute has been assigned)? For example (this doesn't work, just the goal):
User.new
User.inspect(:id) # :integer
User.inspect(:name) # :string
User.inspect(:password) # :string
User.inspect(:updated_at) # :datetime... | stackexchange/codereview |
I have a custom component in a repeater. This component has a child component which can be of two types depending on some conditions. What I did was use an UIComponent as a place holder.
In the repeated component, lets say RepeatedComponent :
<mx:VBox>
<mx:UIComponent id="placeHolder"/>
</mx:VBox>
And I'm doing thi... | stackexchange/codereview |
Good DAy All,
Its my first time here, great to meet you guys.
I hope to create a spreadsheet that allows to calculate payroll in a restaurant.
The following entails what i hope to do, but sadly i know nuts of how to go about doing it as i have no experience in VBA at all.
1) To create spread sheet A with one cell to al... | stackexchange/codereview |
I have two strings one with a double-byte value and the other is a single byte-one. The string comparison result returns false, how do I get them to compare correctly after ignoring the single-byte/double-byte difference?
string s1 = "smatsumoto11"
string s2 = "smatsumoto11"
In the same scenario, if you have a nvarcha... | stackexchange/codereview |
How can I catch QTreeView deselected event?Is there in QT this type event? Thanks
| stackexchange/codereview |
As you guess am still a newbie, getting my head around iphone development.
I am just trying out basic view loading on demand, which i cant get to work
I have an app, with 2 view controllers, each view controller connected a different nib file.
I am trying to switch between view manually; there is no navigation control ... | stackexchange/codereview |
I have a Perl script that can be called as
perl mysrc.pl -a=3 -b=4 -c=6
or as
perl mysrc.pl -t=15
Basically, (either provide value for t) OR (provide values for all of a, b and c). Atleast one of the groups of values has to be specified.
How do I say the above in syntax?
perl mysrc.pl
[-a=<value of a>]
[-b=... | stackexchange/codereview |
My rails erb view page is not updating with my changes.
I have made changes to my index.html.erb file directly. I restarted the WEBrick. killed -9 all running ruby processes. Clear browser cache, opened page in a different browser. No dice.
Rails 2.3.8
Ruby 1.9.2
gem 1.3.7
I search stackoverflow, found some matches not... | stackexchange/codereview |
By refering code at
http://initd.org/psycopg/docs/extras.html#dictionary-like-cursor
>>> rec['data']
"abc'def"
>>> rec[2]
"abc'def"
I was wondering how they manage to make a data structure having both tuple and dictionary characteristic?
| stackexchange/codereview |
I have seen many BlackBerry phones with text to speech that reads the user's mail.
I want to make an application which reads text.
| stackexchange/codereview |
I am to have a label/textfield with some information. Problem is that a RichTextField will change to a grey color when inactive so the user cannot edit the information, and the label's text will not linebreak with the resizing of the window. What is the best approach to show text that will follow the size of the parent... | stackexchange/codereview |
(WinXP Pro, ActivePerl 5.10.1, and XML-SAX 0.96 used)
MyXML.xml as this
<?xml version="1.0" standalone="yes"?>
<DocumentElement>
<subItem>
<bib>0006</bib>
<name>Stanley Cheruiyot Teimet</name>
<team>肯尼亚</team>
<time>2:17:59</time>
<rank>1</rank>
<comment />
<gender>Male</gender>
<dista... | stackexchange/codereview |
I have class named Person and it looks like this.
public class Person{
public Person(){}
private Long id;
private String firstName;
private String lastName;
private Supervisor supervisor;
//setters and getters
}
public class Supervisor{
public Supervisor(){}
private Long id;
private String firstName;
private String... | stackexchange/codereview |
How should I show on the class diagram that fnc of this class uses some extra params not listed in the class declaration?
For example:
template<class SomePolicy>
struct SomeClass
{
template<class T>//<= here fnc uses param type not listed in class decl.
void f();
};
| stackexchange/codereview |
Ok so I'm working on my homework and am having trouble figuring out how to multiply with SQL and how to get this to order correctly.
I am supposed to "create a query that lists players (player_name), current salary and a new (created) column that reflects a 10% increase in salary (calculated as salary * 1.1). Order the... | stackexchange/codereview |
How to audit DDL statements in oracle 10g and clear audited data before 30days... Thank you.
IN EDITION:
How can I turn on auditing on "ALTER TABLE" statement? when I run AUDIT TABLE; or AUDIT ALTER TABLE; or AUDIT ALTER ANY TABLE; Audited information can't be seen in AUD$ or DBA_AUDIT_TRAIL views.(Just event when syst... | stackexchange/codereview |
Hi
I have a confusing problem with the Autoscroll implementation in my own app.
I Want too set up a image gallery and when the debugger gets to the part of the code
if (! [thumb isMemberOfClass:[ThumbImageView class]]) continue;
i get an error
Undefined symbols: ".objc_class_name_ThumbImageView", referenced from:... | stackexchange/codereview |
I have a tabcontrol in mainpage. I want to add close button to header template of tab items. How can i add header template to tabitems in c# code. please help..
| stackexchange/codereview |
I have definitely used this code before, but this time around it throws an error.
My code:
$(document).click(function (e) {
var getPoint = document.getElementFromPoint(e.pageX,e.pageY);
alert(getPoint);
});
And I get the following Error:
document.getElementFromPoint is not a function
| stackexchange/codereview |
is there a way to create an array containing all the public vars from a class without having to add them manually in PHP5?
I am looking for the quickest way to sequentially set a group of vars in a class
| stackexchange/codereview |
I have been using wsgi on app engine to great success and now i want to use a similar setup on a fedora core 8 machine. how do i go about doing it?
I am using yum and i have installed mod_wsgi but i don't know how to implement it. I have mod_python working already
Thanks
| stackexchange/codereview |
After following through the samples of Rx.NET, I'm gob smacked at how brilliant the concept and implementation of Reactive Extensions are. It appears to offer developers a more maintainable pattern for achieving the same sort of multi-threaded parallel coding that .NET 4.0's task parallel library offers.
Will Rx.NET su... | stackexchange/codereview |
I generate an excel spread-cheat with c# and I want to freeze the first column.
This is the code that I use :
public static void SaveToExcel(object[,] data)
{
Excel = Microsoft.VisualBasic.Interaction.CreateObject("Excel.Application", String.Empty);
Excel.ScreenUpdating = false;
dynamic ... | stackexchange/codereview |
OK i've got my json string built but i'm not sure what to do next??
$('#submit').live('click',function(){
var dataString = '[';
$('#items tr').not(':first').each(function(){
var index = $('#items tr').index(this);
var supp_short_code=... | stackexchange/codereview |
Because the quotation mark is a special character is there a way to replace all quotation with nothing
Original Query
Update table X
Set mycolumn = Replace(mycolumn,''','')
Where mycolumn like '%'%'
Error
(Incorrect SQL Syntax - Unclosed quotation mark after the character string ''')
| stackexchange/codereview |
I have a situation where I have two config files.
A base config which resides in a parent directory, and a sibling config in a sibling directory.
To date, the sibling looks to the parent with a simple
require_once "../parent_config.php";
However I now want to pass the sibling into a new class system. I can pass an ex... | stackexchange/codereview |
Is there any PowerShell equivalent for:
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
? Or how to set the force all stringfications to obey a culture independently from the machine configurations?
| stackexchange/codereview |
I want to use MvcSiteMap to define a sitemap of my controllers and actions, to let me generate breadcrumbs and menus.
I have tried using the below decorators to add nodes programmatically, but unfortunately it will not make my tree like I want.
[MvcSiteMapNodeAttribute(Title = "Home"]
[MvcSiteMapNodeAttribute(Title = "... | stackexchange/codereview |
Lets's say you have 2 classes ToolBar and DrawingToolBar. ToolBar is to serve as a base class for various other toolbars, for various tools. ToolBar handles the basic 'toolbar-y' stuff like opening, closing, dragging, dropping, etc. The DrawingToolBar adds functionality that is specific to a particular tool - tool-spec... | stackexchange/codereview |
So I'm trying to use a stored procedure via a cursor and callproc() but I always get the error:
OperationalError: (1305, 'PROCEDURE myapp.LatLonDistance does not exist')
Here's the chunk of code that throws the error in my app:
cursor = connection.cursor()
result = cursor.callproc("myapp.LatLonDistance", (lat1, lon1, ... | stackexchange/codereview |
I have a 'stream_update' table that stores the updates users post to the groups they're subscribed to. The table has the following fields:
id (index, auto increment)
user_id
group_id
stream_update
timestamp
Basically I'm trying to write a query that gets the last stream update for every user in each group they're sub... | stackexchange/codereview |
I just want to access a full list of a user's facebook friends via the API, using PHP
Surely I won't need to authenticate this with the user, as this is public information.
| stackexchange/codereview |
I have a certificate installed and netsh/httpcfg setup. I am trying to create a WCF (.NET 4.0) service in a Windows Service / console app, that has all of the settings prepared programatically so clients can connect with HTTPS and not just HTTP. The documentation I could find seems to lean towards making clients use ne... | stackexchange/codereview |
This is related to my another post multithreading issue with wx.TextCtrl (or underlying GTK+), which after correction with calling GUI interactions from primary thread, I find it again comes to the pipe block buffering problem. so How to get spontaneous output from the subprocess.stdout?
To be in short, currently I am ... | stackexchange/codereview |
How does JAX-WS map an XML schema date (xs:dateTime) to a Java Date? In particular, if a JAX-WS server receives an xs:dateTime that contains a time zone, does JAX-WS translate the date to the server time zone? For example, suppose a server running JAX-WS is given an XML date of 2010-08-20T00:00:00-04:00 and the serve... | stackexchange/codereview |
If you notice, the Number of Views of an Youtube video doesn't change if you refresh the video page multiple times.
Also if you open up the same url on a different browser from same computer it still shows old count.
Any guess what can be their logic of maintaining this view count?
Do they have 2 count fields and they ... | stackexchange/codereview |
I've written some python code to accomplish a task. Currently, there are 4-5 classes that I'm storing in separate files. I'd now like to change this whole thing into a database-backed web app. I've been reading tutorials on Django, and so far I get the impression that I'll need to manually specify the fields and their ... | stackexchange/codereview |
The MSDN docs state:
In Silverlight, the BeginInvoke method that is automatically defined on all delegate types always throws a NotSupportedException, so you cannot use it to make asynchronous method calls on thread pool threads.
But doesn't state why.
Anyone have an idea?
| stackexchange/codereview |
I have a FileUpload control, and when I select the file
'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.txt'
, (which I can create in Windows with no problem), it is saying that it does not have a file when I postback.
It works fine for smaller file names. What's going on?
| stackexchange/codereview |
I'm trying to create a function to read Morse code from one file, convert it to English text, print the converted text to the terminal, and write it to an output file. Here's a rough start...
#define TOTAL_MORSE 91
#define MORSE_LEN 6
void
morse_to_english(FILE* inputFile, FILE* outputFile, char morseStrings[TOTAL_MOR... | stackexchange/codereview |
Sorry for beginner's questions but I wonder how can I set the root servlet in Tomcat 6?
For example I want to access my servlet on
localhost:8080, not on
localhost:8080/myservlet
Thanks!
| stackexchange/codereview |
Hey, im having this issue with cakephp, bascially i have a Has And Belongs To Many (HABTM) model relationship.
My models are Categroy and Project
bring all project data is fine, it comes out as [0]['Project'], [1]['Project'] ...etc
but when i use the relationship and pull out projects with certain categories in the cat... | stackexchange/codereview |
I need to detect in a method if its caller has internal access to my assembly. That is, if it is a) code in the same assembly or b) has a InternalsVisibleTo relationship with my assembly. Ideally the check should be fast.
What are my options?
UPDATE:
I would also be partially satisfied if there was a good solution for ... | stackexchange/codereview |
I am trying to upload an image from the iPhone to a Ruby on Rails (RoR) server and I am getting the following error:
!\ FAILSAFE /!\ Thu Nov 11 23:51:39 CET 2010
Status: 500 Internal Server Error
bad content body
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/utils.rb:319:in `parse_multipart'
The communication to th... | stackexchange/codereview |
I have a user defined function in SQLite (an aggregator that calculates the product) and it works fine outside R. But I'm on a Mac some of the time, which requires the MacPorts version of SQLite3 if you'd like to add your own functions/extensions.
Can I pick which SQLite3 that RSQLite loads? I don't see anything in the... | stackexchange/codereview |
I need to insert HTML 5 video tag to some places of HTML document, being parsed with Nokogiri.
Since it does't supports HTML 5 (afaik), it throws an exception, because the document is not valid in terms of HTML 4.0.
Is it possible to switch the validation off ?
| stackexchange/codereview |
How do I analyze the core dump (using gdb)
which is not compiled with -g GCC option ?
| stackexchange/codereview |
My application is going to send huge amount of data over network, so I decided (because I'm using Linux) to use epoll and splice. Here's how I see it (pseudocode):
epoll_ctl (file_fd, EPOLL_CTL_ADD); // waiting for EPOLLIN event
while(1)
{
epoll_wait (tmp_structure);
if (tmp_structure->fd == file_descriptor)
... | stackexchange/codereview |
I understand that bigint is not a function but rather a type constructor. That's why this fails:
// Won't compile
let foo = 10 |> bigint
I understand that I can create a new function which accepts an integer and returns a bigint, and then the pipeline operator will work.
However, I don't understand why this works:
le... | stackexchange/codereview |
I need some way to get the Name of a Type, when type.IsGenericType = true.
Type t = typeof(List<String>);
MessageBox.Show( ..?.. );
What I want, is a message box to pop up with List showing... how can I do that?
| stackexchange/codereview |
I'm building a Flex web application where there is an option to export data from a table to a CSV format (theoreitcally, so far, haha). Since it's a web application, I assumed the best way to go about this would be to send a request to the server to generate the file, and then either send that file (or a link to it) ba... | stackexchange/codereview |
is vb.net row-major or column-major in 2d array allocation?
| stackexchange/codereview |
Is there a method in which I can iterate through all objects that exist within an instance of JavaScript, regardless of the JavaScript engine that is being used? I'm not interested in iterating through the DOM of a web page. What I want to know is if there is a way that I can iterate through all standard library obje... | stackexchange/codereview |
I am discovering Pentaho DI and i am stuck with this problem :
I want to insert data from a csv file to a custom DB, which does not support the "insert table" step. So i would like to use the sql script step, with one request :
INSERT INTO myTable
SELECT * FROM myInput
And my transformation would like this :
I do... | stackexchange/codereview |
I have a many-to-many relationship in my Entity Framework 4 model (which works with a MS SQL Server Express): Patient-PatientDevice-Device. I'm using Poco, so my PatientDevice-class looks like this:
public class PatientDevice
{
protected virtual Int32 Id { get; set; }
protected virtual Int32 PatientId { get; se... | stackexchange/codereview |
having a little trouble with a mapping for the following table setup currently:
Shop
[1] [1]
/ \
[n] [n]
Category-[m]---[n]-Article
The behaviour should be the following :
1 - when deleting a shop, all Articles and Categories Should be ... | stackexchange/codereview |
I'm trying to put a watermark on my images, but the script can't find my watermark image. I'm doing this dynamically, so for each user there is a watermark in the watermarks folder. When trying to use this code:
session_start();
$username = $_SESSION['_user_login'];
// Set the path to the image to watermark
$input_ima... | stackexchange/codereview |
Can anyone give an example of pom.xml dependencies configuration that will make OpenEJB to use slf4j logging, instead of JCL (this is what it uses now, as I understand).
see also How to configure OpenEJB logging?
| stackexchange/codereview |
I had table indatalist and I had to find id of tr in table I did my code but error apeared (object refrence...).
aspx:
<asp:DataList ID="DataList2" runat="server" RepeatColumns="4"
RepeatDirection="Horizontal" onitemdatabound="DataList2_ItemDataBound">
<ItemTemplate>
<table width="90%" bor... | stackexchange/codereview |
I haven't touched .NET and SQL in a while and I will need to go abroad in 10 days and work on these technologies. I don't need to learn them from scratch since I was quite familiar with these languages a year or two ago. What I would like to know is how can I refresh my memory after all this time in just 10 days?
| stackexchange/codereview |
This function is fine, but it doesn't do what I would like it to, but I hav eused it to make sure the use of objects is OK:
let getStreamData_ok (uri:string) =
let request = WebRequest.Create uri
use response = request.GetResponse()
use stream = response.GetResponseStream()
use reade... | stackexchange/codereview |
I have a project that uses Java and Groovy intermixed. This works very well.
However, I want to create the javadoc for this. I know the javadoc creation for plain java projects. But for a combination of Groovy and Java, I have not found such a tool. Is there something out there?
| stackexchange/codereview |
I have an application which is sending me JSON object. Now I want to see how this json data structure in javascript alert something like this. How can I do that?
| stackexchange/codereview |
Here's the question:
set Pathname = C:\Program Files
cd %Pathname%
pause
The above doesn't change the directory, as I would expect. Can anybody please tell me why?
| stackexchange/codereview |
Consider the following objects:
Public MustInherit Class FileRepository
Public MustOverride Sub SaveStringToFile(ByVal FileText As String, ByVal FilePath As String)
Public Event FileSaved(ByRef sender As Object, ByVal EventArgs As EventArgs)
End Class
Public Class XMLFileRepository
Inherits FileReposito... | stackexchange/codereview |
I have an Eclipse RCP application with many plug-ins. Each plug-in have its own perspective with new views or shared views.
I need to create a separate application based on the original one with the plug-ins.
This application will act as a permissions configurator for each plug-in/perspective.
To do that I need to do t... | stackexchange/codereview |
i am using UITable View cell for the TableVirewController
its working fine but i want to know one thing,performance wise is it good or writing complete code in
"cellForRowAtIndexPath " method
which one is better for efficiency
| stackexchange/codereview |
I have this form:
Markup is:
<table style="width: 100%; padding:5px;">
<col style="width: 20%; text-align: left" />
<col style="width: 80%; text-align: left" />
<tr>
<td>
<div>
Наименование</div>
</td>
<td>
<dx:ASPxButtonEdit ID="beWorkTypeName" runat="server" AutoPostBack="Fals... | stackexchange/codereview |
Is there any way to login to another machine specifying the password in the script itself??
SSH-keygen wont work for me so i need to specify it in the script
#!/bin/sh
ssh root@201.1.192.21 mysqldump -uroot -pxxxxxx > backup/a.sql
| stackexchange/codereview |
I would like to change the background colour of the selected item in dropdownlists, listboxes, and textboxes. Is this possible with CSS?
Thanks
UPDATE
Just tried this CSS:
::-moz-selection
{
background-color:#8CCA1E;
color:Black;
}
Works great for selected text but not for hover colours or selected item colou... | stackexchange/codereview |
In order to simulate the "regasm file.dll /codebase" execution during Install, we run Heat.exe on the file.dll we want to add to registry. Then we add the generated content to our installer.wxs file, and everything works.
We would like to automate the process, so that we don't have to manually run Heat.exe each time th... | stackexchange/codereview |
I am currently writing a C# web service which has several methods, one of which has to receive HTTP POST requests. The first thing i have done is alter the web.config file in the web service project as below.
<webServices>
<protocols>
<add name="HttpSoap"/>
<add name="HttpPost"/>
<add name="HttpPostLocalh... | stackexchange/codereview |
I'm trying to find replace the following
<a href=\"test\">
with
<a href="test">
using sed.
I understand that both the \ and the " need to be escaped, so I do the following:
sed -i "s|a href=\\\"test\\\"|a href=\"test\"|g"
but this doesn't seem to work. Any idea what I'm doing wrong?
| stackexchange/codereview |
I need to make a fork (depending on javascript enabled or not):
<?xml version="1.0" encoding="windows-1251"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="no" encoding="windows-1251"/>
<xsl:template match="someNode">
<xsl:variable name="vNoscript"... | stackexchange/codereview |
Hello I have created an application using qt and I managed to save some of its settings using QSettings.
void DoneIt::writeSettings()
{
QSettings settings("mycompany", "RightDoneIt");
settings.beginGroup("DoneIt");
settings.setValue("size", size());
settings.setValue("pos", pos());
settings.endGroup... | stackexchange/codereview |
I have tab bar controller in my app.
It opens "Quotes of the day" view everytime the user starts the app.
This view is placed in the first tab. It goes away only if user presses a button on the Quotes page.
I want to remove Quotes from tab bar controller. Tab bar should be displayed only when Quotes view is unloaded.
H... | stackexchange/codereview |
I'd like to get an estimate of the number of lines of code that are in the Java AWT package. Version doesn't really matter (Java 5 or 6 is fine). I can't seem to find the source code in any easily-accessible place.
I'm only interested in the java.awt package itself, not any of the java.awt._ packages. Including comment... | stackexchange/codereview |
Within my application I am setting up some actions to allow users to create/edit/delete some options via webservices. While allowing to do this, I needed to implement a timer to stop the people from just repeatedly add, delete, add, delete..... When the user presses the button, I call a method like so [sender setBackg... | stackexchange/codereview |
Is there simpler way to convert CSV files to SQL file than this?:
BufferedReader input = new BufferedReader(new FileReader(new File("c:\\file.csv")));
Writer output = new BufferedWriter(new FileWriter(new File("c:\\file.sql")));
try {
String line = null;
String[] st = null;
while ((line = input.readLine())... | stackexchange/codereview |
I want to convert a doc file to txt file, but some characters are lost, see the following code:
object format = WdSaveFormat.wdFormatText;
doc.SaveAs(ref outputFilePath, ref format,
ref ObjectConstants.False, ref Unknown,
ref Unknown, ref Unknown,
ref Unknown, ref Unknown,
ref Unknown, ... | stackexchange/codereview |
My code is this
// using_a_union.cpp
#include <stdio.h>
union NumericType
{
int iValue;
long lValue;
double dValue;
};
int main()
{
union NumericType Values = { 10 }; // iValue = 10
printf("%d\n", Values.iValue);
Values.dValue = 3.1416;
printf("%d\n", Values.iValu... | stackexchange/codereview |
I am a novice iPhone programmer
I want to use some of the functions in the private framework
https://github.com/kennytm/iphone-private-frameworks
how should I install them? I tried some ways but it seems that I am doing something wrong.
what I want to use is SpringBoard.framework
| stackexchange/codereview |
I'm coming up against one of those moments working with Rails when I feel that there must be a better way than what I'm ending up with.
I have four querystring parameters that I want to preserve across requests through various parts of a rails app - different controllers and actions, some rendered via javascript - so t... | stackexchange/codereview |
I have created a view using the following code
CREATE VIEW dbo.two_weeks_performance WITH SCHEMABINDING
AS
SELECT dbo.day_dim.date_time AS Date,
dbo.order_dim.quantity AS Target_Acheived
FROM dbo.day_dim
JOIN dbo.order_fact ON dbo.day_dim.day_id = dbo.order_fact.day_id
JOIN dbo.branch_dim ON ... | stackexchange/codereview |
Greetings to my revered experts!
I'm writing a command line tool(similar to ls or cat or uname etc) and I was wondering if there's a best-practice to order the arguments in the usage statement.
I'm confused because, ls's usage statement prints arguments in alphabetical order, where as cat's usage statement does not!
Tr... | stackexchange/codereview |
I'm considering writing a Collada loader for geometry and animation. Could someone describe from a high level how this would be done? If it will take longer than a few weekends of time I may switch strategies so I'm trying to get a feel for what this involves. I tried to read the Collada spec for animation but I didn... | stackexchange/codereview |
I saw System.gc() somewhere on the internet today and I wanted to know if it is or isn't recommended to use in a Flash CS5 project and why.
| stackexchange/codereview |
I have some sgml files that are roughly standardized. However, there can be data contained within a tag that I do not know exists before I open the file and personally read it. For example, the files have addresses and generally the addresses have a street, a city, a state, a zip and a phone. Each element of the ad... | stackexchange/codereview |
Ok, my question's not as broad as it seems, to summarize 8 months effort on my part:
I create chunks of re-usable, extensible XHTML which degrades gracefully and is all kinds of awesome. Most of my code chunks are provided a Javascript interaction layer, and are styled with CSS. I set to work pulling my code chunks int... | stackexchange/codereview |
Any FTP server library package for iPhone/iPad ?
Is DiddyFtpServer good ?
http://code.google.com/p/diddyftpserver/
Thanks.
| stackexchange/codereview |
I have an old database with a gazillion records (more or less) that have a single tags column (with tags being pipe-delimited) that looks like so:
Breakfast
Breakfast|Brunch|Buffet|Burger|Cakes|Crepes|Deli|Dessert|Dim Sum|Fast Food|Fine Wine|Spirits|Kebab|Noodles|Organic|Pizza|Salad|Seafood|Steakhouse|Sushi|Tap... | stackexchange/codereview |
I have a Datagrid filled with a table. Now the vertical scrollbar shows up because the table doesn't fit. That's fine so far. Now in the last column I have defined a Button in the xaml file. All these buttons have the same callback, but I can distinguish from the selectedIndex of the table what this callback should do.... | stackexchange/codereview |
How to run android application on netbeans 6.5?
If i running the application means i got following error,
W/ResourceType( 1968): Bad string block: string #14 extends to 1847, past end at 60
How to resolve this issue?
| stackexchange/codereview |
is it possible to have <li> numbers like this?:
1.1 First Item
1.2 Second Item
2.1 Other item
| stackexchange/codereview |
Problem: My db-host suddently switched my mysql db from one server to another. Unfortunately I has 1 table that was running ISAM, all other tables are MyISAM.
After the switch from one server to another the ISAM table is dead!
PHP sends "Lost connection to MySQL server during query" when trying to SELECT from the dead... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.