Jump to content
MakeWebGames

Spudinski

Members
  • Posts

    1,731
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Spudinski

  1. I agree, comparing lines of code to come to the valid assumption of the applications abilities renders the opinion rather nullified.
  2. Didn't know this is a template. March on!
  3. My gallary mod = 1527 lines, without Javascripts, stylesheets or configuration files. Would you like to rephrase? MCCodes V3 ALPHA: ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- PHP 56 588 1687 9518 XML 21 0 0 809 CSS 1 29 0 128 SQL 3 15 24 49 Javascript 2 2 24 38 HTML 3 0 0 33 ------------------------------------------------------------------------------- SUM: 86 634 1735 10575 ------------------------------------------------------------------------------- How about now?
  4. This is now free. NOTE: This is an EOL modification. A modification I have been eager to release, taken me well over a few weeks to complete and fixing bugs. This modification has some very useful features, but not only that, it makes use of the newest methods that modern galleries have. Front-end feature list: User menu View user's gallery View and Search for others galleries Browse and search all images Modify images Deletion of images Sharing links for images Multiple uploads Statistics viewing for moderators Additional browser support Alternative upload method Configuration viewer with detailed descriptions Configuration editor Style sheet editor   New version 2.0 released! It includes the following files: gallery.php gallery.html(installation file) galleries.sql galleries, original and thumbnails folders no_thumb.png configuration.php style.css complete arrow set for pagination   Support on a per-"if I care" basis will be given. Download: http://www.mediafire.com/?texnxwji4m9x28e Donations up to 10c will be accepted via Snail mail. Remember to say thanks! S.
  5. Normally I'd let stuff like this slip, but this is outrageous. E7,50 for basically a JavaScript method, which you didn't even create? Please show me some rationalization for this.
  6. Memory leak? I'd think it's a referencing error, i.e. the query throwing exceptions and filling the memory space of the application? I'd be tempted to test it in a ulimit environment and run an strace, before altering the script.
  7. Can you please post your code? I'd gladly take a look at it for you.
  8. Well, in an OOP sense, Facebook has made provision to use other connection methods. The thing is though, that they don't have a fallback for if curl is installed on the system. Luckily, Facebook made it's code open source, which means other developers have already created ways in which to make that API better. One such example is https://github.com/mattmecham/php-sdk/blob/matts3.x/src/base_facebook.php#L722. If you would take a look at the highlighted line on that page, you will see that there is a conditional statement to validate the existence of curl. Of course, this isn't ideal. We want to use sockets by default. So, just change that statement, and replace all of it with false, so it never validates and uses curl. I haven't had any issues with it yet, since it is supposed to be an exact replica of Facebook's code, but be sure to look at the docs.
  9. Do you use the PHP API? If so, this is normal. The default PHP API uses curl, which is slow. There's a function called requestSomething within the class, and I'd suggest you follow my method of replacing that function during runtime(class __socket_fork extends Base?).
  10. Spudinski

    Meteor

    Instead of writing a lengthy post that contradicts yours in every possible way, I'll make a well intended suggestion. I beg you to read up on Node.js principles and this application/framework(it's both) that is created thereon, you're misinterpreting the concepts discussed here.   It's ready to be used anywhere, it's just still in a very early release phase. A lot of features are popping in with every new release, just like Node.
  11. PROFILE: http://www.xaprb.com/blog/2006/10/12/how-to-profile-a-query-in-mysql/ EXPLAIN: http://dev.mysql.com/doc/refman/5.1/en/using-explain.html Facebook hasn't been slow all day, but you can always check the platform status: https://developers.facebook.com/live_status
  12. @Dayo: Have a look at: http://wordpress.org/support/topic/virus-warning-jsiframe-actrj-on-my-site Also, please remove it. I'm not going to download anything from your website until your website is clean.
  13. Why are you disabling the P3P header? There's a reason it was designed. Do an EXPLAIN and PROFILE on each query, see what pops up.
  14. Spudinski

    Meteor

    I agree with you Alain. The database aspect of it is still insane, I really couldn't see a use for it at this time. It's totally illogical to grant full access, and on top of that it only supports MongoDB at this time. Edit: As said, additional security layer for the database is planned I don't believe it could have been done with anything else than Node.js and still be inside the browser. Using sockets.io is amazingly awesome as well, a npm package. It's quite well optimized in Node from what I've heard. The exchange still puzzles me as well, it's still somewhat witchcraft to me personally. But, at least it's not Ajax, that wouldn't have been impossible(one way connections); TCP sockets are used for connections here. The way I understand how the exchange works on Meteor, is that it functions like any Node app that uses sockets, an open channel from server to client and visa versa. The ability to "stream" hot copies of the application to all clients is just freakin' amazing if you ask me. Couple that with latency compensation and it's epic, really f'n' magically awesome epic.
  15. Spudinski

    Wamp Server

    It depends on your needs. If you need SSL, Perl, Mailserver, FTPserver and MySQLAdministrator bundled with WAMP, then go XAMPP. If you need to easily switch configurations and extensions, go WampServer. If you need none of that, download Apache, PHP and MySQL yourself and install them(they all have installer packages). I'd highly suggest this route, as you will gain in-depth knowledge on how to configure and operate these applications. My personal preference is WampServer: I've always used it as my local WAMP solution, and haven't ever had a problem I couldn't fix.
  16. You could pass an associative array as JSON to the page, and render it. It would appear as a list item, but eval() or a external Javascript event hook can always be added after the initial population.
  17. Spudinski

    Meteor

    Someone sent me a link to this earlier, and I have to say it's pretty damn awesome. It's build on Node.js, and that is the main reason it is capable of what it is now. As with Node.js, this is also a rather unstable product, so keep it in mind. There is also some alerts that pop up at first, like the client having full access to the database. Though, they have said that they are working on that aspect, and we should hopefully see it soon. To quote from their website:   Have a look at their screencast of what it can do: http://meteor.com/screencast Pretty awesome, right? S.
  18. Good work man, though... I would suggest that you randomize the position of text and lines for complexity.
  19. Just as an FYI, it would be cool to have links as methods. I.e.: var parent = { one: 'some value', 'do stuff': function() { // do stuff }, three: 1 } $.each(parent, function(k, v) { if (typeof(v) == 'function') { element = $('<span>' + k + '</span>') $(body).append(element) element.onclick(v) } elseif(typeof(v) == 'object') $(body).append(v) else $(body).append('<span id="' + k + '">' + v + '</span>') }   Not tested, but would be pretty damn cool.
  20. Good idea Dayo, would like to see how you do this. @CB: qdPM and the bug genie are both capable of this. In qdPM it's "Gantt Chart", and in TBG it's "Roadmap".
  21. MCCodes Lite. http://mccodes.com/viewengine.php?id=2
  22. That would parse as valid VB6.0 with a little tweak. Just sayin'.
  23. He's assuming three digits in the string, i.e. 100gold, and thus only collecting the values of them, i.e. 100. Flawed in some ways, but it does work if the integer value is above 100 and below 999. @OP: $int_value = preg_replace('[a-zA-z]', '', $string); if (intval($int_value) == 0) { // zero, e.g. not valid. } else // valid
  24. This in particular is a quick fix.
  25. magic_quotes runtime has officially been removed since PHP 5.4.0. This script and/or any proposed segments thereof should NOT be used any more. mod lock?
×
×
  • Create New...