1. Post #1
    turb_'s Avatar
    February 2010
    2,202 Posts






    Please be aware that there is a thread called "Post your websites!" - consider whether your post fits better there instead.



    Working on my Flash game..

    Updated graphics now. Old graphics:



    New graphics:




    More screenshots (media tagged, as there's no need to clog up the thread as much):
    http://www.jalsoedesign.net/garnageextreme/screenshot2.jpghttp://www.jalsoedesign.net/garnageextreme/screenshot4.jpghttp://www.jalsoedesign.net/garnageextreme/screenshot5.jpghttp://www.jalsoedesign.net/garnageextreme/screenshot6.jpghttp://www.jalsoedesign.net/garnageextreme/screenshot7.jpghttp://www.jalsoedesign.net/garnageextreme/screenshot8.jpghttp://www.jalsoedesign.net/garnageextreme/screenshot9.jpghttp://www.jalsoedesign.net/garnageextreme/screenshot10.jpghttp://www.jalsoedesign.net/garnageextreme/screenshot11.jpg
    :hf::hf:

    Edited:

    gmfiles Update News:

    I've finished every major aspect of the site and it's usefulness, there are a few other minor details I'll be working with and refining.

    Home Page:

    File List:

    File Page

    User Page

    Searching

    Upload

    File Editing


    Anyways, should be up by mid January. :P
    Login screen for my CMS:

    Just finished the homepage mockup for the resurrection of OpenPeer (I already spoke to compwhizii about doing this, and he said it was cool)



    http://charliesomerville.com/openpeer
    Here's a lovely retoast of my Mandelbrot webpage:



    http://charliesomerville.com/mandelbrot/

    Currently it's zoomed upto 4x, but I'm running the renderer as a background process (you can keep an eye here: http://charliesomerville.com/mandelbrot/csmgen.txt) which will bring the zoom level upto 8x at 1,024 iterations.
    Redoing AnyHub in ASP.NET because the current PHP codebase is utter shit (I'll post the source once I've changed over)

    Anyway, andersonmat was kind enough to design the background for me. I did the content area in the middle though :3:


    Redoing single ticket view



    Edited:

    Uh ignore the line on the bottom of the image
    As of late, spending any amount of significant time in front of the computer is a burden on the mind and body. For the most part, I've set aside my desire to create and have committed to the process of simplifying everything I come in contact with. Your credit card agreements and tax documents are damn near uninterpretable. Unfortunately, the web world shares much of those nuances; things are unnecessarily complicated. There are far too many new designers who specialize in the art of unorganized eye-fucking.

    If you're currently pursuing a career in design, I implore you to go back to basics.

    Anyways, here's a quick five minute mock-up created for a family member:
    Added upload via email support to AnyHub for premium users.

    Premium hasn't been released yet, but you can buy your way into the beta for US$5. :)



    Still working on Flashickr


    http://flashickr.jalsoedesign.net


    ---------------

    Also working on my site.
    Includes a simple design
    Includes physics (click and/or drag the letters on the top, and smash them into eachother, spacebar resets (uses Box2D)


    Mouse over expands item


    Showing off grabbing of text


    The letters falling down, after being thrown into eachother. Of course the middle is part of the physics as well!


    Piling up letters


    Proof that the physics work with the menu items tweening

    http://www.jalsoedesign.net/main_new.php
    Working on an... experiment. With images, CSS3 and JavaScript.




    Version 1
    Reply With Quote Edit / Delete United Kingdom Show Events Funny Funny x 1Dumb Dumb x 1 (list)

  2. Post #2
    a2h
    Gold Member

    September 2008
    2,460 Posts
    thats funny, i posted a fake ticket like an hour ago after browsing your blog and seeing the link
    "Fake"? Not like the demo site is serious anyway

    That reminds me, I should upload my new code to the demo site...
    Reply With Quote Edit / Delete Australia Show Events

  3. Post #3
    :^)
    Wipmuck's Avatar
    May 2009
    1,770 Posts
    Holy shit, we filled up that thread already?
    Reply With Quote Edit / Delete Australia Show Events

  4. Post #4
    a2h
    Gold Member

    September 2008
    2,460 Posts
    Holy shit, we filled up that thread already?
    It's more like holy shit, we finally filled up that thread?

    I mean, look at how fast the programming one goes
    Reply With Quote Edit / Delete Australia Show Events Agree Agree x 1 (list)

  5. Post #5
    I spent $10 on this.
    :awesome:'s Avatar
    April 2009
    5,468 Posts
    to bad i will never make anything worthy of the OP :saddowns:


    also the honor of having the last post in V1 :patriot:
    Reply With Quote Edit / Delete United States Show Events

  6. Post #6

    November 2009
    2,618 Posts
    Well I just got finished making two sites for a guy. We're a pretty good team. He does the designs, send me a psd and I code it. He's a really popular guy, a musician, graphic designer and has a photography business with a friend so I'm once people see who made his site, It will jump start my freelance web design stuff.
    Reply With Quote Edit / Delete United States Show Events

  7. Post #7
    I spent $10 on this.
    :awesome:'s Avatar
    April 2009
    5,468 Posts
    Well I just got finished making two sites for a guy. We're a pretty good team. He does the designs, send me a psd and I code it. He's a really popular guy, a musician, graphic designer and has a photography business with a friend so I'm once people see who made his site, It will jump start my freelance web design stuff.
    screenshots or a url or something?
    Reply With Quote Edit / Delete United States Show Events

  8. Post #8

    November 2009
    2,618 Posts
    screenshots or a url or something?



    Edited:

    The fonts will probably look different because he wanted to use Century Gothic but he doesn't really understand that if someone else doesn't have the font installed they won't see it.
    Reply With Quote Edit / Delete United States Show Events

  9. Post #9
    I spent $10 on this.
    :awesome:'s Avatar
    April 2009
    5,468 Posts



    Edited:

    The fonts will probably look different because he wanted to use Century Gothic but he doesn't really understand that if someone else doesn't have the font installed they won't see it.
    for the blog you should host the background image on something other than imgkk since your stealing their bandwidth, also maybe make it smaller rather than the 1920px image

    Edited:

    Edited:

    The fonts will probably look different because he wanted to use Century Gothic but he doesn't really understand that if someone else doesn't have the font installed they won't see it.
    http://www.qodo.co.uk/blog/re-introd...ace-css-rules/
    Reply With Quote Edit / Delete United States Show Events Dumb Dumb x 1 (list)

  10. Post #10
    Gold Member
    Bellmanator's Avatar
    August 2008
    1,622 Posts
    Ugh, what would be the best way to create a login system?

    Using cookies is too insecure and time consuming, and sessions are only temporary (as far as I know). :frown:
    Reply With Quote Edit / Delete United States Show Events

  11. Post #11
    Gold Member
    Crhem van der B's Avatar
    January 2010
    1,692 Posts
    Just use sessions, they last long enough for most things... Otherwise use cookies like all sites.
    Reply With Quote Edit / Delete United States Show Events

  12. Post #12
    Dennab
    March 2009
    1,572 Posts
    Cookies are far easier. Store a authkey and their username (not their password though, even if hashed). So the password is only used on the login form, after that you check them against IP, and the authkey/username combo in their cookies. Prevents people stealing passwords via cookies (even if hashed, hashing only slows an attack), and prevents session stealing by checking the IP.

    I've literally just coded all that for Mod Outlet, doesn't take long, ~30 minutes for full login/logout, coding slowly.
    Reply With Quote Edit / Delete United Kingdom Show Events

  13. Post #13
    a2h
    Gold Member

    September 2008
    2,460 Posts
    Cookies are far easier. Store a authkey and their username (not their password though, even if hashed). So the password is only used on the login form, after that you check them against IP, and the authkey/username combo in their cookies. Prevents people stealing passwords via cookies (even if hashed, hashing only slows an attack), and prevents session stealing by checking the IP.

    I've literally just coded all that for Mod Outlet, doesn't take long, ~30 minutes for full login/logout, coding slowly.
    Wait so how exactly do authkeys work? Might change mintypublish and bugspray's auth systems to use that
    Reply With Quote Edit / Delete Australia Show Events

  14. Post #14
    turb_'s Avatar
    February 2010
    2,202 Posts
    Basically you have a DB table with an authkey, user ID, and possibly expiry or IP address.

    On every request, you grab the incoming authkey and UID and look it up in the database. If a row is returned, it's valid. You might want to check that the expiry (if present) hasn't passed and that the IP in the DB is exactly or within a /24 block of the REMOTE_ADDR.

    The authkey is just a random value generated on login. On .NET you could use Guid.NewGuid(), I dunno about PHP
    Reply With Quote Edit / Delete United Kingdom Show Events

  15. Post #15
    Gold Member
    Bellmanator's Avatar
    August 2008
    1,622 Posts
    How would I check for the IP :3:
    Reply With Quote Edit / Delete United States Show Events

  16. Post #16
    turb_'s Avatar
    February 2010
    2,202 Posts
    $_server['remote_addr']
    Reply With Quote Edit / Delete United Kingdom Show Events

  17. Post #17
    Gold Member
    Bellmanator's Avatar
    August 2008
    1,622 Posts
    Took me about 30 minutes to get the cookie system and auth IDs set up. I'm a slow coder..

    Now all thats left is getting the whole website to check to see if everything matches up correctly.

    Edited:

    Just got most of it working. :fuckyou:
    Reply With Quote Edit / Delete United States Show Events

  18. Post #18
    Dennab
    March 2009
    1,572 Posts
    Yeah the auth key simply means you don't store the users password hash in a cookie, because potentially it can be stolen/password broken.

    It also has the advantage of the fact you can force-logout a user by removing their authkey in the database.

    Currently in Mod Outlet I'm not checking on every page load, I'm only checking login where needed, because otherwise it's a waste of a database query/connection. So if you add your own logged in cookie, the site will tell you you're logged in. Of course, if you try to do something that actually requires login, it'll tell you to fuck off.
    Reply With Quote Edit / Delete United Kingdom Show Events

  19. Post #19
    Gold Member
    Bellmanator's Avatar
    August 2008
    1,622 Posts
    -snip-

    Forget it.
    Reply With Quote Edit / Delete United States Show Events

  20. Post #20
    Gold Member
    r4nk_'s Avatar
    April 2005
    2,023 Posts
    Lol geocities edition made me laugh my arse off, glad I checked this thread.
    Reply With Quote Edit / Delete Australia Show Events

  21. Post #21
    a2h
    Gold Member

    September 2008
    2,460 Posts
    Lol geocities edition made me laugh my arse off, glad I checked this thread.
    Is it me or does my banner looks kind-of weird sitting below the Geocities edition stuff :raise:
    Reply With Quote Edit / Delete Australia Show Events

  22. Post #22
    I spent $10 on this.
    :awesome:'s Avatar
    April 2009
    5,468 Posts
    Is it me or does my banner looks kind-of weird sitting below the Geocities edition stuff :raise:
    yeah he's right. remove a2h's and it will be just right
    :mmmsmug:
    Reply With Quote Edit / Delete United States Show Events

  23. Post #23
    Gold Member
    Crhem van der B's Avatar
    January 2010
    1,692 Posts
    How come there is no "Geocities edition" in the title?
    Reply With Quote Edit / Delete United States Show Events

  24. Post #24
    a2h
    Gold Member

    September 2008
    2,460 Posts
    How come there is no "Geocities edition" in the title?
    I said "Geocities edition" after the thread was made (I think) while talking with turby
    Reply With Quote Edit / Delete Australia Show Events

  25. Post #25
    Gold Member
    Crhem van der B's Avatar
    January 2010
    1,692 Posts
    Ah, I see. Oh well. At least the OP (not -er, just post) is good.

    Also, posted my latest project in the last version of this thread, but nobody responded:

    http://cf.cremboville.co.cc/index.php

    Some advices what to do next would be nice (Active users doesn't work yet).
    Actually, any comment would be nice...
    Reply With Quote Edit / Delete United States Show Events

  26. Post #26
    SteamDB
    Marlamin's Avatar
    November 2007
    10,953 Posts
    OP looks great! Good job, turb_ and a2h.

    How instead of showing what I am working on, I'm wondering what I should work on. :saddowns:
    Reply With Quote Edit / Delete Netherlands Show Events

  27. Post #27
    a2h
    Gold Member

    September 2008
    2,460 Posts
    OP looks great! Good job, turb_.
    http://www.facepunch.com/showpost.ph...postcount=1999 :saddowns:
    Reply With Quote Edit / Delete Australia Show Events

  28. Post #28
    Gold Member
    mikkeljuhl's Avatar
    October 2008
    207 Posts
    Working on a CMS using the CodeIgniter framework, nothing big though.
    Reply With Quote Edit / Delete Denmark Show Events

  29. Post #29
    SteamDB
    Marlamin's Avatar
    November 2007
    10,953 Posts
    Reply With Quote Edit / Delete Netherlands Show Events

  30. Post #30
    turb_'s Avatar
    February 2010
    2,202 Posts
    Implemented load balancing for AnyHub.

    When a user requests a file from the normal URL (http://anyhub.net/file/***), it picks a random mirror and redirects the user to that file's URL on the mirror (http://mirX.anyhub.net/***/***)

    If the mirror doesn't have that file, it starts downloading via FTP from the main server and simultaneously streams the file both to the user and onto the hard disk of the mirror.

    When I add another mirror, it'll just be a simple tweak to let the mirrors download files they don't have off each other, speeding things up even more.

    Here's a purdy network diagram of the current setup:

    Reply With Quote Edit / Delete United Kingdom Show Events

  31. Post #31
    Erp
    Erp's Avatar
    October 2009
    4,585 Posts
    This is to the above posts where you were talking about cookie auth.

    Don't query the database every time the page loads to check if the cookie is valid though. With lots of users it can potentially slow stuff down. When a user logs in, set cookies with username and hash key (maybe part of their password, some numbers, etc.) and a session key with their username (and if needed, their user id). Then when you are checking if the user exists, check session first, if there is no session keys then check cookies. Then if a cookie is set, check that against your database and then set the session username (and user id). It really speeds things up instead of querying the database each time a user loads a page.
    Reply With Quote Edit / Delete United States Show Events Informative Informative x 1 (list)

  32. Post #32
    Gold Member
    h2ooooooo's Avatar
    June 2007
    978 Posts
    My projects twice in the OP? That'd be the first time for a WAYWO thread! Thanks! :)

    Edited:

    As to my game, it's stood still for quite a while, but recently started again. Added some more graphics, a menu, and fixed plenty of bugs.

    (The menu isn't always blurry like this. It blurs every 10th second through a little cycle that takes about a second)


    New grass added (images instead of vector, due to resource use), and a texture on the green.


    Car gets dark when it explodes, and has smoke emitting out of it.
    Reply With Quote Edit / Delete Denmark Show Events

  33. Post #33
    Gold Member
    Bellmanator's Avatar
    August 2008
    1,622 Posts
    Apparently cookies don't like different directories in your website.

    Think I should try setrawcookie() :ohdear:
    Reply With Quote Edit / Delete United States Show Events

  34. Post #34
    Gold Member
    jaybuz's Avatar
    May 2006
    5,516 Posts
    You guys might be interested in my state-of-the-art login system:

    <?php
    function isAdmin($name, $access, $cookies = true)
    {
        $acc['admin'] = 'test';
        
        $nameC = isset($_COOKIE['name']) ? $_COOKIE['name'] : false;
        $accessC = isset($_COOKIE['access']) ? $_COOKIE['access'] : false;
        
        if ($cookies)
        {
            if (($nameC && $accessC) && md5($acc[$nameC]) == $accessC)
                return true;
            else
                return false;
        }
        else
        {
            if (($name && $access) && $acc[$name] == $access)
                return true;
            else
                return false;
        }
    }
    ?>
    Reply With Quote Edit / Delete United Kingdom Show Events

  35. Post #35
    Gold Member
    compwhizii's Avatar
    February 2007
    8,443 Posts
    I haven't been really working on anything (besides something for garry) due to exams. Sorry.
    Reply With Quote Edit / Delete United States Show Events

  36. Post #36
    Gold Member
    h2ooooooo's Avatar
    June 2007
    978 Posts
    Why is your MD5 function @'ed? Why would it fail, and even if it does, you should add some error handling instead of just ignoring it.
    Reply With Quote Edit / Delete Denmark Show Events

  37. Post #37
    Gold Member
    jaybuz's Avatar
    May 2006
    5,516 Posts
    Why is your MD5 function @'ed? Why would it fail, and even if it does, you should add some error handling instead of just ignoring it.
    Better?
    Reply With Quote Edit / Delete United Kingdom Show Events

  38. Post #38
    cas97's Avatar
    August 2009
    987 Posts
    Reply With Quote Edit / Delete United States Show Events

  39. Post #39
    I spent $10 on this.
    :awesome:'s Avatar
    April 2009
    5,468 Posts
    Reply With Quote Edit / Delete United States Show Events

  40. Post #40
    cas97's Avatar
    August 2009
    987 Posts
    cool gif, I was taking stuff from tf2 and tf2maps' websites while I was making it, so now I'm moving them to mine
    Reply With Quote Edit / Delete United States Show Events