Live data from Hacker News

The death of scripting

sicpers.info

21–30 of 51 posts

Re: The death of scripting

#21
post #11
post #3

Every application I use daily is scriptable. My OS is scriptable. My shell is scriptable. My text editor is scriptable. I hate to be negative, but I call BS.

Do you use scripting on your smartphone or tablet?

Yes.

(Admittedly, my tablet is a raspberry pi duct-taped to a LCD screen, but I would have the same expectations of a 'proper' tablet. (Which is a major factor in why I am using a raspberry pi duct-taped to a LCD screen.))

Re: The death of scripting

#22
This is just historically and non-historically inaccurate.

First, there was no guarantee you could get useful data out of the programs of the PC and Mac era if they didn't explicitly support getting data out. I've got tons of sheet music in a Windows 3.1-era notation program that I can't get out, because it's stored in a binary format and there's no built-in exporter.

Second, APIs for web services actually do support lots of this. I have a very tiny script taking all my Foursquare checkins and sending them to a private Slack, for instance. I wrote the script. I didn't need approval from Foursquare or Slack.

I wonder if the author has actually tried using any APIs. The fact that some '90s desktop apps were easily scriptable and some '10s web services aren't scriptable has nothing to do with them being desktop apps or web services.

(Not to mention most '10s web services being scrapable. I don't remember any screen-scraping tools for Windows 3.1 or classic Mac UIs that were anywhere near as good as the web-scraping tools we have today.)

Re: The death of scripting

#23
post #11
post #3

Every application I use daily is scriptable. My OS is scriptable. My shell is scriptable. My text editor is scriptable. I hate to be negative, but I call BS.

Do you use scripting on your smartphone or tablet?

I script my phone at least as much as I scripted my phone in the '90s. Probably more.

Re: The death of scripting

#25
post #3

Every application I use daily is scriptable. My OS is scriptable. My shell is scriptable. My text editor is scriptable. I hate to be negative, but I call BS.

Do you run a free software focused system like GNU/Linux? They're much more scriptable than OS X and Windows because (1) a lot of programs embrace the Unix interoperability conventions and (2) free software means that if someone felt that a program's scripting facilities are lacking they can submit a patch.

Even if you don't, I assume that you are a programmer based on context and your comment, which means that the applications you use were designed for people who know how to program and therefore are more likely to be interested in scripting. Also, as a programmer, you're more likely to be using a lot of free software tools even if you're not running a libre system.

Take iTunes for instance. On Windows I'm under the impression that it's not at all scriptable. On OS X there's AppleScript, but it's somewhat underpowered (I remember back in my Apple days I tried scripting it and found that some metadata fields were inaccessible from AppleScript, namely Album Artist. It's also woefully underdocumented.

Re: The death of scripting

#26
post #11
post #3

Every application I use daily is scriptable. My OS is scriptable. My shell is scriptable. My text editor is scriptable. I hate to be negative, but I call BS.

Do you use scripting on your smartphone or tablet?

I've definitely looked into it. I bought, with enthusiasm, a tablet with the first version of Android that supported Python. Installing the necessary pieces, and editing programs both seem to be super awkward, and my beloved Tkinter has not been ported. I know there are ways, but if it's not more convenient than just walking back to my desk and doing it on a PC, then it won't happen.

Also, truth be told, since I got a smartphone, the muses just haven't spoken to me with an idea of something to script, that's interesting enough to capture my attention.

Lack of a decent keyboard and editor are barriers for me. I need a larger screen simply to see what I'm doing, in my old age. And most of what I do with scripting, nowadays, has to do with things that are not on my phone anyway, such as processing big files and interacting with measurement instruments.

What's happened instead is that I got a tablet with an OS that's scriptable, and that has a detachable keyboard. Now, all I have to do is wait for those damn muses to speak up. ;-)

Re: The death of scripting

#27
post #11
post #3

Every application I use daily is scriptable. My OS is scriptable. My shell is scriptable. My text editor is scriptable. I hate to be negative, but I call BS.

Do you use scripting on your smartphone or tablet?

I use scripting all the time on my daily-driver Android phone. I think I'd have a hard time listing all the uses as they are so numerous. I have init scripts to do essential stuff at boot (like mount encrypted volumes) and other scripts for backing up. I also have scripts that execute upon trigger events (e.g. notify my desktop over ssh if X occurs). Scripting may not be absolutely necessary, but it sure is immensely useful.

Then as far as development, its pretty much a necessity.

Re: The death of scripting

#28
It sucks that GUI scripting is dying on the vine on Mac, but it still sucked even when Apple was trying to support it with AppleScript. It was always kludgey. BeOS seems like the only OS that made apps that were by default scriptable.

Re: The death of scripting

#29
post #25
post #3

Every application I use daily is scriptable. My OS is scriptable. My shell is scriptable. My text editor is scriptable. I hate to be negative, but I call BS.

Do you run a free software focused system like GNU/Linux? They're much more scriptable than OS X and Windows because (1) a lot of programs embrace the Unix interoperability conventions and (2) free software means that if someone felt that a program's scripting facilities are lacking they can submit a patch. Even if you don't, I assume that you are a programmer based on context and your comment, which means that the a…

OS X. Even Spotify is scriptable.

Re: The death of scripting

#30
Just by reading the title I thought that finally somebody has been able to put in good prose what I have been thinking for years: the push towards more secure systems will kill scripting.

Can you script copy and paste or move the cursor? It will be used for nefarious purposes, block it. Can you install and run apps as a user from your home directory? That is a security hole, should be disabled. Can you read windows' titles and move windows around? That is an information leak, it should be plugged. I like secure system just like everybody but I am worried that this will interfere with my pleasant very automated computer life.

But this article is about something else, so I will stop the rant here.

Post reply on HN