Slashdot Mirror


Ask Slashdot: Scripting-Friendly Smartphones?

An anonymous reader writes "I am choosing a smartphone for work, moving up from a long history of just-a-phone phones. This coincides with moving into an environment where I will have a desktop machine in my office, rather using my laptop — so I'll VPN in from home, and am looking forward to not trucking my laptop around everywhere. BUT ... this means I now won't have my laptop all the time. I have gotten used to scripting various little things that make my life easier, and would like to carry that over to the phone. For example, periodically check that a certain machine is online and backing things up the way it is supposed to; if the lab monitoring system sends me an email that the -80 freezer is up to -50, play a sound and run the vibrate system in a specific, arbitrarily chosen pattern; when I press this button, record an MP3, when I release it prep an email with it attached, that sort of thing. Does such a beast exist? Has anyone used one and if so what do you think? Bonus points if you know if I can use it with Rogers (Canadian wireless provider used by my workplace)." I've heard good things about (but never used) the payware Android app called Tasker; what other recommendations do you have for running the world from a smartphone?

197 comments

  1. An inherent limitation of the form factor? by Anonymous Coward · · Score: 1

    Have you considered that perhaps the screen real estate, and perhaps the fact that most soft keyboards take up half of the screen, prevents mobile phones from being used as dev platforms?

    1. Re:An inherent limitation of the form factor? by Tough+Love · · Score: 2

      With a bluetooth keyboard and external display you could use your phone for dev, but I'd have to ask why. On the other hand, as an admin tool its great. I have often sshed into my home network to take care of one thing or another. For a professional sysadmin on call, scripting from the phone could will make the difference between needing to drive into the office on the weekend or not.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    2. Re:An inherent limitation of the form factor? by Lisias · · Score: 4, Interesting

      My brother uses a Milestone 2, and now and then he get himself doing some server administration over SSH while commuting on public transportation.

      Of course it sucks, but it sucks less than trying to use a Pad or Notebook on that shitty bus seats. :-)

      --
      Lisias@Earth.SolarSystem.OrionArm.MilkyWay.Local.Virgo.Universe.org
    3. Re:An inherent limitation of the form factor? by Anonymous Coward · · Score: 2, Insightful

      A professional sysadmin on call should have multiple devices ready to roll, and not just depend on one dinky one.

      There's a reason samurai had two swords, or cowboys carried a boot knife...

    4. Re:An inherent limitation of the form factor? by Tough+Love · · Score: 1

      Are you trying to tell me that a professional sysadmin never goes to a party on Saturday night? You are obviously not one, or you're an ancient one. In either case, just don't worry to much about sshing on your phone ok?

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    5. Re:An inherent limitation of the form factor? by Anonymous Coward · · Score: 1

      Not if he's on-call he doesn't. Or if he does, he takes a laptop with him.
      If he's not on-call, then it's not important enough for him to have to use his phone to do it.

    6. Re:An inherent limitation of the form factor? by gmuslera · · Score: 4, Informative

      Some soft keyboards have transparency, so can take most of the screen while you keep seeing what is below. And some have hard keyboards, some of them pretty good, or can use a bluetooth keyboard. The N900 is more a pocket computer than a cellphone, but could do work for what is needed (and was script friendly too)

    7. Re:An inherent limitation of the form factor? by Anonymous Coward · · Score: 0

      What's this "party" thing I keep hearing about?

    8. Re:An inherent limitation of the form factor? by pantherace · · Score: 4, Interesting

      It's not an inherent limitation of the device.

      It's that the keyboards almost universally are horrible for it, because they are designed for things like natural speaking. Their processing of symbols is subpar.

      The same is true of most small bluetooth keyboards, or built in keyboards. Frankly, my Zaurus SL-5500 from 2003 has a better keyboard on a mobile than almost anything that's come since. (And in fact, the only things I can think of that rival it that I have encountered, are also Zaurus devices.)

      I have found one that I don't think sucks so far, it's "hacker's keyboard" on android. (Most important things it has that seemingly every other keyboard lacks are tab and arrow keys... easily accessible. It has some limitations though, and you'll almost certainly want to enable portrait 5-line keyboard) Though I usually use it more with my table as opposed to with my phone, though it does work there just fine, I use the phone more for email/texting/etc, so having a keyboard (swype) which is better for those things as default means the other isn't used as much.

    9. Re:An inherent limitation of the form factor? by Tough+Love · · Score: 4, Informative

      I think you're a little confused as to what "on-call" actually means. It is not regular work. You don't handle tickets, respond to emails or any of that. On-call is for emergencies, and it is typcially uncompensated. Your job is to respond if called. Otherwise you can do what you want. You are not by any means expected to stay sitting in your room hanging onto a laptop. Or if you are and you're not getting paid straight time for it, it's time to freshen up your resume.

      Now that you understand what on-call is, if all you need to do is reset somebody's password or similar "emergency" and you can do that from your phone, then just do it and get on with life. Of course if you prefer to drive into the office instead then feel free.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    10. Re:An inherent limitation of the form factor? by AliasMarlowe · · Score: 3, Informative

      I think you're a little confused as to what "on-call" actually means ... it is typcially uncompensated. Your job is to respond if called. Otherwise you can do what you want.

      This must be some new meaning for "on call" with which I am unfamiliar. We pay our people to be on-call for specific off-hours periods, and that pay is by the on-call hour and in addition to their base salary. If they are actually called on, then they get yet another additional payment, depending on how long it took to address the issue. Those eligible for on-call duty are also free to decline any or all on-call duty, if they wish. We expect our people to remain sober and capable when on-call, even if they are attending social events such as parties. This has a price, as it should.

      Which industry/country do you work in, where on-call time is free (and possibly compulsory and/or unlimited)?

      --
      Those who can make you believe absurdities can make you commit atrocities. - Voltaire
    11. Re:An inherent limitation of the form factor? by TeXMaster · · Score: 1

      This is actually one of the reasons why the N900 was such an excellent choice.

      --
      "I'm never quite so stupid as when I'm being smart" (Linus van Pelt)
    12. Re:An inherent limitation of the form factor? by Anonymous Coward · · Score: 1, Insightful

      I think you're a little confused as to what "on-call" actually means.

      No, it is you who is confused. What you've posted as on-call requirements would violate labor laws in most, if not all, States.

      In any event a professional system administrator would have a jumpbox with all their tools setup, and all the smartphone would do is provide some type of connection to that system. Possibly ssh, possibly web-based, just depending on how fancy you wanted to get and what kind of tools you may need.

    13. Re:An inherent limitation of the form factor? by TheGratefulNet · · Score: 4, Funny

      every salaried job, that's what!

      I've never been offered extra money to take 'pager duty' (as it was historically called). I hated it, I won't willingly do it again but its still the norm to pay one annual salary and still expect lots of 'free time' from your slaves. I mean employees. I did mean employees, really I did.

      --

      --
      "It is now safe to switch off your computer."
    14. Re:An inherent limitation of the form factor? by Tough+Love · · Score: 1

      a professional system administrator would have a jumpbox with all their tools setup, and all the smartphone would do is provide some type of connection to that system. Possibly ssh, possibly web-based, just depending on how fancy you wanted to get and what kind of tools you may need.

      Now you're talking, and that basically describes my setup. Except that I'm just your basic Linux geek, no pretensions to "professional sysadmin" status, whatever that is.

      Ah, to which labour law were you specifically referring? And how does apply to "exempt" employees?

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    15. Re:An inherent limitation of the form factor? by Anonymous Coward · · Score: 0

      "I think you're a little confused as to what "on-call" actually means. It is not regular work. You don't handle tickets, respond to emails or any of that. On-call is for emergencies, and it is typcially uncompensated."

      Uncompensated? In the US perhaps, we call it slavery.

    16. Re:An inherent limitation of the form factor? by Anonymous Coward · · Score: 1

      >There's a reason samurai had two swords

      but not necessarily that reason...

    17. Re:An inherent limitation of the form factor? by nospam007 · · Score: 0

      " and all the smartphone would do is provide some type of connection to that system. Possibly ssh, possibly web-based, "

      I just use TeamViewer on my phone.

      http://www.teamviewer.com/en/download/mobile.aspx

    18. Re:An inherent limitation of the form factor? by realityimpaired · · Score: 2

      If you're *really* going to go that route, though, why on earth wouldn't you use a tablet instead of a cell phone? Archos makes some 10" tablets in the $200-300 range which are extremely Linux-friendly. Ok, so the tablet itself is somewhat underpowered by current standards, but how many tablets have officially manufacturer-supported Linux images (debian-based in this case) you can install in place of the Android that ships from the factory without voiding your warranty?

      Tether the tablet to your cell phone via wifi, if you really want to brag about doing it via cell phone, but use the right tool for the job. I've done SSH from my cell phone as well, but I've never actually *written* a script over the cell phone, just called a script that's already written or done a reboot. If you need to do anything more complex than that, then you should be able to get your hands on a laptop or in a pinch, a tablet. (admittedly, I'm probably in a different demographic than you, in that it's socially acceptable for me to carry a purse with enough space for a tablet, but even a 7" tablet would be a better platform for the work than a cell phone).

      Besides... I dunno about you, but usually I can't even hear my cell phone at a party, and that's assuming it's even turned on in the first place.

    19. Re:An inherent limitation of the form factor? by azalin · · Score: 1

      very nice piece of software

    20. Re:An inherent limitation of the form factor? by WrongSizeGlass · · Score: 4, Funny

      A professional sysadmin on call should have multiple devices ready to roll, and not just depend on one dinky one.

      There's a reason samurai had two swords, or cowboys carried a boot knife...

      Exactly ... just in case they needed to stab a server ... or a user. ;-)

    21. Re:An inherent limitation of the form factor? by realityimpaired · · Score: 1

      The N900 wouldn't work on Rogers, though... they use 850/1900 for their HSPA bands. It's quad-band GSM, so it'd work at GPRS/EDGE speeds on Rogers' network, though, which *should* be plenty fast enough for SSH type work.

    22. Re:An inherent limitation of the form factor? by jcoy42 · · Score: 3, Interesting

      Maybe you missed the part where they said "looking forward to not trucking my laptop around everywhere"

      A cell phone fits in the pocket. A tablet does not. He'd just be lugging around something lighter. I believe his goal is to not be lugging anything extra around.

      --
      Never trust an atom. They make up everything.
    23. Re:An inherent limitation of the form factor? by dbIII · · Score: 1

      On-call is for emergencies

      In a perfect world.
      In an imperfect world the guy that gets in at 6AM and the guy that leaves at 11PM both bother you for minor stuff because they think you should be working as well, so you do it and then later contact their supervisors to give them a clue about what an emergency is if you can.
      I did choose my last three phones with a keyboard to save a few trips into the office, and it has worked to an extent. One odd thing is free wifi sometimes blocks ssh (indeed everything apart from port 80 and 443) so if you want to be sure of remote access you'll need a web front end anyway, so that throws the ball back into the court of the phones with just a web browser. When I hit that problem I actually drove in, and I'm a bit paranoid about putting a shell or VNC on a web page but I could see it would be useful for people that do a lot of remote on call work and have the time to make sure the remote access has no security holes.

    24. Re:An inherent limitation of the form factor? by dbIII · · Score: 1

      oil

    25. Re:An inherent limitation of the form factor? by msauve · · Score: 1

      "On-call is for emergencies, and it is typcially uncompensated."

      Your employer really has you fooled.

      --
      "National Security is the chief cause of national insecurity." - Celine's First Law
    26. Re:An inherent limitation of the form factor? by dbIII · · Score: 1

      Tablets don't fit in the pocket but even a really big phone does. After playing a lot with an ebook reader I can see a 6 inch tablet in landscape mode could fit that niche.

    27. Re:An inherent limitation of the form factor? by RabidReindeer · · Score: 3, Informative

      Which industry/country do you work in, where on-call time is free (and possibly compulsory and/or unlimited)?

      The United States of America. Pick an industry - it probably applies.

    28. Re:An inherent limitation of the form factor? by Anonymous Coward · · Score: 2, Funny

      but it sucks less than trying to use a Pad or Notebook on that shitty bus seats.

      I suggest using toilet paper on shitty seats. Using a Pad or Notebook is gonna hammer the resale price.

    29. Re:An inherent limitation of the form factor? by realityimpaired · · Score: 1, Interesting

      I didn't miss it, I just think it's an idiotic suggestion when an ultraportable laptop or tablet fit in just about any bag you could possibly be carrying around, let alone trunk or glove box space in a car.

      We're talking about being on call for work here... there's no reason he can't leave the device in the car and fetch it if he needs access to it. When you're talking about carrying an extra device that's virtually unnoticeable in your bag, why would you want to force yourself to use a device that's the wrong tool for the job?

      The person asking the question either didn't do any research at all (seriously, how can you not know that SSH and VNC clients exist for every smart phone platform out there without needing to root the device), or he's planning on doing something more complex than SSH'ing into a system and executing something that's already set up to go. Either way, he's going about it wrong. I mean, if he had some special requirement that's not generally available, like being able to use NX Client on his cell phone (last I checked, there's no NX client on Android because it relies on X, which Android doesn't have), maybe I could see the point in asking on Slashdot, but there's nothing in the question asked that requires any special voodoo at all. Just get a phone with a decent slider keyboard and a hi res screen and be done with it. (and even that's mitigated if you get one of the *many* after-market keyboards that're available in the app marketplace for your respective device).

    30. Re:An inherent limitation of the form factor? by tepples · · Score: 1

      With a bluetooth keyboard and external display you could use your phone for dev, but I'd have to ask why.

      I'll answer why: Because certain electronics makers have jumped on the "post-PC", phone- and tablet-centric bandwagon and stopped making the smaller size laptops. Dell, for instance, has already dropped its 10" laptop.

    31. Re:An inherent limitation of the form factor? by tom17 · · Score: 1

      A 7" tablet (Nexus7) DOES fit in pockets. Not great for sitting down, but they do fit quite easily.

    32. Re:An inherent limitation of the form factor? by usuallylost · · Score: 1

      At my last job I was on call for over 3 years without a break. They called me so often that prior to cable Internet being available my company ran a fractional T1 into my house. The only upside to it was I got to count any time worked over night toward my weekly time. Which meant that for some periods I worked at home for days at a time. One of the major selling points for my current job is that I am only on call for actual emergencies. So instead of 7 to 12 calls per week I get 2 or 3 a year. I was salaried and never got anything extra for that even when it drove me upwards of 60 hours in a week on some occasions. My current job actually has me bill those hours which maybe another reason they don't call me much. I find if your time costs them money they treat it with a lot more respect.

    33. Re:An inherent limitation of the form factor? by Anonymous Coward · · Score: 0

      What kind of gigantic pockets do you have? Even my cargo pants don't have pockets that huge.

    34. Re:An inherent limitation of the form factor? by mspohr · · Score: 1

      My Kindle Fire fits in at least one pocket of all of my pants.
      Standard front pocket is a universal fit.

      --
      I don't read your sig. Why are you reading mine?
    35. Re:An inherent limitation of the form factor? by tom17 · · Score: 1

      Regular 32/32 Jeans/Dockers/Shorts/AnythingIHaveTried.

      What kind of micro-pockets do you have?

    36. Re:An inherent limitation of the form factor? by Anonymous Coward · · Score: 0

      >There's a reason samurai had two swords

      but not necessarily that reason...

      You mean it wasn't so that when he got a call from his lame non-paying boss he could either?

      A. Boss in the same room, take off his head with the long sword.
      B. Boss out of range, kill self with short sword for working at such a horrible place.

      Then what the hell were they for!, I mean why would carry two different tools unless you wanted to do two different analogies?

    37. Re:An inherent limitation of the form factor? by nullchar · · Score: 1

      Usually running sshd on port 443 works great for those situations. Or if you don't like having ssh listening to the outside world (even with key-only access), use openVPN and vpn from your [rooted] phone into the network (normal UDP port X or TCP 443).

    38. Re:An inherent limitation of the form factor? by cthulhu11 · · Score: 1

      Agreed. My current position entails rotating on-call duty, Handling tickets off-hours is not expected, but handling emergencies is. No extra compensation - it's part of the job. But then, I have mad flexibility during business hours, which compensates. No slave-driving. In a previous life we had a similar setup, then someone argued successfully that the requirement that we be within N minutes of the office and M of a keyboard from 5pm-9am weeknights and all day on the weekend was unreasonable without pay, and we started getting like $5/hour for oncall time -- 1990 dollars, pre-wireless.

    39. Re:An inherent limitation of the form factor? by PuZZleDucK · · Score: 1

      ... seemingly every other keyboard lacks are tab and arrow keys...

      Can't help you on arrow keys ... but with swype (and i think the original kb) long pressing the space key gives you a tab, only took me two years to stumble upon that one (and at a very inconvenient time too mind you).

      --
      Can a person program a new solution to a problem? Why should anyone be able to stop such a thing? -Richard Stallman
  2. Re:seriously? by Sorthum · · Score: 4, Insightful

    Sometimes.

    I'd argue this is part of the geek/hacker mindset, and while it's a valuable asset, we have to remember that this places us outside of the mass market in some fairly significant ways. As a direct result of this, we're no longer the "target market" for consumer electronics.

  3. Just root it and use SL4A by Anonymous Coward · · Score: 2, Informative

    Any android phone that can be rooted + SL4A.

    1. Re:Just root it and use SL4A by Anonymous Coward · · Score: 0

      Or any rooted Android phone + a ssh/telnet client.

    2. Re:Just root it and use SL4A by Jello+B. · · Score: 1

      Why does it have to be rooted?

    3. Re:Just root it and use SL4A by Anonymous Coward · · Score: 0

      Because presumably you're going to want to have a terminal with full access to the phone.

    4. Re:Just root it and use SL4A by bemymonkey · · Score: 2

      So that you can properly automate functions on the phone itself - many scripting apps can access root-restricted parts of Android, and are therefore quite a bit more flexible when the device is rooted. As a simple example, just take a look at GScript.

    5. Re:Just root it and use SL4A by kh31d4r · · Score: 1

      Why do you want that if you're going to SSH to another machine anyway?

    6. Re:Just root it and use SL4A by Anonymous Coward · · Score: 0

      Uhh, because it might be nice to be able to do both?

    7. Re:Just root it and use SL4A by Miamicanes · · Score: 1

      I believe that up until at least 2.0 or 2.1, your phone had to be rooted if you wanted to use Connectbot to connect to a remote host and forward local port traffic to the remote host (ie, run an Android SQL client and connect to an instance of MySQL running on the remote host that only accepted incoming connections from localhost). For all I know, it's still required (my phones have been continuously rooted since late 2009, so I'm often not really sure what non-rooted users can even do or not do anymore), but I vaguely remember reading somewhere that it's not quite mandatory anymore.

  4. Your choices are... by Anonymous Coward · · Score: 5, Informative

    Nokia n900 would be my first choice for reasons that are obvious.

    HTC HD2 would be my second choice. Laugh if you must, but the interface HTC slapped over WM 6.5 makes it halfway decent and the APIs are open for pretty much anything you want to put on it.

    1. Re:Your choices are... by Anonymous Coward · · Score: 0

      WM6.x really is the only way to do this as asked, as far as I know

    2. Re:Your choices are... by AbRASiON · · Score: 1

      I loved my HTC HD2
      Once I put Android on it - they even have 4.0.4 now. Very awesome.

    3. Re:Your choices are... by RobbieThe1st · · Score: 5, Informative

      It's as you said: Nokia N900, hands down.
      You get:
      1. Fully unlocked phone, unlocked bootloader and real Linux.
      2. Loads of "hacker" tools and apps.
      3. Busybox ash(stock) or full Bash if you want.
      4. The phone part is fully scriptable with dbus commands. There's even a dbus monitor daemon to run a script when a certain dbus signal is sent.
      5. Hardware keyboard, decent specs(CPU's a bit weak, but greatly overclockable), and good screen.
      6. Debian Chroot gives full LXDE system right on your phone if you need it.
      7. Real web-browser functionality: tablet-friendly stock microB(FF based, renders like FF 3), Firefox Mobile, Chromium(desktop version basically), Opera

      Really, it seems to be the only option.
      The N9 might also be doable, but there you have to enable developer mode, and have no hardware keyboard, screen's poorer(AMOLED vs LCD), and it's just more hassle.

    4. Re:Your choices are... by slashgrim · · Score: 1

      It's as you said: Nokia N900, hands down.
      You get:
      1. Fully unlocked phone, unlocked bootloader and real Linux.
      2. Loads of "hacker" tools and apps.
      3. Busybox ash(stock) or full Bash if you want.
      4. The phone part is fully scriptable with dbus commands. There's even a dbus monitor daemon to run a script when a certain dbus signal is sent.
      5. Hardware keyboard, decent specs(CPU's a bit weak, but greatly overclockable), and good screen.
      6. Debian Chroot gives full LXDE system right on your phone if you need it.
      7. Real web-browser functionality: tablet-friendly stock microB(FF based, renders like FF 3), Firefox Mobile, Chromium(desktop version basically), Opera

      I'm a big Nokia N8x/N9x fan, but I'd also add that the HP Veer has a full hardware keyboard and Busybox stock with installable Bash, and root access. The guys at WebOS Internals have done a great job of documenting Linux Applications for WebOS devices:
      http://www.webos-internals.org/wiki/Portal:Linux_Applications
      Bash setup:
      http://www.webos-internals.org/wiki/Setup_Bash

    5. Re:Your choices are... by RobbieThe1st · · Score: 1

      It looks like an interesting device, but the low resolution kills it. 320x400's just too low, sadly. Heck, even 800x480's low - My optimum device would be 1024/1280x600 in a 4" screen, and a slightly larger form factor than the N900(plus dual/quad core, 1GB of ram). But I still don't see anything like that...

    6. Re:Your choices are... by deergomoo · · Score: 1

      I hated mine. I had two different units and both regularly locked up completely and were generally glitchy and sluggish as all hell. I've heard some people have had zero problems with theirs though. Interesting.

    7. Re:Your choices are... by cthulhu11 · · Score: 1

      Really, it seems to be the only option.

      What about the option of just buying a laptop?

    8. Re:Your choices are... by Anonymous Coward · · Score: 0

      Just gonna add that, I was recently out of contract and couldn't find my n900 in my room (also a very messy person).
      So I ssh'ed into it and did a `cat /dev/urandom | aplay` and presto, there it was, under a pile of papers in a corner.
      I love this phone. I get snarky comments from people about it (just because its "big") but I don't care.

  5. Android Scriptin by Anonymous Coward · · Score: 5, Informative

    Don't forget about sl4a, it's still a legitimate project.

    1. Re:Android Scriptin by bjwest · · Score: 4, Informative

      Don't know who the dumb fuck was going through modding all these posts down, but (s)he needs to have their head smacked.

      This is what I was going to suggest. Using sl4a allows the use of Python, Perl, JRuby, Lua, BeanShell, JavaScript, Tcl, and shell. That pretty much covers all the good scripting languages except Rexx, and I haven't heard much about Rexx in years.

      Of course, if you stop and think about it, Android's entire API is a scripting language, so...

      --

      --- Keep the choice with the user..
    2. Re:Android Scriptin by Anonymous Coward · · Score: 2, Interesting

      While sl4a can do some things you can't do otherwise, don't forget it is an alpha quality software -- that is, it is quite unreliable. It crashes often, it uses archaic APIs, runs slowly and uses megatons of memory.

      This is also true of Tasker -- while versatile, it is a resource and battery hog. There is a trial version on the website, so you should get it and give it a try. Maybe it isn't useful enough for you.

      There is also a cheaper Takser - AutomateIt (nagware) and Automateit Pro. This overlaps somewhat with Tasker, but can do some things tasker can't. It is, however, more lightweight that Tasker and does not crash my phone so often.

      Finally, you can use shell for some things, but it isn't very useful. Android Terminal is a must.

      Overall, prepare for a lot of frustration -- nothing works reliably or well. Still, better with them than without.

    3. Re:Android Scriptin by Anonymous Coward · · Score: 1

      > Don't know who the dumb fuck was going through modding all these posts down, but (s)he needs to have their head smacked.

      Never underestimate jealousy.

    4. Re:Android Scriptin by timothyb89 · · Score: 3, Informative

      For added fun, Tasker has SL4A integration, so you can have Tasker run arbitrary scripts when various events occur. SL4A also lets you (in addition to its own APIs) lets you install, e.g., additional python modules, and the Java-interpreted scripting languages (BeanShell, Rhino, and probably JRuby) let you directly invoke the Android APIs. The latest Tasker release also has JavaScript support and exposes more device functionality to it than SL4A's APIs do.

      I'm not really sure what all of the hate for device scripting is about, Android is surprisingly scripting-friendly, and it actually has some viable end results.

    5. Re:Android Scriptin by jampola · · Score: 1

      Thanks for this Mr. 5 Digits. I can (and actively do) script some simple Bash scripts to check things over VPN like the OP but having a way to (potentially) use existing Python scripts on my Android daily driver could make my life just that little bit easier! Xie Xie!

    6. Re:Android Scriptin by Anonymous Coward · · Score: 0

      Jealousy? Of what? Being the prom king/queen? If only mod points can be converted to cash or bitcoin?

    7. Re:Android Scriptin by Anonymous Coward · · Score: 0

      > Don't know who the dumb fuck was going through modding all these posts down

      I'd hazard a guess an n900 owner has received mod points.

    8. Re:Android Scriptin by jones_supa · · Score: 1, Informative

      Don't know who the dumb fuck was going through modding all these posts down, but (s)he needs to have their head smacked.

      As I noted yesterday, there seems to be some malicious modding going on here.

    9. Re:Android Scriptin by realityimpaired · · Score: 2

      *shrugs* there's always been malicious modding going on. Piss off the wrong person, and they'll stalk you next time they have modpoints and downmod everything in your history. How else can you explain month-old +5 posts suddenly getting a -1 troll mod literally the day after you call somebody out on their bullshit?

      The system is completely broken, sadly. Unsurprisingly, but sadly.

    10. Re:Android Scriptin by donutz · · Score: 2

      "This is also true of Tasker -- while versatile, it is a resource and battery hog."

      I see why you're posting this as Anonymous Coward. Because you clearly don't know what you're talking about.

      Tasker is not a battery hog. However, it doesn't prevent you from doing things that hog the battery. Want to keep your screen on and not let the phone sleep while unplugged? Knock yourself out. Want to get a GPS fix every minute? Have at it. Turn on and leave on the LED camera flash while your phone is in your pocket? Why not?

      Upset that after doing all that, your battery is up in a few hours? Go cry to mommy.

      I'll admit that not everything you can do with Tasker will be obvious that it will significantly affect battery. But -- insert generic warning about something ouchy happening when you play with fire here -- .

    11. Re:Android Scriptin by icebrain · · Score: 2

      This is also true of Tasker -- while versatile, it is a resource and battery hog.

      No it isn't, unless you're doing stupid things like constantly monitoring GPS position to trigger various tasks. Tasker is typically at the very bottom of the batter use percentage list, with cell standby, display, and my music player at the top.

      --
      The meek may inherit the earth, but the strong shall take the stars.
  6. Nokia N900 no contest by Anonymous Coward · · Score: 5, Insightful

    The Nokia's N900 (not the newer 900) is a full linux distro that happens to also function as a phone. It is the best computer I have ever purchased.

    1. Re:Nokia N900 no contest by hobarrera · · Score: 4, Informative

      AC is quite right (I came to point out the exact same phone actually).
      Another great point is the hardware keyboard; it's really a paint to attempt to script or code or use ssh on a touchscreen-keyboard.

      The OS is not just a Linux kernel with new stuff strapped on; it's a descendant of Debian GNU/Linux inside, so unless you're a windows user, you won't have any issues hacking from this phone.

    2. Re:Nokia N900 no contest by Anonymous Coward · · Score: 1

      You can always load your scripts from a remote location after you finish working on them. He didn't specifically say he was going to script on the device -- just to execute scripts.

    3. Re:Nokia N900 no contest by mattr · · Score: 1

      I have used sl4a on my HTC EVO 4G Wimax. But I found that it is one of the models that will not work with a bluetooth silicone keyboard. This really burns me up and I have tried a couple in stores.
      For one model, the market app would not install.
      Another model, it would pair but not connect.
      If anyone knows a keyboard (silicone or not) that would work with it..
      Anyway you should note there are issues such as battery and what happens when connectivity is lost.
      For example in a gps tracking app, you would want to buffer and send a batch of observations at once.

  7. Re:seriously? by Anonymous Coward · · Score: 0

    Exactly.

  8. n900 by Anonymous Coward · · Score: 3, Insightful

    n900. it's open source and has a full slide out keyboard for when you have to write a script on it an emergency. normally i prefer to write such things on my desktop then use ssh to get them over to the phone, but it can be done on the phone itself too.

  9. Re:Well... by BronsCon · · Score: 1

    Maybe he's not allower t obring his personal laptop to his new job?

    --
    APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
  10. Any large screen high resolution smart phone. by colin_faber · · Score: 2

    Really any large screen high resolution smart phone will do the trick. Basically you want a phone (most of the time) and a terminal some of the time. On screen keyboards suck. high resolution makes them easier to pack into a small foot print but doesn't address the big issue of lack of real estate. For this, I recommend (as small as you can get it) a blue tooth keyboard. Personally I use an old iGo Stowaway Ultra-Slim Bluetooth Keyboard. Small enough to carry around in the car with me, or in my pocket, if I really really need to get serious work done. If that's not an option and it's on the fly well on screen keyboard has to do the trick. Good luck, the galaxy s3 is pretty slick, albeit big, Right now I use a razr and it's performance has been pretty solid (though much to be desired in the screen).

    1. Re:Any large screen high resolution smart phone. by hobarrera · · Score: 1

      Not really, not *any* high-res phone. He'll definitely need an open OS (open meaning that he can hack it and do whatever he wants, not open-source), and he'll most likely need an ssh client among other things. It's better to look for a phone which has those thing out-of-the-box, rather than trying to force some other model work as something it isn't.

    2. Re:Any large screen high resolution smart phone. by bemymonkey · · Score: 2

      How exactly do you set up the keyboard when you want to work (physically)? I used to have one too, but it was too flimsy to use on my lap with the phone on it (there was a flip-out cradle of sorts built in - seemed to be made for much smaller, lighter phones though), making a laptop the better choice for when I was out and about... I always saw the appeal of having a full-sized keyboard in your pocket, but finding a place that would actually allow me to use it (and prop up the phone so that I could actually see what I was typing) was difficult. A laptop, on the other hand, I could use on, well, my lap :p

      I'm down to carrying around a Galaxy Nexus and a Thinkpad everywhere these days, so it's a choice of either using the touchscreen (which sucks) or the real deal - I _would_ like a way to type properly on the Galaxy Nexus, though... any suggestions?

    3. Re:Any large screen high resolution smart phone. by Joce640k · · Score: 1

      Might be better to set up a web interface to the scripts on his desktop machine then use the phone's web browser to run them.

      That way the phone becomes irrelevant, he can also do it from cybercafes when his phone runs out of battery, when he needs a bigger screen, etc.

      --
      No sig today...
    4. Re:Any large screen high resolution smart phone. by azalin · · Score: 1

      The web server is a very nice idea, but regrettably doesn't cover things like notification/events in cases that require immediate attention. On the other hand it might be rather easy to send out sms from the server (ideally from at least two different phone numbers - normal/emergency) and set custom ringtones for those. You could even include a (deep) link to the server.
      In that case almost any smartphone (or even wap capable one) would do. It would be elegant and easy to update and replace.

    5. Re:Any large screen high resolution smart phone. by Joce640k · · Score: 1

      Most smart phones come with free email. If SMS is too expensive/complicated you could get the server to email the alerts to you.

      --
      No sig today...
    6. Re:Any large screen high resolution smart phone. by azalin · · Score: 1

      Well the idea was that you could set specific (different from normal communication) ringtones for those sms. That way you could get an instant warning. I now realize that this might actually reduce portability of the solution because not all phones support sms ringtone personalization (per sender). Maybe just use a (voice) modem instead to call your phone for emergency statuses (freezer is thawing, control server is down, the monkeys have risen).
      The whole idea is to remove as much data processing from the phone as possible in order to archive minimum specs and maximum compatibility. Therefore the reluctance to parse messages.
      For normal status updates (backup complete, rendering 12% done, analysis complete) email would be fine though.

  11. N9 or N900 -- full *nix by hardaker · · Score: 5, Insightful

    The N9 is a wonderful phone, can certainly be scripted (I ssh into mine all the time to do things), but lacks a physical keyboard. The onscreen one is great, but because it takes half the screen it makes the shell-window smaller. (really, you might want an N950, but those "don't exist" and getting one is difficult, plus the antenna issues make it less useful as a real phone).

    The N900, now hard to locate, has a great screen, a great keyboard and is the predecessor to the N9. But they have a known issue with the USB port breaking over time, so if you do actually succeed in finding one to buy don't expect it to last forever and ever. But this is 2000+ where things aren't expected to last longer than a few years.

    sigh

    --
    The next site to slashdot will be ready soon, but subscribers can beat the rush and start slashdotting it early!
    1. Re:N9 or N900 -- full *nix by oik · · Score: 3, Informative

      Seconded. I have both phones now and have moved to having the N9 as my phone and the N900 just be my pocket/travel *nix box. I've not (touch wood) seen any problems with the USB port but it's something which is a known issue. The N900, while not perfect, is a damn good little machine.

    2. Re:N9 or N900 -- full *nix by hobarrera · · Score: 2

      Indeed; the N900 actually descends from the "pocket computer" idea, and they finally added phone functionalities; not the other way round, so it's a pretty complete computer. Hardware keyboard is the real big difference between the two, and will, most likely, be the feature that tips the scales (according to preference).

      Let's hope Jolla makes some nice N900 successor! :)

    3. Re:N9 or N900 -- full *nix by gmuslera · · Score: 1

      You should try Finger Term in the N9, transparent keyboard, so you can type over the screen, the main problem is that your fingers aren't transparent. The N900/N950 hardware keyboards are better anyway, but the overall experiencie of N9 could worth the difference.

    4. Re:N9 or N900 -- full *nix by Anonymous Coward · · Score: 0

      This might be helpful...Windows phone. I can SSH with it and use VPNs and also has a C# program. Its not that bad. My laptop has Vista Ultimate running Unix as well. The little known desired feature I really love about my Alienware running Vista Ultimate. I think the Windows Lumia 900 is a N900 with Windows loaded on it. Specs sure look like its the same device. My Windows phone is also very hackable.

    5. Re:N9 or N900 -- full *nix by Anonymous Coward · · Score: 1

      Agreed - the N900 is unmatched when it comes to extensibility and weird hacks. Some of the weirdest things I did with my phone just because I can include installing the phone SDK on the phone itself (when have you last typed ./configure, make, make install on a phone?), recompiled the kernel to include CD-ROM drivers so I can use an external CD writer to burn a CD with the phone instead of a computer, etc. It can basically do anything.

      Even though the model is really old and has a few issues (I've already had to replace the USB port and the screen) I can't find any satisfactory replacement. I just hope a new N900-like phone/computer arrives before parts for the N900 become scarce.

    6. Re:N9 or N900 -- full *nix by Anonymous Coward · · Score: 1

      The N9 indeed.

      Last week while traveling, I could not access the wifi in the hotel with my laptop (MBP) but the N9 had access.

      Simply sudo on the N9, enable ip forwarding through the USB port in the kernel, connect USB cable to the laptop,
      and the network was up and running.

      The N9 runs your favorite scripting language out of the box, and has root login without the need to jailbreak.

    7. Re:N9 or N900 -- full *nix by Anonymous Coward · · Score: 0

      Thank you. That looks like it makes the N9's terminal a lot more usable. Personally, I was worried about the lack of a hardware keyboard, but I find Swype to be more or less good enough for everything other than the terminal.

    8. Re:N9 or N900 -- full *nix by PolygamousRanchKid+ · · Score: 1

      but lacks a physical keyboard

      When I need a keyboard, I use one of these critters with my N9: http://rapoo.com/showdetails.aspx?P_No=E6300

      --
      Schroedinger's Brexit: The UK is both in and out of the EU at the same time!
    9. Re:N9 or N900 -- full *nix by cdp0 · · Score: 2

      You can use FingerTerm on Nokia N9, like I do. It isn't as good as a HW full keyboard, but it's the next best thing. Even more, it is also opensource.

      Aegis security system is a bit more limiting than I would like it to be, but you can easily bypass the limitations with inception (for the moment the site seems to be down, so just use your favorite search engine to get some info). With inception you don't even need a computer, everything is done on the phone afaik. Haven't yet tried it myself, because so far I am fully satisfied with the official "developer mode" which can be easily activated from settings menu.

      One extra feature for N9 is the community backing it up. You can join IRC freenode network and join #harmattan channel for instance and get help in matters related to SW development.

      An alternative would be to try to find a Nokia N950, but as I recall although it has a full hw keyboard, it has some drawbacks compared to N9.

      Finally I must also add that as far as I can tell you can't get a better user experience than with N9 UI. It's simply amazing. I hope Jolla will be able to provide it in their future phones.

    10. Re:N9 or N900 -- full *nix by Gaygirlie · · Score: 1

      The N900, now hard to locate, has a great screen, a great keyboard and is the predecessor to the N9. But they have a known issue with the USB port breaking over time, so if you do actually succeed in finding one to buy don't expect it to last forever and ever. But this is 2000+ where things aren't expected to last longer than a few years.

      It is just some manufacturing batches that have issues with the USB, and even if you were to be an unlucky person it can always be fixed; the N900 is rather easy to open so you can just re-solder the USB-port more securely if it comes loose. One can also solder an extra USB-port by connecting it to the pads underneath the battery, though a USB-port and wires hanging out from there isn't terribly practical if you're still planning to use the phone a lot on the go.

      With that in mind I really don't have a problem with agreeing with the suggestion; I own an N900 and especially the hardware keyboard is one of those things that make it a good tool for someone who often has to do remote-administration on-the-go, and it is indeed easily scriptable. Too bad my N900 is quite useless to me these days, it's been lying on my desk for some time now as I prefer my Galaxy Note over it.

    11. Re:N9 or N900 -- full *nix by hardaker · · Score: 1

      Thanks, I'll certainly be running that now!

      --
      The next site to slashdot will be ready soon, but subscribers can beat the rush and start slashdotting it early!
  12. Another server + SMS + Tasker by swillden · · Score: 3, Interesting

    My suggestion is Tasker, but unless there's a mail parser plugin I haven't come across (or unless you write one), it won't take actions based on the content of e-mail messages. It will, however, react to SMS message content. So one way to handle your custom notifications is to write a script that runs on another always-on, always-connected machine. Have it receive and parse the e-mails and when one of them meets your criteria, have it send you a text message with relevant content, then have Tasker do whatever is appropriate when that message arrives.

    To make sure your script-running server is up, use something like Ping HostMonitor. You can also use that to monitor the status of any Internet-accessible hosts.

    The biggest downside of this approach is that it relies on SMS to reliably notify you. You might also want to have Tasker send an e-mail acknowledgement when you get the SMS, and have your script keep re-sending the texts periodically until it receives the ACK.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    1. Re:Another server + SMS + Tasker by icebrain · · Score: 2

      Yes, everything OP wants can be done with Tasker, except that it can't parse email... unless you use K9mail. Tasker has support for that app, letting you parse the emails like you do with SMS. I've been debating whether to get K9mail myself, just for that reason.

      --
      The meek may inherit the earth, but the strong shall take the stars.
    2. Re:Another server + SMS + Tasker by swillden · · Score: 1

      Cool. Thanks for the info.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  13. Analyze elsewhere and send texts by A+nonymous+Coward · · Score: 4, Interesting

    I've done similar things, where I want my phone to tell me if some external activity has happened or has changed beyond certain parameters.

    I do the analysis elsewhere, such as on that desktop PC, and the alert consists of sending a text message to the phone (or multiple phone numbers). Google for the how, it's a common practice and easy (and free) to do. Depends on the carrier, altho some sites claim to figure that out for you, but I just figure each one out and avoid them. this does mean that if a phone number changes carrier, I have to change the script, but since so far I have only sent texts to my own phone, it's no biggie. Just have one central script to send the actual alert.

    1. Re:Analyze elsewhere and send texts by TheGratefulNet · · Score: 1

      agreed; do the scripts on some perma server somewhere that is always running, always has power, is trustable to be relied on, etc.

      your phone is a thin client. have it receive emails or some alert, but all heavy lifting should be on a server.

      this is not a hard thing; why was this a slashdot question? (don't answer that)

      --

      --
      "It is now safe to switch off your computer."
    2. Re:Analyze elsewhere and send texts by hughk · · Score: 1

      your phone is a thin client. have it receive emails or some alert, but all heavy lifting should be on a server.

      Why?

      Even older smartphones have much more power than many desktop computers did 15 years ago. The I/O may not be up to much, especially over a network connection, but they definitely can do a lot of other work.

      --
      See my journal, I write things there
    3. Re:Analyze elsewhere and send texts by Anonymous Coward · · Score: 0

      and the alert consists of sending a text message to the phone (or multiple phone numbers).

      What is this obsession about SMS?

      Just send a damn e-mail. All client nodes ( phones, PCs, tablets, whatever ) will receive a copy through IMAP. Anywhere.

      No need to mess-around with multiple phone numbers, or to even worry about what type of machine will receive the alert.

      SMS is a hack. Let it die.

    4. Re:Analyze elsewhere and send texts by A+nonymous+Coward · · Score: 1

      Because SMS doesn't require a smart phone, it's always a push tech, and SMS will get thru in areas with marginal reception where a full internet connection won't.

  14. Don't script the phone by Anonymous Coward · · Score: 1

    You have a desktop sitting at work that can handle all of the scripting. Then use something like Growl or Growl for windows can then just notify you of events your desktop is taking care of. If youre in a pitch then SSH or VNC into the desktop and send commands.

    Scripting on the phone is a waist of time if you have a full desktop and the scripts already setup. Unless your looking to play and learn something new.

  15. write your own by Erpo · · Score: 1

    If you're comfortable with scripting, you may want to write your own android app to do just what you need. Just make sure you buy an android phone that can install non-market applications. To test this in the store, ask to see a running phone of the model you're considering, and follow this procedure:

    1. From the main screen, tap the menu button.
    2. Tap Settings.
    3. Tap Applications.
    4. Look for a checkbox that says "Unknown sources - Allow installation of non-Market applications", and make sure you can enable it.

    I realize this solution isn't for everyone. You would have to learn Java if you don't know it and learn Android programming, which isn't that hard. Otherwise, you could set up a special server with a regular OS and run your scripts there. If there are exceptional conditions, your server scripts could send an email to a special email address. You can quite easily configure your android phone to play a special ringtone when your "exceptional condition" email account has new mail.

    As far as easily attaching sounds to an email, you may have to roll your own app for that. Someone more knowledgeable than me may know of an app to do this, though.

    1. Re:write your own by tangent3 · · Score: 1

      And if you want to develop the app right on your mobile phone, you can use https://play.google.com/store/apps/details?id=com.aide.ui&hl=en

    2. Re:write your own by dr00p · · Score: 1

      WOW! Thanks for that :)
      I was thinking about trying my hand at some android programming, and my only home "computer" is a asus transformer tablet :)

    3. Re:write your own by WillKemp · · Score: 1

      Just make sure you buy an android phone that can install non-market applications.

      You only need to be able to turn on USB debugging (under "developer options" in 4.0.3) - then you can install any app you develop via a USB connection. It's easiest if you use Eclipse etc. Google "android development eclipse", or something similar, for help in setting it up. It's pretty easy!

  16. Re:seriously? by Lisias · · Score: 5, Insightful

    No.

    The vast majority of the people is used to under thinking about everything.

    --
    Lisias@Earth.SolarSystem.OrionArm.MilkyWay.Local.Virgo.Universe.org
  17. Nokia N9 by Dekonega · · Score: 1

    Nokia N9 is what you need. Doing stuff on it is simple (everything can be accessed throught built-in bash shell) and it gets the job done unless you need bazillion of apps outside of the usual Twitter/Email/Facebook/etc. scenario. -- Sent from my Nokia N9

  18. Against the flow by ArhcAngel · · Score: 3, Interesting

    You probably won't get many recommendations for BlackBerry but a BlackBerry combined with a PlayBook may just be what you are looking for.

    --
    "A person is smart. People are dumb, panicky dangerous animals and you know it." - K
    1. Re:Against the flow by Anonymous Coward · · Score: 0

      LOL, Yea I want to lug my playbook around so my EoL phone has 'access' to scripting?

  19. Android Scripting Environment by Cramit · · Score: 4, Informative

    Android Scripting Environment is a layer that allows various scripting languages interact with the Android API. It supports a bunch of languages and allows for a decent level of control over the Android device. http://code.google.com/p/android-scripting/

    1. Re:Android Scripting Environment by Shifty0x88 · · Score: 1

      SL4A and Python on Android: http://code.google.com/p/python-for-android/

  20. IFTTT is your friend. by wintersdark · · Score: 4, Interesting

    I'd recommend a two-pronged approach, if you're looking for something user friendly and not requiring building an intermediate server.

    First, check out the unbridled awesomeness that is If This Then That: http://ifttt.com/ It allows you to create simple (or complex) triggers based on all manner of inputs with all manner of outputs. Email, SMS, Social Networking, etc. I use it with a "private"(read: used only for this, and nothing actually private is tweeted) twitter account to pass data about. I originally used SMS, but I moved to twitter later as it's remarkably convenient and can be adapted easily to a number of different devices, whereas SMS is limited to phones (for the most part).

    Then, on your sexy Android phone - I'm using a Note, personally, it's the closest I can get to a tablet but still be able to comfortably put it in a pocket - use Tasker to intercept and act.

    Really, though, the first thing I'd do in your shoes is seriously investigate IFTTT. It's very easy to use and flat out awesome.

    --
    Meh.
    1. Re:IFTTT is your friend. by wintersdark · · Score: 3, Informative

      Unfortunately, I can't remember how to edit a post. Excuse my ignorance, I don't post often.

      Anyways, check this IFTTT.com recipe out: http://ifttt.com/recipes/46081 - it searches a gmail account, and sends results as SMS messages to your mobile number.

      So, you set it to search for From:yourworkaddress or Subject:FreezeTemp or what have you, and poof! Whenever your freezer is getting toasty, you get SMS messages.

      --
      Meh.
    2. Re:IFTTT is your friend. by Raenex · · Score: 1

      Unfortunately, I can't remember how to edit a post.

      You can't, and it's a feature that prevents people from changing the conversation history. Preview is your friend.

    3. Re:IFTTT is your friend. by bill_mcgonigle · · Score: 1

      You can't, and it's a feature that prevents people from changing the conversation history. Preview is your friend.

      Transparent edit history is even friendlier. :)

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    4. Re:IFTTT is your friend. by Raenex · · Score: 1

      Perhaps, but then if you want to ensure integrity you have to spend time checking the histories. I prefer the think twice, post once rule. That said, if forums do demand editing, transparent histories are the way to go.

  21. Re:seriously? by Anonymous Coward · · Score: 0

    How the hell did you get by the lameness filter?

  22. Scripting Layer for Android by moocat2 · · Score: 0

    You should check out Scripting Layer for Android (SL4A).

  23. I am confused a bit.... by tanveer1979 · · Score: 4, Insightful

    Why would you want to run the script on your phone?
    Of course there are apps for that.... but then why? Here is what I do. I use VPN (Cisco VPN is the one supported in most corporate environments, and is available on linux), and then just ssh to any machine I want.
    There is talk of even remote desktop kind of client coming to android.
    Alternatively, you could just ssh to the machine you want to access, and then do as you please.
    I use a Galaxy note, and since the screen is 5", its very usable. However, on smaller phones(like my older optimus one from LG), such stuff was a pain.

    So all your scripts will run on the server, in your lab, and email will be sent to you. Its far more easy to set up these scripts on the computer in your lab. Heck, you could write the scripts locally, and then ssh to your server and put them there.

    But if you still want to do stuff like access email, parse through it, and then do something(ssh to server blah blah), you may as well write your own app. On the market, most such apps will do only a part of what you want.

    Somebody has suggest N900(linux), and if you want everything on your phone, a linux phone is what you are looking for.

    --
    My Aurora : http://www.youtube.com/watch?v=o91ZsGwJYyg
    FB : https://www.facebook.com/TanveersPhotography
    1. Re:I am confused a bit.... by hobarrera · · Score: 1

      A "remote desktop", as you put it, is available for plenty of others mobile OSs already, generally using VNC, though there are some other, less popular, protocols floating around.
      I've no idea where other OSs stand related to the Cisco-VPN support though, since I tend to stay clear of all proprietary protocols while I can :)

    2. Re:I am confused a bit.... by tanveer1979 · · Score: 2

      In the corporate environment, Cisco VPN is extensively used, and even in companies where all development happens on linux platform, Cisco VPN is like a de facto standard.

      --
      My Aurora : http://www.youtube.com/watch?v=o91ZsGwJYyg
      FB : https://www.facebook.com/TanveersPhotography
    3. Re:I am confused a bit.... by vawwyakr · · Score: 1

      Talk of? There are several remote desktop clients already.

    4. Re:I am confused a bit.... by hobarrera · · Score: 1

      It's funny that as an IT employee and software developer for around 10 years, I've never come across it. Not once.
      Maybe that's just the corporations you've come across.

    5. Re:I am confused a bit.... by Anonymous Coward · · Score: 1

      Have to agree, I worked (as consultant) and dozens and dozens of companies just over the last few years and Cisco VPN in almost always used. Current client uses Juniper instead, but they are the first I have come across that does, and they use Lotus notes for mail still too if that says anything.

    6. Re:I am confused a bit.... by Anonymous Coward · · Score: 0

      I agree... Best way to do it is using a real server.
      You could then send notifications to your phone by creating an App to use Push Notifications. The action on your phone will then be customized by notification type/message.

  24. Re:seriously? by datavirtue · · Score: 4, Funny

    Amidst the incoherent rambling I suspect, and look up to confirm yet again, that it is Timothy who has posted this trash. Is this the boss's son or something?

    --
    I object to power without constructive purpose. --Spock
  25. Re:seriously? by Anonymous Coward · · Score: 0

    Quite.

  26. Windows Phone by exomondo · · Score: 1

    Windows Phone has TouchDevelop from MS Research, not sure how comprehensive it is but it does give you on-device scripting of functionality.

    1. Re:Windows Phone by gl4ss · · Score: 1

      but not background scripting which is what he wants. on windows phone you would have to tie it to ms's push notification system and have a server handle most of the work, at which point you could be just as well sending sms messages. you really can't script different types of responses to different types of emails fetched on windows phone reliably currently, while touchdevelop seems to be oriented at simple ui scripts which fetch data from server and display it.

      as ridiculous as it might sound to some n900,n9(linux, not nokia 900) or a symbian cheapo phone fit better for they allow true multitasking(and full net stacks) even without rooting.

      --
      world was created 5 seconds before this post as it is.
  27. My solutions: by zoloto · · Score: 2, Interesting

    Since you're on rogers: http://www.rogers.com/web/content/iphone4s
    I suggest:
    Prowl: For push notifications. It's free and you will find the perl script handy. There are some powershell ones floating around somewhere too. http://www.prowlapp.com/
    Prompt: CLI. If you jailbreak (highly recommended) you can ssh to localhost, it's better than any Terminal app in cydia. http://itun.es/i624Jj
    There are others but I never use them. My coworker and i opted for a home brewed app that handled a lot of our needs by phone in the event we had to be called about something off-hours.

  28. Re:seriously? by Anonymous Coward · · Score: 0

    Well, it depends on your personality :

    - Some people are action oriented, and will act before thinking ( under thinking)
    - Some people are emotionally oriented, and their actions are driven by their emotions
    - Some people are mind oriented, and they overthink everything, avoiding action until the last moment.

    Everyone is useful in their own way.

  29. why script from your phone? by bmalia · · Score: 3, Insightful

    Seems better to have a separate dedicated machine that runs the scripts and monitors everything and send email alerts that you can receive on your phone.

    --
    There's no place like ~/
    1. Re:why script from your phone? by mister_playboy · · Score: 1

      This also addresses the fact that the dedicated box surely has a more reliable connection than the phone does.

      Missing a notification of a that a script ran is much preferable to the script not running at all.

      --
      Do what thou wilt shall be the whole of the Law ::: Love is the law, love under will
  30. Re:Timothy the comedian by Anonymous Coward · · Score: 0

    Pay? Android? Surely you jest.

    FTFY.

  31. Re:seriously? by Anonymous Coward · · Score: 0, Funny

    Your mom.

  32. Native Linux Distribution? by fatp · · Score: 2

    How about a native (ARM) linux distribution. To name some (semi-)automated installation tools

    Linux Installer
    https://play.google.com/store/apps/details?id=com.galoula.LinuxInstall

    Debian Kit
    https://play.google.com/store/apps/details?id=org.dyndns.sven_ola.debian_kit

    Complete Linux Installer (NEW)
    https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid

    1. Re:Native Linux Distribution? by ami.one · · Score: 1

      ^ LinuxOnAndroid is pretty good if you want a chrooted linux running on your phone simultaneously with your Android. You run a vnc server to connect to the chrooted linux if you want the full gui desktop. Otherwise, you can just use the shell.

      I have been using it on a Nexus S 4G since last 6 months. Nothing much to install. Just download the image (3-4GB) and use the app to run a script which sets up devices and does chroot. Or you can do that yourself on the android shell. And the developer Zac is quite responsive on XDA if you need help ( I have NO Relation to the Dev - just a happy user)

      You can do almost anything you do on a linux box. Only problem i face is the soft keyboard on the nexus. NOT at all conducive to scripting though many key combos and Tab etc are there through vol up/down + a key. See a ScreenShotof the Soft Keyboard and how it takes up Almost ALL the screen ! Something with a hardware keyboard like the Motorola androids might be best for scripting etc.

      Offcourse, if you want to play around with local devices or devices attached on USB host/otg etc of the phone, then you may prefer to run linux without chroot.

    2. Re:Native Linux Distribution? by fatp · · Score: 1

      Actually "Complete Linux Installer (NEW)" is the app produced by LinuxOnAndroid :)

  33. on{X} for Android by Anonymous Coward · · Score: 0

    Microsoft has something called on{X} for Android that allows you to use Javascript for scripting. It's not clear how extensive it is, but it might allow you to do some of the things you're thinking of. See here:
        (doc) https://www.onx.ms
        (app) http://aka.ms/onxapp

    1. Re:on{X} for Android by Simon+Brooke · · Score: 1

      Microsoft has something called on{X} for Android that allows you to use Javascript for scripting. It's not clear how extensive it is, but it might allow you to do some of the things you're thinking of.

      Second this. I'm not at all a Microsoft fanboi, but this is actually interesting and good...

      I have only one complaint. Back in may I set up a task to wake me half an hour early on any workday morning when

      1. Minimum daytime temperature was predicted to be over 10 Celsius
      2. Maximum windspeed was predicted to be less than 10Km/h
      3. Propability of rain was predicted to be less than 10%

      so that I could get up early and cycle into work (40Km). This alarm has never worked...

      Unfortunately, this is not due to a bug in the software.

      --
      I'm old enough to remember when discussions on Slashdot were well informed.
  34. Notify My Android Looks Good by CTenorman · · Score: 2

    Though I don't use it myself, notify my android looks very good. https://play.google.com/store/apps/details?id=com.usk.app.notifymyandroid&feature=search_result

    Also, it integrates with tasker. And once you get tasker into the game, there's not much you can't do.

    1. Re:Notify My Android Looks Good by jampola · · Score: 1

      I second this! This does EVERYTHING you need provided that you script on a remote machine (which IMO makes more sense) - I use it all the time for monitoring database usage, uptime, disk free space and that's just a splash in the water. There are classes for PHP, Python, C, .Net, Ruby to name a few. I don't work for them but it was the best $3 I have spent in a while.

  35. Re:Timothy the comedian by Anonymous Coward · · Score: 0

    sure beats OVERpaying for stupid functionality that should be in the os in the first place, like with winphone and ios.

  36. Telit Python + GSM by artymiak · · Score: 1

    Telit has nice GSM modules with Python scripting built-in.

    http://www.telit.com/en/products/gsm-gprs.php?p_id=12&p_ac=show&p=3

    --

    Jacek Artymiak
    freelance consultant and writer
    master of many a page

    1. Re:Telit Python + GSM by ami.one · · Score: 1

      Processor is really slow though except for really basic things.

  37. Keyboard is important by fufufang · · Score: 1

    You can get Debian running under chorrot very easily on Android. However I am not sure if this is what you want. I actually got Debian running in a chroot environment on my old Archos 101 tablet. I can tell you that the main problem I experienced was typing the commands. Typing on a glass screen felt very different to typing on a keyboard. Somehow I lost the ability to touch type... That was no fun when you try to issue command in bash. Then I got a USB keyboard for the tablet, but it looked even more awkward than a netbook. I think if you are serious about scripting, get a netbook with 3G connection. The bottom line is that your new phone have to have a keyboard.

    1. Re:Keyboard is important by ami.one · · Score: 1
      Very correct. Real Problem as i mentioned in my comment above.

      In fact the GUI on a windows/linux PC at home/office, through Teamviewer or VNC client, to control your tools/scripts is much more practical. If you are on a slow connection then just have some web front end to run all your possible scripts (try webmin to see how that works) and use the browser on any smartphone to run your scripts etc.

  38. Symbian for Scripting by Anonymous Coward · · Score: 0

    Symbian smartphones are the best I've found for scripting.
    They work great on Rogers, Rogers even sells some in bundles.

    A business phone with full side slide QWERTY keyboard like the E7 would be your best bet.
    Rogers or Tbooth might get you a '$0' bundle on a multimedia phone like the N8. You can always use a bluetooth keyboard for the serious typing.

  39. Re:seriously? by Anonymous Coward · · Score: 0, Flamebait

    Well, it depends on your personality :

    - Some people are action oriented, and will act before thinking ( under thinking)
    - Some people are emotionally oriented, and their actions are driven by their emotions
    - Some people are mind oriented, and they overthink everything, avoiding action until the last moment.

    Everyone is useful in their own way.

    -Jocks
    -Women
    -Nerds

  40. Re:seriously? by bemymonkey · · Score: 2

    Yes, but this isn't an example of overthinking - he wants to invest a few hours of his time into saving hundreds of hours later down the line - that's a good thing. :)

  41. seriously? by Anonymous Coward · · Score: 0

    If you are concerned about monitoring setup a server with Nagios. Hook up an SMS modem or use an email-to-SMS gateway so that you can get email and/or SMS alerts. If you want to keep all of your scripts handy then install them on said server and access it remotely using SSH, UltraVNC or dare-I-say-it-on-slashdot RDP (if you're worried about security put it behind a VPN). That way when you drop your smart phone in the toilet you can just login to any internet-connected computer and everything's there. Welcome to the private cloud!

  42. Scripts belong on a PC ? by obarthelemy · · Score: 4, Insightful

    I have no clue why everyone is rushing to have you put scripts on a smartphone, which can be lost, stolen, run out of battery...

    You do your scripting on a PC at work, and only receive reports on, or do *emergency* remoting from, your phone. At most you tweak your phone so that if it receives an email/text with keyword "ALERT" from sender my.scripts.at.work, it does something noisy.

    Any phone can do that, it's a matter of finding the right size/features balance. I'd go for a big screen, and maybe a hardware keyboard if you think you'll be doing a lot of remote editing, though the best phone keyboard is a lot worse than any laptop's, so don't plan on using it too much.

    --
    The Cloud - because you don't care if your apps and data are up in the air.
    1. Re:Scripts belong on a PC ? by misnohmer · · Score: 1

      Bingo! In addition to the aforementioned reasons consider battery life and potential bandwidth implications. A script running in the background pinging machines and performing other periodic tasks will eat up both your battery and your bandwidth allotment - battery life being the more limiting one unless you also get a backpack battery pack for your phone.

  43. Why do this direct from the Phone? by slater86 · · Score: 2

    Rather than using the Phone to do the monitoring and polling, I'd consider using a service on the network at work and then make your phone a client of this service.
    An example would be to use Nagios to do the monitoring and then use one of the countless Nagios Clients available to read the monitoring state from the service. You'll get the added bonus of knowing what happens if your Network coverage goes away to fill in the blanks after the event and be able to escalate to someone else if you're not available.

    --
    When people ask if I'm an optimist, I say "I hope so". --Bill Bailey
  44. Re:seriously? by Telvin_3d · · Score: 1

    I always figured that anyone who buys a phone that needs scripting to do what they want is the one who under thought their purchase. It's like being proud that you need to install your own shocks in your brand new car.

  45. Scripting friendly smartphone OS? by aglider · · Score: 1

    This would be the right question, in my humble opinion.

    --
    Sent as ripples into the electromagnetic field. No single photon has been harmed in the process.
  46. Android + on{X} by Anonymous Coward · · Score: 0

    Go for an Android + on{X} http://www.onx.ms

  47. Re:seriously? by jones_supa · · Score: 1

    some people over think everything, don't they?

    There are indeed some Ask Slashdots (for example those that go on building some kind of datacenter at home) that overthink the problem, but I don't think this is one. The guy is just asking for some niceties to get alerts from the server room and extras for e-mail. A little bit of automation like that might actually make things smoother for him.

  48. Re:seriously? by jones_supa · · Score: 3, Insightful

    Oh yes. We at slashdot are so much smarter than the common pleb.

    Give me a break. The only thing greater is the undeserved ego.

    Nah. If you don't get too cocky about it, I think it's fine to be slightly proud to be a professional IT dude. ;)

  49. Re:seriously? by jones_supa · · Score: 1

    Probably the stuff he needs is so specialized that it is not available out of the box in any phone. So it would be more like installing a bunch of James Bond gizmos in your brand new car.

  50. RUBY, BASIC by WetCat · · Score: 1

    Ruboto IRB (in Google play)
    tuProlog (from their site)
    BASIC ( in Google play)

    Not so bad. Need no root.

  51. Re:seriously? by mwvdlee · · Score: 5, Insightful

    Name me one professional rally racing team that doesn't install their own shocks on their brand new car.

    If your needs are specific enough, no standard solution will suffice.

    --
    Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
  52. N9 or N900 both provide excellent Python support by Anonymous Coward · · Score: 0

    Both the older Nokia N900 and the more recent Nokia N9 provide excellent support for Python, including support for the native toolkit (PyGTK with Hildon in case of the N900 and PySide/Qt in case of the N9). Other interpreters can also be installed from the repos or compiled from Debian sources, one advantage of the N900 is its hardware keyboard, but the N9's virtual keyboard is also quite good (for a virtual keyboard).

  53. Palm Pixi Plus! by Anonymous Coward · · Score: 0

    It has native Terminal app with busybox, SSH client/server, tar, openssl, nano, etc, and an easy to install Debian chroot for everything else... My only scripting experience was creating a chroot.sh to get to the debian programs for network monitoring and routing.

    My goal was to find a cheap, linux-based, touchscreen phone with 3G and WiFi, that tethers well. The cheap, Chinese Androids were >$120, and this one only costs $70 for the Rogers/ATT version or $45 for the other carrier type.

    In case this interests you... fyi, WebOS 1.4.5 (latest firmware) is ~99%(??) open source, and it was well-maintained by a dedicated community for a couple years after it was discontinued. They rounded out os/kernel/ui stablization, optimization, and fixes, which are available as patches in Preware. (I use just under 100, and installed OpenStreetMaps, a better Music player, File Manager, Calculator, System Managers, and a few good puzzle games).

  54. tasker is awesome by undead+ichi · · Score: 1

    i have used tasker and i am pretty sure that it does all that you want. i run it on my galaxy note and its pretty easy to use.

  55. Re:seriously? by Anonymous Coward · · Score: 0

    Speak for yourself. I know I have something much greater than most men out there.

  56. Re:seriously? by kncker · · Score: 1

    Amidst the incoherent rambling I suspect, and look up to confirm yet again, that it is Timothy who has posted this trash. Is this the boss's son or something?

    I am am a complete noob when it comes to posting here but I have been lurking for a longtime and recently I have thought I was reading a yahoo "article" and worse, yahoo comments section!?

  57. Get your machines to send you update emails? by dmvianna · · Score: 1

    That seems to be the painless alternative to check their status on any phone regardless of brand. If you're thinking Apple, there are apps that that enable generating update emails/SMS from the client (phone). This would save you the need to configure each of your machines to send the updates. You would only need to set up SSH. Check http://www.hiteksoftware.com/sshmobile/ssh.htm for an example.

  58. python for android/sl4a by hAckz0r · · Score: 1
    python for android/sl4a

    check the API's first to see if it has everything you need.

  59. Probably someone who knows something by Kludge · · Score: 1

    I don't know who has been modding down the sl4a posts, but whoever it is, he knows what he is doing.
    I have been working with sl4a lately because my son has an Android phone, and I can tell you that it is half baked. There is much functionality that is missing regardless of the language that you choose. Much of it just does not work. I made a python script to send an SMS message every 4 minutes. In the script I have a time.sleep(240). Ten minutes later... still no SMS message.

    If you want real script programming, get an N900. Almost anything you can do on a Linux box, it can do. My N900 scripts grab data, send data, plot them using R or matplotlib, you name it.

  60. I use tasker for different tasks by gedeco · · Score: 1

    1) Docked to power, it automaticly starts Bluetooth.
    When bluetooth gets paired, it assumes (most of time) I'm in my car ad starts up GPS, Increases the Display brightness and launches WIKANGO (Community Based Radar appliance)

    2) Putting in my earphones launches the radio application
    3) Receiving a call will also launches bluetooth and tries to pair with may Car Hansfree set. (Usefull when driving with the phone somewhere in you're pocket)
    4) Removing the power will put the device in a low consumption mode. (no GPS, no Bluetooth, no WIFI and decreased brightness)

    These are some of the things you can do with tasker.

  61. VNC or RDP to your home server and be done with it by Anonymous Coward · · Score: 0

    no text

  62. phpMyAdmin by tepples · · Score: 1

    ie, run an Android SQL client and connect to an instance of MySQL running on the remote host that only accepted incoming connections from localhost

    The workaround I've always used for lack of remote database connections has been phpMyAdmin, but I have no idea how well phpMyAdmin's UI would fit on a phone.

  63. Separate monitoring, alerts, and access by kqs · · Score: 1

    You're doing it wrong IMHO.

    The monitoring portion should be on platforms near the servers, not on your own device (mobile or desktop). Plus something to monitor the monitor, located farther away, preferably at another site. There are no good monitoring packages IMO, but many reasonable and usable ones. All of them should be as scriptable as you need.

    You need one device on your person to receive alerts; a cell phone with SMS is good. My current job requires two devices on different networks, but that may be overkill for your situation. Don't do scripting here! All of the scripting should be on the monitoring server. If you're in an area where your cell phone doesn't work, you want to be able to see the alerts elsewhere. (When I'm in another country, I get a sim card for that country and forward alerts there, for example).

    You then need something which can connect remotely so you can fix the problem. This could be the same as your alerting device, or it could be a tablet or laptop you keep in the car.

  64. Three words by GameboyRMH · · Score: 1

    N
    Nine
    Hundred

    Question answered.

    --
    "When information is power, privacy is freedom" - Jah-Wren Ryel
  65. Just use what DataCenters do... by slacklinejoe · · Score: 1

    No need to rebuild the wheel, most data centers have various monitoring capabilities ranging from WebServer enabled monitoring systems (personally I like the units from ITWatchDogs), SNMP trapping to hand written scripting. Just borrow that functionality for your lab equipment. Here's what I do to monitor temp, security, water leaks, fire etc: Purchase a sensor unit that supports SNMP trapping or is able to push email alerts (WeatherGoose II ITWatchDogs was about the cheapest I could find for DC rack monitoring needs I had that supported lots of external devices, dialers etc). Since it supports various external sensors, you can make your own and tie it into the monitoring system (temp, humidity etc are built in, but smoke alarms etc are extra add-ons that either you buy or you can make as long as it's the right voltage). If using SNMP, have a monitoring server that can react any number of given ways, mine sends screen shots of the room from the security camera as well as and various alerts for too high temp, water leaks etc. If it's fire, it CC's our emergency fire system. I also use other things like "Site Uptime" monitors and such from 3rd parties on the email front, but that's more targeted at mail servers. For email alerts, I have a couple rules in Exchange (on the server level) to distribute it accordingly. I do use Tasker heavily to automate my phone, but really I don't rely on it as being mission critical as you never know when you'll be out of reception. Instead I try to use the servers to handle responses to the rest of my team and use Tasker to control when and when not to wake me up in the middle of the night.

  66. Definitely NOT a limitation of the form factor by Anonymous Coward · · Score: 0

    He's not asking anything about "dev platform" stuff; he's talking about a simple feature that every PC since the 1980s has had. Whether you call it an ARexx port or D-Bus event handling or even DDE, any modern (or even decades-archaic) GUI will likely be scriptable, so that you can make the machine get things done without requiring a human "operator" to be there to mindlessly clicking distracting intermediate things.

    I think he's trying to find out what's the name (or names) of the damn thing on the popular mobile OSes (since the same idea has a different name on every platform), and then he'll have a Google search term to use from there, whether it's to go find python bindings or whatever.

    BTW, back the "dev platform" thing; you might want to look at modern mobiles again. Many of them have USB ports and HDMI or DVI outputs, so that you can use the finest keyboards and monitors that money can buy (though the device would hardly be "mobile" while you have all that stuff plugged in ;-). Also, most of them can run sshd. Not that the (relatively) crippled software environment would be pleasant to use for a large (a.k.a. "serious") project, but as for actually running an editor on the mobile (rather than your desktop) as you write/debug your script, it's not totally crazy anymore. It's merely less than ideal.

    (Think back to the first time you saw a Mac Mini. Your first thought was "That's not a whole computer." Then you plug stuff into it, and it becomes one. Today's phones are physically smaller versions of the same thing, just with less-friendly OSes (iOS or Android), but also with a built-in touchscreen, so unlike a Mac Mini, you actually can use them out-of-the-box without plugging in more stuff).

    And even if you don't want to do that (and I would understand if you don't), it's very viable to edit your scripts on your very-capable desktop and then save/copy them to the mobile. So the comment about scriping not happening on mobiles because of form factor limitation, just doesn't make any sense at all.

  67. Nokia N[89]?? or Android with Terminal-IDE by Anonymous Coward · · Score: 0

    Others have covered the Nokia N800, N810, N900 options well. I have and still use my N800 almost every day.

    On Android, Terminial-IDE comes with most of the commonly desired tools and doesn't require rooting the phone to be useful. With a BT keyboard, you can easily ssh into your servers and runs whatever scripts you want. There is a full bash for android too, so complicated bash scripts are possible, but if it were me, I'd want nothing more than a remote script that can check on the real monitoring happening on a monitoring server elsewhere.

    I have an 1-inch android tablet with a keyboard and a Galaxy-S phone. Phones and portable devices aren't good for monitoring, they are best for notifications and remote access to servers when you aren't near a real computer with a keyboard and screen. Android is too limited still.

    Terminal IDE rocks.

    I love my android and N800 devices - LOVE them, but they aren't ready for monitoring of production systems primarily due to network connectivity issues and how easily they can be lost or stolen.

    1. Re:Nokia N[89]?? or Android with Terminal-IDE by ras · · Score: 1

      +1 for Terminal IDE.

      Combine Terminal IDE with Android's scripting environment and you get most scripting languages accessible from the command line. Terminal IDE for those that don't know is busybox based and provides a bash prompt, ssh client and server, telnet client and server, rsync, wget, full 101 keyboard and an IDE for java so you can do development on the phone, thus making native java apps available as scripts as well.

      If you have a phone with a large screen and add a folding bluetooth keyboard 1 and you can sysadmin just about anything from your pocket.

  68. Re:seriously? by thesameguy · · Score: 1

    Few if any of them install their own shocks. Most of them are off the shelf... Koni, Ohlins, Sachs, etc. I'm not aware of any brand of automobile much less rally team that builds their own.

  69. Re:seriously? by mwvdlee · · Score: 1

    Manufactured by a specialist company perhaps, but a lot of racing teams design their own shocks. Particularly in the high-end racing leagues.
    Some do infact manufacture them themselves.
    Besides, you're just being pendantic.
    When talking about running a scripting language on a phone, do you think we're talking about developing the scripting language itself too? Probably not.

    --
    Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
  70. Re:seriously? by thesameguy · · Score: 1

    Got it. Pedantic is less desirable than wrong. Noted.

  71. Re:seriously? by mwvdlee · · Score: 1

    No, wrong is still less desirable. But being both wrong and pedantic is even worse.

    --
    Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
  72. Just use Tasker by buser · · Score: 1

    I've been using Tasker for a couple years now, and it's awesome. It's well worth the $7 or whatever it is now, and the new AppFactory feature even lets you export .apk's based on scripts you generate (perfect for an IT group that uses Android, configure once and give it to your coworkers to install as an app).