instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I have a application combined with TabController and UINavigationController. When a button is pressed, I want to pop up another window with its own UINavigationController. -(void) buttonPushed: (UIBarButtonItem *) myButton { MyNavigationController *controller = [[MyNavigationController alloc] initWithNibName:@"MyN...
stackexchange/codereview
When designing an ASP.NET user control my standard way for creating say a details view would be to create a property of the desired type on my page and would set the property in the page load based on the supplied query parameter. I feel I'm probably doing more work then necessary. If I could encase my view inside a c...
stackexchange/codereview
Now, I know it's because there's not the overhead of calling a function, but is the overhead of calling a function really that heavy (and worth the bloat of having it inlined) ? From what I can remember, when a function is called, say f(x,y), x and y are pushed onto the stack, and the stack pointer jumps to an empty bl...
stackexchange/codereview
In a now migrated question about human-readable URLs I allowed myself to elaborate a little hobby-horse of mine: When I encounter URLs like http://www.example.com/product/123/subpage/456.html I always think that this is an attempt on creating meaningful hierarchical URLs which, however, is not entirely hierarchical. W...
stackexchange/codereview
I'm trying to retrofit an API to be compatible with IPv4. Basically the API at one stage creates a socket and then calls bind() to open a port for listening. The port is specified by passing a sockaddr returned by getaddrinfo(), specifying the port in the service parameter. Later, the caller has the choice of assign...
stackexchange/codereview
I'm coding with different languages (c, python, java, latex and ...)using eclipse on a MacBook(2gb ram, coredou 2.13). This needs to install many plugins for each language along with some other common plugins(mylyn, vrapper, svncontroller), which makes the machine very slow. Since every time I start eclipse, I aim to o...
stackexchange/codereview
I need to know a bit about subversion internals. Anyone know why actually gets transferred during a svn update? Say I have a huge file in the repo, with just a few lines changed. Will svn update download the whole file or just the changes? Thanks!
stackexchange/codereview
I'm using utf8_encode || utf8_decode ..., but I'm struggling to handle some special characters (é, è ê ... ,) I'm using php. Could someone help?
stackexchange/codereview
Hi all I'm having an problem with my JNI library. The execution time of the same code changes from one phone to the other. I thought it was just because we were testing on an old phone but recently I run on htc legend and all the jni code was slow... I run the profiler and its really a night and day difference: on some...
stackexchange/codereview
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server"> <link href="Skins/CustomSkin/Editor.Default.css" rel="stylesheet" type="text/css" /> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <telerik:RadEditor ToolbarMode="Default" ID="...
stackexchange/codereview
Is this verification whether the object passed null or not is OK or I should use a kind of equals() methods? public void addCard(Card card) throws IllegalArgumentException { if (card != null){ cardList.add(card); } else { throw new IllegalArgumentException(); } }
stackexchange/codereview
I'm changing CSS with jQuery and I wish to remove the styling I'm adding based on the input value: if(color != '000000') $("body").css("background-color", color); else // remove style ? How can I do this? Note that the line above runs whenever a color is selected using a color picker (ie. when the mouse moves over ...
stackexchange/codereview
this is a question how to override themable items in Drupal 6. According to the book "Pro Drupal Development", we can override themable items in two ways: overriding via Theme functions overriding via Template files So for example, in order to reformat the breadcrumb, I can: via function theme_breadcrumb($breadcrumb...
stackexchange/codereview
I'm using the jQuery tools tabs to divide my page into tabs. One of those tabs contain a jQuery Fullcalendar. Because I load JavaScript last in the page for speed and to avoid flash of unstyled content, I hide the initially unseen tabs using display:none. When doing this, the fullcalendar doesn't render properly. It sh...
stackexchange/codereview
I have a table that simplified looks like this: create table Test ( ValidFrom date not null, ValidTo date not null, check (ValidTo > ValidFrom) ) I would like to write a trigger that prevents inserting values that overlap an existing date range. I've written a trigger that looks like this: create trigger Trigger_Te...
stackexchange/codereview
Is quaternion rotation just a vector with X,Y,Z which the object will rotate towards, and a roll which turns the object on its axis? Is it that simple? Meaning if you have X=0, Z=0 and Y=1 the object will face upwards? And if you have Y=0, Z=0 and X=1 the object will face to the right? (assuming X right, Y up and Z dep...
stackexchange/codereview
How can I using JQuery sort any column of gridview at client side? Kindly share...
stackexchange/codereview
First question: For the case where the device_id is 2 the output is two, but any other case the output is still 2. Why is this? if ($line == "IMEI 358998018395510\r\n"){ $device_id = 1; }elseif($line == "IMEI 352924028650492\r\n"){ $device_id = 3; }else { $device_id = 2; } Second question: I w...
stackexchange/codereview
I'm writing a C program using gcc in cygwin. My question is, how do you create a makefile? I mean, what file-extension does it have? I know how to write simple rules, but I can't save a file in the text-editor with the right extension? Impossible to find any info about this... This is prolly a super-newbie question. So...
stackexchange/codereview
I have an application that starts with a Login screen (UIViewController) and then once the user completes the login, the rest of the application is managed by a SplitViewController. The problem I'm having is that when the SplitViewController is first displayed, it overwrites the current screen orientation, it forces po...
stackexchange/codereview
I have a div layer with overflow set to scroll. When scrolled to the bottom of the div, I wanna run a function.
stackexchange/codereview
I am starting out with views and I wrote an extremely simple view which really just filters if the node is published and if it is of type banner. In preview and when I try to print the view I get no results. When I search through my content and filter by type banner and published, I get 3 results (in /content/node/over...
stackexchange/codereview
I have a Jetspeed 2 portal instance that runs on Tomcat 6.0.29 in a Windows 7 machine (used to work on XP). The portal login succeeds but it does not forward to the logged in view. Has anyone encountered this issue? If yes, do you have a fix/ workaround for it TIA
stackexchange/codereview
I need to implement a SOAP Web service. with many clients (over 4000 user online). Service function is a DB access, and other web service access... Which application server is better. Glashfish, Weblogic, Oracle Application Server ...?
stackexchange/codereview
I was looking through the Threading Programming which I have to say it's really good. Specially I was looking on How to configure Port-based input sources for running loops. And I see this piece of code // Detach the thread. Let the worker release the port. [NSThread detachNewThreadSelector:@selector(LaunchThreadWit...
stackexchange/codereview
I want to rewrite the url http://mydomain/myapp/fakefolder to http://mydomain/myapp/index.php I tried the following rule but thats not working RewriteEngine On RewriteRule ^fakefolder$ index.php The .htaccess file is located inside myapp. Kindly help Thanks vineet
stackexchange/codereview
Which multibyte-handling library should I use : iconv or mbstring ? After some Googling I didn't find enough arguments to convince me to use one particularly, and I could not get any benchmark (and I'm too lazy do create one :-p). After all maybe this choice doesn't really matters ? Thanks for any piece of advice.
stackexchange/codereview
I want to loop through all the properties of my 'user' model, how can I do this?
stackexchange/codereview
When I try to browse my service.svc file,I keep getting this error. I've enabled tcp in the default website in IIS. The port number 808:* is already there in my IIS bindings Ive installed WAS and support for non http protocols... TcpChannellistener service and tcp port sharing services are running.. But,now why am I ...
stackexchange/codereview
how can I use graphic card instead of CPU when I call SDL functions?
stackexchange/codereview
I have defined -Xmsx 1.3GB in the java VM parameters and my Eclipse does not allow more than this, when running the application I got the below exception: Exception in thread "Thread-3" java.lang.OutOfMemoryError: Java heap space What can I do?
stackexchange/codereview
This is part of a lab exercise for a course I'm doing, it's not assessable, just a learning exercise. Not sure why but the tut didn't go through it, so I just went through it at home but I'm stuck on the last part. I'm trying to write a java WSDL client to access http://www.nanonull.com/TimeService/TimeService.asmx?WS...
stackexchange/codereview
Hello I wonder what's the difference between standard EF objects, POCO and Self Tracking Entities. I was looking the web but couldn't find a valuable introduction. Any help would be appreciated.
stackexchange/codereview
I just want to ask your ideas regarding this matter. For a certain important reason, I must extract/acquire all function names of functions that were called inside a "main()" function of a C source file (ex: main.c). Example source code: int main() { int a = functionA(); // functionA must be extracted int b...
stackexchange/codereview
I am trying to use the Join(...) extension method to build a query based on criteria passed to a method. I have an error in the following: public static IQueryable QueryItems(string param1, string param2, string param3) { IQueryable<tbl_Item> query = dataMap.tbl_ItemMap; //Join is giving me the error: Cannot i...
stackexchange/codereview
I am using the jquery.watermark.min.js plugin. I just recently noticed that it is submitting the watermarks on form submit. It wasn't doing it before, but now it is. Not sure what I changed. Any ideas? Or fixes? I am using MVC, Ajax.BeginForm, I have a viewmodel with validation on it. The website said something abou...
stackexchange/codereview
I've got a UITableView that's loading a bunch of RSS feeds, and the favicon for each feed is shown in the table cell. It works well most of the time, but sometimes the image does not appear. Looking through the debugger, the images that don't appear have the NAMED and CACHED flags set to TRUE, with all the other flags ...
stackexchange/codereview
I would like to read a few performance counters in my C# application, like "Processor\% Idle Time", but this only works on English systems. Since performance counters need to be initialized using the counter category and names, how can I make my code run under different UI languages?
stackexchange/codereview
I'm looking to push my branch to a remote, but I don't wish to include all the files in the branch, but I do wish to keep track of them here. Is there a way to do this with a filter, or do I need to create a new branch for this? All the stuff I've read seems to talk about completely removing the files, I just don't wan...
stackexchange/codereview
Rendering contexts usually have a solid color on the background (black or whatever, see the image below): I'm wondering if it's possible to setup a window, with no decorations AND with the transparent background, while allowing me to render OpenGL stuff on it. This would give the illusion that the triangle is floating...
stackexchange/codereview
I use code like this to iterate through a list when I also need the next item in the list: values = [1, 3, 6, 7 ,9] diffs = [] for i in range(len(values)): try: diffs.append(values[i+1] - values[i]) except: pass print diffs How can I simplify this? gives: [2, 3, 1, 2]
stackexchange/codereview
I wanna write a crawler to fetch data. from an asp.net site which uses javascript to do the pagination
stackexchange/codereview
Is it possible to stream video to an Android device by using Windows Media Services? Which protocol should I use between RTSP and HTTP? Actually, I have a video file (MP4 format) at a server and I want to stream video files to an Andriod device.
stackexchange/codereview
I have a list of buildings that I load from my model. Those buildings are showed in a loop within my view as so : Controller public function index() { $data['buildings'] = $this->Base_Model->getUserBuildings(); $this->load->view('game', $data); } View <?php foreach($buildings as $b): ?> <div class="building">[.....
stackexchange/codereview
I'm using Django 1.3beta and django-mongodb-engine for database backend. Problem is when I save an object with a pk set I get this error: /usr/local/lib/python2.6/dist-packages/django/db/models/fields/__init__.pyc in get_prep_lookup(self, lookup_type, value) 290 return value 291 elif lookup_...
stackexchange/codereview
I have troubles with dynamic loading of libraries - my code panics with Kern-Exec 3. The code is as follows: TFileName dllName = _L("mydll.dll"); TFileName dllPath = _L("c:\\sys\\bin\\"); RLibrary dll; TInt res = dll.Load(dllName, dllPath); // Kern-Exec 3! TLibraryFunction f = dll.Lookup(1); if (f) f(); I receive ...
stackexchange/codereview
We are trying to achieve is to collect fake gps tracks on some route without going in real time. We first realized by using maps.google.com we can download kml file from any direction between designated points.But these points depend on shape of the road where if we go through a bridge,kml file comes within only begin ...
stackexchange/codereview
I just ran an update on ArchLinux which gave me Python3 and Python2.7. Before this update, I was using Python2.6. The modules I have installed reside in /usr/lib/python2.6/site-package. I now want to use Python2.7 and remove Python2.6. How can I move my Python2.6 modules into Python2.7 ? Is it as simple as doing mv /us...
stackexchange/codereview
I want a clarification on intent.this is my scenario,there are 3 activities in my project namely "A","B","C"..... On clicking the button in Activity "A" ,i pass the values to "B" through bundle and based on the received value i retrieved set of values from database...Similarly "B"->"C" also... The problem when i clicke...
stackexchange/codereview
I carefully read the question 'Official way to ask jQuery wait for all images to load before executing something', but IE is giving me a hard time. I want to fade in some images after the background image has load, so thanks for the explanation, all is working well on FF, Safari and Chrome. It doesn't seem to work on I...
stackexchange/codereview
I have a Checkstyle validation rule configured in my project, that prohibits to define class methods with more than 3 input parameters. The rule works fine for my classes, but sometimes I have to extend third-party classes, which do not obey this particular rule. Is there a possibility to instruct Checkstyle that a cer...
stackexchange/codereview
I have 2 select inputs and I filling them with an array of years. After that I want to set currentYear the selected value for every Select. I hacve this code but only works with first Select I don't understand why. Everything works great with jQuery 1.4.3, 1.4.2 fails :_( I'm trying this without success :-( only fisrt ...
stackexchange/codereview
I'm installing a PHP script in my server and when I try to run the test page, I get an error saying: PHP needs to be compiled with ZLib support enabled (--with-zlib[=DIR]) How can I fix this on Apache?
stackexchange/codereview
I'm looking for something similar to preg_quote, but for the MySQL regexp syntax. Any ideas?
stackexchange/codereview
My Rails application is currently using JSON as the respond_to format for AJAX forms on the site. I'm planning to create a public API for the application, and I'd like to use JSON for it also. How might I distinguish between an AJAX form and an API call in my controllers if the requested format for both is JSON?
stackexchange/codereview
When to choose NoSQL and when to choose XML ? Update: I want to know when one can use NoSQL exclusively, XML exclusively or both. I want real examples not generalities.
stackexchange/codereview
I'm working through a sample .Net MVC application. I've added the aspnet membership api tables to an existing database. I've modified the web.config file as follows: <connectionStrings> <add name="ApplicationServices" connectionString="Data Source=localhost;Initial Catalog=nerddinner;Integrated Security=True;User I...
stackexchange/codereview
In IE6, HTML is as under: <div id="topmenu"> <ul> <li>num 1</li> <li>num 2</li> </ul> <div id="rightItem">Hello World</div> </div> The CSS is as under: #rightItem { cursor: pointer; float: right; clear: none; height: 100%; width: 340px; } #topmenu { margin: 0 au...
stackexchange/codereview
I'm trying to duplicate a mailer I got into my gmail by taking a look at its code. I see a lot of this in multiple source viewers: <td style=3D"border-bottom: 1px dotted rgb(153,157, 147); border-top: 1px solid rgb(28, 140, 78);" width=3D"90">=A0</td> <td style=3D"border-bottom: 1px dotted rgb(153,157, 147); border-t...
stackexchange/codereview
I display a video using MPMoviePlayerViewController in a tabbar application, the video plays fine in portrait mode but doesn't rotate in landscape mode. The same code works fine in another project without the tabbar. I tried to force the autoresizingmask to flexibleWidth and flexibleHeight without success. If i return ...
stackexchange/codereview
Here is my question : I have an app running smoothly on iOS 3.0 I've been working a long time to port it to 4.0 and to include the new features. I added iAds using Interface Builder. I know that I have to define it programmatically to still support 3.0 devices. I weak linked the framework. But the app crashes when loa...
stackexchange/codereview
I've just installed Xampp and Wordpress and all looks ok when I bring up the default blog, but if I click on any of the post or category links, I get an Error 404: Oject not found, and sure enough if I look at the source, the link destination doesn't exist? Is this something to do with permalinks? Do I need to change o...
stackexchange/codereview
I am trying to run this code below using Execute Immediate but its not working and values are correct. Please suggest the correct code. declare v_count number:=1; v_conc_name varchar2(400); v_val VARCHAR2(20):='vineet'; BEGIN v_conc_name:='INT_AP_PAY_CONV'; EXECUTE IMMEDIATE 'UPDATE xxx_cnc_prg_details ...
stackexchange/codereview
I realise it's possible to pass in a manually constructed String to the execute(String) which is vulnerable. However I'm interested in where you pass the parameters to the query using MapSqlParameterSource or one of the other exposed methods such as in the below examples. Digging into the source it looks like it's us...
stackexchange/codereview
Yes, that's what I need to achieve, don't ask why:) So, since this is mainly OS dependent stuff I will be using Windows or Linux (whatever is simpler) Every second my program will: 1. do a screenshot, analyze the board and other stuff (this I can do) 2. then move the mouse to some XY and do a left-click that's all My ...
stackexchange/codereview
I have been trying to get sIFR 3 rev.436 working on my site but I stuck at publishing the movie. I did everything the instruction had told me to but when I published the movie and double clicked it to test, it failed. Yhe movie was blank with the following error. Someone said the Action Scripts should be in the same f...
stackexchange/codereview
I'm trying to understand if it's right to use one table for votes for more than one argument: table_votes id | vote (±1) | id_user | timestamp | argument_type | argument_id table_photos // could be argument_type = 1 id | photo_file | photo_name | etc. table_house // could be argument_type = 2 id | house_name | ...
stackexchange/codereview
I have used iText to parse pdf files. It works well on local files but I want to parse pdf files which are hosted in web servers like this one: "http://protege.stanford.edu/publications/ontology_development/ontology101.pdf" but I don't know how??? Could you please answer me how to do this task using iText or other li...
stackexchange/codereview
I've looked at FileHelpers v2.0 but there is a serious problem woth that. I cannot define a class that maps to the record in the source/detination file. The reason is I don't know what file I'm going to get. A big part of my program is mapping the file's fields to the database's fields... I don't know how many fields t...
stackexchange/codereview
I'm trying to automate some Subversion processes and I'm running into problems with conflicts. When I merge two branches, sometimes I get tree conflicts and regular (text) conflicts. I'd like to be able to resolve everything using the repository copy: svn resolve . -R --accept theirs-full but if there are tree confl...
stackexchange/codereview
I need to parse certain method invocation calls including the whole signature out of some Java classes, e.g. public class MyClass { public void myMthod() { // ... some code here result = someInstance.someOtherMethod(param1, param2); // ... some other code here } } As a result I would li...
stackexchange/codereview
I've been a little puzzled with this as I have not seen many examples that gave me the complete picture. The best explanation I found so far is this. By defining a security role in web.xml such as "admin" for example, and having my login form with all the necessary fields (i.e j_security_check as action, and fields j_u...
stackexchange/codereview
Imagine a typical CakePHP application, in which a Controller passes various bits of data to the View using $this->set in the typical way: class ThingsController extends AppController { function test() { $this->set('someparam', 5); } } If the corresponding View was to define and use a small helper funct...
stackexchange/codereview
In my project I have configured .NET's sessions to go into database. I also have a global.asax which implements Session_Start(). In Session_Start() I write three things to the session: The time the session started. The user's host address. A serializable device object wrapping the user's agent. The problem is now tha...
stackexchange/codereview
I am trying to decide if I want to pursue Automapper as a technology to use at my company. Before I dig in, I have a question that I want to be sure is doable with automapper. Say I have a property in my destination class that I don't want to fill with automapper. Is there a way to tell automapper to ignore the prope...
stackexchange/codereview
I have a class with a button, it runs the command automatically when the gui is constructed (which I don't want it to do) but then doesn't work again after. What am I doing wrong? Built-in commands such as endcommand work as they should. relevant excerpts (ignore the indent problem at the very beginning) class GuiPart(...
stackexchange/codereview
Currently I have a file called "hits.php" and on any page I want to track page hits I just use <?php include("hits.php"); ?> How can I track unique visitors only though? My hits are false since it can be refreshed by the same person and hits go up. Here's my source: <?php $hits = file_get_contents("./client/hits.txt")...
stackexchange/codereview
I have the following array format: Array ( [0] => stdClass Object ( [tid] => 3 [children] => Array () ) [1] => stdClass Object ( [tid] => 15 ) [2] => stdClass Object ( [tid] => 12 [children] => Array () ...
stackexchange/codereview
We were having occasional reports where the value of a set of DropDownBoxs in a GridView would be reset to the first value item in the list. We finally tracked it down to a timing issue where a user would click Save before the page finished rendering/loading the data, and we are able to repro it on the production ser...
stackexchange/codereview
Back with my daily silly question. Today I'm trying to put a struct in an NSArray. Alright, that's easy, wrap it in a NSData. If you know me, you know you're about to see code. In this example, I'm loading a vertex line from a Wavefront OBJ into a struct and sticking it in an array. NSArray *verticeLineParts = ...
stackexchange/codereview
I'm trying to figure out how to make use of the "pinch" touch effect with Sencha Touch. Do you know of any examples that help with the first steps? The documentation seems to be rather silent about it. Specifically I'm looking for a common task as a starter: I want to zoom it - and - zoom out of an image in JPEG format...
stackexchange/codereview
I am trying to write heaps of text to the screen using a custom font. It all works well but I am having a bit of trouble getting it to work with strings containing a Umlaut. I tried all sorts of encodings with no success. This is what I did... I think it goes wrong when getting the C-Version of a string. the cars-array...
stackexchange/codereview
I'm working on a Firefox plugin that uses external libraries to render 3D graphics on the browser. The problem is that I want the plugin to use external libraries packed with it without changing the LD_LIBRARY_PATH variable. The libraries are installed in a position relative to the plugin (a shared library too), while ...
stackexchange/codereview
This feels like a really bad idea on implementation and I'm not sure of the speed savings given the potential cost in memory. Using Dalli and Memecache to store a set of data that gets pulled on every page request that needs to be paginated. Its a lot of data so I'd really rather not keep hitting the database if possib...
stackexchange/codereview
i've a little web interface which uploads a file on a server and then dumps that file in oracle db. but there are about 7 million records in it and web server get time out while reading and dumping that file. can someone please tell me how can i keep that session alive so that it doesn't get timeout when uploading, re...
stackexchange/codereview
If you were asked in an interview to describe the ASP.net lifecycle what would you answer? What I have memorised so far is... SILVERU or Start Initialization Load Validation Postback Event Handling Render Unload Would giving that list be enough of an answer? I doubt it so if it is not enough then what would one have ...
stackexchange/codereview
Does VT_DATE variant type support microsecond resolution? Please let me know how to display the same in VB?
stackexchange/codereview
Im exporting a set of data to excel in java, the data has certain non ascii characters, while exporting in Windows machine the data are coming correctly in UTF-8 encoded format.But when i deploy my code in Unix machine it is not working properly.UTF-8 encoding is not working properly. Im using Tomcat 5.5 server.I have ...
stackexchange/codereview
I can successfully create objects dynamically and name them dynamically. Example: click on a canvas to create an image named 'image1', click somewhere else, and create 'image2' etc. But after that, what if I want to change an attribute based on the name? In my javascript days I would getElementById('image1').style.co...
stackexchange/codereview
I'm searching a file line by line for the occurrence of ##random_string##. It works except for the case of multiple #... pattern='##(.*?)##' prog=re.compile(pattern) string='lala ###hey## there' result=prog.search(string) print re.sub(result.group(1), 'FOUND', string) Desired Output: "lala #FOUND there" Instead I g...
stackexchange/codereview
I'm looking for a SIP stack to use on the Android platform. Since it's for a client, to be used for commercial purposes, GPL'ed stacks are not feasible. What would you recommend, SO?
stackexchange/codereview
everyone! Could someone tall me how I can limit count of line of text, that is showing in asp.net Label control? Thanks!
stackexchange/codereview
I realize there are a number of sources on how to get OpenLDAP set up under Ubuntu, or how to configure data stores for OpenAM (formerly OpenSSO). Some that seem most useful to me are: http://ubuntuforums.org/showpost.php?p=8236370&postcount=1 https://blogs.oracle.com/indira/entry/using_openldap_as_user_data Unfortunat...
stackexchange/codereview
I need to put in my site div which is exactly 25cm width ( 10 inch) in every display. How I can do it ?
stackexchange/codereview
Consider following DOM fragment: <div id="div-1">foo</div> <div id="div-2">bar</div> Is it possible to insert HTML string (EDIT: that contains tags to render) between divs without wrapping it in another div (EDIT: or some other tag) created via document.createElement and setting its innerHTML property?
stackexchange/codereview
I get weird exception: 10-31 09:09:51.308: ERROR/ContentService(59): Content Service Crash 10-31 09:09:51.308: ERROR/ContentService(59): java.lang.NullPointerException 10-31 09:09:51.308: ERROR/ContentService(59): at android.content.ContentService$ObserverNode.collectObserversLocked(ContentService.java:620) 10-31 0...
stackexchange/codereview
I have a navigation system on my site that uses javascript to slide horizontally stacked divs left and right into view. I'm trying to make the site function better with javascript turned off, so I have a second navigation system that uses hash values to 'go to' the appropriate section. The problem arises if someone i...
stackexchange/codereview
i am using Photoshop cs 3 extended in this droplet is not working,any views?
stackexchange/codereview
I just migrated my django application from sqlite3 to mysql 5.1.41. I have a charfield in a model defined like this: class HostData(models.Model): Host = models.CharField(max_length=50, null=True) HostStatus = models.CharField(max_length=200, null=True) Alarm = models.BooleanField() Everything works the same exc...
stackexchange/codereview
How do you read samples via AVAssetReader? I've found examples of duplicating or mixing using AVAssetReader, but those loops are always controlled by the AVAssetWriter loop. Is it possible just to create an AVAssetReader and read through it, getting each sample? Thanks.
stackexchange/codereview