How can I authenticate my users via our their Google Apps account.
I also need access to their email.
I've read Oauth is needed but I have no idea if that is correct.
I'm using PHP.
Hi All....I am using register-plus plugin for registration purpose in my wordpress site. I have enalbled E-mail verifiacation whereby user will be getting an activation link. What i want to do is when the user clicks the link, i want the user to be enabled automatically.......currently admin has to login to the system and verify the users for the new user to login.....how do i achieve my task ...ANy help is appreciated
From what I understand, I need to use WADL to describe a RESTful web service. Still, I have read many answers in relevant posts, where users are strongly opposed the use of WADL.
What are the disadvantages of WADL? Is there any alternative solution?
I am trying to show a .tif image in matlab and I use these two line of codes
a = imread('C:\Users\sepideh\Desktop\21_15.tif');
imshow(a)
that encounters this warning
Warning: Image is too big to fit on screen; displaying at 3%
In imuitools\private\initSize at 73
In imshow at 262
what is the cause of this warning and what can I do to fix that?
the main trouble is it sometimes doesn't show the image and of course even if it shows the image CPU usage gets high that I can't zoom properly
Is there significant cpu/memory overhead associated with using automatic arrays with g++/Intel on 64-bit x86 linux platform?
int function(int N) {
double array[N];
overhead compared to allocating array before hand (assuming function is called multiple times)
overhead compared to using new
overhead compared to using malloc
The range of N may be from 1kb to 16kb roughly, stack overrun is not a problem.
I have the following SQL
SELECT
Seq.UserSessionSequenceID,
Usr.SessionGuid,
Usr.UserSessionID,
Usr.SiteID,
Seq.Timestamp,
Seq.UrlTitle,
Seq.Url
FROM
tblUserSession Usr
INNER JOIN
tblUserSessionSequence Seq ON Usr.UserSessionID = Seq.UserSessionID
WHERE
(Usr.Timestamp > DATEADD(mi, -45, GETDATE())) AND (Usr.SiteID = 15)
ORDER BY Usr.Timestamp DESC
Pretty simple stuff. There are by nature multiple UserSessionIDs rows in tblUserSessionSequence. I ONLY want to return the latest (top 1) row with unique UserSessionID. How do I do that?
I am in need of some help with trying to figure out how to go about checking the users session and seeing if they are still logged in or not.
The problem being is because i have a static page that pretty much loads everything into "tabs" using jquery. So when the user navigates the page, it really never leaves that same page they started out on. Hints my problem in trying to determine if they are still logged in or not when they click on update their information on their profile or whatnot.
We have an WPF Application build on .net framework 3.5.
Some testers find if they uninstall .net framework 3.5, but install .net framework 4.0, our APP fails to launch itself.
Dose this mean that .net framework 4.0 does not include all 3.5 libs, and users have to install .net 3.5 even though they have 4.0?
I see here are some migration issues listed by Microsoft
http://msdn.microsoft.com/en-us/library/ee941656.aspx#windows_presentation_foundation_wpf
Are they all breaking changes so that the backward compatibility is ruined?
Thanks
I have stored the videos in the documents folder. the path is
/Users/sridhar/Library/Application Support/iPhone Simulator/User/Applications/EC177E77-8665-485C-93DE-62350FA6D0E7/Documents/air.mp4
I want to delete the video . How can I do it programmatically.
Obviously, I know that this will piss people off, but there is no other place that I believe has this kind and engaging users, so anyone care to send an invitation to me?
This question is related to Tools for matching name/address data. There is a number commercial tools provided by SAS, Oracle, Microsoft, etc., that allow to de-duplicate or merging names of individuals or companies coming from multiple sources.
However, after reading the answers to the question mentioned before, I wondered why a seemingly interesting problem didn't receive any answers mentioning open source projects that could tackle the problem.
Are you aware of any open source projects or algorithms to implement the so called "record linking", "record merging", or "clustering"?
Is there a way to get the session info from a remote windows server (Assuming you have admin credentials). For example, if you open Task Manager and go to the Users tab, that is the info I want...
User
(Session)
ID (Session) Status
Client Name Session (Name)
Programmatic in C# would be best but I could also wrap a cmd line tool.
Hy,
Im trying to use this "script/generate cell ShoppingCart display" but in the error is showing me "C:/Users/Totty/workspace/test1/" and test1 is not the project i want to add the cell.
I want to add the cell to test2, how do i do? thanks
I have a list of files in a ListView in WPF. Users can drag files onto the list view, and right now they are just appended to the end of the list. Is it possible to insert the file into the ListView right where the user dropped it?
I have multiple email addresses linked to my gmail account.
I am signed up to some email groups that send emails out with
To: [email protected]
I can't remember which email address I used to sign up for this group. How do I find out which email address this was addressed to?
Hello,
we have an web-application built in flash (it's actually just getting built :D) where is very important to be notified, when user closes his window.
Since it's in flash, we do not worry about Javascript, we do not support non-javascript users.
What is the safest (meaning it's 100% sure it gets called) X-browser way to call php script to close session, make some db changes, etc.?
Thank you
I know at some point I'd come across a Google service built into their API that would provide local information as markers on the viewport (schools, hospitals, etc.)-- I believe this was a simple control that could be added just like the normal map controls, to allow users to turn it on or off with a checkbox or button.
I can't seem to find this feature documented anywhere in the v3.0 API docs. Can anyone provide some information on this, or let me know if it was deprecated?
Thanks
I hear a lot of Emacs users have their init file under git version control and sync the git repository over Dropbox, when they run Emacs on multiple systems.
Why would you use git in this situation exactly?
Usually checking which system you're on and which things to load and set depending on that can happen in one and the same init file for all systems, right?
So, isn't it simply enough to put your init file in a Dropbox directory and load that one directly from Emacs then?
Hello,
For a Facebook-like site, ie. which is write-intensive and delivers user-customized pages, I'd like to build a prototype to investigate whether the document-centric NoSQL architecture would be a good alternative to sharding and reduce the load on the single master (+ multiple slaves) that we currently use and is the bottleneck.
Does someone know of a good article that would give actual, simple examples of going from a relational layout in MySQL to a NoSQL layout?
Thank you.
Hello,
I am working on Silverlight project.
I added a custom user control (Say, control1) which has a text box and button to a xaml page (Say, Page1).
Now what I want to do is when users clicks on the button, i want to pass the value in the textbox to Page1 and do something.
So basically, I am looking for a way to pass back a value from child to parent page in Silverlight.
Thank you.
Is there some library or generator that I can use to generate multiple templated java classes from a single template?
Obviously Java does have a generics implementation itself, but since it uses type-erasure, there are lots of situations where it is less than adequate.
For example, if I want to make a self-growing array like this:
class EasyArray {
T[] backingarray;
}
(where T is a primitive type), then this isn't possible.
This is true for anything which needs an array, for example high-performance templated matrix and vector classes.
It should probably be possible to write a code generator which takes a templated class and generates multiple instantiations, for different types, eg for 'double' and 'float' and 'int' and 'String'. Is there something that already exists that does this?
Edit: note that using an array of Object is not what I'm looking for, since it's no longer an array of primitives. An array of primitives is very fast, and uses only as much space a sizeof(primitive) * length-of-array. An array of object is an array of pointers/references, that points to Double objects, or similar, which could be scattered all over the place in memory, require garbage collection, allocation, and imply a double-indirection for access.
Edit2: good god, voted down for asking for something that probably doesn't currently exist, but is technically possible and feasible? Does that mean that people looking for ways to improve things have already left the java community?
Edit3:
Here is code to show the difference in performance between primitive and boxed arrays:
int N = 10*1000*1000;
double[]primArray = new double[N];
for( int i = 0; i < N; i++ ) {
primArray[i] = 123.0;
}
Object[] objArray = new Double[N];
for( int i = 0; i < N; i++ ) {
objArray[i] = 123.0;
}
tic();
primArray = new double[N];
for( int i = 0; i < N; i++ ) {
primArray[i] = 123.0;
}
toc();
tic();
objArray = new Double[N];
for( int i = 0; i < N; i++ ) {
objArray[i] = 123.0;
}
toc();
Results:
double[] array: 148 ms
Double[] array: 4614 ms
Not even close!
Need your help to get the list of suggested friends (who aren't friends of the current user but are friends of 2 or more of the current user's friends). The primary ordering should put people at the same school at the top, and the secondary ordering should put people with more common friends (that is, the number of people who are friends of that person and the current user) near the top.
Users:
user_id PK,
user_name
Profiles:
user_id PK,
school_name,
...
Friendships:
id PK,
user_id FK,
friend_id FK
Thank you in advance.
Joe
Hi,
I have a chat application (xmpp / muc) that is going to be served by apache (we might change to nginx later but right now it's not easily done). If a user is in 2 rooms, he'll have between 2 and 4 active connections to the server (long-polling connections), so if we have 200 users per room and we have 5 rooms, what should the ServerLimit, MaxClients be set to? For example, these are the default values:
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
Thanks,