Better HN
topnewbestaskshowjobs
Log inSign up

VBprogrammer

8,523 karma · joined Mar 16, 2009 (17y ago) · 2,630 submissions

Submissions

comment 7y ago · link · parent

When I see a 100 line function it almost invariably is doing stuff at very different levels of abstraction. It's making DB calls here and API calls there; it's handling flags to indicate the end of iteration; is dealing with some user set configuration there. Teasing these things out of the code can make it much clearer what's going on.

comment 7y ago · link · parent

I suspect the reason is you want hot water stored at ~60C. If you pump water through it slowly enough / enough times to attain that temperature then you are actually increasing the temperature of the panels (assuming air temperature is less than that).

You'd need to use a heat pump to get actual hot water from a small delta T in the coolant.

comment 7y ago · link · parent

At a wild guess I'd say 50% of UK homes would have at least one instant hot water electric shower. The other option being a power shower driven from the hot water loop on their gas central heating.

comment 7y ago · link · parent

Yes, I think you did. Indeed it's almost embarrassingly cheap, about 25p for a 10 minute shower.

comment 7y ago · link · parent

To be fair the most sensible way is as a resistive dump load (which as you mention doesn't care whether it's AC or DC) or as someone else mentioned skipping the electrical step altogether and going with a simple solar water heater.

comment 7y ago · link · parent

Nice. I've tried searching for it before but clearly didn't get the right combination of keywords. Mostly I've found people using the waste water to pre-heat the supply (which itself is a good idea but doesn't solve the water capacity problem).

comment 7y ago · link · parent

I think people aren't as aware of how power intensive showers are as maybe they should be. It takes roughly 10kw to provide a decent instant hot water shower. That's roughly the output of 40 domestic solar panels at 100% capacity. Of course you can buffer this with a battery bank but getting 10kw worth of inverter is non-trivial and the hit that a battery bank would take from providing that power would be challenging.

Taken another way it's the same amount of energy as it required to propel a scooter or small motorcycle along at 50mph.

How many people start their showers several minutes before the are actually ready to step into them?

comment 7y ago · link · parent

I've had a recurring idea to build a water recycling shower. The idea being the water is initially stored in a tank below the shower, pumped up through the shower head and returned to the tank via the drain. A (hopefully) small amount of hot water is added to the tank to maintain the temperature of the water and to introduce more clean water. Some degree of filtering would obviously be required on the return path, at the very least to remove hair which would damage the pump but hopefully also removing soap suds etc.

I'm not sure if it would really work but it seems like it would be ideal for some situations, for example in motorhomes, small yachts etc.

comment 7y ago · link · parent

My house was built in the 1870s so I'm quite familiar with most of the things I mentioned above! Thankfully it's not in a conservation area though. I certainly think there needs to be a balance between the needs of modern occupants of a building and the desire to preserve the heritage of traditional buildings. If there isn't an acknowledgement of the need to modernise these buildings they fall into near museum status. I don't think that is good for modern day occupants or for those who would wish the home to be maintained into the future.

comment 7y ago · link · parent

I wonder how much the difficulty in bringing these building up to modern standards plays into these decisions. Over the years these building would have been fitted with a variety of different heating systems; perhaps starting with open hearth fires when they were built with large brick chimney stacks to provide thermal mass. Over the years they probably got coal gas put in, or perhaps a back boiler hot water system operating on a thermal syphon, eventually being replaced by an early gas or oil boiler central boiler.

Each of these steps leaves another complex layer of hacks, fixes and dead pipes behind making it a long and challenging job to strip out and replace.

Similarly, when built it probably had no electrical supply at all, eventually being attached to the grid and wired with mineral insulated cable and re-wirable fuses. Over the years electricians have probably updated bits of this leaving old wires in place behind walls and ceilings.

Then you have the walls which would initially be lath and lime based plasters, with horse hair for strength and arsenic to stop the rats eating it. As these buildings got more sealed up, windows improved and fireplaces boarded up the condition of the plaster deteriorated. In places the plaster is patched with modern gypsum based plasters which aren't really compatible with the naturally porous building materials.

Even if all that is fixed and updated there is little or no insulation in the construction of the building. Adding it internally can cause issues with condensation buildup in the fabric of the building and is all but impossible to achieve without fairly large cold bridges due to the existing construction. Adding it externally can't be done without significantly altering the appearance of the building.

If that is all dealt with you probably have accessibility issues with steps and narrow door ways. Possibly fire safety issues etc.

comment 7y ago · link · parent

Yeah, maybe it's just having a more sensitive ear to the Scottish accent but that to me was the furthest from the reference by far.

