Jump to content

bPHP

Members
  • Posts

    40
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

bPHP's Achievements

Member

Member (2/5)

0

Reputation

  1. Thanks for the great info Crayon, I'll research about it and tell you how it went! I was also thinking I might need some kind of business related degree... Maybe it would take me some work, 1 or 2 years but after that I'll probably jump away from something that has me so annoyed. I don't really understand why software engineers have to be programmers, why can't we start doing something else, maybe code from time to time... I don't get it
  2. The company I work for didn't hire me because I can close/align my brackets correctly but because I can translate business needs into computer code in an efficient way using Algorithms, Design Patterns, and thorough tool knowledge (in everyday use and those available on the market). In short: they hired me for what I know not because they ran out of 5-year olds. Yeah that's what they hired me for also. But I rather design and talk to programmers, there has to be someone above you telling you what are those business needs. That's where I want to be, I know what you describe sounds pretty but I'm not having fun doing that all day. Sorry.
  3. Thank you!!! I'll check that out. What kind of companies would need this, and how exactly do I get there? Any kind of studies needed, etc?
  4. How can you tell programmers what to do if you suck at programming in the first place? Creating a successful/flexible system design is based upon your experiences as a programmer. The analyst should make it easier for programmers to implement and maintain not come up with something that only makes sense in the mind of an analyst. I don't suck at it, not being the best in the world and sucking are two very different things. I'm just tired of it, the long hours struggling with a piece of code to finally realize that closing bracket should have been in the line above... That tedious job doesn't need an engineer. I feel like studying software engineering to be programming 10 hours a day is like studying fashion and design to be a sewer.
  5. Hi! I have a degree in Computer Science and Engineering and I have been a programmer since I graduated, around 2 years and a half ago. I really like programming, but I'm a bit tired of programming 10 hours a day for a standard wage. Plus, I'm not the best programmer in the world, and getting stuck with lines of code for hours is not what I want to do every day. I would like to know what is the best way to get away from this? I don't enjoy it anymore as much, I'd like to be in a technological company, but a bit above programmers, as an analyst maybe, talking about how things should be done and researching that, etc. I don't really know though what is that, if I need a master for it, but I want to step up in my career. Any suggestions on what can I do? Thank you!
  6. Hi! I'm trying to do a time ranking in the best possible way. Let me explain a bit. I have a table of users. Each of these users have name, id and reputation. From a form, the user can request certain rankings: by country, by city, and I'm trying to make the user to be able to select for example 'this year' ranking. Or 'this week'. That would organize the users according to the reputation in the last 7 days for example. Now, what is the best way to do this? Keep in mind that the number of users is as high as 100,000 and growing every day. Should I create a new table for week, year, month, and every x time update it? Any ideas or suggestions, I'm kind of lost on how can I achieve this in a clean way. Thank you!
  7. Thanks! That worked! However, I have a new problem... I was using jQuery to make a form appear slowly, and since my positions were not absolute when the form appeared it pushed all the other divs down (making a nice effect)... Now it does not push them since they have absolute positions... Any ideas on how can I do this effect now? Thanks!
  8. Hi! How can I do to avoid the movement and resizing of all divs when the user resizes his browser? I want that everything stays in the same place... Thanks!!!
  9. Also... Any ideas on how to make a proper chat design? It is a 1-1 chat system, you get in, you chat with just one person, and then to talk to another person you have to close the conversation with this person and search for a new one... Any ideas on a good design, if I should keep all conversations in just one table, or if I should create tables for each pair of people... I don't really know how to design this optimally from the database part. Thanks!
  10. Thanks... I'll try to modify that! What about the SQL operations per second? What if I had like 5 per second? Is that still a big number when I have 50 people connected? I'm not really sure how to know this and how to monitor it, I'm kind of a noob when it comes to MySQL. Thanks!
  11. I don't see anything on the logs... People from the server told me I was using too many resources and my server was shut down. I talked to a systems guy and he said it was do to MySQL processes. The code is pretty big but I can tell you a bit how it works. I would say that on average there are 10 database operations per second per person chatting. 40 people would be 400 operations per second... Is this a lot for a 256MB VPS? How much would a dedicated server sustain? I would like some general info on this as well as some information to know if it is worth it to give a dedicated server a try. Thanks for any input and for reading this long message!
  12. Hi! I just created a chat website, which is basically a MySQL based chat. I'm running it on a small 256MB VPS at inmotion hosting... My question is... Is this even possible? Today I had like 30 people chatting and the server crashed... I know I probably don't have it very optimized... I have my.conf for 150 concurrent connections. What suggestions can you give me to increase performance? Do I really need a dedicated server if I wan't to have a lot of people in this chat? Thanks!!!!!
  13. Thanks for the link, I'll make a memcache version and see how it goes. About using a chat program, I think I rather use my own... I'm learning a lot doing this, plus I will be able to change anything whenever I want to fit the users needs. Thanks for all the answers.
  14. Actually, I'm erasing every message after it was read by the other party. Conversation tables are always empty, then get one message, this message is read, and gets erased. It works fine like that but using MySQL. If I have 200 people chatting at the same time, then I will have to store a maximum of 400 items in memcache. Looks like memcache can do the trick... But what is the maximum number of elements? How can I know that memcache won't erase one message of one of the users to put another one? The php.net documentation seems to be really vague about this, I don't want any messages from the users to be lost.
  15. It's going to have around 200 people chatting at the same time at all moments, maximum. It could grow rapidly though... Is it true that memcache is not that safe in terms of storing data? According to php.net:
×
×
  • 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.