instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
What are the steps to be made to run an IIS7 Application Pool under a domain account? I know how to create a domain account and how to set the identity of the Application Pool.
My question is rather what rights does this Domain Account need to have? (logon right to the server? read rights to the files of the web sites ... | stackexchange/codereview |
I am starting to use boost/format.
When coding with boost/format, what should I pay attention to with regard to security?
Can I do the following without being concerned about security?
std::cout << boost::format("Hello %2%! Do you want to %1%?")
% user_supplied_str1 % user_supplied_str2 << std::endl;
What are si... | stackexchange/codereview |
Is there a complete resource for debugging in Delphi that instructs on how to use all the IDE debugging tools? There used to be a guide from Marco Cantù but it was updated to Delphi 5 if I am not wrong.
May you please redirect me to a complete resource updated at least to D2009 (better if XE).
| stackexchange/codereview |
I wrote the following in F#:
let fib x =
match x with
| 0 -> 0
| 1 -> 1
| n+2 -> fib n + fib (n+1)
Unfortunately, I got a compiler error stating I had used an infix operator in an unexpected place. Other than using the wildcard character, is there a way I can express my intent in F#?
| stackexchange/codereview |
Google Calculator formats math expressions this way:
2+2/2 ---> 2 + (2 / 2)
2+2/2*PI ---> 2 + ((2 / 2) * PI)
In others words - it adds brackets.
Are there any similar PHP or JavaScript solutions to do the same thing?
| stackexchange/codereview |
Based on company and unit selected by user i have to select connection string. I want to know what is the best practice to store multiple connection string. Should i store it in XML file or web.config file? or at any other place.
Thank you very much
| stackexchange/codereview |
class A
{
public:
int func1()
{
cout<<"A's func1";
}
}
class B:public A
{
public:
int func1()
{
cout<<"B's func1";
}
}
in the above code snippet , is the function ' func1()' getting overloaded in class B ?
or getti... | stackexchange/codereview |
Trying to implement simple dictionary. I want to make it so while the user is typing in the EditText box the list to scroll automatically to the best match. I don't want it to filter the list. For example if the user types "s" in the EditText I want the first word that s/he sees under the EditText box to be the first w... | stackexchange/codereview |
Hey guys. So my question is just like in the title. How to extract postimage url from wordpress post? So for example if wordpress postimage() function outputs something like:
<img src="some_img_url.jpg">
I'm only interested in some_img_url.jpg.
| stackexchange/codereview |
Can anyone point me at an application to display/view a rolling log file as it is being written to?
I know there are apps out there, but googling just gives me questions about writing to/creating the logs.
[This is Windows, not Unix]
| stackexchange/codereview |
My problem consists of two maven projects, a server project A and a client project B. A uses maven-assembly-plugin to produce several variants of A, where one variant is a WAR archive. The problem I am facing relates to the test-driven development of B; how can I make the WAR archive produced in project A accessible/ad... | stackexchange/codereview |
I have the exact same problem posted here a year ago:
Ruby Loop Failing in Thread
Here the code (pretty much the same as in the topic above)
class NewObject
def my_funk
t = Thread.new {
until false do
puts sleep 15 # sleeps way too much
end
}
t.join
... | stackexchange/codereview |
I want to use a control similar to Swing JSpinner in an Android application. I know that Android has a widget called Spinner, but it's more like a combo box than a JSpinner. I've noticed that DatePicker and TimePicker widgets are using components that are just like JSpinner. The only problem is that I don't really want... | stackexchange/codereview |
I've created a "test" application below the main application on my website which is an exact duplicate of the main application - I use the /test app to test new changes before putting them in production.
After upgrading the app from .NET 3.5 to .NET 4.0, my /test application refuses to run, returning a 500.19 error fro... | stackexchange/codereview |
I'm sure I'm missing something basic, but I'm writing a program that fork()s several child processes, each of which create several pthreads. It seems that the pthread_create call never works from a child process. Here is sample code to explain what I mean:
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#inc... | stackexchange/codereview |
I want to create a book reader and implement the page effect. I think I can spare text in separated views and make an animation when the user wants to go to the next or previous page. The problem is that I don't find a method to spare the text correctly. I can set the max lines number for a text view, but I don't know ... | stackexchange/codereview |
My Problem is in a table i have 4 reference of the user ID
Owner ID
Assigner ID
Taker ID
Evaluator ID
Final Evaluator ID
& all these column values are FK to User detail table where i am having there name.
If i want to have there name along with their ID while retrivieng the complete row I am joining 4 times with t... | stackexchange/codereview |
My iPhone app tends to 'freeze up' the UI when comes into the active state from the background. How can I use Instruments to find out the cause of the freeze? What instrument should I use? What are the key columns I need to look at in the Instruments panel?
| stackexchange/codereview |
i want to make a custom button using wpf. The button will be used to control a mediaplayer. the type(play, stop, pause,...) of the button is specified using an enum
namespace vgtunesWPF
{
public class MediaButton : Button
{
[Browsable(true)]
public Button_Type ButtonType
{
get { return (Button_Type)... | stackexchange/codereview |
I'm writing a script that will print a random line of text from a file into an XCHAT channel. So far it works fine, but I want to add one last bit of functionality.
I have logs with, for example, "Oct 23 12:07:59 (nickname> " appearing before every line of text. I just want to print the parts of the lines that foll... | stackexchange/codereview |
I'm writing some object module in Perl using Moose. I use to store instances of created objects then use them.
The basic representation of my object's data remains the same, but from time to time I add more functionalities - e.g. class methods or object methods.
Can I continue using my stored objects, which were create... | stackexchange/codereview |
I have an OLAP cube containing the sales count for each of my shops.
Using MDX, how can I output the rank of a given shop?
I am dreaming about something like below (does not work), it would return 8 if SomeShop is the 8th most-selling shop:
SELECT RANK( [Shop].CHILDREN, [Shop].[SomeShop]) from [Sales]
| stackexchange/codereview |
How do I ensure that my mobile application runs only on the mobile of the user who bought my app?
Thanks.
| stackexchange/codereview |
I have 1.mp3 beside my .fla file and when I tried to run a movie test, it doesn't play any sounds. Only the stage has a glitch was it keep loop frame 1 and 2. What happen?
var mySoundReq:URLRequest = new URLRequest("1.mp3");
var mySound:Sound = new Sound();
mySound.load(mySoundReq);
mySound.addEventListener(Event.COMPL... | stackexchange/codereview |
I have started making a syntax highlighter in php (only a quick one) and so far I have got a code box generator (aka it creates a table with styles that looks good and can display source code and html code). At the moment when writing code with it I do this:
$code = "def example_ruby_code(does_it_work)
" . "(insert... | stackexchange/codereview |
I am trying to transform XHTML using an XSLT stylesheet, but I can't even get a basic stylesheet to match anything. I'm sure I'm missing something simple.
Here's my XHTML source document (no big surprises):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-trans... | stackexchange/codereview |
I'm new in objective-C and here is my problem:
I want to write a game and i want to use a GameStateManager class to manage the game states. As i've read every class in Objective-C should be inherited from NSObject or it's subclass. So here is the GameStateManager interface:
@interface GameStateManager : NSObject {
... | stackexchange/codereview |
In [1]: from lxml import etree
I've got an HTML document:
In [2]: root = etree.fromstring(u'''<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">\n<HTML></HTML>''', etree.HTMLParser())
Its doctype is parsed correctly:
In [3]: root.getroottree().docinfo.doctype
Out[3]: u'<!DOCTYPE html PUBLIC "-//IETF//DTD HTML//EN">'
But... | stackexchange/codereview |
Lets say I have three DropDownList controls in a web user control and they depend on each other.
Categories
Brands
Products
Explanation:
After I choose a category from Categories dropdown list, related brands are loaded in Brands DropDownList and same happens when I choose specific brand and they are all located in ... | stackexchange/codereview |
Windows NT only supported UCS-2, then starting with Windows 2000 it started to support UTF-16.
But what about Windows CE? It still supports only UCS-2 or the native charset is now UTF-16?
| stackexchange/codereview |
i try to deploy a simple mvc2 application. but it doesnt work.
my hosting provider is qualityhosting.de and they support mvc.
i see the homepage "My MVC Application - Welcome to ASP.NET MVC!" but after a click
on "about" (for example) i got "The page cannot be found".
Could someone help me please?
Thank you!!
| stackexchange/codereview |
I'm working on a Silverlight project that uses RIA Services.
My question is that I can use generic repository pattern with RIA Services on the client side?
What is the best practice how I should organize the RIA Services method on the cilent side?
l.
| stackexchange/codereview |
How would i go about creating an image sequence with core animation. I would like to:
add image1 for 1 second then remove image
add image2 for 2 seconds then remove image
add image1 for 3 seconds then remove
CGImageRef image1 = [self getImage1];
CALayer *image1Layer = [CALayer layer];
image1Layer.bounds = C... | stackexchange/codereview |
How to remove duplicate white spaces (including tabs, newlines, spaces, etc...) in a string using Java?
| stackexchange/codereview |
I have been investigating how to annotate video using Flex or AIR. Similar to how it is being done on YouTube. I am not getting much joy. Wondered if anybody might have any insight?
Thanks
--Matt
| stackexchange/codereview |
i would like to find a javascript that displays a table, each row being an address. If a row is checked, a marker should be displayed on a google map underneath.
Any suggestion?
| stackexchange/codereview |
I want to define an integer variable in C/C++ such that my integer can store 10 bytes of data or may be a x bytes of data as defined by me in the program.
for now..!
I tried the
int *ptr;
ptr = (int *)malloc(10);
code. Now if I'm finding the sizeof ptr, it is showing as 4 and not 10. Why?
| stackexchange/codereview |
i have a files directory on my local web server and i want to make it so that only local users can view the directory list. for example if a friend visits the site from his house, he should not be able to see site.com/files/ but can get the file site.com/files/image.png. for local users i want them to be able to do bot... | stackexchange/codereview |
So I'm using Velocity in a legacy project. And even rendering moderately large pages takes FOREVER. Literally 10+ minutes.
There has to be some kind of bug I'm hitting... anyone else have bad experiences with Velocity in general? I'm about to start stepping through the source code and see where it hangs/etc but I wante... | stackexchange/codereview |
I have a very simple html page with a table element.
The document is styled with css. When I print the page it looks like there are no stylesheets at all. Wrong font, everything is wrong.
What's the problem here? Do I have to create a special css only for printing? In my case it would be the same.. Is that really nece... | stackexchange/codereview |
Hey there, it's been a week with Django back here so don't mind me if the question is stupid, though I searched over stackoverflow and google with no luck.
I've got a simple model called Term (trying to implement tags and categories for my news module) and I have a template tag called taxonomy_list which should output ... | stackexchange/codereview |
I am just trying to understand how .htaccess work and what is right way of dealing with it and I have one problem.
Here is part of my .htaccess file:
RewriteEngine on
RewriteRule ^(.*)/css/(.*)$ /css/$2
RewriteRule ^(.*)/img/(.*)$ /img/$2
RewriteRule ^(.*)/js/(.*)$ /js/$2
Everything is looks fine and have worked ok, ... | stackexchange/codereview |
I am starting with iphone development and am facing an issue with core data.
I have a model gathering several entities such as employee, project, project type, etc. On startup, I create several entities that I persist through the core data framework. No problem.
The issue raises when I want to display a list of project... | stackexchange/codereview |
I have a question, I am always asked this in the interviews multiple times--
How is synchronization implemented in java..
I have answered--
using trylock() mechanism
using wait, notify ,and notifyAll() methods in java
using synchronized blocks
using synchronized for class and object level
using mutexes for synchroniza... | stackexchange/codereview |
I've a question about implementing a slider control in a browser.
I need to playback data over time, in a browser. I will have one Worker filling the playback buffer by making calls to a REST api. The UI thread will then consume the buffer and playback the data to the user.
I want to simulate YouTube progress UI contro... | stackexchange/codereview |
I am sorry for my bad english first.
I just installed ruby and rails few hours ago (you wouldn't believe it took me 3 days to install ruby,rvm,rails and etc, on this ubuntu 10.04 machine) and I am trying to implement basic Member scaffold. My version of rails is 3.0.0 and my ruby is 1.9.2.
When I #rails generate scaff... | stackexchange/codereview |
I try to understand the Android synchronization logic. What I don't understand is the file syncadapter.xml contained in the Android SDK sample project SampleSyncAdapter. If you downloaded the SDK samples it should be in the following folder:
SDK/android-sdk-PLATFORM/samples/android-VERSION/SampleSyncAdapter/res/xml/syn... | stackexchange/codereview |
I been Using EventMachine for quite a while a know and I really found it great as It Manage show much more me that i didn't have to worry for anything.But recently I just found this weird issue which i just fail to understand
Here what is just telling
I have Eventmachine loop Which look like this
EventMachine::run { ... | stackexchange/codereview |
I'm currently using the below code to turn on and off my iPhone 4 LED light and it's working great, but the only problem is that every time I turn the LED on there is a slight delay. However it turns off instantly. I need it to fire instantly to implement a strobe like feature, and because it's just more convenient.
I'... | stackexchange/codereview |
Java is the language, the JRE is the runtime environment, and the JDK are the development tools? The JLS is the spec that says that the JRE must do x,y,z, and therefore makes Java what it is? Are these views correct, and if not can someone enlighten me?
Are there any things we think are Java but are not? I think I h... | stackexchange/codereview |
This SQL query worked fine until I tried adding the CASE statement in, but now I get syntax errors as described at the bottom of this post. Here's the SQL (pretty epic, but the syntax errors take place around the CASE, maybe with the SageAccount select prior)
SELECT CurrentBalance.Value AS CurrentBalanceValue,
... | stackexchange/codereview |
I want to create a create a WCF Service which is invoked on the button click of MS Access Form.
| stackexchange/codereview |
I am trying to figure out how to load different groupviews dynamically.
I am creating application that will have menu with 4 categories and each category will have several sub-menu items. I have created four LinearLayouts with sub-menu buttons inside (they are separate xml files).
Now I want to display appropriate sub-... | stackexchange/codereview |
It seems no selected or deselected ItemEvents are generated for the null-item in the JComboBox. How can I change this? Making the item "" is not an option.
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import javax.swing.JComboBox;
import javax.swing.JOptionPane;
public class ComboBoxTest {
p... | stackexchange/codereview |
I have this large IDL that I am importing into a C# project.
Everything was fine until I had to use one interface that is not quite compatible with HRESULT -> COMException conversion (I can go into details here but that shouldn't be relevant).
Is it possible to add PreserveSig to that one type somehow? I would like to... | stackexchange/codereview |
We have product, whose front end is in GWT. As it contains many classes (Around 150 menus, you can imagine now)
When user access this first time, it takes time to load. (If bandwidth is low then this increases)
Next time onwards it remains in catch, we don't have to worry about bandwidth.
Can I reduce this first time l... | stackexchange/codereview |
I have a question. How long time does it takes to read a 2 mb file, which is fragmented in 2?
If the rotational delay is 4300 rpm
And the seektime is 10 ms
the transfer time is 10 mb/s
and the controller overhead is 0,5 ms.
My calculation is:
2*(10 ms + 7 ms (<-rotational delay) + 0,5 ms + 200 ms (<-transfer time))
Is... | stackexchange/codereview |
Hey. I'm trying to get this script to work smoothly in webkit (Safari, Chrome, newest versions). It runs absolutely fine in Firefox. This code is called in the document.ready function:
$('#noScript').remove();
$("#content div.wrapper, #top div.wrapper").hide().stop().fadeIn({duration: 2000, queue: true });
$('#socia... | stackexchange/codereview |
Sometimes after a <div> class the next line comes on the same line and I need to put say 10 <br> to get it to the next line.
Is this okay or is there an alternative to this?
Everything works out fine, it's just that I need to put 10 <br>. Is this normal?
Thank You
GOT IT TO WORK USING CLEAR:BOTH. THANKS.
| stackexchange/codereview |
I'd like to have a file encryption functionality for my iphone application. For desktop based applications i used the function below to encrypt relatively small files:
- (NSData *)aesEncrypt:(NSString *)key {
// 'key' should be 32 bytes for AES256, will be null-padded otherwise
char keyPtr[kCCKeySizeAES256+1]; // roo... | stackexchange/codereview |
I am developing a web application that relies heavily on Applets. Some third party code causes several, in some cases hundreds of, remote lookups of classes and some other resources from the server. This results in a significant performance issue. I've built my own code such that if something is NOT found within the .j... | stackexchange/codereview |
I want to run some jobs just after loading the Spring context but I do not know how to do this.
Do you have any idea how to do that?
| stackexchange/codereview |
Here is my .htaccess file
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !=cms
RewriteRule ^([^/]*)/search/([^/]+)$ index.php?lang=$1&id=search&searchword=$2 [L]
RewriteRule ^([^/]*)/([^/]*)$ index.php?lang=$1&id=$2 [L]
It doesn't wo... | stackexchange/codereview |
I'm writing a layer between a POSIX filesystem, and Windows using Dokan, and need to convert error values of the errno kind (EINVAL, ENOENT, etc.), to the Win32 equivalents you'd receive when calling GetLastError() (such as ERROR_INVALID_PARAMETER).
Is there an existing function, library, or reference I can use to perf... | stackexchange/codereview |
I am on shared hosting, and I noticed the PHP does not include bzip2. It seems I would have to re-compile PHP inorder to use this. I don't think shared hosting allows this, so is there any alternative to my situation or bzip2?
| stackexchange/codereview |
In a Doctrine Record object, I can add the following method to validate data:
protected function validate()
{
if (empty($this->first_name) && empty($this->last_name) && empty($this->company)) {
$this->getErrorStack()->add('company', 'You must fill in at least one of the following: First Name, Last Name, Com... | stackexchange/codereview |
I am recieving errors like this one:
_mysql_exceptions.ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't Stop.mp3' LIMIT 1' at line 1")
Because I am trying to compare a URL that exists in my DB to one in a ... | stackexchange/codereview |
My friend designed url tag like : www.aaaa.com/?page=4 in my asp.net mvc2 project, But i want to change my URL like www.aaaa.com/4
so i want to delete ?page tags from my URL.
What can i do ?
Thanks
| stackexchange/codereview |
How to make live template in Visual studio 2010, I don't know is it really live template or macro, but what I wan't to do is when I'm write code and when I type let's say -> in, and press space, that program automatically insert code that look like this -> #include <>.
In c++ builder for that purpose we use xml file wh... | stackexchange/codereview |
ok there are several similar questions but not quite anything that I want.
I have few ajax requests on page and I want to show the image in the center of the screen, and its all working OK.
Just to make it look more prominent, I wanted to place that image on a div with translucent background, so its more obvious for ... | stackexchange/codereview |
I recently created a Windows service. One thing that it faithfully does is log any errors to the Application log. I have the following code that does this:
Dim appLog = New System.Diagnostics.EventLog With {.Source = "MyService"}
appLog.WriteEntry(message, EventLogEntryType.Error, transactionID)
I also have the follow... | stackexchange/codereview |
trying to create custom infowindows in my application that is based on google maps.
next example is one of my base points for development:
http://gmaps-samples-v3.googlecode.com/svn/trunk/infowindow_custom/infowindow-custom.html
problem is that whatever i use this or some other example, in forefox's firebug i'm getting... | stackexchange/codereview |
I don't want to reinvent the wheel, and what I'm looking for most likely already exist in the FOSS world.
I'm looking for a pthread bases utility library that implements often used primitives to do communication between threads.
My main need is some kind of blocking queue for fixed size messages and the ability to wai... | stackexchange/codereview |
I'm reading the book about optimization teckniks. There is not much description or advices in example though. Here's the thing:
int agag(int a)
{
static int dfdfdf = 0;
static int prev_resilt = 0;
if (dfdfdf == a)
return prev_result;
dfdfdf = a;
a = SomeCalcs();
prev_result = a;
return a;
}
The key t... | stackexchange/codereview |
I have implemented a custom canvas in WPF with c#. The canvas will be keeping custom drawing shapes. I have also added a zooming functionality to it. When the canvas is zoomed at very high level, I want to calculate the visible part of the canvas so that I can perform operation on that much portion of the canvas keepin... | stackexchange/codereview |
I use a QTreeWidget that shows a file listing so that a user can copy files to a directory.
I want to disallow the user to copy the files to the same directory.
Thus, I want to disable just one line in my QTreeWidget so that it is not selectable. I tried to use the setDisable(bool) method of the QTreeWidgetItem object ... | stackexchange/codereview |
Are these response times from JMeter TTFB or TTLB?
| stackexchange/codereview |
I've seen some docs by Fabio Maulo that shows the following params:
<id name="Id" type="Int64" column="cat_id">
<generator class="hilo">
<param name="table">hi_value</param>
<param name="column">next_value</param>
<param name="max_lo">100</param>
</generator>
</id>
However, ... | stackexchange/codereview |
The Issue
For some reason the left and right borders of the li items do not touch there is about a 4-5 px gap between them. I have no clue where it is coming from... I've spend a good amount of time monkeying around in Firebug with no luck...
The Markup
<div id="menucontainer">
<ul id="menu"> ... | stackexchange/codereview |
If you google for "pythonic" you will mostly find the same three examples. There are a lot of questions here on stackoverflow that ask for how this and that can be done in a pythonoic way, so a collection of some nice pythonic code examples would be nice!
| stackexchange/codereview |
What can be the cause of the YouTube player not working (playing, buffering, firing api events) if I don't continuously move the cursor over the player?
| stackexchange/codereview |
I am just trying to add a simple attribute to a device in the /sys filesystem. Seemed pretty straightforward but none of the helper methods mentioned here or here are exported from the kernel so I can't use them from a module? I must be missing something, can anyone provide some insight?
| stackexchange/codereview |
hey guys, a simple question but i dont know to do it.
When I exit my app I want to call my save method to check if the user wants to save any changes.
How to i call the save click event method? This is what I came up with:
if (isDirty == true)
{
saveToolStripMenuItem();
}
thi... | stackexchange/codereview |
I'm using SQLite3 in a Windows application. I have the source code (so-called SQLite amalgamation).
Sometimes I have to execute heavy queries. That is, I call sqlite3_step on a prepared statement, and it takes a lot of time to complete (due to the heavy I/O load).
I wonder if there's a possibility to abort such a call.... | stackexchange/codereview |
i have a datetime string in my DB like "2010-08-15 00:00:00"
how do i query only the time part. suppose i want to retrieve all rows that have the time "00:20:00"?
| stackexchange/codereview |
I have a little bit of experience with the new Razor syntax, but none with Iron Python. I was wondering do both meet the same needs? Is one favored by Microsoft over the other (or will be)? Appreciate your thoughts, as I'm toying with the idea of learning Iron Python, but if Razor can meet the same need, I probably w... | stackexchange/codereview |
I have previously used parameters when setting Default document in IIS.
Example list of default documents:
Default.aspx?control=start
Default.asp
Default.html
And when I go to www.mypage.com i end up on www.mypage.com/Default.aspx?control=start But this no longer work. I now end up on www.mypage.com/Default.aspx
Any ... | stackexchange/codereview |
Im trying to add elements to a dict list (associative array), but every time it loops, the array overwrites the previous element. So i just end up with an array of size 1 with the last element read. I verified that the keys ARE changing every time.
array=[]
for line in open(file):
result=prog.match(line)
array={res... | stackexchange/codereview |
I'm working on a Newsfeed action. I have active friendships and i would like to find the posts only of those friendships to create the newsfeed.
This is the code i currently have:
@active_friendships = current_user.active_friendships
@posts = Post.where({ :user_id => [5,8,16] }).order("created_at DESC")
I don't know... | stackexchange/codereview |
How do you change the src of a HTML5 video tag using jQuery?
I got this HTML:
<div id="divVideo">
<video controls>
<source src="test1.mp4" type="video/mp4" />
</video>
</div>
This doesn't work:
var videoFile = 'test2.mp4';
$('#divVideo video source').attr('src', videoFile);
It changes the src if I inspect it ... | stackexchange/codereview |
AutoMapper for .Net lets you map from one type to another. Its most basic function is to create one type of class from another type of class by copying property values from type A that exist in type B (have matching names and types).
Example:
public class ClassA {
public string StringProp { get; set; }
public ... | stackexchange/codereview |
i can't think of a name about cells except cellnopoly but almost everybody has that one and it has to be unique (p.s. i'm using a monopoly board for my games).
| stackexchange/codereview |
I am using a django with apache mod_wsgi, my site has dynamic data on every page and all of the media (css, images, js) is stored on amazon S3 buckets liked via "http://bucket.domain.com/images/*.jpg" inside the markup . . . . my question is, can varnish still help me speed up my web server?
I am trying to knock down a... | stackexchange/codereview |
I'm trying to use SlideShow to create presentation...
http://poi.apache.org/apidocs/org/apache/poi/hslf/usermodel/SlideShow.html
and I see some uses of java.awt classes in the examples.
My question is: to what extent awt can be used in creating PPT using POI?
Further, how swing can be used together with Apache POI?
C... | stackexchange/codereview |
If I have a series of strings that have this base format:
"[id value]"//id and value are space delimited. id will never have spaces
They can then be nested like this:
[a]
[a [b value]]
[a [b [c [value]]]
So every item can have 0 or 1 value entries.
What is the best approach to go about parsing this format? Do I jus... | stackexchange/codereview |
Using SSRS with Oracle DB is not orthodox, but still i am forced to use it.
So, while i am working on my reports, if another collegue of mine tries to do a query on the same database, an error occurs, on the TNS Listener. When i check the number of sessions active or inactive, they are in the limit secified. After i cl... | stackexchange/codereview |
I'm trying to get the values of dynamically generated FileUpload controls that I add to a Panel:
<asp:Panel ID="pFileControls" runat="server">
</asp:Panel>
I create the controls during a loop through a record set:
foreach(DataRow dr in ds.Tables[0].Rows)
{
FileUpload fu = new FileUpload();
fu.ID = dr["SomeID"]... | stackexchange/codereview |
I want to show some images like this example
The fill color is decided by a field in the data base with the color in hex (ex:ClassX -> Color: #66FFFF).
Now, I want to show data above a fill with the selected color (like in the image above) but i need to know if the color is dark or light so i know if the words should b... | stackexchange/codereview |
I am using Hibernate in version 3.6.0 and the AnnotationConfiguration is marked as deprecated.
Here is the the line in my HibernateUtil.java class:
sessionFactory = new AnnotationConfiguration().configure("/hib.cfg.xml").buildSessionFactory();
What's the replacement for AnnotationConfiguration?
| stackexchange/codereview |
Is it ok to assume /tmp folder writable by PHP/Apache on any unix system?
I'm making a script and want to save cache in the tmp folder and want to know whether that can cause problems.
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.