Jump to content

jeremyapp

Members
  • Posts

    39
  • Joined

  • Last visited

    Never

Everything posted by jeremyapp

  1. I should have clarified - the page doesn't just show a random quote. When it presents a quote, it highlights each word in that quote if another quote starting with that word exists in the database. Clicking on that highlighted word will take you to a random quote in the database starting with that word. You could simply refresh the page to get a brand new quote, but the point of the site is to discover new quotes by clicking on key words.
  2. Hey everyone, I've had my hands on a great database of around 18,000 famous quotes for some time now so I thought it to be about time I did something with it. There are plenty of quotes websites out there, so I thought I'd mix it up a little bit. With that, QuoteStumbler was created. Let me know what you all think! http://www.quotestumbler.com
  3. Thanks for the tip - I'll definitely be using that for the alternative login.
  4. The font part has been an issue - the font looks great in Safari or FireFox on a mac, but in any windows browser it isn't supported. I'll use some PHP in the style sheet to change the font for different browsers/platforms. I think I need to change the wording of the stats section - the "1 user browsing 53 snippets" part is correct, but what it means to say is that there is one user online and the site has 53 snippets in total. I've also fixed the pagination issue with the language views - that should be reflected now. Lastly - with the JS/AJAX issue - I'll be adding some alternative options, but the vast majority of my audience has JS and AJAX enabled - especially because my target segment is the development community, which is more inclined to use these technologies. That being said, I'm still excluding a small percent, and however small that percent is, they should be included - for that I'll try to provide some sort of fallback option.
  5. Alright - well, the biggest piece of advice that I got was to cut down on the code in the front page and replace it with an introduction to the site. I did a bit of each. There's some intro text and a list of 8 recently added snippets. Does this look better, or does anyone have any suggestions for something better? Thanks for all the help! If you're just joining, the site is http://www.snipiti.com
  6. It's not rendering properly on mobilesafari on my iPhone. I'll check it out when I get home and get back to you.
  7. My css file is written in php, and serves different rules to different browsers. It's all I can do until people stop using IE I'll adjust the fonts.
  8. deskit - I get what you're saying now. On the one hand, it would make things cleaner, but I like showing off the syntax highlighting on the main page. I'll try it your way though and see if I like it. Also, which browser/OS are you using? I feel like the fonts aren't carrying over like they should.
  9. dezkit - I've fixed that issue - should work now. BoltZ - under 'recently added' the code previews do link to the actual articles. If you click the 'Read' underneath it'll take you to the full article where you can see the information about the snippet as well as make comments.
  10. thanks, I had been meaning to fix that and had forgotten. Should be taken care of in a few.
  11. Thanks for the suggestions, everyone! 1. I originally had categories, and can turn on that functionality with the flip of a switch. The problem that I ran into was that it added too much confusion to the submission process. I wanted it to be as easy as possible to add snippets, and even with an "other" category, it's just another step. If everyone disagrees, I'd be more than happy to turn that on. 2. BoltZ - what was the suggestion you said I should do? 3. Dezkit - I agree - there are places where the design isn't completely finished but I'm hoping to clean everything up as time goes. If anyone encounters any errors or bugs, let me know! Thanks everyone! Jeremy
  12. Hey, I posted a link a while back to my latest project - It's called Snipiti.com, and it's an online community where you can search and post source code snippets for a variety of languages. I'd really like if people could give some feedback on it, whether positive or negative. There are some parts that are not yet feature-complete, but the site as a whole is finished and it works. Feel free to post some scripts, make some comments, and let me know if anything doesn't work right. Thanks for all your help! Here's the link: http://www.snipiti.com
  13. So besides data that persists throughout a session, most memory is being freed at the end of a request? So it seems that it's more a question of memory being retained than the overall usage per request. That still leaves some unknowns, but I think that pretty much answers it.
  14. If it uses a little under 4mb per request, with 1000 users on at once would my site be using 4gb of memory, or does it not add up that way. On a shared host, that much usage would surely pose a problem, which was the purpose of my question. Edit: I fully understand that this does not affect the user. My question is about server-side memory usage. The pages being served are not unusually large.
  15. I don't know if it will affect anyone yet. I haven't opened the site to the public, so my question is whether or not this will become an issue as traffic builds. So yes, it does matter, because if 3.85MB is a high amount of memory to be using, my site won't scale well. My question is whether or not this is the case.
  16. Hi, I was wondering, if there is such a thing, what would be considered a "good" level of memory usage. I have a social-network project that performs multiple queries per request, which in itself, isn't such a bad thing. However, I have noticed that the average memory usage is 3.85MB per request. Is this considered high? Caching output isn't an option, because each page needs to be dynamically loaded and changes are frequent. I'm not sure what other information I should give to help someone answer, so if I'm missing anything, please let me know. If anyone has a big project and would care to share the amount of memory they use, that would also be a big help. Thanks!
  17. Thanks, the "swoosh" effect is called "coda scroll" - it's a JQuery plugin that we modified a little bit. As for the database error - I'm not sure what to make of that. I checked out the site and it seems to be okay. In fact, the framework we use has some pretty descriptive errors, so it seems strange that message would come up at all. Let me know if anyone else gets that message.
  18. Hey, I'd appreciate if you guys wouldn't mind taking a look at the entry page for a project I've been working on - It's an online community for searching and sharing source code snippets. We're currently running a sweepstakes where people will submit their snippets and a randomly selected winner gets a cash prize. I've tried to make the entry page as simple as possible so that the main point is clear. Keep in mind that this is not the main site, just a page that explains that we're in beta and that the sweepstakes is going on. If you guys wouldn't mind, please take a look at it and let me know if the slider animation works for you, if the layout looks okay, and then follow some links and make sure everything looks in order. I know it works, but I just want to make sure that the cross-browser experience is the same. You can find the site at this address: http://www.snipiti.com. Thanks!
  19. So, I have a database for a learning management system with the following structure: ----------------------- Classes ----------------------- | | ------------------>classID | | ------------------>className | | ------------------>formalName | | ------------------>staffName ----------------------- Students ----------------------- | | ------------------>studentID | | ------------------>studentName ----------------------- Students_Classes ----------------------- | | ------------------>studentID | | ------------------>classID I'm not sure if this is how it is supposed to be set up, but I use the Students_Classes table as a relationship table so that I can assign students to classes. What I need to do is build a query that takes the student ID as an input and returns the following information: classID, className, formalName, staffName (all data from the "Classes" table) for each class that the student is in. What would such a query look like? Thank you so much for your help!
  20. With this design, would I need a table for each class? I'm confused as to how I could link a student ID to a class if that weren't the case. Thanks!
  21. Hi, I'm pretty familiar with PHP/MySQL, but my knowledge of database design is a little lacking. I'm designing a learning management system (a la WebCT if anyone has used it) and I'm not sure exactly how to best design the database for it. What I need to do is have, among other tables, one for students and one for classes. I assume that each class would contain the students assigned to it, and not vice versa. What is the best way for me to do this? If I had a single table containing all the classes, how could each class have it's own properties (there's no such thing as a sub-table, is there?) Thanks for any help you can offer!
  22. Hi, I'm pretty familiar with PHP/MySQL, but my knowledge of database design is a little lacking. I'm designing a learning management system (a la WebCT if anyone has used it) and I'm not sure exactly how to best design the database for it. What I need to do is have, among other tables, one for students and one for classes. I assume that each class would contain the students assigned to it, and not vice versa. What is the best way for me to do this? If I had a single table containing all the classes, how could each class have it's own properties (there's no such thing as a sub-table, is there?) Thanks for any help you can offer!
  23. Save your CSS code on the server as "style.css" then, use this code in each page: <link rel="stylesheet" type="text/css" href="style.css" />
  24. Hi, I'm pretty new to CSS so I apologize in advance if this is a simple question or if I did something completely wrong. I have the following CSS in my page: http://www.sylvandellpublishing.com/eBooks/gen2/Kersplatypus/index_hybrid.html <style type="text/css"> <!-- #bookcontent { position:fixed; top: 68px; width: 100%; height: 91.5%; } img.logosmall { position:absolute; top:21px; left:10px; height:30px; } #select { position:relative; left: 350px; top:20px; width: 150px; } #audiocontrol{ position:absolute; top:2px; right:2px; height:65px; } p.select{ font-size: 10px; text-align: center; font-family: arial; background-color: #ffffff; color:black; font-weight: bold; } select.select{ font-size: 10px; text-align: center; font-family: Arial; background-color: #ffffff; color:#006699; } .style1 {font-family: arial} .style3 { font-family: arial; font-size: 10px; font-weight: bold; } --> </style> What I would like is to have the 3 divs in my header stay relative to one another so that when the window is resized they stay the same distance apart. I have tried a number of things but I can't seem to make it work. Any help would be greatly appreciated. Thanks!
  25. do I not need the session_start() in my second script then, even if I'm referring to a $_SESSION variable? I can't seem to find any reason that the code I posted wouldn't work.
×
×
  • 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.