I'm looking for implementation of IP Traceback using packet marking algorithm in C#?
I google it but could not find anything!!!
any one know a website has this implementation ??
I haven't been able to found this on Google, so I thought maybe somene here knew if this was possible and if so, how to implement it =) thanks in advance for any answers!
What I am aiming for is overwriting this method so I can perform some actions before the sms/mail gets sent, then just allow it to perform its normal actions.
I want to use file_get_contents to implement a proxy so I can do ajax cross domain requests. Querystring will be used to supply the URL to file_get_contents. Now the problem is people can muck around with the qurystring in order to read local files on the server. I dont wnat this. Can someone get me a function to sinitize the querystring in order only to accept urls and not local files: ie:
?url=http://google.com.au - OK
?url=./passwords.txt - Not OK
Hi!
I'm trying to run the google maps
example but it keep giving me in the console:
"WARNING: Application does not specify an API level requirement!"
"Device API version is 7 (Android 2.1)"
The application never starts,
instead, it shows that frame with:
"The application (...) has stopped unexpectedly..."
Can Anyone point what might be the the problem?
Thanks
At one point while traveling the web, I came across a great page which contrasted the clarity and terseness of different methods of doing a sequence of operations without having to make a bunch of throwaway variables, e.g., Var1, Var2, Var3. It tried list comprehensions, folds, maps, etc. For some reason, now matter what I google, I can't find it again. Anyone have any idea what I'm talking about? Or want to explore the topic anyway?
I have a Perl script to open this page http://svejo.net/popular/all/new/ and filter the names of the posts but except headers everything seems encrypted. Nothing can be read. When I open the same page in a browser everything looks fine including the source code. How is it possible to encrypt a page for a script and not for a browser? My Perl script sends the same headers as my browser (Google Chrome).
I am trying to set up ANT build.
However when I invoke build command
helloworld_15/${NAME} does not exist.
BUILD FAILED (total time: 0 seconds)
Also the configure variables does not seems to be assigned.
However i have set them into /etc/envitonment
I tried echo $<varaiable_name> and value get displayed.
Tried to google but not solutions seems am the first one having this issue.
PS: OS Ubuntu 10.10
i've read a lot about ORM but wondering if there are side by side comparison examples between an ORM like doctrine and SQL so that you could see what is more easier to maintain?
couldn't find such comparisons in google.
Has anyone seen or compiled benchmarks comparing declarative (XML) versus programmatically created UI's in Android?
There are things that Google has done to speed up the declarative approach, but you still do have the layout inflation step done at runtime.
Have you ever switched (or considered) changing your UI from declarative to programmatic for any reason?
Hi i have a problem with my Eclipse and the SDK (i have download and install the latest ADT Bundle for windows )
when i start my eclipse i get this problem :
This Android SDK requires Android Developer Toolkit version 22.0.0 or above. Current version is 20.0.0.
please update your SDK tools to the latest version
i have tried the option : Help - check for updates
But with no new update find
then i try this one :
How to Update your ADT to Latest Version
In Eclipse go to Help
Install New Software ---> Add
inside Add Repository write the Name: ADT (or whatever you want)
and Location: https://dl-ssl.google.com/android/eclipse/
after loading you should get Developer Tools and NDK Plugins
check both if you want to use the Native Developer Kit (NDK) in the future or check Developer Tool only
click Next
Finish
But i dont have the option to click next to finish (the back , next and finish options are grey )
Then i try this method :
Go here download latest version of ADT-22.0.4.zip (*)
At Eclipse > Help > Install new software... > Uncheck Contact all update sites during install to find required software (last bottom preference) that will avoid any unwanted delays during install.
then at the same screen (top) Click Add > Archive > select downloaded ADT-X.X.X.zip > follow on screen installation steps
But had the same problem when it was to finish the installation.. no option to click ''next''
then i try this one :
Help – Install New Software in the ADT menu.
Type https://dl-ssl.google.com/android/eclipse/site.xml in “Work with:” and Enter.
You can see the “Developer Tools” item.
Select it and click Next.
Click Next one more.
Click Finish accepting the terms of the license agreements.
Click OK in the “Security Warning” window.
Let the installer restart ADT after installing the tools.
But and in this option have the same problem as above.. can click the ''next'' to finish
http://i30.photobucket.com/albums/c316/caslor_1978/diafora/atdproblem_zps0d141b7b.jpg
i check my version and it is the latest but have the problem
http://i30.photobucket.com/albums/c316/caslor_1978/diafora/atdproblem2_zps81de6317.jpg
How can i fix this problem ? any suggestion?
Win7 / 32bit / java SE Development kit7 update 25
I am running a GWT Web Application project in Eclipse with certain Entities that I make persisent using JDO. Where (on my file system) do these Entities actually get saved if I run the project in development mode from Eclipse (so not on the Google App Engine, but locally)?
Is there a metadata attribute I can use to prevent a field from being accessible on the client in a WCF RIA services? I sure I have seen this before, but I'm drawing a blank and Google isn't helping. It would look something like
[MetadataType(typeof(User.UserMetadata))]
public partial class User
{
internal sealed class UserMetadata
{
private UserMetadata()
{
}
public int Id { get; set; }
[HideFromClientProxy]
public string PasswordSalt { get; set; }
}
}
Hi,
I am trying to use 'GetModuleFileNameA' but I keep getting the error 'c4430: missing type specifier - int assumed'. From reading the results from my google search I am guessing that it is from my use of NULL:
char Filename[MAX_PATH]; //this is a char buffer
GetModuleFileNameA(NULL, Filename, sizeof(Filename));
NULL is supposedly defined in #include stdio.h which I have included in my project, what am I doing wrong?
Thanks.
What is a good test of your smartness vs. stupidity?
Is Google Code Jam a good test for that?
Or would you suggest something else?
I want to know whether I'm a good programmer or not.
m.google.com somehow requests the current location when loaded in Android's browser.
I want to do the same thing from a web page being loaded into a WebView in my own application. Is the only way to go about this with WebView.addJavascriptInterface(), or is there already a javascript interface available for webapps to use?
Hi , I am trying to play a .wav file with java. I need it when a button is pressed to play a short beep sound. I have google it but most of the code wasn't working. Can someone give me a simple code to play a .wav file.
hi, I need to get a domain name if I have an IP address (e.g. I type 209.85.129.103 and the program should find out that is the Google address)
As far as I've figured out is get the hostname:
IPHostEntry IpToDomainName = Dns.GetHostEntry("209.85.129.103");
string HostName = IpToDomainName.HostName; //it returns "fk-in-f103.1e100.net"
but it's not that I want.
I don't know how to achieve that. Any ideas will be helpful
Gitorious has been around longer and the two sites seem to cover the same ground, yet a quick Google Fight shows Github almost two orders of magnitude higher.
Is there a larger distinction that I'm not aware of?
I am looking for a way to comment the current selection in an xml file in eclipse (STS 2.3.2).
ctrl+/ gets seems to get ignored when editing XML.
Google left me on my own.
Hi my idea is to retrieve all users from google app domain using java. I retrieved all the user using Provisioning api but when i tried to store the data in the table using JPA its returning time out Error.... I dont know how to store the entire details at a stretch. Please Help me...
Regards,
sharun.
What is the best implementation of Markdown for C or C++?
I found these via Google, and would appreciate comments about which ones work well and which ones don't (and which ones I may have missed):
peg-markdown
Discount
Cpp-Markdown
Hey Guys
I got some question about nested javascript objects (is it me, google or is javascript quite poorly documented?). Now, I got the following (nested) object:
obj: { subObj: { 'hello world' } };
next thing I do is to reference the subobject like this:
var s = obj.subObj;
now what I would like to do, is to get a reference to the object obj out of the variable s.
Something like:
var o = s.parent;
Is this somehow possible?
Hi, people. For a academic exercise i have to implement a program in c for nix platform which is to synchronize multiple processes through signal handling, using only signal,pause,kill and fork basic functions.
I searched google and have not found any clear example: I hope the wisdom of one of you will light my way.
Thanks!
Currently, most of the popular websites, like google, yahoo detect if the user connection speed is slow and then give a option to load basic version of the website instead of the high end one.
What are the methods available to detect slow internet connections?
P.S. I think this is achieved through javascript, so I will tag it as a javascript question? However, I am looking for answers oriented more towards PHP, if this is also server related.