instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I have been digging all day in Oracle forum posts and other threads and answers to the question mentioned in the title. Is there a viable/certain answer on how to fix such an issue. My JNLP file is correct, I have tried to replace the double quote characters with single quotes and no succes. For instance, this test her...
stackexchange/codereview
Everytime I try to setup remote debugging it always results in a world of hurt. What do I need to do, in order to debug my MFC application on a remote machine? I'm using Windows 7, the VM is using Windows XP. I've got msvsmon running on the remote computer, and I've connected successfully, but the problem I'm having is...
stackexchange/codereview
Is there a specialized store for storing tuples i.e. t=(clicks, impressions, ctr) hashed on multiple values - let's say pageId, categoryId, userId, sessionId et cetera. I know I could do this using MySQL, MongoDb et cetera. But I am more looking for some specialized and mabye even embedded (in Java) store. It does not ...
stackexchange/codereview
My website "http://www.cpcells.com" is related to computer cells. So when I enter "computer cells" in Google search, my page maybe appear in the 12112th page of results. Is there an easy way to know where exactly my page appears? (The 10th page or 30th page etc.)
stackexchange/codereview
I have a WCF project that I am running in Visual Studio 2010, and it is referencing another project's implementation. When I set a breakpoints inside the other project, and press F5 to load up the test client, I'm unable to hit any breakpoints in the other assemblies, only the ones in my test client project. I even ch...
stackexchange/codereview
What's wrong with php floats? $v = 5.2 * 3; if($v==15.6) { echo 'Everything is fine =)'; } else { echo 'Okay something is wrong :S'; var_dump($v); // float 15.6 } Check this out too: $v = 5.2 * 3; if($v>15.6 AND $v<15.60000000001) { echo 'We are doomed :S'; var_dump($v); // float 15.6 } else { ...
stackexchange/codereview
I have an ASP .net C# project using a EntityDataSource with a DevExpress aspxGridView and it is working great allowing me to select, update, insert and delete. However I would like to use a custom delete method instead which basically just does an update instead (just setting an active flag to false) rather than a real...
stackexchange/codereview
I need to call some code before calling methods that decorated by Attribute [MyTracedMethod] and after. Can i do this by .net Method Atributes?
stackexchange/codereview
I am running through a list of arguments, though in these arguments the value can be anything from NSInteger, Selector to NSObjects. But if it is an NSObject it needs to be retained properly. I can't simply check if the class is the same as NSObject or if it responds to the retain method, because if you do that on a se...
stackexchange/codereview
I have the standard search scenario: user enters search parameters and clicks the search button - results show up in the panel below. What I want to do is to control the visibility of the panel based on whether search results are available or not. I have tried to code my panel as follows, but I am getting a parse error...
stackexchange/codereview
i was implement a custom alert view from http://iphonedevelopment.blogspot.com/2010/05/custom-alert-views.html but i want to make that custom alert view rotate when the device orientation change. when i run that application at the first time in portrait orientation of iphone simulator, the custom alert view orientat...
stackexchange/codereview
I'm new to mdx and have been trying to solve the following problem for about a day now. Any help would be appreciated: My Query: select {[Measures].[Kunden]} ON COLUMNS, NON EMPTY Hierarchize(Union({CurrentDateMember([dimZeit], "[\di\mZeit] \.[yyyy]"), CurrentDateMember([dimZeit], "[\di\mZeit]\.[yyyy]").Children}, Cu...
stackexchange/codereview
I have a Silverlight usercontrol with a few fields on it that are bound via RIA services to a database. I am using NotifyOnValidationError=true, ValidatesOnExceptions=true on these fields and a ValidationSummary control to show any errors with the fields. This all works fine. However, on the usercontrol I have a "Save"...
stackexchange/codereview
The previous programmer left the website in pretty unusable state, and I am having difficulty modifying anything. I am new to web design so I don't know whether my skills are a mismatch to this kind of job or is it normal in the real industry to have websites like these The Home page includes three frames Each of thes...
stackexchange/codereview
I want to locate generated Makefile into some another directory and use it from there. Here is the part of my pro-file: OBJECTS_DIR = build/Objects-files MOC_DIR = build/Moc-files RCC_DIR = build/Rcc-files # Location of the binary file DESTDIR = bin MAKEFILE = build/Makefile And with last line I got: make: *** No ta...
stackexchange/codereview
i know this must have been answered a million times, but i can't seem to find it anywhere. So here goes: in my junit test I have this to access the file foo.txt: this.getClass().getResourceAsStream("/foo.txt") this works fine until I package it into a jar file. how should i edit my code so that it works in both cases?...
stackexchange/codereview
I want to distribute license keys, which an application at the customer premises will need to decode. I was thinking to give him the private key, so that the app can decode, and keep the public key for myself in order to encrypt license files. Now, the beginner question is: if I give him only the private key and keep t...
stackexchange/codereview
I currently hardcode the version number in the properties file and I'm hoping to be able to programmatically get the version number directly from the RCP product file. This way, I don't need to specify the version number in two places. I'm not able to find articles about doing so. I'm using Eclipse RCP 3.x. Is this doa...
stackexchange/codereview
I'm having an issue with cascade deletion of dependent objects with composite keys. Specifically, the emitted SQL instructions by EF tries to delete the principle entity before the dependent entity. I have OnDelete="Cascade" set in both the CSDL and SSDL of my EF model and am explicitly loading the dependent entities ...
stackexchange/codereview
I use telerik radscheduler on the web. I would like to do some validation when a user clicks on the Save Button in the EditAppointmentTemplate window. Is there any event that gets triggered that I will be able to use. I am seeing AppointmentSaving event in WPF, but not for the web. Really appreciate your help.
stackexchange/codereview
I recently bought Programming Scala, and have been reading through it. The language definitely isn't what I expected! Specifically, it seems to implement just about every programming language idea I'm aware of, outside of Lisp macros and Haskell's type-level side-effect segregation. Frankly, it has me somewhat overwhel...
stackexchange/codereview
I have multiple SiteCollections in my SharePoint 2010 Farm and want to allow the SharePoint Designer access individually. Only SiteCollection Admins which I authorize to use the SharePoint Designer should use it. I have not found any way to manage the ShrePoint Designer access at SiteCollection level for SiteCollection...
stackexchange/codereview
do i need to pick the datatype of my mysql database columns carefully, or can i set things to varchar(99999) without a size limit without damaging efficency? thanks :)
stackexchange/codereview
I have produced an ear file with a war file inside but the ear file contains jar files which are already in the lib folder of the war file. How can I remove the duplicate jar files and where should those jar files be? In the war file's lib folder or outside the war file? (I am using maven ear plugin and maven war plugi...
stackexchange/codereview
I have a vb .net application where the user can choose a directory into which an excel file is written. If the user selects a system directory (yes, my users do this, don't ask me why) then a System.Runtime.InteropServices.COMException is thrown at runtime. I am handling this exception telling the user to please selec...
stackexchange/codereview
If I'm not really fussy about the exact tone etc of the dimmed image, is there a quick and dirty way to draw an NSImage slightly dimmed, like this? I've searched online and can't really find what I'm looking for (but I'm not very good when it comes to understanding graphics and the correct technical terms). I'm actu...
stackexchange/codereview
Well this is a strange requirement and I'm thinking about it if this is possible or not. Second thought comes is whether if its a feasible design decision or not. Here is the scenario: We have a database composed of some 160 tables. We created a Grails ORM plugin on top of the legacy database. Now we have different app...
stackexchange/codereview
I want to retrieve DOM object in javascript with updated values. I have used following code. <script> $(document).ready(function(){ $("#btnTest").click(function () { alert($("html").html()); /*further processing with retrieved DOM */ }); }); </script> and body have : <body ...
stackexchange/codereview
I have been trying to play around with this for a long time and I can't seem to find the best approach. I am getting confused because there seem to be different answers/opinions on how to accomplish this seemingly simple task. I want to be able to have a reusable class called ActivityIndicatorController. This control...
stackexchange/codereview
I have an image 640 x 800. It is downscaled by html attributes width and height to 90 x 113. It renders well in most of the browser apart from Firefox. Here is an example: http://arturito.net/2010/11/22/firefox-image-downscale-rendering-problem/ I know I can rescale it and have 2 copies of the same image in 640 x 800...
stackexchange/codereview
Recently, our project has been through a situation which machine A and machine B has different round trip time against each other. ex. machine A sends a packet to B and it arrives in several milliseconds, while machine B sends a packet to A and it arrives in several MINUTES! Sometimes it is simply lost. Our setup is f...
stackexchange/codereview
I'm using an enumeration in my domain model, but I get the following error when I try to persist an object to the database: Exception in thread "main" java.lang.ClassCastException: nl.ru.cmbi.pdbeter.core.model.enums.Enum_WhifFunction cannot be cast to java.lang.String at org.hibernate.validator.NotEmptyValidator....
stackexchange/codereview
I used .htc to make rounded corner on IE. it only working with http but it not working in mode https. please help me. Thanks Here is my code: #main .sidebar .videos .grey-box { padding: 5px; margin: 5px 0; border-top: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #6C6C6C; bord...
stackexchange/codereview
if i define For K="ABC":1:3 now what is the value of "ABC",how the loop to excute "ABC" or instead of that ABC if i take any "string", how does increment the string "ABC". Bhas
stackexchange/codereview
I'm trying to read the available home screen widgets list on Android. I can populate a grid using the available applications list using Intent myIntent = new Intent(Intent.ACTION_MAIN, null); myIntent.addCategory(Intent.CATEGORY_LAUNCHER); List<ResolveInfo> appsInfo = MyActivity.getPackageManager().queryIntentActivitie...
stackexchange/codereview
I am trying to append some code after my current selection, lets say I have this: <div id="test"> </div> and want to append <br /> after closing div, like this <div id="test"> </div> <br /> Is there a way to do this?
stackexchange/codereview
I have a shared library which uses CMake as build system. It compiles fine on Linux machines with GCC. Now I am trying to compile on windows. MSVC won't export the symbols until specified. I am aware about __declspec(dllexport). But the example provided in the CMake wiki is confusing. Please consider the following code...
stackexchange/codereview
My server is in the US and I'm in the UK. I store timestamp values on a mysql server using the default CURRENT_TIMESTAMP. So when entries are added to my table they're stamped with the current time. This is the server time(US) and then converted into UTC by mysql. When I retrieve the values I want them displayed in the...
stackexchange/codereview
When i have a table with some td having colspan=2 or larger, in IE7 and lower the text inside it is rendered only in the space of the first column. I've set an example at http://jsbin.com/ajoqo4/2. Setting the doctype to strict removes this problem in IE8 but I REALLY need it to work in IE6 and IE7 (hint: some e-mail c...
stackexchange/codereview
I'm maintaining a jquery/php filearchive for the company I work at. One of the features is the ability to drag files into folders. This functionality works wonders in both Chrome and FireFox but exhibits peculiar behaviour in Internet Explorer. What happens is that when a drag is initiated on an item a selection rectan...
stackexchange/codereview
Possible Duplicate: how to find title text of a link How do I get the title of a link using jQuery?
stackexchange/codereview
I'm using http://finance.yahoo.com/d/quotes.csv?s= to grab a company's stock prices and imbedding in their site. I have 2 issues with it: Is it possible to reformat the date? It's currently returned MM/DD/YYYY, and it would be great if I were able to reformat to return DD/MM/YYYY. Is this possible? Also, the date i...
stackexchange/codereview
I have one table Employee Eno ename image 1 aaa a.jpg 2 bbb b.jpg 3 ccc null 4 ddd null I pass the parameter to the query declare @a varchar(10) select * from employee where ? ? if i pass image is not null mean i want all...
stackexchange/codereview
i dont understand how the following complexities come from. espeacialy b(b^d-1) in the time complexity Time complexity: Total numb. of nodes generated: 1 + b + b2 + … + bd + b(b^d-1) = O(b^(d+1)) Space complexity:O(b^(d+1)) where b – maximum branching factor of the search tree d – depth of the least-cost solution
stackexchange/codereview
I'm trying to learn how to write apps for Windows Phone 7. I would like to know which method for displaying the contents of an isolated storage file is best. I am currently using the foreach method where foreach string in storage, it will create and add a listboxitem and its contents to a listbox. I am wondering whethe...
stackexchange/codereview
I want to add a subscription block to my Drupal site. I found these two module: subscription and simple-subscription. I installed subscription (the first one) and put its related block in blocks section to right sidebar region but no block is shown. Is this module reliable and where can i find a documentation for this ...
stackexchange/codereview
function Peon(number) { this.number = number; this.inc = function() { number = number + 1; }; return true; } var p = new Peon(10); function returnNumber() { p.inc(); alert(p.number); } <input id="b00" type="button" value="Click" onclick="returnNumber()"> This code doesn't work as intended. Is th...
stackexchange/codereview
I'm pulling some videos from youtube to display on a multimedia page on a site. The code has been working fine for a while, but now, mysteriously, it's broken. Testing on my home machine shows everything works fine. Any idea why this might happen? (note: wordpress site, js is external from WP post, code is visible @ gi...
stackexchange/codereview
Currently I am using freetds to connect to a MSSql server where I am pulling in a lot of accounting data. The data is pulling in fine until it hits a null value. At that point I am not receiving any PHP errors. Instead I am getting the following error in the apache error log. [notice] child pid 10235 exit signal Segme...
stackexchange/codereview
In my iPad App I am using a SplitView. In Portrait mode, instead of using the popOver, I have another Table View that´s connected to the same controller that has the info for the View that appears in Landscape. My App works great, but I have an 1 warning when I Build: The "view" outlet of "App List View Controller" is...
stackexchange/codereview
I'm having a mental blank on how to do this in Django, hoping you can help. I have a table of galleries that I am filtering by type: public_galleries = models.Gallery.objects.filter(type = 2).filter(root_gallery__isnull = True) but I also want to see if the gallery doesn't exist in the UserGallery table for a specific...
stackexchange/codereview
I'm having trouble downloading the Google App Engine plugin for Eclipse. Specifically, it times out when it reaches this file: com.google.gwt.eclipse.sdkbundle.2.1.0_2.1.0.v201010280102.jar I'm able to download it manually, but downloading pauses for a very long time right before finishing (???) I figure if I can inc...
stackexchange/codereview
I found the ParseDateTime function but it only parses a date/time string according to the English (U.S.) locale conventions. How to parse the date which is in dd/mm/yyyy format? Try out this: <cfset TestdateFrom = ParseDateTime("10/9/2010") /> <cfloop index="i" from="1" to="30" step="1"> <cfset TestdateFrom = DateA...
stackexchange/codereview
I am not very good at Jquery. I am trying to add ID to a hidden field when user selects an Autocomplete Item HTML <input type="hidden" value="" name="CountryId" id="CountryId"> Javascript $(document).ready(function () { $("#Country").autocomplete({ source: function (request, response) { $.ajax...
stackexchange/codereview
I have 2 UIScrollviews next to each other. They are hooked up together on their vertical-value. (up and down) As it turned out as I drew some sort of graphic across both views (actually in each of the views... but the graphic (a line) goes visually across). At some point when you pan wildly around and start acceleratin...
stackexchange/codereview
i am implementing uploadify on my web to upload photos, and i trigger a response on success, everything is running well on chrome and IE 8, but firefox crashed every time the response alert pops up, nothing can be clicked, i cant even close the alert or the firefox, while firefox is still running on task manager's proc...
stackexchange/codereview
I'm pretty sure that I'm supposed to use a clearfix or something to remedy this, but I have been fighting with this layout for too long and I'm going cross-eyed from the code so bear with me. My example shows what happens when the far right column (#rightbox) has too much information and it breaks out of the main wrapp...
stackexchange/codereview
I have run into this problem a few times. I have no problem limiting characters in a string to a specific number. However, some characters are longer than others so it wraps to another line or makes my DIV element wider and not uniform with the rest of my website. For instance: Literacy - Is it the Sa Machu Picchu, Cuz...
stackexchange/codereview
I'm looking for a way to convert a string with specified dividers (such as slashes or spaces) into an array of the integers those dividers separate. For example, if the user inputs 12/3/875/256, I need to retrieve the array {12, 3, 875, 256}. Ideally, it would be able to handle an arbitrary length. I tried sweeping th...
stackexchange/codereview
I have a NSMutableArray that is loaded with values. Later in the application, I need to change the values of one of the elements in the array. How do I accomplish this? thanks tony
stackexchange/codereview
My XAML file contains a RadioButton. In the Visual Studio's XAML Designer I can see the display of the Content string for this RadioButton. However, when I run the application, the RadioButton is displayed in the GUI without the Content string "Disble E-mail Alerts from Dashboard". Following is the line in the XAML fil...
stackexchange/codereview
when running code like this: use strict; print Dumper "something"; nothing is printed out and no error occurs during compile and runtime. Why does this happen? Why doesn't strict prevent this code from running? Why is there no error at runtime, even though Dumper is unknown? I know it produces a warning when those are...
stackexchange/codereview
I'm trying to make a canvas facebook app using rails 3 and oauth2. It kind of works fine following the steps here https://github.com/intridea/oauth2 So when I go to the app in FB, it triggers the methods set by oauth2 BUT, it asks the user to give the permissions OUTSIDE of the canvas, it goes out of FB. Then when the ...
stackexchange/codereview
I'm building a type at runtime using Reflection.Emit. An end user supplies the base-type, and what interfaces the new type should support. If the interface has members that the base-type cannot support, I create a stub method that calls a delegate stored on a static field (I only support non-generic methods with 15 or ...
stackexchange/codereview
I am trying to consume the .net webservice from cold fusion. Methods having simple types working fine. But i am having problems with one particular method which accepts byte[] array as input. Below the sample webmethod declaration [WebMethod] public AVStatus ScanStream(byte[] fileObject) { // c...
stackexchange/codereview
I am using Sqlite database in my iphone app. Here in my app i initially used a absolute path like @"/Users/macos/Documents/appdatabase.sql Now here I want to run the app on the device. It requires the relative path. What needs to be done to get that path for the database ? Here I am getting this error when i try to ru...
stackexchange/codereview
If I create a relation between 2 DataTable in my C# code and then update my DataAdapter + acceptChanged on my DataSet, will this Relation be repercuted on the server or is it only a client based relation which is effective only within the application? Thanks, KiTe
stackexchange/codereview
I'm using this plugin,trying to implement this kind of layout: <div id="aps"> <ul> <li><a href="#tabs1-1">P1</a></li> </ul> <div id="tabs1-1"> <iframe src="publish.php"></iframe> </div> </div> That is,for tabs to be added,I want the content to be: <iframe src="publish.php"></iframe> Ho...
stackexchange/codereview
I have a server running on one machine and have the port it uses forwarded to my router, and another machine running the client connecting to the server using my ISP assigned external IP address instead of the local address. This all works fine and it connects but When I check the address of the connected socket (clien...
stackexchange/codereview
I'm trying to set up a web service so that it will download zip files periodically, based on a file that tells it if more are ready. That's simple enough (I'm sure), but what I'd like to do is to sign these zip files with a digital signature (I have a public/private certificate prepared), and to get the WP7 app to veri...
stackexchange/codereview
I'm using Flash Builder 4 with 4.5 SDK and my application is a mixture of mx and spark controls. I'm also using Catalyst for skinning. Problem is Flash Builder 4 doesnt render the design view for some specific item renderers, custom components etc and i'm unable to work in design view where cosmetic changes are require...
stackexchange/codereview
Is it possible to compile the sourcecode from ffmpeg in visual studio 2010? Is it difficult? Just looking for some advice (and instructions) if possible. :-) Cheers, Pete
stackexchange/codereview
How can I display a message (Using vb.net) on a computer that is attached through LAN? Can I use IP Address of that computer: How? Please give me code sample. Thanks Furqan
stackexchange/codereview
I find myself repeatedly baffled by the rdstate() flags - good(), bad(), eof(), fail() - and how they are expressed in basic_ios::operator!, operator bool and operator void*. Could somebody put me out of my misery and explain this so I never have to think twice again?
stackexchange/codereview
In the moment I am working with some ad hoc routing protocols (namely OLSR and B.A.T.M.A.N.) on rooted Android devices running Cyanogenmod. My tests are working pretty well. However, there is one thing which really is annoying: I can only connect to an existing ad hoc network, but not create one manually using only the...
stackexchange/codereview
I want to create a new website. The website has 3 applications, each one has its own membership/profile provider. I want the user to be able to log in to the site with one single sign on. Possible option AFAIK: Define the same machinekeys/Connection Strings for all applications in their web.config files and I think...
stackexchange/codereview
I am new to linq. So far I've been primarily using linqTOsql like this: MyRepository.Mytable.Where(x => x.id == 2). I am wondering how to take a list from that type of query and put a specific parameter into a new simple list like List<long>. So I get my records like this: List<Entry2Cats> e2c = genesisRepository.Entry...
stackexchange/codereview
I am reading up on Bloom filters and they just seem silly. Anything you can accomplish with a bloom filter, you could accomplish in less space, more efficiently, using a single hash function rather than multiple, or that's what it seems. Why would you use a bloom filter and how is it useful?
stackexchange/codereview
The type of elements in semiring module is ElementS which is a Set of elements. When I define zero = ElementS.empty it says that there is type error as type element <> ElementS.t I couldnt find any similar questions and havent been able to resolve this issue. (*semiring.ml*) module type SEMIRING = sig type elem...
stackexchange/codereview
My aim is to provide an interface like a matrix, each cell in matrix will have 2 values and user will select best among the two. So i thought of going for jTable and combo boxes, the problem is in my matrix the value of each cell in a column is different. But the following code that adds the combo box to whole column ...
stackexchange/codereview
I have created an application that allows for users to input lots of different data (posts, comments, etc.). The simple_format is good for me for now I just want to protect against crazy stuff. I haven't used sanitize before and after reading some guides I am still a little confused on how to implement. Hoping I can ge...
stackexchange/codereview
Once upon a time, one bad guy had deleted a constant from the source code managed through our Git repository. Nobody has noticed this for a loooong time.... until now. Yet I want to figure out in which commit this constant is gone, and who the bad guy is. I only know the constant's name was FOOBAR. Is there some better...
stackexchange/codereview
I've used Google Analytics for long enough to know that it doesn't work very well (issues on mobile phones and for people who've disabled Javascript, WAY too much of a lag time in updating). Currently, I'm just logging every request made of a page and updating a counter in my database, but I know that's inefficient and...
stackexchange/codereview
In Haskell, if I write fac n = facRec n 1 where facRec 0 acc = acc facRec n acc = facRec (n-1) (acc*n) and compile it with GHC, will the result be any different than if I used fac 0 = 1 fac n = n * fac (n-1) I could easily do fac n = product [1..n] and avoid the whole thing, but I'm interested in how a...
stackexchange/codereview
I'd like to set the accessory view icon to be white, similarly to how icons are colored white automatically in a black TabBar, but it's not immediately obvious to me how to do this. Does anyone have experience with this?
stackexchange/codereview
The make the columns of the table as black (both outline and inside) <table width=80% border=0 cellspacing=0 cellpadding=3 align=center> <tr><td colspan=2><font face=verdana size=5 color=#999999>XYZ| </font><font face=Tahoma size=5>ABC</font></td></tr><tr bgcolor=#6DA2D7><td colspan=2 height=13></td> <td align=left><f...
stackexchange/codereview
In normal console app I have this Environment.SpecialFolder.LocalApplicationData is C:\Users\Simon\AppData\Local\ In Windows service Environment.SpecialFolder.LocalApplicationData is C:\Windows\system32\config\systemprofile\AppData\Local\ How can I specify same path in both type of application?
stackexchange/codereview
I've been using, up until now, the traditional way to benchmark concurrent methods, which is to measure the elapsed duration for a number of runs: template <typename Functor> double benchmark(Functor const& f, size_t nbRuns) { if (nbRuns == 0) { return 0.0; } f(); // Initialize before measuring, I am not interesti...
stackexchange/codereview
I'm trying to work around the fact that SSRS will send scheduled report emails even if there is no data in the report. I thought that I might be able to use the ReportExecution2005 to execute (render) the report and then send an email if the row count is greater than zero. Is this possible?
stackexchange/codereview
How can I know which computers are connected with LAN (names and IP address), using Vb.Net code? Thanks Furqan
stackexchange/codereview
i have a graph with a start node with each edge having a cost...i need an algorithm to find the order in which i have to visit ALL these nodes so that the total distance i traversed is least ... Pls suggest an algo for this...
stackexchange/codereview
Does anyone know if there is a maximum number of concurrent requests for IIS (Specifically IIS 7), I understand that there is a maximum number of threads so this will limit the max number of concurrent requests. Is this true?
stackexchange/codereview
I have following query in a package l_sql := 'SELECT table_name.field1, table_name.field2, table_name.field3 FROM table_name WHERE table_name.status = ''ACTIVE'' AND table_name.replication_date >= SYSDATE - :l' OPEN zequi_cur FOR l_sql USIN...
stackexchange/codereview
I have my config setup like below: <configuration> <connectionStrings> <add name="ADConnectionString" connectionString="LDAP://myldap/CN=Users,DC=nevco,DC=local"/> </connectionStrings> <system.web> <authentication mode="Forms"> <forms name=".ADAuthCookie" timeout="10" loginUrl="Login.aspx" defaultUrl="Default...
stackexchange/codereview
I am using the following code to create breadcrumbs from an xml document: var root = null; $(document).ready( function(){ $.get( "/_assets/xml/sitemap.xml", function( data ) { root = data; var pathname = window.location.pathname; var local_url = "*[url=" + pathname + ...
stackexchange/codereview
I have an entry that was created very long time ago, and many changes have been made ever since, I can't totally recall all the changes. The thing is, ever since then, I can't delete that old entry from database. If I delete it, whenever any search result that matches it, the app can't find that entry and would return ...
stackexchange/codereview
I am encountering a really strange problem, any help is appreciated. I have a executable file compiled and cp to a specific location. The name of this executable is "qact" There is a newly added cout statement at the first line of the main function. But when I execute the binary file in that directory, i can not see it...
stackexchange/codereview
Im following Lars Haendel's Functor tutorial on newty.de to setup a callback system. I am a bit confused however and I am hoping someone can assist me. Here is my Functor template #include <igameevents.h> // Abstract Base Class (Functor) class TBaseCallback { public: // two possible functions to call member funct...
stackexchange/codereview
My question is related to this question but it is in reverse. Split UInt32 (audio frame) into two SInt16s (left and right)? In the link above the op wanted to split a 32 bit frame into 2 16 bit samples (left and right). I have 2 16 bit samples and I would like to express them as a single 32 bit interleaved frame. What ...
stackexchange/codereview
I started a "rails server" in my Mac OS X terminal. Supposedly if I just hit Ctrl+c in that terminal, I can shut it down. But I accidentally closed the terminal and now I can't shut it down. I started another test project and try "rails server" again, and I got Address already in use - bind(2) (Errno::EADDRINUSE)" er...
stackexchange/codereview