0
votes
0answers
5 views

style of addresing atributes in python

This question is one of style. Since the attributes are not private in python, is it good and common practice to address them directly outside the class using something like MyClass.attr? Or, maybe, ...
0
votes
0answers
2 views

Is there any ways that I can export only the changed files in one commit in git?

I am using gerrit as my code review and git system.And now I am trying to get only the files of a certain patchset in gerrit,excluding the other files in git repository. Is there any way to do ...
0
votes
0answers
5 views

On what systems sleep() is not a pthread cancellation point?

pthread_cancel() successfully interrupts sleep() on Solaris 10, Linux and Cygwin. So why people use pthread_cond_timedwait() instead of sleep()? In the following example PPBsleep() is the function I ...
0
votes
0answers
3 views

APDU Write block commands on mifare classic

I have been trying to write some data to my mifare classic cards. first I send these two commands which returns 90 00: Load Mifare Keys: FF 82 20 01 06 FF FF FF FF FF FF Authenticate: FF 86 00 00 05 ...
0
votes
0answers
2 views

Which facebook actions you can do with oauth?

I want to create stand alone application that will fire some facebook functionality for my user. As it is mentioned in Oauth official page it gives you access to some basic functionalities. For ...
0
votes
0answers
6 views

How to detect current web page or element direction (rtl/ltr) or any other attribute in javascript?

How can i read any attribute that currently effects an element that is not necessarily style? one such attribute would be "dir".
0
votes
0answers
7 views

Creating IOS App with database

I've searched the web for an answer to this Q But failed to find. I want to create an app that already has data in it (data that doesn't needed to be downloaded from the web). For example an IOS ...
0
votes
0answers
5 views

How would you clean up URL from tracking query string variables?

I have some 1000s of URLs and the task is to count their occurrences and print top frequent. The problem occurs when single article has multiple URLs. Example below: ...
0
votes
0answers
12 views

ListView with extra view between elements

I use ListView with CursorAdapter. It was greate. But customer ordered additional information in list between view: How can I provide this?
0
votes
0answers
10 views

Why is adding a column to an already-created table considered bad practice?

I was looking at the ALTER procedure to add a column to an already-created table and a lot of the answers specified that adding columns dynamically wasn't considered good practice. Why is that?
0
votes
0answers
5 views

Best approach for “buttons” in SurfaceView

I'm doing a game and I'm using SurfaceView and I need some options for the player to choose from. I just wonder if the best approach is to place a text or image on the screen and then check if the ...
1
vote
0answers
31 views

diff between boolean res=a==b and boolean res=(a==b)

can any one explain ? String a=new String("srihari"); String b=new String("srihari"); boolean res1=(a==b); // reference check System.out.println(r); // true boolean res2=a==b; // object check ...
0
votes
0answers
6 views

how to capture the paginated data in php

I'm capturing data using curl_exec() in PHP. But it only captures data which is present in first page. My captured website consists more than one page data, which is shown as pagination. How can I ...
0
votes
0answers
3 views

Multiple apps / projects with one Laravel 4 installation

i'm have worked with laravel 3 in the past and used a project structure where multiple apps could use one installation of the framework. now in laravel 4 i am concered if that is still possible. since ...
0
votes
0answers
2 views

Setting proxy settings in CURL

I am using CURL library to download a file net. I have written a sample in win32. I have few doubts 1) Why do we need to use CURL. One of my friend says why don’t we just use win32 API’s to ...

15 30 50 per page
1 2 3 4 5 343964