instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have made a UITabelView that works nice, but when i now press a link I would like it to go to a new View, which should be different depending on the link choosen. How can i do that? If there is a nice tutorial it whould be nice.
Thanks for the help.
| stackexchange/codereview |
I had my code working earlier in the day on the unix machine, but when compiled under windows it gave me completely strange and incorrect output.
Since our code is going to be marked based on compilation on unix I thought hey that's good enough. But now I just finished refactoring my code (basically just adding comment... | stackexchange/codereview |
I need to convert an integer number to the hex value. It will look like this:
0x0201cb77192c851c
When I do
string hex = int.ToString("x")
in C#, it returns
201cb77192c851c
How can I get the required result?
| stackexchange/codereview |
by default the recycle time for reporting service is 720 minutes (12 hours). It is the reportserver.config file
720
Now it happens every 2 o'clock. so consequently, it happens twice a day 2 AM and 2 PM. Now the problem is we cannot have it recycled during business hours (2 PM). how do I set this to occur only @ 4 AM?... | stackexchange/codereview |
I'm trying to test just how far LINQ can really go. What i'm trying to achieve is property assignments on a list of objects with a single expression rather than for loops. I want to take all items in listA and update the IsMatched property, but only where there is a corresponding item in listB (which is a different typ... | stackexchange/codereview |
I have text in a textbox. The content is "10/BSC/01".
"10" = current year
"BSC" = department
"01" = the roll number of student
If I press a command button the "01" should be incremented without affecting the other fields.
What should I do ?
| stackexchange/codereview |
For this xml:
<elem1 xmlns="http://www.fixprotocol.org/ns/fast/t/1.0">
<elem2>
<elem2/>
</elem2>
</elem1>
I have this schema, which seems to validate fine against w3 schema validation service, and the schema validates the above XML just fine. Sadly, xsd.exe and some other tools report it to be an error. Is that c... | stackexchange/codereview |
Speaking about compiled languages (c# in my case) I think that problem would always remain, no matter how performant your develop machine is. Build time could be more or less depending on concrete environment, but often it's enough to make your attention wanna move from your task to something else like stackoverflow, y... | stackexchange/codereview |
I'm new in Adobe Air, I need (urgente!!!) to do a widget with Adobe Air that monitors the URLs where I navigate and when I enter to a specific site the widget appears in the front of my screen and display a message.
The problem is that I don't know how to listen the current URL of my browser using Adobe air (flash).... | stackexchange/codereview |
I would like to create a div, that is situated beneath a block of content but that once the page has been scrolled enough to contact its top boundary, becomes fixed in place and scrolls with the page. I know I've seen at least one example of this online but I cannot remember it for the life of me.
Any thoughts?
| stackexchange/codereview |
I am trying to make an "More" after 10 posts of the news topics.
To these news topics, there´s some functions, you can click comment, then appears and you comment without going to another page (AJAX call) and some other like this. This works fine on the first 10 posts.
Now when you click More at the bottom of these 10 ... | stackexchange/codereview |
please help me, my problem is:
in one .txt file i have
rpgoCPpref = {
["enabled"] = true,
["button"] = true,
["debug"] = false,
["questsfull"] = false,
["tooltipshtml"] = true,
["tooltip"] = true,
["verbose"] = false,
["scan"] = {
["inventory"] = true,
["talents"] = true,
["glyphs"] = true,
["honor"] = ... | stackexchange/codereview |
CC=g++
CFLAGS=-O0
TARGET=./problem2_cpp
OUTFILE=../output/cpp.txt
$(TARGET): problem2.o
$(CC) $(CFLAGS) -o $(TARGET) problem2.o
problem2.o: problem2.cpp
$(CC) $(CFLAGS) -c problem2.cpp
clean:
rm -f *.o $(TARGET) $(OUTFILE)
run: $(TARGET)
$(TARGET) <$(INFILE) >$(OUTFILE)
I am a rather simple makefile to compile,... | stackexchange/codereview |
It is said that Java is 10x faster than python in terms of performance. That's what I see from benchmarks too. But what really brings down Java is the JVM startup time.
This is a test I made:
$time xlsx2csv.py Types\ of\ ESI\ v2.doc-emb-Package-9
...
<output skipped>
real 0m0.085s
user 0m0.072s
sys 0m0.013s
... | stackexchange/codereview |
this is a Math problem for a 2d game.
Given 2 object ( 2 car, 2 tank, 2...), for each object i know:
1. X, Y
2. Actual Speed
3. Degree of movement (or radiant)
How to calculate the "effect" of a collision for the 2 object
Ps:
I "move" the object with this simple formula each tick of my "game loop":
ychange = Math.S... | stackexchange/codereview |
I'm working on a pretty large data migration project which involves moving data between servers and different active record schemas. The whole migration literally takes days.
How can I implement a caching solution where my Ruby migration code when it calls the Active Record save method writes to a cache (which then up... | stackexchange/codereview |
I want to start programming in Android. I have backgrounds in Java and j2me. As I am new and have budget constraints I was willing to purchase HTC G1 (1.5 cupcake) rather than any 2.2 device. Is that a good idea? (or let me know if there is any lowcost (around $200) 2.2 device) Please give your opinion. Thanks
| stackexchange/codereview |
The popup that gets opened in my app always stays on top. It goes away when i minimize the app. But otherwise if the app opens a new window or if i switch to another program without minimizing the app, the popup stays on top. How do i hide the popup when the app loses focus?
Thanks
| stackexchange/codereview |
Hi i want to move the image left right,down,up directions according to track ball .for this please give me the some code suggestions.Thanks in advance
| stackexchange/codereview |
Nearing what I would like to think is completion on a tool I've been working on. What I've got going on is some code that does essentially this:
open several files and urls which consist of known malware/phishing related websites/domains and create a list for each, Parse the html of a url passed when the method is cal... | stackexchange/codereview |
I'm trying to make an application to receive emails using 'mailman' in RubyonRails3. Can somebody help me provide detail guide on it.
| stackexchange/codereview |
I want to communicate with my serial port in python. I installed pyserial and uspp for linux:
import serial
ser = serial.Serial('/dev/pts/1', 19200, timeout=1)
print ser.portstr #check which port was really used
ser.write("hello") #write a string
ser.close() #
It gives the following error:
Trace... | stackexchange/codereview |
i m facing prob in parsing this obj
{
"id": 1909,
"permalink": "http:some url",
"title": "Voting begins for third phase of Bihar polls",
"excerpt": "some data.",
"date": "October 27, 2010 21:23",
"tags": [
"bihar",
"india-polit... | stackexchange/codereview |
I understand that Image.onabort or Image.onerror fires if image was not loaded successfully. But when is fired which? Can they fire both in some circumstances?
| stackexchange/codereview |
I wanted to adjust the width of the Autocomplete dropdown box of a textbox. I dont want to adjust the width of that textbox, but only Autocomplete dropdown. I know that there is no way I can increase the width of the Autocomplete dropdown by using properties provided with textbox.
Hence I wanted to know whether there i... | stackexchange/codereview |
I am using the to implement a popup window using zIndex... things work well but I want to implement a function, that is when user click any region that is outside of the popup div, the div will be closed, how to do that?
Bin
| stackexchange/codereview |
Default calendar widget of Smartgwt Component shows date as Sun 10/31 ( MM/DD format ) .
http://www.smartclient.com/smartgwt/showcase/#simple_calendar_category
How can I change the date format to DD/MM formatin Calendar Widget ?
Thanks in advance for having a look,
Sachin
| stackexchange/codereview |
I'm downloading from clickonce server new versions of files by my autoupdater. However, any time downloading cycle comes over MyApplication.exe.config file on the server webClient.DownloadFile(remoteFile, localFile) throws a System.Net.WebException with code 500 (internal server error or something like that). At the ... | stackexchange/codereview |
Can anyone give me the approximate time (in nanoseconds) to access L1, L2 and L3 caches, as well as main memory on Intel i7 processors?
While this isn't specifically a programming question, knowing these kinds of speed details is neccessary for some low-latency programming challenges.
| stackexchange/codereview |
Is there an api to do memory mapping, just like
mmap()
on linux?
| stackexchange/codereview |
Is it possible to update multiple tables in Oracle with a single query using join? If so, what is the syntax? My colleague said he had done it in MySQL.
Update- What I am trying to do is something like this
UPDATE table1 t1 JOIN table2 t2 ON t1.id = t2.id SET t1.column1 = 'ABC', t2.column2 = 'BCD' WHERE <condition>
| stackexchange/codereview |
I am using XSLT and XML.
First thing I am going to work on two xml.
First XML:
<?xml version="1.0"?>
<tcm:ListItems xmlns:tcm="http://www.tridion.com/ContentManager/5.0" ID="tcm:232-83752-2" Managed="10682">
<tcm:Item ID="tcm:232-564598" Title="010 News Mapping"/>
<tcm:Item ID="tcm:232-564599" Title="020 CUGOs"/>... | stackexchange/codereview |
<script type="text/javascript">
function goBack(){
setTimeout(function previous()
{ location.href="/dataprod/application/myprofile/profile_contactus.faces";
}, 3000);
}
</script>
<html>
<h:commandButton value="Send Mail to dataprod.com"
action="#{ContactUs.sendMail}" styleClass="button" onClick="goBack()"/>
| stackexchange/codereview |
I have a property file and using Spring property place holder, I set values to the Spring beans. Now, this property file may be modified during the run time. Is there a way to refresh the properties of the Spring beans with this newly modified property value? Especially, I have many singleton beans? How can I refresh t... | stackexchange/codereview |
I have four tabs which the first one inserts data on the database, the other 2 tabs take care of displaying the data using a cursor. here is my problem though when I first start the app and there is nothing on the database if I press one of the 2 tabs it gives me this error:
ERROR/AndroidRuntime: Caused by: android.dat... | stackexchange/codereview |
Is that possible? The reason why am doing this is because I need to parse that variable into a an JQuery function so I wanted JQuery to read that field. Can I Assign that value in base class or I have to do it within default.aspx pageload method?
| stackexchange/codereview |
Scotty did talk about it http://www.hanselman.com/blog/MixMobileWebSitesWithASPNETMVCAndTheMobileBrowserDefinitionFile.aspx and now it'll be gone ?
http://mdbf.codeplex.com/
This project is no longer supported and will be removed on October 29, 2010
What's the substitute then ? my question is rather why it is abandonn... | stackexchange/codereview |
As part of my job, I'm occasionally called upon to evaluate candidates for programming positions. A code snippet recently passed across my desk and my first thoughts were that I wasn't sure code like this would even compile any more. But compile it does, and it works as well.
Can anyone explain why and how this works? ... | stackexchange/codereview |
I cannot get this to work properly, I need the program to list through the records within the file, if $records[$row][2]is the same as the previous, it should repeat class 'field' with a new $records[$row][2], otherwise it should start a new #row. Please help!
if (($handle = fopen('upload/ATLANTA.csv', "r")) !== FALSE... | stackexchange/codereview |
I have a problem with logs display in my eclipse console. The japanese characters displayed in starting and stopping the weblogic server are garbage. There is no problem however with the logs written by the application. I am using log4j.
Log4j.properties
# Log4JLogger\u521d\u671f\u5316\u30d1\u30e9\u30e1\u30bf\u8a2d\u5... | stackexchange/codereview |
I have an html table. I want to set table header as fixed and table body as scrollable.. How can i do this...? Advance thanks...
| stackexchange/codereview |
At the company where I work we are using hg as (d)vcs.
Most of the repositories in use are kept in a cenralized space and served via hgweb.
For ease of use and better user experiance (and overview) I like to have something like gitorious (github, bitbucket).
It should allow
hg as backend (or else I'd install gitori... | stackexchange/codereview |
I am in the process of writing some reports for the number of followers over time for Twitter, however after substantial searches and trial and error, I have not being able to get the number of followers over time - particularly past number of followers.
I know there is an API to get the individual userIds for the fol... | stackexchange/codereview |
I am about to migrate a large web project (many sites using common data) to EC2 and i wondered what would be the best setup (I am very much a newbie with Amazon AWS).
The site pages are rebuilt by scripts once a week and the resultant static pages are served (currently about 7 to 10k views a day). Inbetween the weekly ... | stackexchange/codereview |
tl;dr the questions are at the bottom.
I am a developer trying something new - my last poison is c++. As I am spending half of my time on my linux laptop and the other half on Win XP PC, I tried to find a way to create basic, barebone project, using good c++ practices (well, I don't know them from experience, I just re... | stackexchange/codereview |
Firstly not sure if this is the right place for a question like this, but here goes.
I have a folder structure of
parentfolder/folder1/10-31-2010/file1.pdf
/folder2/10-31-2010/filey.pdf
/folder3/10-31-2010/filex.pdf
/foldern/10-31-2010/filen.pdf
I need to rename the date to 2010-10-31.
This is ... | stackexchange/codereview |
What does the Git index exactly contain, and what command can I use to view the content of the index?
Thanks for all your answers. I know that the index acts as a staging area, and what is committed is in the index rather than the working tree. I am just curious about what an index object consists of. I guess it might... | stackexchange/codereview |
I am loading the images from a server like this...
- (id)init {
self = [ super init ];
if (self != nil) {
covers = [ [ NSMutableArray alloc ] init ];
for(int i = 1; i < 6; i++) {
NSLog(@"Loading demo image %d\n", i);
UIImage *image = [ [ UIImage alloc ] initWithData:
[... | stackexchange/codereview |
i've got this struct
[Serializable]
public struct Foo : IConvertible, IXmlSerializable, IComparable, IComparable<Foo>
{
private readonly int _value;
private Foo(int id)
{
this._value = id;
}
private IConvertible ConvertibleValue
{
get
{
return this._value;
... | stackexchange/codereview |
I have a JPanel which draws .png images. each image has 2 copies to signify whether or not it has been selected. One image is normal and one has a colored border to signify the selection has been made. (You can think of these images as simple shapes for the sake of argument)
Which version of the image is drawn is deter... | stackexchange/codereview |
$strBody="<TABLE cellSpacing=0 cellPadding=0 align=center border=1><TR><TD align=left valign=top><font face='Verdana, Arial, Helvetica, sans-serif' color='#000000' size=2>Name</font></TD><TD colSpan=2><font face='Verdana, Arial, Helvetica, sans-serif' color='#000000' size='1'>".$_SESSION['fname']." ".$_SESSION['lname... | stackexchange/codereview |
I'm already set its debugging option to true,but when there's error in smarty template(i.e. there is no corresponding plugin for a specific smarty_modifier),nothing is output for information.
UPDATE
For anyone that wants to have a try,this is the most simple template I can think of :
{$var|nosuch_modifier}
| stackexchange/codereview |
I was looking up something, and stumbled upon this code:
http://google.com/codesearch?q=kBrowserThreadNames
Where can I find the source for base::Thread?
(Thing is, in debugging something running under firefox.exe, I notice Gecko_IOThread is setting it's thread name in some kind of way and wanted to look up how.)
| stackexchange/codereview |
I would like to do changes only for a specific tab. How can I do it?
I tried both:
QTabBar::tab#tbGeneral{... }
QTabWidget::tab-bar#tbGeneral{... }
None worked.
| stackexchange/codereview |
I'm just reading about malloc() in C.
The Wikipedia article provides an example, however it justs allocate enough memory for an array of 10 ints in comparison with int array[10]. Not very useful.
When would you decided to use malloc() over C handling the memory for you?
| stackexchange/codereview |
I want to ask a question about the JavaScript event. I have an <input type="text"> box and I have applied the autocomplete function on that box.
I know that when the user types the char like "sta" in the box and the JavaScript will call the keypress event, which also calls the autocomplete function.
However, I want to... | stackexchange/codereview |
Is it able to capture the timeouted transactions on SQLServer or Oracle database by using C#/.NET? Currently I am working on a windows service which needs to monitor a specific data table in SQLServer or Oracle but I don't know how can I implement such kind of requirement.
| stackexchange/codereview |
i have
...
TDispPitch = class
private
iLineSize: Integer;
iLineColor: TColor;
bDisplayAccent: Boolean;
bVisible: Boolean;
published
property LineSize : Integer read iLineSize write iLineSize;
...etc
end;
...
and i wanted this feature shown in Object Insepector to edit the settings.
i tr... | stackexchange/codereview |
I have an Android app that has both CursorAdapter based ListViews (backed by sqlite) as well as custom BaseAdapter based ListViews which are built on the fly from JSON pulled down from a server.
The data displayed in both is identical - an image and a couple of TextViews. My Cursor-based ListView has 3000 rows, the JSO... | stackexchange/codereview |
I currently have some code which iv used to export a table from the data I have
require 'fastercsv'
def dump_csv
@users = User.find(:all, :order => "lastname ASC")
@outfile = "members_" + Time.now.strftime("%m-%d-%Y") + ".csv"
csv_data = FasterCSV.generate do |csv|
csv << [
"Last Name",
"First Name",... | stackexchange/codereview |
I created my own updater application that connects to the web and check if my application with all the files is updater or not and download and install the updated components..
and works fine and is ok!
My question is this...
is there any way to update the updater?
I don't know how, but something that close the program... | stackexchange/codereview |
What is the delegates in Objective-c ?
and what is the delegates methods. ?
any one can explain with one example.. please.
tnax and regards.
| stackexchange/codereview |
In my example below, why do I have to fully qualify the name of the free function in the cpp to avoid linker errors and why does it work for the class function without? Can you explain the difference?
ctest.h:
namespace Test
{
int FreeFunction();
class CTest
{
public:
CTest();
... | stackexchange/codereview |
I need to load whole table into div with $.ajax, but after that, Datatables won't work. Can i do something about it?
| stackexchange/codereview |
I am using jquery for form validation. Rest is well except the confirm password field. Even when the same password is typed, the Please enter the same password. is not removed.
My script is:
<script type="text/javascript">
$(document).ready(function() {
$("#form1").validate({
rules: {
pass... | stackexchange/codereview |
In my website(php based) I want implement a rate calculator of DHL. I want to add 3 fields-1.Origin, 2.Destination and 3.Weight. These 3 values will be sent to DHL server and in return I want to have the RATE. How can I do that?
In another section, I will add more field (address, product hts code, etc.) with those 3 t... | stackexchange/codereview |
I'm writing a small ruby program to play with Twitter over OAuth and have yet to find a right way to do the HMAC-SHA1 signature. So far, I messed around with
Base64.encode64(OpenSSL::HMAC.hexdigest(digest, key, stuff)).chomp
But this outputs something that Twitter rejects, not being a valid signature. I actually solv... | stackexchange/codereview |
I have an OpenLayers map object, and I have added markers to a layer, and added it to the map.
But how do I make sure all the markers are in the display area?
Thanks,
Gil
| stackexchange/codereview |
I am using a multiline textbox for publishing a note but taking the content in a div through inner HTMl.
like this
divMessageDescription.InnerHtml = dbreader["Message"].ToString();
but now for a particular group of people I want to make the read only property of this div as false..
Can I do this ???
| stackexchange/codereview |
I have online ebook store. how can I create a pdf reader so that user can read 5-6 pages as demo or sample of my ebooks.Or is there any way to display 5-10 poages of my ebook.
| stackexchange/codereview |
Im executing query but there is an error:
Could not allocate space for object 'dbo.User2User'.'IX_User2Id' in database 'MyDatabase' because the 'PRIMARY' filegroup is full.
Is enabled autogrowth by 10 MB without any restrictions on size.
Thanks for any ideas how to cope with that
| stackexchange/codereview |
School going kids wear a certain uniform on respective days within a week.
(e.g. for boys = White half pant, white shirt, tie of a certain color, belt ..)
(e.g. for girls = blue checked frock, navy blue pinafore, black shoes with navy blue socks and belt). They will have different variations to wear on different days.
... | stackexchange/codereview |
Here's the code I'll be talking on (keep this in mind throughout this post):
File: index.php
/**
* Base class used when created a new application.
*/
class App {
public function do_something(){
}
}
/**
* Class used, among other things, to manage all apps.
*/
class Apps {
public static function _init(... | stackexchange/codereview |
I'm using an MVC framework. I have a URL like example.com/submit which displays a form that submits to itself, but I also want it to support programmatic submission (like an API). How can I find out if the url is being called by someone who typed the url and filled out the form and submitted it, or by someone who is do... | stackexchange/codereview |
I've written a program that converts a SQL Server table into a SQLite table. This is a C++ program using ADO (COM) to retrieve the data from SQL Server and the C SQLite interface (wrapped by my own C++ class).
In SQL Server, I have a record with a field having the contents:
HÄAGEN-DAZS
(That first A has two dots over i... | stackexchange/codereview |
I'm making a simple program that compile and make a jar file but i don't want to use a build.xml (and then invoke it with exec).
but i want using ANT API(for example:org.apache.tools.ant.Task)
Any Help?
| stackexchange/codereview |
I am developing an App using Titanium for iPhone and Android. I created a button and a label and textfield. It looks good in iPhone but is scattered in Android.
I think I have to adjust the each of the control's position. But this would be a big overhead.
Is there any alternative mechanism there by which we can have c... | stackexchange/codereview |
I have 100s of such methods and each method is called more than thousand times.
Here with each call a new SqlConnection is created)(taken from pool). Though the methods are small and control immediately leaves the method and SqlConnection is supposed to be collected by GC.
Method()
{
MyComponent adapter = new My... | stackexchange/codereview |
I've got the following problem - I am replicating only selected columns from the table A. There are different updates performed at the publisher that update records in this table. There are many updates performed that affect only columns that are not replicated in the table A. However, in such cases, the replication en... | stackexchange/codereview |
I have created a Category's attribute that I want to use on the frontend. I tried to access it the same way as we do for products but it doesn't seem to be working. How can I show the custom attribute on the frontend? Any guesses?
Thanks
| stackexchange/codereview |
I am developing a java app for invoking sql stored procedures. There would be many stored procedures which would have different IN and OUT parameters. The procs to be called would be configured via XML file. The java app would just basically run a proc (at a scheduled time, scheduler/bat file) and then collect the stat... | stackexchange/codereview |
i'm having a gridview which is binded to a dataview, OnPageLoad i'm populating gridview records. and i have a textbox and a button, So now i want to add more Records to GridView but this records should not be get added into DB, they just added to the page and of course the default records which are coming from db stay.... | stackexchange/codereview |
SQL Server 2008
Looking at execution plan says Clustered Index Scan taking up 70%, Why? What is it?
| stackexchange/codereview |
I was trying to write a script that will uncover the plugins a certain WP blog employs... without success...
The final output file should include name and version of all plugins, activated and deactivated.
(Maybe grabbing all data from WP DB?)
Hope that makes sense.
Not sure it can be considered as question...
| stackexchange/codereview |
I know pressing Command-L can trigger applicationWillResignActive: from forum here.
1) Is it only applied to IOS4?
2) Besides, in the real scenario with the device, what would trigger the applicationWillResignActive: & applicationDidBecomeActive:?
I searched answers in this forum. Some said it depends the reply of a... | stackexchange/codereview |
My data access classes often have a method called loadDataToEntity or something similar. This method takes a resultset for instance and populates an entity class which is passed on to be used by the client.
This is nice because all methods which use a stored procedure to retrieve data can just pass the resultset to the... | stackexchange/codereview |
I need to selectively (both rows and columns) export around 20 million rows from one table to another. This is what I tried:
--Run this in batch:
INSERT INTO Table 2
Select A, B from Table1
where A > a and B < b
---Table1 have columns A, B....Z and got around 50 million records.
It takes around 12 hours to finish. ... | stackexchange/codereview |
I am looking for a compression library to use in iPhone application supports decompressing AES 256-bit archives built in Winzip compression utility.
Thanks.
| stackexchange/codereview |
I have problem with Zebex Z-3000 barcode scanner. It is connected to my PC via PS2 port. Does anybody knows about PS2 scanners. I had no problem with USB scanners but I ca't get PS2 scanners work. Do I have to listen PS2 port?
| stackexchange/codereview |
I have a new project which is an iPhone application. for that I have 2 possibilities to build it:
using Apple classic style (xcode, objective-c, etc)
using Appcelerator Titanium and continue using javascript as an interface to access all the iPhone features to create my app.
*I've noticed the absence of a separated i... | stackexchange/codereview |
I'm really frustrated by this shortcut because I commonly use both Emacs and Management Studio for different projects. However accidentally pressing CTRL + E in MS and expecting cursor to move to the end of the line, which it does in my Emacs configuration, can be really bad in MS if you are programming modifications t... | stackexchange/codereview |
I have an image which is representative of an Array2D:
template<class T = uint8_t>
Array2D<T> mPixData[4]; ///< 3 component channels + alpha channel.
The comment is in the library. I have no clues about the explanation.
Would someone:
explain what are the 3 component channels + alpha channel are about
show how I cou... | stackexchange/codereview |
I have a server which I need to have as a linked server to another server, using sp_addLinkedServer.
My server's name is in the format "DepartmentName.CompanyName.com", which I can usually change to [blah.blah.com], but which I can't use in the SQL Server Management Studio View creator, because it keeps deleting my squ... | stackexchange/codereview |
Any one help to locate symbolic file.Thanks in advance.
Regards,
Arunkumar.P
| stackexchange/codereview |
Considering the following classes:
class A : Idata
{
private int _id;
//other private fields
public int Id
{
get { return _id; }
set { _id = value; }
}
//other property
}
class B : A
{
private int _field;
//other private fields
public... | stackexchange/codereview |
I have a servlet that performs an ANT build, I've attached a org.apache.tools.ant.listener.Log4jListener as you can see below and at the end of the build the org.apache.tools.ant.listener.Log4jListener is not released, the only way I've found around this is to restart Tomcat. If I don't restart Tomcat the next time I ... | stackexchange/codereview |
I am attempting to build a small local-purpose 3d engine, which has to be platform-independent and right now I'm looking for a way to handle different possible types of user input.
This, obviously, includes mouse / keyboard events and possibly, another analogue controllers (joysticks, for example). I can think of sever... | stackexchange/codereview |
How to optimize this?
SELECT e.attr_id, e.sku, a.value
FROM product_attr AS e, product_attr_text AS a
WHERE e.attr_id = a.attr_id
AND value
IN (
SELECT value
FROM product_attr_text
WHERE attribute_id = (
SELECT attribute_id
FROM eav_attr
WHERE attribute_code = 'similar_prod_id'
... | stackexchange/codereview |
I'm trying to combine these two select queries but the count function is confusing me with Oracle:
select person.first_name, COUNT(person.PERSON_ID) as Active
FROM incident, person
where person.PERSON_ID = incident.OWNER_ID
and incident.incident_id = 1
AND (incident.dept_id = 111 OR incident.dept_id = 222)
GROUP BY per... | stackexchange/codereview |
I've been thinking of how to do it in Hive.
For e.g. i've a specific field in a log file that I want to extract (this is already possible in Hive) and then I want to map this field's value to something else. This mapping is determiened by own customic business logic that is coded up in a Java Class.
How can I use this ... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.