instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
Is there any utility that will copy the "official" build of a windows forms app from a central network share and launch it (from a client desktop)? I want to make sure users get the latest version when I update the binaries on the central network share.
ClickOnce is user un-friendly so I'm looking for something else...... | stackexchange/codereview |
Many Java Apps don't use anti-aliased fonts by default, despite the capability of Swing to provide them. How can you coerce an arbitrary java application to use AA fonts? (both for applications I'm running, and applications I'm developing)
| stackexchange/codereview |
Does anybody know of a good media framework for Flex?
I'd like to be able to create apps that can play not only those formats that the Flex framework provides support for, but other formats as well (like wav, wma, ogg and other...).
EDIT 13.10.2008.: It was recently pointed out to me in the answers section that I shoul... | stackexchange/codereview |
I'm architecting a new app at the moment, with a high read:write ratio. At my current employer we have lots of denormalised data on our tables for performance reasons. Is it better practice to have totally 3NF tables and then use indexed views to do all the denormalisation? Should I run queries against the tables or vi... | stackexchange/codereview |
I've googled around a bit, but maybe I didn't put the correct magik incantation into the search box.
Does anyone know how to get output parameters from a stored procedure in Python? I'm using pymssql to call a stored procedure, and I'm not sure of the correct syntax to get the output parameter back. I don't think I ca... | stackexchange/codereview |
Given a list ["foo", "bar", "baz"] and an item in the list "bar", how do I get its index 1?
| stackexchange/codereview |
For decades, in the field of computing (except disk manufacturers), a KB (kilobyte) was understood to mean 1024 bytes. In the past few years, there has been a movement to use KiB ("kibibyte") to mean 1024 bytes, and change the meaning of kilobyte to be 1000 bytes, dooming us to many more years of confusion. On the othe... | stackexchange/codereview |
(mingw32, windows xp)
Hello, I am attempting to migrate from Java to c++. I am confused and frustrated about finding, installing, and compiling non-standard c++ libraries. in Java it's so convenient they stuffed every functionality and documentation ever needed in java's standard api. Is there a list of essential c++ l... | stackexchange/codereview |
I have an MDI application. When I show a message box using MessageBox.Show(), the entire application disappears behind all of my open windows when I dismiss the message box.
The code is not doing anything special. In fact, here is the line that invokes the message box from within an MDI Child form:
MessageBox.Show(Stri... | stackexchange/codereview |
Given this:
Public Sub timReminder_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs)
If DateTime.Now() > g_RemindTime Then
Reminders.ShowDialog()
timReminder.Enabled = False
End If
End Sub
I want to be able to say this (as I would in Delphi):
timReminder.Tick = timReminder_Tick
... | stackexchange/codereview |
I have an ASP.NET page which has a button it it. The button click launches a modal dialog box using JavaScript. Based on the value returned by the modal dialog box, I want to proceed with, or cancel the post back that happens. How do I do this?
| stackexchange/codereview |
I have this problem, I'm using Castle ActiveRecord and when I update I verify changes in the object in the OnFlushDirty event.
However, when I access to the previouState["MyProperty"], it turns to be null and I can't get the old value.
Do you know why?
this is the code;
protected override bool OnFlushDirty(object i... | stackexchange/codereview |
How should I manage tables that refer to site 'events'. i.e. certain activities a user has done on a website that I use for tracking. I want to be able to do all kinds of datamining and correlation between different activities of users and what they have done.
Today alone I added 107,000 rows to my SiteEvent table. I d... | stackexchange/codereview |
It's common in C++ to name member variables with some kind of prefix to denote the fact that they're member variables, rather than local variables or parameters. If you've come from an MFC background, you'll probably use m_foo. I've also seen myFoo occasionally.
C# (or possibly just .NET) seems to recommend using just ... | stackexchange/codereview |
I work a lot with serial communications with a variety of devices, and so I often have to analyze hex dumps in log files. Currently, I do this manually by looking at the dumps, looking at the protocol spec, and writing down the results. However, this is tedious and error-prone, especially whem messages contain hundre... | stackexchange/codereview |
We are migrating our test report data (unit, regression, integration, etc..) from an XML format to a database format for better analysis. Right now the majority of our test analysis is done using the CruiseControl.NET dashboard, but this is limited to primarily the most recent test data. Older test data can be accessed... | stackexchange/codereview |
If I have the following code (this was written in .NET)
double i = 0.1 + 0.1 + 0.1;
Why doesn't i equal 0.3?
Any ideas?
| stackexchange/codereview |
I'm interested in using Functional MetaPost on Mac OS X:
http://cryp.to/funcmp/
I'm looking for a tutorial like:
http://haskell.org/haskellwiki/Haskell_in_5_steps
but for a trivial FuncMP example, i.e. using GHC, I can compile something simple such as:
import FMP
myPicture = text "blah"
main = generate "foo" 1 myPi... | stackexchange/codereview |
How can I get MSBuild to evaluate and print in a <Message /> task an absolute path given a relative path?
Property Group
<Source_Dir>..\..\..\Public\Server\</Source_Dir>
<Program_Dir>c:\Program Files (x86)\Program\</Program_Dir>
Task
<Message Importance="low" Text="Copying '$(Source_Dir.FullPath)' to '$(Program_Dir)'"... | stackexchange/codereview |
Is it possible to have a different set of dependencies in a maven pom.xml file for different profiles?
e.g.
mvn -P debug
mvn -P release
I'd like to pick up a different dependency jar file in one profile that has the same class names and different implementations of the same interfaces.
| stackexchange/codereview |
How would you begin improving on a really bad system?
Let me explain what I mean before you recommend creating unit tests and refactoring. I could use those techniques but that would be pointless in this case.
Actually the system is so broken it doesn't do what it needs to do.
For example the system should count how ma... | stackexchange/codereview |
I have a very basic question about MVC web applications in Java.
Since the olden days of raw JSP up until current technologies like Seam, a very basic pattern has always been the internal dispatch from the controller that initially accepted the request to the view layer that creates the output to be sent to the client.... | stackexchange/codereview |
I would like to change the name of my SQL Server instance. Is there a simple way of doing this or is a significant effort required? Note, this is a named instance - not the default instance.
| stackexchange/codereview |
I am curious if anyone has done a comparison between the different options out there. So far I am leaning towards using Moo.fx because loading prototype.js just to use scriptaculous seems a bit much. Does that make sense? Are there any other effects libraries worth trying? Thanks.
| stackexchange/codereview |
Some of the other questions and answers here on SO extol the virtues of using an enterprise repository tool like Archiva, Artifactory, or Nexus. What are the pros and cons of each? How do I choose between them?
In case it helps:
We use both Maven 1 and Maven 2 (at least for a while)
We want to store both internally-ge... | stackexchange/codereview |
I have a project here that connects to an in-production database and grabs tables and views. The code I've inherited connects to a SQL Server database via a SqlConnection, with the user's provided credentials and the database location they provide. When data is required, it uses the connection and a SQL string to creat... | stackexchange/codereview |
Where I work, we maintain an FTP site that needs occasional cleanup.
Are there any tools out there to create a site map of an FTP site? It would greatly simplify clean up tasks.
Thanks!
| stackexchange/codereview |
What are some recommendations for finding Expression Blend/WPF Designers to perform contract work? I think a (local) freelance designer might be the most reasonably priced, but I don't even know where to start.
As additional background, I am located in the Midwest region of the US, where designers are not as prevalent... | stackexchange/codereview |
Because of the more tedious way of adding hosts to be monitored in Nagios (it requires defining a host object, as opposed to the previous program which only required the IP and hostname), I figured it'd be best to automate this, and it'd be a great time to learn Perl, because all I know at the moment is C/C++ and Java.... | stackexchange/codereview |
I can't quite figure out this syntax problem with a case expression in a do block.
What is the correct syntax?
If you could correct my example and explain it that would be the best.
module Main where
main = do
putStrLn "This is a test"
s <- foo
putStrLn s
foo = do
args <- getArgs
return... | stackexchange/codereview |
I have a problem similar to the one found here : JSF selectItem label formatting.
What I want to do is to accept a double as a value for my and display it with two decimals. Can this be done in an easy way?
I've tried using but that seems to be applied on the value from the inputText that is sent to the server and ... | stackexchange/codereview |
I am thinking about creating stored procedures on the fly.
ie running CREATE PROCEDURE... when the (web) application is running.
What are the risks or problems that it can cause?
I know that the database account needs to have the extra privileges.
It does NOT happen everyday. Only from time to time.
I am using sql ... | stackexchange/codereview |
I need a little help on this subject.
I have a Web application written in ASP.NET plus I have the .bak file of the SQL Express database, my question is: How can I install this in a simple click and go way in the client?
how can I write a script that will create a new database, restore the bak file into that database, s... | stackexchange/codereview |
I'm currently writing a server that hosts several modules. The server runs each module in a separate AppDomain. What I want to achieve is exception isolation, i.e. when one module throws an exception I don't want whole process to terminate, just this specific AppDomain. I know that I can tell CLR to fallback to old beh... | stackexchange/codereview |
Anybody know of an implementation of graph algorithms in Smalltalk?
I'd like something that allows you to implement an interface on your model objects or something and provides algorithms for transitive closure, transitive reduction, topological sort, etc., etc.
People end up re-implementing these widely-applicable alg... | stackexchange/codereview |
I was given one big JPG of the HTML interface. Now I need to break it down into pieces and assemble them with html table. Without a slicer it's pretty arduous and error prone. I do not have photoshop or firework, does anybody know of any free utilities that I can use?
| stackexchange/codereview |
I have a formview that executes a insert stored procedure through a table adapter as normally done. Except when the insert fails a output parameter on the sp called error_msg is set to
"Insert failed because XXXX is required".
how do I capture this value and print it on the screen for the user? I can't seem to fin... | stackexchange/codereview |
What would be the best way to port an existing Drupal site to a Django application?
I have around 500 pages (mostly books module) and around 50 blog posts. I'm not using any 3rd party modules.
I would like to keep the current URLS (for SEO purposes) and migrate database to Django. I will create a simple blog applicatio... | stackexchange/codereview |
I guess the real question is:
If I don't care about dirty reads, will adding the with (NOLOCK) hint to a SELECT statement affect the performance of:
the current SELECT statement
other transactions against the given table
Example:
Select *
from aTable with (NOLOCK)
| stackexchange/codereview |
I had a problem that was partially solved. To explain it quickly : I have a grid binded to a complex object that require to be serialized. When the object is build back from the serialization, event like on the grid doesn't refresh the table display. Someone told me to rebuild the event once unserialize, it works! But ... | stackexchange/codereview |
Given the Below Tables. How do I get the Distinct name given the other ID of 76 in LINQ?
**Table S**
SID OtherID
------------------------------
1 77
2 76
**Table Q**
QID SID HighLevelNAme LoweLevelName
---------------------------------------
10 1 Name1 Engine
11 1 N... | stackexchange/codereview |
I've noticed for quite a long time that strange domains such like jsev.com, cssxx.com appered in my firefox status bar from time to time, I always wonder why so many web pages contains resources from these strange domains. I googled it, but found nothing. I guess it's some kind of virus which infect the servers and ins... | stackexchange/codereview |
My application hangs. Pressing the home button doesn't return to the springboard anymore. Additionally pressing the power button for 10 seconds doesn't turn the iphone off at all.
Is there any way to force a shutdown?
| stackexchange/codereview |
I'm looking for a free winforms component for an application I'm writing. I basicly need a textbox that contains line numbers in a side column. Being able to tabulate data within it would be a major plus too.
Does anyone know of a premade component that could do this?
| stackexchange/codereview |
I need to perform Diffs between Java strings. I would like to be able to rebuild a string using the original string and diff versions. Has anyone done this in Java? What library do you use?
String a1; // This can be a long text
String a2; // ej. above text with spelling corrections
String a3; // ej. above text with spe... | stackexchange/codereview |
what is the best practice for multilanguage website using DOM Manipulating with javascript? I build some dynamic parts of the website using javascript. My first thought was using an array with the text strings and the language code as index. Is this a good idea?
| stackexchange/codereview |
I need to be able to determine if a part of an image (outside of predetermined crop marks) contains any image content.
Is there a way with ImageMagick (specifically the php interface) to do this?
Scenario:
The canvas is 8.5x11 with .5 in margins on the top, left, and bottom edges and a 1 in margin on the right edge. T... | stackexchange/codereview |
I don't know anything about XPIs but I've searched through the install.rdf, *.js, and *.xul files and found no reference to an array of flash versions, so I cannot clearly see where the version list comes from.
| stackexchange/codereview |
I realise that the view/controller stuff will be different between Mac and IPhone apps but the model code may well be similar/the same. So whats the best way to organise a project(s) so that the model code is/can be shared?
Copy/paste - just duplicate it and manually keep it in sync
Have 2 xcode projects point at th... | stackexchange/codereview |
Has anybody tried creating RawSocket in Android and have succeeded ?
| stackexchange/codereview |
I've opened the cmd in windows and I've created a directory by using md command. After that I've opened a text file via notepad <name>, wrote my program and gave .c extention while saving the file.
How can I compile and run my C program to get an output? I've also other programs in my directory: how can I create .exe f... | stackexchange/codereview |
I am considering creating some JSP-tags that will always give the same output. For example:
<foo:bar>baz</foo:bar>
Will always output:
<div class="bar">baz</div>
Is there any way to get a JSP-tag to behave just like static output in the generated servlet?
For example:
out.write("<div class=\"bar\">");
...
out.write("... | stackexchange/codereview |
Can somebody remember what was the command to create an empty file in MSDOS using BAT file?
| stackexchange/codereview |
My question is quite relevant to something asked before but I need some practical advice.
I have "Working effectively with legacy code" in my hands and I 'm using advice from the book as I read it in the project I 'm working on. The project is a C++ application that consists of a few libraries but the major portion of ... | stackexchange/codereview |
Which industry-class database has the most unique features? (with "unique" meaning that no other RDBMS has them)
I think my choice here is Oracle 11g:
Flashback query (you can estract data as it was a moment in the past)
ASM - automatic storage management
Native code compilation of stored procedures
Audit features (tr... | stackexchange/codereview |
I get to dust off my VBScript hat and write some classic ASP to query a SQL Server 2000 database.
Here's the scenario:
I have two datetime fields called fieldA and fieldB.
fieldB will never have a year value that's greater than the year of fieldA
It is possible the that two fields will have the same year.
What I want... | stackexchange/codereview |
I have this regex I built and tested in regex buddy.
"_ [ 0-9]{10}+ {1}+[ 0-9]{10}+ {2}+[ 0-9]{6}+ {2}[ 0-9]{2}"
When I use this in .Net C#
I receive the exception
"parsing \"_ [ 0-9]{10}+ +[ 0-9]{10}+ +[ 0-9]{6}+ [ 0-9]{2}\" - Nested quantifier +."
What does this error mean? Apparently .net doesn't like the expre... | stackexchange/codereview |
How do I Configuring DoxyGen to document ActionScript files?
I've included the *.as and *.asi files in doxygen's search pattern, but the classes, functions and variables don't show there.
| stackexchange/codereview |
When my browser renders the following test case, there's a gap below the image. From my understanding of CSS, the bottom of the blue box should touch the bottom of the red box. But that's not the case. Why?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-st... | stackexchange/codereview |
How do I set up my execution environment for ESC/Java2 in WindowsXP? And furthermore, how do I build and run, in WindowsXP, projects with ESC/Java2. It is hard to tell from their specifications/readme and documentation, specially considering the fact that they seem to be talking more about Unix based operating systems.... | stackexchange/codereview |
What is the best way to convert between HTML, XML, and XSL-FO in C#?
I already have the HTML (piped in from FCKEditor) and I'd like to print a PDF (I have an XSL->PDF converter). I just can't seem to find a library that will convert from HTML into anything XSL friendly.
| stackexchange/codereview |
I made a simple game for the iPhone using OpenGL ES. Everything works fine except for this problem:
I turn the phone completely off, then back on, then launch my app and I get this wierd flickering! Every other frame is correct... the incorrect frames are just the same frame over and over again. If I quit the app, l... | stackexchange/codereview |
I have a Visual Studio 2005 solution that includes a setup project. The setup project specifies "d:\somefolder" as the Application Folder DefaultLocation property. When installing on a machine without any partitions mapped to "d:", the resulting installer craps out with the message
"The volume d:\ is currently unava... | stackexchange/codereview |
We have a database library in C# that we can use like this:
DatabaseConnection conn = DatabaseConnection.FromConnectionString("...");
This library hides many of the differences between different database engines, like SQL function names, parameter names and specifications, etc.
Internally, the DatabaseConnection class... | stackexchange/codereview |
I am in a situation where I must update an existing database structure from varchar to nvarchar using a script. Since this script is run everytime a configuration application is run, I would rather determine if a column has already been changed to nvarchar and not perform an alter on the table. The databases which I ... | stackexchange/codereview |
Wanted to see peoples thoughts on best way to organize directory and project structure on a project / solution for a winforms C# app.
Most people agree its best to seperate view, business logic, data objects, interfaces but wanted to see how different people tackle this. In addition, isolate third party dependencies... | stackexchange/codereview |
I have data coming from the database in the form of a DataSet. I then set it as the DataSource of a grid control before doing a DataBind(). I want to sort the DataSet/DataTable on one column. The column is to complex to sort in the database but I was hoping I could sort it like I would sort a generic list i.e. using a ... | stackexchange/codereview |
I have a piece of software which is linked against several libraries. They all exists in a dynamic (.so) and a static (.a) version. By default, when using g++ it chooses the dynamic version of the libraries and that's fine with me.
However, one of them absolutely needs to be linked statically. I thought about using -s... | stackexchange/codereview |
I chmod'ed the directory to 777, same with the directory contents. Still, I get a "permission denied" error. Does PHP throw this error if apache is not the group/owner, regardless of the file permissions? Here's the call that's failing:
rename('/correct/path/to/dir/1', '/correct/path/to/dir/2');
| stackexchange/codereview |
So I've created a custom RenderingTemplate and deployed it to CONTROLTEMPLATES\MyControlTemplates\
It basically dictates how a custom content type that i've created should be rendered when displayed. For that I've added this:
<FormTemplates xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
<Displ... | stackexchange/codereview |
Definition of variables in use:
Guid fldProId = (Guid)ffdPro.GetProperty("FieldId");
string fldProValue = (string)ffdPro.GetProperty("FieldValue");
FormFieldDef fmProFldDef = new FormFieldDef();
fmProFldDef.Key = fldProId;
fmProFldDef.Retrieve();
string fldProName = (string)fmProFldDef.GetProperty("FieldName");
string ... | stackexchange/codereview |
We're making the switch from SourceGear Vault to TortoiseSVN with VisualSVN for Visual Studio integration - absolutely love it. However, there are multiple class libraries that we reference in multiple different applications that aren't a part of the working copy root in any of the applications. What's the best way to ... | stackexchange/codereview |
I am trying to get the value of some ListViewSubItems, but I have no idea what values it uses for its keys. I have some simple code:
protected override void OnItemDrag(ItemDragEventArgs e)
{
base.OnItemDrag(e);
ListViewItem item = e.Item as ListViewItem;
string val = item.Su... | stackexchange/codereview |
We may start converting an old VS2003 MFC project to use the fancy new features provided by the MFC Feature Pack and VS2008. Several of the new UI controls would be very nice except for one thing - they automatically save their information to the registry. I don't have a problem with the registry, but for the multiple ... | stackexchange/codereview |
I am using a Session Parameter on an ObjectDataSource. It works fine on the local development machine but I get this error after copying the website to the production server:
Type 'System.Web.UI.WebControls.SessionParameter' does not have a public property named 'DbType'.
| stackexchange/codereview |
Consider the following SQL:
BEGIN TRAN
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
INSERT Bands
( Name )
SELECT 'Depeche Mode'
UNION
SELECT 'Arcade Fire'
-- I've indented the inner transaction to make it clearer.
BEGIN TRAN
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
SELECT *
FR... | stackexchange/codereview |
I would like to append a path to the PATH environment variable in a Visual Studio 2005 deployment project. How does one do this?
| stackexchange/codereview |
Coming from a desktop background I'm not sure exactly how to pass the exceptions I have caught to an Error page in order to avoid the standard exception screen being seen by my users.
My general question is how do I pass the exception from page X to my Error page in ASP.net?
| stackexchange/codereview |
What would be best practice to localize your ASP.NET MVC application?
I would like to cover two situations:
one application deployment in IIS which would handle multiple languages
one language/application deployment.
In first situation should you go with some kind of view based thing like, ~/View/EN, ~/View/FI, ~/Vie... | stackexchange/codereview |
What's the best way to connect to a Informix database from .Net?
I'm developing a client-server application based on a legacy Informix DB which used to be connected by JDBC.
I need it, from the most important to the least:
To be fast
DB server changes not needed
No ODBC and no dependencies, other than de .Net Framewor... | stackexchange/codereview |
I have a SVN repository for my project; it keeps code, docs, graphs, etc. Everything related to the project is there and versioned. However, I am trying to get some kind of intelligent stats for my code. The stat program I am using is StatSVN - they seem to be best of breed as far as I can tell. However, I am getting ... | stackexchange/codereview |
How do I replace the standard system tray clock in the taskbar?
Thanks!
| stackexchange/codereview |
I'd like something like this:
each[i_, {1,2,3},
Print[i]
]
Or, more generally, to destructure arbitrary stuff in the list you're looping over, like:
each[{i_, j_}, {{1,10}, {2,20}, {3,30}},
Print[i*j]
]
Usually you want to use Map or other purely functional constructs and eschew a non-functional programming style... | stackexchange/codereview |
I'm personally an advocate of the ternary operator: () ? :
I do realize that it has its place, but I have come across many programmers that are completely against ever using it, and some that use it too often.
What are your feelings on it? What interesting code have you seen using it?
| stackexchange/codereview |
I imagine there are many of you out there who have developed an application online which automates a lot of processes and saves people at your company time and money.
The question is, what are your experiences with developing that application, having it all set in place, then "spicing" it up with some Ajax, so it makes... | stackexchange/codereview |
We are a small company and would like to know the best possible (and affordable) hardware and software configuration we ought to be using for our development environment. At this moment we are a team of four people who work remotely from different locations and each one of us uses a laptop and ADSL connection to work o... | stackexchange/codereview |
We're using MyFaces, Richfaces & Restfaces to build a website on top of Oracle Stellant CMS. We're not using Site Studio. Are there any widgets/combination of widgets out there that could provide a unified navigation system? The site structure needs to be read from a DB table and CMS metadata fields, and we need a top ... | stackexchange/codereview |
I use TortoiseSVN 1.5.3 and VisualSVN 1.5.3 (Subversion 1.5.2)
Suppose that I create a new branch (/branches/branch1) of the trunk(/trunk) then someone (also using TortoiseSVN 1.5.3) merges their branch back into the trunk.
I try to merge from the trunk into the branch (to aquire all changes which might have beemn mer... | stackexchange/codereview |
Do these two keywords have exactly the same effect, or is there something I should be aware of?
| stackexchange/codereview |
What's the best way to format this for readability?
if (strpos($file, '.jpg',1) && file_exists("$thumbsdir/$file") == false || strpos($file, '.gif',1) && file_exists("$thumbsdir/$file") == false || strpos($file, '.png',1) && file_exists("$thumbsdir/$file") == false) {
createThumb("$gallerydir/$file", "$thumbsdir/$fil... | stackexchange/codereview |
Are there any good resources (books, authoritative guides, etc.) for design patterns or other best practices for software that includes financial accounting features?
Specifically, where is good information about handling issues like the following:
Internal representations of money quantities
Internal representations ... | stackexchange/codereview |
I am using a library that has headers without the .h
This defeats visual studio's intellisense (declaration/definition lookup)
Anyone know how to tell VS2008 that a file is a header?
| stackexchange/codereview |
I've been using various source control systems for a while, but when it comes to reverting changes I'm not yet an expert. Can someone help given this scenario:
Scenario
Given a bug was introduced in revision #5
And 3 files were changed in revision #5
And changes in 2 files were responsible for the bug
When the custome... | stackexchange/codereview |
I have an ASP.NET website and when I press F5 it automatically attaches to the ASP.NET Development Server, how do I attach to IIS worker process instead when I press F5?
| stackexchange/codereview |
I have an XML document, and contained within one of the nodes, I have <li> tags. I don't need <ul></ul> tags for Flash because it only accepts <li> tags anyway. For example, here's part of the XML doc:
<node>
<li>item1</li>
<li>item2</li>
</node>
I want to put all the data within the <node> tags, with bullets, into ... | stackexchange/codereview |
I am using a C lexer that is Flex-generated, and a C++ parser that is Bison-generated. I have modified the parser to acccept only string input.
I am calling the parser function yyparse() in a loop, and reading line by line of user input. I stop the loop if the input is "quit".
The problem I am facing is that when input... | stackexchange/codereview |
Recently, I noticed some people mentioning that std::list::size() has a linear complexity.
According to some sources, this is in fact implementation dependent as the standard doesn't say what the complexity has to be.
The comment in this blog entry says:
Actually, it depends on which STL you
are using. Microsoft Vis... | stackexchange/codereview |
Okay I know I asked about this before, and the answer was basically cache data that doesn't change often.
Well what does one do when at least 99.9% of the data changes?
In my project the only tables that doesn't get updated or won't get updated frequently would be the member profile info (name/address, and settings)
So... | stackexchange/codereview |
Using SQLite3 with Python 2.5, I'm trying to iterate through a list and pull the weight of an item from the database based on the item's name.
I tried using the "?" parameter substitution suggested to prevent SQL injections but it doesn't work. For example, when I use:
for item in self.inventory_names:
self.cursor.... | stackexchange/codereview |
I'm debugging a Cocoa application that can act as a handler to a custom URL protocol. The application works fine when I click on a link after the application has launched, but something is causing the app to crash if it has not launched at the time the link is clicked.
Is there any way that I can start the app in the d... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.