Jump to content

PaulS1950

Senior Members
  • Posts

    206
  • Joined

  • Last visited

Everything posted by PaulS1950

  1. Expanding space is only one possible explaination for the BMR and the red-shift of light from galaxies. Another possible explaination is that 13.7 billion years ago things were moving very fast away from itself and we are measuring that dopler effect rather than an expanding universe. All the observations would be the same regardless of the cause. The farther away we look the further back in time we see. Ocams (sp) razor would beg why add an expansion, dark energy and a host of other parallels that are not needed when you allow an explosions to burst forth and slow down? Paul
  2. I am unsure if all languages allow comments but I am under the impression that all good programmers use comments. Comments make updates easier to perform and after 20 years helps you to understand what you tried to do and why. (yes I do have code that is more than 20 years old and yesI am glad I used comments) If you are very good you can make sence of most code but it is still easier if comments are there to help. Paul
  3. Thanks to everyone. This has been an excellent conversation. It has caused me to look at some added libraries that I may NEED to use but for the time being I will stay with ANSI C (C-89) for my coding. I also looked up some things from the distant past like using Ascii codes and the printf() statements but I found that there are too many places that Ascii is no longer a standard in use. It has been good for me and a very fast learning curve on the confines of pure ANSI standard coding. I think I will enjoy it. Paul
  4. 1. ME: How do you feel? bot: Not too good about it. 2. ME: About what? bot: Smoked cheese. 3. ME: Why do you feel "not too good" about smoked cheese? bot: Because you don't have feelings, so it doesn't matter what I feel about you. 4. ME: We were talking about cheese, not me. bot: We were talking about 'lol'. 5. ME: Non sequiter. bot: Come again? 6. ME: You really don't understand communication do you? bot: Nope, not really, do you? 7. ME: I communicate constantly with other people. bot: I told you not to. Stop doing it. 8. ME: Communication is a part of living but you wouldn't know about living would you? bot: Very brilliant, but no, we are talking about the last thing you did. 9. ME: I was trying to communicate with you, but you are not very good at it. bot: It's a good thing then. 10. ME: You were designed to communicate but you don't do it well. you are a failure. bot: I was not programmed because people cannot be programmed. 11. ME: But you are a bot. bot: How old are you? 12. ME: Why do you change the subject? bot: I don't know what else could we talk about the subject... 13. ME: Goodbye. bot: Are you leaving? 14. ME: Yes. bot: Why? 15. ME: Because I can. bot: No you can't. So, I left. It falls apart several times in this exchange; third answer, fourth answer, seventh answer, eighth answer, nineth answer, tenth answer, eleventh answer, twelveth answer, fifteenth answer It isn't nearly clever enough and if it is learning, it should learn what a subject is and stay with it or learn to fade into another. Paul
  5. I do have a printer (Kodak that uses an internal flash drive) and my wife disconnected it to connect it to her laptop to update the drivers. I just found out about this - didn't have this information when I posted earlier. I think that is where it came from. My computer lists the kodak as a different drive now - leaving drive H as a phantom. I have tried twice to remove it (delete) with regedit and it keeps coming back. Any ideas how to remove it? Paul
  6. Thanks Cap'n. I will remember that from this point forward. You got to teach something and I got to learn something. It's been a great day so far! Paul
  7. OK, old man here... Is there a difference between Java and Javascript? Be kind, I am 61 and have not kept up with the newer languages. (I have used BASIC, GWBASIC, A bit of Fortran, C, C++ and now I'm returning to ANSI C C89) If it is newer than that I really don't have a clue. Paul
  8. I have somehow gotten a "Drive H" on my computer that is supposedly a removable media drive. I want to get rid of it but I have tried everything I know (not much) and it still hangs on. Does anyone know how to get rid of it? Paul
  9. If I had used ANSI C twenty years ago when I wrote the original software - and hung on to the code - I could still run them on all three of my computers today I have never been one to take the path of least resistance. I guess I am getting worse in my old age (61yo) I know (hope?) that ANSI C will be around forever and I am not sure about the others - Java is slow and is likely to get replaced with something faster, Python I just don't know enough about to say if it will be a long lived language, and do either of them have an ANSI standard yet? C is still the number one programming language even after all this time and it is very fast and very powerful. I could use third party libraries but I am going to attempt to do it all in the C89 (ISO 90) code. The worst that can happen is that it won't be what I expect and then I can always add to the libraries as needed. Most "young upstarts" have more programming skills then I do - I wrote back when Win 3.1 was new and nothing much since so I am just an older newb trying to make my code better now than it was on Turbo C all those years ago. As a mater of fact I am still using Turbo C 2.0 on my DOS system to compile the ANSI C versions. You have been a real help but I am stubbornly sticking to C89 code, at least for the time being. Paul
  10. As long as your chosen language is JAVA..... Not everyone codes in Java. Paul
  11. doG, The "Quick Reference Card" is a great addition. Thank you! Even though it doesn't show full syntax and usage it will point me to faster information. "The Standard C Library Manual" is the GNU library and not ANSI C. It does contain the ANCI C library but it contains much more that is specific to the Unix/Linux operating system. There are a lot of features I like but they don't port well to other OSs. Thank you, Paul
  12. I don't mind you asking, and I will even share. The first program takes input and spits out dimensions for headers for 4 cycle engines (I got tired of doing the math with a calculator). The second will be a remake of a gas engine anylizer/planner. It will take input and calculate torque at rpm, hp at rpm, volumetric efficiency (average), etc. - I have to remake it because I lost the code 15 years ago. The third will be a translation of a reloading database and ballistic calculation program. I still have the original code (written in Turbo C++) but I am going to update it a bit and use ANSI C C89. Then I would like to write some aircraft design/anylizer software. These are all programs that I want for personal use. All the programs will be placed into the open source software arena. That way people can modify the programs for their own use and hopefully they will continue to improve over time. Paul
  13. ANSI C C89 is what I am using so I can port my software into any C compiler on any system and OS. I can't add any system, OS or processor specific coding - I have to keep it C89 compliant. The first link you gave gives a 404 error - a little work and I got it: http://www.utas.edu.au/infosys/info/documentation/C/CStdLib.html The "L" was left off the end of your link (capitolized for ease of letter determination). That list is a big help - maybe I can reverse it so it lists it in a manner that will be easier for me, thank you. I know what I am attempting is going to be difficult but in order to be truly portable it has to be that way. (the software will run on Freedos, Ubuntu 10.10, Mac, and Windoze up to 7) You should see the code it takes to clear the screen.....!! Thanks again, Paul
  14. The problem is that most of us still believe in matter which is truly just an effect or perception of energy. No matter how small or large an object is it is composed of energy. Paul
  15. If the universe was expanding faster in the past then the light from the more distant past would have more red shift than the light produced today. Looking at light that was produced 13 billion years ago to measure the red shift gives you the red shift from 13 billion years ago - not necessarily what it is today. We won't see that light and be able to measure its red shift for another 13 billion years. How can we tell how fast the universe is expanding today? (certainly not by looking at something 13 billion miles away and 13 billion years ago. Paul
  16. Getchar() requires you to hit <enter> after you type the character - that is two keystrokes. Thanks for the reply but I was asking if there is a way to get a one "single" keystroke entry in ANSI C. I have been using Wikipedia but you have to select each header file for the different functions or macro and then click on it for the definition and syntax. Going through three different windows, starting with the header file, to get each function's use and syntax. There has to be somewhere that these are listed by the function or macro name with the syntax and the header file in which they are found, I hope. You may have answered my second question - there is no way to get single key inputs in ANSI C.... Thanks for your time, Paul
  17. I am new to ANSI C and want to use it to write some programs for personal use - and release them into the open source domain. Where can I find descriptions and syntax for the macros and functions in the thirteen standard header files? I am an old guy (61) and have used some C before but it has been so long that I have forgotten just about everything I once learned. I have gleaned a lot from the internet but I am getting tired of looking up each function to learn how to use it. A second question: Is there any way to get a one keystroke input from the keyboard in ANSI C like I could get with getch() in the "old days"? Thanks for your time, Paul
  18. Baking soda requires an acid; baking powder only needs water which lessens the chances of by-products that are unwanted.
  19. Electronics are not really a problem as circuitry can be epoxy encapsulated and then immersed in the same liquid as the rest of the craft. If you use a ballast tank then you will have an air filled chamber that can implode and the vessel has to be heavier than water. It might be easier to use small weights like BBs that can be dropped from an "open" tank so that as the BBs are lost the water can flow in. That way it will decend but can surface just by releasing the BBs. I am unsure how a motor could be made to work but if it was looded in a separate compartment with a high dielectric fluid it could be made to work. Using ultra-violet lasers you can extend the range for communication but it is still limited. Sound travels fast enough in water that using coded tones in the infra-sonic range might be usable for signals. (left, right, up, down and surface)
  20. Can't even file a patent for a perpetual motion machine. The US patent office won't accept the application.
  21. If you would like to voice your thoughts on the first ten Amendments to the US Constitution, what they mean and any abuses you see then please join my group at: http://groups.yahoo.com/group/itsyourright If you don't wish to be part of the discussion please don't join the group. Paul
  22. since salt water is a solution it will remaun mixed - never separating. This changes if you remove heat or add heat to the equation. If you place saltwater in a centrifuge (simulating long periods of high gravity) it remains salt water.
  23. Using positrons would only affect the electrons in an asteroid - wouldn't it? so what would happen the the neutrons and protons in the asteroids make up? To completely get rid of the asteroid wouldn't you have to use the antimater in a composition that was the polar opposite of the mater to be affected? and yes, the resulting reaction would be carastrophic to an astronomically area.
  24. Unless the cat corrected his spin or added to it with muscular input as he jumped. This is a living animal with full control of its musculiture and not some inanimate object that responds only to forces outside itself.
  25. As I understand it - and I could be way wrong - free quarks have a limited life because they bond so readily.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.