instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
For an EditText view i can use setInputType(InputType.NULL), but an web view doesn't have it. I tried the rest of the solutions posted on stackoverflow but none of them worked for a web view.
stackexchange/codereview
I have a structure which can have multiple levels e.g. <li> <a class="viewdetails"></a> <input type="checkbox" class="11015-11017" id="11015-11017" value="11017" name="list_data[11015-11017]">&nbsp;Food Service <ul> <li> <input type="checkbox" class="11015-11017-11021" id="11015-11017-11...
stackexchange/codereview
I am having a Web Application with build target as .Net Framework 4.0. I want to interact with the Sharepoint Object Model API's but it gives a framework 4.0 runtime does not supports Sharepoint.dll error. Is their any tweak such that I can use Sharepoint 2010 with .Net Framework4.0. Note: I cannnot change the build ta...
stackexchange/codereview
I'm a bit stuck on this issue. I'm trying to make a newline using '\n'. I'm opening a file, then replacing the text, then writing it back as an html file: replace = text.gsub(/aaa/, 'aaa\nbbb') But this results in: aaa\nbbb I'm trying to make do: aaa bbb
stackexchange/codereview
I am a newbie in grails and groovy. I have a Project domain-class with start and end date. I want to put in a constraint specifying that the end date needs to be greater than the start date(and then further another child object of project needs to have its startdate and enddate validate with the parent Project's dates)...
stackexchange/codereview
I am pretty new to netbeans (former zend studio and eclipse user) and also new to zend framework. For a few hours now I am trying to set up a new zend framework project in netbeans on my windows 7 machine. I downloaded zf, added the library path to the include path in php.ini and configured the things in the options di...
stackexchange/codereview
I run a site with a large number of news articles. I'm looking for a 3rd party tool(or widget) that, when placed on an article page, would generate a list of related articles within the same site. So my requirements are: Returns a list of links to related articles Has to be integrated front-end (javascript,ajax,etc) ...
stackexchange/codereview
I currently have a php file which allows the user to upload a file. Once they upload the file, it runs a program with the file using MPI. The problem is that the script says it cannot find the file .mpd.conf (config file that must be present in users home directory). I'm guessing that this is because it is running a...
stackexchange/codereview
I have the following code in C#: Console.WriteLine("Connecting to server..."); TcpClient client = new TcpClient("127.0.0.1", 25565); client.Client.Send(BitConverter.GetBytes(0x02)); client.Client.Send(BitConverter.GetBytes(0x0005)); client.Client.Send(Encoding.UTF8.GetBytes("wedtm")); Console.Write("{0:x2}", client.Get...
stackexchange/codereview
I develop an asmx web service (i.e. ASP.NET 2.0). There's a piece of code that may read the contents of the HTTP request (via HttpContext.Current.Request.InputStream) while processing it. I realise that InputStream may only be read once for a request, and I make sure I never try to read it more than once. The problem s...
stackexchange/codereview
I would like to write a simple 2D game in Mono/Gtk#with MonoDevelop 2.4. My first interest was to display a PNG image for the player character in the Window canvas (later I will respond to keyboard events in order to move it). However, I have found out a disturbing problem here: while I get a Gtk.Image object for the p...
stackexchange/codereview
Consider the following in Qt using QtSoap lib: QtSoapHttpTransport http; http.setHost("XXXX",3333); connect(&http, SIGNAL(responseReady()), this, SLOT(getResponse())); now there is a method i want to call which is: QtSoapMessage request; request.setMethod("test"); request.addMethodArgument("xxx","zzzz",xxx); reques...
stackexchange/codereview
I am using vbscript regex to find self-defined tags within a file. "\[\$[\s,\S]*\$\]" Unfortunately, I am doing something wrong, so it will grab all of the text between two different tags. I know this is caused by not excluding "$]" between the pre and post tag, but I can't seem to find the right way to fix this. For...
stackexchange/codereview
i'm trying to make post to an external url using curl, the externa page use https, here is the desc of the server i'm using Server Apache/2.2.11 (Win32) mod_ssl/2.2.11 OpenSSL/0.9.8k PHP/5.3.0 the external url make a redirect to another url that i send in the post, but everytime i try i get this error curl_errn...
stackexchange/codereview
I know how to make a button in Xcode with Interface Builder. I'm just curious how to make a button do something like creating a new page with new graphics. By the way, this is for a logic game I am making in Xcode so expect a bunch of questions later on.
stackexchange/codereview
I'm running into a problem with MySQL's STR_TO_DATE function. For example, this code: SELECT STR_TO_DATE("Saturday October 23 2010 11:00 AM", "%W %M %d %Y %h:%m %p"); outputs this: 2010-00-23 11:00:00 Why is everything correct except the month? Is this an error in my syntax?
stackexchange/codereview
I'm trying to change element's background-color using random colors from an array. There is the code: $(document).ready(function(){ var randomColors = ['#00eeff','#fcff00','#9600ff']; var rndNum = Math.floor(Math.random() * randomColors.length); $("div.anyclass").hover( function() { $(this).css({'background...
stackexchange/codereview
I am trying to get file sharing to work on my app in iPad. I've added UIFileSharingEnabled to the plist, I've queried the documents dir and written a file there (and verified it is there by looking at it through Organizer). iTunes just refuses to display the file sharing info in the device's apps tab. Does anyone kn...
stackexchange/codereview
I'm making a mobile interface for my web app, and I'm trying to use anchor links to make navigation easier. My code is similar to this: <a href="#section2">Jump to section 2</a> ... lots of stuff here ... <h2 id="section2">Section 2</h2> The problem is that the link works only once. So if a user, using his iPhone, tap...
stackexchange/codereview
What's the naming convention for constants in Objective-C (or most widely used way to name them)? Is there a different criteria for extern constants? Some styles I have seen: NSString* const kPreferenceFirstRun = @"FirstRun"; // Replace "XY" by a prefix representing your company, project or module NSString* const XYP...
stackexchange/codereview
I want to decompose my UI into several XML Layouts. The first one would be the main layout, and the other ones would be the content layouts. I would like to be able to set which content_layout should be included dynamically at run-time, so I don't want to set a "layout="@+layout/content_layout" in my XML file. Here are...
stackexchange/codereview
I am beginning python and working on a project, and one thing I would like to be able to do is download and run a script dynamically at runtime. The general idea is to be able to connect to a server, download a python script on demand, and run that script that was just downloaded without having to restart the program ...
stackexchange/codereview
I have an application called Flick Background (I'm the developer). It works fine on Leopard, but doesn't work on Snow Leopard (crashes when downloading an image). Here is the crash log (some is removed, because it contains personal information): Process: Flick Background [8591] Path: <<hidden>> Ide...
stackexchange/codereview
I am using a Quartz to build a clustered ThreadPool and I have number of tasks that run at various times. What is the best way to run 1 task immanently and only once on the clustered ThreadPool. I know I can set the task to a high priority. But what is the best way to register a "one shot" task?
stackexchange/codereview
As topic said, I need a recursive function that split a string if its contain words longer more than (for example) 5 chars. Example : if i have the string "aaaaa aaa a aaaa aaaaa" its ok; if i have the string "aaaaa bbbbbb aa aaaaa" I need to split 1 time (and, for example, add the char # before the first bbbbb and the...
stackexchange/codereview
I want to create a class that is usable without being instanced, but that can also be instanced. Similar to a math class I suppose. Thanks
stackexchange/codereview
hi there :) i just want to ask on how to make an array of buttons in vb .net 2005. It seems very different in vb6 'coz in vb6 you have just to add an index on its property but in vb.net there is no index property. Can it be made by designing in on the form just like copying and pasting on the form in vb6?
stackexchange/codereview
I have encountered a problem regarding keyboard events such as the keydown event. The application is a single page webapp built entirely using JavaScript and DOM manipulation. All keyboard processing is handled by a single handler added to the document using. document.addEventListener("keydown", handler, true); That h...
stackexchange/codereview
Generally, I would use boost::mpl::for_each<>() to traverse a boost::mpl::vector, but this requires a functor with a template function declared like the following: template<typename T> void operator()(T&){T::staticCall();} My problem with this is that I don't want the object T to be instantiated by for_each<>. I don't ...
stackexchange/codereview
I am trying to write a program on an embedded system running GUMSTIX(Linux) to connect and talk to an Android 2.x device over bluetooth. The GUMSTIX is the client and the Android is the server. I am trying to find the channel number that my Android service uses so that the GUMSTIX can connect to it but for some reaso...
stackexchange/codereview
GTK+ 2.x has the follow states: NORMAL, PRELIGHT, ACTIVE, INSENSITIVE, SELECTED for use in GTK themes and I can do things like... bg[NORMAL] = "#f6f6f6" .. to change background color when in NORMAL state. Also, I can change the background image of a button (when the mouse is over it) by changing the PRELIGHT state ima...
stackexchange/codereview
Say I have double xSquared( const double ) { return x*x; } ... std::function<double (double)> func = &xSquared; ... which works fine for the (more complicated) purposes I use this structure, up till now. Now I have a function that accepts a std::function of the above form and I need to create a new std::function ...
stackexchange/codereview
What are the technologies out there? (I only know of JUnit) What is the most popular? Can you please explain the pros/cons of each?
stackexchange/codereview
I wanted to use Clickpass in an webapp that I've been developing, as I like the idea of a simpler way of handling OpenID. However, when I peeked at the developer documentation, I got this: "Clickpass is being reworked. Please, don't develop against the current Clickpass implementation." Are there any decent alterna...
stackexchange/codereview
I have been having trouble keeping up with the list of changes in 1.3 and most importantly the changes that require me to change my code. What has changed, what is about to change, where can I get up to date lists of these?
stackexchange/codereview
I'm trying to add seconds to a date based on certain events that occur. Often times, if these events occur at the same time, too many seconds get added on. Here's how I am currently doing it in PHP and MySQL $time_add_on = 15 - $seconds_left; DATE_ADD(STR_TO_DATE(end_dt,'%Y-%m-%d %H:%i:%s'), INTERVAL '".$time_add_on....
stackexchange/codereview
I need to check the value of $variable1 is LIKE another variable2. There could be something else after a dash but i can't predict what. Is there any kind of wildcard idea in PHP like sql? LIKE variable% ?
stackexchange/codereview
I am using the Ruby gem mechanize to scrape some html... When I load my page and display the necessary results, the page laods fine. After a reload, I get this error when doing "search_results = @agent.submit(search_form)": undefined method `<=>' for {emptyelem <input name="hl" value="en" type="hidden">}:Hpricot::Elem ...
stackexchange/codereview
I have a site where a specific set of data is collected. This is a travel agency website. It is neccesary to determine whether or not an accommodation is still bookable. When I don't select any searchfilters (like destination, classification, facilities etc) I get a working query. The looks like: SELECT `accommodation`...
stackexchange/codereview
If I have two sibling canvases displayed next to each other, can I have a child Label (or any child component for that matter) in the left canvas overflow outside of that canvas and on top of the next? Something like this: ______________ ______________ | ----------------------------- | | | Label overflow test ...
stackexchange/codereview
I have a Cocoa application that should play two different QTMovie objects completely synchronized. Both movies are equal in resolution, size etc. but might have a different length. The movies are compressed and it's necessary that they are multithreaded. My current aproach is: NSMutableDictionary *movieAttributes1 = [N...
stackexchange/codereview
Is there a way to add Auto Increment to an existing column without having mysql rebuild the entire table? Edit - I am doing an ALTER, but it takes ages and ages, because mysql rebuilds the entire table structure. What this question is about is whether there is a way to speedup this process - after all, the logical oper...
stackexchange/codereview
function editGroup(group_reason_id,type,mdVal) { alert("test==>"+group_reason_id); window.open("addgroup_reason.jsp?am=m&t="+type+"&md="+mdVal+"&gr="+group_reason_id,"","toolbar=no,resizable=no,status=no,menubar=no,scrollbars=yes,width=800,height=400,top=145,left=235") ; return true; } JSF code : <h:...
stackexchange/codereview
in my web page i have a table and i want its first column to be resizeable. it works fine in IE8 but on Mozilla it shows resize icon in bottom right corner of the document. this is the code $(".resizable").resizable({ maxHeight: 25, maxWidth: 350, minHeight: 25, minWidth:...
stackexchange/codereview
im using hibernate and i maps my entities with annotations (so no xml files). I finally decided to try spring framework but I encountered some problems to make it work. All tutorials i found are very dispersive and most of them use xml file to map an entity... Can you help me to correctly write a xml config file for sp...
stackexchange/codereview
Need a ppml generator from (XML and XSL) or from (FO) file.
stackexchange/codereview
I am attempting to carry out a few functions when a user registers on a wordpress site. I have created a module for this which carries out the following function: add_action( 'user_register', 'tml_new_user_registered' ); function tml_new_user_registered( $user_id ) { //wp_set_auth_cookie( $user_id, false, is_ssl(...
stackexchange/codereview
Possible Duplicate: What good does zero-fill bit-shifting by 0 do? (a >>> 0) I've been trying out some functional programming concepts in a project of mine and I was reading about Array.prototype.map, which is new in ES5 and looks like this: Array.prototype.map = function(fun) { "use strict"; if (this === vo...
stackexchange/codereview
I know that it is not safe to modify the list during an iterative looping. However, suppose I have a list of strings, and I want to strip the strings themselves. Does replacement of mutable values count as modification? See Why doesn't modifying the iteration variable affect subsequent iterations? for a related proble...
stackexchange/codereview
I'd like to display the same UIView multiple times. At the moment, I have my drawing in a primary UIView, then copy this into an image using renderInContext: and UIGraphicsGetImageFromCurrentImageContext. Then I set the contents of the other proxy UIViews to be this image. UIGraphicsBeginImageContext(size); [self.la...
stackexchange/codereview
I am having an issue using Jasmine on Ubuntu when trying to run the example javascript specs through Selenium using the "rake jasmine:ci" command. I will periodically get a "Connection refused" error when net/http is trying to connect to the port where Selenium is running. An example the start of the backtrace I get is...
stackexchange/codereview
how can I make text draw vertically, like in this site: http://cure.org/help-now/ ? I see that it's done with jQuery + SlideDeck because I see them loaded, but how exactly does the plugin do this? Firefox has css -moz-transform, but other browsers don't have such properties, and the vertical text from that site shows i...
stackexchange/codereview
This is a baffling one. My ASP.NET 3.5 app that was working fine suddenly started getting timeout errors... System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding ...but only for requests with the correct username/password in...
stackexchange/codereview
It seems like you have to interact with github.com to initiate a pull request. Is this so?
stackexchange/codereview
I construct the following FormRequest according to httpFox(Firefox addon)'s content. However, web server alway returns "500 Internal Server Error". Could someone help me on this? The original url is: http://www.intel.com/jobs/jobsearch/index_ne.htm?Location=200000008 Here is my spider's skeleton: class IntelSpider(Ba...
stackexchange/codereview
in the controller params.max = Math.min(params?.max?.toInteger() ?: 10, 20) params.offset = params?.offset?.toInteger() ?: 0 if you enter in the following urls /books?offset=10&max= //error /books?offset=10&max=sdf //error /books?offset=&max=10 //works /books?offset=adsfa&max=10 ...
stackexchange/codereview
i have a customized scrollbar, however i have tried my best to make the original one from windows invisible by using the customized one covering on it, it can not be done. any one have idea of how remove the original scrollbar ?
stackexchange/codereview
This question, like my previous question, references Effective Java. This time I have quite a few sub-questions. A privileged client can invoke the private constructor reflectively with the aid of the AccessibleObject.setAccessible() method. If you need to defend against this, modify the constructor. How, exactly, can...
stackexchange/codereview
I'm a complete newbie at Dojo, and Adobe AIR, which is my target. I'm trying to put some panes into an AccordionContainer like so: var mainview = dijit.byId("mainview"); var rand = randomString(); var widg = gtd_create_entry_widget(rand) air.trace(mainview); air.trace(widg); mainview.addChild(widg); "mainview" is my A...
stackexchange/codereview
One of my delayed_job tasks has a serious memory leak and I'm having a hard time solving it. Can anyone recommend a good tool for profile a delayed_job task in order to solve this memory leak? Regards, Rubem
stackexchange/codereview
I'm having difficulty with setting the margin between 2 elements on my page. An example is depicted here: http://jsfiddle.net/fHC9Y/1/ You can see that there's no space between the paging structure under the table and the footer box, where I've specified in the CSS that there should be 30px of space between them. This...
stackexchange/codereview
I just can't sort out why my kaccordion on wordpress broke up... the console says that jquery "filter" is not defined. does anybody know what does it mean? the exact error is: jQuery.filter(expr, [i]).r is undefined the domain is: http://www.tunnel-milano.it/ I need help in debugging it, don't know where to start: ho...
stackexchange/codereview
I'm trying to stop postback from happening if a certain condition is met in the XMLHttpRequest's callback function. I've used return false from within the function, but the postback happens anyway. Is there a way to stop it in such a case?
stackexchange/codereview
Update 2010-11-02 7p: Shortened description; posted initial bash solution. Description I'd like to create a semantic file structure to better organize my data. I don't want to go a route like recoll, strigi, or beagle; I want no gui and full control. The closest might be oyepa or even closer, Tagsistant. Here's the id...
stackexchange/codereview
I am looking to create an ajax powered chatroom for my website. I have used yshout and it seems very good but crashes when there are too many connections. What is the best way to go about doing this using the minimum resources possible?
stackexchange/codereview
I have a database which has an application role. The role members all belong to a group in Active Directory. Instead of giving the role permissions to select from the tables I have given the role execute permissions on all of the stored procedures that it needs to call. This works fine except for one of my stored proce...
stackexchange/codereview
I have created a custom theme with ThemeRoller. I would now like to customise the checkboxes so that their active state is a different colour to the 'clickable: active state' which was chosen in the ThemeRoller. Despite trawling the various css files provided by the custom theme, I cannot for the life of me work out ho...
stackexchange/codereview
I "need" a better way to generate a collection of objects from a bitmask (a ushort passed, on binary form it's interpreted as a mask) The easy, non elegant solution would be: public static Things[] Decode(ushort mask) { switch (mask) { case 1: // 1 return new[] { new Thing(0) }...
stackexchange/codereview
When I try to use error in javax.xml.bind .messages in android app it give error...............can't find resource for javax.xml.bind .messages ,bundle key en_us
stackexchange/codereview
I'm familiar with the Google Maps API and I'm trying to learned the iOS MapKit library now. I have an iPhone application which takes an input string and geocodes it using Google Maps geocoder service. I also want to set an appropriate zoom level for the new map but I'm not quite sure how to do it. After reading, Dete...
stackexchange/codereview
I want to build a simple lexical analyzer for a specific language which has reserved words like (if, else, etc.) using ANTLR. I went through several tutorials and was able to find the ways of defining all the options except reserved keywords. How to define reserved keywords in the grammar file in ANTLR ? Thanks in adva...
stackexchange/codereview
How to define a function is_member() that takes a value (i.e. a number, string, etc) x and a list of values a, and returns True if x is a member of a, False otherwise. (Note that this is exactly what the in operator does, but for the sake of the exercise I should pretend Python did not have this operator. This is what ...
stackexchange/codereview
We're making a game using cocos2d but are having problems with the depth buffer. I'm trying to setup a 16-bit depth buffer on the iPhone but so far I only get 24-bit depth. The reason I want 16-bit depth buffer is: A: I don't need the precision of 24-bit. B: I'm hoping it will be faster. This is how I set the dept...
stackexchange/codereview
I'm trying to generate text to print out in a .net application that matches what our designers are able to produce in Photoshop & Illustrator. Using the built-in drawing API's from GDI+ can't produce the same type of output when it comes to anti-aliasing, kerning/letter spacing, etc. Do you know of any any third-party ...
stackexchange/codereview
I am trying to write a kernel, mostly for entertainment purposes, and I am running into a problem were I believe it is triple faulting. Everything worked before I attempted to enable paging. The code that is breaking is this: void switch_page_directory(page_directory_t *dir){ current_directory = dir; asm volatile...
stackexchange/codereview
Can give an example of how to send jpg and some texts from flash to php in ONE CLICK ? I`m realy annoyed of that ..
stackexchange/codereview
I'm binding the results of a linq-to-sql query to a datagridview. This works fine if I'm just selecting from a single database table. However, if it's a join query where I'm selecting fields from both tables, then because the select is going into an anonymous type, the results are readonly. Hence my datagridview is als...
stackexchange/codereview
I have developed a compass based on this example: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/Compass.html Since my app only operates in landscape mode so will the compass. However, it seems as this code does not function correctly in landscape mode. North points more t...
stackexchange/codereview
I'm new to ASP.NET MVC 2 and I ran into a simple problem. The thing is that I want to force user to login to view my website. That means when user requests something like Home.Index or any other Controller.Action, I should check if user is logged in and if not, redirect request to Auth.LogIn. I could check for authoriz...
stackexchange/codereview
My Cocoa app uses WebView to open pages that uses cookies. For testing purposes I want to remove those cookies. How can I do this (programmatically or manually) ?
stackexchange/codereview
In my app, I am loading a list of external url's in webview and allow user to flip through them. Webviews are loaded on to a view flipper. I find the performance is really bad in webview load url. I have tried everything from using the frame layout to limiting the number of webviews to load. Still the performance i...
stackexchange/codereview
I just don't know if the Controller instance is existing in server memory for a certain period of time after the Request/Response or if it just appears in memory and disappears after each Request/Response. Or if it can depend on certain things, what does it depend on?
stackexchange/codereview
I have a Canon 7D digital camera and I'd like to have an ability to control video recording from PC. I've downloaded Canon SDK 2.8, read all the document it contains but still cant figure out how to start or stop video recording on the camera. Is there any possibility to control video recording via Canon SDK? Thanks.
stackexchange/codereview
I have a movieclip created in the IDE exported to Actionscript via the Library panel (Linkage?). I instatiate multiple instances of it via a loop on the timeline. I want to move them around randomly via Actionscript. How do I do that? I tried using listeners, but I have no way to store values to make each movement uniq...
stackexchange/codereview
Im working on Magento latest version .The store is for UK ,I need to add country like Manchester, London, Yorkshire etc..This should show in the shipping setting when I select UK from the dropdown viz :default is USA and also in the shipping and billing address. And the defaut country should always be UK as default How...
stackexchange/codereview
I have an account table with a unique constraint on the e-mail address. My code travels through several layers Controller -> Service -> Repository -> Nhibernate Inside the repository, an error is thrown when the unique key is violated. I want to catch this error in my service layer, so I put a try catch around it. Un...
stackexchange/codereview
Is it possible to configure the Android OS to run only a single app? Basically what I want to do is customize an Android device so that it boots up and runs one application only, and for that application to be switched to the front of the screen automatically. Also, when it gets closed, to be started up and switched to...
stackexchange/codereview
I want to be able to test my app while walking around my house, wirelessly. Can you connect the iphone to xcode thru wifi?
stackexchange/codereview
My silverlight code: var stream = TitleContainer.OpenStream("Giggle.wav"); var effect = SoundEffect.FromStream(stream); FrameworkDispatcher.Update(); effect.Play(); The file, Giggle.wav plays multiple times. I expected the code would wait while the "Play" method executes. Suggestions to make it play one instance at a...
stackexchange/codereview
I am a newbie in MapKit for iPhone and tried to implement this, for some reason I can't see the current location blue dot, anyone else had this issue???? #import "DetailMapViewController.h" #import "mapAnnotations.h" @implementation DetailMapViewController @synthesize inStock; -(void)getlocation:(CLLocationCoordinat...
stackexchange/codereview
I get some data from a WebService, which looks like this Building Address -> Office Name CreationDate -> Worker Name HiringDate Before doing further processing and transforms on this message, I need to sort the sub-nodes ("Office" and "Worker") so that ...
stackexchange/codereview
I am doing a report, using Pentaho Report Designer. My datasource is a Mondrian Cube with MySQL JDBC. I am using MDX queries, and I want to put paramerize it. I have to configure a parameter with its own query. I'm having trouble relating the main query and the parameter query. For that, I am using the function parame...
stackexchange/codereview
I'm trying to integration SAIF plugin to intercept my struts action. I learn from http://struts.sourceforge.net/saif/index.html I've write configuration like this: struts-config.xml <plug-in className="net.sf.struts.saif.SAIFPlugin"> <set-property property="interceptor-config" value="/WEB-INF/interceptor-config.xm...
stackexchange/codereview
Is there anyone out there who knows if it's possible to use 1 production SSL push notification certificate for multiple apps?
stackexchange/codereview
Im trying to make an operation of creating user network based on call detail records in my CDR table. To make things simple lets say Ive got CDR table : CDRid UserAId UserBId there is more than 100 mln records so table is quite big. I reated user2user table: UserAId UserBId NumberOfConnections then using curos I iter...
stackexchange/codereview
I am looking at some graphing options, and would like one that has the cleanliness of Sparklines gem but that doesn't require Rmagick. I'd like one with some clear tutorials, too.
stackexchange/codereview
I've seen now that some urls use exactly this combination of symbols in urls: #! E.g: facebook: http://www.facebook.com/home.php?#!/?sk=messages Or twitter: http://twitter.com/#!/myusername/following Is this just coincidence or something more interesting? Does anyone have an idea or even knows what they are used for?...
stackexchange/codereview
On our production server, for some reason at specific amount of time, thread count goes over and over to the certain point that though CPU Utilization is normal(30-50%), but the query starting to run slow we so lot more blocking statements. I am not sure where to look at it, basically when our site runs normally, the t...
stackexchange/codereview
Ok here is my problem, I've got a div with a hover effect on it, it changes colors when the mouse is over the div, in turn the text inverts colors so that it remains readable. Now my problem is that the links themselves don't follow the color schemes and attacking the links on their own outside the div won't work until...
stackexchange/codereview
Using VS2005, how do I 'embed' a manifest in an assembly?
stackexchange/codereview