[Request] Betty: Friendly English-like interface for your command line

Anyone with the capacities and interest to maintain Betty?
Betty is a friendly English-like interface for your command line.
She translates English-like phrases into commands in case you every run into situations like this.
This means you don't have to leave your command line to look up an obscure but useful command. Just ask Betty!
Discussion on reddit: http://www.reddit.com/r/linux/comments/ … x_command/
Source on Github: https://github.com/pickhardt/betty

I liked a lot of the ideas you posted.  Though I have to disagree with the idea of having tablets being into the size range of over 12".  You start getting larger than that and you may as well start using a laptop. On the flip side of that, I have to agree that there are too many of the 7" available,  which are almost too small.  The 8-10" tablets give you the portability and smaller size people want for stuffing into their bags,  purses, etc. The larger tablets are getting into that bulky area and that defeats the purpose of the tablet to begin with. Unfortunately I find myself using e-books more than I intended,  but I don't need a full, or larger than a full, sized sheet of paper.   They get harder to handle,  even with Lenovo 's great form design.  
The only reason to have more than one tablet is if the developers can't come to terms and allow their products to be used across the board (talking of Amazon and Google here). I personally don't want to be carrying around more than one tablet and a phone. I want to simplify and streamline not add more bulk. 
I loved that you pointed out that our voices will never replace our fingers. I don't like speaking to inanimate objects; too many experiences with automated phone services that did not end up well. 
I congratulate Lenovo for their innovative design with the Yoga tablets. 

