My Sites

My Sites


0 answers

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 …

0 answers

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 …

1 answer

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 ...

6 secs ago
1 answer

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 …

7 secs ago
1 answer

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!

6 answers

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. ...

0 answers

'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: ...

15 secs ago
0 answers

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 …

1 answer

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 …

22 secs ago
0 answers

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 ...

24 secs ago
0 answers

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 ...

1 answer

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 …

0 answers

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 ...

29 secs ago
0 answers

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.

29 secs ago
2 answers

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', ...

33 secs ago
0 answers

dlmalloc unlink() macro in libc for unix

I can understand why unlink() is defined as: #define unlink(P, BK, FD) { …

35 secs ago
2 answers

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. ...

41 secs ago
0 answers

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 …

8 answers

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 …

47 secs ago
1 answer

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)) | ...

52 secs ago
6 answers

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 ...

53 secs ago
1 answer

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 [[ …

2 answers

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 …

3 answers

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 ...

1 min ago
1 answer

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 …

1 min ago
0 answers

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 ...

1 answer

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 …

0 answers

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 …

1 answer

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 …

1 min ago
0 answers

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 …

1 min ago
15 30 50 per page
1 2 3