A snippet from last night
Jul. 24th, 2014 12:11 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
[I am telling my housemate about the meeting with my supervisor, which included supervisor asking me how I'd put together the plot in the mantle sulphides doc. "Erm," I said, "matplotlib? I wrote a Python script?"]
"... and then she gave me a look. It was kind of the look of why the fuck do you think this is easier than just using a pre-built package with a GUI-- oh, never mind, it's clearly working, whatever makes you happy."
"... fucking programmers," said my housemate.
"Only as a hobby," I sleepily replied.
And paused.
"... I think that contained more double entendres than I intended," I said.
"... you're going to have to explain to me," said my housemate. "I am also asleep."
Dear Dreamwidth: I thought you might enjoy laughing at me.
"... and then she gave me a look. It was kind of the look of why the fuck do you think this is easier than just using a pre-built package with a GUI-- oh, never mind, it's clearly working, whatever makes you happy."
"... fucking programmers," said my housemate.
"Only as a hobby," I sleepily replied.
And paused.
"... I think that contained more double entendres than I intended," I said.
"... you're going to have to explain to me," said my housemate. "I am also asleep."
Dear Dreamwidth: I thought you might enjoy laughing at me.
(no subject)
Date: 2014-07-23 11:44 pm (UTC)(no subject)
Date: 2014-07-23 11:53 pm (UTC)~K.
(no subject)
Date: 2014-07-24 12:00 am (UTC)(no subject)
Date: 2014-07-24 12:47 am (UTC)(no subject)
Date: 2014-07-24 03:05 am (UTC)(no subject)
Date: 2014-07-24 06:33 am (UTC)(also, yes, I do this. I write a script to plot something, then somebody points out it would have been straightforward in Excel...)
(no subject)
Date: 2014-07-24 08:29 am (UTC)Also, in the case where it's not really simple in Excel, the Excel user will tinker around for ages and eventually manage to get it right, and may not even remember quite how, and would have almost as much trouble doing it again, and yet they will still somehow feel that they got the better of the bargain over the person who wrote a Python script, because it would have taken them more effort to learn Python first.
Programmers are people who reliably recognise both those phenomena as false economies of time...
... whereas Excel users are people who reliably recognise as a false economy the learning of Python and careful writing of a nice reusable script when you weren't ever going to need it again :-)
(no subject)
Date: 2014-07-24 09:18 am (UTC)(no subject)
Date: 2014-07-24 10:18 am (UTC)I think it's reasonably analogous to people who spend two days optimising a program so that it takes 10 minutes rather than 30 minutes to run, when they're only ever going to use it a handful of times.
(no subject)
Date: 2014-07-25 11:20 am (UTC)Mmmm. Though one should not overlook the fact that you also run the program a zillion times during development as well as the handful of runs on the real data after it's finished, and those test runs count too!
I once had to write a program to analyse a large data set, and on the basis of 'do not optimise prematurely', I wrote it in Python rather than C, and the half-written versions tended to take about an hour to run on even my test data set. After two days of fixing one bug after another, I decided this wasn't working, and rewrote it in C with properly fast data structure design – and saved development time, because the effect was that now after fixing each bug I only had to wait 30 seconds instead of an hour to find out where the next bug was.
Incidentally,
(no subject)
Date: 2014-07-25 11:30 am (UTC)(no subject)
Date: 2014-07-25 11:57 am (UTC)I feel there are probably a zillion predictable jokes at this point involving things like re-entrance and use of objects, but perhaps I'll try not to splurge them all out in one go :-)
(no subject)
Date: 2014-07-24 12:21 pm (UTC)'course I will use it again, and more than that I'll use the skills I pick up in writing it again -- and as below given that the alternative is faffing about tidying the thing up manually in the GIMP...
(no subject)
Date: 2014-07-24 01:27 pm (UTC)On this general subject, actually, shortly after I published The Descent to C, I had an email from someone asking about how I'd drawn the diagrams. I replied with several paragraphs of waffling about PostScript, ImageMagick and Perl scripts, and was quite apologetic about that since I expected he'd probably turn out to have been looking for a recommendation of a GUI drawing package. Fortunately, he was a programmer type himself, and it turned out he'd been rather hoping that I hadn't drawn them all by hand in Inkscape or similar, so that he'd get useful scripting tips rather than a GUI recommendation. Phew :-)
(no subject)
Date: 2014-07-24 01:40 pm (UTC)(no subject)
Date: 2014-07-25 07:39 am (UTC)But what's a 'programmer'?
Me, I'm someone who pointed out that over half* the desk time of the entire office is spent moving data into spreadsheets. Mostly by copy-and-paste, sometimes by Excel's built-in functions; and the error rate is horrifying.
So I wrote a drag-and-droppable sheet that does this in three find-the-file clicks, or a simple one-click 'repeat'. It does it reliably, it checks that the full extent of the data is covered by the existing calculations, and it journals who, what, and when.
Any file, including any Excel file; any database; any tabulated data on a web page...
It's also nice to look at: clarity and good formatting, logically-laid-out controls with labels and popup 'deep description', and the departmental logo.**
The users who got it love it.
Departmental IT took the idea -and I gave them the 'prototype' - and came back with a clunky and ugly and inflexible special spreadsheet.
Nobody's using it until they are compelled to. And 'Programmer' means that outcome, and the people who do it, to everyone in the department who hasn't got the prototype***.
.
.
.
.
* That's not an estimate. I do observation and measurement.
** Yes, I'm a UI designer. Who knew? HCI's a big thing at DeMontfort. But the tech teams here do not regard girly decorating stuff as something a 'programmer' would or should be interested in.
*** Yes, I do testing. Unit testing, regression, and observed UAT. And I document it. That makes me a software engineer, rather than a programmer****.
*****One of these two terms means 'I write reliable programmmes.
(no subject)
Date: 2014-07-25 09:18 am (UTC)But what's a 'programmer'?
Me, I'm someone who pointed out that over half* the desk time of the entire office is spent moving data into spreadsheets. Mostly by copy-and-paste, sometimes by Excel's built-in functions; and the error rate is horrifying.
So I wrote a drag-and-droppable sheet that does this in three find-the-file clicks, or a simple one-click 'repeat'. It does it reliably, it checks that the full extent of the data is covered by the existing calculations, and it journals who, what, and when.
Any file, including any Excel file; any database; any tabulated data on a web page...
It's also nice to look at: clarity and good formatting, logically-laid-out controls with labels and popup 'deep description', and the departmental logo.**
The users who got it love it.
Departmental IT took the idea -and I gave them the 'prototype' - and came back with a clunky and ugly and inflexible special spreadsheet.
Nobody's using it until they are compelled to. And 'Programmer' means that outcome, and the people who do it, to everyone in the department who hasn't got the prototype***.
.
.
.
.
* That's not an estimate. I do observation and measurement.
** Yes, I'm a UI designer. Who knew? HCI's a big thing at DeMontfort. But the tech teams here do not regard girly decorating stuff as something a 'programmer' would or should be interested in.
*** Yes, I do testing. Unit testing, regression, and observed UAT. And I document it. That makes me a software engineer, rather than a programmer****.
*****One of these two terms means 'I write reliable programmmes.
(no subject)
Date: 2014-07-24 12:18 pm (UTC)(no subject)
Date: 2014-07-24 06:19 pm (UTC)(no subject)
Date: 2014-07-24 06:45 am (UTC)(no subject)
Date: 2014-07-24 12:18 pm (UTC)(no subject)
Date: 2014-07-24 07:25 am (UTC)(no subject)
Date: 2014-07-24 12:19 pm (UTC)(it is so far 750 words of fic and I have so far got to NEITHER of the points, which are (1) Sherlock was wrong about mass extinction events and (2) ... this one 1984 paper I came across, okay)
(I have a horrible feeling it's going to end up >5k)
(... it is at least probably better than the 600-word fic that's an extended fisting joke >_>)
(no subject)
Date: 2014-07-24 01:40 pm (UTC)(no subject)
Date: 2014-07-24 09:50 am (UTC)(no subject)
Date: 2014-07-24 12:19 pm (UTC)(no subject)
Date: 2014-07-24 12:44 pm (UTC)Also, there are worse hobbies,
(no subject)
Date: 2014-07-24 08:41 pm (UTC)(no subject)
Date: 2014-07-24 03:41 pm (UTC)(no subject)
Date: 2014-07-24 08:40 pm (UTC)(no subject)
Date: 2014-07-24 04:18 pm (UTC)(no subject)
Date: 2014-07-24 10:02 pm (UTC)(no subject)
Date: 2014-07-25 05:45 am (UTC)(no subject)
Date: 2014-07-25 02:35 pm (UTC)