Jump to content

.josh

Staff Alumni
  • Posts

    14,780
  • Joined

  • Last visited

  • Days Won

    43

Everything posted by .josh

  1. I think what he means is when you are looking at the webpage through the browser, and you right-click > view source, the html source code is all tidy and indented, etc.. instead of all just one line or something. As in, when you dynamically create html with php, how to include the "tidiness."
  2. There will always be a better way.  "Better" ways are found every day.  And even then, the so-called experts always argue what the current "best" way of lots of things are.  Therefore, there comes a point where no matter how skilled you are, you are going to have to decide that the method you choose is "good enough."  I will agree with you that there are no lack of people out there who have plenty of time on their hands and yet still choose the not-so-great methods.  But you should also consider this:  Non-technical people out there have no concept of patience in researching a reasonably "good enough" method, when it comes to programming.  There are many times when a programmer is forced to decide that the method that works but is not-so-great, [i]is[/i] "good enough." 
  3. try it now
  4. [quote author=obsidian link=topic=124192.msg514265#msg514265 date=1169842085] One other consideration is that my kids go to day care, so while they're at the center, they have to have disposable. Can you imagine a nursery worker having to change a cloth diaper and save it to send home with the parents when they pick the kids up??? Wow... that would be a mess. [/quote] My wife used to work at a daycare that actually allowed that. There were several parents who got mad when the daycare didn't have the soiled diaper washed/dried for them, when they came to pick up their kid.  She was like "dude, if you want your kid to be in cloth diapers, that's your choice.  But I'm here to watch your kid, not do your laundry."
  5. A quick calculation on about how many diapers my wife and I have changed so far (for our own kids) puts us at around the 16,000 mark, with another probably 7-8k more to go.  (My math is based on about 3.5 years of diaper changing per kid, and about 4 diapers a day.  I picked 4 because in the beginning it's more, but in the end, it's less. I figured 4 was a good median, overall).  About $6 per pack of 40 diapers (we get generic)... yeah that's a lot of $$.  But, I guess I'm just willing to pay for the convenience on this issue. Another thing that I personally have thrown into the pros/cons of disposable vs. cloth is that we've spent most of our time living in apartments, throughout the years.  Most of them have not had washer/dryer connections, so that means we go down to the laundromat and put many $$ worth of quarters into their machines.  And lugging your clothes to the laundromat is much less convenient than having a washer and dryer in your house.  I think that that has played a significant part in deciding which way to go, for me.
  6. sounds like a whole lot of extra work.  Plus the water/electricity used from washing/drying all the time.  Are you sure it [i]really[/i] saves you all that much money?  I'd never do the cloth diapers. 
  7. the topic solved button only appears in certain forums. However, just for S&G, please tell us what forum your thread is in, that you are having issues with, so we can investigate and make sure the permissions are properly set.
  8. @Nameless12: Sorry, but I can't agree with your logic there.  It sounds good on paper, but that's not what happens in reality. It goes against the principles of supply and demand.  The bottom line is that people sell a lot of what is in demand, at the highest price they can get away with, depending on how much a demand there is for it.  It is true that companies will artificially reduce prices (like sales, etc..) in order to attract more people to buy things, but there is a certain line they will not cross.  And I would also like to mention that practically 100% of the time, when there is a "sale" somewhere, the company marks-[b]up[/b] the price from what they would normally sell it at, then sells it at the reduced "sale" price.  This gives the customer the illusion that they are getting a discount, when in fact, the company is still selling it at what they would have sold it for anyway.  But when something goes on the "bargain" rack, having its price cut down by 30%+, that means there is no demand for it, so they are trying to at the very least spark enough interest in it to cover what [i]they[/i] paid for it, so as to not suffer complete loss.  This "interest" they are trying to spark is not some deep and meaningful "we are trying to get you to become a programmer/cook/sci-fi reader/whatever."  The only interest they are trying to spark in you is to compulsively buy it because you think you're getting a bargain.  Which on the one hand, you are, because it is indeed being sold for cheaper than you know they would normally sell it at.  But as the other hand always turns out,  much like those orange and green plaid pants you bought in the wal-mart clearance aisle, that book will wind up in the closet, because you will soon find out the reality of the situation: It was on sale because nobody wants/likes it.  Now it doesn't seem so much like a bargain, now does it.  The point is, if there is a whole lot of this product on sale, it more than likely means that someone [i]thought[/i] there would be a big demand, so they went ahead and bought a whole bunch of supply, in order to make a whole lot of money off the markup.  This whole "guess the next fad" thing sounds a lot like what you posted.  But it turned out to not be a big seller, and so in an act of desperation, they drastically reduce the price, even down to their own cost of purchase, in order to minimize loss. This is the part of your idea that's kind of like... "oops, crystal ball must have been on the fritz..." Therefore, companies do not look at this "grander scheme" of "attracting more programmers" by trying to sell the "easier" programmer books, as you suggest.  Or any other "guess the next fad" tactic.  Most companies don't, anyways.  Certainly not some book store.  It is too much overhead cost to research that kind of stuff.  They simply look at their own sales numbers and base their prices off the current supply and demand, and try to make predictions based off that.  Now, there [i]are[/i] people/organizations who exist that [b]do[/b] attempt to "create the next fad," but they don't work on the retail level, and that entire shelf of stuff marked down to peanuts is not an indication of their efforts.  I suppose if you wanted to play the opposite game, you could.  To a degree... that is, you can figure out what's [i]not[/i] going to be the next latest and greatest. And everyone lived happily ever after.  The End.
  9. o/` Because It's your way, right away, at PHPFreaks now. o/`
  10. Are  you trying to post in the freelance forum? Permissions are set that you can reply to your own thread in the freelance forum to *bump* threads or add addtional information to your threads, but you are not allowed to make responses to other people's threads.  Please read the forum guidelines/rules there. If your issue was not in the freelance forum, please tell us which forum you were having issues in.
  11. please note that the [url=http://us3.php.net/manual/en/language.exceptions.php]try..catch[/url] is for php5. It won't work in php4. You might want to get creative with the [url=http://www.php.net/die]die[/url] statement, like [code] $sql = "select something from table"; $blah = mysql_query($sql) or die(mysql_error()); // will run the query. if it returns a fail (false, the error that mysql encountered will be displayed [/code]
  12. [quote] Because so many pages are the same except for the data [/quote] From your own mouth, you need to seriously think of a way to template these pages...
  13. [quote author=redbullmarky link=topic=124004.msg513285#msg513285 date=1169744575] as far as I know, Flash is your only other option other than AJAX... [/quote] but you can disable/not download a flash object too, so it's in the same boat as js.
  14. it wasn't showing because when you added the mod you forgot to set permissions in the membergroups to see it.  I fixed it.
  15. okay maybe i'm just blind, but i'm not seeing this staff list link..
  16. I don't use the "unread posts" thing either, because a lot of the posts are things outside my knowledge/interest.  I do however use the "show replies to my posts" link a lot.  It helps me keep track of threads I have posted in. 
  17. okay how about if it were just limited to registered, logged in users?
  18. how about instead, buy a different computer? :)
  19. how about instead, find a more updated dictionary?
  20. You know what would be a totally awesome mod?  Making the various stat pages/sections "live/in real time" using ajax. Like, the "more stats" links, or the "users online" link that shows you where people currently are.  Or the list of users online automatically updating with ajax.  Etc.. etc.. the sky's the limit! yeah yeah I know that adding a feature like this would not be very practical on certain things, but It wouldn't necessarily be impractical for some, either.  And it would cool! The next step in the evolution of a hybrid between traditional forums and chatrooms!
  21. well... I know the OP was posed as a "is perl worth anything as a language," and I guess that's my fault for asking it that way, because I think what I really meant at the time was more in the context of "would it significantly help in the career field."  I don't really argue that it has its own merits and faults like any other language.  But there are plenty of things out there that can "do the same thing," but just don't have the..'popularity' to really be worth trying to further a career on.  On that note, I would certainly agree that knowing 2 languages is always better than 1. Or 3 is better than 2, etc. etc.. I would certainly not argue that the more versatile you are, the more jobs you will stand to get.  I guess I was looking for opinions on, for instance: in your own experiences in the industry, if you already had a decent grasp of php, would it really be an absolute necessity to try to take on perl as well, as something more than a "boosting your programming flexibility" thing? 
  22. I give that a thumbs up.  I would like it be a bit more detailed though.  Like for instance, in the usercp, if there were a link that showed a list of [i]all[/i] the forums for every section (not just having to see, or "subscribe to" the section as a whole), with a checkbox next to each one, and you can check/uncheck the ones you want to be visible to you.  That would be awesome. Jay!
  23. Okay...I meant ftp access to the actual scripts.  You know, like, the scripts that actually produce this thing you are looking at? Like, logging in to ftp.yoursite.com and going to public_html/path/to/your/script.php ??
  24. Yeah seriously. Especially OUR chatroom.  Have you actually [i]been[/i] there? It's mostly a bunch of people making fun of each other and trying to out-bot each other...
  25. Okay, there's a really good (and by really good, I really mean 100%) chance that there is in fact a lot of code behind your setup.  It is simply located, as you said, online.  Do you not have ftp access to your company's server that the website is located on?  There is no way we can even begin to figure out why the script isn't working, unless (as mentioned) we see the actual code involved.  Also, it would help if you were more specific than "the system doesn't seem to recognize the new user." Howso? Is there some kind of error message? Details, details.
×
×
  • 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.