|
If you mean underscore as a digit separator like this:
long i = 1_000_000_000_000; instead of
long i = 1000000000000; Then you are right - I assumed that the C version was the equivelant of
byte[] data = {0xFE, 0xDC, 0xBA, 0x98}; instead of
byte[] data = 0xFE'DC'BA'98; Which would have been really useful!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Yes, that would be nice.
Thanks for clarification.
|
|
|
|
|
|
rats... I need a delay between "sending" each pair...
( does that remark qualify as programming question ? )
|
|
|
|
|
If you had the opportunity to travel into space, would you take it?
Why, or why not?
|
|
|
|
|
I wouldn't. I find space to be mostly dull and uninteresting, punctuated only every several hundred light years with something beautiful.
May as well look through a telescope.
Although it would be kind of cool to see earth from orbit, but I can already do that on NASA's website.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
honey the codewitch wrote: I wouldn't. I find space to be mostly dull and uninteresting Oh, thank you! I didn't think anyone would share my opinion on taking a trip to space. That's why I didn't answer my own question when I posted this thread.
If I were offered the opportunity to travel into space, I'd respond with a halfhearted "Nah... Thanks, though"
There's nothing up there. Why would I want to travel to visit nothing? I don't know. There's plenty of space junk floating around. There might be the occasional micrometeoroid, some space dust, and... Well, that's about it.
What would happen if you went on one of those space tourism rides, and someone in the capsule vomited from weightlessness? You're trapped in a tiny little capsule, and there's nothing you can do about it. It's bad enough when someone vomits while on Earth, but in microgravity? The little blobs of vomit would be floating all over. There's nothing you can do. I know that if you were in space and someone vomited in that little capsule, it could easily make other people gag and vomit too.
Then there's the liquid hydrogen. I'm not going near that s***. I won't go within a mile of any launchpad with a fueled rocket. Then there's the countdown till launch. You just sit there, trapped inside what's essentially a tin can perched atop thousands of gallons of liquid nitrogen and liquid oxygen. If that's not enough, they light it on fire. What a great idea. Let's go sit atop a controlled explosion and get hurled 62 miles straight up into absolutely nothing.
You can't even bring beer with you. I don't know if a keg of beer could fit inside the capsule, but that would be awesome. You could get completely wasted drunk while waiting on the launchpad. You could light up a couple of joints and hotbox the capsule. If you've got to be trapped inside that thing, you might as well do something to make it fun.
|
|
|
|
|
I don’t think it’ll be liquid nitrogen somehow
|
|
|
|
|
Paul6124 wrote: I don’t think it’ll be liquid nitrogen somehow Oops. I meant to say liquid hydrogen.
|
|
|
|
|
Don't they use hydrazine, or am I woefully out of date?
|
|
|
|
|
Alister Morton wrote: Don't they use hydrazine, or am I woefully out of date? I think you might be right on that, but it's a vague memory. Hydrazine sounds like a term that I've heard before. I know that NASA uses more than just hydrogen and oxygen in rocket fuel. I forget what the space shuttle used in its solid rocket boosters, but if I remember correctly it was loaded with some sort of chemical that's rich in nitrogen. When it comes to the majority of explosive substances, nitrogen ranks near the top. Consider potassium nitrate. It's one of three main ingredients in black powder. I've heard of all sorts of things used for rocket fuel, but the chemicals used depend on what space vehicle is being launched. I've heard of liquid natural gas being used in rocket fuel. I have no clue as to what purpose that serves. Hydrogen peroxide can also be used in some way. I don't know of any chemicals that match the energy output of hydrogen with oxygen. That's about the extent of my knowledge when it comes to rocket fuel. You may be woefully out of date, but I'm just plain ignorant.
|
|
|
|
|
IIRC, hydrazine was used in the attitude thrusters for many missions.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Kerosene for the recent Falcon 9 launches I've watched.
|
|
|
|
|
PIEBALDconsult wrote: Kerosene No kidding? I know many formulations of jet fuel are very similar to kerosene. I remember hearing that kerosine is used in jet fuel because it burns more slowly than other petroleum chemicals. I would have never guessed kerosine to be a viable option for rocket fuel. Do you know what chemical(s) are used for oxidation w/ kerosine? According to a quick Google search, liquid oxygen is most commonly used as an oxidizer for kerosine. What would the advantage be in using kerosine over liquid hydrogen? ...Aside from the likelihood of a massive explosion... In terms of specific gravity, liquid hydrogen is very lightweight. I don't know the specific gravity of kerosine, but its weight-to-energy output ratio can't equal that of liquid hydrogen and liquid oxygen.
|
|
|
|
|
Kerosene and LOX is what I understood.
It also seems that Falcon 9s use a shallower trajectory, so maybe a longer time in the atmosphere is a factor. : shrug : I'm no rocket scientist, I just write software for them (not for Space X).
P.S. "The SpaceX Falcon 9 rocket uses liquid oxygen and rocket-grade kerosene (RP-1) as fuel."
P.P.S. "they are moving to methane as the fuel in their next generation of engines"
modified 20-Aug-24 0:34am.
|
|
|
|
|
Quote: if you were in space and someone vomited in that little capsule, it could easily make other people gag and vomit too. Have you seen the movie, "Stand By Me"?
The vengeance of Davey "Larda$$" Hogan at the Great Tri-County Pie Eating Contest is epic.
Cheers,
Mike Fidler
"I intend to live forever - so far, so good." Steven Wright
"I almost had a psychic girlfriend but she left me before we met." Also Steven Wright
"I'm addicted to placebos. I could quit, but it wouldn't matter." Steven Wright yet again.
|
|
|
|
|
"...and then I leaned over the balcony and I made a noise like this: *huuuaaaahhhwww*"
From Goonies, but really close to the Stand By Me pie eating scene.
|
|
|
|
|
MikeTheFid wrote: Have you seen the movie, "Stand By Me"? Oh yes! It's a great movie. I did think of that scene during a county fair pie-eating contest where a participant began to vomit uncontrollably. When another person witnessed him vomiting, they started vomiting, too. The chain reaction spread to the entire pie-eating contest audience, and everyone was vomiting everywhere. I love that scene! Here's a link to the scene on YouTube.
Stand by Me: The Pie-Eating Contest - YouTube[^]
Then we have the scene on "Family Guy" that's even more hilarious!
Family guy vomit episode - YouTube[^]
Could you imagine that very same thing happening onboard a space capsule in microgravity? The whole crew would be immersed in a dense myriad of tiny floating vomit blobs. You'd be trapped inside a tin can, 62+ miles above the Earth, with no way to escape. Space travel is dangerous, but a situation such as this brings it to a whole new level beyond what anyone could ever imagine. Just the thought of something like this terrifies me.
|
|
|
|
|
Well, watching a game from a seat in the stadium and watching the same game on TV are most definitely not equivalent. Watching on TV shows you what is happening but you just don't have anything like the experience that the whole immersion in the stadium atmosphere brings.
So going to space and seeing it through a telescope are quite different things - ask any astronaut!
|
|
|
|
|
My point is you're not going to be close enough to anything aside from earth and the moon to really see anything you couldn't see through a telescope, and at roughly the same level of remove, even if it is from orbit or something.
Aside from that, I'm not really interested in floating. It seems inconvenient.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
honey the codewitch wrote: Aside from that, I'm not really interested in floating. It seems inconvenient. Yes. Agreed. Even though microgravity can be fun, it is inconvenient. You can experience microgravity while flying in a plane by pushing the yoke forward into a dive. It's all fun and games until you need to pull out of that dive and all the junk in the cockpit comes crashing down. It creates a huge mess! I'd always lose my pen.
|
|
|
|
|
Yes. Absolutely. But only for a short time.
There are risks if one stays up there for extended periods.
Our brains, bones, eyes, heart, DNA, etc, seem to prefer gravity.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Well I'm glad somebody finally said "yes" ... I was beginning to lose faith in the developer community
|
|
|
|
|
Would like to go to an inner space, full of peace, away from the din and bustle of the external world.
|
|
|
|
|
If the spaceships were more like in the films instead of what we actually have... yes, definitivelly.
With our current technology... not really.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|