|
I guess you can do it with only one rope unless I understood it wrong ( English is not my first language ).
1. Fold the rope in half and mark the mid point.
2. Fold the thinner end of the rope in half to mark the mid point of that section.
3. Start burning from both end until you reached midpoint of thinner end.
4. Putout fire. By that time rope's thicker end will have burned to mark 5 minute.
5. Start burning from midway mark done in step 1 until whole rope is gone. ( That is 45 minutes )
Something I tried to do on paper. [^]
Zen and the art of software maintenance : rm -rf *
Maths is like love : a simple idea but it can get complicated.
|
|
|
|
|
The shutters, which are on the outside of the Space Station are directly opened/closed from inside the station via a mechanical coupling with only a few rubber o-rings to keep the pressure. (the video explains it better and I can).
7 HOLES in the Space Station - Smarter Every Day 135 - YouTube
I'd rather be phishing!
|
|
|
|
|
I like that engineer dude. Very humble.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
I went to reply with the same thing. His channel is one of my favorites. I even support him on Patreon.
|
|
|
|
|
How different paths of like make different things great or small.
In my real life, back in Chemistry, I used "UltraTorr" fittings - hand tight - to maintain a pressure of 10-7 Torr in my vacuum line vs. atmospheric pressure. You just slid the bugger over the tubes (glass) on the line and the container, gave a little twist to compress the o-rings - and done. The lubricant on the o-rings was, as I recall, Apiezon-H .
Nothing fancy in this.
(that's a pressure ratio of about 10 billion to 1, give or take).
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
I worked on the other end of the pressure spectrum with high pressures in the oilfield biz.
A well logging tool is assembled at room temperature and atmospheric pressure, with two 3.5 inch O rings holding back external wellsite pressures when going down the hole. I don't know the numbers but tools would routinely go deeper than 20,000 feet in drilling mud of density up to about 9+ lb/US gallon (fresh water is 8.34 lb/gal).
One of my operators had a waterproof watch he didn't like and the store wouldn't let him return it. He strapped it to the back of one of the caliper tools, ran it into the well and returned the resulting mess to get his money back.
[later]
Okay, found the magic formula...
Hydrostatic pressure, psi = lb./gal x 0.052 x depth (ft)
For 20000 feet depth, 9 lb/gal mud, pressure = 9 * 0.052 * 20000
or 9360 psi (about 625 atmospheres)
Not outrageously impressive but that is all held back by two little O rings. That's a little more than the fraction of an atmosphere in the space station...
Sorry for the non-metric units. Hazard of working in the oil biz...
I'm retired. There's a nap for that...
- Harvey
|
|
|
|
|
That's OK - I live in a non-metric country.
More common high-pressure - those compressed gas cylinders that are found 'all over'. In the lab, in was not uncommon to have the cylinder side pressure ca. 1/4 of what you calculated. So, in the ballpark. Those regulators faithfully dropped it down to the few psi above atmospheric pressure that we needed.
I like the watch story - outsmarting stupid. Satisfying, indeed, when it can be done.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
This brings to mind the god-awful Alien (whatever) movie, where the virtually indestructible alien is sucked out into space through a peanut-sized hole, because of the PHENOMENAL pressure gradient of one (1) atmosphere.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Some of you know that I've been working on a SignalR app that updates web clients in real time. The only part I couldn't get working was the JavaScript part. I just now got it working!! See my comment in line
var searchUrl = "Index/GetData";
$.ajax({
url: searchUrl,
type: "POST",
success: function (data) {
$("#divData").html(data);
}
});
I'm so happy!! Being a Desktop guy I've never done any real web work before. I know have a WebGrid refreshing in real time in my project!!
Thanks for all of you who tolerated me during this experience!
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
|
I'm no SignalR expert, but isn't that only going to call the server once? I'd think you'd need something like a persistent connection to keep real time data streaming over?
SignalR JS Client · SignalR/SignalR Wiki · GitHub
I could be wrong though, I've never used it?
Ah, I see you have the machine that goes ping. This is my favorite. You see we lease it back from the company we sold it to and that way it comes under the monthly current budget and not the capital account.
modified 31-Aug-21 21:01pm.
|
|
|
|
|
Brent Jenkins wrote: 'd think you'd need something like a persistent connection to keep real time data streaming over?
That's exactly what SignalR is for. It maintains a connection between the client and server.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
Yes, that persistent connection is part of SignalR's jquery library but it looked like you were just using a standard jquery ajax call instead of that in your original post?
Ah, I see you have the machine that goes ping. This is my favorite. You see we lease it back from the company we sold it to and that way it comes under the monthly current budget and not the capital account.
modified 31-Aug-21 21:01pm.
|
|
|
|
|
The goal is to 'catch' a SignalR callback in the browser and reload the grid. That seems to be working as I have it.
Brent Jenkins wrote: it looked like you were just using a standard jquery ajax call instead of that in your original post?
I think I need a better explanation of this. We can move this to the Web forum if needed.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
As I say, I'm not familiar with SignalR but this code looks like a standard client->server jQuery ajax call (i.e. not SignalR)..
var searchUrl = "Index/GetData";
$.ajax({
url: searchUrl,
type: "POST",
success: function (data) {
$("#divData").html(data);
}
});
This is a single, asynchronous call to the server initiated from the client (web browser).
Now I'm just taking all this from the QuickStart Persistent Connections · SignalR/SignalR Wiki · GitHub website..
For SignalR to work (i.e. keep constantly streaming data one way or another) it looks like you need to add the SignalR client side library to your page:
<script src="Scripts/jquery.signalR-1.1.1.min.js" type="text/javascript"></script>
And call your server like this:
$(function () {
var connection = $.connection('/echo');
connection.received(function (data) {
$('#messages').append('<li>' + data + '</li>');
});
connection.start().done(function() {
$("#broadcast").click(function () {
connection.send($('#msg').val());
});
});
});
One way to tell might be to put a breakpoint in either you client side or server side code and see if data is constantly being sent.
Ah, I see you have the machine that goes ping. This is my favorite. You see we lease it back from the company we sold it to and that way it comes under the monthly current budget and not the capital account.
modified 31-Aug-21 21:01pm.
|
|
|
|
|
There's more to it than I originally posted:
<script src="/Scripts/jquery-3.1.1.min.js"></script>
<script src="/Scripts/jquery.signalR-2.1.2.js"></script>
<script src="~/signalr/hubs"></script>
<script type="text/javascript">
$(function () {
<pre>
var conn = $.hubConnection("http://blah:8094/signalr");
var proxy = conn.createHubProxy('dashboardHub')
proxy.on('notifyAllClientsOfChanges', function () {
console.log("notifyAllClientsOfChanges received");
var searchUrl = "Index/GetData";
$.ajax({
url: searchUrl,
type: "POST",
success: function (data) {
$("#divData").html(data);
}
});
});
conn.start().done(function ()
{
console.log("Connected!!!");
}).fail(function (e)
{
console.log('Unable to connect:' + e);
});
});
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
Yep, that looks like what I was seeing on the SignalR docs site..
Ah, I see you have the machine that goes ping. This is my favorite. You see we lease it back from the company we sold it to and that way it comes under the monthly current budget and not the capital account.
modified 31-Aug-21 21:01pm.
|
|
|
|
|
Wait... If I get this right you wait for a notification from SignalR and then refresh all your data using a regular AJAX call.
Why not simply send the changed data with your SignalR notification?
It saves you an entire AJAX call (and a lot of AJAX calls when you have multiple clients)!
|
|
|
|
|
Good point. Please see this.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
Kevin Marois wrote: See my comment in line
var searchUrl = "Index/GetData"; Amazing that code works when you do it right.
Code has 0 intelligence and 100% obedience. It only does exactly what it is told too. Nothing more and nothing less.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
RyanDev wrote: Code has 0 intelligence
Code Kevin has 0 intelligence
FTFY
I went into this with ZERO web experience. The fact I got this working is total luck.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
Kevin Marois wrote: ZERO web experience. Wow. signalR is one way to dive right in. As you have no doubt figured out, programming for the web is a very different model than programming for Windows apps.
Good job.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
SignalR is actually very simple. I'm using it on a couple of Windows projects. The grief this time was intregrating into a Web app.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
Congratulations, Kevin !
«When I consider my brief span of life, swallowed up in an eternity before and after, the little space I fill, and even can see, engulfed in the infinite immensity of spaces of which I am ignorant, and which know me not, I am frightened, and am astonished at being here rather than there; for there is no reason why here rather than there, now rather than then.» Blaise Pascal
|
|
|
|
|
You should maybe extend your in-line documentation to explain why it didn't work.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|