instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I need to restrict a result set for a SELECT statement based upon Col1 have 1-to-many potential values. For example, I want to return all rows where Col1 equals a value of 1, 2, and 3. So far I have two different approaches to restricting the result set: Approach #1 Inner Join Table1 On (Table2.ColA=Table1.ColA) And (C...
stackexchange/codereview
I downloaded html 1.13 package from Python site and as per instructions I doubleclicked on install.bat and installed it. I also added the directory C:\Python26\HTML.py-0.04 to PYTHONPATH. But when I try to import the module with >>> from html import HTML I still get ImportError: No module named html Can someone hel...
stackexchange/codereview
what could be causing this crash? From everything I've read, I'm using the property correctly. When I call the method loadDot2Dot a first time, it works fine. Then when I go back to the main menu (call loadMainMenu) and try to load the dot2DotVC again (call loadDot2DotVC again), I get a crash (Exc_Bad_Access) - with no...
stackexchange/codereview
Please dont mark this as duplicate I am getting this error while debugging my app on device I tried everything from these posts (see below) but no luck - iPhone SDK- Error from Debugger: The program being debugged is not being run XCode fails to run app on device, saying the program being debugged is not being run Can...
stackexchange/codereview
I need to open camera from NDK to enhance the performances and I have search several days in internet. But nothing get help. Does anyone know how to open the camera using NDK?
stackexchange/codereview
I did see this question but it doesn't fully answer the question I have. If I do this: $obj1 = new ObjectOne(); and then this: $obj2 = new ObjectTwo($obj1); $obj2->someFunction(); Where someFunction() modifies the attributes of the object passed into it, will both $obj1 and $obj2->passedInObject both in effect be upd...
stackexchange/codereview
I am trying to get the CSS sheet to load on my development computer. It is in the media directory as media/base.css. In my base/base.html template, I have: <link href="media/base.css" rel="stylesheet" type="text/css" /> I found this page, but that didn't fix it. Any ideas?
stackexchange/codereview
I'm trying to create a table where each row is a form. I want that each input is in a different table division, but I still need that for example, all first inputs belong to the same table head and so on. What I'm trying to do is an editable grid, more or less this: <table> <tr> <form method="POST" action="...
stackexchange/codereview
What are the security implications of storing the keystore in a public repo, along with the source code? The reason for storing it in the repo is convenience. There are no dependencies when you do a 'git pull or clone' and build on your local machine (for e.g. with sbt sign-release): you just provide the password when ...
stackexchange/codereview
I want to create a view that shows vast amounts of data. Using UITableView would have been a good idea except it's not the way/style I want to show it. I'm thinking of creating my own view, and I was wondering: UITableViewCell is constantly being reused through the dequeueReusableCellWithIdentifier method; how does thi...
stackexchange/codereview
How do I call a given function every X seconds? In this case, I made a function that scrolls some images. I want the image to change based on a given interval of time, for example, every 5 seconds, but I really have no idea.
stackexchange/codereview
What is the correct way of handling errors on the client side of Silverlight applications? I tried building a service endpoint that would receive details about the error and then would write that string to the database. The problem is, the error's text exceeds the maximum byte length, so I can't send the exception me...
stackexchange/codereview
I have a dialog box that the user inserts various data through gui controls, and this information is saved as an xml file (implemented in java). The information stored in the xml file is configuration information for the application. I can manually modify the xml configuration file, but I also want to provide this capa...
stackexchange/codereview
Given array [a, b, c, d, e, f] I want to match each letter with any other letter except itself, resulting in something like: a - c b - f d - e The catch is that each letter may be restricted to being matched with one or more of the other letters. So let's say for example, a cannot be matched with c, d c cannot be m...
stackexchange/codereview
ExtJS have "adapter" for working with other javascript libraries. But why? Why not just use Ext Core? UPDATE: I know it was designed for YUI. But why it need an adapter? ExtJs use ExtJs namespace, almost all other framework use $, they should never conflict. jQuery can work with others without any adapter. Why Ext...
stackexchange/codereview
This thread shows how to open external sites in a new window and provide a "return to site" link which would call the windows.close() function. The problem is, that I don't know how to do such a "top bar" or something else containing the link on the site I open. Should I open the external site and write to its source? ...
stackexchange/codereview
I need to make a service that capture all touch events, not in a specific view or when an specific activity is open. This service is started when the boot is completed (and I have an app to stop/play this service when I want it). So it write something (in a Toast) when the user touch any place in the screen. Can I do t...
stackexchange/codereview
Here is my issue. I am new to python/django (about 2 months in). I have 2 tables, Project and Status. I have a foreign key pointing from status to project, and I am looking to try to display the value of the foreign key (status) on my project template, instead of the address of the foreign key. Here is my models.py ...
stackexchange/codereview
Visual Studio validates XHTML 1.0 Transitional by default. There are custom solutions for validating HTML5. But if you are writing a site that uses any part of the Facebook API or the meta property tags then your HTML is probably invalid. Most people don't know to change their DOCTYPE to this: <!DOCTYPE html PUBLIC "-/...
stackexchange/codereview
Following obviously works, but I do not like to wrap items in Tuple, ImmutableMap<String, Function<Tuple2<Double>, Double>> op = new // ImmutableMap.Builder<String, Function<Tuple2<Double>, Double>>() .put("+", new Function<Tuple2<Double>, Double>() { @Override public Double apply(Tu...
stackexchange/codereview
How do I get the values of textboxe's along with innerHTML? For example, if I have <html> <head> </head> <body> <div id="getvalue"> <p><input type="text" name="username" id="username"></p> </div> </body> </html> I need the innerHTML of the particlular id="getvalue" alon...
stackexchange/codereview
I have a simple, classic, statement that every 200 milliseconds plays a sound (a metronome). I wrote it using Handlers, and then in another way, using Threads. The problem is the same in both ways: when I press hardware home button, or also simply when I press a button to open a ListView, the metronome terribly slowdow...
stackexchange/codereview
I have a small Utility library containing some useful utility methods which have been fully unit-tested. At the moment, my library has no external dependencies. I am toying with the idea of adding logging to my classes which might be useful for debugging purposes. But this would mean bundling logging libraries along wi...
stackexchange/codereview
In the BIRT book "Integrating and Extending BIRT" (2nd edition, p. 296), I've found this little piece of text: BIRT searches locations for external classes in the order shown in the following list: [...] JAR files that are included in the report design. How do I include a JAR file in the report design?
stackexchange/codereview
I am very new to Xna 4.0 game development on Windows and finding it hard to debug in VS 2010. I really want to see my variable values while I am running the game. Is there any way you can debug? I see this as a debugging add-in. However, I am not sure If that would work with VS 2010. Is there any other add-in or any wo...
stackexchange/codereview
I'm writing some code that (I think) requires sequentially playing MovieClip objects. I would like to be able to leave this at a single frame and using only external source files. The way I wish to use this is to switch between sections of my program. remove current child construct movieclip add new child wait for ...
stackexchange/codereview
Possible Duplicate: Programmatically obtain the Android API level of a device? How do I get the Api level of the phone curently running my application? I am sure its simple but I can not find it as all my searches bring up tons of junk.
stackexchange/codereview
i have a table which contains the following fields Supervisorid Empid This is just like a referral program. A guy can refer 3 guys under him i.e, 3 is referring three guys namely 4 5 8 similarly 4 is referring 9 10 and 11 likewise 8 is referring 12, 13 it goes like this.. I want a query to get the total no of down li...
stackexchange/codereview
1) I'm trying to set the thumbnail image that you see in explorer for a pdf. At the moment, all the thumbnails are just the Abode PDF logo ... I'd like to set it to an image of my choice. I have looked at the Win 7 shell pack api, and cannot find any way to set the image, only ways to extract the (default) image. Can t...
stackexchange/codereview
I would like to ask you all about the Unity framework and programming. Unity supports three different languages; Boo, C# and Unityscript. Say you were new to programming and developing on OS X. What is the best language to learn and use alongside Unity to create games?
stackexchange/codereview
I have very big unsigned integral number in NSString. This may be big to 2^64. Is there an existing functions/classes parsing this? As I know, it's unsigned long long value, but, It's hard to know what kind of method should I use to parse this.
stackexchange/codereview
$ cat temp.pl use strict; use warnings; print "1\n"; print "hello, world\n"; print "2\n"; print "hello, world\n"; print "3\n"; print "hello, \ world\n"; $ perl temp.pl 1 hello, world 2 hello, world 3 hello, world $ To make my code easily readable, I want to restrict the number of columns to 80 characters. How can...
stackexchange/codereview
I have two text fields on top of one another. The one on top the user types into. The one behind it auto-completes out words with a light gray font. It works great, until you're up against the edge of the text field on top. How can I scroll the bottom text field along with the top to keep their text perfectly over...
stackexchange/codereview
Iam having a very basic doubt in memory management. If suppose iam allocating memory for an object in viewWillAppear method. Should i release the object in viewWillDisappear method or in the release all the objects in the de
stackexchange/codereview
I am using a simple PHP script for the activation part of one of my applications. The applications posts one variable to the page (http://validate.zbrowntechnology.info/WebLock.php?method=validate). The variable is the serial number, posted as 'Serial'. Each time I post to this page, it returns Invalid. Here is the co...
stackexchange/codereview
I'm building a Login Service for an open source MMO game. I do not know much on the side of security/encryption and I am looking for a solution that will provide good protection against hackers and must not be too costly to generate. Our old system used a very simple system of authentication by storing the password as ...
stackexchange/codereview
Hey there, I have a GPS module in my car and it saves every 30 seconds my position and then it exports those points of the entire travel. So when I drive about 5 hours, it has about 600 waypoints stored. Now I want to show my trip in google map. One of the soulutions is to generate a .kml file and then draw a polyline ...
stackexchange/codereview
I am getting a bit frustrated with prism. Something that should be so easy is really getting me stuck! I am trying to load my ModuleCatalog from a file. I created the ModuleCatalog.xaml file in my shell project. In the file's properties I have removed the Custom Tool action and I have set Build Action to Resource (I...
stackexchange/codereview
I have a MySQL varchar column full with dates stored in dd-M-yyyy format. E.g: Row 1: 12-jan-2010 Row 2: 23-jun-2016 What's the best way to convert this to mySQL datetime format using php?
stackexchange/codereview
I'm using the Microsoft AntiXss 3.1 library. We have a number of international sites which use non-Latin scripts. We're using SEO-friendly URL's, so we have non-ASCII characters that end up in the URL. AntiXss.UrlEncode (at least in 3.1) treats "international characters" as safe, so we end up with an IRI instead of a U...
stackexchange/codereview
I would like to implement a stop watch as part of my system. i want it to have a simple feture that when pressing start the timer runs and when pressing stop it stops. how should i do such a thing(timer func + graphical presentation)? *when googling i came across many things that were not suitable. Tnx
stackexchange/codereview
I'm using ASP.NET and plugging in the google Recaptcha user control successfully, when calling the IsValid method on it, it returns in its recaptcha.ErrorMessage property: "The reCAPTCHA server is unavailable" and recaptcha.IsValid obviously returns false. Does anyone know the reason why this could happen? Is it becaus...
stackexchange/codereview
I have a problem using Eclipse BIRT, i'm trying to create a list with group headers including a chart relevant to the specific group header. So lets say i'm trying to create a list with all employees including their sick hours monthly in a bar chart. Name [CHART], Contract hours, Division, job Name [...
stackexchange/codereview
I have a transverse tree written in JSP which goes through an XML file. When I get to a certain Text Node, I'd like to be able to search back up the tree to find a certain element associated with that node. I'm thinking I need to do a For loop and use some kind of 'getLastNode' or 'getParentNode' function. Would this ...
stackexchange/codereview
I have a problem finding a good algorithm for generating a random letter. I tried with this: public static char GetLetter() { int num = random.Next(0, 26); char letter = (char)('a' + num); return letter; } which I found on the internet, but it generates same letter, or max two of them....
stackexchange/codereview
I've the following input text box and a button. <div id="sender" onKeyUp="keypressed(event);"> Your message: <input type="text" name="msg" size="70" id="msg" /> <button onClick="doWork();">Send</button> </div> The keypressed(event) function actually detects if the key being pressed is "Enter" and calls the d...
stackexchange/codereview
I started reading Agile Web Development with Rails, its a very good book! I have one question: I store session in database, I want comment out this line in application_controller: protect_from_forgery :secret => '8fc080370e56e929a2d5afca5540a0f7' in rails 2.3.8. its different (# See ActionController::RequestForgeryProt...
stackexchange/codereview
I'm trying to make a basic multiprocessing task and this is what I have. First of all, I don't know the right way to make this program as a non-blocking process, because when I am waiting for the response of a child (with waitpid) the other processes also have to wait in the queue, but, what will happen if some child p...
stackexchange/codereview
I have an X.509 certificate and need to get the size of its key (in bits) - e.g., 1024 2048 etc. I have looked at X509Certificate2 and also the bouncycastle X509Certificate classes but can't see how to get the key size.
stackexchange/codereview
I'm in a pickle. I'm using SVN 1.5 at Beanstalk and Tortoise SVN client 1.6.11 x64 on Windows 7. I'm developing on a branch and have been merging changes from the Trunk into my branch at least once a week. I recently noticed some things weren't working as trunk changes didn't make it into my branch. When I try to do...
stackexchange/codereview
I'm using the GCC compiler and C++ and I want to make a timer that triggers an interruption when the countdown is 0. Any Ideas? Thanks in advance. EDIT Thanks to Adam, I know how to do it. Now. What about multiple timers running in parallel? Actually, these timers are for something very basic. In NCURSES, I have a lis...
stackexchange/codereview
I am creating sample hello world application. The code is below. How can i removed the warning at c[cell setText:@"Hello World"]; in the code below as it deprecated. UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; [cell setText:@"Hello World"];
stackexchange/codereview
I can make the button appear after 5 seconds. I'd like to be able to click the button and go to a different site (like google.com, for example). Help please? <style type="text/css"> #buy_button_image { display: none; } </style> <script type="text/javascript"> window.onload = function() { var img = document.getEleme...
stackexchange/codereview
C file: #include <stdio.h> #include <stdlib.h> int main(int argc, char* argv[]) { FILE *ptr; char m[200]; char *data = malloc(200); data=getenv("QUERY_STRING"); sscanf(data,"%s", m); printf("%s", m); ptr=fopen("c:/test.txt", "w"); fprintf(ptr, "%s", m); fclose(ptr); return 0; } //gcc -g print.c -o...
stackexchange/codereview
I have an ASP.NET project I'm currently working on. There is a C# file (dbedit.cs) that is used to directly access and edit 2 XML database files. How can I create a relative path of the XML files (both in the same directory) to dbedit.cs? It needs to be portable so it can't be hard-coded in. dbedit.cs is also accessed ...
stackexchange/codereview
I've got a SQL query I fail to improve right now. It works, but it's a bit ugly. I want to fetch: an id from table A a name from table B using a WHERE clause which in itself fetches a value from another SQL query. I would like to replace the following two instances of this SQL query used for the WHERE clause, with on...
stackexchange/codereview
I'm using a rectangle with either with a fill from either a video or image brush. As the user resizes the browser the rectangle resizes, which is fine, except that it must keep it's 4:3 aspect ratio. How can I keep the aspect ratio constant?
stackexchange/codereview
I've faced a situation when I want to extend two parent classes, but php does not allow this. Why I can't extend more than one class, but can implement more than one interface. What's wrong with extending many classes? It seemed to me like a pretty obvious thing, until I got parse errors. Is it a bad practice? If so, w...
stackexchange/codereview
I am new to SNMP and have troubles understanding the SNMP requirements of a Java application I am required to implement. I am using openDMK to provide the SNMP support. Please excuse any brutal ignorance in my questions. I have read the RFC specs, but most of the text appear to be gibberish to me. One requirement is...
stackexchange/codereview
I'm porting a webapp from prototype to jquery in which I often used the prototype Down() function. (selecting the first child of a given element) Glancing over the JQuery-api one of the ways to do this would be: prototype: $('abc').down(); jquery: $('abc').children().first(); However, since this first fetches all...
stackexchange/codereview
Using PHP 5.2.5 I was working with some DateTime objects and noticed a time that seemed off. The problem I'm having may be related to timezones, but I'm not sure - I'm creating a DateTime from a Unix Time Stamp and getting different/unexpected results depending on how I output it. I created the following to easily ill...
stackexchange/codereview
I have a DllMain defined as so: BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { int i=0, DoHijack=0; switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: hMod = hModule; hProcessCenter = ::FindWindow(NULL, _T("F...
stackexchange/codereview
I have two dates. Date1 and Date2 Date1 contains "10/12/2010 12:00:00AM". Date2 contains "10/10/2010 03:00:00PM" I want to extract only the date from Date1 and extract only the time from Date2 and join them. Example "10/12/2010 03:00:00PM". Any ideas? Thanks
stackexchange/codereview
In the case below an author object has an existing list of 'books'. How do you paginate through this list of books if the controller already has an 'author' object and you do not want to go back to the DB with another request of Book.findAll("from Book as b where b.author=:author", [author:author], [max:10, offset:5])...
stackexchange/codereview
I've noticed what appears to be a bug with Google Chrome and Flash when resizing on a Mac. I have an SWF file embedded on my page and it does resize when the browser window is resized. Crazy things happen in Google Chrome when I resize the window: the Flash screen goes completely black and flickers like a bad TV rec...
stackexchange/codereview
I have a distributed system in mind (multiple nodes in a single datacenter) that I want to have the following properties: nodes can enter and leave the system at any time. There is no data replication between nodes. Which node the client makes use of is up to the client (i.e. it could be consistent hashing, it could...
stackexchange/codereview
I have some HTML code like this: <input id="fieldname-1" name="field_name[value][1]" value="1" type="checkbox" /> <input id="fieldname-2" name="field_name[value][2]" value="2" type="checkbox" /> <input id="fieldname-3" name="field_name[value][3]" value="3" type="checkbox" /> I want to access this with jQuery like: $('...
stackexchange/codereview
It looks like jQuery's .ajax function fires the 'success' function even when it gets no response from the server. I'd consider this an error. I detected this event by checking to see if the 'request.status===0', are there any other instances that I should check for where the 'success' function will be fired even if t...
stackexchange/codereview
I want to code and design a blog without using any available scripts. I want to know which HTML control to use to display posts one after the other as in a typical blog. I am going to use Eclipse to code the same.
stackexchange/codereview
Wonder if anyone can clear up the following for me. What happens if I point a pointer to another pointer ? E.g Pointer 1 = Object Pointer 2 = Pointer 1 What if I then change pointer 1 : Pointer 1 = Object 2 Where does pointer 2 now point ? Thanks, Martin
stackexchange/codereview
Now I'm developing a small project concerned with medical imaging. I'm using C#.net 2008 and clearcanvas for saving and retrieving dicom files. I want to ask some questions about clearcanvas. For saving, sometimes it is saved with XML file, sometimes not. Does this have any effect in retrieving? Another one is when I'm...
stackexchange/codereview
I know this is very basic but i am frustrated like anything.. i googled and tried everything i could. But i am not able to execute this utility. java utils.MulticastTest I am using weblogic 11g on Linux open SUSE. i gotta find it soon as need to replicate on production : Also i guess (not sure) this utility exists in...
stackexchange/codereview
Hi I am new to web programming and I have an mvc app which runs on azure. There is a functionality where users can export grid data to csv and one of the fields is a datetime field. When the user clicks on export I take whatever is in the grid, format it to csv and then return a FileContentResult. The problem I have is...
stackexchange/codereview
When I open my xib file in Interface Builder and click on File's Owner in the Document window, the Connections Inspector is showing far more actions below Received Actions than I have defined in the class as specified by the File's Owner Class Identity. I have only two IBAction items defined in the class, and both of t...
stackexchange/codereview
I'm new to creating Silverlight applications. I have inherited a code-base that I've been told is using Prism. Based upon what I've seen in the code-base, this looks to be true. My problem is, I am just trying to open a dialog window and close a dialog window. To open the dialog window, I'm using the following: UserC...
stackexchange/codereview
I've seen a lot of different background switching based upon link classes, however I just want a simple background switcher on any page load (no cookies) and not link dependent. is there a simple method for this? jquery?
stackexchange/codereview
How can I put the ContextMenu in a resource xaml file and bind it's commands to my current window's commands ?
stackexchange/codereview
I am working with iReport and generate around 20 pdf report also.Now I want all the field blank in the report where its contain value 0 (zero). For that I set text field expression with the code $F{diamondQty}.doubleValue() == 0.0 ? null : $F{diamondQty}.doubleValue() and enable Blank when null option of the field. I...
stackexchange/codereview
I'd like to enforce a unique constraint on two columns with LINQ to SQL. I have got a constraint configured on a SQL table, but is there a way to use it with LINQ to SQL? Unique constraint is applied to two columns, both of which are foreign keys. Thank you Edit: I could catch exception, that's if a very specific excep...
stackexchange/codereview
I’m using Redemption.dll to set custom properties to my messages with set_Filed() and get_field() in C#. Everything works perfectly until the moment I send my messages. From Outlook I use RDOMail.Send() and this sent the message to the Drafts folder. Then I read in the Redemption FAQ that I should use the IMessage::Sub...
stackexchange/codereview
I'm getting this error when running a groovy script (GroovyRuntimeException), and the top Google results are not clear/concise enough. What exactly does this error mean?
stackexchange/codereview
This is the Hacker News ranking algorithm, which I think is a simple way of ranking things, espcially if users are voting on items, but I really dnt understand this, can this be converted to PHP, so I can understand it fully? ; Votes divided by the age in hours to the gravityth power. ; Would be interesting to scal...
stackexchange/codereview
I'm new to opengl and android and couldn't find an answer in the forums so here I am... I need to be able to 'draw' only the intersection of two triangles. I tried to use stencil test but it doesn't work in the android emulator. Then I tried to use depth test and it works but only for a fraction of a second, then the s...
stackexchange/codereview
I have a CSS Horizontal Menu in a table cell. I have set the cell's alignment to align=right.. and the CSS Menu is in that cell but it not right aligned... see the code HERE... I want to make this menu right aligned
stackexchange/codereview
how to set custom color of table row when it is clicked... i mean i don't want that blue color which appear by Default....
stackexchange/codereview
I have scenario where I need to add a dll to ISA server. I have two options, either to use regsvr32 or manually update the system registry. I don't have much idea about how regsvr32 will register the dll. Please let me know what should be proper/cleaner way to register the dll. TIA Anil
stackexchange/codereview
I am writing a JUnit test case which want to test whether a particular file is added with some content or not. In that case, I want to get the instance of the file before modification and another file instance of the same file after modification and want to check whether both are not equal. how to do that in Java Junit...
stackexchange/codereview
How to set SharePoint2010 feature IsHidden property in VS 2010?
stackexchange/codereview
Context : This is for a software develop internally and used only by company's employees. Employees have windows, linux or Mac operating systems for the moment. Next, they may want to have a light version on their handheld devices. Pro : cross platform Con : may be not cross browser Pro : GUI code should be smaller. ...
stackexchange/codereview
I'm new to Python, and i'm struggling to understand the output of this simple program: list = os.listdir(os.getcwd()) print(list) print() for element in list: print(element) if 'txt' not in element: list.remove(element) Which gives me this output : ['examples_list.txt', 'generate_patterns.py', 'lehoczky_exampl...
stackexchange/codereview
Hi: From the api I found extjs provide some basic animation,for exmaple the fadeIn fadeOut and etc. However when I use them, I meet some problems. I am confusing about the component of its show and hidden. The animation is called to the Element,for exapmle, form.getEl.fadeIn(...); But for a component,it has a attribu...
stackexchange/codereview
How do you convert a uint8_t to a uint16_t? currently im breaking down uint16_t to uint8_t like this: packetBuffer.header[0] = ((co2Val>>8) & 0xff); packetBuffer.header[1] = (co2Val & 0xff); packetBuffer.header[2] = ((humVal>>8)&0xff); packetBuffer.header[3] = (humVal & 0xff); packetBuffer.header[4]...
stackexchange/codereview
Hi I want to achieve zoom in/out feature which is available in chrome and IE For instance in IE I can easily set the zoom, percentage by using the following javascript code document.style.zoom="20%"; How can I achieve the same in Firefox and Opera, any help,guideline is really appreciated.
stackexchange/codereview
I currently have a UIView subclass that acts as my header view for my UITableViewController. All of the subviews vary in size depending on data retrieved for a particular item. layoutSubViews is getting called for the UIView before I can determine the size of each label. This causes a problem because I set the size of ...
stackexchange/codereview
Im trying to build the apache example of the mod_helloworld.lpr, C:\lazarus\components\fpweb\demo\helloworld\apache Lazarus 0.9.29 FPC Verion 2.4.3 SVN 27129 i386-win32 After Adding $(LazarusDir)\fpc\2.4.3\source\packages\fcl-web\src\ to the Other Unit Files (-Fu) it will compile, but when i build/link i get ...
stackexchange/codereview
Is there any Microsoft API for parallel programing in C language ? thanks for any answers, bye
stackexchange/codereview
*** ERROR: FigCreateCGImageFromJPEG returned -12905. Input (null) was 499992 bytes. I get a error in ios4.1 whenever i use the UIImagePicker [ just after taking a snap]. My code is a simple UIImagePickerController *c = [[UIImagePickerController alloc] init]; c.delegate = self; c.sourceType = UIImagePickerControllerSou...
stackexchange/codereview
I am rotating a wheel which various subviews (UIImageViews and UIButtons) However when I ask it to display each and every centre of every subview, it is giving me the same value everytime. -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { } -(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *...
stackexchange/codereview
is there a python middleware that captures errors from web app and emails it? which is the easiest one to use. i am deploying app using nginx proxying to multiple app servers of gunicorn+web.py framework. right now any error is printed out in each app server, which is not very easy to manage. what is the best way to ha...
stackexchange/codereview
I'm becoming more interested in markdown and rest for documentation/requisites in projects, but some people in the team aren't that techie to use and remember these markups. It's going to be a bad move to just adopt them when they're used to OpenOffice files. There is a visual editor for Latex, named Lyx, that is WYSIW...
stackexchange/codereview