That's where good commenting technique comes into play. As a good programmer I always put at the top, in a comment "If you break this [program/script/set of scripts] and want me to fix it, you'll have to pay my consulting fee of 80 dollars an hour, minium of 10 hours."
I take, from you post that you haven't used a language like php for server side processing of web requests. I say this becuase, when you get into a web enviorment, especially a lan, performance is key. Let's take the idea of a shell script. Now let's say you wanted to change your.profile when you logged in to list the latest weather conditions. Would you re-implement the script weather, (which is already on most linux systems) or run the command through perl to strip out the junk and just dump it into your.profile. Although this example isn't very usefull, it proves my point.
The point you didn't consider is, for example (and I've had to do this) on a php web page, I've need to get the title from a pdf.
To get a title from a pdf you must parse the end of the file, to find an index number. Then starting at the top you use this index number to find the actual title of the pdf (and not the title of some text box.)
My boss (no he wasn't a phb, he was cool about stuff) and I sat down and wrote programs to do this in our favorite languages, mine was c++, his was perl. As it turned out they both ran about the same speed, but his was 8 lines, mine was 100+ and used a whole lot more memory.
Now if you used the perl to get the title rather than using c++, but then used c++ as the interface (it handles argc, argv and ui better than perl) didn't you write less code, and make it easier on your self?
It's not a question of mastery, it's a question of which is a better use of my time. Writing 8 lines of perl then playing games for an hour while I wait for the next project, or spend considerable time writing it all as c++ native and missing out on my game time?
I've just recompiled my kernel to 2.4.14. So when will they add ext the the regular file systems rather than waiting for the patch to come out? I mean the first time I tried to apply the patch, bad things happened.
This is an intresting concept, mainly becuase syncing when you read from other devices and when you write becomes somewhat, let's say, interesting. Normally, as your cpu works, it runs on a signal going on and off (the clock) to make sure that data has a chance to stabalize before you use it. Infact, when I worked with chips like the serdes, I would have to set all my processing 180 degreese out of phase with the clock to ensure good data.
I would like to know how this will affect optical networks if put into use, as it might be possible to get incorrect data, if the light stream cuts off half way through the sampling time. It seems to me, that playing without clocks, though may be faster and better for power usage, is playing without a safety net. I just don't want to be on the computer that falls.
The other real obstical to this, I see, is designing all the rest of the hardware to operate without clocks, so that that the ram works in sync with the cpu.
Like I said, I don't want the cpu that doesn't know if the data is stable yet, (as with all chips there is a period of time where data fluxuates, as a result of the transistor getting a charge.)
One thing that has been forgotten, is multiplayer games. YOu con't have to crowd around one keyboard, you can spread out and play without bumping into the person next to you.
Now I could understand dogs, dogs are trainable, and will do what you want. But a cat? What exactly will it be spying on? The mouse population in russia? Now it seems to me, that most importiant stuff will be in places where cat's can't see them. And people don't read to cats normally (I mean they just sit in the corner looking better like they are better than you.)
Re:World Trade Center attack - an absurd Liberal m
on
More Mapping of the Net
·
· Score: -1, Troll
Oh sorry, I missed the jokes in your comment somehow..
/me says 3000 time Read, don't scan.
Re:World Trade Center attack - an absurd Liberal m
on
More Mapping of the Net
·
· Score: -1, Offtopic
Dear Sir or Madem,
I relize what has happened in the past day seems unreal, but let me assure you it is real. Denal is one way some of us deal with our problems, but that will not help. Finally, please put down your politic stick, it's time for all of us libral, conseritive, and other, to come together, and work together to help those who were hurt.
It is fairly clear, that there is no way for someone who will trade their life for others can be stopped. If they are willing to trade their life, what can you bargin with? And shooting down planes, when their is a hope, no matter how small, of rescuing the passangers, would make us no better.
I feel that whoever did this has awaken and enraged the American people. I can see a real backlash from this, where people will want to hurt others as they have been hurt. However, we must remember not to hurt innocent people, just becuase how they act or what we think of them. I ask all of you, think before you act.
A great attack on the US. But if you react with blame or violence out of fear or frustration at the first person you see, rather than getting all the facts, then the terrorists have won. I plead with all of you, think before you post or talk.
Some source code to solve my cube! I've been working on it (off an on) for years. It's really a problem when I get 5 sides and someone comes in and trys to solve the last side for me.
Well I'm just saying that palm is shooting themselves in the foot by putting up road blocks. Microsoft on the other hand has made a effort to help developers out.
``Palm was first,'' he said, ``But Microsoft often gets it right on the third try.'' It only took palm one try.
However, I do like this, becuase unlike palm microsoft has been more willing to support developers. To try to get some sample code from palm takes a form printed out in triplicate, signed and sent to califonia, and no, they won't take a fax. This compared to going to http://msdn.microsoft.com to get source to study. Which would you choose?
Re:You just described DSL
on
Rent-a-Game
·
· Score: 1
Finally, some intelegent life.
Yes this is my point. Having to pay the phone company 80 dollars a month to remove that stupid filter seems like a waste to me, especially since I don't do much on the web, except look up information as a whole.
Wouldn't that make ie/netscape/mozilla/opera/ect the program you are downloading with?
I can just see it now: Judge shuts down microsoft for distubting software that allows you to violate copyrights by downloading images. Microsoft was shut down Monday for it's popular browser Internet Exploder. A representive from the company said "We were shocked. I mean, we didn't really expect the software to work in the first place."
Of course we won't see such a headline, but still, turnabout is fair play.
How about removing the filter at the telephone box that limits the amount of wavelength you can use for a modem (see pots). That had no changes to the laws of physics, but does give me more bandwidth with the stipulation that I need to modify the modem to use a greater range in the sound spectrum.
Perhaps thinking and a little research before you post is a good idea.
Interesting....
on
Rent-a-Game
·
· Score: 2, Insightful
I find it hard to believe that people would not be able to keep the games they download, without modifications to the original game; however, I will not completely discount the idea. Also, being a 56k luser I couldn't help but notice that it takes a broadband connection.
The two things that really concerns me about this, is first, this would be an ideal place for a virus to spread. With high-speed users connecting to the server to download and run games, the whole system invites disaster.
Secondly, (as I see it) what is to keep this company from invading your privacy or compromising your system to the outside world? Anything that is dealing with licenses, registry values, and such is surely advance enough to return to the server what is in those files.
It seems that you sort of missed the target.
see this reply for some background on weakness in languages
That's where good commenting technique comes into play. As a good programmer I always put at the top, in a comment "If you break this [program/script/set of scripts] and want me to fix it, you'll have to pay my consulting fee of 80 dollars an hour, minium of 10 hours."
See, comments can fix any problem.
What about using one programming language as the UI to a program written in another language? Doesn't that make it more flexable for any enviroment?
I take, from you post that you haven't used a language like php for server side processing of web requests. I say this becuase, when you get into a web enviorment, especially a lan, performance is key. Let's take the idea of a shell script. Now let's say you wanted to change your .profile when you logged in to list the latest weather conditions. Would you re-implement the script weather, (which is already on most linux systems) or run the command through perl to strip out the junk and just dump it into your .profile. Although this example isn't very usefull, it proves my point.
The point you didn't consider is, for example (and I've had to do this) on a php web page, I've need to get the title from a pdf.
To get a title from a pdf you must parse the end of the file, to find an index number. Then starting at the top you use this index number to find the actual title of the pdf (and not the title of some text box.)
My boss (no he wasn't a phb, he was cool about stuff) and I sat down and wrote programs to do this in our favorite languages, mine was c++, his was perl. As it turned out they both ran about the same speed, but his was 8 lines, mine was 100+ and used a whole lot more memory.
Now if you used the perl to get the title rather than using c++, but then used c++ as the interface (it handles argc, argv and ui better than perl) didn't you write less code, and make it easier on your self?
It's not a question of mastery, it's a question of which is a better use of my time. Writing 8 lines of perl then playing games for an hour while I wait for the next project, or spend considerable time writing it all as c++ native and missing out on my game time?
Thanks. That will help when a stable 15 comes out.
I've just recompiled my kernel to 2.4.14. So when will they add ext the the regular file systems rather than waiting for the patch to come out? I mean the first time I tried to apply the patch, bad things happened.
I don't like seeing kernel panic messages.
Wasn't that how Britney Spears was made? Oh, no never mind, that was sugery.
Clockless cpus...
This is an intresting concept, mainly becuase syncing when you read from other devices and when you write becomes somewhat, let's say, interesting. Normally, as your cpu works, it runs on a signal going on and off (the clock) to make sure that data has a chance to stabalize before you use it. Infact, when I worked with chips like the serdes, I would have to set all my processing 180 degreese out of phase with the clock to ensure good data.
I would like to know how this will affect optical networks if put into use, as it might be possible to get incorrect data, if the light stream cuts off half way through the sampling time. It seems to me, that playing without clocks, though may be faster and better for power usage, is playing without a safety net. I just don't want to be on the computer that falls.
The other real obstical to this, I see, is designing all the rest of the hardware to operate without clocks, so that that the ram works in sync with the cpu.
Like I said, I don't want the cpu that doesn't know if the data is stable yet, (as with all chips there is a period of time where data fluxuates, as a result of the transistor getting a charge.)
It's entirely likely that you will not get a Cube early unless you have a PREORDER from places like Electronics Boutique and GameStop.com.
Sorry bud, looks like your out of luck
One thing that has been forgotten, is multiplayer games. YOu con't have to crowd around one keyboard, you can spread out and play without bumping into the person next to you.
Now I could understand dogs, dogs are trainable, and will do what you want. But a cat? What exactly will it be spying on? The mouse population in russia? Now it seems to me, that most importiant stuff will be in places where cat's can't see them. And people don't read to cats normally (I mean they just sit in the corner looking better like they are better than you.)
Oh sorry, I missed the jokes in your comment somehow..
/me says 3000 time Read, don't scan.
Dear Sir or Madem,
I relize what has happened in the past day seems unreal, but let me assure you it is real. Denal is one way some of us deal with our problems, but that will not help. Finally, please put down your politic stick, it's time for all of us libral, conseritive, and other, to come together, and work together to help those who were hurt.
It is fairly clear, that there is no way for someone who will trade their life for others can be stopped. If they are willing to trade their life, what can you bargin with? And shooting down planes, when their is a hope, no matter how small, of rescuing the passangers, would make us no better.
I feel that whoever did this has awaken and enraged the American people. I can see a real backlash from this, where people will want to hurt others as they have been hurt. However, we must remember not to hurt innocent people, just becuase how they act or what we think of them. I ask all of you, think before you act.
A great attack on the US. But if you react with blame or violence out of fear or frustration at the first person you see, rather than getting all the facts, then the terrorists have won. I plead with all of you, think before you post or talk.
Actually the best I've done is getting all but the bottom 8 cubes correct.
Some source code to solve my cube! I've been working on it (off an on) for years. It's really a problem when I get 5 sides and someone comes in and trys to solve the last side for me.
Well I'm just saying that palm is shooting themselves in the foot by putting up road blocks. Microsoft on the other hand has made a effort to help developers out.
``Palm was first,'' he said, ``But Microsoft often gets it right on the third try.'' It only took palm one try.
However, I do like this, becuase unlike palm microsoft has been more willing to support developers. To try to get some sample code from palm takes a form printed out in triplicate, signed and sent to califonia, and no, they won't take a fax. This compared to going to http://msdn.microsoft.com to get source to study. Which would you choose?
Finally, some intelegent life.
Yes this is my point. Having to pay the phone company 80 dollars a month to remove that stupid filter seems like a waste to me, especially since I don't do much on the web, except look up information as a whole.
Wouldn't that make ie/netscape/mozilla/opera/ect the program you are downloading with?
I can just see it now:
Judge shuts down microsoft for distubting software that allows you to violate copyrights by downloading images. Microsoft was shut down Monday for it's popular browser Internet Exploder. A representive from the company said "We were shocked. I mean, we didn't really expect the software to work in the first place."
Of course we won't see such a headline, but still, turnabout is fair play.
Since you are asking for suggestions....
How about removing the filter at the telephone box that limits the amount of wavelength you can use for a modem (see pots). That had no changes to the laws of physics, but does give me more bandwidth with the stipulation that I need to modify the modem to use a greater range in the sound spectrum.
Perhaps thinking and a little research before you post is a good idea.
I find it hard to believe that people would not be able to keep the games they download, without modifications to the original game; however, I will not completely discount the idea. Also, being a 56k luser I couldn't help but notice that it takes a broadband connection.
The two things that really concerns me about this, is first, this would be an ideal place for a virus to spread. With high-speed users connecting to the server to download and run games, the whole system invites disaster.
Secondly, (as I see it) what is to keep this company from invading your privacy or compromising your system to the outside world? Anything that is dealing with licenses, registry values, and such is surely advance enough to return to the server what is in those files.