1. Post #361
    Dennab
    November 2011
    1,860 Posts
    Reply With Quote Edit / Delete Windows 7 Europe Show Events Artistic Artistic x 1Programming King Programming King x 1Informative Informative x 1 (list)

  2. Post #362
    zzlawlzz's Avatar
    July 2010
    1,750 Posts
    i cant tell if you're serious or if this is a joke.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 2 (list)

  3. Post #363
    Dennab
    November 2011
    1,860 Posts
    i cant tell if you're serious or if this is a joke.
    No, I'm just currently mocking up a layout but I'm going to bed now so I had to stop. Don't actually know why I posted it

    Edited:

    also protip when people don't capitalise their "I"'s on this forum it usually means they're being sarcastic
    Reply With Quote Edit / Delete Windows 7 Europe Show Events Dumb Dumb x 4Disagree Disagree x 2 (list)

  4. Post #364
    Meow :3
    Ac!dL3ak's Avatar
    July 2005
    6,083 Posts
    i cant tell if you're serious or if this is a joke.
    wouldn't it be and?
    Reply With Quote Edit / Delete Linux United Kingdom Show Events Disagree Disagree x 1 (list)

  5. Post #365
    Gold Member

    May 2005
    411 Posts
    What makes you think that I didn't put enough effort in it?
    it's down to the essential.
    Reply With Quote Edit / Delete Mac United Kingdom Show Events Dumb Dumb x 3 (list)

  6. Post #366
    Everybody stop bickering and post more pretty website pictures. Holy shit.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 3Programming King Programming King x 1 (list)

  7. Post #367
    italian
    TerabyteS_'s Avatar
    June 2011
    2,645 Posts
    Here's my crappy (and not-yet-working) attempt at a server.

    https://github.com/terabytest/ecco/
    Reply With Quote Edit / Delete Windows 7 Anonymous Proxy Show Events

  8. Post #368
    Gold Member
    jaybuz's Avatar
    May 2006
    5,516 Posts
    Tera would be a cool sounding name for a server.

    apache, nginx, tera. oh yeah
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  9. Post #369
    italian
    TerabyteS_'s Avatar
    June 2011
    2,645 Posts
    Tera would be a cool sounding name for a server.

    apache, nginx, tera. oh yeah
    Ecco means "here it is" in Italian
    Reply With Quote Edit / Delete Windows 7 Anonymous Proxy Show Events Informative Informative x 3Programming King Programming King x 1 (list)

  10. Post #370

    November 2011
    26 Posts
    Literally just finished my portfolio, I just wanted somewhere to dump everything that I've done and try out some ajax requests such as when you change to a different page etc. and also changing the theme colour.

    You can see it here:
    http://www.shckr.co.uk/

    Any feedback would be great!
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Artistic Artistic x 8Winner Winner x 2 (list)

  11. Post #371
    italian
    TerabyteS_'s Avatar
    June 2011
    2,645 Posts
    Literally just finished my portfolio, I just wanted somewhere to dump everything that I've done and try out some ajax requests such as when you change to a different page etc. and also changing the theme colour.

    You can see it here:
    http://www.shckr.co.uk/

    Any feedback would be great!
    Code:
    function resizeWebsiteWrapper() {
    	var defaultWidth = 960;
    	var defaultHeight = 600;
    	var itemWidth = 300;
    	var wrapperTopMargin = 180;
    	
    	var windowWidth = $(window).width();
    	var windowHeight = $(window).height();
    	var docHeight = $('div#wrapper').outerHeight() + wrapperTopMargin;
    	
    	if(windowWidth < defaultWidth) {
    		$('div#container').css({'width':defaultWidth});
    		$('div#wrapper').css({'width':defaultWidth});
    	}
    	else {
    		$('div#container').css({'width':'100%'});
    		$('div#wrapper').css({'width':'100%'});
    	}
    	
    }
    
    function resizeWebsiteHeight() {
    	var defaultHeight = 600;
    	var itemWidth = 300;
    	var wrapperTopMargin = 180;
    	
    	var windowHeight = $(window).height();
    	var docHeight = $('div#wrapper').outerHeight() + wrapperTopMargin;
    
    	if(windowHeight < defaultHeight) {
    		$('div#container').css({'height':defaultHeight});
    	}
    	else {
    		$('div#container').css({'height':'100%'});
    	}
    	
    	if(windowHeight < docHeight ) {
    		$('div#container').css({'height':docHeight});
    	}
    	else {
    		$('div#container').css({'height':'100%'});
    	}
    }
    Don't do this kind of stuff, it should be CSS's task.
    Reply With Quote Edit / Delete Windows Vista Anonymous Proxy Show Events

  12. Post #372

    November 2011
    26 Posts
    Code:
    function resizeWebsiteWrapper() {
    	var defaultWidth = 960;
    	var defaultHeight = 600;
    	var itemWidth = 300;
    	var wrapperTopMargin = 180;
    	
    	var windowWidth = $(window).width();
    	var windowHeight = $(window).height();
    	var docHeight = $('div#wrapper').outerHeight() + wrapperTopMargin;
    	
    	if(windowWidth < defaultWidth) {
    		$('div#container').css({'width':defaultWidth});
    		$('div#wrapper').css({'width':defaultWidth});
    	}
    	else {
    		$('div#container').css({'width':'100%'});
    		$('div#wrapper').css({'width':'100%'});
    	}
    	
    }
    
    function resizeWebsiteHeight() {
    	var defaultHeight = 600;
    	var itemWidth = 300;
    	var wrapperTopMargin = 180;
    	
    	var windowHeight = $(window).height();
    	var docHeight = $('div#wrapper').outerHeight() + wrapperTopMargin;
    
    	if(windowHeight < defaultHeight) {
    		$('div#container').css({'height':defaultHeight});
    	}
    	else {
    		$('div#container').css({'height':'100%'});
    	}
    	
    	if(windowHeight < docHeight ) {
    		$('div#container').css({'height':docHeight});
    	}
    	else {
    		$('div#container').css({'height':'100%'});
    	}
    }
    Don't do this kind of stuff, it should be CSS's task.
    I agree, but I couldn't find a way in CSS to see if the contents of the page were larger than the window. Any ideas?

    Edit: I've removed a lot of the resize code and added some min-width/height in to the CSS and it has the same effect, any better?
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  13. Post #373

    January 2012
    418 Posts
    BTW - to the people who didn't think my systems were used by the US Navy - they are used by:

    US Navy,
    NASA,
    Scottish gov.
    Australian gov.
    EA

    and more.
    Ok, great. You proved that you maybe have a hand in development of an iPad app for a small department of the US navy (that handles education... not really used for security of anything particularly sensitive for them).

    I would like to point out that your page is rudementary, doesn't actually do any validation at all, it just grabs data from the same page with the variable sd_password defined in the header and returns:

    http://nedp.nps.navy.mil/ipad/?sd_password=1 posted:
    $('#status').html('incorrect password')
    So no, you haven't done security for the US navy, you did a page that returns a specific value if any information is entered (and you did it in a rather rudimentary fashion) on a naval website.

    Show me proof on these sites, proof that you actually did even a page with validation:
    NASA,
    Scottish gov.
    Australian gov.
    EA
    You may have some credit. But at the moment, you seem to have one fugly ass portfolio site, with only two working client sites.

    And seeming as how you couldn't even write your own fucking contact form on your own fucking portfolio site.

    I'm just going to go ahead and assume your some annoying ass 17 kid (as it says in your profile on this site), that was recognition for work he hasn't even come close to accomplishing.

    My advice, grow some humility, and go read a book about web development.

    And jesus, and charging for a consultation fee, fuck man... you bring new meaning to the label "Tool".
    Reply With Quote Edit / Delete Windows 7 Canada Show Events Agree Agree x 5 (list)

  14. Post #374
    zzlawlzz's Avatar
    July 2010
    1,750 Posts
    Literally just finished my portfolio, I just wanted somewhere to dump everything that I've done and try out some ajax requests such as when you change to a different page etc. and also changing the theme colour.

    You can see it here:
    http://www.shckr.co.uk/

    Any feedback would be great!
    It seems like your about me is in white text.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  15. Post #375

    November 2011
    26 Posts
    It seems like your about me is in white text.
    On what colour theme?
    I've checked both the dark/light themes and the text is the correct colour on both, or did you mean that it's difficult to read?
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  16. Post #376
    zzlawlzz's Avatar
    July 2010
    1,750 Posts
    On what colour theme?
    I've checked both the dark/light themes and the text is the correct colour on both, or did you mean that it's difficult to read?
    no i think it was because i had an old firefox. it was on light. the font was white/cant be seen at all.
    Reply With Quote Edit / Delete Windows XP United States Show Events

  17. Post #377
    italian
    TerabyteS_'s Avatar
    June 2011
    2,645 Posts
    I agree, but I couldn't find a way in CSS to see if the contents of the page were larger than the window. Any ideas?

    Edit: I've removed a lot of the resize code and added some min-width/height in to the CSS and it has the same effect, any better?
    You could use a mix of max-/min-height and percent widths.
    Reply With Quote Edit / Delete Windows 7 Anonymous Proxy Show Events

  18. Post #378
    adamjon858's Avatar
    July 2007
    1,282 Posts
    Wow, another full page of useless arguments..


    Is Spider the new snail?
    Reply With Quote Edit / Delete Mac United States Show Events Agree Agree x 5 (list)

  19. Post #379
    secretly a furry
    Jelly's Avatar
    April 2011
    2,022 Posts
    Wow, another full page of useless arguments..


    Is Spider the new snail?
    Way more pretentious.
    Reply With Quote Edit / Delete Linux Australia Show Events Agree Agree x 2 (list)

  20. Post #380
    Gold Member
    spidersdesign's Avatar
    September 2010
    440 Posts
    Ok, great. You proved that you maybe have a hand in development of an iPad app for a small department of the US navy (that handles education... not really used for security of anything particularly sensitive for them).

    I would like to point out that your page is rudementary, doesn't actually do any validation at all, it just grabs data from the same page with the variable sd_password defined in the header and returns:



    So no, you haven't done security for the US navy, you did a page that returns a specific value if any information is entered (and you did it in a rather rudimentary fashion) on a naval website.

    Show me proof on these sites, proof that you actually did even a page with validation:


    You may have some credit. But at the moment, you seem to have one fugly ass portfolio site, with only two working client sites.

    And seeming as how you couldn't even write your own fucking contact form on your own fucking portfolio site.

    I'm just going to go ahead and assume your some annoying ass 17 kid (as it says in your profile on this site), that was recognition for work he hasn't even come close to accomplishing.

    My advice, grow some humility, and go read a book about web development.

    And jesus, and charging for a consultation fee, fuck man... you bring new meaning to the label "Tool".

    Yes the portfolio site is shitty. I have made a few sites for example http://www.ringwoodtfsr.co.uk/
    - they just aren't listed there, I don't maintain my portfolio site as I no longer accept web design jobs. I would just take it down but a few posts get a reasonable amount of traffic so I have left it.

    Evidence:
    http://plex.jpl.nasa.gov
    http://blogs.scotland.gov.uk/directscot
    http://sandbox.ea.com/deathlyhallows/NL

    I can't believe you are even considering judging a security system by what happens when you enter an incorrect password. What do you mean by validation? It is quite clearly validating the fucking password you entered because it told you it was wrong you moron. And as for "couldn't code a fucking contact form" - are you really that plain stupid, for a start I no longer use that site, for seconds - why code a contact form when you don't have to? I have better things to be doing than coding a fucking contact form when a plugin can do it quite happily.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Dumb Dumb x 3Funny Funny x 2 (list)

  21. Post #381
    italian
    TerabyteS_'s Avatar
    June 2011
    2,645 Posts
    Yes the portfolio site is shitty. I have made a few sites for example http://www.ringwoodtfsr.co.uk/
    - they just aren't listed there, I don't maintain my portfolio site as I no longer accept web design jobs. I would just take it down but a few posts get a reasonable amount of traffic so I have left it.

    Evidence:
    http://plex.jpl.nasa.gov
    http://blogs.scotland.gov.uk/directscot
    http://sandbox.ea.com/deathlyhallows/NL

    I can't believe you are even considering judging a security system by what happens when you enter an incorrect password. What do you mean by validation? It is quite clearly validating the fucking password you entered because it told you it was wrong you moron. And as for "couldn't code a fucking contact form" - are you really that plain stupid, for a start I no longer use that site, for seconds - why code a contact form when you don't have to? I have better things to be doing than coding a fucking contact form when a plugin can do it quite happily.
    Slow down
    Reply With Quote Edit / Delete Windows 7 Anonymous Proxy Show Events Dumb Dumb x 1 (list)

  22. Post #382

    May 2011
    213 Posts
    Working on a basic Connect Four game (mostly as a learning exercise).

    What it looks like so far:


    Some of the JS code:
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Winner Winner x 3 (list)

  23. Post #383
    Gold Member

    October 2008
    3,838 Posts

    First time posting in Webdev WAYWO, what can I do to make this design better?

    Also is there a way to center something without all this shit?


    Edited:

    Improved the navbar a bit.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  24. Post #384

    May 2011
    213 Posts
    To center an element, set a width to it and then add
    Code:
    margin: 0 auto;
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  25. Post #385
    Gold Member

    October 2008
    3,838 Posts
    To center an element, set a width to it and then add
    Code:
    margin: 0 auto;
    Uh, I actually meant center horizontally AND vertically (but it solved the footer problem so thanks anyway )
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  26. Post #386
    adamjon858's Avatar
    July 2007
    1,282 Posts


    :P

    SOPA'ing it up.

    Edited:

    https://twitter.com/#!/SOPASoap
    Reply With Quote Edit / Delete Mac United States Show Events Funny Funny x 3Winner Winner x 1Artistic Artistic x 1 (list)

  27. Post #387
    Gold Member
    h2ooooooo's Avatar
    June 2007
    978 Posts
    Working on a PHP framework

    Here's the errors/debug messages it produces:



    Of course complete with a stack trace when you click:



    Edited:
    The code for this in particular is the following:

    <?php
    	namespace pTas;
    	
    	require_once('ptas.php');
    	
    	Debug::SetDebugLevel(DebugLevel::VERBOSE);
    	
    	Core::IncludeModuleOnce('Curl');
    	Core::IncludeModuleOnce('Crap');
    	Curl::CreateInstance('derp', true);
    	Curl::CreateInstance('sherp');
    	Curl::SetInstance('sherp');
    	Curl::DeleteInstance('sherp');
    	Curl::SetInstance('sherp');
    	
    	Debug::Error('Here\'s an "Error" debug message');
    	Debug::Warning('Here\'s a "Warning" debug message');
    	Debug::Info('Here\'s an "Info" debug message');
    	Debug::Debug('Here\'s a "Debug" debug message');
    	Debug::Verbose('Here\'s a "Verbose" debug message');
    ?>
    
    Reply With Quote Edit / Delete Windows 7 Denmark Show Events Winner Winner x 3Disagree Disagree x 2Artistic Artistic x 1 (list)

  28. Post #388

    December 2011
    41 Posts
    Yes the portfolio site is shitty. I have made a few sites for example http://www.ringwoodtfsr.co.uk/
    - they just aren't listed there, I don't maintain my portfolio site as I no longer accept web design jobs. I would just take it down but a few posts get a reasonable amount of traffic so I have left it.
    "I made"
    <!-- An Orman Clark design (http://www.premiumpixels.com) - Proudly powered by WordPress (http://wordpress.org) -->
    Reply With Quote Edit / Delete Mac United States Show Events Agree Agree x 1 (list)

  29. Post #389
    Cow Muffins's Avatar
    August 2009
    416 Posts
    Hey, I have a stupid question:

    What is this called? And how do I achieve it?
    Reply With Quote Edit / Delete Mac United States Show Events

  30. Post #390

    December 2011
    41 Posts
    Hey, I have a stupid question:

    What is this called? And how do I achieve it?
    http://www.pvmgarage.com/2010/01/how...ly-using-css3/
    Reply With Quote Edit / Delete Mac United States Show Events Friendly Friendly x 1 (list)

  31. Post #391
    Reply With Quote Edit / Delete Mac United States Show Events

  32. Post #392
    italian
    TerabyteS_'s Avatar
    June 2011
    2,645 Posts
    Thanks much!
    Make sure not to overdo them.
    Reply With Quote Edit / Delete Windows 7 Anonymous Proxy Show Events Dumb Dumb x 1Agree Agree x 1 (list)

  33. Post #393
    Gold Member
    StinkyJoe's Avatar
    June 2006
    2,196 Posts
    Working on a PHP framework

    Here's the errors/debug messages it produces:



    Of course complete with a stack trace when you click:



    Edited:
    The code for this in particular is the following:

    <?php
    	namespace pTas;
    	
    	require_once('ptas.php');
    	
    	Debug::SetDebugLevel(DebugLevel::VERBOSE);
    	
    	Core::IncludeModuleOnce('Curl');
    	Core::IncludeModuleOnce('Crap');
    	Curl::CreateInstance('derp', true);
    	Curl::CreateInstance('sherp');
    	Curl::SetInstance('sherp');
    	Curl::DeleteInstance('sherp');
    	Curl::SetInstance('sherp');
    	
    	Debug::Error('Here\'s an "Error" debug message');
    	Debug::Warning('Here\'s a "Warning" debug message');
    	Debug::Info('Here\'s an "Info" debug message');
    	Debug::Debug('Here\'s a "Debug" debug message');
    	Debug::Verbose('Here\'s a "Verbose" debug message');
    ?>
    

    My god...so many static calls...that looks like dependency hell - what if you want to inject your own class for something like Debug?

    Pro-tip: 99.99% of the times you think a static method is the right thing to do, you'll be wrong.
    Reply With Quote Edit / Delete Linux Portugal Show Events Agree Agree x 1 (list)

  34. Post #394
    Upload Images
    kragmars102's Avatar
    April 2011
    733 Posts
    Holy fuck, go to http://acko.net in Safari. That's amazing!



    (scroll down)
    They have actually gone dark for the protest again sopa, that's pretty cool.
    Reply With Quote Edit / Delete Windows 7 Australia Show Events

  35. Post #395
    Meow :3
    Ac!dL3ak's Avatar
    July 2005
    6,083 Posts
    My god...so many static calls...that looks like dependency hell - what if you want to inject your own class for something like Debug?

    Pro-tip: 99.99% of the times you think a static method is the right thing to do, you'll be wrong.
    and yet here i was, thinking that it would be bad to use the same amount of instancizing
    Reply With Quote Edit / Delete Linux United Kingdom Show Events Agree Agree x 1 (list)

  36. Post #396
    Gold Member
    Ortzinator's Avatar
    May 2005
    1,648 Posts
    Make sure not to overdo them.
    i.e. one per page (IMO--I'm not a big fan of them to begin with)
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  37. Post #397
    Gold Member
    andersonmat's Avatar
    May 2008
    2,607 Posts
    It has been a while since I've posted on Facepunch; I've been working on an interface for a client management system that I've been developing.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Artistic Artistic x 11Funny Funny x 1Programming King Programming King x 1 (list)

  38. Post #398
    adamjon858's Avatar
    July 2007
    1,282 Posts
    Reply With Quote Edit / Delete Mac United States Show Events Agree Agree x 1Late Late x 1 (list)

  39. Post #399
    italian
    TerabyteS_'s Avatar
    June 2011
    2,645 Posts
    Why do you use such strong perspective distortions on the text? It'd look better without imo.
    Reply With Quote Edit / Delete Linux Anonymous Proxy Show Events Disagree Disagree x 1 (list)

  40. Post #400
    rulssi's Avatar
    October 2007
    546 Posts
    This is something I worked on few years back, thought about finishing it and translating it to English.

    Reply With Quote Edit / Delete Windows 7 Finland Show Events Informative Informative x 1Disagree Disagree x 1 (list)