Jump to content

thescientist

Moderator
  • Posts

    8,682
  • Joined

  • Last visited

Everything posted by thescientist

  1. all the authors with links to their Twitter accounts are listed below the intro paragraph at the top of the page
  2. what good does this kind of site do, when I can find an example where they are mis-representing the example they're criticizing? For example http://www.w3schools.com/js/js_loop_for.aspthese guy's need to layoff the caffeine and pizza. This sites make it seem like this all being done out of malice on W3Schools' end. I for one can't find any examples of W3Schools claiming to be associated with the W3C on their site, but then again, I'm not trying to spend all my free time trying to find errors in their references. Mistakes happen, and programmers often have different stylistic and syntactical preferences, which can be debated endlessly. Any programmer/developer/newbie, like anyone looking for information, should consider more than source for their information
  3. Well I'm back to change my vote. I've only just downloaded it today because I didn't find out about till today. Finding a good and comparable text editor for Mac was hard enough as it is and I was grateful just to find TextWrangler, but I was never super "excited" about, to put it one way. Anyway, this editor I just found is called Smultron and so far just from the look and setup of it I like it a lot. I use Eclipse for all my work projects and this closely resembles that, allowing you to save a bunch of documents as a project, which you can open and close, as well as filtering out filetypes. Although it doesn't have a file system browser window on the side, you can have save options for opening the last project on startup, or documents. It has file tabber at the top so you can have multiple documents open at once and switch back and forth between them simultaneously (easily the one feature that I didn't get with TextWrangler that is already winning me over with this app). Give it a shot Mac users!http://www.opensourcemac.org/(its towards the bottom of the page. also worth noting there are a lot of other good apps for mac users)
  4. usually using a Strict DTD and using the universal selector to reset all margins and paddings effectively reduces a large portion of encountered inconsistencies.
  5. howdy newcomers, welcome to the forum!
  6. For the Mac fans, I'll put another plug out there for TextWrangler. It's the closest thing to ConText I have found for OSX and even though I use a VM for work, I still don't find it worth the trouble using VM and/or boot camp just for a text editor, so as dismayed as I am to not have Context, TextWrangler works just fine. We are just talking about text editors after all, although I will concede syntax highlighting is a pretty nice feature, other than that, I'm not too bothered by what they do or don't have.
  7. I take it you don't use ASP?
  8. phew, I kinda thought twice when typing that out and maybe I should use another analogy because I didn't know if I was spelling it right
  9. Wow! I don't even know where to begin to try and understand what that's doing. I'm still ashamed that I can't even count to 4. Forget JS, I need to go back to kindergarten...
  10. Hey guys, I was just wondering if I could pick some of your brains for a few moments. I'm trying to further advance my skill set in the funky world of Javascript, and I'm trying to evolve my coding though the use of best practices, good planning, clean coding, etc and I have just finished reading Douglas Crockford's book java script: The good Parts and am starting into John Resig's book the Javascript Ninja and has a few quick questions for ya. Thanks in advance for your time and consideration. 1) From the John Resig's website...http://ejohn.org/apps/learn/#10How would you say line 2? function yell(n){ return n > 0 ? yell(n-1) + "a" : "hiy";}assert(yell(4)=="hiyaaaa", "Calling the function by itself comes naturally."); 2) In Douglas Crockford book, java script: The Good Parts, he refers to the operators === and !== as alternatives to == and !=. Does that mean that is the only applicable situations for those operators, is when comparing the above values? While we're on the subject, how would you define type coercion?3) Also, he suggests these shorthand methods:instead of (foo != 0), use (foo) does that mean if foo has a value of anything (number, boolean, string) then you can just use (foo) and that resolves to true, if foo != 0? instead of (foo == 0) use (!foo) does this only apply when using numbers, or would this apply to false or an empty string as the value of foo? 3) Also, Douglas Crockford suggests against using ++ and -–. Would the appropriate alternative to say something like (for i = 0; i <= 10; i++) be (for i = 0; i <= 10; i+=1)? Thanks again for reading through this, I'm open to all your thoughts, comments, or suggestions. Does anyone have any recommendations on good books that better promote good coding practices, or good habits for developing code structure, scalability, employing DRY techniques, etc?Peace, have a good one!
  11. nice bump. I threw myself up there. Rhode Island representin'
  12. welcome to the forums recent members!
  13. it's pretty much spelled out right at the beginning...XHTML elements must be properly nested (matching opening/closing tag's, and closing a tag within a tag first...)XHTML elements must always be closed (all tags must have '/' before they close)XHTML elements must be in lowercase (simple enough)XHTML documents must have one root element (must be withing a <html></html>)pretty strightforward for the most part, I think. The rest is listed thought the tut. Anyway, code an HTML page with an XHTML DTD and see what the valaditor spits back out at you.also,Attribute names must be in lower case Attribute values must be quoted Attribute minimization is forbidden The id attribute replaces the name attribute The XHTML DTD defines mandatory elements
  14. I agree, FF and IE8 (along with IE7 mode), make a good, standards-compliant developing pair.
  15. Site Name: The SeasonsSite Description: condo resort websiteSite Developer: Me (Owen)Site Address: www.seasonsnh.comExtra Comments: this is my first real for profit venture. This was a redesign of their previous website.
  16. welcome, welcome new members!
  17. thescientist

    HTML

    in theory it should work, I'm pretty sure I've done it before.
  18. thescientist

    HTML

    following the path of the CSS file being called is usually a good way of finding it.
  19. can't javascript (or maybe PHP) do this?
  20. Site Name: Analog Studios: Music and RecordingsSite Description: band/studio websiteSite Owner/Developer: Me (Owen)Site Address: www.analogstudios.netExtra Comments: maybe you'll even like the tunes!
  21. nice to meet you. welcome to the site.
  22. cool, thanks for the advice! what about PHP, is that like ASP.net or something completely different? hey, welcome to the board, i guess we're in the same boat!
×
×
  • Create New...