instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
In C#, how do I find all the words starting with '$' sign and ending with space, in a long string, using regular expressions?
| stackexchange/codereview |
We have a Oracle 9i Database with 7 tables each with 15+ Million records. There is no relation between the table i.e. no foreign keys.
Here is an example of one of the tables
CREATE TABLE GSS.SHOWPD
(
INSERVID VARCHAR2(7 CHAR) NOT NULL,
CAGEPOS VARCHAR2(8 CHAR) DEFAULT NUL... | stackexchange/codereview |
I'm planning to install WordPress on Linux system for my company website, does this scenario works with WordPress?
Single WordPress install but can have multiple domain eg:
www.team1.com
www.team1.com/product2
www.team1.com/product3
www.team2.com
www.team2.com/product2
.
.
.etc
Do I need to perform multiple install of ... | stackexchange/codereview |
I have a parent/child relationship via our users table, with models as such:
class User < ActiveRecord::Base
# Parents relationship
has_many :children_parents, :class_name => "ParentsChild", :foreign_key => "child_id", :dependent => :destroy
has_many :parents, :through => :children_parents
# Children relatiop... | stackexchange/codereview |
Does anyone have experience with rendering nested HTML tables? I am attempting to render 30 - 40 rows that each have 5 tables in them. This renders very slowly in Internet Explorer 7 and 8. Is there a trick I can use to speed my table rendering up? Is there a different element I can use other than tables?
| stackexchange/codereview |
I have set this calendar in my app:
Calendar cal = Calendar.getInstance();
cal.set(2010, 1, 10);
I'm using this SimpleDateFormat to get the month as a word:
SimpleDateFormat formatMonth = new SimpleDateFormat("MM");
In one class it comes out as February 10th, 2010.
In another it comes out as March 10th, 2010.
Which ... | stackexchange/codereview |
I'm looking for free and easy GUI framework that let me create single exe
without dependency (like .Net framework) and to be not GPL
as a side note .. im using Qt and its great but i have to be LGPL to use it that means lots of fat dlls . is there any alternative?
p.s
how did the Dropbox client made of? i know its p... | stackexchange/codereview |
I am new to Rails and I am trying to use omniauth with rails 2.3.8. I
couldn't find any tutorial for this version of rails so I referred to
http://blog.railsrumble.com/blog/2010/10/08/intridea-omniauth.
I added the initializer as follows:
omniauth.rb
OmniAuth::Strategies::Twitter = {
:consumer_key => 'xxxxxx',
... | stackexchange/codereview |
Am new to android, am developing application with websevices using json parsing with httpget method,cant use http post method in android actually.
It working fine normally, but many time it shows the error on emulator like activity not responding force close activity.when i put that url in browser it shows the result ... | stackexchange/codereview |
This is confusing to me please expalin me the behaviour of this?
A declaration of a new member hides an inherited member only within the scope of the new member.
Copy
**class Base
{
public static void F() {}
}
class Derived: Base
{
new private static void F() {} // Hides Base.F in Derived only
}
class MoreDeriv... | stackexchange/codereview |
Would an anchor like "^" or "\A" at the beginning of this regex make any sense - any difference?
$string =~/(.*)([a-z])$/
| stackexchange/codereview |
When using Tomcat with MySQL, what is the relationship between poolPreparedStatements setting in Tomcat DataSource configuration (I believe coming from DBCP) and Connector/J cachePrepStmts setting? What's the optimal configuration?
| stackexchange/codereview |
I am compiling the code below when the following erro comes up. I am unable to find the reason.
typedef union {
struct {
const int j;
} tag;
} X;
int main(){
return 0;
}
error: member `<`anonymous union>::`<`anonymous struct> `<`anonymous union>::tag with copy assignment operator not allowed in uni... | stackexchange/codereview |
I am using this following code which creates a ListView with text and an icon but the problem that I have which the following I want the array to be dynamic instead of static so my list gets created dynamically not statistically. My ultimate goal is to retrieve specific strings from my Db and to display it then on the ... | stackexchange/codereview |
I'd like to be able to set a colour of every point (addressed by x&y, where x is a DateTime (of joda-time, actually) and y is a double) on a chart to represent a z=f(x,y) value. Is it possible with JFreeChart?
| stackexchange/codereview |
I'm currently in the process of rewriting my java code to run it on Google App Engine. Since I cannot use Timer for programming timeouts (no thread creation allowed), I need to rely on system clock to mark the time of the timeout start so that I could compare it later in order to find out if the timeout has occurred.
N... | stackexchange/codereview |
I'm hoping this will be relatively easy to someone who is familiar with the Google Calendar API, have done some searching but the API isn't giving me the answer!
Imagine that a Google Account has 3 calendars, all created by that user.
I'm trying to get events from a SPECIFIC calendar of that user, using the .NET Google... | stackexchange/codereview |
Is it possible to rewrite this extension method without the parameter?
public static string PropertyName<T>(this T obj, Expression<Func<T>> property)
{
var memberExpression = property.Body as MemberExpression;
if (memberExpression == null)
throw new ArgumentException("Expression must be a MemberExpressi... | stackexchange/codereview |
I need to create Solution Architechure for Windows Mobile and have following queries:
My application is like a service that will start in phone startup and that should run in background and have no UI (this is not a problem). I am using third party dlls (with source code) in my project. Does windows mobile have any pro... | stackexchange/codereview |
I have this function:
void myFunc(NSString* data) {
NSMutableArray *instrs = [[NSMutableArray alloc] initWithCapacity:[data length]];
for (int i=0; i < [data length]; i++) {
unichar c = [data characterAtIndex:i];
[instrs addObject:c];
}
NSEnumerator *e = [instrs objectEnumerator];
id... | stackexchange/codereview |
static char a[255] = "\0";
and
const char *b = " ";
now when I assign "abc" to a and b, for a the remainig 252 bytes stay '\0' and for b its not like that. So, when I try to compare them, they come out to be different.
One solution is to just compare till sizeof(b) as we do in strncmp().
Is there any other way of do... | stackexchange/codereview |
var p = this.getParams();
var pD = (o.params||{});
if (this.useJsonData) pD = (pD.jsonData||{});
this.cursor = (pD && pD[p.start]) ? pD[p.start] : 0;
And what is the difference between these two lines.
this.cursor = pD[p.start] || this.cursor || 0;
Is the first code fine or there is any fault in it.
| stackexchange/codereview |
i would like to create a source code analyser for Java Project (like FindBugs and other static analysis programs) that would be able to detect certain method calls.
I would prefer to do it using Python, but any advice would be great !
I'm going to start by studying the FindBugs source code, but if anyone could explain... | stackexchange/codereview |
I've successfully migrated a website running a SQL Server 2005 db to a new server running SQL Server 2008 R2 and everything seems to work fine except 1 thing.
2 different schemas where used when creating the tables (I have no idea why). So you have to call the tables using a multipart identifier like schemaname.tablena... | stackexchange/codereview |
I've got a working version of Autocomplete using the Ajaxcontroltoolkit. However, the service method signature is required to return a String[] to render the autocomplete suggestions in markup.
My service actually returns an object Foo that is made up of a string Image URL and a string Title (in JSON or XML).. anyone k... | stackexchange/codereview |
I need to get data from a XML file from Node1>Node2
Filter data to group from the xml by X Node where X node is equals A,Y,Z..
Group all elements with same X Node value ordered by date
Store first element of the group(as ordered by date would be by the latest), and the rest in a subgroup of the same object.
If in the f... | stackexchange/codereview |
How do I parse the following json returned from Facebook? I have tried by searching on Internet, but I failed. Please help me.
{"data":
[{
"id":"100001746392225_137743246275036",
"from":{"name":"Narasimha Kolla",
"id":"100001746392225"
},
"picture":"http:\/\/platform.ak.fbcdn... | stackexchange/codereview |
I'm not quite sure how to determine what the longest possible codeword is under Huffman encoding for a specific set of frequencies?
Any ideas?
| stackexchange/codereview |
In following method:
@GET
@Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN})
@Path("{id}")
public String getMessage(@PathParam("username") String username,
@PathParam("id") int id,
@QueryParam("format") String format) {
return "test";
}
how do I return the the data i... | stackexchange/codereview |
I need something that is competitive to Volusion/Magento in terms of features. Cost is not an issue.
Thanks
| stackexchange/codereview |
Does anyone know how to replace line a with line b and line b with line a in a text file using the sed editor?
I can see how to replace a line in the pattern space with a line that is in the hold space (i.e., /^Paco/x or /^Paco/g), but what if I want to take the line starting with Paco and replace it with the line star... | stackexchange/codereview |
I'm very beginner in Java, so ...
I've written a simple Java code to display images from my hard drive wherever I click the mouse, not on the applet, on panel, now how can I make a sound play automatically when I view 6 pictures ?
public void mouseClicked(MouseEvent e) {
if (count == images.length - 1) {
... | stackexchange/codereview |
Hello
I am not able to get the correct validation.I think there is some error in this code so can anyone please help me solving this problem.
public static boolean validateFee(String value) {
boolean isvalid = true;
try {
int fee = 0;
if (value != null && !value.isEmpty()) {
... | stackexchange/codereview |
Would be grateful your help.
What would be elegant Regx to check a String whether it holds a number ? any suggestions? thanks.
| stackexchange/codereview |
I am working with Augmented Reality application with android, and I implemented camera code.
My current base SDK version is 1.6. With this my application is working fine with devices having OS version upto 1.6 and getting problem with OS 2.0 and up..
Any solution ?
Thanks.
| stackexchange/codereview |
How can I zoom an HTML element in Firefox and Opera?
The zoom property is working in IE, Google Chrome and Safari, but it’s not working in Firefox and Opera.
Is there any method for adding this property to Firefox and Opera?
| stackexchange/codereview |
I think it would be great to be able to see log/development.log and maybe log/test.log in the same way you see the output of a running task or tests in RubyMine. Is it possible?
| stackexchange/codereview |
Can strings in SQLite 3 include NUL characters?
If the answer to 1 is "yes", how can they be written in SQL queries? SQLite doesn't seem to have chr or char functions.
| stackexchange/codereview |
I'm trying to write a simple music-sequencer in Javascript.
Sounds will be played by SoundManager2
I quickly realised that setTimeout and setInterval are useless for this kind of timing. Their accuracy is simply not good enough.
So what I am trying instead is this:
Create a queue of sound-events (a 2d array [ note, tim... | stackexchange/codereview |
I use python to create my project settings setup, but I need help getting the command line arguments.
I tried this on the terminal:
$python myfile.py var1 var2 var3
In my Python file, I want to use all variables that are input.
| stackexchange/codereview |
Background: I've been using LABjs to load JS files asynchronously and in parallel, and I want to build something that takes it a step further. Part of this will involve detecting when a JS file is loaded in cache or not. So my question is:
How can I determine whether a JS file is in cache or not and in addition do so i... | stackexchange/codereview |
This is probably something simple but I'm scratching my head over easing with the Animate class in Flex 4.
Basically I'm just trying to set easing via:
anim.easer = spark.effects.easing.EaseInOutBase(EasingFraction.IN_OUT);
however, it complains, saying
Type Coercion failed: cannot convert 0.5 to spark.effects.easing.... | stackexchange/codereview |
Assertion is used to check whether a condition is met(precondition, postcondition, invariants) and help programmers find holes during debugging phase.
For example,
void f(int *p)
{
assert(p);
p->do();
}
My question is do we need to assume the condition could not be met in release mode and handle the case according... | stackexchange/codereview |
I would like to sum over the product of two columns, but I would like to do it in small sections. That is, for every symbol for every date I would like to sum the product of oi and 'contract_settle`. Here's a snippet of my SQLite db:
date symbol cont oi contract_settle
20030103 NVLS1C 100 NA
20030103 ... | stackexchange/codereview |
I am working on a project where a partner provides a service as socket server. And I write client sockets to communicate with it. The communication is two way: I send a request to server and then receive a response from server.
The problem is that I send the data to the server but apparently the server cannot receive t... | stackexchange/codereview |
I installed Visual Studio 2010 Ultimate edition and it seems like there is no way to use it without connecting to TFS. On the File menu, the only option is Connect to Team Project, but I just want to create a new Solution on my local machine.
I looked in Tools > Options > Source Control and chose "None" for the Curren... | stackexchange/codereview |
Showing Syntax error in Insert Query...........
Error
Syntax error in INSERT INTO statement.
but i have checked the query and tested it but there is no error Is there any problem in my code below...........Please any help thanks in advance
Sub OnOk()
Dim strquerry2 As String
Dim regcommand A... | stackexchange/codereview |
Do I need to use reflection to write a quine program for C#?
I read elsewhere - quine that opening the source file from disk is "cheating"
So I guess using .net reflector and/or opening the source file using System.IO is a hack.
Are there other ways other than using Reflection that I should be considering.
| stackexchange/codereview |
I am looking to tune Zend Optimizer+ on our Zend Server installation. Is there any tool that can show statistics about Zend Optimizer's performance? e.g. number of hits and misses, utilization of shared memory etc.
Apart from Optimizer+ configuration directives, anything else we can do within our application code to h... | stackexchange/codereview |
I'm wondering if I can make fake sections in the popup menu:
The rule would be, if the 5th character of the displayed item is different from the 5th char of the previous item in the menu, it has to be highlighted
What do you think?
Thanks!
| stackexchange/codereview |
I have a function similar to the following:
def getCost(list):
cost = 0
for item in list:
cost += item
return cost
and I call it as so:
cost = getCost([1, 2, 3, 4])
This is GREATLY simplified but it illustrates what is going on. No matter what I do, cost always ends up == 0. If I change the value of cost ... | stackexchange/codereview |
I have a property on a page called
public string productName { get; set; }
I want to access this in my usercontrol code behind. What's the right way to do it?
Currently I am doing
((MyPage)Page).productName
But the user control is not compiling. My pagename is MyPage and I have also added a Reference
<%@ Reference ... | stackexchange/codereview |
Maybe this a newbie question, but according to my instruments there is a leak there, but im releasing the imageRef. i cant figure it out. its a category function.
-(UIImage *)imageAtRect:(CGRect)rect
{
CGImageRef imageRef = CGImageCreateWithImageInRect([self CGImage], rect);
UIImage* subImage = [UIImage imageWithCGIm... | stackexchange/codereview |
Hi I was thinking about such case:
public class MyService {
private IList<Entity> data;
public virtual IList<Entity> GetData()
{
return data;
}
public virtual IList<Entity> GetDataAdvanced()
{
return GetData();
}
}
Consider a... | stackexchange/codereview |
I am trying to run a template function on a separate thread but IntelliSense (VC++ 2010 Express) keeps giving me the error:
"Error: no instance of constructor "boost::thread::thread" matches the argument list"
and if I try to compile I get this error:
"error C2661: 'boost::thread::thread' : no overloaded function takes... | stackexchange/codereview |
Can I automatically resize an embed code efficiently using PHP (maybe with regex?)
Here's an example of the embed code:
<object width="500" height="350">
<param name="movie" value="http://www.megavideo.com/v/"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.megavideo.com/v/"
... | stackexchange/codereview |
This is something I've wondered about for a while. I see this pattern a lot:
if (pf.isDefinedAt(in)) pf(in)
By breaking this up into two separate calls, all of the patterns that were evaluated in #isDefinedAt are then also evaluated in #apply. For example:
object Ex1 {
def unapply(in: Int) : Option[String] = {
... | stackexchange/codereview |
I came across a jQuery Wizard plugin at the following URI:
http://www.techlaboratory.net/labs/SmartWizard/wizard-vertical.htm
While it serves my purpose, I am trying to achieve one small thing. If I add more than 5 steps, obviously not all steps are visible. Instead, when clicking on the next, I am trying to center the... | stackexchange/codereview |
How should we do the below the scenarios in J2ME?
Display the table. Inside the table, the cells need to be textboxes. The cells can have any value. The user should be able to edit it. If a user selects a cell then she should be able to edit it; the cell should shrink and enlarge based on the value, like in Excel.
| stackexchange/codereview |
I am working on a project which was mostly implemented using factory and facade patterns. However I am unable to understand as I do not have a clear concepts of how factory pattern works in C++. Can anybody suggest good sample program or link for the same.
Thanks
krissam
| stackexchange/codereview |
I'm working to have Rails 3 respond with a JSON request which will then let the app output the search results with the jQuery template plugin...
For the plugin to work, it needs this type of structure:
[
{ title: "The Red Violin", url: "/adadad/123/ads", desc: "blah yada" },
{ title: "Eyes Wide Shut", url: "/adadad/1... | stackexchange/codereview |
So for example:
function(input){
var testVar = input;
string = ...
string.replace(/ReGeX + testVar + ReGeX/, "replacement")
}
But this is of course not working :)
Is there any way to do this?
| stackexchange/codereview |
Just as the title says, does Cufon work in FBML static pages?
If not, what works to replace the fonts?
| stackexchange/codereview |
I want to learn “WPF using C#” properly.
I read basic concept of WPF using C# language. Since I know C++ and HTML It did not took too much time to read C# and XAML simple tutorial.
Now when I searched for the WPF tutorial, most of the sites give WPF features and some of the .net controls API and class usage.
But I wan... | stackexchange/codereview |
How much memory will JVM Allocate to
1) Static String
2) Static Integer
I am exploring this issue as I am getting Heap Memory Out of Memory Exception,
I have in my application 8 constants file and each file has almost near to 300 Static Constants.
Is that a good practice to declare all the constants as a Static or any... | stackexchange/codereview |
two activities here, A and B. A is main, B is PreferenceActivity with two EditTextPreference.
I want to be able to access the preferences generated by B from activity A, and for that I need of course (I guess) getSharedPreferences on A. But in order to do that I need to supply the preference file for the activity that ... | stackexchange/codereview |
We want to try to prevent using a mySite and just use the profile of SharePoint 2010. However, we want the user to store bookmarks (or links)- does this mean they need to have a mySite? Is this possible with just a profile?
| stackexchange/codereview |
I have the following XML in my Flex4 (AIR) project that defines the start of my menu interface:
<mx:MenuBar x="0" y="0" width="100%" id="myMenuBar" labelField="@label" itemClick="menuChange(event)">
<mx:dataProvider>
<s:XMLListCollection>
<fx:XMLList xmlns="">
<menu label="File">
<item l... | stackexchange/codereview |
Is there a module out there that would would sort of allow a user to run SQL queries and simple tables to a database directly from Drupal?
| stackexchange/codereview |
I designed a form that emails the results when submitted. The PHP script will show a thank you page upon success. Is it possible to place the the "name" field in a separate thank you page?
Here is my code for the form:
<?php
$name = $_REQUEST['name'] ;
$carenumber= $_REQUEST['carenumber'] ;
$email = $_REQUEST['email'... | stackexchange/codereview |
I tried these two methods on Advantureworks and got different results.
select * from Person.[Address] where AddressLine1 like '%99%'
select * from Person.[Address] where contains(Address.AddressLine1,'"*99*"')
Any Idea?
| stackexchange/codereview |
Friend's
I need help on setting the data content showing from DropDownlist of auto complete text box to another string,when i click the particular content from dropdown list.
Help me.
thanks in advance.
| stackexchange/codereview |
I have a problem, where I have two third party libraries classes that I have to extend and use together. But both have the same naming convention and two class name end up having the same name.
Since I cannot extend two classes, I don't know how to fix them, how to create a wrapper against one. I cannot use PHP Namespa... | stackexchange/codereview |
I want to call an action with something similar to this uri:
http://server/controller/action/?columns=firstname&columns=lastname&columns=age
and use it like this:
public ActionResult Action(string[] columns)
{
}
how do I do it?
| stackexchange/codereview |
I want to clone a site and keep file structure as site original, like have CSS folder, images folder etc. all things are the same on the web, is there some tools can achieve this, I have tried:
wget -m http://www.xxx.com
but it's seem didn't contain CSS, JS file because they in a different sub-domain like tech.xxx.com... | stackexchange/codereview |
i have an animate effect applied to 4 divs in order to create a blinds effect: when you hover over the first box it grows , the other 3 shrink and when you "mouseout" all 4 return to 25% of the total height.
i want to insert a nested div inside each box (in front, actually with absolute positioning) in order to present... | stackexchange/codereview |
I need to find out the subdomain from which a SOAP-based client calls a WCF-method. While that is quite easy if your're on ASP.NET by using HttpContext.Current, I could not find an equivalent for WCF.
The reason why I need this value is, because I want to host a multi-tenant application which consists of a Web-Frontend... | stackexchange/codereview |
I am doing something like this: if an image is cached on user's computer and its timestamp is the same as the one on the server, then display the cached version; otherwise, do NOT load the image from the server.
I guess maybe JavaScript can do this, so I tagged this post as javascript. If it is improper, please help me... | stackexchange/codereview |
Sometimes, during period of high traffic on sites, CCK input fields disappear while adding a content from the backend. I haven't enabled the throttle module. The fields are restored automatically at other times.
For example - field for image upload, checkbox for featured for a content type News disappear during heavy ... | stackexchange/codereview |
Can anybody tell me what is the equivalent component in android like table view on an iPhone?
How do I implement the table view component like on an iPhone in android?
Give an example.
| stackexchange/codereview |
I'm just wondering what editors you know which are "scriptable". E.g take an Emacs, one can really say you can do everything from within the editor: writing,reading, programming. All with the "scripting language" Emacs-Lisp. What other editors you know are out there as scriptable?
Do you know let's say an editor scri... | stackexchange/codereview |
is it possible to calculate a ratio using a function in C?? or do i have to do up a formula??
| stackexchange/codereview |
I am developing second client application that is consuming existing SOAP web-services.
I generate Java from existing WSDL using the latest Apache CXF 2.3 tool
wsdl2java -client -ant http://172.20.0.22/someletters/TradingServer.asmx?WSDL
and get
WSDLToJava Error: java.lang.IllegalArgumentException: An operation with n... | stackexchange/codereview |
I am starting a project that involves coding a Black-Box Trading Bot for a strategy one of my friends created, and I was trying to think of what the best design pattern would be.
My current thought is that I should use the Actor model to allow for lots of concurrent calculation and information passing.
Anyone else hav... | stackexchange/codereview |
I am trying Git, and so if i do
mkdir foo
cd foo
git clone git://github.com/some_repo/sdk.git
so my project folder will now have sdk, which is a library or an sdk. How to make sdk part of my project now? That is, just 1 repo instead of git init and have 2 separate repos?
| stackexchange/codereview |
I tried
echo strtotime('129:00');
but it will have an empty output.
This
echo strtotime('03:00');
will have 1288339200 as the output.
I guess strtotime() won't accept huge values?? What's the alternative for strtotime() that will accept 129:00.
| stackexchange/codereview |
I am trying to process somewhat large (possibly up to 200M) JSON files.
The structure of the file is basically an array of objects.
So something along the lines of:
[
{"property":"value", "property2":"value2"},
{"prop":"val"},
...
{"foo":"bar"}
]
Each object has arbitrary properties and does not necessary shar... | stackexchange/codereview |
The old generated .css file has
/* line 27, ../../../app/stylesheets/partials/products/_summary_pane.sass */
which tells where the css (or sass) is originally from. (example: the above say it is from _summary_pane.sass)
and now all of a sudden, these lines are all gone. What might be the cause for it?
| stackexchange/codereview |
I managed to make git work for pull and push over http. Now the last step it getting around the git push asking twice for my password. I don't want to use the .netrc file. any idea ? thanks
| stackexchange/codereview |
In the Play getting started docs, they show this controller:
public static void index() {
Post frontPost = Post.find("order by postedAt desc").first();
List<Post> olderPosts = Post.find("order by postedAt desc").from(1).fetch(10);
render(frontPost, olderPosts);
}
Then, in the template the frontPost and olderPost... | stackexchange/codereview |
I have a solution that contains several projects. One of the test projects is using .NET 4.0 due to a dependency. The deploy-able project I want to build is targeted against the .NET 3.5 compiler. Our current build script is not granular enough to target different .NET compilers on a project by project basis. Basic... | stackexchange/codereview |
Hi i need to call a external EXE (same running exe )from a C++ method i used
system("filepath");
but in the current file closed and new exe doesn't create the new instance
How can i call a exe with absolute path ?
| stackexchange/codereview |
Imagine, I have several branches: master, a, b, c ...
Now I'm in master branch and "git pull". This fetches all changes from remote server into origin/master, origin/a, origin/b ... branches and merges CURRENT branch (master) with origin/master. But then I want to switch to A branch and again merge these remote changes... | stackexchange/codereview |
I am complete newbie to Android development and I have to make a Home screen app like this one
http://www.4shared.com/video/tjKMbnEk/noteBook.html
It must have the scrolling folder widgets , I am not much familiar with Android terminology and having a hard time searching for this stuff. I'll appreciate any help.
| stackexchange/codereview |
Hello i got a question, i have a session array called 'addToCart', in there are multiple arrays with various id's, i would like to loop through these arrays with a foreach regardless of what the id name is. Does anyone know how i would approach this?
| stackexchange/codereview |
I have a custom QWidget and I simple don't want it to show up in the taskbar. I have a QSystemTrayIcon for managing exiting/minimizing etc.
| stackexchange/codereview |
Is there any way to protect my code during development so that if a developer leaves my company they are unable to access files in my project?
This is especially important with TFS where the project is downloaded locally, cached, and available for offline use. Ideally the code would be unreadable if they did not have... | stackexchange/codereview |
I need to rotate and move objects on a UIView when the orientation changes. To that end I have the following in willRotateToInterfaceOrientation
if (UIInterfaceOrientationIsLandscape(toInterfaceOrientation)) {
[self repositionObjectAfterRotation:scrollView x:0 y:100 width:480 height:150];
[self repositionObject... | stackexchange/codereview |
I have a method that takes an System.Action, this is what I'm trying to feed it:
Function() Me._existingImports = Me.GetImportedAds()
The thing is that it complains about the = sign since it thinks I'm trying to do a comparison, which I'm not. I want to assign the Me._existingImports the value of Me.GetImportedAds(), ... | stackexchange/codereview |
I'm creating a site with a lot of embedded Youtube videos, but it seems the video players take a while to load. Is there a way I could speed things up?
If this is not possible, then how do you embed just the thumbnails and load the videos when a user clicks on the thumbnail?
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.