Questions tagged [natty]
27 questions
1
vote
1 answer
Create limited user in linux that can only edit specific files
I am working on adding a few people to work on my site but I want them to only be able to access certain files as they are going to be working on a live site for the very first time.
I want the user to be given hand picked file access by me (the…

user115422
- 4,662
- 10
- 26
- 38
1
vote
3 answers
Use shell_exec() to restart server?
I have a 128MB VPS and every now and then it gets cluttered. Rebooting will fix the issue but what if I want to reboot from the browser (password-protected page). How can "www-data" restart my machine (Natty Narwhal) by using PHP's shell_exec()…

user115422
- 4,662
- 10
- 26
- 38
1
vote
2 answers
Adb device offline on Ubuntu Natty
I am developing on Android and I am running Ubuntu.
I have a really hard time getting the device 'Online'. I already tried:
All the udev rules that can be found on the internet.
Add the .ini file in the .android folder.
The usual reboot computer,…

Nactive
- 540
- 1
- 7
- 17
0
votes
4 answers
Eclipse RCP menus and the new Natty Unity
So I restarted my Eclipse RCP application after I upgraded my Ubuntu, and it seems that the Main menu has disappeared!
Does anyone know if this is the fault of the new Unity interface or something in SWT?

Geniedesalpages
- 418
- 1
- 3
- 15
0
votes
0 answers
Facing a problem with using Natty library for converting string to date
I am trying to find dates in a text that I want to modify. I found that Natty library is helping with this which I didn't know anything about it. Especially click here to see what I based on.
The problem is when I am copying the code from this…

Ibrahim Makhoul
- 25
- 4
0
votes
1 answer
Vaadin Combobox filtering issue with jpacontainer datasouce
Can any one help me to solve the tricky issue here,I have set jpacontainer as datasource for vaadin combobox and also set filtering mode to it, but filtering is not working and its throws an exception here.
Code:
JPAContainer…

Chaitanya Mamidi
- 53
- 7
0
votes
0 answers
"the decision cannot distinguish between alternative(s) 1,2 for input..."
I'm currently modifying Natty and creating some rules for my own date format. Natty makes use of ANTLR v3.5.2
When I compile the code I'm getting this error:
com\joestelmach\natty\generated\DateParser.g:295:46: the decision cannot distinguish…

IrishCrf
- 105
- 3
- 13
0
votes
0 answers
Adding a new date format to Natty DateParser
I'm a total newbie when it comes to Natty and Antler. Up to now, Natty has been great and has parsed dates with no problems. Recently we have started to receive a new date and time format which Natty has trouble extracting.
Mon 29 Feb 09:00:00…

IrishCrf
- 105
- 3
- 13
0
votes
0 answers
How to set little-endian (DMY) in Natty or JChronic or other natural language date parser?
Given the requirement to parse input strings such as "a week from now" and "20/05/15" into Date objects in Java, Natty and JChronic seem to be my main options.
However both of them default to parsing "01/12/15" as 12th of January rather than 1st of…

Ilya Kozhevnikov
- 10,242
- 4
- 40
- 70
0
votes
0 answers
Using JNI to call Java functions which have library dependencies
For my project, I'm using C++ to call a Java Class which uses NLP Natty Date Parser Library, using JNI.
Before using the Library, when I worked with a simple Java class without any library dependencies to send a string to C++ there wasn't any…

Muhammad Muneer
- 1
- 1
0
votes
4 answers
SSH package for PHP?
Ok this may seem like a very, very awkward question but here's my problem:
I need to be able to SSH to my site while at the library at my school but the only thing is that it NEVER works if I try to FileZilla it or puTTy it. I am not even using port…

user115422
- 4,662
- 10
- 26
- 38
-1
votes
1 answer
How to add user input value in R
I am trying to add user input value, both input values given as 5 or it can be anything
x <- as.numeric(readline("add value of 5:"));
x1 <- as.numeric(readline("add value of 5:"))

Vicky
- 1