Why isn't shed insulation working as I expected?


Sorry, qtron. You really should've mentioned you were using this shed as a workshop or something & trying to cool it. I realize you might say "why would I have insulated it otherwise". We have no way of knowing unless you say, we see many weird actions taken by people. Cooling changes everything!

In that case, you have the foil of the adequate insulation facing the wrong way, it's currently retaining any heat that literally seeps inside. You do want it facing the metal to literally reflect heat back out as soon as it tries to enter, that's actually the specific purpose of the shiny side.

You do still want some minor venting & a small air-space between the insulation & the shed walls (just a few mm's), to let any heat out as quickly as possible. Venting could be a series of small holes drilled directly under any roof edge or lip that you might have & would only be for venting the insulation air-space & not the entire shed's volume. You may also have a roof ridge cap...

0 0

I have the below program:(functionality: pads white spaces to the right of string,used astreix here for visual ease):

os:windows(visual studio)

#include "stdafx.h" #include #include #define CBUFFSIZE 48 void right_pad_str(char *pad_str, char *buff,int max_buffsize){ int padstr_len = 0; int space_len = 0; char *end_str = NULL; memset(buff, '\0', max_buffsize); padstr_len = strlen(pad_str); space_len = ((max_buffsize - 1) - padstr_len); strncpy_s(buff, max_buffsize, pad_str, strlen(pad_str)); end_str = buff +padstr_len; memset((end_str), '*', space_len); buff[max_buffsize] = '\0'; } int _tmain(int argc, _TCHAR* argv[]){ char tmpstr[49] = { '\0' }; char *str = "hello_world"; right_pad_str(str, tmpstr, CBUFFSIZE + 1); return 0; }

There seems to be an issue at memset when I look at the value post memeset, it looks very incorrect i.e junk why is this?In the end I null terminate the string yet I see junk value and a stack corruption error, not sure...

0 0

I am parsing a Soap response with Nokogiri but for some reason the




methods can not find any tags beyond the


The XML I am trying to parse is



If I inspect the parsed XML with a debugger I see

=> #(Document:0x3fce3c4dd95c {
name = "document",
children = [
#(Element:0x3fce385b04dc {
name = "Envelope",
namespace = #(Namespace:0x3fce385b04b4 { prefix = "soap", href = "http://schemas.xmlsoap.org/soap/envelope/" }),
children = [
#(Element:0x3fce385e509c {
name = "Body",
namespace = #(Namespace:0x3fce385b04b4 { prefix = "soap", href = "http://schemas.xmlsoap.org/soap/envelope/" }),
children = [
#(Element:0x3fce385e4c64 {
name =...

0 0
For the best answers, search on this site https://shorturl.im/ovtv7

Sound creates waves of pressure in the air. A microphone usually has a diaphragm that can be moved by said pressure waves. There are several different ways to make this into an electrical signal. One sort, called a dynamic microphone, is basically a speaker in reverse. A speaker has a cone (diaphragm) that's attached to a moving coil of wire, surrounded by a magnet. As an electrical signal is run through this coil, it creates a magnetic field that's repelled or attracted by the permanent magnet... so the speaker moves, creating sound pressure waves. Like generator vs. motor, if you reverse this process, the diaphragm moves a coil of wire in a magnetic field, creating an electrical current. That's the dynamic microphone. One advantage of this sort is that it can generate a decently strong signal, another is that it's pretty rugged. You actually can use a speaker as a microphone.. but one of poor quality... mics and...

0 0

The Contains method does not use the == operator

No - it uses Equals, which you haven't overridden... so you're getting the default behaviour of Equals, which is to check for reference identity instead. You should override Equals(object) and GetHashCode to be consistent with each other - and for sanity's sake, consistent with your == overload too.

I'd also recommend implementing IEquatable, which List will use in preference to Equals(object), as EqualityComparer.Default picks it up appropriately.

Oh, and your operator overloads should handle null references, too.

I'd also strongly recommend using private fields instead of public ones, and making your type immutable - seal it and make id readonly. Implementing equality for mutable types can lead to odd situations. For example:

Dictionary dictionary = new Dictionary(); Element x = new Element(10); dictionary[x] = "foo"; x.id = 100; Console.WriteLine(dictionary[x]); // No such...
0 0

Questions & Answers

Q. Can I install "0007" shed insulation myself ?

A. Yes the home handyman can easily install it see the DIY
guide. For existing sheds consider the magnet system.

Q. Where can I install "0007" shed insulation ?
A. Roof, walls, and garage doors, also
under patio rooves or over existing bulk insulation in ceilings.

Q. How much cooler can I expect my shed to be if I install "0007"?

A. "0007" will stop 97% of radiant heat entering your shed and you should expect to have the shade temp of the day, which is the coolest you can be without energy intervention eg air con. This can be as much as 12.5 degrees cooler.

Q. How much will it cost?

A. See how to measure, and work out the cost in DIY guide.

Q. Why is "0007" shed insulation less expensive than most other forms of shed insulation?

A. "0007"s quality and strength is of such that it doesn't need to be...

0 0
Figuring Out How to Insulate the Shed Floor

One of the most challenging steps to the project was figuring out how I would insulate the shed floor. Insulating the walls would be simple because they were exposed to the inside and insulation batting could easily be squished between the studs.

The floor was a different story because I wasn't sure initially how I would be able to access this area. When I toured the building and picked out my shed I wasn't able to see underneath it so I couldn't tell if the studs were exposed on the bottom or covered with another layer of plywood. Looking back, I should have asked more questions and requested a diagram of what the studs looked like on the bottom of the shed.

Once the building was delivered I found the floor was made from 2 x 4 studs set 16 on center. Thankfully we'd had the building installed high enough that I could easily crawl under and install batting from the bottom. Inside the barn I also found that I had 1 5/8 inch of...

0 0

Hey Ilya,

Having a Time To Live(TTL) of 3700s or above isn’t necessary for stale to function, but not having a TTL of that timespan definitely increases the odds that serving stale will fail when you need it. Any object with a TTL of less than 3700s will be stored in temporary memory on our cache nodes, and has a higher likelihood of being evicted, which increases the chance of stale not working because there isn’t a stale object for us to serve.

For each of the options you’ve outlined, you’ve written out the optimal response; the server is down, but in the first case, the object is still cached, so that is returned to the client.

In the second case, the object cached is no longer valid so we ask your origin for a new object; since your origin is down, we’ll end up returning the stale object, as long as the stale object is still in our cache (which is why setting the TTL higher is so important).

In the third case, it’s highly unlikely that the object...

0 0

e vents have a better capacity than whirly birds, for insulation air cell which is basically a bubble wrap with foil and anti glare foil would be your best option, stuffing insulation against tin doesnt work, it requires air flow and will sweat, problem with sheds is that the spans between frames is large, if it was mine id cut vents high up , just under the gutter line, ensure they are weather resistant, id then aircell the internal structure , flick off tin and aircell on top of perlins foil tape overlaps and refit tin, you need to leave a slight droop between perlins so the insulation is effective with airflow, adding a couple of louvered vents or opening will also allow to release trapped heat, ive been in construction and energy efficient high end housing for most of my working life,mainly europe, australia has the worst methods in efficiency ive come across, take the colour of your shed as the 1st f up, then buying a sail board as your second...

0 0
Insulating a shed floor?

And insulate that,

2 x 3 are not adequate for a floor 16 x 12,unless supported on dwarf walls at intervals.

Why not just go with concrete as you originally wanted to?

And insulate that,

2 x 3 are not adequate for a floor 16 x 12,unless supported on dwarf walls at intervals.

Primarily expense, but this guy makes really good sheds and doesn't get any problems with his wooden floors, but then again, were they used in winter at all? I'll likely be working in there in all weathers. I did have two well built sheds at my previous place and the floors in those were fine, but again, they were only used for storage.
2x3(+) are the wall timbers, tbh not sure what he uses for the floors but they are the most solid sheds I have ever seen.

brb going to read that thread

If you can get it cheaply then foam glass makes an excellent...
0 0

Thanks, wentao, for the suggested code fragment.

The call to sched_setscheduler() successfully changed the scheduling policy without returning
an error.

I had tried something more like this:

struct sched_param schp;

sched_getparam(getpid(), &schp);
schp.sched_priority = sched_get_priority_max(SCHED_RR);
if (sched_setscheduler(getpid(), SCHED_RR, &schp) != 0) {
* *perror("sched_setscheduler");
* *exit(1);

Apparently, one needs to pass the root process ID of 0 in order to change
the policy. Whatever, a subsequent call to sched_getparam passing it the
calling process returns the changed schedule policy value, and a subsequent
sched_setparam call with getpid() also works, so there it is.

However, I'm not sure changing the policy did anything:

My test case, minus the #includes and various queries and printf() calls, is:

static int done;
void* threaddie(void* arg)

0 0
0 0

If you are interested in green building, or call yourself a green building expert, then you should know about mineral wool insulation. If you have not seen mineral wool handled and installed, then you need to read this.

If you think that mineral wool batts are similar enough to fiberglass batts that you already know what you need to know about it, then you are a fool. And you still need to read this.

If you have already read some of my essays, you know that I am an advocate of using mineral wool insulation to improve the energy performance of the houses we build in the U.S. There are many reasons why I think that mineral wool is the best insulation for us here. Recently I find myself making my case for this repeatedly, so I thought it would be worthwhile to get it all down in one place and just point to it in the future.

Mineral wool is different from fiberglass

So why am I constantly explaining why I like mineral wool, and what's good about mineral...

0 0