text stringlengths 102 284k | nemo_id stringlengths 18 18 |
|---|---|
Take the 2-minute tour ×
I hate IDEs, is there any way to use Make to build Metro apps from source code?
share|improve this question
You'd probably want to use MSBuild.. – Mike Christensen Nov 15 '12 at 20:55
Yup, MSBuild is the .NET build scripting framework. Related - stackoverflow.com/questions/11604794/msbuild-w... | dclm-gs1-039540000 |
Take the 2-minute tour ×
We recently upgraded from Oracle 10g to 11g and now the microsoft provider MSDAORA.1 won't work. I've changed to using the OraOLEDB.Oracle provider but now one of my stored procedures that is returning a resultset isn't going to work either.
Old Call: strSQL = "{call SYSADM.lss_pkg_catalog_pa... | dclm-gs1-039550000 |
Take the 2-minute tour ×
I've got a problem with image processing, but I don't know how to solve it.
I have 2 pictures: - Pic 1: http://goo.gl/BBxVl - Pic 2: http://goo.gl/X0VFW
The pic 2 actually express the pic 1 but it was covered by the object. I am writing a program using matlab code to define that: If the pict... | dclm-gs1-039560000 |
Take the 2-minute tour ×
Can anybody say me how to save NSTimer ? I need to display that, at how much time player completed his/her game. please suggest.
share|improve this question
do you mean you wanna know how much time a user has spent for playing a game? – Andrey Chernukha Dec 4 '12 at 9:37
yes, and after that... | dclm-gs1-039570000 |
Take the 2-minute tour ×
I have a data frame that looks like this:
What I would like is to use the column month to specify intervals for each season and return those values in a new column from the same data frame. I was using this code for the seasons, which seems to work fine,
# Classify months into seasons
# C... | dclm-gs1-039580000 |
Take the 2-minute tour ×
My question is simple:
What tactics are used with PostgreSQL based applications to avoid the user ever being presented with a DB generated error caused by constraints and foreign keys etc. ?
The rationale for this question is:
It is common practise within all DBs I've worked with to trap at... | dclm-gs1-039590000 |
Take the 2-minute tour ×
Our product consists in DLLs we ship to our customers.
When providing Windows 8 versions, I noticed I couldn't link against the CRT statically otherwise applications using our DLLs don't pass the certification.
I couldn't find any document that mentions that. Does someone know why it's not p... | dclm-gs1-039600000 |
Take the 2-minute tour ×
I have a structure, that i want to write to a regular file as one record, with comma delimited fields. For example
struct A {
int a;
int b;
} test;
Given test.a=1 and test.b = 2, the regular file will have a corresponding 1,2 as one line record. Another requirement, is tha... | dclm-gs1-039610000 |
Take the 2-minute tour ×
I have three models (tables):
1. content
2. category
3. contentCategory
The contentCategory have content_id and category_id that related to each other.
How I must write relation in each model to select content of specific category?
public function relations()
return array(
share|... | dclm-gs1-039620000 |
Take the 2-minute tour ×
I'm new to C++, and I'm now confused about the polymorphism concept and function pointers. It's kinda mixed up in my head.
In the code snipped below, I declare a function pointer that points to a method in BaseClass. Then I assigned it with &BaseClass::Print
The last two lines is the part i ... | dclm-gs1-039630000 |
Take the 2-minute tour ×
I'm using a UITextField as a search field: The user can input multiple search values separated by comma. By typing I want to find every custom object in my NSArray that matches one of the search component.
My custom objects have no properties (that can be used for the search). Receiving a val... | dclm-gs1-039640000 |
Take the 2-minute tour ×
In my WPF application, my Viewmodel has a boolean property IsOwnerOf and a string property Title. If IsOwner==false, I want a TextBlock displaying the Title (because if you're not the owner, you should not be able to edit it) and if IsOwner==true, I want a TextBox displaying Title - obviously ... | dclm-gs1-039650000 |
Take the 2-minute tour ×
How can I start Pry in Rails/Ruby automatically when any exception occurs, at the location of the raised exception?
I have a hard to debug problem, that I can't seem to trace back to it's source, it occurs in Rails somewhere between a controller responding and a view being rendered.
I figure... | dclm-gs1-039660000 |
Take the 2-minute tour ×
Is there any way to emulate this kind of 360 degree product view scroll/drag functionality with video, so taking a piece of video and being able to scroll it left and right as though it was a set of images? I've found this tutorial which is about the 360langstrasse.sf.tv/page/ site which is pr... | dclm-gs1-039670000 |
Take the 2-minute tour ×
I have 3 divs with same class, i am adding class 'selected' to NEXT DIV on click and removing it from previous class, its working fine but I want to loop it
Currently its going from 1 --> 2 --> 3, I want it to loop, 3-->1, please help...
<div id="all">
<div class="section selected">ONE</div... | dclm-gs1-039680000 |
Take the 2-minute tour ×
So far in my use of objective c and cocoa, I have made some simple OSX apps that make use of some of the basic apple UI elements such as NSButton, NSTextFeild, NSView, etc. However, now I find that I'm wanting to add parts to my programs that don't fit so squarely within the given UI elements.... | dclm-gs1-039690000 |
Take the 2-minute tour ×
I have get the content of Xml file and stored it in memory as string , how can I convert this xml string to Configuration Object?
share|improve this question
add comment
Your Answer
Browse other questions tagged or ask your own question. | dclm-gs1-039700000 |
Take the 2-minute tour ×
After deployiny my rails application to my production server using capistrano, I ran into an issue with my Rabl initializer file:
Uninitialized constant Rabl
However, I can access the Rabl object in my rails console:
Loading production environment (Rails 3.2.11)
irb(main):001:0> Rabl
=> Ra... | dclm-gs1-039710000 |
Take the 2-minute tour ×
The django-sphinx documentation shows that django-sphinx layer also supports some basic querying over multiple indexes.
from djangosphinx.models import SphinxSearch
SphinxSearch('index1 index2 index3').query('hello')
It seems SphinxSearch does not contain the function query(). I also tried... | dclm-gs1-039720000 |
Take the 2-minute tour ×
I am trying to solve a optimization problem using Apache Commons. I found a "Hello World" example here for Commons Math 2. But, I would like to use Commons Math 3.2 and I couldn't find any example on how to use this part of the code:
PointValuePair solution = null;
SimplexSolver solver = new ... | dclm-gs1-039730000 |
Take the 2-minute tour ×
I'm using VS 2008 Developer Edition and am finding some bugs with the Test Projects.
I am getting one error that doesn't make sense - I have a class called 'Foo' which I need to test and created the blank test class automatically.
Foo takes 3 paremeters in its constructor - IBar, IBaz, IBang... | dclm-gs1-039740000 |
Take the 2-minute tour ×
I would like (mainly for academic reasons) to be able to set an accessor on an array's length using Object.defineProperty(), so than I can notify for size changes.
I am aware of ES6 object observe, and watch.js, but I would like to attempt to do this in ES5 without extra libraries if possible... | dclm-gs1-039750000 |
Take the 2-minute tour ×
I have a QTreeView subclass (and QAbstractItemModel subclass) which has a nice horizontal header. I would like to add vertical headers (going down the left side) to match. But unlike QTableView which has separate vertical (setVerticalHeader()) and horizontal headers (setHorizontalHeader()), QT... | dclm-gs1-039760000 |
Take the 2-minute tour ×
Hopefully this is simple - I DataBind a bunch of labels and text controls in a Silverlight application (to DependencyProperties that I create in my class), but of course the text is empty at design time.
I'd still like to have an idea of how this will be laid out; is there a way to specify a ... | dclm-gs1-039770000 |
Take the 2-minute tour ×
I'm creating a forum for a website, and plan on implementing a "Report this content" function.
In all honesty, I'm not sure how useful (lit. necessary) the feature will be, since a user account (created by admin) will be required for posting, but the solution interests me.
So in short, this ... | dclm-gs1-039780000 |
Take the 2-minute tour ×
I have an Excel worksheet with an image (logo). If I right-click on the picture and select Format Picture / Protection, the "Locked" checkbox is checked. I then protect the worksheet with a password.
Despite all of the above, the end user can still select and delete the image. Is there any wa... | dclm-gs1-039790000 |
Take the 2-minute tour ×
This question already has an answer here:
I've been trying many ways to calculate the round number of days between two dates, I mean, counting the whole days. An example of what I need:
START DATE END DATE Day Count
24/02/2010 16:26 24/02/2010 16:26 1
... | dclm-gs1-039800000 |
Take the 2-minute tour ×
I have a method that attempts to update a sql server database in an ASP.NET application. If the update fails, it catches the exception and then queues the update in MSMQ, and then spins up a new thread that will later de-queue the pending update and try again. When the thread starts, it fails ... | dclm-gs1-039810000 |
Take the 2-minute tour ×
A bloom filter uses a hash function (or many) to generate a value between 0 and m given an input string X. My question is how to you use a hash function to generate a value in this way, for example an MD5 hash is typically represented by a 32 length hex string, how would I use an MD5 hashing a... | dclm-gs1-039820000 |
Take the 2-minute tour ×
I'm messing about with controller organisation and I've hit a problem.
If I have the following physical structure
and I request the URI:
I get a 403 Directory Listing Denied :(
(im using a custom IControllerFactory and IViewEngine to look in this non-default path)
Why is this happening?... | dclm-gs1-039830000 |
Take the 2-minute tour ×
I'm kind of new with objective c and I'm trying to pass an argument by reference but is behaving like it were a value. Do you know why this doesn't work?
This is the function:
- (void) checkRedColorText:(UILabel *)labelToChange {
NSComparisonResult startLaterThanEnd = [startDate compare:... | dclm-gs1-039840000 |
Take the 2-minute tour ×
In the XHTML for a page I have:-
<asp:Button ID="bookNowButton" runat="server" CssClass="bookNowButton"
OnClientClick="showHideLoggedInDiv('<%=bookingFormDiv.ClientID%>')" />
This breaks. I need the correct syntax or method to insert the bookingFormDiv.ClientID into the control.
... | dclm-gs1-039850000 |
Take the 2-minute tour ×
now() gives me
datetime.datetime(2010, 7, 6, 5, 27, 23, 662390)
How do I get just datetime.datetime(2010, 7, 6, 5, 27, 0, 0) (the datetime object) where everything after minutes is zero?
share|improve this question
add comment
3 Answers
up vote 21 down vote accepted
dt.replace( second=0, ... | dclm-gs1-039860000 |
Take the 2-minute tour ×
I'm using the WCFTestClient to debug a service. This normally works like a charm. This particular service is using SSL and I need to pass the user name and password. I can right click and edit the config file, but I do not see a place where I can inject the user name and password. On the norma... | dclm-gs1-039870000 |
Take the 2-minute tour ×
I am currently using the UltraWebGrid control of Infragistics and I am displaying the sum of values of a column in the footer.
The problem is that, since I am using paging, the total displayed in the footer is being calculated by the values of the current page only, but I want the sum of all ... | dclm-gs1-039880000 |
Take the 2-minute tour ×
I want to store a file as /a/b/c/d.txt, but I do not know if any of these directories exist and need to recursively create them if necessary. How can one do this in ruby?
share|improve this question
add comment
4 Answers
up vote 84 down vote accepted
Use mkdir_p:
FileUtils.mkdir_p '/a/b/c... | dclm-gs1-039890000 |
Take the 2-minute tour ×
Can Solr be run on Azure?
share|improve this question
Since this is the #1 Google result for "solr on azure" I think it's worth adding this now that it's available: interoperabilitybridges.com/Azure/… – Andrew Hare Dec 14 '11 at 0:36
add comment
3 Answers
up vote 11 down vote accepted
You... | dclm-gs1-039900000 |
Take the 2-minute tour ×
Is there some way to send a struct like:
struct COLOR {
float r, g, b, a;
directly into glColor*() function as one parameter? Would make the code nicer.
I could make own function and send separetely each R,G,B,A values onto glColor4f() but that wouldnt be that nice. So im looking a way ... | dclm-gs1-039910000 |
Take the 2-minute tour ×
I'm seeing the following crash on two different devices (an iphone 3g and an ipod touch) when in adhoc mode, although it seems to be OK when building in debug mode for those devices. It also seems to be OK on iPhone 4's.
Here's the stack trace that I'm getting in ad hoc mode:
From what I ca... | dclm-gs1-039920000 |
Take the 2-minute tour ×
Is there a quick way to "super" deep clone a node, including its properties? (and methods, I guess)
I've got something like this:
var theSource = document.getElementById("someDiv")
theSource.dictator = "stalin";
var theClone = theSource.cloneNode(true);
The new cloned object has no dictat... | dclm-gs1-039930000 |
Take the 2-minute tour ×
Hi I am implementing an IM-server-like application in Erlang. I used one agent process for each client connecting to the server, and the agent process is responsible for sending the messages to a message gateway, which in turn sends the message to another agent process. It seems that erlang in... | dclm-gs1-039940000 |
Take the 2-minute tour ×
Right now, I'm using LDA topic modelling tool from the MALLET package to do some topic detection on my documents. Everything's fine initially, I got 20 topics from it. However, when I try to infer new document using the model, the result is kinda baffling.
For instance I deliberately run my m... | dclm-gs1-039950000 |
Take the 2-minute tour ×
I am converting a winform application to WPF. I am wondering if the files under properties (Resources.resx, Resources.Designer.cs, Settings.settings etc) can be simply migrated to WPF application.
share|improve this question
add comment
1 Answer
Yes, the Resources and Settings designers wor... | dclm-gs1-039960000 |
Take the 2-minute tour ×
I have float numbers like 3.2 and 1.6.
I need to separate the number into the integer and decimal part. For example, a value of 3.2 would be split into two numbers, i.e. 3 and 0.2
Getting the integer portion is easy:
n = Math.floor(n);
But I am having trouble getting the decimal portion. I... | dclm-gs1-039970000 |
Take the 2-minute tour ×
When I design classes and have to choose between inheritance and composition, I usually use the rule of thumb: if the relationship is "is-a" - use inheritance, and if the relationship is "has-a" - use composition.
Is it always right?
Thank you.
share|improve this question
add comment
9 Ans... | dclm-gs1-039980000 |
Take the 2-minute tour ×
I added a file to the index with:
git add somefile.txt
I then got the SHA1 for this file with:
git hash-object somefile.txt
I now have a SHA1 and I would like to retrieve the filename of the object in the index using the SHA1.
git show 5a5bf28dcd7944991944cc5076c7525439830122
This comman... | dclm-gs1-039990000 |
Take the 2-minute tour ×
How to share TextArea Component in multiple swf
lib.swf (has TextArea Componenet)
main.swf (Import TextArea Componenet from lib.swf)
section.swf (Import TextArea Componenet from lib.swf)
share|improve this question
add comment
1 Answer
Its not possible to share components. What you ca... | dclm-gs1-040000000 |
Take the 2-minute tour ×
What are the size limits for HTML 5 client side storage?
share|improve this question
This page has some great information on HTML5 storage: diveintohtml5.org/storage.html The site itself is a wealth of HTML5 information, too. – GreenWebDev Jan 13 '11 at 23:53
Depends on the user's setting in... | dclm-gs1-040010000 |
Take the 2-minute tour ×
If I got
Dim myRect As Rectangle = New Rectangle(0,0,100,100)
Is it necessary or just fine to later do this:
myRect = Nothing
Or it isn't necessary? Thank you.
IF it is necessary, are there other cases it isn't for my variables?
share|improve this question
add comment
2 Answers
up vote... | dclm-gs1-040020000 |
Take the 2-minute tour ×
I have Model X and Model Y which are associated through a has_and_belongs_to_many macro. There's a table in the database that retains data on the many-to-many relationships between Model X and Model Y.
I also have Model A, which is associated through a has_many macro with Model X. I want to b... | dclm-gs1-040030000 |
Take the 2-minute tour ×
Possible Duplicate:
How does Facebook Sharer select Images?
Want to have share thumbnail when user shares site url using share button on site which uses http://www.facebook.com/sharer.php to achieve that.
Site dose not have img tags, all images are defined in css.
I added meta tags for imag... | dclm-gs1-040040000 |
Take the 2-minute tour ×
I know that I have to use: rdtsc. The measured function is deterministic but the result is far from being repeatable (I get 5% oscillations from run to run). Possible causes are:
• context switching
• cache misses
Do you know any other causes? How to eliminate them?
share|improve this q... | dclm-gs1-040050000 |
Take the 2-minute tour ×
I need to set the no-gzip flag if a request is coming from the Mozilla browser and the content being requested uses the mime type application/pdf. This seems like it should be fairly trivial, but I'm having some trouble figuring out the proper way of expressing it.
I've got the browser check ... | dclm-gs1-040060000 |
Take the 2-minute tour ×
I am using Ruby on Rails 3 and I am trying to build an ActiveModel this way:
module Users # I use a namespace
class Account
extend ActiveModel::Naming
extend ActiveModel::Translation
include ActiveModel::Validations
attr_accessor :name
attr_reader :errors
def initi... | dclm-gs1-040070000 |
Take the 2-minute tour ×
I'm using a vanilla JBossAS 6 server with a couple of projects to test the functionality of clustered JBoss environments. The problem that I have is that if I transfer an EJB reference from one EJB (of another type) in a node, to an instance of the same type in another node, upon method invoca... | dclm-gs1-040080000 |
Take the 2-minute tour ×
I'm trying to do something fairly simple. Of course it could be done with an extra line of code, but technically speaking, why does this not work?
int foo = 5;
int *bar = &(--foo);
GCC compiler tells me "invalid lvalue in unary &"
share|improve this question
add comment
5 Answers
up vote ... | dclm-gs1-040090000 |
Take the 2-minute tour ×
I've been reading a lot about System.AddIn (a.k.a. Managed Add-in Framework). It lets you activate add-ins in different isolation modes, including separate AppDomains or separate processes.
Most of the articles I've found hint at the fact that process isolation can be used to achieve applicat... | dclm-gs1-040100000 |
Take the 2-minute tour ×
I want to remove a class which is added by an obfuscator in a .NET assembly.
This should be possible (cause the obfuscator added one), but I'm not sure in which way.
Has anyone an idea or did something like that? Every clue is welcome.
share|improve this question
Now i wonder how could that... | dclm-gs1-040110000 |
Take the 2-minute tour ×
I install the scala eclipse plugin, but it make me annoyed
It cannot compile correctly, it indicate compiling error for the following statement
job setMapperClass classOf[ASPMapReduce.Map]
type mismatch; found : java.lang.Classcom.ebay.twitch.ASPMapReduce.Map required: java.lang.Class[_ <: ... | dclm-gs1-040120000 |
Take the 2-minute tour ×
Consider this scenario: You want to redirect (REDIRECT) a user to a certain handler (aspx or ashx) without hardcoded path. You have the name of the handler's class, you can even get it's type (ASP.whateverpageclass). Now, how do you get the virtual path?
share|improve this question
add commen... | dclm-gs1-040130000 |
Take the 2-minute tour ×
OK so this is the scenario:
I have a Tab bar application that has a UINavigationController in each tab. Lets say I have two tabs, "Home" and "Signout". In "Home" the user follows a UINavigation based navigation down 3 levels and presses submit. After that they click on "Signout", click on the... | dclm-gs1-040140000 |
Take the 2-minute tour ×
Suppose you pass an array as argument to a given method, say,
public static DoSomething (string[] array)
// Do something with array here.
and that inside the method you use some instructions that throw an exception if array contains invalid data. In a multi-threaded environment where mul... | dclm-gs1-040150000 |
Take the 2-minute tour ×
I have a software that communicates with api of a website. How could I increase its functionality to connect to various other api's without touching the code in it? I think the easiest way is to write a proxy that resides between api and softwre translates incoming messages from other api to t... | dclm-gs1-040160000 |
Take the 2-minute tour ×
I have a JUnit test that tests adding Strings to a Dictionary custom type. Everything works fine for everyone else on a Linux/Windows machine, however, being the first dev in my shop on a mac, this unit test fails for me. The offending lines are where unicode string literals are used:
dic... | dclm-gs1-040170000 |
Take the 2-minute tour ×
I want to capture the screen of my game using glreadpixel(). it works fine over simulator also on 2g iphone with ios version 3.1.1 . but on ipad with ios version 4.2.1 it doesnt . i came to know the issue regarding this. for ios version 4.0 above on a particular device (ipad) we bind depth buf... | dclm-gs1-040180000 |
Take the 2-minute tour ×
I'm making an SCons file for building Docbook documentation. In order to trace dependencies I would like some way to resolve catalog file lookups to an absolute path to a file.
So say I have a bit of Docbook XML :
<title>Docbook example document</title>
<xi:include href="file:///co... | dclm-gs1-040190000 |
Take the 2-minute tour ×
I have json data being fed into a Sencha touch app. Here's the json:
http://pastie.org/2622260 - (modified for an example, of course)
When I return the "images" and console.log it, it returns the following:
images: "[object Object],[object Object],[object Object],[object Object],[object Obj... | dclm-gs1-040200000 |
Take the 2-minute tour ×
The real time doc page doesn't mention friend requests, so i was wondering if an app can get real time updates if a user has a new friend request?
share|improve this question
add comment
2 Answers
The only thing I can think of is to use the Message object since friend requests now come thro... | dclm-gs1-040210000 |
Take the 2-minute tour ×
I've just started learning Qt, using their tutorial. I'm currently on tutorial 7, where we've made a new LCDRange class. The implementation of LCDRange (the .cpp file) uses the Qt QSlider class, so in the .cpp file is
#include <QSlider>
but in the header is a forward declaration:
class QSli... | dclm-gs1-040220000 |
Take the 2-minute tour ×
I'm new to developing in Ruby and have mostly been using irb to experiment with code. For longer scripts, it would be helpful to be able to run them in my native browser (similar to how I run php scripts through MAMP). I believe there is a way to do this using localhost:3000 but I have not bee... | dclm-gs1-040230000 |
Take the 2-minute tour ×
Goal: Under OSX, From the command line, open a file in eclipse.
OSX 10.7 Eclipse Indigo Java EE bundle (3.7.1)
1. cd to directory eclipse is installed from.
2. run: ./eclipse --launcher.openFile notice.html
3. Eclipse opens with the file 'notice.html' open/editable
What happens:
Ec... | dclm-gs1-040240000 |
Take the 2-minute tour ×
Which data type in Oracle 10 and 11g is best suited for full text search to be conducted on. I am thinking BLOB?
share|improve this question
add comment
1 Answer
It could be varchar2, clob, or blob. It depends on the size of a chunk of text that will be in a record. docs: http://download.or... | dclm-gs1-040250000 |
Take the 2-minute tour ×
Given that RESTful web services are all based around the sacred idea that "everything is represented as resources and can be accessed by an address (URI)", this may make sense for CRUD applications (all examples are about listing/creating/updating/deleting entities). However, how about other b... | dclm-gs1-040260000 |
Take the 2-minute tour ×
I've looked and can't quite find what I'm looking for. I have a MVVM environment. On the View model, I have a Datatable available from data from a database connection/query. I've exposed a property (getter/setter) as a "DataView" based on "TheTable.DefaultView".
I have a datagrid in the windo... | dclm-gs1-040270000 |
Take the 2-minute tour ×
Gurus, I am new to JS. I am getting an error, "Unable to find method createEntitlementTree". Can you please help how I should be writing and invoking this method? Thanks in advance for your help.
Ext.define('Myviews.UserGroupManagerPanel', {
extend: 'Ext.panel.Panel',
createUserGroupF... | dclm-gs1-040280000 |
Take the 2-minute tour ×
The bottom line is to create a custom FTP Authentication Provider. In order to do this one must inherit from IFtpAuthenticationProvider interface and then register that assembly in GAC. After that the assembly needs to be registered in IIS's FTP settings.
In order for this to be accomplished ... | dclm-gs1-040290000 |
Take the 2-minute tour ×
Does anyone have code to detect duplicate JARs in the classpath?
Background: When there are two versions of the same JAR in the classpath, really strange things can happen. This can even happen when using tools like Maven: Change a dependency and build the WAR without cleaning first. Since ta... | dclm-gs1-040300000 |
Take the 2-minute tour ×
How can I construct the function segs that returns a list of all contiguous segments in a list? For example, (segs '(l i s t)) should produce the following answer:
(() (t) (s) (s t) (i) (i s) (i s t) (l) (l i) (l i s) (l i s t))
I'm especially interested in how to solve this problem in accor... | dclm-gs1-040310000 |
Take the 2-minute tour ×
I am currently working on a bluetooth application and I am able to connect to paired and unpaired devices already but if i try to connect to a unpaired device the pairing dialog does not show up directly but there will be a notification in the background.
Is there a possibility to directly sh... | dclm-gs1-040320000 |
Take the 2-minute tour ×
As with the command line in Pylons call the REST function from controller such as update? How to pass a request.POST to update function?
share|improve this question
add comment
2 Answers
up vote 1 down vote accepted
You need to use paster's post command. Below, I post to /login/attempt of ... | dclm-gs1-040330000 |
Take the 2-minute tour ×
I'm implementing a layout for a small screen device.
For testing I'm using a Huawei Ideos U8150 which has a resolution of 240x320.
Because of the small resolution I have a major space problem. So I thought I could put an AdMob AdView and a TextView inside of a horizontal LinearLayout.
The AdV... | dclm-gs1-040340000 |
Take the 2-minute tour ×
I have read a lot of discussions here on SO, watched Jon Moore's presentation (which explained a lot, btw) and read over Roy Fielding's blog post on HATEOAS but I still feel a little in the dark when it comes to client design.
API Question
For now, I'm simply returning xhtml with forms/ancho... | dclm-gs1-040350000 |
Take the 2-minute tour ×
I am looking for a way to create an expression that is the product of two given expressions. For example, suppose I have
e1 <- expression(a+b*x)
e2 <- expression(c+d*x)
Now I want to create programatically the expression (e1)*(e2):
Background I am writing a model fitting function. The mode... | dclm-gs1-040360000 |
Take the 2-minute tour ×
I have an application storing a tree structure and is able to generate the database fine, but when inserting I get an exception. I simplified the code to narrow down the problem.
The class to be saved:
public class Node
public virtual int NodeId { get; set; }
public virtual string Na... | dclm-gs1-040370000 |
Take the 2-minute tour ×
I've been using the Databinder Dispatch library in a client for a simple REST-ish API. I know how to detect if I get an HTTP response with an error status:
Http x (request) {
case (200, _, _, content) => successResult(content())
case (404, _, _, _) => notFoundErrorResult
case (_, ... | dclm-gs1-040380000 |
Take the 2-minute tour ×
I have two different projects and in one, I have a class that defines a custom event to fire under certain conditions:
public delegate void ButtonHandler(object myObject,
GuitarArgs myargs);
public event ButtonHandler OnButtonPress;
... o... | dclm-gs1-040390000 |
Take the 2-minute tour ×
I want to power something using the parallel port of on an old Dell Dimension 8200. How much current can be drawn from each of the 8 the data pins? I have pulled a maximum of 78mA/pin so far, but what is the upper limit? Can I short pins together to raise this limit?
EDIT: So far I see that p... | dclm-gs1-040400000 |
Take the 2-minute tour ×
private network is a network that uses private IP address space(What is it?).These addresses are commonly used for home, office, and enterprise local area networks (LANs),
share|improve this question
superuser.com perhaps? – andol Jul 23 '10 at 7:21
Yup, voting to move. From the faq: "Server... | dclm-gs1-040410000 |
Take the 2-minute tour ×
I have a D-Link DSL-2650U router, and exactly one computer on the network. For reasons of port forwarding I want to give my computer a static internal IP address, so that I don't take the chance of losing my NAT settings every time the computer reboots.
So here's a screen shot that summarizes... | dclm-gs1-040420000 |
Take the 2-minute tour ×
This is an issue that's been happening for a while yet, but only recently have I been able to put any attention to it.
About 3 weeks ago, I bought 2x1TB WD Caviar Black drives. They installed fine, and I began migrating data to them.
A week later, suddenly BIOS is taking 3x normal to recogni... | dclm-gs1-040430000 |
Take the 2-minute tour ×
Some applications only allow one running instance (like eclipse, if you want to use the same workspace). So if I log in from another location, I have to kill/close the application that was open when I previously logged in from another location.
I always use kill command to kill the running pr... | dclm-gs1-040440000 |
Take the 2-minute tour ×
I am retrieving a large files using SCP (from a linux system to a Windows system), now is there any way of compressing that destination file on the fly, for example:
pscp -C root@ Backups\backupdestination.bin
So "backupdestination.bin" would be compressed on the destination drive on the fly... | dclm-gs1-040450000 |
Take the 2-minute tour ×
(I hope this is on-topic, iPhone is a computer)
I'd like to use an iPhone to transfer images from an older phone to email. I've sent them to the iPhone using MMS, but I can't seem to figure out how to send an email containing these images. Help?
share|improve this question
add comment
2 Ans... | dclm-gs1-040460000 |
Take the 2-minute tour ×
I'm trying to use the hyperref package with the memoir class but the bottom margin of the document is no longer 2 cm as I set it. Rather, it seems like there is no margin at all. When I remove the hyperref package, the margins are reset to the correct value. What should I do? I'm using the mem... | dclm-gs1-040470000 |
T H E 6 T H F L O O R
Life in 6 Land
Too Early to Consider Retirement?
Is it ever too early to start planning for retirement? Probably not. I am already preparing for my son’s college education (unless he decides to visit his Uncle Sam) and have been contemplating where to retire. For the past few years, Montana an... | dclm-gs1-040480000 |
Today’s news:
The Civic Scene
The history of mankind has always been a battle between those who respect historic sites and those who want to build new things no matter what will be torn down. New buildings can be interesting, but we should appreciate the past to understand it and where we are headed.
There are many ... | dclm-gs1-040490000 |
Tolkien Gateway
(Difference between revisions)
m (Bot Message: changing link to Beren)
Line 23: Line 23:
[[Category:Rings and Jewels]]
[[Category:Rings and Jewels]]
Revision as of 20:23, 10 August 2010
The Nauglamír or Necklace of the Dwarves is a piece of jewelry which appears at the end of the Narn i Chîn Húrin.... | dclm-gs1-040500000 |
Tolkien Gateway
Valandil (Lord of Andúnië)
Biographical Information
BirthS.A. 630
ParentageSilmariën and Elatan
Physical Description
Valandil was the son of Elatan of Andúnië and Silmariën, the eldest daughter of Tar-Elendil, the fourth King of Númenor. He founded the line of the Lords of Andúnië, who ruled the city... | dclm-gs1-040510000 |
Associative Empathy Disorder
Alice doesn't give two cents about a particular group of people until she becomes one.
(permanent link) added: 2011-07-31 13:55:06 sponsor: noproblemzoro (last reply: 2011-08-11 11:44:31)
Add Tag:
Aaron: "In fact, Moses, when did you start caring about slaves? Was it when you found out yo... | dclm-gs1-040520000 |
%% As much hatedom as this attracts, PLEASE, keep the whole "Complaining About Shows You Don't Like" out of this page.
[[caption-width-right:220:[[VideoGameMoviesSuck It's a video game movie]], [[GenreBlindness how bad could it be?]][[note]]''Very''.[[/note]]]]
'''''Street Fighter: The Legend of Chun-Li''''' -- the se... | dclm-gs1-040530000 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.