|
FTFY
Cought in Paris web : Ontop Onatopp[^] edition
|
|
|
|
|
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
|
The movie "No Sh1t Sherlock"?
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
If you're serving in a pub, and a lady came in and asked for a double entendre, would you give her one?
PooperPig - Coming Soon
|
|
|
|
|
Upvoted, bookmarked and reused!
You have just been Sharapova'd.
|
|
|
|
|
Anyone seen this twitter account? I find it funny, annoying and for some reason still check it out once in a while. Here[^] is the link to his profile.
I like these ones: "Why doesn't my fat leave me just like everyone else?" and "Getting cremated is my last hope to get smoking hot body."
|
|
|
|
|
Not even that funny...
He has a huge amount of followers and retweeters though.
|
|
|
|
|
d@nish wrote: "Getting cremated is my last hope to get smoking hot body."
I prefer the fact of getting warm feet for the last time
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
...then maybe you are weird!
Yesterday evening I was just putting doing some minor edits in VS 2013, and as I was about to quit for the day, I had turned the a/c off. Suddenly, the system froze. As I have had this happen occasionally in the past, I run a CPU temperature meter on one screen, and the CPU was over 70°C at the last refresh. Power down, restart, launch VS 2013, finish my edits, save and exit.
This morning boot up, start the project, nearly all my urgentz codz had disappeared. All I had was the last part of the sub I was working on. OK, keep calm, don't panic, Aaaaaaarrrrrgggggghhh!
Run a debug - it works. Go to the designer and select a control used at the start of the class - it shows me the code. Scroll down, and the first part of the sub I was working on shows up.
Comment out a variable declaration, lots of errors showing up. Select the first error - shows me the missing code. Finally figure it out.
When the system crashed, VS managed to insert thousands and thousands of blank lines into the code. It took over five minutes to scroll down to delete the blank lines, on an i7 with 16GB ram.
I think I'll take up flipping burgers for a living.
Do you want fries with that?
|
|
|
|
|
Can I get a cappuccino with mine, please?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
How do you like it, Sir? <- service with a smile!
Out of curiosity, I pulled the broken version into Notepad++, and looked at the line numbers.
Last line of code in the top part = 271
First line of code in the bottom part = 10,337
Blank lines = 10,064
Ketchup on your burger, Sir?
|
|
|
|
|
My sympathies, Chris C-B, but ... doesn't it make you feel better when your scars are unique ?
cheers, Bill
«I want to stay as close to the edge as I can without going over. Out on the edge you see all kinds of things you can't see from the center» Kurt Vonnegut.
|
|
|
|
|
I had a similar line issue where VS decided a 50-something line file was over 300,000 lines.
Actually, I had that happen at least a hundred times.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
That IS indeed weird. I could understand it if the system froze with the A/C ON!
With the A/C off, it shouldn't be that cold...
But if you want to be a nice guy, you could always wrap it in a blanket and boil it some hot tea...
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Why didn't you just write a script to delete the empty lines?
|
|
|
|
|
I think it was faster to just scroll down, particularly as I wasn't sure it was extra blank lines at first - which you must admit, was seriously weird. The fastest way would have been to pull the code into Notepad++ and do it from there.
|
|
|
|
|
Before you go in the burger hut take a try in the Apple Store: XCode has some options to clean empty lines and the end and blank spaces in the code.
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
I think the bigger question here is why was your CPU over 70°C. Your fan may be dirty. Open the computer up and give it a good cleaning. Just a thought.
|
|
|
|
|
You can't actually get at the fan in this laptop without a major strip down. The removable panels on the bottom expose everything but the fan and heat sink. Every week I give the intake and outlet a good blast from a can of high pressure air.
|
|
|
|
|
I've enjoyed Robert's writing for over 40 years, but I haven't read everything he's written. My wife got "The cat who walks through walls" and as expected, I've enjoyed it, both for the enjoyable plot and descriptions that were scientifically accurate. I think he wrote Neutron star and that had a section using tidal forces that matched exactly what we know about physics if we had the equipment that could do what that spaceship was capable of doing.
Now our hero is on a space "ship?" with multiple rings that has multiple gravity levels, and all that is easily explained by centripetal forces. Now for the part where all things we know about physics get's thrown out the window.Heinlen wrote: What does it have to do with a tidal lock on Luna; the forward end points forever straight down at the Moon. First off, on a spinning ship, where would the forward end be? To me, it would have to be on the center axis line that the ship is spinning on and forward would arbitrarily be one direction or the other. There is a way that the orientation of the ship wouldn't fight the tidal forces of gravity and that is with the axis of the the orbit and the axis of the spin being parallel. (Well sort of, then the moon would be using tidal forces to slow down the spin of the ship. Just like it is trying to do with the earth, but more successfully because of distance and mass.)
With a Top, it has a pointed end and a body you wrap a string around and throw it while holding on to the string. Immediately, earth's gravity tries to get the Top to topple, but it fails. If you throw it right it stays pretty stationary at first and then it starts to precess as it slows down. That speeds up the slow-down of the spin until the top does topple and quickly loses all its spin. But the spin has to slow significantly, to get it to topple.
Yes, tidal forces have slowed down the moon until it's rotation matches it's orbit around the Earth. The sun is putting tidal forces on the moon but they are ignored because the Earth's tidal force is MUCH greater. The moon is applying tidal forces to the Earth and it is slowing it's rotation down (about as much as a mach truck is slowed down when it hits an ant). It is much better at slowing the water on the surface of the earth down. (Creating tides)
The moon would try to slow the ship's spin, but if it succeeded in stopping the spin, the whole ship would be in zero gravity. If the axis wasn't parallel to the station's orbit, the station would precess like a top but the angle of forces would continue to change orientation and everything would be working to slow the station's spin, which would reduce the induced centripetal force, but would be negating the reason for having the spin. So you would have engines to speed the spin up again when the moon started to slow it down. (Negating the tidal force with engine force.)
If you could get the moon spinning every 24 hours with the current moon's face as the axis of spin, the moon's face would have the same orientation to the earth every 28 days instead of 100% of the time. We would eventually have a new "face on the moon" but it would take many centuries to get it.
Oh well, at least he rarely disappoints.
|
|
|
|
|
First, Heinlein didn't write Neutron Star, Larry Niven did. It's one of his Beowulf Shaeffer stories - you can get his full collection of Beowulf stories, along with a story that ties them all together, in his book Crashlander.
Second, while, "front" of the ship may be a bit ambiguous, it seems pretty clear he meant one end of the center of the ship which is the axis of rotation for the rings. With the axis of rotation pointing directly towards the center of the moon while in orbit, it could be considered sort of "tidally locked". The rotation of the rings around that axis could be made dynamically stable in this configuration.
And lastly, I very much enjoy Heinlein's writing as well, though my personal opinion is that he peaked with Time Enough for Love - much of his work after that got pretty strange (though I still did enjoy To Sail Beyond the Sunset, but mostly for the portion of the story about Maureen's early life).
|
|
|
|
|
Thanks for the correction of authors. Maybe H isn't as scientifically adept as I thought.
"With the axis of rotation pointing directly towards the center of the moon while in orbit" Again, this station is like a top. That top continues to point to the center of the Earth against Earth's massive gravity trying to upend it. We are talking short-term so the top's refusal to drop is because the top's axis of rotation starts directly pointed to the center of the earth.
If you put a gyroscope to spinning on gimbals with the axis originally pointed directly down and keep it spinning for 24 hours, that gyroscope would end up rotating close to 360 degrees relative to Earth's surface anywhere reasonably close to the equator.
You put that gyroscope spinning horizontally on the equator with the axis pointed to true north, over 24 hours it shouldn't rotate it's orientation at all.
Once a body is in motion, it tends to stay in motion. That rule is consistent even with rotating bodies.
|
|
|
|
|
KP Lee wrote: Again, this station is like a top. That top continues to point to the center of the Earth against Earth's massive gravity trying to upend it.
But that doesn't sound right to me. the reason a top upends is because its point cannot move, but the rest of it can.
If you stand a pencil on a table it will fall over.
If you drop a pencil from a height it will land point down.
The Earth isn't trying to upend it!
The gyroscope effect will keep a spinning body oriented in the same direction, relative to the universe, as it moves - so you are right in that, if the axis is pointing toward the moon, and the ship is in orbit, then it would tend to rotate through a vertical plane through 360 degrees each orbit.
H suggests the tidal forces act on the ship - so is he assuming the tidal force is great enough to overcome the gyroscopic force?
PooperPig - Coming Soon
|
|
|
|
|
Maxxx wrote: the reason a top upends is because its point cannot move, but the rest of it can. Sort of right, but not quite. The top upends because the point is not a stable platform. You try to balance a top on it's point and let go, within seconds it will have tipped over. (Unless you stick it in sand, but that just widens the support base.) It doesn't immediately topple when you release the spinning top because the gyroscopic force overcomes the natural desire to topple and the point is a quite stable platform. In fact if the top lands unbalanced it will spin in smaller and smaller circles until the point comes to a complete stop (Relative to the floor location) and spins in place. The point hitting the floor is an anchor point that tries to keep the top in one place. The gyroscopic action is the stabilizing force. It finally becomes an unstable platform as the top slows it's spin.
Maxxx wrote: so is he assuming the tidal force is great enough to overcome the gyroscopic force? I can't know what he is assuming. A spaceship with multiple rings ranging from 0.01 G's through 1 g levels would be massive, probably in the millions of KGms of material. Yes, the closer the orbit the bigger the tidal force, but the moon hasn't come close to stopping the Earth. I'm guessing putting a 100 Gm Top spinning in a 100 M orbit around the moon would take more than a month to stop spinning because of tidal forces. (It would fairly quickly start precessing.)
|
|
|
|
|