instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I am writting a google map using V3 of the API, into my page which results in a completley unrelated part of the page disappearing only in safai.
If you look at this page http://local.stv.tv/bellshill/ the blue navigation bar is fine, yet when you go to any page with a google map on it, part of the navigation dissapear... | stackexchange/codereview |
I have recently experimented with creating an easy way to open a ProgressDialog up in a second thread, so if the main thread freezes the dialog will keep working.
Here is the class:
public class ProgressDialogThread extends Thread
{
public Looper ThreadLooper;
public Handler mHandler;
public ProgressDialog ThreadDia... | stackexchange/codereview |
While I consider myself a reasonably competent programmer, I have no experience with even the most basic graphics programming.
Are there any recommended resources for learning the basics of 3D programming - preferably using a high-level language like Python or JavaScript?
Ideally, I'd like a simple hello world example ... | stackexchange/codereview |
I have thousands of files without extensions after recovery (mostly pictures). I need to sort them into separate folders by filetype (folders must be created during sort process). I can determine filetype in linux using "file" command. Does somebody have bash script for it?
For example: Initial dir contains files: 001... | stackexchange/codereview |
Google mapview does not load the actual maps in the emulator, just the grid. My overlays are displayed ok. sdk version 2.2. It works fine in a real phone. I use a debug key and trippel checked the manifest. It has been working in earlier projects. I just cant figure it out.. Any ideas, what to check?
| stackexchange/codereview |
I have an ASP.NET 3.5 app with a SQL 2005 Express .mdf database file in its App_Data folder. Lets call that Foo.mdf. On its own the ASP.NET app can connect to the database with no problems. So far so good.
Then, if I install Sql Server Management Studio Express on the server and start it, it finds the local SQLEXPRESS ... | stackexchange/codereview |
I need a way to allow administrators to delete a job in Quartz.NET. Are there any built in methods for the JobDetail class that allow me delete the job and all associated triggers?
| stackexchange/codereview |
I have a friend who did the same thing with window form.
What I need is to make this to a window service.
The Window service program (printing controller service) will be used as a central printer controller.
Depending on the condition, I will send the printing job to different printer on the network (the printer is ... | stackexchange/codereview |
I'm developing a Windows Forms application in C# with an embedded WebBrowser control to "dummy-proof" (i.e. disable context menus, back button, free navigation, etc.) access to a third-party web application.
Right now I'm trying to add the Zoom feature to my custom browser. I have the keyboard combos working for it (C... | stackexchange/codereview |
I have the following IronPython code.
class Hello:
def __init__(self):
pass
def add(self, x, y):
return (x+y)
I need to call this from C#, and I came up with the following code.
using System;
using IronPython.Hosting;
using IronPython.Runtime;
using IronPython;
using Microsoft.Scripting.Hosting... | stackexchange/codereview |
How can I specify a layout and conversionPattern for the resulting emails subject?
The BufferSize will need to be less than or equal to 1 so no buffering will occur.
| stackexchange/codereview |
Probably a simple question, but my brain isn't working today.
I am writing a small powershell script to do various tasks. These tasks are logically grouped into tabs, using a WPF TabControl.
A couple of the tabs do some checks to compare local file dates with server file dates, which takes a bit of time. (Only a few se... | stackexchange/codereview |
For some important reasons I can't use standard methods provided by ZF to prevent sql injection. I have just wrote that (and I am using it on each POST/GET data from user):
$filter = new Zend_Filter_PregReplace();
$filter->setMatchPattern(array("/[';`]/"))
->setReplacement(array(''));
I am using MySQL database ... | stackexchange/codereview |
I have a webview in my activity and loaded contents for webview by following:
webview.loadUrl("file:///android_asset/description.html");
In description.html i have a reference for another html file located in the same place by following:
<a href='file:///android_asset/uml.html'>see UML diagram</a>
This was working ab... | stackexchange/codereview |
I am trying to load BROWSER VIEW intent in android within onTouchEvent. Basically I have created a live wallpaper and if I click on it then I want to open BROWSER VIEW intent with a specified uri.
I have tried following code inside onTouchEvent
Uri uri = Uri.parse("http://www.google.com");
Intent intent = new Intent(In... | stackexchange/codereview |
Anybody any ideas on how to remove children from stage using AS3 if I store the reference to the objects in an array and they exist in different locations i.e they are not all children of the same parent?
SomeArray.push(this);
| stackexchange/codereview |
I have a multi-threaded application that has a centrlaised list that is updated (written to) only by the main thread. I then have several other threads that need to periodically retrieve the list in its current state. Is there a method that can allow me to do this?
| stackexchange/codereview |
In a Rails 3 app, I'm running a somewhat complex group_by and am curious if I can hide it away elsewhere, much like one can hide away ActiveRecord conditions in a scope. I realize group_by is an operation on an Enumerable, so scopes don't apply here, but my question is if there's a way to create a shorthand for this in... | stackexchange/codereview |
I've got a sortable list which is using connectWith to ensure it can only be sorted within its own types of list.
Now I'm trying to make a droppable trash can element that appears at the bottom on the viewport when an item is being sorted. This element is outside the context of the lists and simply deletes any element... | stackexchange/codereview |
In an iPad app im using a thirdParty cpp file that acts as a controller for some UI functionality; its wired up with IB and a @class definition is all i need.
However now I'm trying to set a delegate on the cpp file and therefore have to include it in the implementation of my viewController.
including the cpp header in... | stackexchange/codereview |
So I'm writing an Android app which uses a large c++ library. I have everything working so that the java app can call the c++ delegation methods, but I'm finding myself wishing I could log messages from c++ to the Android log. This is easy from java, but I'm at a loss as to how to call a java method from c++. My sea... | stackexchange/codereview |
I currently have a Google App Engine app consisting of two parts:
A website using old school JSPs
A RESTful service implemented in Jersey
I've been trying to figure out how to shoehorn authentication into the web service but am rather lost since I've never used Spring before, and it sounds like that's the way to go.
Mu... | stackexchange/codereview |
I cannot find out which font the console app uses by default? Is it guaranteed that everyone has that font (when running this .NET app)? Want to display some unicode chars and need to be sure they are present within that font.
Thanks
| stackexchange/codereview |
I've got a wxpython grid, and I'm changing the background color of a cell to show that something has happened to it.
I'd like to fade the color change in/out (like JavaScript in the browser) for a smoother look. Is this possible to do?
Right now, I'm just changing the background color, and then changing it back after a... | stackexchange/codereview |
I am trying to do a POST request with a set of parameters to a given URL. The problem I am having is that the POST request is made, but no parameters are passed.
RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, url);
StringBuilder sb = new StringBuilder();
for ( String k: parmsRequest.key... | stackexchange/codereview |
I'm trying to get the contacts from Outlook (2007) using the following code:
Outlook.Application outlookApp = new Outlook.Application();
Outlook.MAPIFolder fldContacts = outlookApp.Session.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts) as Outlook.MAPIFolder;
foreach (Outlook._ContactItem contact in fldCont... | stackexchange/codereview |
Our application is built with VS 2008, uses Linq and has Target Framework set to .NET Framework3.5.
It works OK when only .NET 3.5 or 4 is installed on the machine.
However, on machines where both .NET 2 (or 3.0) and .NET 4 are installed, the application is loaded with .NET 2, and crashes when Linq is accessed, as it l... | stackexchange/codereview |
I'm working with a software package that creates Flash panorama .swf's. The package allows the creation of hotspots in the pano. You can specify the URL and the Target of the hotspot, so if you click on the hotspot it launches the URL in _blank, _self, etc.
However, the package doesn't allow you to specify the attribut... | stackexchange/codereview |
I've seen the usage of exit status 3 in several python scripts that restart processes. As far as I know the convention is only about 0 and "not 0" on Unix/Linux.
Is there a convention defining other values like 3.
| stackexchange/codereview |
When I need to use a lookup I usually include the ID property in the view model class so I can use it this way in the corresponding view
<%= Html.LabelFor( model => model.LookupTableID )%>
<br />
<%= Html.DropDownListFor(model => model.LookupTableID, Model.LookuptableList, new {}) %>
having Model.LookuptableList as a ... | stackexchange/codereview |
Suppose I have two classes like so:
class Parent
def say
"I am a parent"
end
end
class Child < Parent
def say
"I am a child"
end
def super_say
#I want to call Parent.new#say method here
end
end
What are the options to do that? I thought of:
def super_say
self.superclass.new.say #obviously the ... | stackexchange/codereview |
I have:
main :: IO ()
main = do
iniciofibonaccimap <- getCPUTime
let fibonaccimap = map fib listaVintesete
fimfibonaccimap <- getCPUTime
let difffibonaccimap = (fromIntegral (fimfibonaccimap - iniciofibonaccimap)) / (10^12)
printf "Computation time fibonaccimap: %0.3f sec\n" (difffibonaccimap :... | stackexchange/codereview |
I have Visual Studio 2010 solution of 2 projects: c# and c++
c++ project using .net framework libraries and exposes class that is referenced from c# project.
Everything compiles fine and c# project intellisence helps me with methods exposed from c++. But when I try to launch c# project it crashes with exception:
Coul... | stackexchange/codereview |
I need a query for SQl server 2005 (SQL server management studio express).
I have data stored as 1 minute time frame (1 minute each row), for each table columns are ID, Symbol, DateTime, Open, High, Low, Close, Volume.
I need to convert (compress) to every possibile multiple time frame, so let's say 10 minutes, 13, 15... | stackexchange/codereview |
This is a memory stack (serves as a cache) that consist of nothing but a static ConcurrentHashMap (CHM).
All incoming HTTP request data are store in this ConcurrentHashMap. And there is a asynch scheduler process that takes the data from the same ConcurrentHashMap and remove the key.value after storing them into the D... | stackexchange/codereview |
I have a HTML document which llokes like this:
<div class="this_can_be_selected">Some text here</div>
<div>No text in the div above is selected</div>
<div class="this_can_be_selected">Some text here</div>
<div>No text in the div above is selected</div>
<div class="this_can_be_selected">Some text here</div>
<div>No te... | stackexchange/codereview |
In MongoDB you can convert a collection into a capped collection with the command convertToCapped, but is there a way to revert this change so a capped collection goes back to normal?
| stackexchange/codereview |
Netbeans has an option to compress JARs after building them. Is there any reason to not do this? Does it make the JVM start slower maybe? Why aren't JARs compressed automatically by all compilers without giving you the option?
| stackexchange/codereview |
I'm writing a module for a moose object. I would like to allow a user using this object (or myself...) add some fields on the fly as he/she desires. I can't define these fields a priori since I simply don't know what they will be.
I currently simply added a single field called extra of type hashref which is is set to ... | stackexchange/codereview |
How can I give values to ListView?
When I am trying to create a ListView using String array, my process is suddently stopped.
public String[] items_list=new String[100];
items_list[0]="11";
items_list[1]="22";
items_list[2]="33";
items_list[3]="44";
ListView listitems=(ListView)findViewByI... | stackexchange/codereview |
How to display value with HTML tag inside h:inputTextarea?
In DB I have column contain data, it contain plain text and HTML tag, I want display it on h:inputTextarea. How can I do it?
| stackexchange/codereview |
I have a table with 3 UITextFields added to the content views of cells (1 row per section). I have a 4th section that I insert so that I can scroll the particular field to be above the keyboard.
The problem I have (on the iPad only) is that when one of the text fields has firstResponder, it does not relinquish it when... | stackexchange/codereview |
I can't figure out why I'm getting a 'Access to Message Queuing system is denied' error when trying to receive a message from a remote queue. (Msmq 5.0).
Sending to the queue is no problem, receiving from it is.
The security of the queue itself is configured to give full control to everyone and anonymous.
Any idea why ... | stackexchange/codereview |
My models look like this:
Location:
state
county
city
street
Building:
name
location = ForeignKey(Location)
Now, in admin, when editing the Building, I want to have the ability to edit the Location in this way:
So, it's like an inline, but with having Location in Building, not the oposite way.... | stackexchange/codereview |
it could be useful to export just the project layout, in a text format, for example :
src/main/java
*net.foo.bar
**MyFirstClass.java
src/main/config
*myconfigfile.properties
etc
It could be useful for sharing and talking about project organization, without making a screenshot. And it will be possible to c/p a file n... | stackexchange/codereview |
add a day to date, so I can store tomorrow's date in a variable.
$tomorrow = date("Y-m-d")+86400;
I forgot.
| stackexchange/codereview |
im trying to turn this jquery script into a toggle event type, thier is my script, with illustrations, to show what i want to happen. i cnt seem to intrgate it so here goes:
//myElement.toggle(vote(), unvote()); // this is the toggle event
$(document).ready(function() {
$('.statuses').delegate('.vote_u... | stackexchange/codereview |
What is the difference between "git branch --track" and "git checkout -b --track", if there is any?
| stackexchange/codereview |
Hey I was wondering if anyone can point me to some example on how to use Bit.ly API in ASP.NET 2.0
| stackexchange/codereview |
The situation is akin to the following:
Assume I am a store selling fruits, I would like to record the costs of each type of fruit. Assume the customer has specific tastes, and they can differentiate everything.
A fruit can be an orange, apple,
pear, or peach
It could be n days fresh from the vendor
The fruits come f... | stackexchange/codereview |
We're using eclipse and we have a main project with many different sub-projects/fascades/settings, etc. Is there a way to save all these settings so that team members can just check out the code (say, into a new laptop) and somehow apply all the eclipse metadata so that each project has the proper fascadesm, settings,... | stackexchange/codereview |
I need to encrypt text (a password specifically) correctly so a 3rd party can decrypt it. They have provided me with the key they use to decrypt and told me that they will be decrypting it on their end with OpenSSL.
I have been trying to get the AESManaged, and the RijndaelManaged classes in System.Security.Cryptograph... | stackexchange/codereview |
I've been struggling to create an Oracle SQL query that will tell me if my SDO table contains curves or arcs. I know that the sdo_elem_info contains the information I need, but I don't know how to use SQL to separate out the etype and interpretation from the sdo_elem_info.
So far, all I have is: select tbl.shape.sdo_e... | stackexchange/codereview |
What is the correct way to release a NSTimer in my dealloc method ? It was created with the following code ?
-(void)mainTimerLoop {
mainTimer = [NSTimer scheduledTimerWithTimeInterval:1/10
target:self
selector:@sele... | stackexchange/codereview |
what is the best way to optimize the following snippets that uses delegate()?
jQuery('.menu').delegate('li.gallery', 'hover', function () { jQuery(this).children('.submenu').toggleClass('hide show'); });
jQuery('.menu').delegate('li.interior', 'hover', function () { jQuery(this).children('.submenu').toggleClass('hide s... | stackexchange/codereview |
I am trying to write a select query from one single table in SQLite DB in my app where data exists.
This is the SQL.table has these columns - id(INTEGER), start_time(INTEGER), category(TEXT)
select category from tuuserid_pref where id = (select max(id) from tuuserid_pref
where start_time < '1242'); by the way I want to... | stackexchange/codereview |
I got a question about event dispatching in flex.
my goal is to get a custom event loaded up with some data and than bubble up to the eventlistener.
my main application has and AMF service request inside which calls an service class. that class is supposed to dispatch an event when the AMF service request returns a res... | stackexchange/codereview |
I would like to integrate GMap.NET in a c# application but when i download the code from http://greatmaps.codeplex.com/ a get a Demo app and some .dlls and some .xmls . I was sort of expecting some c# classes. Has anyone encountered this?
Regards,
Alexandru Badescu
| stackexchange/codereview |
Is there a way to check if two strings contain the same characters. For example,
abc, bca -> true
aaa, aaa -> true
aab, bba -> false
abc, def -> false
| stackexchange/codereview |
i would get outgoing call duration a call, I thought to get when the persone to the other side answer my call, but with PhoneStateListener we can get the state of a call, but PhoneStateListener changes state to CALL_STATE_OFFHOOK immediately when the outgoing call starts and not when the person to other side answers, s... | stackexchange/codereview |
I thought this would've been a lot simpler but at this point I'm confused and haven't progressed at all.
Basically, I need to be able to accept a password from a user in a WPF app, encrypt it then store this in a database and be able to decrypt later on. However I'm not sure how to implement this.
This is completely t... | stackexchange/codereview |
I am developing an application that will be deployed to Amazon EC2. I've had a good look at membase, which is a key-value store that can scale out very easily. However, I'm not sure that you can use that as your primary (or at least, only) datastore. Ie, you will need something else that will be able to hold search-abl... | stackexchange/codereview |
Folks,
i want to generate ( or trigger) query output from MS Access to MS Excel.
I want either embed code within SQL query which generates .xls or write external code.
Now i am generating report using "export" option but i want to automate export.
-Vijay
| stackexchange/codereview |
Is there anything similar to appdynamics.com to track performance and errors of a .net service in production?
I'd love to have an easy to integrate dashboard to monitor
Number of calls per minute
Response time
Cpu / Memory usage
GC behaviours
Exceptions
Alerts if anything is out of scale (actual response time vs avg,... | stackexchange/codereview |
I would like to change the htmlAttributes of the code rendered by my Html.ValidationMessageFor, but I want the message displayed to be the "default".
The overload options are:
A) Html.ValidationMessageFor(expression)
B) Html.ValidationMessageFor(expression, validationMessage)
C) Html.ValidationMessageFor(expression, va... | stackexchange/codereview |
I am using SQL Server 2008 R2.
I have a table which has several fields including a nvarchar(max) field.
When I try and add a new field of type varbinary(max) I get an error message: "Saving changes is not permitted. The change that you have made requires the following tables to be droped and recreated".
Is it possible ... | stackexchange/codereview |
rewrite script in .htaccess
RewriteEngine on
RewriteRule ^index/page/(.*)$ index.php?page=$1
It works in local machine. but in server it does not work. can any body help me?
| stackexchange/codereview |
There is no error in Web service
But there is an error
Error:org.ksoap2.Soapfault=null
pls help
| stackexchange/codereview |
Can anyone please let me know the difference between these two?
AntiXss.HtmlEncode() vs AntiXss.GetSafeHtmlFragment()
| stackexchange/codereview |
I wonder whether there is a way to select the standard deviation from several integer fields in MySQL within the same row. Obviously, if I use
SELECT STDDEV(col1) FROM mytable
I just get the standard deviation of that particular column. Let´s assume I have a table like:
id,somefield1,somefield2, integerfield1,integerf... | stackexchange/codereview |
I am new to testing or so called unit testing. i am on the verge of finishing a web application. i wanna know is unit testing important. and how does it help ?
as i have never written a test. can i get reference to some kinda guide or tutoriials regarding to writing test ?
i am using cakephp framework.
| stackexchange/codereview |
I'm in the process of creating a build mechanism that will automatically minify and combine a certain set of JavaScripts.
The problem I'm facing is that to actually incorporate these web services, I need to get that content somehow.
I'm aware that it's tentatively possible using the WebClient class and invoking the act... | stackexchange/codereview |
This question may be subjective but i just want to know when to use TPL and when to use native thread based synchronization (evnts, wait handles).
Will the native thread synchronization techniques be obsolete going forward?
Thanks
| stackexchange/codereview |
I am trying to understand the following behavior of shared libraries in C
Machine One
$ cat one.c
#include<stdio.h>
int main() {
printf ("%d", 45);
}
$ gcc one.c -o one -O3
$ ldd one
linux-gate.so.1 => (0x00331000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00bc2000)
/lib/ld-linux.so.2 (0x006dc00... | stackexchange/codereview |
I'm considering to use AutoMapper in the upcoming project and trying to find possible "bottlenecks". At the moment the most complex case i can imagine is the following:
A domain class which is represented by 3 (for example) tables in the database (my data access layer is LINQ to SQL). To build an instance of the class ... | stackexchange/codereview |
Strange, i am using apache + php with windows. php processed mysql bit fields as number:
it's work correct;
$b = $row['bit_field']
if ($b == 1) {
echo 'ok';
}
with centos and php 5.3.3 './configure' '--with-mysql' '--with-mcrypt' '--enable-mbstring' '--with-imap' '--with-kerberos' '--with-imap-ssl' '--with-libjpeg'... | stackexchange/codereview |
when user click on url link i want to install apk file from server.
please guide me how to do i searched on net i am not getting corresponding info
Thanks in advance
Aswan
| stackexchange/codereview |
In my app I store some user data in two .plist files which already contain some data, but the user can change it.
NSString *Path = [[NSBundle mainBundle] bundlePath];
NSString *DataPath = [Path stringByAppendingPathComponent:@"Settings.plist"];
NSMutableDictionary *tempDict = [[NSMutableDictionary alloc] initWithCon... | stackexchange/codereview |
Are there any text selector in jquery ?
My Code
<anything>Hello World! Hello World!</anything>
Reslut Should be (Using Jquery)
<anything>Hello <span>World</span>! Hello <span>World</span>!</anything>
| stackexchange/codereview |
I have created a Eclipse plug in to printout the object in selection on press of a short cut key.
I have been able to do this ,but i also would like to add the current method and current class name in the log. I am not sure how to proceede further. I tried to search for breadcrumb API but i was not able to reference t... | stackexchange/codereview |
I am writing some code and used >> (right shift operator) , the ui is totally messed up.I debugged and found that its doing wrong math and finally found right shift operator is not working mac safari.
Is this a known behavior or i am doing something wrong.
| stackexchange/codereview |
How can i find the fifth record in a table using sql query?
| stackexchange/codereview |
I am developing Android application for the company. They want me to create digital newspaper that would:
Display list of headlines for each category/subcategory
Will have 4-6 categories and 4-8 subcategories for each category
Display article with text and images,
Play podcast,
Save downloaded articles/headlines in db... | stackexchange/codereview |
Have I understood db design correctly?
A user can have one or multiple
professions
Each profession has multiple
qualifications associated with it
A user can have none or all of these
qualifications.
Are there any improvements that should be made? simplicity should be maintained. I intend to shorten table and column n... | stackexchange/codereview |
Does anyone know how I can obtain latitude and longtitude from the Country Name using Google Maps API?
| stackexchange/codereview |
Page load time, when in RoR lifecycle do you start/stop a timer to get this stat?
I know I can create a before/after at the controller level, is there anything higher up in the chain that I get start/stop this timer?
I want to get timings for a production release also, not just development mode where things are always ... | stackexchange/codereview |
I used setGeometry() to move and size some buttons and a list on a Window.
The problem is that the buttons and list have a certain order and are overlapping strangely. I don't even want them to overlap and don't understand why they are overlapping in the first place.
As they are in the code below, the only thing I can ... | stackexchange/codereview |
i'm using sifr for headings, and want to highlight certain words using a different colour.
i thought this could be achieved using sifr 3 and its support for tags such as em, and found a tutorial confirming such here: http://justcoded.com/article/two-colors-sifr3/
though, am encountering an error whereby the text within... | stackexchange/codereview |
So when i have a Datagrid which i want to fill with data from my Database. I normally design a ViewModel with the Data i wanted to display. But how do i create an ViewModel for my Datagrid when i dont know before which data it will display in it ?
So when i allow the user of my application to specify the Columns from t... | stackexchange/codereview |
my homework assignment was to: "write a function called findPattern() which accepts two strings as parameters, a filename and a pattern. The function reads in the file specified by the given filename and searches the file’s contents for the given pattern. It then returns the line number and index of the line where the... | stackexchange/codereview |
What do they do, and how do you use them? Any tips / tricks would also be appreciated.
| stackexchange/codereview |
I have a class library and my other projects are using it. And also i have some connection strings. i want to use them from just class lib's App.config file. But when i use ConfigurationManager in my class lib for reading connection strings, program looks my current project's App.config or Web.config files.
How can i ... | stackexchange/codereview |
This is realated to a much more complex earlier post, where I was trying to tie together js event handlers. I realized after reviewing my earler post that I am not sure how one of the behaviors on my site works so I wanted to post it as a new topic.
Basically, I am working with a commercial wordpress plugin that uses ... | stackexchange/codereview |
In some documentation, I have gotten the instructions to write
SERVER_PATH\theme\
When I check _SERVER["DOCUMENT_ROOT"] from php info, it's
/storage/content/75/113475/frilansbyran.se/public_html
this renders of course
/storage/content/75/113475/frilansbyran.se/public_html\theme\
this looks really weird to me what's the... | stackexchange/codereview |
I successfully compiled and installed the latest version of the Boost library onto my linux machine.
Now, I would like to be able to use pkg-config to ease the process of providing linking paremeters with GCC.
Since I am too lazy for hand-coding my own .pc file, is there a script/tool which would automatically generate... | stackexchange/codereview |
the following messege appears when I compile this code.
ExtractChars(java.lang.String,int) in
Question2 cannot be applied to ()
What should I fix?
Thanks.
import java.util.Scanner;
public class Question2
{
public static void main (String[] args)
{
ExtractChars();
}
public static String E... | stackexchange/codereview |
I have a controller called TagsController that takes the tag name from the url in the index action to get a list of projects with that tag.
<?php
foreach($tags as $tag){
echo "<span class='homepagetags'>".$html->link($tag['t']['tag'], array('controller' => 'tags', $tag['t']['tag'])) . "</span> x " . $tag[0]['NumO... | stackexchange/codereview |
I was wondering how you can append a variant to a port if you have already installed the port. For example I installed the 'vim' port and would like to go back and add the python25 variant. Do I need to delete vim and reinstall it? This is just an example, I would really like to know the process to do this for any port... | stackexchange/codereview |
ex:
if we have a string s1="abcde" s2="abd"
find the occurrences of "ad" in s1,s2.. here the occurrence count is 2 on the whole..
Can any1 help me regarding the regex code in java... pls..
| stackexchange/codereview |
I have a site that utilizes the main/delta indexing scheme for sphinx. main gets rebuilt daily, delta is rebuilt every 5 minutes. This works well for indexing newly submitted items.
The problem is, items needed to be dropped from the index just as frequently as they are added, and typically the dropped items are older... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.