instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
What is the most advised doctype for a website optimised for smartphones? and what are the principal diferences between them. XHTML Mobile Profile 1.0 <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> or XHTML Mobile Profile 1.1 <!DOCTYPE html PUBLIC ...
stackexchange/codereview
Dear all I'm looking for a numpy/scipy function to compute bicoherence and auto-bicoherence fore the studying of 3-wave interaction. Thank you for all the possible help nicola
stackexchange/codereview
I want to know how can i know the values of a curve(Dataset) when I standing over it on a XYPlot. I've already implement the code for kwnoing the values of the scale on the axis: int mouseX = event.getTrigger().getX(); int mouseY = event.getTrigger().getY(); Point mousePoint = new Point(mouseX, mouseY); ...
stackexchange/codereview
Can i give a tooltip to a input type text in case max length of that textbox is reached in html???
stackexchange/codereview
I need to invoke a process which doesn't require any input from the user, just a trigger. I plan to use POST /uri without a body to trigger the process. I want to know if this is considered bad from both HTTP and REST perspectives?
stackexchange/codereview
I have set up a Postgres 9.0.1 SQL server and a Tomcat 5.5.28 both at my local PC. Both are running fine. But I have not been able to configure Tomcat to make the DataSource available via JNDI. I think I have followed the JNDI HOW-TO from the Tomcat pages to the letter (as well as having tried some other how-to's from ...
stackexchange/codereview
Hi there i have a string something like "3.1600559280405984" which is a latitude value. When i want to convert this into a float value, to assign to an annotation/coordinate, the floatValue of the string returns truncated 3.160056, how can i get the complete float without losing the decimals? Or is there some other wa...
stackexchange/codereview
i'm in a project with a service layer (WCF), a proxy layer that are between this service layer and the "controllers". Every controller should call this proxy layer to get data, and instead return a model to be rendered, returns a bigger entity that i've to convert using Linq to a more little model. Then pass it to the ...
stackexchange/codereview
I have a DetailsView, I need get the value specifield in DataKeyNames "UserId" (a Guid Field) and add it to an Object Guid. At the moment I am using this code: String myUserId = (String)uxAuthorListDetailsView.DataKey["UserId"].ToString(); but I would need something like: Guid myUserGuid = (Guid)uxAuthorListDetailsVie...
stackexchange/codereview
I am trying to create threads using pthread_create.The threads,from their start routines, 'cout' to the console a simple msg after creation.I am trying to print the thread Id's too from the main function. my code is : #include <iostream> #include <pthread.h> #include <sstream> #include <string> using namespace std; v...
stackexchange/codereview
I have just started working on a struts2 project. I have seen the power of actions in struts. i just want to Know few things 1.When a client asks for a page through the search engine does the server direct the request through an action which maps the jsp? 2. If the ans to the above question is no how do we set-up all t...
stackexchange/codereview
I have a Microsoft SQL server database and a set of users. Now in my app I want to make some functionality only visible, if the user has entered username and password with certain rights (admin). Since the databases and the usernames and their rights can change, how do i check what permissions/rights an Microsoft SQL...
stackexchange/codereview
i was looking that where the wordpress save the URL/Link of the Avatar of the blog in the Database of wordpress anyone can help?
stackexchange/codereview
Can anyone please help in implementing the same functionality of optgroup using struts.
stackexchange/codereview
I am learning about cronjob and I found this piece of code in one project which fetches record from twitter, the code goes like this: #0 * * * * cp /vold/www/Abcd/log/twitter_feed_item_aggregator.log vold/www/Abcd/log/twitter_feed_item_aggregator.log.backup; > /vold/www/Abcd/log/twitter_feed_item_aggregator.log Can...
stackexchange/codereview
public class SynchronisedScrollView extends ListView { private ScrollViewListener scrollViewListener = null; public SynchronisedScrollView(Context context) { super(context); } public SynchronisedScrollView(Context context, AttributeSet attrs, int defStyle) { super(context,...
stackexchange/codereview
How to send group sms using AT command?
stackexchange/codereview
I'm currently using PrintVisual() in a wpf application to do printing. This is working perfectly at the moment, the only issue I now have is when processing large amounts of data I need to paginate, whereby I want to render the window multiple times to a buffer and then execute a print job. Currently PrintVisual() crea...
stackexchange/codereview
I'm using FLEX and e4x to parse through XML. And the XML looks as follows: I am able to do basic filtering based on tag value. But now I need to filter over items that can have multiple categories. I tried the following: <item> <id>12345</id> <category>housing</category> <category>finances</category> <category>...
stackexchange/codereview
I have graph composed of a set of nodes at a given instant in time. This graph may evolve through time, i.e. the relationships between the nodes and the nodes themselves may change. The drawing has to be an orthogonal one. I'd like to draw the evolution of the graph, i.e. draw the image of the graph at the different ...
stackexchange/codereview
What is the simplest way of increasing / decreasing font sizes on click of trigger element? I've seen a few scripts and plugins etc, but they all look fairly verbose. What's the simplest way to neatly achieve this?
stackexchange/codereview
to perfectly describe the problem look at (in firefox, my version=3.0.10!!): http://musca-design.de/portfolio.php when you click through the portfolio, apparently the scrollbar jumps to the bottom? In Safari, Opera it wont, it stays at the top, which is what I want. Is there a workaround or how can a tackle the problem...
stackexchange/codereview
I have a Flex application which is served via a JSP page. In this page I output the session ID using HttpSession when the page is loaded: System.out.println("Session ID: " + session.getId()); In a very simple remote object hosted in BlazeDS (called from the flex application using an AMF Channel and standard RemoteObj...
stackexchange/codereview
i have an array of integer like int [] intArray; intArray = new int[3] { 1, 2 , 40 , 45 , 50}; the array contains numbers from 1- to 50 i want to convert this array to one bit represent like 100001000010000............11 who can i do this in c# ?
stackexchange/codereview
im trying to get role provider working in multiple environments and hitting a wall (link text) i should be able to dynamically set the connectionString property of the web.congig item on app_onstart to the correct DB conection String to get it to work... can anyone show me how to dynamically alter items in the web.con...
stackexchange/codereview
Is there a Java library for producing LaTeX output from Java?
stackexchange/codereview
I have select few places in my application where I'd like to always log values. I could simply use Log.Info() and leave it at that, but I'd prefer a solution that can't be disabled by an accidental change to the level configuration. In this case, as long is log4net is not disabled, I want these log statements to fire. ...
stackexchange/codereview
My baldness is growing more rapidly than it should be. I first posted this question a couple days ago. I now know the problem and have it working... sort of. Another problem surfaced in it's place. To solve the previous problem, I manually created the name to requestedDays[{0}].DateOfLeave where {0} was a Guid. This al...
stackexchange/codereview
I have a triple drop down menu and when I select an option for first drop down, based on that I get the values populated in the second drop down but these values in the second drop down do not clear even though I change the change the option of my first drop down. I am facing this problem with Chrome. In Firefox it wor...
stackexchange/codereview
My app is being rejected from the Marketplace because of requirement 5.2.4.c (back button must close menu or dialog and cancel back navigation). I'm using a ListPicker from the Silverlight Toolkit and that's what's causing the failure: pressing the back button when the ListPicker is open goes back instead of closing th...
stackexchange/codereview
This one is tricky, I have a number of table cells in a flowdocument, I need to be able to indicate different items by a colored left border. I've solved this currently by putting a 4 pixel transparent border on a tablecell with a name, and then using FindName to find that element and switching the borderbrush to a co...
stackexchange/codereview
Hey there, I was just messing about in jsFiddle and attempted to make a simple drag and drop. I did not bother with getting the offset etc so as soon as you click it centers around your mouse. On mouse down I return false which I thought would stop the elements kind of 'ghost' from appearing. It did not. I focus onto t...
stackexchange/codereview
The setup is as follows: Firefox (both 3.x and 4b) with properly set up and working certificates, including a client certificate. Web page with an XMLHttpRequest() type of AJAX call to a different subdomain. Custom web server in said subdomain accepting requests, reponding with a permissive Access-Control-Allow-Origin...
stackexchange/codereview
How can i embed a mobile number with the external link using objective c.
stackexchange/codereview
I am using libpcap to capture data from PPP interface, and add filter as follow: char filter_exp[] = "ip"; But when i sniff the packets in callback function, I found that the format of ip packet is not correct, the header size is not 20 byte. And when I capture packets from eth0, everything is normal. So who can t...
stackexchange/codereview
I'm doing an application that includes reading image files and displaying them in a user control designed by myself. This or other CPU-intensive activity tends to make the gui glitch and/or become unresponsive. I'm quite aware that I should put these CPU-intensive activities in another thread, but so far I haven't foun...
stackexchange/codereview
I'm trying to make some sort of hashable identifier in python; I need it to identify nodes in a graph. The trouble is that some nodes have different attributes. If the attributes of these nodes are portrayed by dictionaries of the attributes to values: idA = {'type':'A', 'name':'a_100'} idB = {'type':'B', 'name':'b_3',...
stackexchange/codereview
Would anyone be able to point me to docs/api that allow me to put a custom button or link on windows lock screen ? I want to be able to launch a custom program from there. Thanks. Ralph
stackexchange/codereview
Well, my question is about Accounting Management. I have a system already, it's work fine, but now I need to control the follow intems. ACCOUNTS RECEIVABLE (My Invoices) ACCOUNTS PAYABLE SETTLE ACCOUNTS CASH FLOW GENERAL LEDGER FIXED ASSETS PAYROLL On ACCOUNTS RECEIVABLE I have all my invoice system. The rest, I need...
stackexchange/codereview
Which one do I call? Is it necessary to call both? Will the other throw an exception if I have already called one of them?
stackexchange/codereview
I am passing 64 byte data packets over USB to a microcontroller. In the microcontroller C code the packets have the structure, typedef union { unsigned char data[CMD_SIZE]; cmd_get_t get; // plus more union options } cmd_t; with typedef struct { unsigned char cmd; //!< Command ID unsigned ...
stackexchange/codereview
Possible Duplicate: Visual Studio 2010 debugger skipping If I break at a breakpoint in visual studio (C#), I can step over statements quite happily. Occasionally though, it ignores the step over and it's as though I'd hit continue instead. It is not repeatable.. immediately re-running and breaking on the same point ...
stackexchange/codereview
I want to make popup div that disappears when i click outside of it. I need pure js, not a jQuery or something. So i do the following... function that make div to dissapear: function closePopUps(){ if(document.getElementById('contact-details-div')) document.getElementById('contact-details-div').style.displa...
stackexchange/codereview
Is there any library/tool for formal specification in C++, such as JML for Java, and Data Contracts in C#? EDIT: I am not looking for something more specific than, it's practical to use and adds some value/quality. EDIT2: I am not looking for UML tools, please see the examples I have provided.
stackexchange/codereview
In delving into Fluent nHibernate, I discovered a potential breaker for using it... Given the following POCO code. public class Customer { public virtual int Id { get; set; } public virtual string Name { get; set; } public virtual Details Details { get; set; } } public class Details { public virtual int Id...
stackexchange/codereview
For the XMPP interface for the Stack Overflow chat I am parsing the JSON feed from chat and generating Ruby objects for every chat events, such as messages sent, edits sent, users logging in or out, etc. I also generate events for "slash-commands" sent to the XMPP server, like "/help" or "/auth" in order to allow the X...
stackexchange/codereview
Does it make sense to create a service whose only responsibility is to send emails for other services? Let me try to express my doubts more clearly and give a little bit of context. BTW, you can ignore the term "SOA" if you like. My intent in including it was to communicate that I am talking about a distributed system ...
stackexchange/codereview
I am writing an application to consume SOAP service. The work flow is like this: Pull in order from SOAP server (Request Order) POST/Response with changes to SOAP server (Response to Order) Request PO changes from server (Request order changes) The third party server already set up a testing environment for us. The fir...
stackexchange/codereview
I am running red had linux 7.3 (old, I know), and for the past few months I've been learning assembly programming, writing small programs and compiling with nasm. For months, things have been going fine, and now for some unknown reason, I cannot execute any programs that I compile. nasm file.s //used to work just fi...
stackexchange/codereview
I want to make a sub-gui(i know this isn't the correct term, but I want to know the correct term) in a VC++ windows form I'm making a GUI that replicates the windows system, so you click start and the start menu pops up, so I want it to be inside the main gui, but on top of it, so it moves with the main gui (if the pr...
stackexchange/codereview
I have WP7 application with several pages. When a user navigates through them it takes some time to load information. So before showing him/her the page I'd like to show “Loading…” message. I created progress bar and placed it on the page: <StackPanel x:Name="progressBarMain" Grid.Row="1" Grid.ColumnSpan="2" Visibi...
stackexchange/codereview
is there no official documentation / guide published somewhere on how to create components for Flash CS5?
stackexchange/codereview
basically i have a ul list <ul> <li style="background-image:url(images/thumbs/spaceinvader.jpg);"><a href="#"></a></li> <li style="background-image:url(images/thumbs/spaceinvader.jpg);"><a href="#"></a></li> <li style="background-image:url(images/thumbs/spaceinvader.jpg);"><a href="#"></a></li> <li styl...
stackexchange/codereview
Given an arbitrary amount nodes to select: <root> <foo>1</foo> <foo>2</foo> <foo>3</foo> <foo>4</foo> <!-- ... --> <root> How do I select every other foo so that I get foo[1], foo[3], ... ?
stackexchange/codereview
I am very new to C programming. I am stuck in a very trivial problem. I have a C program where I am passing the value of one variable through a text file. Based on this variable I am passing one condition, e.g. if bDrw==true then proceed else not. Now I want my program to take the condition from from the command line i...
stackexchange/codereview
I have a sql query in MySQL and I want an expression that matches with the string not between '<' and '>'. For example: select '<span class="boldtext">collaboratively site</span> – regardless of platform or language' rlike 'expression looking for boldtext' ==> should return false because 'boldtext' locates inside a htm...
stackexchange/codereview
I am trying to compile a C program in Ubuntu 10.04 made for 8.04. It fails because we have used PATH_MAX and other constants that should be defined in limits.h. According to various resources, it should be part of a POSIX compatible C library. Is this a bug in Ubuntu 10.04 or is there a proper way of solving this?
stackexchange/codereview
I have some question about AVL, lets assume I created some avl-tree of integers, how do I need to manage insertion into my tree to be able to take out the longest sequence of numbers, (insertion have to be with complexity O(logn)), for example: _ 10 _ _ 7 _ _ 12 _ 6 8 in thi...
stackexchange/codereview
I have Start Date and End Date .I need to calculate how many quarters are there and also the if i have 2 quarters i need to show from which date to which date the 1st quater and also the same for 2nd quarter using C#. Thanks in advance
stackexchange/codereview
I'm looking to encode special characters(ex: Japanese chars) along with '. encodeURIComponent() encodes special characters, but does not encode '. Any inbuilt Javascript function which does both(i.e encode Japanese chars as well as '?
stackexchange/codereview
Hi I don't understand why this code doesn't work - it don't remove key; I still get "2" on output. Bencode.BencodeDict d = new myTorrent.Bencode.BencodeDict(); d.Dict.Add(new Bencode.BencodeString("info"), new Bencode.BencodeString("1")); d.Dict.Add(new Bencode.BencodeString("info2"), new Bencode.BencodeString("2")); d...
stackexchange/codereview
Often I declare classes to wrap a single Plain Old Data value; simple classes without virtual functions, like: class Velocity { int vel; public: // functions to work with velocity ... } Working with such object is the same as working with POD values? -- Is there any difference in space or time usage, if in my...
stackexchange/codereview
I have an array like this: Array ( [1197624] => Array ( [0] => Array ( [datetime] => 2010-11-06 21:32:56 [movieID] => 1197624 [personID] => 0 [filename] => 1197624.jpg [more indexe...
stackexchange/codereview
having a slight issue where i am rendering a pdf (stored as a byte array) into an asp.net web page, using the code below: Response.ClearContent(); Response.AppendHeader("content-length", document.Length.ToString()); Response.ContentType = "application/pdf"; Response.BinaryWrite(document); Response.Flush(); Response.Clo...
stackexchange/codereview
hii, there I am making a tabbar application.In this application on the first tab I am using navigation so when I navigate to other view and instantly than I goes to other tab. And again when I am going to first tab it show me navigate view I want to show first tab view. Somebody can tell me how can I manage these thing...
stackexchange/codereview
When I try to serialize this collection, the name property is not serialized. public class BCollection<T> : List<T> where T : B_Button { public string Name { get; set; } } BCollection<BB_Button> bc = new BCollection<B_Button>(); bc.Name = "Name";// Not Serialized! bc.Add(new BB_Button { ID = "id1", Text =...
stackexchange/codereview
I'm using a UIView to control the layout of my view (along with a view controller). I want UIScrollView to only use half of the vertical screen. That works fine if I use the upper half of the screen, but not the bottom half. Here's the relevant code from the UIViewController: - (void)loadView { CGRect fullFrame = [[...
stackexchange/codereview
I've used rake a bit (a Ruby make program), and it has an option to get a list of all the available targets, eg > rake --tasks rake db:charset # retrieve the charset for your data... rake db:collation # retrieve the collation for your da... rake db:create # Creates the databases defined in y... rake db:dr...
stackexchange/codereview
I have Java class that decrypt a file based on a user password. I have a demo.jar and a file content.txt that contain the encrypted content. The program runs and based on the user password decrypt the file into a file called content_recovered.txt As long as I do this on my computer, it works great. I put the files on...
stackexchange/codereview
on my page, I have many html controls looking like that: <span id="pic1" class="container"> <span class="inner"> <span class="img"></span> <span class="strip"></span> <span class="remove_the_main_container"></span> </span> </span> All I wanna do, is to remove (by using jQuery) the span wit...
stackexchange/codereview
My jQuery functions are firing but none of them are working through a vanilla wordpress install. Has anyone else had this problem? To show an example of this would be quite challenging since it's running through a framework. I have an external JS script called 'main.js': <script src="<?php bloginfo('template_directory'...
stackexchange/codereview
What can stop a TreeView from virtualizing if the TreeView is set up as follows? <TreeView ItemsSource="{Binding}" VirtualizingStackPanel.IsVirtualizing="True"> <TreeView.ItemsPanel> <ItemsPanelTemplate> <VirtualizingStackPanel /> </ItemsPanelTemplate> </TreeView.ItemsPanel...
stackexchange/codereview
I would like to change the cursor icon to my customized 32x32 image when a Java application is executing. I looked and searched, those I found are just setting cursor on a JComponent. But I want the cursor changed to my specified icon wherever it goes moving, browsing, and click, as long as the Java application is stil...
stackexchange/codereview
What kind of collection method would store a pair (key and value) where the key isn't unique (which technically doesn't make it a key I think)? Somewhere in my program I have: typedef struct { int nKey; string strFormType; } KeyPair; Then I'll store objects in a vector using this struct. vector<KeyPair> vK...
stackexchange/codereview
Solution It appears you must call the super method in onActivityResult super.onActivityResult(requestCode, resultCode, data); I am getting this error from TTS when I press the back button on my Activity. Aparently it is because I am not calling shutdown() but I am, see onDestroy() below. I have made an abstract Tts...
stackexchange/codereview
The ultimate goal is to export the pages in a fireworks png file to individual images. So I have a couple questions: Do you know of anything -- library, application -- that does this already? Do you have any information on the format? They store their information in specialized chunks, I assume. I'm just hoping the fo...
stackexchange/codereview
someone wrote this code. foreach ($node->taxonomy as $term) { $tids[] = 't.tid = %d'; $args[] = $term->tid; } how he knows that in foreach "$node->taxonomy" is an array? and when i loop it, foreach ($node->taxonomy as $term) { } the output that i get will be the $term's value. i don't know how it is change into t...
stackexchange/codereview
Let's say I have an entity class A, two entity classes B and C which inherits from A, and entity class D which inherits from C. A and C are abstract entities. Entity A has a field name. How one could construct a JQL-query which orders entities by name within each entity class. Entities of class B sorted by name should ...
stackexchange/codereview
I have a custom content type in Drupal 6 and one of it's fields is a node reference field. This field contains node ID's for a few nodes and i want to display those selected nodes after my node content. Any ideas how i can do that in the theme?
stackexchange/codereview
I have been using OOXML api to update the custom xml part in a .docx. The code updates the custom xml part in the document. My problem is that the same code replaces and generates perfect .docx when I use in a console App, but it doesn't replaces nor generates .docx when used in ASP.NET application. The code snippet in...
stackexchange/codereview
I'd like to know if I can colour highlight the output of a shell command that matches certain strings. For example, if I run myCommand, with the output below: > myCommand DEBUG foo bar INFO bla bla ERROR yak yak I'd like all lines matching ^ERROR\s.* to be highlighted red. Similarly, I'd like the same highlighting to...
stackexchange/codereview
Here is the code: <script type="text/javascript"> $.ajaxSetup ({ cache: false }); var ajax_load = "<img src='load.gif' alt='Loading...' />"; $('#create').submit(function() { $("#result").html(ajax_load); $.get("actions/create.php", { url: longform }, function(data){...
stackexchange/codereview
I have a div called #devices and I use ajax to populate it, but I'm having a bit of a styling problem, I append a json to the devices div like this: $('#devices').html(json); I set the width of the devices in my css like this: #devices { border:thin solid #C7C7C7; padding:20px; width:600px; } I'm not s...
stackexchange/codereview
I have a problem with visible lines appearing at the edges of the Skybox. http://project-vanquish.co.cc/index.php <-- Shows the problem Has anyone got any ideas as to why they are appearing? The textures don't have the white edge. Rendering code block: public override void Render(GraphicsDevice device) { device.De...
stackexchange/codereview
What is the best way to run Ruby scripts using Apache and no framework (just like PHP scripts)? Bonus points if the script can access the HTTP request stuff (URL, host, GET/POST params and cookie). If a framework is absolutely required, which is the most lightweight which would use Apache?
stackexchange/codereview
I'm trying to target the first and last anchor within a list-item of an unordered list: <ul> <li><a href="#">HOME</a></li> <li><a href="#">LINK</a></li> <li><a href="#">LINK</a></li> <li><a href="#">LINK</a></li> <li><a href="#">LINK</a></li> </ul> I have tried: .menu ul .last a {} .menu ul.last a ...
stackexchange/codereview
Possible Duplicate: How do I check for nulls in an ‘==’ operator overload without infinite recursion? There is probably an easy answer to this...but it seems to be eluding me. Here is a simplified example: public class Person { public string SocialSecurityNumber; public string FirstName; public string Last...
stackexchange/codereview
I'm having the next problem, I define a new property: <Property Id="TEMP_DIR" Secure="yes" > <RegistrySearch Id="TEMP_DIR" Root="HKLM" Key="SOFTWARE\$(Company)" Name="InstallDir" Type="directory"></RegistrySearch> </Property> And then I define a new component: <Component Id="PerformAction" Guid="E2E4E3E5-FBEC-4051...
stackexchange/codereview
I'm new to emacs lisp programming. I'm a developer and programming in c on daily basis. I would like to use tags for code browsing with emacs. However, size of my project very big and cant afford to run etags every now and then. I would like add lisp function or code in emacs in such a way, every file i open emacs has ...
stackexchange/codereview
In a State, we have Shops, with database column type in each shop entry: Grocery, Fashion and Food. I have the following code: <% @country.states.each_with_index do |state, i| %> State <strong><%= i + 1 %></strong> <% state.shops.each do |shop| %> =====showing attributes of each shop===== <% end %> <% end %>...
stackexchange/codereview
I am debugging an iPad app that is running on an real iPad. Is there a way on my Mac to monitor the router's network traffic or just the iPad's network traffic?
stackexchange/codereview
I have a program that has to use mmf to map a ppm image to memory and then, each child, will have to invert row by row the mmf. It says :"the MMF version will first have to create a copy of the image (and rename it to the destiny filename) and then execute the inversion on that copy." The semaphores are in the correct ...
stackexchange/codereview
If I'm not mistaken (and if I am mistaken, here or in what I say below, please correct me), non-jailbroken iPhones provide two broad areas of storage space: for apps (and data that comes bundled with apps); for user-managed files. I understand that the former is protected storage, meaning that data bundled with an ap...
stackexchange/codereview
I created a form in Qt Creator, and added three custom QWidgets (all are the same class called Renderer) into the form. I want all of the three widgets besides the form to get notified when a user presses the Alt key, but I cannot even get one to work at the moment. I added the void keyPressEvent(QKeyEvent *) and void ...
stackexchange/codereview
It seems to me that the {System.Drawing.}Color struct is missing a .FromHSL method. Does one have to reinvent this wheel oneself or is there another way?
stackexchange/codereview
In WinForms, how can I create a UserControl that when I put on my form I can then add other controls inside by dragging them from the toolbox, the same way as with all containers controls (panels, group boxes, etc)? I've tried to add controls by dropping them in my control but then when I move my control the controls I...
stackexchange/codereview
I have created a form that allows users to upload an image to a folder in the server. How do I insert the image into the database? I have created a table name called upload in the database named blog and a row called image with the value MediumBLOB. If the above sounds illogical, how do i call the image from the serve...
stackexchange/codereview
I have the following code to count visitors on my PHP site. It works fine on my local development machine using WampServer but when I uploaded my files to my hosting account for testing I realized that it does not work properly. I get really high number count and also noticed the session are never deleted so they just ...
stackexchange/codereview
I have a multithreaded WPF application that is using > 600 threads after is has been running for more than 8 hours. All but approximately 10 of these threads have a stack trace that is very similar to this: Stack trace 1: ntkrnlpa.exe!NtInitialUserProcessBuffer+0x7b ntkrnlpa.exe!MiAddWorkingSetPage+0x174 ntkrnlpa...
stackexchange/codereview
I need to know, is there any option to skip particular column and take remaining table backup using mysqldump command. If yes please let me know.
stackexchange/codereview