• What are you working on? v7
    7,420 replies, posted
i have a book for free about source control and it tell me 'just use git'
use git if you like open sores software
[QUOTE=jaybuz;36374830]You should use the modular JavaScript pattern: [url]http://christianheilmann.com/2007/08/22/again-with-the-module-pattern-reveal-something-to-the-world/[/url] It would be best to keep your "visible" and "height" variables private while having the "show", "hide" and "toggle" functions public. You should also cache your DOM lookups. You keep searching the entire document to find an element that's in the same parent element as the rest of your lookups and even worse you do it inside your main event functions so you're searching the DOM every single time you want to use those functions. Stoppp.[/QUOTE] Why should I have private variables?
[QUOTE=Darkwater124;36379886]Why should I have private variables?[/QUOTE] [url=http://facepunch.com/showthread.php?t=1190737]Public, Private, Protected. Do they even matter at runtime? (c++)[/url] may be of some interest to you.
[QUOTE=jaybuz;36374830]You should use the modular JavaScript pattern: [url]http://christianheilmann.com/2007/08/22/again-with-the-module-pattern-reveal-something-to-the-world/[/url] It would be best to keep your "visible" and "height" variables private while having the "show", "hide" and "toggle" functions public. You should also cache your DOM lookups. You keep searching the entire document to find an element that's in the same parent element as the rest of your lookups and even worse you do it inside your main event functions so you're searching the DOM every single time you want to use those functions. Stoppp.[/QUOTE] that's a retarded idea doing that is ridiculously memory inefficient
[QUOTE=Lexic;36379915][url=http://facepunch.com/showthread.php?t=1190737]Public, Private, Protected. Do they even matter at runtime? (c++)[/url] may be of some interest to you.[/QUOTE] ..wow, his attitude... Anyway, since it's only for clean code, I can only think of it as something that decreases performance and the ability to use the web inspector.
'private' properties in javascript are generally indicated by prefixing the property name with a _
[t]http://puu.sh/BOsm[/t] I'm unhappy with the colour scheme, any suggestions?
started using gitlabhq recently for my source control (i like to control my own shit), quite happy with it. as a side note, im not proud over what i just used money on
[QUOTE=TerabyteS_;36373224]Yay svg icons [img]http://gabrielecirulli.com/p/20120617-233636.png[/img] [img]http://gabrielecirulli.com/p/20120617-233717.png[/img][/QUOTE] bad! [url]http://dcurt.is/pixel-fitting[/url]
[QUOTE=H4Z3Y;36381239]bad! [URL]http://dcurt.is/pixel-fitting[/URL][/QUOTE] Not bad at all, in fact I am totally aware of pixel fitting and those icons have indeed been pixel-fitted. For example: [IMG]http://gabrielecirulli.com/p/20120618-155322.png[/IMG]
gab knows what he's doing !
[QUOTE=H4Z3Y;36381239]bad! [URL]http://dcurt.is/pixel-fitting[/URL][/QUOTE] Did you even read the article?
[QUOTE=loony383;36378983]Having not used one properly in the past, am not using SVN and it's good as I work over multiple machines.[/QUOTE] Git works over multiple machines very easily.
[QUOTE=RusselG;36379768]use git if you like open sores software[/QUOTE] Open sores? Sounds painful.
That Ubuntu-esque background (with the dots) make me cringe.
[QUOTE=inconspicious;36380798][t]http://puu.sh/BOsm[/t] I'm unhappy with the colour scheme, any suggestions?[/QUOTE] It's a church, why would you make it so dark? Is it a satanist church?
[QUOTE=swift and shift;36379981]that's a retarded idea doing that is ridiculously memory inefficient[/QUOTE] the modular pattern or caching lookups?
Does my website template look good enough to sell? [url]http://pure.torba.us[/url]
[QUOTE=duno;36384652]Does my website template look good enough to sell? [url]http://pure.torba.us[/url][/QUOTE] 3 pictures and a little navigation bar. No.
That background, plz no.
[QUOTE=inconspicious;36380798][t]http://puu.sh/BOsm[/t] I'm unhappy with the colour scheme, any suggestions?[/QUOTE] What colour scheme? :v:
[QUOTE=Kirth;36384748]That background, plz no.[/QUOTE] [img]https://forums.playfire.com/_proxy/?url=http%3A%2F%2Fwww.heavemedia.com%2Fwp-content%2Fuploads%2F2012%2F04%2FDolan_original-e1335557036682.gif&hmac=c12ecede38a4dafe02625d92fa7f4ae2[/img]
[QUOTE=KmartSqrl;36384133]It's a church, why would you make it so dark? Is it a satanist church?[/QUOTE] No, but if they were, they would be much more interesting clients.
Decided that it is about time I learnt Ruby on Rails, it is clearly a superior language when it comes to web apps. I've bought a book - anyone know of any good sites to get me started before the book arrives?
Here's a free online book that's probably as good as or better than the book you bought: [url]http://ruby.railstutorial.org/ruby-on-rails-tutorial-book[/url]
[QUOTE=KmartSqrl;36385767]Here's a free online book that's probably as good as or better than the book you bought: [url]http://ruby.railstutorial.org/ruby-on-rails-tutorial-book[/url][/QUOTE] I bought 'Agile Web Development with Rails' - it is very highly recommended and I have a long journey to and from school so a physical book is useful. Thanks for the link :)
That's a pretty good one. You made sure to get the most recent edition though right? I know there's like 4-5 editions of that one and the older ones are dated since they're for older versions of rails.
[URL]http://guides.rubyonrails.org/[/URL] is a pretty good resource in itself, doesn't make me feel the need to get a book. [editline]18th June 2012[/editline] [QUOTE=H4Z3Y;36381239]bad! [URL]http://dcurt.is/pixel-fitting[/URL][/QUOTE] To further support my argument, can you identify which one of these two is the svg version of the logo and which one is the bitmap version? [IMG]http://gabrielecirulli.com/p/20120618-230548.png[/IMG]
[QUOTE=jaybuz;36384360]the modular pattern or caching lookups?[/QUOTE] the fact that every time you create an object you're recreating all the methods for it
Sorry, you need to Log In to post a reply to this thread.