instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I am attempting to connect and control a device which only accepts RS-485 input. I wish to communicate to this device via my existing UC3A1512. Does anyone have any existing source code or examples that may help me to create this interface? I need a method of outputting data via RS-485 format. I do not need to establ...
stackexchange/codereview
I can't seem to get rid of this warning for the following line of code: d.word[wrdIndex++] = d.GetWord(english) | (ulong)i; the warning applies to the code after the assignment operator. the method GetWord returns a ulong. I've tried the following to no avail: d.word[wrdIndex++] = (d.GetWord(english) | (ulong)i); d.wo...
stackexchange/codereview
There is dropdown and datapager in my page. On the event of dropdown data is being populated in listview.Since there is datapager in my page user can jump from one page to another. That's fine. But my question is that if currently the user in second page and if user selection from dropdown then datapager jump to the f...
stackexchange/codereview
We are moving our Delphi application to a new environment – it will be .NET. Some parts of an app will be moved to distributed processing, some will be moved to web servers. Therefore, this is an architecture shift from monolith desktop application to distributed system. Migration of current Delphi code to .NET is an i...
stackexchange/codereview
In C#, given an arbitrary set of DayOfWeek end points (like, DayOfWeek.Friday and DayOfWeek.Sunday) how would one test if an arbitrary date falls between those two days, inclusive? Example: // result == true; Oct 23, 2010 is a Saturday var result = InBetweenDaysInclusive(new DateTime(2010, 10, 23), ...
stackexchange/codereview
Here is what I want: Site has 4 languages (Ch, Fr, It and En), everything is localized. I have CSS Friendly control adapters in place, so that I can use Superfish JQuery menu for navigation (other suggestions?). I want to somehow tie this menu, and the bread crumb to the localized sitemap. My concerns: Is it doable? C...
stackexchange/codereview
I am looking for the correct API to change the windows 7 starter edition wallpaper microsoft has done something to avoid having the windows background wallpaper changed
stackexchange/codereview
I'd like to add something like a callback function to a Ruby array, so that when elements are added to that array, this function is called. One thing I can think of is to override all methods (like <<, =, insert, ...) and call that callback from there. Is there an easier solution?
stackexchange/codereview
Using Facebook's Graph API, I'm a little confused about the interaction between the requested application permissions and the user's privacy settings. I'm developing a web app that allows people to login via Facebook Connect, and then attempts to retrieve their interests and friends list. I've set the Facebook appli...
stackexchange/codereview
In front of me some different Technologies and I'm confused between them. GNU make, CMAKE, Qmake, Code::blocks methodology Code::Blocks uses a custom build system, which stores its information in XML-based project files, but can optionally use external makefiles **says WIKI** 1- What's the difference between CMAKE and...
stackexchange/codereview
I am absolutely happy with Scala and just love it :) But sometimes I really want to go a bit more "low level", without a JVM and using "cool" CPU-Features like SSE etc. So what would be a good second language besides Scala? It should be: Compiled to machine code Easy usage of C-libraries Possible to program very close...
stackexchange/codereview
We are using Redis as a caching server, and often have to deal with caching list. When we cache simple objects we do a GET and Redis will return null if the object doesn't exist and we'll know that the object isn't cached and have to be loaded from database. But how do we best handle the same for lists - an empty list ...
stackexchange/codereview
I've been struggling with this for quite some time and I can't seem to find a proper solution. This is the scenario stripped down. Imagine you have the following XAML: <Grid x:Name="LayoutRoot" Background="White"> <Grid x:Name="Host" Width="200" Height="200"> <Popup IsOpen="True"> <Button Conten...
stackexchange/codereview
I want to insert/update record with a specific stored-procedure which performs some business-logic on new record values. I can do this by trigger to ignore new record from directly to be inserted and pass new record values to my stored-procedure to perform appropriate action for passed values?
stackexchange/codereview
Say I want to make an attached property that attaches a list of object references to a view instance (a DependencyObject/FrameworkElement)... When does it release all of those references? Will it call Dispose on attached property values if they implement it?
stackexchange/codereview
i have a .skin file inside my app.themes folder. To access .css file from asp page we have to give link. but i couldn't find any thing on asp header to give link for .skin file. <asp:TextBox SkinID="txtBox" ID="TextBox1" runat="server"></asp:TextBox> i got the following error.. A SkinID has been specified but the pa...
stackexchange/codereview
I have a data-grid and three column in it. one column is type of DataGridViewComboBoxCell, three items are in this grid combo box, now i have to invoke selection index changed event to change value according to combo value change in grid. also help me to make a new event .... please help... thanks
stackexchange/codereview
Greetings !! I have to insert a logo(image) on the row[0],column[0].I am using "Spreadsheet_Excel_Writer" for that.i tried its insertBitmap() methode ,program working fine but it doesn't show the bitmap image on xls sheet,instead blank row. what could be reason ? can you please let me know the exact string format for t...
stackexchange/codereview
import java.io.*; class MyException1 { static String str=""; public static void main(String args[]) { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter your food"); try{ str=br.readLine(); }catch(IOException e){ System.out.println("Exception has been occurred"...
stackexchange/codereview
Just as the title asks — does anyone have a good example of using the Mutagen Python ID3 library to write to .mp3 files? I'm looking, in particular, to add disc/track number information, but examples editing the title and artist would be helpful as well. Cheers, /YGA
stackexchange/codereview
I'm using SchemaUpdate to synchronize my hbms with existing database. Database has recently created based on hbms and is completely up-to-date. But SchemaUpdate generates all foreign key constraints again. For example suppose you have Student and Teacher. Student has association to Teacher with name ArtTeacher. ArtTea...
stackexchange/codereview
I have inherited an application that links to a library which MAY HAVE been built with gcc3. Or maybe with the imagecraft compiler. That information has now vanished to the heavenly bitfield and I am left with a libXXX.a library against which to link my app. I cannot recompile the libXXX.a because it requires certain u...
stackexchange/codereview
I am getting the following error on pre-iOS 4.0 builds: The 'rootViewController' outlet of UIWindow is not available on releases prior to iOS 4.0. Remove the connection and instead programmatically add the view controller's view to the window after the application finishes launching. How and where do I do this program...
stackexchange/codereview
As seen in the image I draw set of contours (polygons) as GL_LINE_STRIP. Now I want to select curve(polygon) under the mouse to delete,move..etc in 3D . I am wondering which method to use: 1.use OpenGL picking and selection. ( glRenderMode(GL_SELECT) ) 2.use manual collision detection , by using a pick-ray and check...
stackexchange/codereview
The problem is simple. I use the following command to install Passenger passenger-install-nginx-module When Passenger automatically installs nginx, I can't launch it. nginx -v Returns there's no nginx installed. How can I fix this?
stackexchange/codereview
I have some doubts in getting the open server information to java program dispalying the already existing users to newly registred user add and delete from groups
stackexchange/codereview
When editing rich text content, our CMS generates XML-files with duplicate <br/>-tags. I'd like to remove them in order to generate output that can be read by another application that does not appreciate the occurrence of those duplicates. Example input: <p> Lorem ipsum...<br /> <br /> ..dolor sit </p> Would...
stackexchange/codereview
I am developing one Windows phone 7 application. It has another project for unit testing. Now in the main application I have one method that executes some code to navigate to another page. While unit testing I don't want that method to execute and just return in the first line. Right now how I am doing it is defining a...
stackexchange/codereview
I defined a .py file in this format: foo.py def foo1(): pass def foo2(): pass def foo3(): pass I import it from another file: main.py from foo import * # or import foo Is it possible list all functions name, e.g. ["foo1", "foo2", "foo3"]? Thanks for your help, I made a class for what I want, pls comment if you have...
stackexchange/codereview
Following code works and deletes all calendar events from iPhone calendar database. But events are deleting very slow: 2 events per second on iPhone 3GS. So if you have 3000 events - then it's 25 minutes to erase them... How would you optimize this code? Maybe I am doing something wrong? Thanks. - (void)deleteAllCale...
stackexchange/codereview
Am downloading a zip file from web. It contain folders and files. Uncompressing them using ZipInputstream and ZipEntry. Zipentry.getName gives the name of file as htm/css/aaa.htm. So I am creating new File(zipentry.getName); But problem it is throwing an exception: File not found. I got that it is creating subfolders ...
stackexchange/codereview
I want in Session_Start method check if cookie with specific key exists and if not create cookie with this key. if (Request.Cookies[key] == null) { SetCookie(); } But in Session_Start it is always NULL. If check it in another place I get cookie's value. Why is it always NULL in Session_Start? Thanks, kukuwka
stackexchange/codereview
Can I use NHibernate on Windows Phone 7?
stackexchange/codereview
My Flex application is built using ant. The html wrapper task is as follows: <target name="wrapper"> <html-wrapper title="{$title}" file="login.htm" height="300" width="400" application="app" swf="Main.swf" version-major="9" version-minor="0" ...
stackexchange/codereview
basically i have a blank html page that includes a javascript file, and in the javascript file i have this: function doIt() { document.writeln("asdf"); } // could also be setTimeout setInterval("doIt()", 5000); When the html page loads, it waits 5 seconds and then will output "asdf" every 5 seconds to the screen. If...
stackexchange/codereview
I am playing a sound by the click on a link, I know not beautiful but it works. Well ran into a new problem today sound did not play the first time I clicked the link... But back to the question at hand. The HTML page playing the sound the redirects the browser back to the page I intend it to after playing the sound, ...
stackexchange/codereview
Why does the following Haskell script not work as expected? find :: Eq a => a -> [(a,b)] -> [b] find k t = [v | (k,v) <- t] Given find 'b' [('a',1),('b',2),('c',3),('b',4)], the interpreter returns [1,2,3,4] instead of [2,4]. The introduction of a new variable, below called u, is necessary to get this to work: find ::...
stackexchange/codereview
I’m building a small app that is using a surfaceview class that extends surfaceholder.callback. It is implemented just like the lunarlander example. My problem is that each type of emulator I use (low, medium or high density) doesn’t seem to actually change the density of the screen or the resolution to what I would ...
stackexchange/codereview
I have the following string: 'You've just created' When I assign this string to a JavaScript variable, this is interpreted as 2 strings because there's a ' character. How can I escape it?
stackexchange/codereview
I have a form which I need for some actions but not for others. In the actions that need it, I repeat the same code. $form = New BlaBla_Form(); I've seen an example which declared it in init(). This means the form gets initialized even for actions that don't need it. It does make the code cleaner, but is it resource ...
stackexchange/codereview
Did anyone know how to get the full url to the content that should be downloaded in webview. I notice there is setDownloadListener (DownloadListener listener) method where we can get the url onDownloadStart method. But i have problem when i open page A, i click hyperlink in page A and directly open a new page B. In pa...
stackexchange/codereview
I'm writing a Windows application that basically runs in the background with a notification icon to interact with it. The notification icon can do basic things like exit the application or show information about it. It can also launch a modal configuration dialog. The code that creates the dialog is pretty straightforw...
stackexchange/codereview
I have an array of key values {val1: [{gender:male}, {age:23}, {favorite-color:red}] } The thing about this array is that in no way is it structured and in no way am I ever guaranteed to see the same key value again. For example I could see the following for val2 {val2: [{sex:male}, {hair-color:red}, {height:6'...
stackexchange/codereview
var studentDetails = from aspUser in db.aspnet_Users join aspMembership in db.aspnet_Memberships on aspUser.UserId equals aspMembership.UserId join expUser in db.explore_users on aspUser.UserId equals expUser.aspnetUserId where expUser.Id.Equals(studID) select new { expUser....
stackexchange/codereview
friends, i am using following code to display list with radio buttons now i want to select specific radio button of list by default so using setSelection property which does not work. final String [] items=new String[]{"Item1","Item2","Item3","Item4"}; ArrayAdapter<string> ad=new ArrayAdapter<string>(this,a...
stackexchange/codereview
I got a problem with PostGreSQL 8.4 and tables reflection. My metadata object seems to be ok (it has foreign keys, primary keys, every columns and tables). But when I try to associate an object to an another one through a Foreign key, I get : "sqlalchemy.exc.ProgrammingError: (ProgrammingError) can't adapt type 'EventP...
stackexchange/codereview
I've got an app that user's can download a file through. I need to log when the file transfer completed successfully and also when it failed. Is this possible with Response.TransmitFile. Here is my code: Response.ContentType = "application/octet-stream"; Response.AppendHeader("Content-Disposition", "attachm...
stackexchange/codereview
I'm trying to set up the LDAP Spring Security. And I've stucked with some strange exception: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_filterChainList' ... No UserDetailsService registered My security-config.xml looks like this: <?xml version="1.0" encoding="UT...
stackexchange/codereview
I have a database file in my C:/ directory (which I have also tried putting in the C:/CustomerApp_C directory). I can run the application and it loads the data just fine. However when I change some data and click Save it comes up with "Unhandled exception has occurred in your application. bla bla bla"... "Failed to upd...
stackexchange/codereview
I have an application thats a mix of c++ and objective-c. Quite a lot of the c++ classes exist merely as facades to access the underlying objective-c object from the rest of the x++ application. My problem is one of design: The objective-c class needs to call back into the c++ class via a set of methods I'd prefer to m...
stackexchange/codereview
Is there a simple way to get a list of all currently waiting timers started with erlang:send_after, erlang:apply_after, etc. in Erlang?
stackexchange/codereview
I have this simple attacched code, I can get right text on the first debug alert but the search and if condition doesn't work, what is wrong in my code? Or there is a better way to do the same? thanks in advance ciao h $.post("./php/piattaforma.php", {azione:"valida_pia", contratto:contratto}, function(xml) { $(xml)...
stackexchange/codereview
I'm using strip_tags in PHP and after it has processed the string, the string now also contains no \n's.. Is this standard with strip_tags?
stackexchange/codereview
Pls help me. I have created gridview with list daatsource. I want apply sorting event for gridview to sort all columns. Here is my code: protected void grduAdminSerservice_Sorting(object sender, GridViewSortEventArgs e) { DataTable tbl = grduAdminSerservice.DataSource as DataTable; if (tbl != null) { ...
stackexchange/codereview
I'm working on developing a WMI query for my application. It needs to find the assigned virtual COM port for a given VID/PID. My query currently looks like this: "SELECT DeviceID FROM Win32_SerialPort WHERE PNPDeviceID = \"USB\\VID_10C4&PID_EA60\\0001\"" Based on my research, it should return "COM8". However, I'm g...
stackexchange/codereview
I am trying to programmatically define my program layout and add a button to it at a certain position. I am not using the layout xml as the content view. RelativeLayout mainLayout; mainLayout = new RelativeLayout(this); mainLayout.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT,android.view.ViewGroup....
stackexchange/codereview
I have a table (2 million rows) in Informix v11.10, replicated (50+ node) environment Basic layout is like so: ID (PK) (int) division (int) company (int) feature1 char(20) feature2 int ... feature 200 char(2) There are several issues I have with the current layout: There are 200 "features" associated with th...
stackexchange/codereview
I've tried looking for the answer, and read many threads on this site, but still can't find the answer I'm looking for. I am trying to sort a series of numbers that are real look-ups and also one * which isn't, I can sort fine when I don't need to add the fake * but not after. I have tried SELECT DISTINCT MasterTable.C...
stackexchange/codereview
Hello everybody! After hours of penetrating Google I ended up here. I'll come straight to the point: I'm about to "refresh" my C/C++ skills and gain experience with the unmanaged world again. As a "basic" task I developed a little key logger (which are just a few lines with the Windows API) but now I want to extend it ...
stackexchange/codereview
I hope someone can help me out, or at least help figure out a workaround. I'm using Access 2007's split form feature, and have the code below run on the Form_Open event, as well as after two button_click events. The code works fine when run after the button_click events, but when it runs on the form_open event, it c...
stackexchange/codereview
Microsoft announced the Visual Studio Async CTP today (October 28, 2010) that introduces the async and await keywords into C#/VB for asynchronous method execution. First I thought that the compiler translates the keywords into the creation of a thread but according to the white paper and Anders Hejlsberg's PDC presenta...
stackexchange/codereview
I'm trying to get the base url and the media directory from the Magento configuration and I'm trying to use them for a template that has images. I've only gotten as far Mage::getConfig(). I'm not sure what to do next...
stackexchange/codereview
I'm having difficulties implementing a generic 'map' function over arrays. I started with the following draft: void MapArray(void * src, void * dest, void * (f)(void *), size_t n, size_t elem) { unsigned int i = 0, j = 0; void * temp = malloc(elem); for(i = 0; i<n, i++) { temp = (f)((char *) src) + i...
stackexchange/codereview
I have the following MySQL query: SELECT p.*, IF(COUNT(ms.PropertyID) > 0,1,0) AS Contacted, pm.MediaID, date_format(p.AvailableFrom, '%d %b %Y') AS 'AvailableFrom', astext(pg.Geometry) AS Geometry FROM property p, propertygeometry pg JOIN shortlist sl ON sl.PropertyID = p.id AND sl.MemberID = 38421...
stackexchange/codereview
I tried to detect which mouse button -if any- is the user pressing during a mousemove event under jQuery, but I'm getting ambiguous results: no button pressed: e.which = 1 e.button = 0 left button pressed: e.which = 1 e.button = 0 middle button pressed: e.which = 2 e.button = 1 right button pressed: e....
stackexchange/codereview
I would like to be able to get the total row count from an NHibernate 3 LINQ query while using paging but with only 1 hit to the database. Is this possible? var query = (from c in Session.Query<Customer>() where c.State == "CT").Skip(50).Take(10); The total count of customers in the state of CT is what I ...
stackexchange/codereview
I am currently working on a stack that implements linked list. I am having a problem when it comes to overloading the "=" operator. I am very clueless as to what to do. If anyone could point me in a good direction that would be awesome. //operator overload template <class S> const Stack<S>::operator=( const Stack& s ) ...
stackexchange/codereview
I am using Eclipse Helios Release. Eclipse xml validator doesn't like the display-name element under <servlet> in my web.xml. Here's the relevant part: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://j...
stackexchange/codereview
I have a matrix in an SSRS 2008 report. The rows are grouped on the Time field, and the columns are grouped on the FieldName field. Pretty standard stuff, you can see the designer view of it below. This works pretty well, except that in some instances I need to hide the "time" column (highlighted in the image). I've t...
stackexchange/codereview
I have a table being generated from an array of NSManagedObjects. This works fine until I try to add an extra cell at the top of the table. Here is what I'm trying at the moment: -(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { int menuLength = [mainMenu count] + 1; retu...
stackexchange/codereview
I am trying to run a file from command line. The file is a .class file and is apart of a larger project that I compiled in Netbeans. I navigated to the .class file and ran java MyFile And I got: Exception in thread "main" java.lang.NoClassDefFoundError: PersonTest/class Caused by: java.lang.ClassNotFoundException: Pe...
stackexchange/codereview
What is the main difference between .skin and .css in asp.net? .skin is new enhancement of IDE. I have been working with .css. What is available in .skin that is not to .css thanks, saj
stackexchange/codereview
I want to redirect complete make output to a file. I tried redirecting the stdout and stderr with the following command: make >aks_file.txt 2>&1 & But that is not redirecting the EXACT complete output which is otherwise generated by issuing just make (some lines are missing) Am I missing something?
stackexchange/codereview
I'm just now getting familiar with the .NET chart controls. I'd like to know if I can save the contents of a chart as a .jpg or similar file on the server. I would like to be able to have the user download the file or display it to the user in a non-.net page. I think it should be possible to do this. How?
stackexchange/codereview
I have site and would like to test how it can resist hacker's attack like some kinds of injections, DDOS etc? Thanks
stackexchange/codereview
Consider the process when creating a new Team Project. There's a convention to be followed: Team Projects need to have a directory structure like this: MyTeamProject -Dev -Dev -Main -Docs -Source -Release How can this directory...
stackexchange/codereview
So I have a method that implements IHttpHandler.ProcessRequest. It accepts an HttpContext parameter. This parameter is just a form that is filled out with some XML. Here is the HTML that I am using to generate the post context: <html> <body> <form name="form1" method="post" action="http://localhost:7703/api.ashx"> <tex...
stackexchange/codereview
I'm working on an NSWindow subclass and I'm running into some strange behavior that makes me question some of my assumptions about how windows work on Mac OS X. What precisely happens to NSWindow instances when [[NSApplication sharedApplication] hide: self] is called? All windows that do not return NO to -(BOOL)canHide...
stackexchange/codereview
I can't find the documentation of Java 7, I can only find about the Java 6, which is still quick or merge. Does anyone know how to find the documentation of the method Arrays.sort in Java 7?
stackexchange/codereview
I'm mucking around with drupal, and it has two fields called nid and vid on its node table. Every record I look at seems to have the same value for both nid and vid. I'm hacking around and inserting nodes the non-drupal way, and I want to make sure vid is set to whatever value nid has. For sake of explanation, here's s...
stackexchange/codereview
I run test cases from maven, that is from command line. Is there a way to see a reason why test failed in terminal output? I've tried raising verbosity in testng.xml to 4,hoping that it will activate TextReporter, which seems like class that prints, well, text reports, but it didn't help.
stackexchange/codereview
I have a rather colorful background, and to make the text legible, it's set on a semi-transparent background. H1, P both show the background the full width of the divs. spans and as however only show the background for where they are. This latter behavior is what I would prefer, definitely for the Headings, but also po...
stackexchange/codereview
I want to modify xml file using dom ,but when I make node.getNodeValue(); it returns null !I don't know why? my xml file contains the following tags: [person] which contains child [name] which contains childs [firstname ,middleInitial ,lastName] childs I want to update First name , middleInitial and last name using do...
stackexchange/codereview
I've just switched over from WinForms to wpf and in WinForms removing the whole title box is very simple, just set the title="" and ControlBox=false. Now there's many suggestions on how to do this with wpf, all of them using native Win32 calls. Although they do remove the control box, they still leave a thicker border ...
stackexchange/codereview
I am using django-nonrel. When I run manage.py test over my project which contains only one very simple user defined test I get the following error in the output. Has anyone seen this before? What do I need to do to resolve the issue so that the test_shortcut_view (django.contrib.contenttypes.tests.ContentTypesTests...
stackexchange/codereview
I don't know where it thinks I'm casting. Here is my property ''' <summary> ''' Gets the GetX509Certificate from a file. ''' </summary> Private ReadOnly Property GetX509Certificate() As X509Certificate2 Get If m_X509Certificate Is Nothing Then 'Sho...
stackexchange/codereview
In the table I want to be able to 'move' rows. I have a column called sortid, which automatically on insert is one value higher than the highest value (easily found by selecting top value when sorting my sortid desc). But I'm a bit confused on what query I'd use for the the 'up/down' actions for each row on my ASP.NET ...
stackexchange/codereview
I have the following string: <?php $string = '<meta name="Keywords" lang="fr" content="ecole commerce, apres bac, ecole management, ecole de management, écoles de commerce, école de management, classement ecole de commerce, ecole commerce paris, ecole superieure de commerce, concours ecole commerce, hec, esc, prepa,...
stackexchange/codereview
I have created an applicaton that requires the 2 connection strings in the app.config and some appSettings to be encrypted. I saved my app.config as web.config and run the asp.net aspnet_regiis -pe command for both "connectionStrings" and "appSettings" The encryption works and I can run it on my local dev box however...
stackexchange/codereview
I worked with a JSP code and executed the same under the tomcat5.5 server. It worked fined. Now I have copied the same code to the other system under tomcat server. But while submission of that jsp file, am receiving the following error. What might be the cause for the error? Please advise. root cause: javax.servlet.Se...
stackexchange/codereview
I'd like to know about the things that make Morphic special.
stackexchange/codereview
Right now i am developing an application using Google App Engine (GAE). GAE doesnt allow me to create temp folder for me to store my zipfile and read from it. The only way is to read it from memory. The zipfile contains 6 CSV files which i need to read it into CSVReader. //part of the code MultipartFormDataRequest mul...
stackexchange/codereview
I am using selenium with perl and have label on page, to access this label i have following xpath: //*[text()='some here'] , the problem that a need to get full xpath of this element, like /html/body/table/tr/..../any other/and other/ , is there is any selenium method or perl function ? looking for perl solution or any...
stackexchange/codereview
I have a directed graph data structure, where I am trying to implement individual version control for each vertex. This creates some interesting scenarios, and I would much appreciate any ideas that you guys have. Specifically, I am looking to resolve the default behavior of the system when encountering the stated scen...
stackexchange/codereview
The login system below works fine. However, when the cookies are cleared from the Chrome browser, it does not work the first time a user logs in. It works from the second time on up after the cookies are cleared. Any ideas why the login is not working the first time after cookies are cleared from Chrome? Thanks in ad...
stackexchange/codereview
I'm using a literal to display some javascript on a product page control. Basically what I'm doing is in my code behind I'm declaring a new stringbuilder, writing the script while inserting some dynamic variables to populate the script then setting the literal text to the stringbuilder. This leaves me open to xss att...
stackexchange/codereview
I have a C# project and some code pages have few thousand lines of code. I really like the idea of nodes in the code editor. I use it a lot and create many regions. But every time I open the project, all the nodes are expanded and I have to minimize them manually. It gets really annoying. I have not found any help abo...
stackexchange/codereview
Is there any zigbee cluster (or others zigbee methods) that we can use to for network statistic? I will need to log inside the coordinator all the link quality/pattern and the signals strength of the zigbee network.
stackexchange/codereview
I have a custom module that returns data from a web service call. It comes back from an XML response, which I am converting to an array. Once I have the array, I do: $output = theme('search_srs_results', $data); return $output; But I am getting a white screen. No apache/php/watchdog errors. I've done this before in an...
stackexchange/codereview
I am looking for a node.js framework which is capable of tracing user sessions via cookies/storage on the server side. Storage has to be in MongoDB
stackexchange/codereview