comment 7y ago · link · parent

I wasn't trying to start a gun control debate. I just found the contrast between the defense of personal rights and restricting the rights of others interesting in this case.

comment 7y ago · link · parent

Yeah, I think that's a good point. While the contradiction may exist when taking the country as a whole; there are few individuals for who that contradiction actually applies.

comment 7y ago · link · parent

I agree. For example, it would also allow ships to make up time lost to rough weather by ignoring the speed limits later in the passage (which is probably not good for the environment).

I also don't know that a blanket speed limit makes sense for all ships. The longer the waterline length of a ship (for a given weight) the easier it is for it to make a given speed.

I feel like a better metric could be used, like fining vessels for trips which consume more than X tonnes of fuel for a ton of cargo where X is designed to be met only by building highly efficient ships or by existing ships operating at reduced speed.

comment 7y ago · link · parent

I had a bit of a look, I found one flight school that had committed to buying some electric aircraft and had apparently trialed them before. No real indication of how it works practically. Bearing in mind that a Tesla battery pack weighs 500kg (1200lb) or so. Changing them over wouldn't be a simple operation.

comment 7y ago · link · parent

The problems of using hydrogen are practically non-existent compared to the problems of using batteries. Even if you use half the interior volume of the aircraft for hydrogen storage you are still in the realms of it being economically viable (though still challenging).

1lb of jet fuel has roughly 5kwh of energy. Of course you are going to get less than half of that out as useful work. But an airliner can carry 300000lb of fuel. So as a first order approximation you are going to need 10000+ Tesla battery packs to do the same job.

comment 7y ago · link · parent

Useable in the loosest possible sense of the word since charging it would then take a few hours. By which point lack of daylight or a change in the weather would probably mean no more flying for the day. And even if that could somehow be made to work (perhaps with swappable batteries), it ignores the fact that anyone trained in flying an electric aircraft would be poorly equipped to fly a conventional light aircraft with issues like carburettor icing, shock cooling, leaning with altitude etc.

comment 7y ago · link · parent

My general approach to something like that is to ask (in person usually) to sit down with the author for a couple of minutes to discuss it. Getting into a back and forth conversion in review comments is in my experience too slow and cumbersome.

comment 7y ago · link · parent

I don't believe the right to be forgotten here is at all relevant. It only covers the indexing of data. For example if I commit a crime a media organisation will write a story about it, google will index it, after a number of years I have the right to ask google to unlink those stories, however I don't believe it covers removal of the original story.

Certainly it's hard to believe some of this would be completely compatible with the GDPR. Perhaps you could make the argument that there is a legitimate business need to prevent fraud but from what's included in the article the data goes far beyond what anyone would consider minimal.

comment 7y ago · link · parent

I think the Andrew Gilligan debacle, and the more recent Naga Munchetty issue, are both symptoms of the BBC falling over themselves to appear impartial at the expense of common sense.

comment 7y ago · link · parent

Indeed, the fact that so much of British politics in recent years has be reduced to a binary proposition is probably a red flag.

comment 7y ago · link · parent

I think one of the issues the BBC suffers from is that in the attempt to be impartial they can sometimes give undue weight to crack-pot ideas.

That said, I often see both sides of a debate complaining about the bias of the BBC. So long as that is the case then we can reasonably assume they are doing a fair job of walking the fine line between both sides.

comment 7y ago · link · parent

Driving in Canada was the first I've encountered stop lights on such a high speed road (I think maybe it was less, perhaps 50mph). I have to say it felt pretty crazy. However, the same situation in the UK would have a roundabout with half a mile of yellow warning lines on the run up to it.

For example: https://goo.gl/maps/Z7vDzEimPLZvyXuK6

comment 7y ago · link · parent

Sure, it's trivially easy to slip into tribalistic behaviour. That doesn't make it right, decent or defensible. We should aspire to be better than our unchecked nature; not use it to excuse our failings.

comment 7y ago · link · parent

At a guess this might not be far from the truth. For sub a few hundred pound almost no one would bother fighting it. Above a few hundred thousand almost everyone will. At best they'd have to expend a lot of time and money to get a fraction of the original amount back.

comment 7y ago · link · parent

I have no experience at all with screen readers. Is there a modern FOSS screen reader that would help give an idea of what a visually impaired user would realistically experience?

comment 7y ago · link · parent

I'm a meat eater myself but have I have 4 vegan family members. It's amazing how the range of vegan / vegetarian food has exploded in the UK over the last few years, I think this has made it much easier to maintain a vegan diet because socially it's much easier to eat almost anywhere rather than having to pick somewhere specifically for the vegetarian options.
1
585960
88