instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I have a image centered on the screen. I need to display some text above the image and I want to set the text coordinates relative to image. If a user have a different resolution: The image always located on the top and center of the browser. The text will be on the same position in the image. I have tried: <style ty...
stackexchange/codereview
Is there an easy way to emulate the command cp -r from_dir/* to_dir with python? shutil.copytree is not suitable because to_dir exists.
stackexchange/codereview
i like to know difference retrieval from list using for (or) foreach loop and retrieval from list using linq query. specially in case of speed and other difference EXample: List A=new List() contains 10000 rows i need to copy filter some rows from list A which one better in case of speed am i go with for loop or linq q...
stackexchange/codereview
I'm using ReportViewer for work and I'm trying to get an IIf expression to work with a few text boxes that are using FormatCurrency(). The reason I needed an IIf statement in the first place was because occasionally on this report, there will be null parameters. The example here is a shipping box that may or may not ha...
stackexchange/codereview
I have a small question to ask the community. I am wondering why my foreign key will not show up when I go to my edit form. When I go to edit the information, all my data is populated except for status (which is a foreignkey that points from the status table to project table), which is left with nothing selected. I ...
stackexchange/codereview
Is this still available? I am unable to find it when I try to add it to my Toolbox.
stackexchange/codereview
I'm having a tough time solving this simple issue : I am using a treeview with HierarichalDataTemplate to show an hierarchy of two entities : Organization and Unit. The Organization has a many to many relation with itself as it could have sub organizations. And each Organization has one to many relation with Unit, as ...
stackexchange/codereview
I'm trying to import a CSV file within the SQL Server Management console. The CSV is comma delimited. I have some columns that has a comma within double quotes, it seems that SQL Server splits the value in 2 columns. How can I solve this? I hope you can understand what I mean. Thanks in advance.
stackexchange/codereview
I have a view and a button. When the button is pushed, I present a modal view controller that has a uiwebview, and a navigation bar at the top. The hardcoded uiwebview shows a login prompt. Once the user goes in and enters the correct login credentials and hits GO on the keyboard, I not only need it to authenticate me ...
stackexchange/codereview
What is the easiest way to get the existing depth buffer into a depth texture, or anything that can be used by GLSL? Is it possible to make a glsl shader that uses the depth buffer, and use it "as is" without having to modify the the way the original rendering is done (e.g modifying the frame buffer object to also rend...
stackexchange/codereview
I have color column in MySQL table which type is ENUM('RED', 'YELLOW', 'MY_COLOR', 'BLACK'), and another name column which type is VARCHAR(30). I would like to get all table rows in the following order: YELLOW rows first, sorted by name RED rows last, sorted by name In the middle, all other rows, sorted by name Is th...
stackexchange/codereview
Ok let's say I have an ObservableCollection<string> object. Within this object I have a variety of strings: SomeString01 SomeString-02 somestring-03 SOMESTRING.04 aString I want to take an input, we'll call it pattern and store it as a string from a User interface, and do some partial matching on the ObservableCollect...
stackexchange/codereview
I am using JQuery. I have a div that contains a table. I have 4 rows in the table each with one col. Each row contains a line or two of text I want to make each row with height = 100 px and have the text centered horizontally and vertically. Can this be done?
stackexchange/codereview
I have a controller that has a value that I want to pass to the rhtml. I already managed to get the value correctly, and based on that, I need to do an action in the rhtml. For code snippets, def getsubtable @subtables = Haus.find(params[:bewohner_id]) from the method above, when I debugged it, I can get the c...
stackexchange/codereview
Im trying to write a JQuery wrapper extension that takes a content div and then shows it modally. Im having a bit of trouble getting it to work. It seems to work when I daisychain everything but when I try to use more than one line I break it. The problem with daisychaining is I don't know how to get the conditional...
stackexchange/codereview
UPDATED : Clean subject, and summarize it. Hi, I've a datable filled, where each cell is a class like this class CValue{ public object Value; public Brush Quality; private int m_quality; public override String toString(){ return Value.toString(); } } My datagrid is bind on the data...
stackexchange/codereview
List listOne = new LinkedList<Shxx>(); List<Shxx> listTwo = new LinkedList<Shxx>(); List listThree = new LinkedList(); List<Shxx> listFour = new LinkedList();
stackexchange/codereview
Does anybody know how to generate a JSON schema from a existing XML schema (XSD file)? Are there any tools available for this?
stackexchange/codereview
in short: How to find min value in a list? (thanks for the advise kaarel) long story: I have created a weighted graph in amzi prolog and given 2 nodes, I am able to retrieve a list of paths. However, I need to find the minimum value in this path but am unable to traverse the list to do this. May I please seek your adv...
stackexchange/codereview
i'm very noob i want to work with PHING , but my php not have this ext i download phing-2.4.2.zip from http://phing.info/trac/wiki/Users/Download but i don't know to import PHING to php :( help me ! thank !
stackexchange/codereview
I want to colorize the words in a text according to their classification (category/declination etc). I have a fully working dictionary, but the problem is that there is a lot of ambiguity. foedere, for instance, can be forms of either the verb "fornicate" or the noun "treaty". What the general strategies for solving th...
stackexchange/codereview
Does SQL Server 2008 web edition support cluster environment?
stackexchange/codereview
I use the following code to create a Label in the status strip when a child window is open. Public Sub StatusStripPanelAdd(ByVal lCount As Integer, ByVal sImage As System.Drawing.Image, ByRef sText As String, ByVal sender As Object, ByVal e As System.EventArgs) With (StatusStrip2) .Items.Add(sText, sImage...
stackexchange/codereview
Can someone please tell me how to determine the unicode character point of a multi-key combination that includes the "command" key? For example, if a user presses the "command" key and "1" key on the keyboard at the same time, what is the unicode character representation for that? Maybe I'm searching on the wrong thing...
stackexchange/codereview
Is it possible to run a java jar file from within an Oracle (10g) database? More specifically, I am looking to schedule an oracle job using dbms_scheduler.create_job(...) When run, the job would call a Java Application that performs a process involving talking to another application via HTTP, some business logic, the...
stackexchange/codereview
I need help for selecting multiple rows in a gridview using ctrl key. (C#, asp.net) While right clicking on the selected rows, I need to export those particular rows to "word".
stackexchange/codereview
In the WMI module (yeah, my boss wants me to program in Windows — but at least it’s not in COBOL), it seems that you can access a WMI value either by passing it’s name as a string parameter of a method, blabla=wmithingy().getvalue('nameOfValue') or as a property/method: blabla=wmithingy().nameOfValue() Am I dreaming...
stackexchange/codereview
I am making an app where several users work towards a common goal grouped under an account. What would be a better structure for my urls? Subdomains: some-team-name.app.com Directories: app.com/some-team-name For example, Basecamp uses subdomains. Do clients think better of your web-app if it uses subdomains? In my h...
stackexchange/codereview
I'm versed in Java, and starting to experiment with Groovy. Because the two are integrated so well, I find myself writing in Java whatever I can because it's so easy. What specific tips can you offer that would speedup my work with Groovy? Meaning - in what areas do groovy excel over java, and where should I stick to J...
stackexchange/codereview
I have a web application in asp.net 3.5 where i have been using some third party controls i.e. Devexpresv9.2 and on the pages where i am using these controls i normally has to call the register tag on the page markup like for ex: <%@ Register Assembly="DevExpress.Web.v9.2, Version=9.2.9.0, Culture=neutral, PublicKeyTo...
stackexchange/codereview
I made a quick search about what is the meaning of Firebug DOM tab coloring and I see the the explanation below from here Red colored bold text points "constructor function" Green colored bold text points "user function". What is the difference between the two type of functions?
stackexchange/codereview
Greetings, I have a class (let's call it Car) that has a property of type System.Drawing.Color (Call it CarColor). I have a script service function that uses this Car class as a return value, which works just fine. I then have another script service function that takes a Car object as a parameter. I would like to ch...
stackexchange/codereview
I have problem with date function in php. If I supply string in format "d.m.y" for example "01.01.01" it gets rendered as todays date which means that php gets confused. I found: Note: The "Day, month and two digit year, with dots or tabs" format (dd [.\t] mm "." yy) only works for the year values 61 (inclusive) to ...
stackexchange/codereview
I'm writing a Rails app which includes ajax functionality using jQuery. I hope you guys could help me out here. For example, in my /public/javascripts/application.js : /* application.js */ ... $('.item-edit').editable('/item/update', { name : $(this).attr('name'), id : $(this).attr('id'), cancel : 'Ca...
stackexchange/codereview
In my project i have one parent window form with one menu bar and one status bar. that is what i want is: when i show the child form to see in the status ber an icon relative to the child window. How i can do that? And if that can't be how i can see an icon in a task bar? Please if anyone can assist me on this.
stackexchange/codereview
We have a DAL that we're using with NHibernate.Search, so classes that need to be indexed are decorated with an attribute Indexed(Index:="ClassName"), and each property that needs to be be indexed has an attribute Field(Index:=Index.Tokenized, Store:=Store.No) . When one wants the index to drill down special objects, t...
stackexchange/codereview
i have a peculiar question. Iam developing a php GTK2 desktop application, and my purpose is to hide the source code from the client, to whom i will handle the desktop application (deploy in his system), once it is completed. Our motto is to enable the client to run the application, without the need for a browser. I ha...
stackexchange/codereview
I have the selected DataKey in session from the ListView. I am able to set the selection back when I comeback to this aspx page containing listview. But when the selected item in the listview belongs to some other page (not the first listview page) then I need to also set the selected listview page to the one, where my...
stackexchange/codereview
i need a way to use aws-java-sdk-1.0.11 in android as when i try to import the jar files of third-party it give me an error delvik conversion error i want to use only ec2
stackexchange/codereview
Set an object, with some data. var blah = {}; blah._a = {}; blah._a._something = '123'; Then wish to try and access, how would I go about doing this correctly? var anItem = 'a'; console.log(blah._[anItem]); console.log(blah._[anItem]._something);
stackexchange/codereview
After spending many hours poking around trying to get an ASP .NET AJAX proxy page, I'm pretty sure someone out there knows of an easier & simpler way. These are two ways I have tried: Web services endpoint. Problem: Super complicated, lots of work An OnLoad handler that sucks in a URL parameter and spits out the des...
stackexchange/codereview
I have a program that just popped up an AV. Until now the Eureka Log could find the source code line that generated the error but now it displays only this: Access violation at address 7E452E4E in module 'USER32.dll'. Read of address 00000015. Call Stack Information: --------------------------------------------------...
stackexchange/codereview
how optimisation mysql query? Now I use Limit function, don't use *. how else can I speed up the operation? Thanks
stackexchange/codereview
I know it's possible to change view representation of any .NET type by changing strongly-typed partial view. The most popular example is when simple ToString() call on DateTime instance is changed to a great-looking JQuery UI calendar. My question is - how does ASP.NET MVC know what property of JavaScript control to us...
stackexchange/codereview
We are a company, working on small and some huge project. Sometimes on one project are more developers 5, 10, 20 etc. We are searching for an effective revision control system with best optional properties: Performance issues – one file size, complex directory structure Scalability – support for 5, 10, 25 developers, ...
stackexchange/codereview
I have written a script for my clients to generate a newsletter form, embed it on their website, collect email addresses and then email them using a php while and PHPMailer. Currently, the script uses a "double opt in" which sends an email from "myclient@myclientsemail.com" to the subscriber to click on a confirm link ...
stackexchange/codereview
I am using SL4 with WCF RIA services. I have a domain datasource which I am using to populate a listbox. I have attached a context menu attached to the list items that I want to trigger an update to a fields value in the database. so I am trying EmployeeDetail employee = (EmployeeDetail)sender; if(employee.EmployeeDeta...
stackexchange/codereview
Expected: I need to get values coming from the dataset to put them in the header. I've done some work around: -Create textboxs in the body area, populate them with the correct values coming from dataset. Get the values from the Header like this: ReportItems!txtFromBody.Value No luck! The header is filled out with the ...
stackexchange/codereview
Can anyone tell me how to check if the android phone has a front camera too? I'd tried to use some help form https://docs.google.com/View?id=dhtsnvs6_57d2hpqtgr but Camera camera = FrontFacingCamera.getFrontFacingCamera(); sometimes works sometimes not. Any help please?
stackexchange/codereview
I am trying to create a thread that contains a form progress bar (just a GIF image). I have called StartProgress() right before a large method. Basically when the thread starts it loads up the ProgressBar form (which I want to show all the time, and just hide it when it's not needed) and with ProgressActive set to tru...
stackexchange/codereview
Please help this Linq newbie! I'm creating a list inside my class under test, and I would like to use Moq to check the results. I can easily put together a Predicate which checks the results of the list. How do I then make that Predicate into an Expression? var myList = new List<int> {1, 2, 3}; Predicate<List<int>> my...
stackexchange/codereview
I have an executable that consumes DLL’s through MEF. I am successfully loading each DLL’s config file's appsettings keys using var appConfig = ConfigurationManager.OpenExeConfiguration(Assembly.GetExecutingAssembly().Location); return appConfig.AppSettings.Settings["Version"].Value; Now I want to make i...
stackexchange/codereview
I am fairly new to Silverlight and RIA services, and I am trying to build a small project to understand it. So basically I created a Business Application, and I have the normal Login screen where I can add a user. That is fine and I can add a user and get him into the aspnet_Users table. Now I have created some extr...
stackexchange/codereview
If my algorithm is bottlenecked by host to device and device to host memory transfers, is the only solution a different or revised algorithm?
stackexchange/codereview
What are the advantages of using Bonjour in a program (vb.net), is it even possible? Couldn't I get the same end result using just what I program?
stackexchange/codereview
I'm using Flash CS4 with AS3. I want a timer to call a function at 50 ms intervals for 100 times. however the timer takes much longer than it should, which adds up to 1677 ms (1.677 seconds!) too much after 100 repeats. Am I missing something here or is the timer THAT inaccurate? Code function test(event:TimerEvent):v...
stackexchange/codereview
I would like to use these two JQuery plugins on the same form : JQuery validation plugin : http://bassistance.de/jquery-plugins/jquery-plugin-validation/ JQuery-upload-progress : http://github.com/drogus/jquery-upload-progress The behavior that I would like to have: Validate the form with the validation plugin If no...
stackexchange/codereview
I m trying to get what user type in text box with javascript so i used this HTML: JAVASCRIPT: function textTrack(e) { alert(e.keyCode); } this works fine in firefox but not in IE.
stackexchange/codereview
I'm having an issue with setting up the info windows for multiple markers in google map api. Basically, Im getting the latitudes and longitudes and everything else from external Json file. I'm parsing it correctly because markers are showing on the map. However, when I'm trying to add an info window for each one of the...
stackexchange/codereview
How can I use a .bak database backup file (backed up via a query in SQL Server) programmatically? I want my application to back up my database to a location (which I can already do) and I also want it to be able to load a backed up database (the .bak file). How can I do this using C#?
stackexchange/codereview
I know that the default is 30 minutes, however I am looking at making a game in a widget This would require millisecond responses.... has anyone messed with the AlarmClock Timing that is described to use instead to achieve this? does it work well? I haven't finished the Software Arc for the project yet because I see a...
stackexchange/codereview
I'm trying to use GTK+ 2.0 for my GUI, but I'm not sure how I could implement a menu that slides out when a button is clicked. Making a menu disappear/re-appear instantaneously would not be difficult to do as it requires a simple change to the visibility property. This app is being developed on Windows, but I'm also pl...
stackexchange/codereview
while(true) { cout << "Name: "; getline(cin, Name); if(Name == "Stop") break; cout << "Additional Name - Y/N: "; getline(cin, additional); if (additional == "Y") cout << "Additional Name: "; getline(cin, Name2); else cout << "Location: "; getline(cin, Location); if(Location == "Stop")...
stackexchange/codereview
I have a text <info>SOME CONTENTS GOES HERE</info> How i can remove this text from the editor when I click on a button (custom button) using javascript function. I used this code: dom.remove(dom.getParent(selection.getNode(), 'info')); But it is showing an error. Is there any solution? Thanks in advance.
stackexchange/codereview
I downloaded a package called QtIOCompressor, I need to use the functionality like zipping a directory gzipping a directory etc etc in a application I am coding. But I dont know how to add this package into Qt or how to configure this package by which i can use it with my application which i may code in future! InfO: h...
stackexchange/codereview
I have a class with two definitions of ordering. (In the real problem, one is a total order and one is a semiorder.) But it's nice to be able to use the comparison operators rather than always having to use an explicit comparison function or functor object. So I figured I'd provide some comparison operators like thi...
stackexchange/codereview
I have a database that I use for all my development and testing and a second database that serves as my production database. What is the best way to script the differences in tables (structure only) between the two? My dev database might have new columns that my production does not have and I need to get the difference...
stackexchange/codereview
Why does link_to_if show the link title if the condition is false? I'm using it on a DELETE, and if the condition is false, Rails shows delete but it isn't linked. I don't want DELETE to show up if it's false. Is there a setting or another helper for that? Thank you
stackexchange/codereview
I got the following warning 'System.Configuration.ConfigurationSettings.AppSettings' is obsolete: '"This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings"' How do you fix it?
stackexchange/codereview
I've got a dictionary laid out like so: Dictionary<string, List<Series>> example = new Dictionary<string, List<Series>>(); example.Add("Meter1",new List<Series>(){ new Series{ name="Usage", data = new double[] {1,2,3}}, new Series{ name = "Demand", data= new double[]{4,5,6}}}); example.Add...
stackexchange/codereview
I am preparing for SCJP 6 exam and I needed advice on the usefulness of reading the Java language specification. As the exam has to do with ones expertise in java code analysis. I am already reading SCJP A comprehensive by Khalid Mughal.
stackexchange/codereview
Hello i have an url in my jsp and i want to pass an array of string in this url to recover in my ActionForm
stackexchange/codereview
I have my Windows Mobile Application which connect to the Intranet Web Service. I am not able to access the internet/intranet resource using the emulator.. What i have tried is Installed Windows Mobile Center Opened the Emulator Given Cradle Ran the application Application Fails due to unavailability of the Web Servic...
stackexchange/codereview
This has been working for the past three weeks that I've been developing this application, and for some reason has decided to stop working five minutes ago despite my apparently not doing anything. In Default.aspx: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="AppName.Default" %> ...
stackexchange/codereview
I would like to generate a secondary menu based on the first letter of all of my nodes that have a certain content-type, however I am unsure how to go about doing this. Basically, I will be generating an alphabetical list of all nodes that I have (for a given content-type). For instance, I would like to have my seconda...
stackexchange/codereview
I want to create a simple layout like the following: (o) Radio button A (o) Radio button B [textedit] [x] checkbox For that I've created the following layout.xml: <RadioGroup android:layout_above="@+id/RadioButton_Count" android:id="@+id/RadioGroup01" android:layout_height="wrap_content" androi...
stackexchange/codereview
To give the user of my app an indication which field currently has the focus I am trying to change the background color of some of my fields depending on the current state, however, I am having troubles understanding Androids Color State List Resources: I found example (sorry, URL no longer works) and if I try exactly ...
stackexchange/codereview
I have a folder where in there is a .htaccess file with some settings .. so when i try to load the page .its asks for authentication . so when i dont give the user name and passwd . it redirects to a page. i need to know where this redirection settings are there . how to get to the core.
stackexchange/codereview
I use the following Perl syntax in my bash script: perl -i –pe 'next if /^ *#/; s/(\b|\D)$ENV{OLD }(\b|\D)/$1$ENV{NEW }$2/' file I want to find the OLD word without first "#" character in the file , then replaces the OLD word with NEW word My question: I want to print "replace $OLD with $NEW" each time perl r...
stackexchange/codereview
I've followed this tutorial, to create a priority queue and wrapped it with a blocking collection. I've got a DataGrid which I've wired to the underlying priority queue which emits change events. I can add items to the collection from the UI thread w/out a hitch, and it blocks when the buffer is full as it's supposed t...
stackexchange/codereview
How to specify action to button to submit a form in adobe adobe flex?
stackexchange/codereview
I've been trying to get this to work for the last two days but have had little success. Maybe I'm getting confused with all the nested divs, who knows, but I could use someone to look at the code and point me in the right direction. What I have: http://landgraff.com/backend/process.html What it should look like: http:/...
stackexchange/codereview
#include <stdio.h> class X { }; class Y { // long x; // case A) // X x; // case B) }; class Z : public Y, public X { }; int main() { Z z; printf("%d %d %d\n", sizeof(Z), sizeof(Y), (char*)static_cast<X*>(&z) - (char*)&z); return 0; } Why is the output as follows after uncomme...
stackexchange/codereview
I have a system for history events. It's showing the date using this date("j F, Y", strtotime($row['dated'])); But when I try: 21 Oct 1877, it's showing 31 December, 1969. How can I fix this problem?
stackexchange/codereview
I'm trying to use an HttpURLConnection in my application. I set my request method to 'GET', but when I try to retrieve the output stream then the method is changed to 'POST' ! I'm not sure that is the reason, but my JSON server (I use JAX-RS) returns a blank page when I send a request using a 'POST'. Here is a snippet ...
stackexchange/codereview
Code below doesn't work on any browser. It's supposed to show an alert box. What am I doing wrong? <html> <head> <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.3.min.js"></script> <script type="text/javascript"> $('#prevlink').click(function () { alert("Test"); }); </script> </head...
stackexchange/codereview
i am stuck in a situation, where i need to move balls in multi-user way, i m using RMI in a distributed animation of moving BALLS . My goal is to move multiple balls in a way, so that multiple clients observe the same movement/position of balls, i m using ball object which is remote object. My problem is: i am calling...
stackexchange/codereview
How do I create an ASP.NET website to search MLS or IDX listings for a real estate website? I'm assuming there is a C# library to do this? I'm curious about any pitfalls or unexpected expenses people have ran into in using these services?
stackexchange/codereview
I have Python classes with object attributes which are only declared as part of running the constructor, like so: class Foo(object): def __init__(self, base): self.basepath = base temp = [] for run in os.listdir(self.basepath): if self.foo(run): temp.append(run) ...
stackexchange/codereview
I have added two list fields to a screen but on a change in focus it does not go to the second list horizontally. class TestScreen extends MainScreen { private final ObjectListField listField = new ObjectListField(FIELD_LEFT) { public void layout(int width, int height) { ...
stackexchange/codereview
I'm trying to get all images from a WP post to create a slideshow from them. Googled around and found this piece of code to retrieve and display images from a post: function getImage($num) { global $more; $more = 1; $link = get_permalink(); $content = get_the_content(); $count = substr_count($conten...
stackexchange/codereview
I have a dataset of values, which I need to put into a textbox. However, there are some decimal and double type values in my dataset, so I need to cast them toString(). Furthermore, sometimes the dataset values are empty, so before casting toString() I need to check whether there is actually a value there or not. This ...
stackexchange/codereview
I'm working on few WCF tutorials and I would like to understand the difference between WCF Service Library, WCF Service Application and WCF Workflow Service Application. Do you have any examples on when I should use service library and service application? Thank you
stackexchange/codereview
I don't understand the following definition of a contiguous subsequence: A contiguous subsequence of a list S is a subsequence made up of consecutive elements of S. If S is {5, 15, -30, 10, -5, 40, 10} then 15, -30, 10 is a contiguous subsequence. What makes 15, -30, 10 a contiguous subsequence?
stackexchange/codereview
I would like to serialize vector. And I dunno how to change pointer of vector.. To make it simple, let's say I have a vector something like: vector<char> v; And I have this pointer: char* c = { 'v', 'e', 'c', 't', 'o', 'r' }; And I would like my vector v's internal pointer points my char* c: &v[0] -> c How can I a...
stackexchange/codereview
I'm wondering what's the proper syntax for calling template method given as: struct print_ch { print_ch(char const& ch) : m_ch(ch) { } ~print_ch() { } template<typename T> void operator()() { std::cout << static_cast<T>(m_ch) << std::endl; } private: char m_ch; }; I came up with sth...
stackexchange/codereview
The built-in barcode scanner application on Android (based, I think, on zxing) reads QR Codes and launches that data into an application based on the leading text. For example, "BEGIN:VCAL" might launch a calendar application; "http:" might launch a browser. How can I "register" my application so the OS (or the Barcode...
stackexchange/codereview
I have a new laptop and attempted to install jdk-1_5_0_22-windows-amd64, jdk-1_5_0_22-windows-i586-p and jdk-6u22-windows-i586 without success. I have used java before and I am familiar with environment variables. However I cannot get the java version at command prompt or the java compiler to work. Also I am using B...
stackexchange/codereview
I'm trying to enable multi-word search with google app engine. However there appears an error message in the log as follows The index for this query is not ready to serve. See the Datastore Indexes page in the Admin Console. This query needs this index: - kind: A properties: - name: __searchable_text_index - name...
stackexchange/codereview
I am trying to replace a certain character in a string with another. They are quite obscure latin characters. I want to replace character (hex) 259 with 4d9, so I tried this: str_replace("\x02\x59","\x04\xd9",$string); This didn't work. How do I go about this? **EDIT: Additional information. Thanks bobince, that ha...
stackexchange/codereview