instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I'm trying to create a http://domain.com/NotAuthorized page.
went to Views\Shared and added a View called NotAuthorized witch originates the file name NotAuthorized.aspx
in my Routes I wrote
routes.MapRoute(
"NotAuthorized", // Route name
"NotAuthorized.aspx" // Route Url
);
but every time I access http://do... | stackexchange/codereview |
So, I have this new project. My company uses the SalesForce.com cloud to store information about day-to-day operations. My job is to write a new application that will, among other things, more seamlessly integrate the CRUD operations of this data with existing in-house application functionality.
The heart of the Salesf... | stackexchange/codereview |
I have a UINavigationController that I instantiated programatically.
Is there a way to set the background to an image (how its done on many sites) instead of standard text.
I have found some code by overriding GRect but it ever gets called
-(void)drawRect:(CGRect)rect {
CGRect currentRect = CGRectMake(0,15,200,25);
UI... | stackexchange/codereview |
I've got an xml file. It is meant for being transformed by xslt processor. The specific template is ready, however it use some information from two additional xml files. All information is used to produce the proper output.
It works fine when I open the main xml file with my browser. The problem is: the result is just ... | stackexchange/codereview |
i need to know how to get VS2010 to recognise my directx file which is producing the error (see question title).
Im pretty sure i need to add the line:
"C:\Program Files(x86)\Microsoft Directx SDK(June 2010)\Include
but im not entirely sure how to do this in 2010, so could someone help me please?
| stackexchange/codereview |
I know that polymorphism can add a noticeable overhead. Calling a virtual function is slower than calling a non-virtual one. (All my experience is about GCC, but I think/heard that this is true for any realcompiler.)
Many times a given virtual function gets called on the same object over and over; I know that object ty... | stackexchange/codereview |
I have used
<div style="clear: both"></div>
to clear the floats... and have seen cases where it is
<div style="clear: both; height: 1px; line-height: 1px"></div>
and have seen clearfix, and some with a hidden . and make it the same color as the background. Now Compass and Blueprint also have a +clearfix. What is t... | stackexchange/codereview |
I have a problem validating a given XML file in PHP.
This works with a given $myFile xsi schema:
function validate($file){
$xsi = $myFile;
if(@!$this->dom->schemaValidate($xsi)){
$warning = error_get_last();
throw new Exception ('XML validation of file "'.$this->file.'" failed: '.$warning['messa... | stackexchange/codereview |
I have the following matrix multiplication code, implemented using CUDA 3.2 and VS 2008. I am running on Windows server 2008 r2 enterprise. I am running a Nvidia GTX 480. The following code works fine with values of "Width" (Matrix width) up to about 2500 or so.
int size = Width*Width*sizeof(float);
float* Md, *Nd, *Pd... | stackexchange/codereview |
I am using Visual Studio 2008 (C#). Is there any better way to write this code? I am a poor programmer.
#region Properties
public string ItemCode
{
get { return _itemCode; }
set { _itemCode = value; }
}
public string ItemName
{
get { return _itemName; }
set { _itemName = value; }
}
public decimal? Sto... | stackexchange/codereview |
Can I listen to hotkeys with safari extension?
I want to respond to Cmd+SomeKey with action done by extension, but I've read intro on apple developer and there is nothing about hotkeys.
You can add custom buttons to the Safari toolbar, create bars of your own, add contextual menu items, display content in bars or tabs... | stackexchange/codereview |
I am getting an error when trying the following in C#
if (state != 'WI' && state != 'IL')
That statement is giving me an error that states: Error operator != cannot be applied to operands of type 'string' or 'char'
If this is not possible what is a way to accomplish my goal.
| stackexchange/codereview |
I have a website directory where I need to change all hardcoded links from one domain to another. Looking for a single (grep? sed?) bash command that will allow me to change all occurrences of text in all files in the directory?
| stackexchange/codereview |
All I want to do is
node.Attributes["class"].Value
But if the node doesn't have the class attribute, it crashes. So, I have to check for its existence first, right? How do I do that? Attributes is not a dict (its a list that contains an internal dict??), and there's no HasAttribute method (just a HasAttributes which i... | stackexchange/codereview |
So lets say I have some code like below to pull data from another access file:
Sub ADO_Recordset_OpenTable()
Dim rs As ADODB.Recordset
Dim cn As ADODB.Connection
Dim MyPath As String
MyPath = CurrentProject.Path
Set cn = New ADODB.Connection
cn.Provider = "Microsoft Jet 4.0 OLE DB Provider"
cn.ConnectionString =... | stackexchange/codereview |
Here is a minimal script to reproduce that
#!/usr/bin/env python
import pygame
screen = pygame.display.set_mode((640, 480))
screen.fill((255, 255, 255))
screen_half = screen.subsurface((0,0, 640/2.0, 480))
print screen.get_locks()
print screen_half.get_locks()
screen_half.blit(screen_half, (0, 0))
the output is
()
(... | stackexchange/codereview |
Will WPF die out and be replaced by a silverlight that continues to be improved ? What is the direction of bothh ...i am asking as i have heard of MS possibly dumping WPF primarily because of percieved or actual performance impact on the snappyness etc of the UI.
http://www.zdnet.com/blog/microsoft/microsoft-our-strate... | stackexchange/codereview |
I am working on a client / server system:
There is a database, an application server and a user interface (client) app. The application server handles connections from the client applications which in turn talks to the database when the client app requests a list of users for instance, or a particular object by id.
Cu... | stackexchange/codereview |
So I made few text fields on the stage and launched the movie.
It appears that when I turn on the "Show redraw regions" and try to click on the text field it shows it's redrawed.
When is set the mouseEnabled property for this text field to false and try to click on the text field it doesn't show it's being redrawed.
B... | stackexchange/codereview |
I have been struggling to get the images displayed in an SWT TableItem to scale. I have a listener which scales the fonts correctly, and I have confirmed that the images being set into the TableItem are correctly scaled. I know that the scaled images are being successfully set into the TableItem, because I can even c... | stackexchange/codereview |
I'd like to write the name of the currently running method to a log. I know I can manually type the name of each method into the string being written to the log but I'd like something more automated and reusable. I assume this can be accomplished using reflection but I don't know where to start with this.
Any suggestio... | stackexchange/codereview |
I' m using a simple context menu on an NSTableView. In order for the right-click to pop it up I' ve used IB bindings and connected the "menu" outlet of NSTableView to my contextMenu instance(NSMenu). (I don't need more complex code to programmatically fill the menu, etc). It seems to work fine, but when I right-click o... | stackexchange/codereview |
I downloaded the SynEdit Unicode Vervion ( UniSynEdit ) , it contains packages of D5-D2009 , but i want to install it in Delphi 2010 ! , I loaded D2009 Package in D2010 IDE , It compiles successfully but there is no Menu item for Installing Package ! :
How can i install it in Delphi 2010 ? ( Notice that it compiles su... | stackexchange/codereview |
What is the best and most flexible way of maintaining different version of documents for a web application?
Let's say you have a Pet store web application.You need to make changes to a printable document with info of your Pet, but these changes are only effective for every Pet object created from a x date , but for Pe... | stackexchange/codereview |
I'm looking for a lightweight MVC Ruby framework for developing an ExtJS application.
I started with Rails 3.0, but I feel that I'm struggling with the ActionPack (which I don't really need).
Since all the UI (view) is done in ExtJS, I don't need any rendering support. What I do need is a routing infrastructure (for RE... | stackexchange/codereview |
The two methods below each serve the same purpose: scan the content of the post and determine if at least one img tag has an alt attribute which contains the "keyword" which is being tested for.
I'm new to xPath and would prefer to use it depending on how expensive that approach is compared to the regex version...
Meth... | stackexchange/codereview |
Related to this question
I have created my own DateValidationAttibute to make sure a string is in a valid date format (e.g., MM/DD/YYYY)
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false)]
public class DateValidationAttribute : DataTypeAttribute
{
public DateValidationAttribu... | stackexchange/codereview |
I believe the cursor over a textbox is called a caretbrush.
There are times application is run without a keyboard/ mouse (eg: Kiosk), so I will put up a virtual keyboard for the user.
The virtual keyboard appends to the textbox programmatically.
When I focus on the textbox, irregardless of have any text in it, the c... | stackexchange/codereview |
I'm looking to output an integer using pure assembly. I'm using nasm on a 64-bit linux machine. At the moment I'm looking for a way to output integers to debug a compiler, but I want to use the same code for writing an OS, which is also the reason I don't simply use printf(). After much searching and frustration I have... | stackexchange/codereview |
I know you can find the first and last elements in a treeset. What if I wanted to know what the second or third element was without iterating? Or, more preferable, given an element, figure out it's rank in the treeset.
Thanks
EDIT: I think you can do it using tailset, ie. compare the size of the original set with t... | stackexchange/codereview |
I am using FB.init to connect using FB connect javascript APIs. I have tested the behavior on FF and IE and it works absolutely fine. I get the expected callbacks, but for Safari, the callbacks are not received. Can someone help me with this.
Following is the code I am using to connect:
FB.init("<?php echo $api_key;?>"... | stackexchange/codereview |
I have the following code:
<ribbon:Ribbon.ApplicationMenu>
<ribbon:RibbonApplicationMenu ToolTipTitle="Application Menu">
<ribbon:RibbonApplicationMenuItem Header="Company"
x:Name="MenuItem_Company"
Image... | stackexchange/codereview |
Suppose you're designing an application (WebApp, Desktop, anything) and you need to define exception handling for the code. Since you want to make things reusable, what logic should you follow when handling exceptions? Are there any patterns to follow?
For example, if some DLL is going to use the network and the netwo... | stackexchange/codereview |
They look great in FF, Safari, but the social media icons don't render correctly in IE.
http://www.erisdesigns.net/STAGE/ED1.3/
Is this an IE problem, or something to do with how I'm creating the .pngs?
| stackexchange/codereview |
In a Windows Phone 7 Silverlight app, I have a ListBox with a lot of items, that are generated dynamically from an external data source. One of these items will be "current", so I would like to programmatically scroll the ListBox so the item appears as the topmost visible item in the ListBox - so the user doesn't have ... | stackexchange/codereview |
Last week this worked but now, for some reason I can only use Model.first. Model.second and Model.third, etc no longer work.
Did something change in Rails? I keep getting a NoMethodError.
| stackexchange/codereview |
Somebody can give me an example to do this. Suppose static variable scope is limited to file only.That is private to that file.Like that some more examples i want to know. In other words HOW TO ACHIEVE DATA HIDING CONCEPT IN C-LANGUAGE WITH CURRENTLY AVAILABLE KEYWORDS(STRUCT,STATIC...ETC)
| stackexchange/codereview |
I have been getting semi-frequent freezes when running Java apps through NetBeans 6.9.1. As soon as netbeans would finish compiling my app and then start to run it, my pc would freeze, i could still move my mouse and mp3s would still play in the background but i couldn't interact with anything on the screen at all, no... | stackexchange/codereview |
Any sample project use Directshow.net Library to capture video and save into .avi video file?
| stackexchange/codereview |
I'm trying to upload an image using this script:
$photoName = $uploadedPhoto["name"];
$photoType = $uploadedPhoto["type"];
$photoSize = $uploadedPhoto["size"];
$photoTemp = $uploadedPhoto["tmp_name"];
$photoError = $uploadedPhoto["error"];
$ext=substr($photoName, strripos($photoName, '.'), strlen($photoName)... | stackexchange/codereview |
I need to recover data from a Sybase SQL Anywhere 12 (I have an *.db file) into MS SQL Server 2008.
I installed the SQL Anywhere 12 Developer kit and that allowed me to run the database and installed ODBC drivers that should have allowed me to do this. I managed to use the SQL Server Import/Export wizard to import a s... | stackexchange/codereview |
Im trying to extract rows from excel using Oledb. For some excel files from certain people is throwing error while trying to open the connection. The error says "External table is not in the expected format."
Here is my connection string
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\test.xls;Extended Properties="Exce... | stackexchange/codereview |
Are there any open-source Neural Networks that are trained to detect emotions?
I'd like to see if I can use one to detect negativity from video/audio clips, and or text.
| stackexchange/codereview |
I have an architectural question. My App uses a TabBarController right in the application window. The ApplicationDelegate creates the managedObjectContext, although it actually doesn't need it.
Each ViewController in the TabBarController is a NavigationViewController. The first view controller for each NavigationContro... | stackexchange/codereview |
I have a User Control that has been added to the page dynamically. When I click a button on that user control:
The button_click event is NOT being raised
The page posts back
The user control is removed from the page
Here's the button-click event on my User Control:
Protected Sub btnAddAttribute_Click(ByVal sende... | stackexchange/codereview |
So I have a sub form that creates a record (and record it), and then another sub form opens up for data entry...however can I still use an open arg to pass the value (ProjectID) between these sub forms.
I know exactly how to do this with forms, but trying this with subforms is a little different.
docmd.openform "FormEx... | stackexchange/codereview |
I'm a coldfusion developer, and I've been asked to rewrite a coldfusion application for SP 2010. I have no SP experience, but I'm now the SP admin.
My application is a waiting list for customers that enter a service center. The customer is entered into a List that tracks the following:
Name
Location (drop-down list ... | stackexchange/codereview |
I have an application that I want to coerce a date value (call it DueDate) based on the value of another date entered by the user. Using Dependency Properties, I know how to make this work by setting the CoerceValueCallback for the DueDate dependency property. I need to bind to a DataView, though, and the only soluti... | stackexchange/codereview |
scanf("%s",str) won't do it. It will stop reading at the first space.
gets(str) doesn't work either when the string is large. Any ideas?
| stackexchange/codereview |
I hope there's a simple solution for this:
I have a table where each row has it's own status (SET type field). Statuses can be:
offline
available
busy
distance
I'd like to order as follows
available
busy
distance
offline
I thought a simple
ORDER BY `status` ASC
will do the trick (alphabetical order) but it gives m... | stackexchange/codereview |
i have an image saved on my HDD and i want to assign it to an ImageField, but i don't know how.
i've tried something like this:
object.imagefield.save(path,File(open(path)))
But this makes an additional (invalid) copy of the image.
Can someone help me please?
thanks!
| stackexchange/codereview |
I have defined a class that contains a std::list as a member. When I create an object of that class, I expected the std::list to be empty. However, I queried the iterators returned by begin() and end() and found that they were not equal.
How can I ensure that my std::list member is empty on initial construction of the... | stackexchange/codereview |
If connecting to a database consumes a lot of resources, why should a database connection always be closed in your application if you have to open it again? Can I just make this connection available globally throughout my application so that other classes and methods can reuse it?
For example (in pseudo code):
public c... | stackexchange/codereview |
I'm involved in a project where we're binding a C API into Jython (through Java). We've run into issues with unsigned values (since Java doesn't support them). We can use casting between Java and C, but moving from Jython to Java is a harder task.
I wrote some 'casting' functions in Python. They convert a bit pattern r... | stackexchange/codereview |
just watch this screenshot I made so you see the difference:
I have these requirments to be changed in the ComboBox`s PopUp so it looks like the grouped WPF DataGrid, its only about the Popup-area, do not judge the editable area of the ComboBox or that there is no Header... Important are these things, because I could n... | stackexchange/codereview |
Every time I start a project with some graphical toolkit, one of the first conflicts happen with the decision of how to deal with the visual design and the widget layout: A graphical tool or handcoding?
This is a quite tricky/subjective question because most people will decide based on personal preference. It also depe... | stackexchange/codereview |
I wrote Thread pool class referring http://www.informit.com/articles/article.aspx?p=30483&seqNum=5
Environment: Windows7 4 cp
Executed my program with 70,000 Thread in Windows 7, under JDK 1.5 it went through successfully. Not used vm arguments.
The same Code i tried to execute with 5,000 Thread in Linux enterprise ... | stackexchange/codereview |
I'm after a open source Calendar List View, Tapku has Day and Month, but I need a listView, if it hasn't been done, I have to do it myself, and if so I'll just create a fork of Tapku and add it.
| stackexchange/codereview |
I am creating a client server application using c sharp. The server is using tcplistener with fixed port number. the client connect to the server using tcpclient. Once connected, both client and server communicate using this connection. The application then create new udp connection to send and receive message. Since t... | stackexchange/codereview |
I have an experimental version of wxWebConnect (embedding XULRunner in wxWidgets) at https://github.com/jonmmorgan/wxwebconnect/. It offers a method
wxString wxWebControl::ExecuteScriptWithResult(const wxString& js_code)
which executes the Javascript string using nsIScriptContext::EvaluateStringWithValue, converts t... | stackexchange/codereview |
I find one of my weaknesses to be applying the theory I know in actual projects. One such theory is application design. I have never formally designed an application before beggining to code. I am developing a simple microfinance loan application for a client and I for once want to do things properly. Hence I am trying... | stackexchange/codereview |
I'm using Eclipse HELIOS to code a Rich Client app.
The following entries are added automatically to my APP "PERSPECTIVES MENU":
"Java, Java Browsing, Java Type Hierarchy, Team Synchronizing".
I need to get rid of them.
i'm using the extension point="org.eclipse.ui.activities" to disable unwanted extensions (like the e... | stackexchange/codereview |
I want to store 100 Million terms and their frequencies (in a text database ) into a HashMap <String, Double>. It is giving me "Out of Memory" Error. I tried to increase the heap-space to -Xmx15000M. However it runs half an hour then again throw the same exception. The file size from which I'm trying to read the words ... | stackexchange/codereview |
This is the original problem:
Your program will be a line editor. A line editor is an editor where all operations are performed by entering commands at the command line. Commands include displaying lines, inserting text, editing lines, cutting and pasting text, loading and saving files. For example, a session where the... | stackexchange/codereview |
I've spent all day trying to get hyperlinks metadata from PDFs in my iPad application.
The CGPDF* APIs are a true nightmare, and the only piece of information I've found on the net about all this is that I have to look for an "Annots" dictionary, but I just can't find it in my PDFs.
I even used the old Voyeur Xcode s... | stackexchange/codereview |
If there's a resource of type Foo with unique ID 36 at location:
http://example.com/foo/36
and a Foo contains several pieces of variable data (var1, var2, etc.), some of them strings;
What's the preferred pattern for updating a partial set of the resource's variables via HTTP (given that we may wish to set some to be ... | stackexchange/codereview |
<asp:Label ID="dateLabel" runat="server" Text='<%# Eval('SomeDate') %> />
This displays showing the date and time. However I just want to display the date.
I'm aware that in the code behind you can write SomeDate.ToString("dd MM yyyy");
However I want a way of doing this by changing the code in the tag instead.
Is thi... | stackexchange/codereview |
I've got a User model that is utilizing mongoid. The model has a password, password_confirmation and encrypted_password field. The password and password_confirmation fields are populated at runtime with the value the user would type on the screen when creating a new user. When I persist, I don't want to persist the ... | stackexchange/codereview |
I have not been able to track down an answer on this. I'd like to be able to manipulate or create images to then compile into a video. I'm starting to think this is just not a good fit for GAE. I wanted to do this in Python but doesn't look like that is possible without C support. Even with Java I'm seeing conflicting ... | stackexchange/codereview |
So, I want to match the following link structures with a preg_match_all in php..
<a garbage href="http://this.is.a.link.com/?query=this has invalid spaces" possible garbage>
<a garbage href='http://this.is.a.link.com/?query=this also has has invalid spaces' possible garbage>
<a garbage href=http://this.is.a.link.com/?q... | stackexchange/codereview |
Many install discs only let you install the software X number of times.
However discs are stateless. They are unchanged (AFAIK) after installation. So This puzzles me.
How do they keep track?
| stackexchange/codereview |
I've written a program that tells me whether all the dlls in a code coverage result file are above a specified code coverage percentage.
It works great except when a dll has 0% code coverage, because dlls with 0% code coverage aren't included in the visual studio code coverage result file at all.
I have access to a li... | stackexchange/codereview |
Hey SO, in the past few hours I was trying to get my head around RESTful services that can be served via asp.net MVC. Authentication is still something that doesn't seem to be covered in all those tutorials and guides i was finding in the interwebs.
Currently we are using Forms Based Authentication in our existing MVC ... | stackexchange/codereview |
Ok. If you didnt spell a full name right, and only entered the lastname, and the there exist more users with that lastname, in the recipient field, the ajax call will return an error with
Who did you mean: Mami Fox Megan Fox Blabla Fox
Now, I would like to make so you can click on them, choose who you meant to send ... | stackexchange/codereview |
UPDATED
Wanting some code to run with each controller, and being told to use Action Helpers or a Plugin rather than extending from a Base Controller, I decided on an Action Helper rather than Plugin, per excellent slides by @Bittarman (Ryan Mauger);
Zend Framework, getting to grips:
http://www.slideshare.net/rmauger/... | stackexchange/codereview |
HTTP POST
My android application needs to do an HTTP post to a php script. The post needs to happen in a service. For some reason the POST gets a connection timeout when running in the service but if i copy the method to the onCreate event of my application and run, it works fine. I have no idea what could be different... | stackexchange/codereview |
When I access the satimage.osax scripting addition (which I'm using for its regex capability) from a Mail rule on Snow Leopard, I get errors, but it runs fine in Script Editor. The code below illustrates the problem. The first line executes fine, but the line inside the tell block throws an error (below), from the mail... | stackexchange/codereview |
i am trying to get the text input/values from an EditText widget as its being typed. please anybody know how or which method i should use? can't seem to find one that will help. thanks for your consideration.
i tried this but not working:
Entry = (EditText)findViewById(R.id.typeEntryId);
viewEntry = (TextV... | stackexchange/codereview |
I am trying to generate the following json output using the java net.sf.json libs but have been unsuccessful.
[
{
"data": [
[
1,
1,
"Text"
],
[
2,
2,
"Text"
],
... | stackexchange/codereview |
I'm using the GD::bars module in Perl v 5.8, but I can't seem to get the font size on my graphs x and y labels and values to change. Here's the relevant code I am using:
use GD::Graph::bars3d;
use GD::Text;
$my_graph->set_title_font(gdMediumBoldFont, 15);
$my_graph->set_x_label_font(gdMediumBoldFont, 15);
$my_graph-... | stackexchange/codereview |
I have .Data file given in the above format . I am writing a program in java that will take the values from the .data file and put it in the buffer. MY java program is connected to Mysql(windows) via JDBC. So I need to read the values from the file given in the above format and put it the buffer like
Insert Into build... | stackexchange/codereview |
In my app i make a screen capture:
UIImage *viewImage = [UIImage imageWithCGImage:UIGetScreenImage()];
CGRect cropRect = CGRectMake(0, 0, 320, 440);
CGImageRef imageRef = CGImageCreateWithImageInRect([viewImage CGImage], cropRect);
viewImage = [UIImage imageWithCGImage:imageRef];
CGImageRelease(imageRef);
c... | stackexchange/codereview |
I want to write Regex in C#, I write the following code:
Regex reg = new Regex("n>");
string str = "burn";
int x=0;
if(reg.IsMatch(str))
x++;
But, always x equals zero. does anyone know why?
Thanks,
Rachel
| stackexchange/codereview |
Having used other MVC frameworks such as Zend Framework in the past, I am used to the idea of requests being mapped as follows by default.
http://mysite.com/user/add calls the add method in the User controller class, which then calls a view named add, located in a directory named user.
Is there a way that I can achieve... | stackexchange/codereview |
I've got a weird issue, weird as in nothing comes up on Google. I'm trying to parse an ini file full of HTTP status codes, StatusCodes.ini. I've tested in three different environments, locally (WAMP) on a shared host (Hostmonster.com) and now on a dedicated machine running CentOS w/ CPanel/WHM. The first two environmen... | stackexchange/codereview |
I have a Javascript object that looks like this.
ips[ipID] = {}
So I end up with a bunch of ips that need to store information that will look like
ipID { name : 'val', anotherName : 'anotherVal' }
My question is, how do I dynamically add these names and values?
| stackexchange/codereview |
UTIL.getServletPath("/SetupPage?PG=setupusersettings") %>">
What is SetupPage. Is it an directory?
Why ? is used?
What is PG?
setupusersettings is an jsp page, all i can find and it will redirect to that page.
| stackexchange/codereview |
I have delusions that I've seen it in some piece of code and it's some variable's state. Example usage would be in signal handlers.
| stackexchange/codereview |
Hello I am trying to display work orders from my mysql database to show up in an email. However There is a problem because work_orders is a part of my Class Invoice manytomany field. This gives me this error.
'ManyRelatedManager' object has no attribute 'description'
I not really sure what the problem is. Here are so... | stackexchange/codereview |
I am coding a website that has the the language string separated in a xml files. Depending on the language, I include one or another. There is no problem with that.
By the way, this site is a dynamic so will have for example a string like Hello ipalaus! in English, like Bienvenido ipalaus!, etcetera. In this case we ha... | stackexchange/codereview |
Can someone tell me exactly what the args argument should look like for sb-ext:run-program?
If I do this:
(sb-ext:run-program "C:/Program Files/iTunes/iTunes.exe"
"C:/lispbox-0.7/opus.mid")
I get this error:
debugger invoked on a TYPE-ERROR:
The value "C:/lispbox-0.7/opus.mid" is not of type LIST.
H... | stackexchange/codereview |
I just want to develop an ios app based on webview. The offline storage must be used. I know that html5 offline storage is supported by webview. But I just want to use a native sqlite file(not the one embedded in webkit) just like other native ios app. So could anyone please give me some clues?
| stackexchange/codereview |
Can we open IE in a kiosk mode - but not in a maximized view? We are trying to open an IE instance from a C#.NET app. This instance opens in a kiosk mode but disables the user to select 'OK' on the print preview pop up (as IE is maximized covering the whole screen). We want some way to open ONLY a specific page in IE (... | stackexchange/codereview |
I have 2 DisplayObject, one containing the other like the code below:
var sprite1:Sprite = new Sprite();
sprite1.addChild(loader1); // assume that I have load picture on to loader1
loader1.rotationZ = 30;
sprite1.rotationZ = -30;
If I run the code above, the image on loader1 will look just like it hasn't been rotate ... | stackexchange/codereview |
I'm attempting to read a response from a web service call in a junit test running in Eclipse Galileo. I'm able to successfully receive responses except when the response is a SOAP fault. Then I get the following exception:
org.xml.sax.SAXParseException: Element type "SOAP:Text" must be followed by either attribute sp... | stackexchange/codereview |
I can successfully connect to the database with my datacontext object. I am able to read and write to the database successfully, however I can't use the same syntax that others appear to be using.
For example, when I want data from a table, I have to do something like this:
db = new UserDataDataContext(WebConfiguratio... | stackexchange/codereview |
I have a UITableView and I need to use a custom keyboard with it and, for a few reasons, I can't use it as an inputView. So I am having a my keyboard view appear as a subview. Its height is 260. I want the table view to scroll so that the selected cell always has a y-position between 0 and 260. Is this possible? H... | stackexchange/codereview |
How would I generate the output in Java with regex, split, or tokenizing? I need to remove the spaces around words and the commas between the words. I want to store this output and then jdbc will parse this data into the tables of my MySQL database.
| stackexchange/codereview |
I have been using WPF and Xaml for a while and like it quite a bit. However, I probably am still designing things as I did in the WinForm days with too much code and responsibility in the GUI section.
Anways, in the WPF model what is the GUI responsible for exactly?
If a button in the GUI is clicked should it show the... | stackexchange/codereview |
Is there a way that you can assert whether or not a variable is of a certain type?
Such as:
AssertIsBoolean(variable);
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.