instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I am using this query: SELECT p.id, count(clicks.ip) FROM `p` LEFT JOIN c clicks ON p.id = clicks.pid WHERE clicks.ip = '111.222.333.444' To select clicks from table "c", that has "pid" = "p.id". The query seems to work fine, but now I want to use that query with date ranges. The "c" table has a column "time" that use...
stackexchange/codereview
I am struggling with this which apparently is a very simple effect but incredibly haven't found any intutitive way for doing it in Android. I have a ListView and I managed to customize the background images so the selected item gets highlighted by getting a new background drawable. This I do creating a new style where ...
stackexchange/codereview
I have base64 encoded image. If I put it right into html it works: <img src="data:image/png;base64,..."/> But when I put all that base64 content into a separated file, it doesn't: <img src="image.base64.txt"/> I tried changing extension to .png, but it doesn't help. Any ideas?
stackexchange/codereview
I'm using a Viewbox to create a set of icons that I will dynamically bind to a WPF view. I'm binding to the resource name and using a Converter to convert the resource name to an ImageSource. I know how to do it if the resource is a Path, but how to do it with a Viewbox? This is how I convert the resource name, if the ...
stackexchange/codereview
Adding a loop option does not make my carosel loop! `jQuery('#third-carousel').jcarousel({ vertical: true, loop: true });` Using: /jquery/jquery-1.3.2.min.js Carosel script:http://sorgalla.com/projects/jcarousel/lib/jquery.jcarousel.min.js Can you help?
stackexchange/codereview
Does anybody knows how to set android search dialog hint dynamically? T have try to do something like: <?xml version="1.0" encoding="utf-8"?> <searchable xmlns:android="http://schemas.android.com/apk/res/android" android:label="@string/search_label" android:hint="@string/search_hint" android:id="@+id/search_dialog_t...
stackexchange/codereview
Thank you so much for being so helpful. Owe you all a thank you. I will be asking more questions in the future. Someone has solved the problem by giving me this code: echo "" . strval($row['style']) . "" . ""; and it worked beautifully!!!!!!!!! You rock! I am sorry, I don't know how to post follow up questions, so I ...
stackexchange/codereview
I am a little new developer in C#. I am facing a problem in developing some application. I have to develope an "application" that opens a scanned document( of any application form or bank cheque) and save the required data of the document to the database for example... cheque number,account no in a scanned copy of che...
stackexchange/codereview
In Rails, if I create a scaffold foo, and do rake db:migrate, then now app/models/foo.rb is created. So if I go to script/console (or rails console for Rails 3) and type $".grep /foo/i it is empty. $" is the loaded files. So foo.rb is not loaded yet. Now I do a Foo.all, and foo.rb should be loaded now. But whe...
stackexchange/codereview
I have a website running on wordpress and ajax. All the content ist loaded via ajax with deeplinking and hashHistory. URLs look like this: http://www.website.com/#/lang/page/ On one of the pages i want to implement multiple facebook like buttons to boost some of the contents popularity . To make this happen i need...
stackexchange/codereview
I'm trying to test an intranet site in the Android emulator, but I can't seem to get the emulator to access our intranet. For example, the site I'm trying to access is at http://compass/messages, but trying that page in the browser gives me a Google search result page instead of the intranet site. I can access the INT...
stackexchange/codereview
I'm trying to scrape the information from Google Translate as a learning exercise and I can't figure out how to reach the content of this span tag. <span title="Hello" onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'"> Hallo </s...
stackexchange/codereview
The official mercurial web page can't find the entry of official repository, only download links, where is it, thanks.
stackexchange/codereview
I'm attempting to make a class in javascript. I create it with the JSON type object thing. Doing this: Foo = { PubId: '', Init:function( oCallback ) { this.sendCommand( 'INIT', {}, oCallback ); }, sendCommand : function( sCommand, aParams, oCallback ) { setTimeout( oCallback, 100...
stackexchange/codereview
Possible Duplicate: Enable GPS programatically like Tasker I'm a beginner android developer. I want enable and disable GPS with a click of a button, without running this intent: intente in = new Intent(android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS); startActivity(in); that brings me in the setting m...
stackexchange/codereview
My application reads an Access database file that can be updated at runtime by downloading a replacement MDB file (with the same schema) and overwriting the existing file. This is all well and good during development, but it breaks during deployment. The main problem is that the connection string for the data adapters ...
stackexchange/codereview
I am combining div toggling with complex forms: http://railscasts.com/episodes/75-complex-forms-part-3 My specific situation: I have a few nested fields being built in table/new.html.erb and Customer/_customer_note_fields. Ordinarily, I would do something like the following to have toggled divs: # view <a class="toggle...
stackexchange/codereview
a: @echo 1 b: @echo 2 c: @if [ ! -d somefolder ]; \ then \ # how do I invoke target b here? fi; How can I invoke target b inside target c, based on my condition? Sort of like an antcall, if you're familiar with ant.
stackexchange/codereview
i want to know if i could optimize the reflection part of my app. Background information: the vb.net windows application checks if database records apply on different rules. So i created an Interface iRule and (so far) 54 rules-classes that are implementing it. They all belong to the same project(Rule.dll). Because pe...
stackexchange/codereview
I would like to know if locking my table is necessary in this situation (I'm using Coldfusion and MySQL): I have a table called wishlists(memberId, gameId, rank, updateAt) where members store games in a personal list. wishlists has a man-to-many with a members table, and many-to-many with a games table. Many members ha...
stackexchange/codereview
I have the following form_for tag: <%=form_for [:project, @permission], :remote => true do |f| %> <form method="post" id="edit_permission_52" data-remote="true" class="edit_permission" action="/projects/52/permissions/useronspace" accept-charset="UTF-8"> The ID looks right = edit_permissions_52 But the action path i...
stackexchange/codereview
The title is a bit complicated, but it fits my problem. I have a complex object that acts more like a service that I need to expose within the scope of a user's session. The majority of the application will exist within a page or two and numerous ajax calls for dynamic interaction with the service. I'm still getting...
stackexchange/codereview
I have a routine that will be creating individual tables (Sql Server 2008) to store the results of reports generated by my application (Asp.net 3.5). Each report will need its own table, as the columns for the table would vary based on the report settings. A table will contain somewhere between 10-5,000 rows, rarely mo...
stackexchange/codereview
Greetings. I am studying the way mpeg layer-III encoding works for an upcoming project. I downloaded the shine encoder as it is said to be the simpliest of all. http://www.mp3-tech.org/programmer/sources/shine.zip is the link. I successfully compiled them in a standalone project but i need to be using them in a QT proj...
stackexchange/codereview
how to implement counter type functionality in xslt
stackexchange/codereview
I am attempting to enumerate the set of all pairs made of elements from two lazy lists (first element from the first list, second element from the second list) in OCaml using the usual diagonalization idea. The idea is, in strict evaluation terms, something like enum [0;1;2;...] [0;1;2;...] = [(0,0);(0,1);(1;0);(0;2);(...
stackexchange/codereview
This might sound super crazy but I really want to know if this can be done. Assume a multi-user site that gives users some tools to build web apps from the site itself (using only HTML/CSS/JS) and share them. Now, if each of the apps were to be assigned a datastore, say just a table for convenience, is it possible to m...
stackexchange/codereview
If I have a MySQL master-slave set-up and I change the schema on the master (e.g. ALTER TABLE/CREATE TABLE, etc), will those changes get replicated over to the slave?
stackexchange/codereview
I've the page: <view:PhoneApplicationPageBase x:Class="Exadel.CCHMobile.View.NewsView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone" xmlns:shel...
stackexchange/codereview
boost::mpl::integral_c is declared as: template <typename T, T N> struct integral_c; Is it possible to register this sort of template with Boost.Typeof: For any T? For some T's?
stackexchange/codereview
I'm wanting to validate a soap request against the schema inside this wsdl. <wsdl:types > <xsd:schema targetNamespace="http://ws.thecompany.com/FormSubmissionService20100824" xmlns:request="http://xmlschema.thecompany.com/generic/FormHeader20100824" xmlns:response="http://xmlschema.thecompany.com/g...
stackexchange/codereview
I get a Dictionary<string, string> back from an API but depending on certain rules need to modify some of the key names. Before I head down the road of copying to a new Dictionary I just wanted to confirm that the keys in a Dictionary<TKey, TValue> are immutable.
stackexchange/codereview
In Microsoft's documentation I can't find the answer to my question on how to disable this feature. The setup is that I have a browser open, that invokes the window.showModalDialog. After the user enters input in the popup window and submits a new window is opened from the pop-up. I do not want the results from the ori...
stackexchange/codereview
Are the JavaDocs for clojure.lang, etc. available online? Do I need to build it myself from the Clojure source? Thanks.
stackexchange/codereview
I usually work on multi-project solutions in visual studio. Since the solutions themselves are not stored in the repository, I spend some time adding in the various projects via visual studio(from a list which is part of the 'parent' project). I am wondering if I can acommplish this via a script. ie: 1. create a solu...
stackexchange/codereview
I need to provide some help for my app. I'm going to have some info buttons on some screens. Initially I'd like them to be directed to the exact help page, but I'd like them then to be able to navigate to other pages in the help system. What should I use, I'm looking for something quick to develop and quick to modify. ...
stackexchange/codereview
I have a navbar included in a linearlayout with another relativelayout as below. This relative layout forms the whole screen while the navbar is on top. I have added a button in the navbar and a listview which becomesvisible when the button is clicked. The problem is: when the button is clicked I am expecting the list ...
stackexchange/codereview
I know that Excel 2010 Slicers will visually indicate when there is no data associated with a particular slicer selection. For example, they are faded in color for 2010 if you have no values in 2010. Is there some setting where I can hide them altogether? If I have sales in 2007, 2009, and 2010; but not 2008 can the s...
stackexchange/codereview
I've been developing Android games for the lower res screens (320x480) and then letting Android handle the density adjustments so the games work on high res screens. It allows me to keep the size of my APK files small and I don't have to create multiple versions of every image in my games. It actually works fine, the...
stackexchange/codereview
Possible Duplicate: jQuery multiple class selector I have an input field '#q' where a user can type a search query and returns a set of list items whose classes match it. function queryData() { q = $('#q').val(); q = q.toLowerCase(); var qs = q.split(' '); $('.item').fadeOut(300); for (n in qs) ...
stackexchange/codereview
The subject is vague because I'm not sure how to articulate in one sentence what I want. Here goes: I have an NSArray of NSDictionaries. Each NSDictionary represents one day of the calendar year. Each NSDictionary has a key "date" with a value of NSDate. There should be 365 NSDictionary items in the array. The di...
stackexchange/codereview
I was trying to debug a PHP script when I came across a declaration like: $cart = new form; $$cart = $cart->function(); What is $$cart?
stackexchange/codereview
I have a number of ul's which the user is able to sort li's into. I have 2 different types of li and need to restrict which list they can be dropped into. Here is a small example: <ul class="top"> <li class=typeA">Item</li> <li class=typeA">Item</li> <li class=typeB">Item</li> <ul class="sub"> ...
stackexchange/codereview
I'm using the original Juggernaut (not Juggernaut 2) with Rails 3. In the lib/juggernaut.rb, it breaks due to not being able to find @template. According to this other post, @template is not provided in controllers in Rails 3. How can I fix the following code, so that it can run smoothly with Rails 3? (Here's a link t...
stackexchange/codereview
I'm developing an application which will need to copy files that are locked. I intend on using the Volume Shadow Copy service in Windows XP+ but I'm running into a problem with the implementation. I am currently getting E_ACCESSDENIED when attempting calling CreateVssBackupComponents() which I believe is down to not h...
stackexchange/codereview
I'm trying to create a drawable on the fly to use as a background for a custom linearlayout. It needs to have hash marks and such (no big deal), but also have numbers labeling what the hash marks are (like a ruler). I know I can just create text elements and put them inside the linearlayout and just have the hash marks...
stackexchange/codereview
I'm working on a app which will use a uiwebview to submit a form. I wonder if it's possible to catch the post and parameters then reuse them to set a calendar event for ex. I mean : - fill the form (in webview) - submit the form (in webview) - catch form parameters and fill calendar event (native iphone framework). Is ...
stackexchange/codereview
Is there an option in VS2010 Ultimate in UML tools to create class diagram which would indicate that this class is a template (with types and how many of them) in the way class template diagram according to UML 2.0 looks?
stackexchange/codereview
What are some uses of the modulus operator? I know that it calculates the remainder in division so really I am asking what uses does the remainder have? So far I have used it to check if a number was even and alternate colors on a table.
stackexchange/codereview
I've just started looking at HTTP etc. and have written a simple Java Client that uses URLConnection to send a URL to a server and pulls down the index.html page (as plain text). Now I'm working on a simple server but I'm stuck at the first hurdle, (well maybe 2nd or 3rd), I can't get it to respond to the client proper...
stackexchange/codereview
I want to have a byte representation of some numbers. For example, a byte array whose first byte has a meaning (0-255), the second byte another (0-255) and so on. Since string are byte arrays i can easily represent it as "aB" if I want to store 97 and 66. Now, if i want the third and forth bytes to represent a number b...
stackexchange/codereview
I followed Luke Redpath's suggestion here - Selected UItableViewCell staying blue when selected - to deselect the row when returning to the original table view, but I can't get it working. In fact the method doesn't get triggered. - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; [self.tableVie...
stackexchange/codereview
When I set a scheduled end date on a document in SharePoint 2010, I want to to alert users when the item reaches this date. Is this possible in SharePoint 2010 without custom code?
stackexchange/codereview
All, A class: class foo(): def __init__(self): self.avar1 = 0 self.bvar2 = 1 self.cvar3 = 3 def debug_info(self): print "avar1:" avar1 print "bvar2:" bvar2 print "cvar3:" cvar3 my question, it is too complex to write the debug_info() if I got a lot of self.vars ,...
stackexchange/codereview
I'm reading binary data from a file, specifically from a zip file. (To know more about the zip format structure see http://en.wikipedia.org/wiki/ZIP_%28file_format%29) I've created a struct that stores the data: typedef struct { /*Start Size Description ...
stackexchange/codereview
Let's say we have a grid XAML like below - eg. a generated string returned from a method. <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width='*' /> <ColumnDefinition Width='*' /> </Grid.ColumnDefinitions> <TextBlock Text='id' Grid.Column='0'/> <Rectangle Fill='Black' Grid.Column='1'...
stackexchange/codereview
On the gentoo Linux server I use, I've just upgraded APC from 3.0.19 to 3.1.4 and it appears as if something is not working properly there. It appears as if cache entries which should have been deleted (either explicitly or via TTL expiry) stay in place and so cache use keeps growing until it reaches the max usage memo...
stackexchange/codereview
I would like to make a UISlider(scrubber) for my AVPlayer. But since this is not an AVAudioPlayer, it doesn't have a built in duration. Any suggestion on how to create the Slider for fast forward, rewind and progress of the playback? I read the doc on AVPlayer, it has a built in seekToTime or seekToTime:toleranceBefor...
stackexchange/codereview
I have a list of folders that are organised by base36 (0-9 then a-z). Now my current implementation for reading them is to iterate over a number, convert it to base32, check if the folder exists. If it does read the data if it doesn't end. The problem here is that there are gaps in the folder's numbers. Ex: 0,1,2,4,5,6...
stackexchange/codereview
I am making a function that turns a list of words into an array to be used by other functions, but somehow I'm overwriting previous words. I check the memory address' and they seem different, but when I recheck once I'm done importing the words, they are all the same. static char **array; //takes the name of a data fi...
stackexchange/codereview
I been trying to solve this one for a while and can't seem to make it work right.. here is my current work while True: guess = int(raw_input('What is your number?')) if 100 < guess or guess < 1: print '\ninvalid' else: .....continue on Right now I have made it so when a user input a num...
stackexchange/codereview
after finishing my android application development i used the command showing below to get private key, but it shows some errors such as "The Keystore was tampered with or password was in correct" $ keytool -genkey -v -keystore DEBUG.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000 Is my problem wi...
stackexchange/codereview
I'm trying to sort a structure I've created via qSort however it seems to be be doing what I expect it to. This is my compare function int compare(const void *a, const void *b) { const INPUT *p1 = a; const INPUT *p2 = b; return ((p1->startTime) - (p2->startTime)); } Where INPUT is my structure and startTim...
stackexchange/codereview
I've got a problem, I have to generate program on the fly and then execute it. How could we do this?
stackexchange/codereview
I am not sure why this error is being thrown when my application is validated for submission. My application is marked as iPhone application with icon.png as 57 X 57. The error says: iPad:icon.png icon dimensions (57X57) don't meet the size requirements. The icon must be 72X72 pixels, in .png format.
stackexchange/codereview
I can't find a solution that works for me. I'm trying to preselect multiple values in a multiple select box depending on what JSON returns. JSON returns the following string from a coldfusion cfc: "4^Caribbean,8^Middle East,5^North America" The string is represented by "res" in the code below: $.each(res.split(','...
stackexchange/codereview
I've not found a way to create a FB page through the FB JS API in FB docs or Google, somebody knows how to create a new page (a business, artist, etc.) through the FB JS API? Thanks in advance
stackexchange/codereview
Consider a MyForm class that contains a shadowed implementation of Show(). It also contains a CreateForm() method, which accepts an instance of the form and calls the shadowed sub: Public Class MyForm Inherits Form Public Shadows Sub Show() MessageBox.Show("Shadowed implementation called!") End Sub...
stackexchange/codereview
I'm having some trouble when people try to log on my system in IE8. Before tomorrow everything is fine, but now when they try to log on the line who call RedirectFromLoginPage method throws ThreadAbortException exception. After some investigating i found that if i change createPersistentCookie to false they can log nor...
stackexchange/codereview
I want to build a location based app, so naturally I am going to write my app using an existing API. But I am not sure what the pros/cons of developing on top of Foursquare (or Gowalla) vs Facebook Places. Note: this is not intended as a political debate "which service is cooler/better/sexier/whatever" but a true conc...
stackexchange/codereview
I use FlexUnitTasks-4.0.0.jar to generate report with ant, and the compile target is passed, and the testRunner swf file is made, but has some problem, the log is following: [flexunit] Receiving data ... [flexunit] Sending acknowledgement to player to start sending test data ... [flexunit] [flexunit] Stopping se...
stackexchange/codereview
I understand the concept of PyObjC, but can nowhere find any information on what exactly it is or how to get started with it. Is it like a converter, where youinput python files and get an objective c one? Or is it a library you can import to your objective c files which let's you write python in them? Or is it somethi...
stackexchange/codereview
I have a php file that receives data from mySQL table. The mySQL table 'user_spec' has only one field 'options' that it returns. Then I convert returned data into JSON, under is code doing that. <?php $username = "user"; $password = "********"; $hostname = "localhost"; $dbh = mysql_connect($hostname, $username,...
stackexchange/codereview
I have a dll which has a method for e.g void abc(meth* myMeth) and a structure struct meth { int a; char b[255]; } The above code code is written in c. I need to map this to Java through JNI, and I am stuck. How can I pass a reference to the method abc as a pointer from a Java method, and how can I set the valu...
stackexchange/codereview
I have created a very small android app. I don't want to publish it to public. I just want my other friend to run my app on his phone. I don't have android phone but my friend has one. I have developed the app using eclipse IDE. How do I bundle it to apk and give it to him. I am a beginner (even less than a beginner) -...
stackexchange/codereview
I have to list folders and sub-folders from a given directory in DOS and Unix. I know i cand make this with DIR command, as follows: dir directory /ad /s, but the assignment tells me that I have to make it with find. It works with dir, but i have no idea how to make it with find. And I have to make it in UNIX too, so i...
stackexchange/codereview
How can I get position of an element based on view? So as viewer scroll I get different values. jQuery is prefered.
stackexchange/codereview
I recently come to know that there are web services by WCF for Active Directory. I presume this is not about LDAP. Are there any documentations or blogs about it as to what the default endpoints are or what the API looks like or does it even talk in SOAP? or can you please shed some light on how to connect to Active D...
stackexchange/codereview
I'm looking for a way to enable multi row select in a DataGridView-Control but disable multi cell select. What I've tried so far: DataGridView.MultiSelect = true allows to select multi rows and cells ClearSelection() in DataGridView_CellMouseClick-Event and re-select the last selected cell doesn't look very nice (you ...
stackexchange/codereview
How do I wire ApplicationCommand.Undo to handlers in a custom control? Some code snippets would be most welcome...
stackexchange/codereview
Several friends suggest me to read developer.mozilla.org/en/JavaScript/Reference/Global_Objects: The term "global objects"[1] here is not to be confused with the global object[2]. Here, global objects[3] refer to objects in the global scope. The global object[4] itself can be accessed by this in the global scope. In fa...
stackexchange/codereview
I am using Ubuntu. I am developing apps with Google Maps. For that I am registering for an apikey. I followed the instruction in this following Link link text from this instruction i got MD5 Fingerprint of Your Signing Certificate,also i have keystore ,But i cant able get MD5 Fingerprint of the SDK Debug Certificate...
stackexchange/codereview
I realize that this question can start a discussion but that's really not my intention. We've created a Flex Application to take tests from candidates. The advantage of the Flex Application is that all state can be stored in the application running in the browser of the client. Things like time limits, navigation, scor...
stackexchange/codereview
We have a Map It feature on a Real Estate Website and its on a Shared Host, the feature basically shows you the location of a property of works fine for a few hours a day but it stops working later in the day because of error Code "620" for the map request from Google maps API KEY. we need this issue fix immediately. S...
stackexchange/codereview
I have a structure struct state{ int cur[10]; int next[10]; int priority; }; and a priority queue of these states.How can I manage the priority queue so that front element is the element with the minimum value of 'priority' ?
stackexchange/codereview
I would like to make/implement an widget that will show statistics for specific user at webpage (number of clicks at some links or butons, etc.). Initial idea is that user can click at some small button in corner of window and widget with his statistics will appear. That will later also be packed as Firefox plug-in. Re...
stackexchange/codereview
I'm interested in building a menu bar that's backwardly compatible. I'd like to use just HTML and CSS. So I'm thinking a table with a number of cells each set with a different bkgnd color dependent on it's state. Something along the lines of .... a:link { .cell01{background-color:#white}; .cell02{background-color:#whit...
stackexchange/codereview
I'm making my alarm app. There is an Activity to show alarm infomation. I want turn on the screen and unlock it. I wrote these code AlarmActivity.java: public class AlarmActivity extends Activity { ...... void onCreate(Bundle bl) { ..... final Window win = getWindow(); win.requestFeature(android.view....
stackexchange/codereview
I could've sworn I saw some articles a while ago about imperfect but useful string interpolation methods for C, but no such luck right now. However, there's Razor, which does more or less what I want. Suppose you have a database client application with tickets, and e-mail notifications are to be sent whenever tickets g...
stackexchange/codereview
I am trying to change the entered key by keyboard. I have managed to restrict key entered by keyboard. Code in C#: using System.Runtime.InteropServices; public partial class Form1 : Form { public Form1() { InitializeComponent(); SetWindowsHookEx(WH_KEYBOARD_LL, hookP...
stackexchange/codereview
Is it possible in CSS3 to slant a strike-off line (achieved with css's text-decoration: line-through property) over a text string, say from bottom-left of the text to top-right (diagonal line)?
stackexchange/codereview
Do you know any good application to create Windows 7 or Mac OS X style buttons? Thanks
stackexchange/codereview
Function return values versus "output" parameter, which one is faster? I think I best explain using what I am currently working on. // specify identifier and return pointer. SceneNode* createSceneNode(const String& desired_identifier); // f1 // auto-gen identifier and return as string. String createSceneNode(SceneNo...
stackexchange/codereview
Dene2.c int main ( void ) { fprintf ( stdout , "WAİTİNG for a sec to breath\n" ) ; #command_go "dene.c" return 0 ; } dene.c int main ( void ) { void wait ( int ) ; getdata ( a ); showdata ( a ); ** #command_go "dene2.c" ** wait ( seconds ); return 0; } void ...
stackexchange/codereview
C++ and C# are quite simmilar programming languages, in my opinion. If a C++ code needs to be ported to platform where C# is the only supported platform, how much work will need to be done? Should I get ready, that most of the C++ code will need to be rewritten to C#? Or, because of language simmilarities, should refac...
stackexchange/codereview
I've been doing reading about VoiceOver on iPhone, but I can't find anyone talking about how to mark content as a certain language and use more than one language in an app. I want to make my dictionary VoiceOver compatible. For example this can be written in a UITableViewCell (English then German) and VoiceOver will...
stackexchange/codereview
Here is the scenario: using a spectrum analyzer i have the input values and the output values. the number of samples is 32000 and the sampling rate is 2000 samples/sec, and the input is a sine wave of 50 hz, the input is current and the output is pressure in psi. How do i calculate the frequency response from this data...
stackexchange/codereview
First, an example of what I'm trying to do: If you go to http://www.meetup.com and you are not signed in, you see a page that shows 'Do something • Learn something...' etc. which is a public page But when you are logged in, that same page (URL) shows 'Welcome, xxx...Whats happening...' etc. which is specific to you.Th...
stackexchange/codereview
I have used stipes on a project in the past, and it has a great TypeConverter library that can take request parameters and route them into JavaBeans. It can even handle maps and arrays, such that: class A { private int num; private Map<String, Integer> map; private List<String> list; ... setters and getters ... } ...
stackexchange/codereview
 my web site structure is like this :     1- master page with stylesheet and scripts     2- aspx which render (number 3)     3- web user control and scripts inside them  in the number 3 I have some javascript that are call some ajax method they are about 20 lines code and I can not move them to js file in order to usi...
stackexchange/codereview