News for hackers. Stuff that matters.
Re:1980s Amiga has been running the AC and heat in 19 school... by pp19dd on Sunday December 16, 2018 @10:21AM (#18693415)
So much to say about this. One is the optics of employing students three decades ago, another is the remarkable faith they put into one at the time - which appears to have been well founded. Today, this sort of thing would never happen.

But overall, I get the feeling that people today are afraid of things they can't vendor out, things they can't replace cookie-cutter style. Sometimes that concern is justified, when you think in terms of support spanning decades, but overall I see it as a vertical integration of bureaucracy all around us.

It's not just this control system, it's everything. Was it Caltrans that hit a modernization roadblock because the agency hand-built railway sensors and circuits around that same time and now can't find replacement parts because people don't build things in-shop anymore?

Re:1980s Amiga has been running the AC and heat in 19 school... by coldtea on Sunday December 16, 2018 @02:06PM (#18694552)
>So much to say about this. One is the optics of employing students three decades ago, another is the remarkable faith they put into one at the time - which appears to have been well founded. Today, this sort of thing would never happen.

What remarkable faith? It's a program to start/stop AC/heat units based on temperatyre readings, not to send people to Mars.

A talented high school student can write one today, and do it with a Rasberry Pi and for much less than $1 million (more like 5-10K).

Not as a student, but as a temp in a secondary education unit, I maintained and updated the payroll system used to pay ~50 schools and over 1000 teachers every month. It was a VB/MS SQL thing written by another temp a few years earlier, but it did the job.

Re:1980s Amiga has been running the AC and heat in 19 school... by pp19dd on Sunday December 16, 2018 @03:15PM (#18694948)
Rhetorical question: were you a licensed CPP, CPA or an actuary when you were a temp in your secondary education unit? That's literally my point.

Yes, these things can all be done by amateurs. By tinkerers. We all here know it. We've done it. You've done it. Simple devices with telemetry and some logic. Simple programs that do complex things in the aggregate. Take it to your back yard, and either one of us or a highschool student could make a traffic light cheaper than $250,000 - $500,000 per intersection (WA state estimate). But neither one of us could build, install and maintain a quarter million of them, and I think you'd be hard-pressed to mobilize an army of nerds to make it scalable.

Yeah, for all we know a PE was involved in oversight of the project. That's an unknown that TV reporters didn't dig into and should have, because I think the story would discover a much more relaxed time.

But if one wasn't involved, I'm saying it took faith on behalf of the administration to assume responsibility for risk in backing this project, whether consciously considered or not. And there are risks with electrical projects beyond the computers, namely things catching on fire. What were the safeguards here? What if a logic error burned out a fan? What if someone hesitated to use the radios during a regular comm window out of habit and there was a medical emergency?

Faith here was well-founded because obviously nothing burned down and no one died. But who today would accept that risk without going to a licensed professional?

Re:1980s Amiga has been running the AC and heat in 19 school... by coldtea on Sunday December 16, 2018 @04:04PM (#18695233)
>Rhetorical question: were you a licensed CPP, CPA or an actuary when you were a temp in your secondary education unit? That's literally my point.

Well, in the real world it didn't matter at all.

The payroll sheets were then sent to the state's revenue service so that teachers would get paid. If there was an issue, the revenue service would spot it.

Occasionally there were a few slips, because this or that law regarding teacher compensation, insurance contributions etc changed 2-3 times a year. We'd just calculate the differences and issue correction invoices to compensate. At worst a teacher would get a month's salary when they shouldn't (e.g. they have stopped working, but the school didn't notify in time), and then have to give it back.

>Yes, these things can all be done by amateurs. By tinkerers. We all here know it. We've done it. You've done it. Simple devices with telemetry and some logic. Simple programs that do complex things in the aggregate. Take it to your back yard, and either one of us or a highschool student could make a traffic light cheaper than $250,000 - $500,000 per intersection (WA state estimate). But neither one of us could build, install and maintain a quarter million of them, and I think you'd be hard-pressed to mobilize an army of nerds to make it scalable.

The story is not for "a quarter million" of traffic lights, though (which would require tons of money, installations, construction work, big material orders, etc), but about an AC/heat controller for a school district.

Such things as the latter, a "tinkerer" can often do much better, faster, and more effectively than some "specialized" firm.

>But if one wasn't involved, I'm saying it took faith on behalf of the administration to assume responsibility for risk in backing this project, whether consciously considered or not. And there are risks with electrical projects beyond the computers, namely things catching on fire. What were the safeguards here? What if a logic error burned out a fan?

The student didn't install the AC/Heat units themselves.

And the school could always have a "licensed professional" come and check the student's program for correctness, for 1/10th or less of the cost of a 1.2 million dollar replacement, how about that?

Re:1980s Amiga has been running the AC and heat in 19 school... by pp19dd on Sunday December 16, 2018 @04:43PM (#18695452)
BTW, I wasn't against the idea of a right-sized approach, or against your previous work. Very much in favor of both those things. Your work obviously did very well. So did this automation 30 years ago. My whole original remark is about a temporal dimension, which is why I brought up the lights to anchor them to today.

Back then, you could do things more freely with less capable and available hardware. Different environment. Concept of computers was scratching the surface of what they could do for us, and people didn't have a notion of liabilities. And yes, the student didn't install the HVAC systems, but how did tele-operated harwdware interface with it? They didn't have echo dots and knockoff power plugs back then.

Today, you have all that available hardware but can't realistically do things as freely. Suffice it to say that the environment has clammed up on all fronts for an amateur to enter an industry. In some cases rightfully so (only experts for surgeries, plumbing and wiring for me please). In others, egregiously wrong barriers. For example, commonly the first thing that happens in a public institution or agency is that the losing bidder files FOIA requests trying to litigate why their solution was passed up and by whom, including copies of correspondence between them. Imagine having to deal with that dimension.

Back to traffic lights: for something so rudimentary yet so vital, it costs millions of dollars for a handful of intersections, and they're everywhere. Nearly a prime candidate for a four raspberry pi solution, right? You'd think someone would have attempted it.

Re:1980s Amiga has been running the AC and heat in 19 school... by coldtea on Sunday December 16, 2018 @05:43PM (#18695707)
>Today, you have all that available hardware but can't realistically do things as freely. Suffice it to say that the environment has clammed up on all fronts for an amateur to enter an industry. In some cases rightfully so (only experts for surgeries, plumbing and wiring for me please). In others, egregiously wrong barriers.

I agree, and I think that's the key insight in all this. For some things the extra legislation, rules etc make sense. In many other cases, they complicate things, and can even end up delivering not just a costlier but also a less effective outcome (e.g. the 100M government website when a 2-3M one made by a small team would do better).

Re:1980s Amiga has been running the AC and heat in 19 school... by 1996 on Sunday December 16, 2018 @06:14PM (#18695841)
I agree with your statement. 49% of the costs are about cover-your-ass. 49% of the costs are about mass production something that doesn't need mass production.

The rest is the actual cost of the product.

Re:1980s Amiga has been running the AC and heat in 19 school... by ValleZ on Sunday December 16, 2018 @03:31PM (#18695050)
Seems you have to much faith in licensed professionals.
Re:1980s Amiga has been running the AC and heat in 19 school... by pryce on Sunday December 16, 2018 @04:34PM (#18695398)
I didn't take the earlier point as a hagiographic endorsement of licensed professionals, so much as a comment on the changing mindsets of the people making these hiring decisions, and how over several decades that has moved from a sort of cowboy "anything-goes" approach towards a far more risk-averse one.

Outside of interesting questions like whether amateur tinkerers and hobbyists can be as reliable as professionals are other (also interesting) questions like "what factors drive the way institutions and corporations perceive and react to risk?"

Re:1980s Amiga has been running the AC and heat in 19 school... by codezero on Sunday December 16, 2018 @04:46PM (#18695470)
Where I lived, school could shut down for a week if the heat wasn’t working right. That has a huge financial impact.
Re:1980s Amiga has been running the AC and heat in 19 school... by tnecniv on Sunday December 16, 2018 @09:55PM (#18696618)
> What remarkable faith? It's a program to start/stop AC/heat units based on temperatyre readings, not to send people to Mars.

> A talented high school student can write one today, and do it with a Rasberry Pi and for much less than $1 million (more like 5-10K).

Yes, writing a bang-bang controller would be trivial. Even some kind of PID controller wouldn't be too hard for an enterprising high schooler to try.

What makes the professional systems valuable is that they can build much more accurate models of how the building heats and cools. These models depend on the building's geometry, usage patterns, outside climate, etc., and are notoriously hard to produce. However, they can produce meaningful savings over long time periods since they ultimately use less energy due to the quality model.

Re:1980s Amiga has been running the AC and heat in 19 school... by ams6110 on Sunday December 16, 2018 @10:26PM (#18696719)
Those accurate energy-saving models IMO fall apart because they keep buildings just a bit uncomfortably warm or cool, leading everyone to bring in plug-in space heaters, dehumidifiers, and fans. One other trick in the summertime when the central operations folks have decided that the building is cool enough but everyone is sweating, is to bring in a space heater and put it under the thermostat.
Re:1980s Amiga has been running the AC and heat in 19 school... by pp19dd on Sunday December 16, 2018 @11:24PM (#18696883)
Ah, but it's not always done for comfort optimization.

Older electrical meters weren't all that accurate, especially for larger systems - that's true even today. They're analog as an only option of measurement due to incredible amounts of power going through them (too noisy for hall effect sensors). Large buildings are reactive loads to the grid, almost like an inductor. Anyhow, older meters picked up velocity for usage calculations.

Some A/C controllers carefully modeled how fast the power meters accelerated as an instrument, then used that information against them, throttling and ramping power use to slow the measurements down, basically causing under-metering.

Saved USPS millions a year in power bills.

Re:1980s Amiga has been running the AC and heat in 19 school... by wrs on Sunday December 16, 2018 @12:26PM (#18693997)
Three (oh crap, closer to four) decades ago our high school minicomputer (DG Nova 2) handled all the grade reporting, class and athletics schedules, and alumni development mailings — all programmed and operated by a few students, in BASIC no less. It was a rare and invaluable experience to be essentially a trusted professional at that age.
Re:1980s Amiga has been running the AC and heat in 19 school... by zbaylin on Sunday December 16, 2018 @01:12PM (#18694237)
I worked for my local school district (second largest one in Georgia) and wrote production software while in high school. Much of it is still in use. That was only two years ago.
Re:1980s Amiga has been running the AC and heat in 19 school... by iamgopal on Sunday December 16, 2018 @12:54PM (#18694157)
Every company and government try to build wall of laws, standards, compliance, safety etc to save their ass and also so that they can loot it from inside.
Re:1980s Amiga has been running the AC and heat in 19 school... by Shacklz on Sunday December 16, 2018 @03:50PM (#18695149)
> so that they can loot it from inside.

That's one way to view it, another point of view would be that all those people whose jobs we're automating away still get to work somewhere doing something.

Re:1980s Amiga has been running the AC and heat in 19 school... by appleiigs on Sunday December 16, 2018 @11:21AM (#18693686)
They should get their students to build the replacement.
Re:1980s Amiga has been running the AC and heat in 19 school... by drdeadringer on Sunday December 16, 2018 @12:10PM (#18693918)
And not pay them 1.5-2 million [minus hardware], I wager.
Re:1980s Amiga has been running the AC and heat in 19 school... by dsamarin on Sunday December 16, 2018 @01:58PM (#18694496)
How about 20 raspberry pis connected to the Internet and pay them 2 thousand?
Re:1980s Amiga has been running the AC and heat in 19 school... by Groxx on Sunday December 16, 2018 @04:49PM (#18695484)
And then explain why their heater hacked the entire network, or helped DDoS the governor's site during an election? Probably not the best idea to hook things like this up to the internet.