Live data from Hacker News

The death of scripting

sicpers.info

31–40 of 51 posts

Re: The death of scripting

#31
"NeXT had services, in which applications could publish menu items that became available in other applications where the two were using the same data." -- am I mistaken, or doesn't Android have a similar concept in "intents," which allow different apps to send data to each other?

Re: The death of scripting

#32
post #14
post #11

Earlier quoted context omitted.

Do you use scripting on your smartphone or tablet?

If you're looking at your smartphone or tablet and wanting to script it, put it down and find yourself a desktop or laptop. Edit: Smartphones and tablets are simply not general purpose computers. I don't want a desktop type OS on either my phone or tablet. I certainly don't want a tablet OS on my desktop. That defeats the purpose. Smartphones and tablets are good at certain things the require _direct user input_. If…

Android smartphones and tablets can most definitely serve as general purpose computers (for developers on the go at least). My daily-driver is loaded up with the latest bash, python2, python3, gcc, openssl, ssh, busybox, etc. I'd never carry around a laptop, but with a phone it is always on me so I can get right to work anytime I have a few spare minutes. Just pull up a terminal and ssh into a development box or work locally. Its as easy as can be... You can even run a full Debian image or distro like XFCE in the background if need be. I usually just ssh in, but you can also connect over VNC for desktop use (this is generally best on a tablet). It works really well for me anyways.

Re: The death of scripting

#33
post #4

I wonder what he is talking about. I recently created a script that can build our whole cloud based test environment from scratch. It creates the servers, downloads and installs the platforms, builds and deploys our software. Maybe he is talking about end-user software that can be scripted? But even that isn't true for devs.

I got the feeling they were mourning the GUI environment macro type scripting not the bash/python type console scripting.

ie ARexx and that stuff MacOS does or used to do with traditional desktop apps.

Re: The death of scripting

#34
post #11

Earlier quoted context omitted.

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…

You should check out QPython or QPython3 from the Play Store. It includes the Python binary, an editor, and a terminal emulator. It is all bundled up. So easy to setup a child could do it.

Unfortunately installing Python manually has not gotten much easier, though it's certainly doable. You can even use Tkinter, but that is beyond the scope of this comment.

Re: The death of scripting

#35
post #32
post #14

Earlier quoted context omitted.

If you're looking at your smartphone or tablet and wanting to script it, put it down and find yourself a desktop or laptop. Edit: Smartphones and tablets are simply not general purpose computers. I don't want a desktop type OS on either my phone or tablet. I certainly don't want a tablet OS on my desktop. That defeats the purpose. Smartphones and tablets are good at certain things the require _direct user input_. If…

Android smartphones and tablets can most definitely serve as general purpose computers (for developers on the go at least). My daily-driver is loaded up with the latest bash, python2, python3, gcc, openssl, ssh, busybox, etc. I'd never carry around a laptop, but with a phone it is always on me so I can get right to work anytime I have a few spare minutes. Just pull up a terminal and ssh into a development box or work…

Why? Especially if you ssh into a workstation. That seems to support my point...

Re: The death of scripting

#36
post #13

Utter garbage click-bait and FUD. "Scripting" in the form of writing code in high-level programming languages is not going away anytime in the foreseeable future.

That's not the definition of scripting that the article was refering to. The article was refering to automating tasks, which is usually, but not necessarily, accomplished with "scripting languages".

Powershell is fantastic for that kind of thing in the Windows environment...

Re: The death of scripting

#37
"And so it’s sad to see scripting die out as the popular platforms for application development fail to support it. Instead of the personal control of the script – I will take this information from that app, and put this part of it in that app – we have the corporate control of the API. This app maker and that app maker are BFFs, sign in here to let them share everything. After all, they know best."

Given the author's background along with this paragraph, I'm going to go ahead and guess that he's referring to iOS.

Re: The death of scripting

#38

"NeXT had services, in which applications could publish menu items that became available in other applications where the two were using the same data." -- am I mistaken, or doesn't Android have a similar concept in "intents," which allow different apps to send data to each other?

Yeah that sounds like Android intents (http://developer.android.com/training/sharing/send.html) and content:// style URIs. There's all sorts of really cool IPC (inter-process communication) mechanisms among various OS's such as Unix domain sockets, D-Bus, ØMQ.

Re: The death of scripting

#39
post #35
post #32

Earlier quoted context omitted.

Android smartphones and tablets can most definitely serve as general purpose computers (for developers on the go at least). My daily-driver is loaded up with the latest bash, python2, python3, gcc, openssl, ssh, busybox, etc. I'd never carry around a laptop, but with a phone it is always on me so I can get right to work anytime I have a few spare minutes. Just pull up a terminal and ssh into a development box or work…

Why? Especially if you ssh into a workstation. That seems to support my point...

Because its just not practical (or desirable) to carry around a laptop everywhere I go whereas my phone is always charged and on me. Nor do I always have a reliable network connection.

Re: The death of scripting

#40
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…

Windows has Powershell which has an amazing level of power in a system. Everything is an object, everything has properties that can be manipulated. I don't look after Windows infrastructure at all, but people I know who do rave about the level of control they get, and some of the stuff they do makes me jealous. My understanding is that the GUIs for Exchange etc have essentially changed to being skins on top of it and that's one of the changes that is allowing Microsoft to start promoting GUI-less versions of Windows for cloud servers etc.
Post reply on HN