Jump to content
MakeWebGames

Spudinski

Members
  • Posts

    1,731
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Spudinski

  1. You've never really touched a production server of any kind, right? Well, on app servers, you're likely to find a ****-house of different applications: some custom built, some ripped off other applications, and some applications no-one has ever heard of but is there because of some reason Joe(who now left the company) knew at a stage. Most of these things are binded to file-system sockets, if needed. Everything else is behind a firewall. There are proper ways of dealing with security, and then there's the iptables -P INPUT DROP. Take git for instance. You have a several developers working on code, and without VCS you're pretty much screwed right away. Now, what normally happens is the branch maintainer(integrator) takes someone's changes(cherry-picking), and merges it into a main development branch, and after testing one of the production branches. The changes are then "pulled" onto the production server. This is [simpler version of] a trusted chain of responsibility used by thousands of developers world wide. Not having VCS is a security risk on it's own if you ask me. P.S.: git is submissive, and works over SSH(or HTTP).
  2. I don't know of anyone who "back up" their website's files. VCS is much better, although I have to state, it's not a "backup" utility, it's for version control. It does however, allow you to have the logic behind your website(s) at multiple locations - this could be for redundancy or just keeping things organized. # on server cd /var/www/game; git init # on client git clone mywebsite.com:/var/www/game   Data is another story, this can be anything from MySQL databases to pdf documents. For MySQL, I would suggest using a simple mysqldump and transferring it to a remote location every day or so. When you have larger databases or need a higher degree of redundancy than restoring backups, you can start to look into replication, or even creating clusters. mysqldump -uroot -p --opt --all-databases | gzip -c > /var/backup/db.sql.gz   For physical files, most hosts will provide a few gigabytes of space on a backup server somewhere. Transferring essential files to the backup server can be done with rsync, if needed. When scaling, a SAN should be considered if you work with a lot of high-demand files.
  3. It's a SaaS application, right? If so, yes, $25 isn't a lot(-$8 for domain). Normally, SaaS apps charge per user.
  4. /offtopic   False. http://en.wikipedia.org/wiki/Division_by_zero#Abstract_algebra
  5. Good luck. Bet it's gonna be awesome. :)
  6. These days, most favor the BSD, Apache and MIT license, though there are still quite a lot of developers using GNU GPL. A bit to Octarine's statement, the GNU is evil yes. They encourage people to sell "free" software, that's the whole point of the license it seems. There's quite a few issues with the license as well, such as compatibility with silly things: take PHP for instance, they license PHP under the PHP license, because of a silly trademark(?) issue. I also like BSD(2-clause) for open-source projects, it seems a bit more "free" than most other licenses. But if you choose a open-source software license, do some research on the one you want to pick - it's marginally specific to the end goal of what you want to accomplish releasing with your program. Another license I'd like to put up here is the Creative Commons variety.
  7. Updated original post.
  8. Hey guys and girls! I thought I'd share some information with everyone with regards to the current state of ezRPG rework. As you all probably know, ezRPG is licensed under GNU GPL. This poses some problems to my normal ethics of writing "free" software.I've contacted the current maintainer of ezRPG(booher), requesting an exclusive agreement between ourselves so that I can re-license the sources under something I'm morally comfortable with. He hasn't responded to my latest communication as of yet. I'm currently also the only person actively developing ezRPG rework, and coupled with my RL work it's quite a mission to get a few commits in every weekend. For the past two weekends I've been quiet, and that was due to the above mentioned(I'm on a project involving the refactoring of our whole application's "look and feel"). I also have a daunting task that lies before me with ezRPG rework, and that is implementing an RBAC(role-based access control, NIST level 2a) system and creating a more modular implementation with regards to how data is used and manipulated within the engine. This technically means that I have to re-write core parts of ezRPG, such as the module classes. More technically, I need to test a few [design] patterns that will allow ezRPG rework to have a truly many-to-many relationship with everything on the back-end(database and code objects). For a while now I've been arguing a simple part of ezRPG rework with myself: is it really worth it to build on ezRPG?And so, I think I have come to my conclusion. Since I will be(and have been) rewriting everything pertaining ezRPG, I'll rather re-brand it, and apply my own copyright to it(is this legal? feel free to debate though). The project will still be open-source, but in much more "my" terms. Doing this, I realize that some people might be offended, but I do not see any way forward at this point.I'm a lone developer, working on a lone code-base. I hope to have the first release available by beginning of January next year, the timeframe will give me some time to go trough the process of implementing the new models and adding a couple more "things" to make it a proper package worthy of being noted as a "engine". Lastly, I have to thank everyone that has supported me with my quest of creating a proper open-source engine, I appreciate it.
  9. Ah, damn it. What do *I* know what you don't already.. But if I may just point one question to you.. How does this integration actually work? That is, between your website and Facebook. I'd be delighted to hear, since, apparently, I don't have a ****ing clue. /rhetorical It bums me out when people just take pre-created code and sticks it into other stuff, without even know how, or why it works. It's obvious that this script is simply copied from Facebook's site, and not even implemented properly. i.e.: - Usernames that aren't longer than 20 characters, and that is, the user's RL name? - Checking for a secure SSL connection? Don't bother, we *want* our information transmitted to everyone. - Error messages? I will reverse engineer your script better than what you have programmed it. Custom integrations require more advanced methods, such as in this case, the JS API. And even then, the "Login" feature is what should be used. The whole damn point of a 3rd-party integration like this is to make work for the users less, not more. This approach is just as good as hosting another registration form after your original, it serves no merit for the user other than giving you two methods in which to spam them. And then, I'm not giving "nasty comments" about you, I'm giving "nasty comments" about your code.
  10. -1 Do not post shoddy/incorrect implementations(that's prone to break) publicly.
  11.   Ref: http://en.wikipedia.org/wiki/LTE_(telecommunication)
  12. It's called LTE, not 4G smart-ass.
  13. Goddammit, and here I thought people couldn't get more lazy/moronic on this forum. Well done, dude.
  14. You mean the email to SMS gateways some SPs provide? i.e.: [email protected] If so, Wikipedia lists most of them for various countries.
  15. Just as a reference for other people with this problem... The cronjobs on cPanel, or anywhere else really, executes a command: a shell command. The difference in methods of executing the files via various ways. cURL / wget When using something similar like below, an HTTP(web) request is sent to the scripts/web page: curl http://your.domain.tld/scripts/your_cron.php # normally, an email sent if using cPanel when this is executed wget http://your.domain.tld/scripts/your_cron.php # note, this will save the output into a file   This in essence is just the same as you opening up the URL in your browser. It's not recommended to use this approach, as anyone with the URL will be able to execute the script as well unless you protect it(not worth the hasstle). PHP This approach is really the only way you should be using, it gives security in the sense that the script will not be executable through the webserver. You would put the PHP file/script below(lower level in terms of directory) your web (root)directory, and issue a command that will call the PHP interpreter wit han absolute path to the file. php -f /home/you/scripts/your_cron.php   No additional security is used for this approach, since no HTTP request is being made to execute the file.
  16. I'll be more than happy to do this, the details about the price and features included are within the thread rulerofzu posted. If you want more information, PM me.
  17. DAMMIT. "M" IN MVC DOES NOT STAND FOR "MODULES". The controller manipulates the model which updates the view. - MVC pattern. Link: http://en.wikipedia.org/wiki/Model–view–controller
  18. On Topic: I think the tutorial, although insightful, is lacking a lot of content. Most of those packages require user-intervention when installing, especially mysql. Other packages that are required, like an outgoing mailserver(postfix) is not included. The php5-mysql package is bundled with the php5 parent on Ubuntu, IIRC. I've written a detailed doc that's based on Redhat & Debian OSes, in which I describe how to install everything(from minimal-install to full LAMP stack & more) - I'd be more than happy to share some of that content with you for the purpose of educating people how to configure a server into this setup. Off Topic: I've used Sublime Text 2 extensively as my main development tool for the last few months. It's pretty kick-ass, and it is actually free. The free version however, is free for evaluation for an unlimited time span. Sublime Text 3 will not be(if it's ever released).
  19. Nice work Djk. P.S.: from __future__ import braces.
  20. Actually, that's wrong. I've been with my current hosting company for around six months. I originally heard of them on a local forum, and they have some bad reviews, but it's because they don't want to cater to stupid questions. Any quality host spending their time on stupid/"newb" questions will just have one less space for people who actually do quality work(which is more efficient in terms of hosting capacity). My host has been around for about four years.
  21. Not pseudo code. For pseudo, use "let someVar =(be) 2.
  22. Luckily, I use local mirrors - not affected here.
  23. DMCA doesn't apply to most third-world countries.. Ravan's host is probably in one of them, which in escense, would make it more formal do just send them a please&thank you letter.
  24. Doh.. ok. I use a regex to match, I'll just have to revise it.
  25. Spudinski

    Mine Top 5

    Oh the hell with stone.. Wood for him.
×
×
  • Create New...