Similar Messages

  • Interfaces for your own classes - do you bother?

    Hi All,
    before anyone gets upset, I did post a shorter version this to the Java Prog forum a couple of days ago. I'm reposting here because the thread was pushed down the list just as comments were getting interesting, and I was tossing up which forum was most appropriate anyway...
    OK, I'd like to pose a general question on the use of interfaces with your own classes. I am totally behind the concept of using appropriate interfaces for declaration of vars, parameters etc (i.e. use "List" rather than "Vector"), but what about your own classes?
    If I have a class in my application that doesn't fit into any kind of framework or class hierarchy, subclass of object basically, should I write an interface with all the same method sigs and use that rather than the class for my vars, params etc? This would make things more flexible in future, enabling you to swap classes in and out of your app more easily.
    Taking it a step further, how's this for a design methodology: For every class you write (once again classes that don't fit into your own or somebody else�s hierarchy or framework) do the following
    1. Create an interface (MyInterface) that maps 1 to 1 to that class (MyClass), with all the same method sigs.
    2. Make the constructor private and manage all the creation of instances of MyClass through a factory that returns objects of type MyInterface.
    If you do this there will be no mention of any of your concrete classes anywhere in your app except the factories, making it easier to refactor etc. Do this for all your classes.
    A little sketchy but I hope you get idea. Is this complete overkill? Is there a down side to this? Does anyone do anything like this?
    Cheers
    Matt

    Although the pattern you describes adds flexibility, it also adds complexety.
    Imagine somebody is looking at your code and from what he sees he deducts that the next thing to look at is the concrete class which is used at a given place.
    If you used an interface, he must find out which implementing class is actually used at this place. It's not a big thing, but if every single class has its seperate interface and factory I would consider it overkill ... after all you have to write all the boring code for this.
    In the case of doubt I'd agree it's better to throw in an interface and a factory instead of refactoring thousand lines of codes afterwards. But if nothing hints toward a second implementation of the interface, or another reason for using an interface don't bother to write one.
    As a general rule I use something like: Don't use a general rule. ;-)
    Spieler

  • Apt-get like interface for pacman

    Hello,
    This is my first public contribution for Arch Linux community,
    I built this script because i use arch on both of my desktops and debian on my servers and i get really confused sometimes with the options because of the mechanical typing, i got myself typing pacman install apache2 and apt-get -Syy or even trying to run pacman on debian and apt-get on arch.
    I dont know how this will be acepted, its something that advanced users normally dislike, but, for newcomers i think that is a good option.
    I wrote this very simple interface for pacman that converts into a apt-like utility, its use common pacman commands (yes, it uses pacman at background) and dont mess with pacman workout.
    Ive upload the project on my github: https://github.com/drhoome/pac-get
    Its very simple and straigthfoward (yes, just give execution permission and use, for now, theres no install/build method or configuration files, its build on top of python and should work with Python 2.7 and 3.x without any extra library).
    Any feedback is welcome, even if for saying that the script is really useless for you
    There's no manual or wiki right now, but, the software is really like apt-get, aptitude or apt-cache, and there's a built-in doc by typing pac-get --help.
    Last edited by hoome (2015-04-28 22:42:07)

    Looks nice, but wouldn't you rather use pacman commands?
    One thing to point out: The update command gives pacman -Syy. Please be aware that just updating the package cache is considered bad practice if an upgrade does not follow right after, so maybe you should remove the update command. The pacman rosetta might also be of interest to you. Look it up on the wiki.
    Last edited by runical (2015-04-29 06:52:35)

  • Ups interface for rs232 commander pro

    Hi, does anyone have any vi's (6.0.2) to interface between my UPS (Micro Master 600) using the rs232 connection? I want to be able to run some vi's if power is cut off. I have the commander pro software if that would help.
    Thanks for any help,
    Paul.S

    Hi Paul,
    Currently we do not have any VIs that specifically interface with your desired hardware. However, if you are using a RS232 connection to talk to your hardware and you have the programming documentation for your hardware, you can use the Serial VIs that come in LabVIEW. Here is a pretty good tutorial on the Serial VIs that you may find useful. Also, there are some examples that come packaged with LabVIEW that you can look at. Hope this helps!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • [SOLVED] Vocabulary Trainer or Learning Archit. for the Command Line

    I am writing my PhD in English which actually is not my native language. So vocabulary and expression learning is an important task. When I came to Arch part of the decision was also ralted to my whish to work as close to the Command Line as possible. So I am looking everywhere to find a vocabulary trainer for the shell. Unfortunately I was not able to find even one. I looked:
    - at the Arch Wiki 'List of Applications'
    - at the Ubuntu Wiki 'Shell Applications'
    - at http://www.jaredandcoralee.com/CLIapps.html
    - searched both the Arch and Ubuntu Wiki
    - searched Google for 'Vocabulary Trainer cli', 'Vocabulary Tainer terminal emulator', 'Vocabulary Trainer Linux Shell'
    Is anyone aware of such an application for the shell or has anyone ideas for a kind of work around using a combination of existing software/shell scripts/shell commands.
    Thanky you.
    PS: Of cause I could just start something like simple Python Script working with a csv file or something comparabla. But if possible I would like to avoud this DIY solution.
    Last edited by cutuchiqueno (2013-08-30 10:12:06)

    Trilby wrote:
    I don't know of any training tools of that variety.  Generally this is a "learn by doing" situation - which fits with language learning as well: flash cards can seem handy, but to really learn a language, you just need to start using it.
    To "just start using" the shell, I'd suggest greg's wiki
    Ok, I think there is a misunderstanding. My question does not relate to learn to use the shell. Although far from being perfect I already feel quite comfortable with the shell and its ways to interact with the system.
    It's really more basic. I have to improve my English. And in this context I need a vocabulary trainer, to learn english words and english academic expressions, nothing more. And as I am feeling quite close to the shel it would have been nice to train english vocabulary on the shell and not with something like KWordQuiz, etc.
    Sorry if my description was ambiguous. So the question still is, is there a vocabulary trainer for self defined english vocabulary to train in the shell?
    PS: Of cause also learning english is something you mostly do by learning. But I will do  that anyhow as I am writing the PhD in english and as I am presenting in English. Anyhow I experienced that there is a part in foreign language learning where there is no real subsitutde for learning it with a vocabulary trainer.

  • KeyListener for a command line application

    Hi, I'm currently writing a small command line application aimed at interacting with a database. I would like to implement features such as an automatic completion of the names with the TAB key. My problem is that the objects that sends KeyEvent are AWT components, and they do that when they have the focus. So I was wondering if any of you had already done such a thing. Until now, I tried lots of things, but there is no way I can catch a KeyEvent within the command line...
    Souk

    Write your own input routine that internally reads a character at a time instead of a complete line or string and test the character for tab etc. and take the appropriate action. This also means you will have to/can implement editing keys.
    If there is a Java class that has an dictionary to compare input with I do not know, because the last time I wrote a tool without gui was in 1985.
    Regards
    SH

  • Lookup for WINS command line tool

    Hi ,
    Can anyone help me in finding a way to get a lookup tool or script to check WINS records.
    I have used nblookup but this only gives HostName to IP.
    I want it from IP to HostName from WINS.
    I have tried using nbtstat -A x.x.x.x also , but this is not fetching records from WINS. (not accurate)
    Sai Krishna

    Hi,
    According to your description, my understanding is that you need a command line tool to look up records from WINS.
    The command line nbtstat –A <IP address> , will returns the NetBIOS name table and MAC address corresponding to the IP address you typed, but the WINS does not queried during this process, the two
    nodes use NbtNs to request and respond the NetBIOS name between them.
    You may use netsh wins command to query names from WINS which you specified:
    >Netsh
    >WINS
    >Server <WINS IP address>
    >show name name=<record name> endchar=<16thCharInHex>
    This will find IP address and NetBIOS names according to the name. If you need to search name according to IP address, I suggest you use the
    display records in the WINS snap-in.
    Detailed information about netsh wins command line, reference the link below:
    http://msdn.microsoft.com/en-us/library/cc779375(v=ws.10).aspx#BKMK_53
    Regards,
    Eve Wang                                                                                                                                                  

  • File format for username/password file for -vcusersfile command line option

    In what format do I specify username and password in a file that I can use for
    the -vcusersfile command line option?

    The text file should contain name/password pairs separated by an equal sign. Example:
    myname1=password1
    myname2=password2
    Hope that helps,
    Susan Doan

  • Variable does not work for sqlplus (command line)

    Here is an select:
    variable x number;
    variable y number;
    variable a number;
    define x = 2000;
    define y = 2*1000;
    define a = &x+&y;
    select ener from adding where ener = &a;
    When I execute it under SQL*Plus Worksheet (client installed on my PC) then I get output:
    ENER
    4000
    1 row selected
    When I execute this same under command line sqlplus (under unix shell) then I get output
    old 1: select ener from adding where ener = &a
    new 1: select ener from adding where ener = 2000+2*1000
    no rows selected
    What is worng ?

    Nothing.
    Sqlplus is correct and sql worksheet is buggy.
    Define works with strings only. You cannot use it to calculate an expression.
    Apparently sql worksheet did calculate the expression, and sqlplus didn't, submitting it as a string.
    This is the expected behavior.
    This behavior can likely vary by version, so thank you for not providing version info.
    Will anything awful happen when you do, or is this just the lazyness epidemia in this forum?
    Sybrand Bakker
    Senior Oracle DBA
    Experts: those who did read documentation.

  • Syntax for javac command line in DOS

    Can anyone help me with the proper syntax fror the javac command line? Based on the Java Tutorial, I type the following line while in: C:\Program Files\Java>
    c:\progra~1\java\bin\javac hellow~1.jav
    This returns the following error message:
    javac: invalid flag: hellow~1.jav
    Usage: javac <options> <source files>
    where possible options include:
    -g Generate all debugging info
    -g:none Generate no debugging info
    -g:{lines,vars,source} Generate only some debugging info
    Rest deleted, you get the drift. A long time has passed since I have used DOS, but I thought that options were just that; they were not essential to run a program. If they are necessary, how do you set an option? for example, I have tried the command:
    C:\Program Files\Java>c:\progra~1\java\bin\javac -g hellow~1
    which gives me the following error:
    javac: invalid flag: hellow~1
    I would really appreciate any suggestions anyone out there has for solving this apparently simple & stupid problem.

    Many thanks for these suggestions. I finally got javac to work by putting the file name HelloWorldApp.java inside of quote marks (i.e. "HelloWorldApp.java"). The program compiled the file, & I now have a HelloWorldApp.class file in my java directory. Unfortunately, I am now having trouble with the next tutorial step: getting java to use the file.
    I am discovering there are some very strange things about DOS since the last time I used it. For example, the cd command recognizes either cd c:\progra~1\java OR c:\"Program Files"\java. If the quote marks are omitted a "file not found" error is returned. There seems to be some sort of problem with ways that long file names are dealt with in DOS. I notice that many contribs to this list enter long file names or directories without quote marks; indeed, this is standard format in the java tutorial. This is probably a really dumb question, but is there someway to tell DOS to recognize long names without quote marks?
    Once again, thanks for the help.

  • How to block IP addresses or IP blocks through the 5505 ASDM interface, not through command lines?

    Is it possible to block IP addresses or IP blocks through the 5505 ASDM interface, and not through command lines? If so, how?

    Unfortunately I can't share any information on the router. It's company policy. But, if you could let me know where in the GUI interface of the router where I can find the ACL and how to enter the IPs to block I would really appreciate it.

  • How to Install IHAT10.1.3 for both command line and web

    Hi,
    I am trying to install iHAT10.1.3 onto my linux x86 machine. However the instruction I am following in the README is not working for me. Can anyone give me an example of how to install and view iHat for command line and the web
    Cheers
    Jat

    What stage during the instructions are you encountering problems. Can you provide the error details if any?
    The 10.1.3 iHAT is only Web based using Flash at the client for displaying compopnents. Unlike the old iHAT, there is not thick client provided to invoke from the command line.
    null

  • Looking for pfi command line arguments.

    Hey,
    I've read through all documentation but can't find a list of all available command line arguments for pfi. the pfi -help does not list any options for me. Does anyone have a link to a list or is there some way to get the -help argument to output the list?
    Thanks,
    Jonas

    Below mentioned pdf has some info on the command line args of pfi under the heading Creating an iPhone application installer file from the command line
    http://download.macromedia.com/pub/labs/packagerforiphone/packagerforiphone_devguide.pdf
    Tanu

  • Camera Raw like interface for Premiere Pro CC

    Hi Adobe
    I'm a photographer and video producer looking for an easier way to grade and adjust the levels of my footage in Premiere.
    The DynamicLink with SpeedGrade is really lovely and quick, but getting my head around the new SG interface and being able to squeeze the best results out of it is a real challenge. Recently I discovered that I can open video files in Photoshop CC and use the Adobe Camera Raw interface as an effect on the footage and apply colour and levels changes there. This has really opened up the grading process for me and coming from a stills background with several years of using Lightroom to process my photos, I find the Camera Raw interface much more intuitive. It has allowed me to get better results much faster than I was getting out of SpeedGrade. The only issue is the workflow and render time involved in getting the video from Premiere to Photoshop and then back again is drawn out and complex.
    My questions are:
    Is there a current effect or plugin that replicates the Camera Raw interface and feature set in Premiere Pro / SpeedGrade?
    Is this a feature Adobe is looking to include in future updates of Premiere?
    It maybe laziness on my behalf not taking the time to learn the interface of SpeedGrade, but I know Adobe is a responsive developer and that this feature would speed up the grading process and would really appeal to the DSLR community who use your products for both photos and videos production.
    Thanks in advance
    Dan
    Dan Murphy
    Video Production & Photography
    +61 0449 53 9797
    www.mandurphy.net

    As to quick corrections, a bit of experience in Sg and wow ... what you can do quickly. At first, SpeedGrade ticked me off, couldn't do squat in it. After a bit of learning about how to use scopes & what the goal is in video (very different than stills) ... and learning some of the interface bits ... and getting a Kensington Expert Mouse Trackball (which is a great trackball with a spinner ring and no mouse at all) so it works with the color wheels real spiffy ...and the ease of saving "looks" for my camera's main use stuff ... speed of quick corrections is stunning. "Normalize" ... a couple clicks if that's all you want to do. Keyboard shorts too. All for me, way faster than the 3-Way or Fast.
    As to the ACR interface, I went down to NAB in Vegas this spring, got to talk with some of the folks "behind" Sg. And also such things as coming from a stills background, being familiar with the Lightroom and ACR style of panels, wondering if that was possible. Got a pretty good answer ... short answer, "possible" ... well, yes, ... probably.
    But ... very, very difficult to do, because of a concatenation of things.
    First ... the photo apps (Lr, P-shop, Bridge) are developed by a completely different group of people, EVERYTHING from the "look" or style thinkers to the coders. There is virtually no "code" similarity between the products for stills and the products for video. Think about the differences here ... Photoshop and Lightroom are designed to work on one image at a time, realistically, and allow "batching" instructions to a few others. And they can at times pretty much take over most computer's resources. The video apps are designed to work on (process) THOUSANDS of images at a time, as that's what a clip is, let alone a full sequence of clips. The coding "ideology" for the two is completely different. Even though P-shop has some video handling capability, NONE of the code is anywhere near alike. You can't say "we've got that code here, let's put it in over there ... ".
    It would be like thinking you just wanted good power in a little European sportster so you decided to put a big American-built Cummings diesel motor in it. Um ... with enough work & hassle, it actually might be possible. The wisdom of the effort, let alone the happiness you might achieve with the result ... well, it might be worth thinking about before starting. Or at least realizing it's gonna be a ton of work to do.
    Second ... resources while running. In stills, if one is technically sharp, one looks at a histogram while "developing" in Lr terminology. That histogram takes next to no resources whatever, works perfectly well. In video, if your aren't looking at least at a good Vectorscope if not also Parade while working, well ... the success of your endeavors let alone the time to create them is going to be ... perhaps ... poor. Probably. Yet those scopes can take quite a bit of resources all by their lonesome. Which is why they have the option to "pause" the scopes while playback is going on, as to keep them going in real-time is a right b-tard. Resource-wise.
    Think of what's going in in the video apps: they take your source footage, but only the bits you've selected (but out FROM the whole clip constantly), all the changes & effects you've made, compute instantly for every flipping image at between 24 to 120 per second what it "should" look like, and display that in your playback monitor. This is a load the stills apps don't even think about. And yet, they've got to make these things "look" like there's no difference in getting things to your monitor than the stills programs. It is literally like comparing 18-wheel freight trucks to Maseratis. And expecting the Maserati to carry the load the freight truck does. Hey, the little Maserati may actually have more horsepower,. you know. Why can't it pull that semi-trailer? P-shop has some video capability, why can't you just cut & paste something else from P-shop into Sg?
    So ... the long answer is adding some option like the LR/ACR style interface is an intriguing idea even for the Sg "team". However, it would pretty much mean they'd need to rebuild a ton of the program. Now, most of the things you can do within that interface Sg already does, albeit with vastly different code and "tools". When I asked about perhaps just allowing a Secondaries panel with the HSL look out of Lr, one of the main dudes just sort of ... blanched. I would guess from other comments that that little bit has been discussed or something along that line, and ... it would be a "Significant" people-using project to accomplish. From a coding standpoint, some parts of Sg would simply have to be rebuilt. With the appropriate de-bugging needed to get it operational AGAIN on so many different types of hardware/codecs/drivers/OS & etc.
    There's times that HSL panel would allow me to easily do precisely what I want ... I would love to have it. I've put in numerous Wish Requests for it. And of course, done so in person. I'm not expecting to see it any time soon, mind you ... but again, put in wish requests for the ACR panel in Sg. Can't hurt.
    Neil

  • Defining input file encoding type for XML Command Line parser

    The commend line parser seems to default to an input xml file type of UTF8. I would like to use ANSI xml file types.
    There is an option of xml -e <encoding> that should be able to do this.
    I have tried
    xml -ee ANSI file.xml
    xml -ee 'ANSI' file.xml
    xml -e ANSI file.xml
    xml -e 'ANSI' file.xml
    Can someone tell me what the correct syntax for thjis is.
    Thanks
    D

    An xsd can be generated of an xml file using this tool: Use this tool properly according to your file:
    The pdf however explaib about MDM xml to xsd you can try on yours:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bf0e8a97-0d01-0010-f0a2-af3b18b7f4eb
    Once the xsd will be generated you can import it in external definitions.
    Rewards if helpful.
    BR,
    Alok

Maybe you are looking for