Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×

Comment Re:Such potential (Score 1) 520

I don't think that the shortcomings of broken blog engines are supposed to influence programming language design.

If I have to copy-paste something from a blog into an editor, then run autoformat on it, I might just pass on. Frankly said, people with shit worth posting know how to manage their formatting. If a post is so broken as to be unreadable, it's most likely useless code anyway.

Comment Re:Such potential (Score 1) 520

If your blog "engine" can't handle a simple pre-formatted code block without tabs, you're doing things wrong. A lot of blogging tools out there seem destined for the barely literate, where a few paragraphs of text and a few pictures is the pinnacle of expressiveness. It's too bad that those tools mess up Python, but they mess up C/C++ and everything else equally badly: it becomes an unreadable mess.

Given that a space cannot be re-configured to mean something else, as opposed to tabs, I simply stopped using tabs for indentation long ago. Any decent editor knows how to deal with indentation without a 1:1 mapping between the Tab key and the TAB ASCII control code. So, I really don't see a problem.

Comment Re:Tried and gave up (Score 1) 248

He would have saved way more, then, by simply blowing in $250 of insulation into his attic, and investigating an upgrade to his HVAC system. Heck, even with the old HVAC system, just replacing the windows one-by-one yourself offers a way better payback. He must have had it real bad beforehand.

Comment Re:Tried and gave up (Score 1) 248

Never mind that a modern HVAC system's "thermostat" is really an application-specific terminal with a 24V power input and a CAN connection in the back. It's like an OBD-2 scanner: you have access to full diagnostics of the heat pump and the "furnace" (fan coil), and a multitude of settings to fine-tune it all. You will get informed when your air filter restricts the air flow too much due to it being dirty, when you lose refrigerant, etc. That's what you can get with a $7k system for a 2000 sq.ft. house, give-or-take. On such a system, a Nest thermostat is just as bad as a dumb thermostat would be - and you definitely don't want a dumb thermostat there!

Really, no modern HVAC system should have a dumb thermostat, but it shouldn't have a Nest either. It needs a terminal-thermostat that's designed to bring the system's features to the end user. And nobody who owns a house over 1000 sq. ft. should ever replace their HVAC system with a dumb one that doesn't have modern controls and diagnostics - it's a waste of money.

Comment Re:Tried and gave up (Score 1) 248

Nest is, unfortunately, an idea so dumb that it truly baffles me how can supposedly intelligent people come up with it. Any decent residential HVAC system comes with a smart thermostat already, and most of the efficiency gains are due to the efficient two-stage heat pump, variable speed blower fan, and a multitude of sensors that monitor it all and let the thermostat drive it appropriately. If I were to replace my default thermostat with a Nest, I'd actually lose lots of functionality for what: a perhaps better aesthetics and a remote access feature of dubious value.

At the very least, the Nest people should have reverse-engineered the rather trivial CAN-based protocols used by the few common smart thermostats and supported those. If you don't have money to buy a decent, modern and efficient HVAC system, you're not in Nest's market anyway. And when you do have a modern HVAC, a Nest is a step back.

It seems to me that Nest's designers only ever lived in crappy housing with old HVAC controls, and have no engineering background in HVAC. I feel a bit sad for the consumers who got tricked into buying a Nest - it's about the worst way they could have spent their money. In all seriousness, they'd get more utility had they spent the same amount on a used tablet or somesuch.

Comment Re:Yes... (Score 1) 809

I don't rally know what point you've tried to make. I did not address at all whether the problem is endemic to engineers or not. I'm not saying that all engineers around me are incompetent, only that a lot - way too many - are not. The people I work with are always better at me at many things - that's a precondition to their hiring :)

Comment Re:Yes... (Score 4, Insightful) 809

I must, sadly, second that. There's a lot of engineers who have vastly overinflated opinions of themselves. In my hiring, I try to be modest, since I know I'm not good at most things, and always look for people better than myself in some way - mostly to learn from them. They are very, very hard to find. But then I spend about 15% of my time reading "random" technical writings about all sorts of subjects, just so that I won't look like a total idiot when faced with fields I normally don't deal with. It helps to gain perspective and understanding of the limitations of one's knowledge.

Comment Re:Nice! (Score 1) 75

The biggest clincher is that the Earth's electrical grid doesn't even have to be susceptible to be damaged by such storms. The damage is due to high-intensity, slowly-changing magnetic fields that induce what amounts to DC current (when compared to the brisk 50/60Hz). Such low-frequency currents happily saturate the transformer cores and destroy the infrastructure. The solution is rather simple, and would have costed very little to implement: AC coupling of all conductors over a certain length in transmission and distribution circuits. By all conductors I really mean all: the grounded conductors, and mast-to-mast earting wires would need to be AC coupled as well. An alternative would be to add DC-breaking overcurrent protection to all circuits, including grounded and lightning protection circuits.

Comment Re:Regulation Strikes again (Score 3, Interesting) 194

That's perfectly fine though: the fault indicator lights are there to indicate that there's a problem. Things get ugly when you decide not to run the engine anymore when such "tampering" is detected. Or, worse, if the emissions equipment is replaced by properly functioning aftermarket parts that don't have proper authentication circuitry and/or firmware.

Comment Re:Emissions Regulations (Score 5, Insightful) 194

This is bullshit. The manufacturer wants nothing open because it'll commoditize the stuff that rakes them boatloads of money. Regulation has nothing to do with it. The owner/operator of the equipment is responsible for maintaining it with adherence to emissions regulations. How she does it, is up to them.

Comment The header files do match implementation! (Score 1) 233

a lot of inconsistency between what is declared in .h files and what is implemented in the corresponding .cpp files

That's impossible unless you're talking about comments in the header files, or the implementation (.cpp) files don't include their own headers. Generally speaking, every .cpp file must include its header in the first non-comment line of the file.

Good:

// foo.cpp, Copyright (c) 2105 Dynabone LLC
#include "foo.h"
#include <cmath>
...

Bad:

// foo.cpp, Copyright (c) 2105 Dynabone LLC
#include <cmath>
...
#include "foo.h"
...

Slashdot Top Deals

Understanding is always the understanding of a smaller problem in relation to a bigger problem. -- P.D. Ouspensky

Working...