-
Stack Overflow All Questions
-
Super User All Questions
-
Meta Stack Overflow All Questions
-
Database Administrators All Questions
Weather API for email?
Is there a way to display current weather conditions for the recipient of an email? I have seen some sites use a CGI bin type link but do not know how this is implemented. I am actually looking for …
How to localize date format in rails, form builders and error messages?
I've spent most of the day trying to localize dates in my application. Reading this http://guides.rubyonrails.org/i18n.html it seems that I18n.l(date) is the way to do it. This is all very well if …
Why are the properties of my view model not displaying?
I'm using the MVC 4 Beta but this doesn't appear to be specific to MVC 4. I'm new to MVC so this is probably just me needing to be pointed in the right direction. Thanks! I'm using a view model ...
Handling Unsupported Types
I am creating an array of data: var data = new Data[] { 1, "string", true, //.. }; //In this case, assume that strings and booleans are supported types, but integers are not. When I store the set of …
How Can I Pozitioning a JButton Under a JTable?
How Can I Positioning a JButton Under a JTable? What kind of Layouts? Or how? i have a JTable table what is scrollable, and the table is in a frame!
Is there another tool out there for building oracle reports other then oracle reports builder?
I cant stand oracle reports builder. Its constantly crashing and sucking in general. Copying and pasting stuff only sometimes works. Elements visualy look selected after you unselect them. ...
'Where' clause in Linq to SQL not selecting anything
Hi I am having a little difficulty with Linq to SQL and maybe somebody would spot where I am going wrong. I am just trying to read some details from an XML file, part of which looks like this: ...
How to ignore sortDescriptor in NSFetchedResultsController
I'm using NSFetchedResultsController to retrieve data for a UITableView. but problem is I have to use sortDescriptor with NSFetchedResultsController. I don't want to sort my data, I want to show data …
Array storing in FORTRAN-90
I am using FORTRAN-90. I have one problem. I want to store data (i.e. X and Y values) in an three dimensional array (A(900,900,900),B(900,900,900)) in such a way that at begining I used only 30X30X30 …
JSON Response for Visual Studio 2010 project
I have a JSON Response from an HTTP request and I'm unable to put together the last peice of the puzzle... I've worked out 90% of what I need to do but now I'm stuck and cannot find any clues ...
Disable HW wifi decryption, swcrypto=1 not working
i'm using ubuntu 10.10 x86 on my laptop (sony vaio vpceb3j1e) i need to disable hw decryption on my intel wifi card, and let it be software, but using the following command sudo rmmod iwlagn sudo ...
Creating an empty NSArray
in C I can simply declare an array like this: int array[500]; to declare an array of size 500 which can then be filled later. Is it possibel to do the same thing in NSArray? I understand for the …
WordPress Media Library Issue
I've uploaded my images using the WordPress Media Library. Permissions are set on the Uploads directory. Images are showing up in the proper uploads directory and re-sized correctly. Database is ...
Calling Procedure from Oracle Advanced Queuing
How to call procedure from Oracle Advanced Queuing i.e. using DBMS_AQADM package. Also, whether there is any restriction for the same.
What type of array is this?
Or is it not an array? and where can I find information about creating something with this structure? [ ['Firefox', 45.0], ['IE', 26.8], ['Safari', 8.5], ['Opera', ...
dlmalloc unlink() macro in libc for unix
I can understand why unlink() is defined as: #define unlink(P, BK, FD) { …
How to access php variable using concatenation
I want to access a variable that is either called $item1, $item2 or $item3. I want to access this variable inside a for loop where $i is ++ every time. using $item.$i or something similar. ...
How do open source world get better and better, without any central project control; but on a distributed development context?
As far as I know, current Linux have been developed by a lot of distributed developers. but one thing which I can not understand is, how these a lot of distributed developers have been developed an …
What exactly can cause an “HIERARCHY_REQUEST_ERR: DOM Exception 3”-Error?
And how exactly does it relate to jquery? I know the library uses native javascript functions internally, but what exactly is it trying to do whenever such a problem appears? Thx for any response in …
Ocaml syntax - procedure
I'm ocaml absolute beginner and I'm writing some code for classes and I've got a problem with such a line: let rec distributeLeft(X, And(e,f)) = And(distributeLeft(X, e),distributeLeft(Y, f)) | ...
Create an Android Jar library for distribution
I know of Android Library projects, which allow you to create a shared-source project that can be pulled into Android Applications as needed. However, that requires that source be available. I'm ...
Bash/xdotool: Commands work, but not in a script
I am making a bash script for Linux which closes the terminal window if the window loses focus. On the command line, I was able to do this: termwin=$(xdotool getactivewindow) while : do if [[ …
How to populate JList with .java and .class files
Im creating an application that gets a list of .java and .class files from a chosen directory and places them in a JList. I am using Netbeans 7.1.2. At the moment i have the files being retrieved …
In-place type conversion of a NumPy array
Given a NumPy array of int32, how do I convert it to float32 in place? So basically, I would like to do a = a.astype(numpy.float32) without copying the array. It is big. The reason for doing ...
Bounds of custom UIView not correct during awakeFromNib - when are they set?
I have a custom UIView, which I have placed using Xcode (4). I need to set some default state, based on the actual bounds of the view. During awakeFromNib, bounds seems to be returning the size of the …
Getting File Directory in C#
Ok, i am making a program in visual C# express. When i click on a file, weather on my desktop or in my downloads folder, i need the program to get the file path, and set it as a string's text. How ...
Managing counters in c++ using CQL prepared queries
Reposting actual code // cassandra is a connected org::apache::cassandra::CassandraClient // statement is a CqlPreparedResult // result is a CqlResult // CF declaration is: /* CREATE COLUMNFAMILY …
Audio Level Detect
I am trying to create an app that can listen and calculate the average audio level in the environment around the iPhone. Once this "average" level is surpassed, say somebody shouts, then the app will …
Google Api .NET Library OAuth2 Authentication
I am attempting some experiments using the code samples provided near the bottom of the page Below are extracts of my VB.NET code based on the link above. Somewhere in the translation I'm missing …
Nodes movement in NS-2
I am using NS-2 for creating a mobile node . actually those nodes are Wireless Sensor Nodes created by mannasim. My scinario as the following a mobile node will move between 4 places and wait for some …