instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I want to overwrite ScrollBar, so i want to view its sourcecode. Not ControlTemplate.
| stackexchange/codereview |
I was wondering what values are valid in the HTML5/XHTML role attribute?
| stackexchange/codereview |
Why using try catch is bad for application performance?
I'm not saying about using try catch 100 times. Actually when i use it thousands of time.
Is it really causes problems for performance?
Thank you
| stackexchange/codereview |
I have an example C function that I would like to attach to a database temp.sqlite (it's from an O'Reilly book, so I know it works). I read the section in the book and sqlite.org, but they assume away that I know how and where to compile this thing with the proper settings. I'm on either Mac (with XCode) or Ubuntu.
I k... | stackexchange/codereview |
I've got my web forms site (4.0) setup with UrlRouting.
My bread crumb appears when I go to
http://Localhost/Home
http://Localhost/List
My main issue is with http://Localhost/
Since it's defaulting to http://Localhost/default.aspx in IIS
I'm trying to avoid the route of adding another element to the sitemap xml lik... | stackexchange/codereview |
How do I import/export data to/from my iPhone app using email?
| stackexchange/codereview |
I have the following
Dictionary<string,string> dict1 has 3 items
"A"="1.1"
"B"="2.1"
"C"="3.1"
Dictionary<string,string> dict2 has 3 items
"A"="1.2"
"B"="2.2"
"C"="3.2"
Dictionary<string,string> dict2 has 3 items
"A"="1.3"
"B"="2.3"
"C"="3.3"
I want a final Dict dictFinal which is of type Dictionary<string,string[... | stackexchange/codereview |
I'm trying to use the Unix "sed" command form within a tcl file, like this:
(to change multiple spaces to one space)
exec /bin/sed 's/ \+/ /g' $file
I also tried exec /bin/sed 's/ \\+/ /g' $file (an extra backslash)
none of the version work, and I get the error
/bin/sed: -e expression #1, char 1: Unknown command: `'... | stackexchange/codereview |
Is it possible to distribute HTML 5 IPhone application via AppleStore?
| stackexchange/codereview |
I have a C# class that I have inherited. I have successfully "built" the object. But I need to serialize the object to XML. Is there an easy way to do it?
It looks like the class has been set up for serialization, but I'm not sure how to get the XML representation. My class definition looks like this:
[System.CodeDom.C... | stackexchange/codereview |
I want to call a compiler (nonstandard) located in a folder inside my Java application. So I wrote this code:
Process p = Runtime.getRuntime().exec("closures/bin/javac " + filename);
It worked!
But now I want to pack this compiler along with my .class files in a .jar file. My folder structure is something like that:
... | stackexchange/codereview |
I have alway tested/debugged my web applications by using f5 to "Start Debugging". Recently (yesterday) I have begun to start without debugging then attach the debugger to the webdev process if I needed to set breakpoints or anything. So far I haven't noticed much of a performance increase when not using the debugger... | stackexchange/codereview |
Does anyone know of a way to prevent access to, or highlight, a specific day in a Sharepoint calendar? The intent is to show which day(s) are not available for a given task.
I have already fashioned a Workflow that would email a user, but it needs to be visual as well - people need to see at a glance what days are avai... | stackexchange/codereview |
I am facing a problem, I have a application with several setting's files but which have exactly the same fields.
Sample :
Profil1.settings
Profil2.settings
Profil3.settings
What I'd like to do in my setting window XAML is to dynamicaly change the binding source for each profile.
At the moment my XAML binding look li... | stackexchange/codereview |
I'm making an ajax call and receiving back what it supposedly json resopnse. I first need to know if this json is even well-formed, and if it is then how do I parse it with jquery? Here's what it looks like. They're only 2 records.
When I alert(response); I get
[object Object],[object Object]
and when I console.debug(... | stackexchange/codereview |
How can show arabic numbers in label?
better is i say how can i convert en numbers to arabic numbers.
like ۱و۲و۳و...
iphone
| stackexchange/codereview |
How can I determine if my radio buttons are selected?
For example:
if ( radio_button_selected ) {
// do something
} else {
// do something else
}
| stackexchange/codereview |
I'm going through the Python tutorial, and I got to the section on modules.
I created a fibo.py file in Users/Me/code/Python (s
Now I'm back in the interpreter and I can't seem to import the module, because I don't understand how to import a relative (or absolute) path.
I'm also thoroughly confused by how and if to... | stackexchange/codereview |
I only need to copy a file from a remote server to a local PC if:
No target file on local PC yet.
Source file on server is newer than target on local PC.
Source file is 4 MB so I want to avoid copying every time.
// File copy if target doesn't exist or source is newer:
if (File.Exists(filenameSource))
{
if (File.Ex... | stackexchange/codereview |
When using CSS3 gradients, should we be using background-image or just background to apply them?
eg:
background: #CCC;
background: -moz-css3-gradient-code;
background: -webkit-css3-gradient-code;
or
background: #CCC;
background-image: -moz-css3-gradient-code;
background-image: -webkit-css3-gradient-code;
| stackexchange/codereview |
Hey, I'm new to Clojure and Leiningen and a bit stuck. I've managed to setup a project with Leiningen. I'm able to compile it into an uberjar and run the repl. I've also managed to load a dependency named aleph to run a simple concurrent webserver.
The next step for me is to use redis-clojure to access redis. But here ... | stackexchange/codereview |
Why is the dialog only draggable within the viewpoint? A simple div element may be draggable outside the viewpoint (please see the picture at savepic.net/187084.jpg); what I am looking for is to make the dialog draggable outside the viewpoint too. What is the option to provide? Please consider the code at http://jsfidd... | stackexchange/codereview |
Is there a better way to do this?
SELECT * FROM mytable WHERE column=something ORDER BY date LIMIT 0,1;
EDIT:I have a table with columbs: ID Name Date. I want to get the most recent entry (using the date column) where Name is Bob.
| stackexchange/codereview |
I'm trying to set up a server. I intend to use firefox as a client. The idea is to write down a certain path for a dir in your computer and the server to display the contents of that dir.
I created the socket binded it etc. Everytime there is a connection the server reads the request from the socket and opens the app... | stackexchange/codereview |
Hi is there any way to create something similar to Window.alert() in GWT?
Basically I wanted to customize the Window.alert()'s "Ok" button to say something else but
as I researched there is no way to customize the alert boxes.
Thanks.
| stackexchange/codereview |
$test['test'] = 'test';
if(isset($test['test']['x']))
return $test['test']['x'];
This statement returns the first character of the string in $test['test'] (in this case 't'), no matter what is specified as dimension 2.
I can't wrap my head around this behavior. I use isset() all the time. Please advise.
| stackexchange/codereview |
I have my site search engine functioning exactly the way I want, save for one nagging issue: I want to be able to show the kind of search body that all search engines show where they highlight 1 to 3 sentences that contain your search term(s) in my results.
My Googlefoo is not strong on this one, so I'm hoping someone ... | stackexchange/codereview |
I'm new to Flash and trying to communicate with an app engine server but I'm having some encoding problems.
var playerLoader:URLLoader = new URLLoader();
playerLoader.addEventListener( Event.COMPLETE, function(e:Event) { doStuff(); } );
var requestVars:URLVariables = new URLVariables();
requestVars.q = "åäö";
var urlR... | stackexchange/codereview |
My C application needs to connect to an Http server and get a response, and I'm having some trouble connecting to a server that isn't running on port 80.
I'm using the Django development server on port 8000 instead of Apache in my development environment. But I did just test connecting to my Django page on Apache on p... | stackexchange/codereview |
I would like to configure logging in my application with log4j.properties and instruct (somehow) all third-party packages/modules to log through this configuration. Now they log differently and it's a mess: OpenEJB, Hibernate, Apache HttpClient, Jersey, etc. How can I do this? I want to work with log4j only.
| stackexchange/codereview |
I have an exe that runs under the context of the logged-in user. The exe uses WCF to make itself a named pipe server (it will be called by multiple clients).
Does the user need a specific permission for the exe to be able to create the named pipe? I've tried running as a user with fairly minimal permissions (i.e. just ... | stackexchange/codereview |
Anyone know how I can check if a role already exist in a Sybase database ... i have the name of the role
There is a sysroles table but no name column!
select * from sysroles
| stackexchange/codereview |
i want to write a program that will create a file by passing the string to the shell at program executes . this can be done by the system()
but i want to use this function , for many arguments in a loop . using system(char *) its giving error . is there any other way
i tried a lot plz somebody help... | stackexchange/codereview |
I have an internal facing webserver with various apps running inside the default website on port 443 (SSL).
I wanted to install MOSS 2007 on the same server and rum a portal/collaboration app using the same port 443. I was under the impression that if you use host headers, you can do that. It turns out it is not the ca... | stackexchange/codereview |
I'm stuck to figure out how to write a query. Basically I've three tables (Orders, Products, Orders_Products) which I want to join together and apply some filtering.
Orders table:
ORDER_ID CUSTOMER_ID
1 1
2 2
Products table:
PRODUCT_ID PRODUCT_NAME PRODUCT_TITLE
1 'P1' ... | stackexchange/codereview |
I'm developing a program on MacOSx that uses third party jar files that all use JNI to call C functions.
How can I include those on my build path and set the java.library.path to use the external dependencies properly ?
I would like to avoid having to install anything in my maven repository. This is important since I'... | stackexchange/codereview |
Does anyone know a good way to fire a callback function on the slideUp event only during a slideToggle? The default callback function fires on both slideUp and slideDown.
Thanks!
| stackexchange/codereview |
Everyone knows that there is cache in session.
This cache generally could be cleared by 2 methods:
Session.Evict
Session.Clear
Second method removes all cache not only for single entry.
I have business method. It receives id of large object (from aspx site) or sometimes several ids. And do native sql operation in dat... | stackexchange/codereview |
Probably a stupid question but I'm relatively new to Rails and wondering how Rails handles serializing a model that has_many (and/or belongs_to) objects of another class. Will it serialize the whole object graph by default? Do you, necessarily, want that? Can you control it? How?
Any tricks on the receiving end regard... | stackexchange/codereview |
I'm curious as to how Google's instant search feature maintains two separate font colors within a single input[type=text] element. Black for the user input and gray for the recommendations. Thanks
| stackexchange/codereview |
I want to add some HTML as users type things into a contenteditable. For example,
$('body')
.delegate('div[contenteditable=true]', 'blur keyup paste',
function(){
var html = this.innerHTML;
html.replace( "a", "b" );
this.innerHTML = html;
});
Well for one, this doesn't appear to replace an... | stackexchange/codereview |
I'm using PhoneGap and Sencha Touch to display a form. I'm using an image as the button to submit it:
<img id='submit' src='button.png' />
I'd like to then listen to it be clicked and validate the form. If I try the following it never seems to fire:
Ext.get('submit').on('click', validateFn);
Am I missing something ob... | stackexchange/codereview |
I am working in a desktop application created in java. we are working for windows version (for running on windows O.S.) of the application. When we run our application, it creates a tray icon on desktop by using systemtray as
SystemTray tray = SystemTray.getSystemTray();
I am creating single instance of the system tra... | stackexchange/codereview |
I've created a custom UIView class FormDropdown, which contains a question & button in the nib. In the class is also an NSArray property which is supposed to store the various options for the button.
So a button can be placed by doing this, in for instance a viewDidLoad method:
FormDropdown *dropdown = [FormDropdown d... | stackexchange/codereview |
Hey, ive a problem with my assigned variable in smarty.
I want to assigns some values to an other template, but it doesn't work correctly. The problematic line is here:
{{include file="lib/topmenu_item.tpl" onclick="load_from_php('pageBody', '{{$base_url}}index.php/datasources/grouping', 'grouping', this);" node="data... | stackexchange/codereview |
I need to create a link that point to another website, not to the portal itself trought ajax call. I write this at the moment :
InlineLabel fv1=new InlineLabel("Validator W3C : ");
InlineHyperlink linkfv1 = new InlineHyperlink("HTML" , "http://validator.w3.org/");
InlineLabel fv2=new InlineLabel(" | ");
InlineHyperlin... | stackexchange/codereview |
How to convert lower case ASCII char into upper case using a bitmask (no -32 allowed)?
I'm not asking for solving my homework, only some hints.
Thanks
| stackexchange/codereview |
I would like to push the regular expression evaluation down to a mysql database. Therefore I am looking for a way to transform a Java regular expression into a Mysql regular expression. Has anybody experience with such an issue?
| stackexchange/codereview |
I am having a problem getting Haml to close br tags. I have tried the following with no luck:
%br
%br/
I expect this to result in <br />, but it always outputs as <br>, even with the slash character on the end. I have also tried adding the following options to application.rb (and I tried environment.rb)
Haml::Temp... | stackexchange/codereview |
I want to be able to get the argument portion of the previous command. $^ seems to return just the command and not the args. Get-History -count 1 returns the last full command including the command and the args. I could just .Replace the first instance, but I am not sure if it is correct.
Scenario is that sometimes I w... | stackexchange/codereview |
this is my program
tran('father','otosan').
tran('father','chichiwe').
tran('mother','okasan').
tran('mother','hahawe').
tran('hi','ohayo').
tran('good night','oyasemi').
tran('good bye','sayonara').
tran('do your best','gambaru').
tran('please','onegai').
tran('sorry','gomen').
tran('thank you','aregatto').
tran('cute... | stackexchange/codereview |
This seems simple enough, but I can't seem to find the setting in Eclipse to change this setting.
I prefer my consoles to have dark colors with white text. I leave the print to stderr as the red default.
My problem lies in when I receive an Exception, it's set to a very dark blue, so I can't see the text of it easily ... | stackexchange/codereview |
I want to show a popup about browser compatibility to the users visiting my website. I have used the popup in about 5 pages and it would be annoying for the users to see the same popup for more than once when they visit my website. So I am thinking to use a session and kill it when the user closes the poup. IT should ... | stackexchange/codereview |
What does unsubscriptable mean in the context of a TypeError as in:
TypeError: 'int' object is unsubscriptable
EDIT:
Short code example that results in this phenomena.
a=[[1,2],[5,3],5,[5,6],[2,2]]
for b in a:
print b[0]
> 1
> 5
> TypeError: 'int' object is unsubscriptable
| stackexchange/codereview |
Me and a colleague were discussing the best way to build a website last week. We both have different ideas about how to store content on the website. The way I have always approached this has been to store any sort of text or image link (not image file) on to a database. This way, if I needed to change a letter or a se... | stackexchange/codereview |
The following replacement
"index.html".replace('\.html$', '_fr.html');
returns "index.html", indicating that the first argument didn't match anything. However, if I remove the "$"
"index.html".replace('\.html', '_fr.html');
then the first argument matches and "index_fr.html" is returned.
Returning to the first exampl... | stackexchange/codereview |
I need to set the name attribute of my GUI components to the variable name they are assigned to.
Do you know any eclipse plugin which can perform this?
I thought of using AspectJ but I got no idea how to fetch the variable name for assigning to the name attribute of the according GUI component.
Best regards.
| stackexchange/codereview |
Is there a Way I can display PDF Document within a WPF app? I was able to do on a Windows XP Box with Acrobat 8.x installed. But on windows 7 with Acrobat 9.x installed, those ActiveX controls are not available anymore... Is there an alternate control I should be looking for?
| stackexchange/codereview |
I'm trying to access a publicly-hosted SOAP web service (not WCF) over https, and I'm getting an error that I've never seen before. First, here are the facts:
This service requires client certificates. I have a certificate that is signed by the same CA as the server's certificate.
I know that the URL is available, as ... | stackexchange/codereview |
gcc 4.4.4 c89
I have the following in my state.c file:
enum State {
IDLE_ST,
START_ST,
RUNNING_ST,
STOPPED_ST,
};
State g_current_state = State.IDLE_ST;
I get the following error when I try and compile.
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_current_state’
Is there some wit... | stackexchange/codereview |
Is there a way with PHP to get the Avatar from the Gravatar website?
| stackexchange/codereview |
I’m trying to solve one programming mystery (to me). I have searched with Google but I have found nothing about the use of semicolon in the AttributeName property of XmlAttribute. I’m working with an application that serializes an object. When this object is serialized all the attributes has the same value as a postfix... | stackexchange/codereview |
I have a Rails site that uses Devise for authentication. I have one page (PhotosController#create) that needs to authenticate users without cookies. I'm doing this with the :token_authenticatable module of Devise, which authenticates a user if the supplied token matches the token stored on the server side. (See this... | stackexchange/codereview |
Ok here's my scenario (be kind, only been using Python for a short while):
I have a service I'm calling and need to run several iterations of the same test with a different variable passed to the method. I am able to run iterations against a single method just fine but I need the variable to change per each test and w... | stackexchange/codereview |
In rails 3.0, I'm trying to get exception handling around middleware code. Specifically, if a request comes in with a content-type: application/json but an invalid json input, rails currently renders public/500.html - which is unfortunate.
Since this isn't in a controller yet, most of the things I've seen don't work/a... | stackexchange/codereview |
I've got a database but I forsee a problem with the speed.
Because all my data is saved seperately
Product table:
id int auto_inc PRI
name var_char(64)
attribute_table:
attr_id int auto_inc PRI
name var_char(64)
attribute_value:
attr_id int
product_id
value
but when I do a advanced search I get enorm querys like
s... | stackexchange/codereview |
I have class name called "Address" in two namespaces. Its been two EDMX files, so it holds
different namespace in client side. I have another class "Vendor" and it holds object of "Address" class. In one situation i have to convert from one namespace to another namespace.
How i can achieve this.
| stackexchange/codereview |
The old C stdio facilities provided a way to pass along a variadic argument set using the vprintf facilities.
Is there a similar way to pass along a C++0x variadic template parameter pack without expanding it?
This might be useful if you have a derived class constructor that takes a variadic template parameter pack, an... | stackexchange/codereview |
I'm trying to find a Silverlight player to work in WordPress and also with .isml files ( Smooth Live Streaming ) or .ism files( Smooth Streaming ).
The streaming is Microsoft IIS Streaming.
I tried this one : http://wordpress.org/extend/plugins/smooth-streaming-player/ , but I can't set the correct path to the .isml fi... | stackexchange/codereview |
Ok, I have an default.aspx page that I'm trying to have redirect the user to a different page depending on whether or not their deviceId is stored in the SQL Server database. It should direct the user to the login.aspx if the record for the user is found or to the newdevice.aspx page if there was no record found. I w... | stackexchange/codereview |
Need to INNER JOIN a resultset returned by UPDATE OUTPUT with another table and return results. Is it possible?
Here is a small example:
CREATE TABLE [dbo].[Customers]
(
[CustomerId] [int],
[CustomerName] [nvarchar](50)
)
GO
CREATE TABLE [dbo].[Orders]
(
[OrderId] [int],
[OrderName] [nvarchar... | stackexchange/codereview |
I'm coming from postgresql to mysql, curious if mysql has an expanded output flag similar to that of postgresql?
ie: in psql I could \x to get expanded output
id | name
---+-----
1 | foo
into
-[ Record ]------
id | 1
name | foo
how can I do this in mysql?
| stackexchange/codereview |
usually when tapping the top of the screen the tableview scrolls all the way to the top. For some reason this doesn't work in one of my view controllers.
The hirarchy is as follows:
UIView
-> WebView
-> TableView
----->SearchBar
SearchDisplayController.
I think I have everything hooked up correctly (datasource, delegat... | stackexchange/codereview |
I have a Car entity with a many-to-one relationship with an entity Owner. If I select all cars, Doctrine does one query on the Car table, and subsequently one query on the Owner table for each car. So fetching N cars becomes N+1 queries instead of a single JOIN query between the Car and Owner tables.
My entities are as... | stackexchange/codereview |
Just did a fresh Install of Eclipse 3.5 and the Android Platform (SDK's and ADT). I've done this a few times on different machines and so I'm pretty sure I've got everything configured properly.
Tried importing an Android project and received the following error in the console window:
"Android requires .class compatibi... | stackexchange/codereview |
I want to run simple HTTP server on LAN to test it, how can I bind my local ip to this server so that everyone in the same LAN can see it?
addr = ("192.168.10.14", 8765)
srvr = HTTPServer(addr,RequestHandler)
I get this error :
error: [Errno 10049] The requested address is not valid in its context
| stackexchange/codereview |
I have a listbox that has its ItemsSource set to a Dictionary(Of String, ColumnMetadata). ColumnMetadata is a structure. I can easily get the DisplayMemberPath to show the keys by setting it to "Key", but I can't figure out how to get it to show a member of my structure.
I've tried settings DisplayMemberPath to "{Bindi... | stackexchange/codereview |
I'd like to show the keyboard and get user input without a text field. How can this be done?
| stackexchange/codereview |
Need a hand with some javascript and maybe its a friday thing, but im stuck...
I am making a custom jQuery carousel and im tring to make dynamic paging.
To simplify the issue (have added hard coded values), at the moment this code:
for(var i = 0; i < 3; i++) {
$('.paging').append('<a href="#" rel="0">Test</a>');
}
ou... | stackexchange/codereview |
I have these namespaces from old code that I am trying to bring over to 3.5. As a result, .NET is not finding them and a lot of my objects aren't defined.
Imports Microsoft.Web.Services
Imports Microsoft.Web.Services.Security
Imports Microsoft.Web.Services.Security.X509
Imports System.Diagnostics
Imports System.IO
Impo... | stackexchange/codereview |
I am following up with my question here
Drawing wrapped text
I see rotating working when I don't use the Textlayout but then it does not fit so I need to wrap but the LineBreakMeasurer does not work.
Either I am missing here something completely since it should not be too hard as I guess
| stackexchange/codereview |
Anybody knows the point of not having a generic RoutedEventHandler? We already have EventHandler<> which is great, why force devs to write their own custom routed event handlers?
| stackexchange/codereview |
I have a custom java program which produces a Comma Separated Values (CSV) file. It uses the following output format:
a,b,c
My users complain that my CSV file is not in the "MS-DOS CSV" format. They provided me with a file in the "MS-DOS CSV" format. I ran diff on my CSV file against their "MS-DOS CSV" file. The two ... | stackexchange/codereview |
I have a new version branch and my trunk.
Whenever I commit a bug fix or an enhancement related to the current version I would like it to automatically sync between the trunk and the new version branch and let me resolve conflicts as I please.
How can it be done?
| stackexchange/codereview |
I have a HBitmap I am recieving from an API i am using to convert pages in PDF documents. The resulting bitmap is 24 bit color bitmap. I am trying to determine, using black and white scanned images that were made into pdfs, are black and white on the resulting bitmap from Foxit. Foxit is the PDF API. Here is some Code!... | stackexchange/codereview |
How do you access the contacts store (the contact list) within Windows Phone 7?
Thanks!
update: It seems that this might be available in the next version of WP7, Mango:
Link
| stackexchange/codereview |
Follow Up Question: I noticed with the
binaryformatter that all I had to do
was mark the oject as serializable.
Looks like with the DataContracts I
have to mark each and every property I want serialized.
Is that correct?
How do I serialize my object to a file to where I can read and make changes to my seria... | stackexchange/codereview |
Currently i'm trying to create a container B which is within another container A.
Container B is invisible by default, when entering container A it is supposed to turn visible and be interactive. (imagine container B as a button)
i'm using the following code
<fx:Script>
<![CDATA[
protected function mouseOve... | stackexchange/codereview |
I'd like to use SHA-1 as index keys for my data. In the during the app approval process, does iTunesConnect consider using SHA-1 as an app with encryption embedded? Thanks!
| stackexchange/codereview |
I have a custom listview in which one textview and one checked box is in each row.
When I click the ckeckbox, I want to add the value from TextView to database and to display a Toast message in the view. The database insertion is working fine. But the application is stopping suddently, and the Toast message is not sho... | stackexchange/codereview |
I'm trying to produce a Winforms report in my .NET application. Our users want to know for a specific welder what type of welds they have done between two dates. The users also need proof that this weld has been completed. The front end is straightforward but I'm struggling on how to get the data.
I have the following... | stackexchange/codereview |
I've set up a joomla webpage which is currently being hosted at a temporary url. When I enable the SEF url's all links point to the default/home page.
Haven't found forum with this problem/solution.
please help!
| stackexchange/codereview |
In Windows, stack is implemented as followed: a specified page is followed committed stack pages. It's protection flag is as guarded. So when thead references an address on the guared page, an memory fault rises which makes memory manager commits the guarded page to the stack and clean the page's guarded flag, then i... | stackexchange/codereview |
I have a table and I'm trying to add a unique index on two columns. Those columns are also indexed. So my question is if I just can remove the indexes who were just for one column or if I have to use all three indexes:
add_index "subscriptions", ["user_id"]
add_index "subscriptions", ["content_id"]
add_index "subscript... | stackexchange/codereview |
I need to scrape some details from a website. It loads certain details in Ajax after a button click. Is it is possible to scrape the details from this link?
It loads the details when the + button is pressed.
| stackexchange/codereview |
I got a file stream:
tempOutputStream = new FileStream(sTempFileName, FileMode.OpenOrCreate,
FileAccess.ReadWrite, FileShare.ReadWrite);
Once the file is created you can create additional FileStreams to read/write tempOutputStream.
Is there a way to close all of them not having a ref to each stream obj? Or at lea... | stackexchange/codereview |
I am having trouble inserting row with xbl components at a particular position. It works if I insert row at the end but if I try to insert row in the middle then xbl components init method is not called.
Here is the xhtml.
<xhtml:head>
<xforms:model id="main"
xxforms:session-heartbeat="true"
... | stackexchange/codereview |
I have a file reader that reads n bytes from a file and returns a string of chars representing that (binary) data. I want to read up n bytes into a numpy array of numbers and run a FFT on it, but I'm having trouble creating an array from a string. A couple lines of example would be awesome.
Edit:
I'm reading raw binar... | stackexchange/codereview |
Suppose I have a list of type list<boost::any> that has some type in it that is unknown. Now suppose I want to apply some operation to the elements in the list that is polymorphic. In this case, consider the + operator. Suppose that I know that the list will always contain a homogenous set of objects that support opera... | stackexchange/codereview |
Objective: Convert an overgrown Excel sheet into an Access database, but maintain a front-end that is familiar and easy to use.
There are several aspects to this, but the one I'm stuck on is one of the input forms. I'm not going to clutter this question with the back-end implementation that I have already tried beca... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.