« first day (134 days earlier)      last day (4813 days later) » 

1:00 PM
But first I gonna try to spread the word a bit more
(getting on the Forrst podcast should be fairly easy)
 
@IvoWetzel have you tried posting it up on JS forums?
That's how I publicised my System Optimiser
 
Great idea! So who's gonna create a w3schools forum account?
 
maybe we can get a link on w3fools
And I'm sure @gsnedders can sneak in a link to us in Opera's about dialog :D ;)
 
@IvoWetzel Maybe when I have time to review it properly, I might get it linked to from some developer article on opera.com ;P
 
1:08 PM
@IvoWetzel you do realize your going to have to expand it to contain more information. And make absolutely certain it's all correct.
 
@IvoWetzel - Soemthing like the following: fi.hwbot.org/forum/showthread.php?t=8703
I posted up on about 10 forums
 
Popularity can become a burden
 
3K downloads in the first month
not too bad I gess for such a nieche product
 
@Raynos Gnah, I'll hand out access to @gsnedders and Co :P I'm going to be pretty busy starting a week from now
 
my sister wants to make a portfolio for her art work online. She doesnt know any html/css/js. She's reasonable in art and photoshop and the like. What's a good way for her to set up a portfolio
 
1:10 PM
Oh dear :P
@Raynos thereare some Really nice wordpress photo portfolios
 
@MylesGray Seconded, should be the best tool for the job
 
so basically use wordpress?
 
@Raynos tell her to check these out:
Yep WP is the best for the job
 
louisianamei.com/home She gave this as an example.
 
Hmm... s3 hosted... nice
 
1:14 PM
Interesting CMS
 
@Raynos that looks static
Its largely image based (logo etc)
 
It is static
 
rather than using @font-tace
You want to use a CMS for sure, saves SO much agro
removes need to know code too
 
whats CMS ?
 
I use wordpress for all sites I do as a framework - its practically idiot-proof
Central Management System
 
1:15 PM
I dont know anything about design
 
Basically a control panel
 
I dont know much about wordpress. Isnt it for blogs?
 
5
A: Pronunciation of "jsfiddle"

Jimi OkePronounce it as the single letters "j" and "s", and the word, "fiddle": JAY - ES - FID - uhl.

 
She could use Drupal or Joomla but they are much more "code-centric" than WP
@Raynos it is for blogs, but can be used as a CMS with plugins too
I made this site in WP for a client recently:
So as you can see it is very versatile
 
I see
got any recommened links/tutorials for how to learn this stuff
 
1:20 PM
Would she want to build a custom theme?
or use a template?
There are a couple of methods you can take: Photoshop up a template and slice it
 
Use a template if possible
 
okay sure
all you need is a WP install
goto the: themes section in wordpress control panel
and enter the name of the theme, search for it and install
very plug-and play
you can also upload to the wp-content/themes/ folder too
very straightforward
 
Where can you see a list of themes/templates?
 
hang on i'll get come links
Would she mind paying for one or prefer a free one that needs some tweaking?
I mean there are literally tens of thousands out there
Basic WP breakdown: codex.wordpress.org/Main_Page
 
Ok.
 
1:25 PM
as for themes: google.co.uk/…
 
What if she wants to hack it together today
without learning wordpress
wordpress is too heavy, She wants something minimalistic
 
thats fine
no it takes no learning
That is all down to the themes ;)
just get yourself some nice hosting
download the WP zip
follow the README - it is all VERY straightforward
It's literally a 5 minute install
 
Nah.
No need for WP :p
 
Suit yourself but it is the best for maintainability
Otherwise you will need to hand-code a site
(I'm guessing you aren't up for that ;) )
 
hand coding is for real men
 
1:31 PM
But do you really want to hand-code her site :P
 
how bad can it be, just use some node.js express magic!
 
@IvoWetzel o/#
doubt she has a linux server that can run node websites
man I need to get me one of those no.de bad boys.
 
@Raynos what you need is one of them: mediatemple.net/webhosting/nitro
$2K/month ;)
 
@gsnedders I hate you. I can't get the green. Never mind I got the green. (f5 ftw). I want my two minutes back!
 
green here
And hey! Nodody said that I couldn't use Firebug
 
1:37 PM
if (Math.round(Math.random() * 100) === 42)  document.body.style.background = "green";
 
I used firebug :)
 
I pressed F5 many times.
 
I hit f5 >_>. I'm a real pro.
 
No, real pros compile a patched version of their browser
so Math.random always returns 0.42 on that specific site
 
@IvoWetzel 0.42?
 
1:40 PM
well 0.42 * 100 === 42
at least the last time I've checked
 
@IvoWetzel if my boy, if
 
if (document.domain === 'thereshouldbenored.com') {
    document.body.style.background = 'green';
}
OR
if (document.domain === 'thereshouldbenored.com') {
    Math.random = function() {
        return 0.42;
    };
}
 
smells a silver badge tonight at 00:01 :)
 
How is anyone meant to get Outspoken >.>
 
> Posted 10 messages in chat that were starred by 10 different users
I got it on both SO and MSO.
 
@Nyuszika7H how O_o
 
Yes.
 
Think I'll go for Sportsmanship over the next 3 days
just upvote answers on all questions I've ever answered on
 
2:07 PM
I'm going to get Fanatic… I have 53 consecutive days.
 
@MylesGray: Simple, post good content in chat :-P
 
@Nyuszika7H Im getting enthusiast today
 
@MylesGray I already got it. :)
 
@ircmaxell pah good content, the only time i get stars is when I talk about how sh1t my debugging skillz are
:P
 
:-P
 
2:09 PM
Altruist, Autobiographer, Citizen Patrol, Commentator, Critic, Editor, Enthusiast, Investor, Organizer, Outspoken, Quorum, Scolar, Student, Supporter, Tag Editor, Talkative, Teacher.

That's all I've got.
 
That and when i go ape on table based layouts
I love ranting about people's bad practises :)
 
haha. Ah, what people do when they find thereshouldbenored.com :)
 
23 mins ago, by Nyuszika7H
user image
 
@gsnedders just firebug it :D
 
2:12 PM
@MylesGray It could be prevented with a simple trick:
 
One of the guys I used to share an office with just wrote a data URI to open it in a hundred iframes
 
function resetToRed() {
    document.body.style.background = 'red';
    setTimeout(resetToRed, 100);
}
 
@Nyuszika7H y'know, I'm evil, but I'm not that evil.
@Nyuszika7H also setInterval
 
with a 0 timeout
 
Though setTimeout like that /is/ harder to cancel
 
2:14 PM
will do wonders in chrome
 
@IvoWetzel 0 = 10.
(I believe this is true, even in Chrome)
1 will you give you the lowest timeout possible in all browsers
 
@rchern Oy!
 
nothing happened
 
@Nyuszika7H hold down super + N
 
@Greg super?
 
2:18 PM
@Nyuszika7H Bottom left of keyboard, next to ALT... sometimes has Windows logo on it
 
@Greg I don't trust you. :P
@IvoWetzel you should see a blinking effect
 
@gsnedders var start=Date.now(); setTimeout(function(){console.log(Date.now() - start)},0) gives me 1 in chrome
 
@Nyuszika7H its worse than the link you sent
 
8-20 in FX
 
anyone want anything negged?
I want go get rid of 6 points
:)
 
2:21 PM
@IvoWetzel Note timer resolution and quite a few other things make that not entirely a reliable indicator
@IvoWetzel Fx should never be quicker than 10ms, Chrome no quicker than 4ms on Windows (no quicker than 0ms on other platforms, I think), Opera 1ms
 
console.time('test');
setTimeout(function() {
    console.timeEnd('test');
});
test: 1ms
 
@Greg my eyes! The bleed.,
 
@gsnedders I'm on Ubuntu here, dunno, FX4 nighly is running for 4 hours now, still has problems with GC exploding after some while
 
I thought Fx4 didn't have a shared heap for all tabs, so that seems slightly odd, but oh well
 
don't know the details
but after 12 hours running
it pauses every 30 seconds or so
very noticeable during scrolling / videos
the whole process freezes for half a second
and CPU spikes
restart fixes it, but the shutdown takes 15+ seconds and 100% CPU :/
 
2:27 PM
Anyone here run a 120GB SSD as their only drive in their laptop?
I have 2x 120GB SSD's here one is spare and I think my MBP would love one in it, however I can't think how to efficiently transport all my other "junk" around with me?
I could buy a 260GB one (OCZ Vertex 2) but they are close to £300
and i really want to save up for an apple cinema display
 
just send the spare one too me, I'll plug it into my pro when I buy one next month :P
See, problem with the spare drive: solved!
 
hahaha :P
but me likey 300MB/s Read/Write
 
I don't even need that... I'm thinking of getting a 13" pro
small is a big plus for me
 
@MylesGray what do you need that for?
 
2:31 PM
and hey, I'm currently running on a 5 year old vaio
so... the 13 inch is already lightyears ahead of that thing
 
@IvoWetzel The new sandybridge processors are awesome
And Intel's light peak technology is HOT
@gsnedders I am very into my overclocking and performance
I spend all my money on hardware :P
some people at uni go out drinking I spend it on SSD's and stupid powerful CPU's
 
meh, I don't care for needless hardware.
 
There is just something about having your computer boot to desktop in about 10 seconds that feels nice
@gsnedders I also do 3D rendering and After Effects work ;)
So it makes a massive difference there, especially multi-threading
 
(and that's coming from someone who spends a lot of time dealing with quad quad core based hardware)
 
Partly why I wrote this: mutant-tractor.com/2010/08/29/…
 
2:45 PM
21 messages moved to Tech Rant
 
Thank you :)
 
@IvoWetzel o/
@MylesGray my computer already does that. it runs linux
 
@Raynos what was that with reference to?
 
@MylesGray booting to desktop in 10 seconds
 
@Raynos are you on an EEE-PC? :P
they use ram as HDD's they are lightening quick at starting up
I meant booting to windows ;)
 
2:58 PM
Booting windows can't take long enough. Plenty of time to think about how bad of an idea it was to install that OS in the first place.
 
Need it for some types of dev, it really is unavoidable
 
@MylesGray thats a lie. You dont need windows. Your just doing it wrong
 
.Net?
ASP?
 
Who does .net development. Run it on node
 
you work with VS at work dont you?
 
3:01 PM
Work is different
 
I'm talking about work - I don't normally code .Net recreationally
Can someone approve my tag wiki edit for CSS please? :D
 
Opera and FX's regexp performance is... bad
@YiJiang Menu's looking great :)
 
@IvoWetzel Thanks
Right, I need mobile tester for dl.dropbox.com/u/1722364/Garden/index.html
 
@YiJiang By mobile iPod/iPhone?
 
@MylesGray Both, if possible
 
3:10 PM
iPad too?
 
1 message moved from Tech Rant
 
@MylesGray Actually, either iPhone or iPod should be okay, iPad would be great
 
@YiJiang the iPhone4 has a higher res screen than my iPhone and iPod
so I can't test that
 
@YiJiang I don't really think we need an overview for each section, the stuff is pretty self contained and most of the things that would fit into the overview are already part of on of the sections
 
but you can use: iphone4simulator.com
 
3:13 PM
@IvoWetzel Sure, I'll shift some CSS around to accommodate that
 
@YiJiang the shit hit the fan on the ipod
the navibar doesnt stay in the top right
it just stays as if it were inline
 
@MylesGray Uh huh... okay
 
I have some shots hang on ill upload them
Same on iPad
 
concerning the hoisting part, wonder how much of actual information that would add
 
@MylesGray Uh...?
 
3:25 PM
@MylesGray that link only works for you
 
You should be copying the public URL
 
How the hell do I get a folder's public URL
hang on
 
I think you can only get a file's public URL
 
@YiJiang Yep, you're right.
 
Aparrently I can invite collaborators to the folder
nvm I'll just paste the links in here >.>
 
3:30 PM
stop that now
 
@Nyuszika7H Suggest a better way ;)
 
@MylesGray Have you read the Readme in the Photos folder?
 
README!... Thats like telling a man to ask for directions
No readme in there
Fixed
 
@MylesGray use bit.ly
@YiJiang @MylesGray bit.ly/hd1gKs
 
3:47 PM
@ircmaxell do you use netbeans for javascript IDE?
or has anyone got any experience using netbeans for JavaScirpt IDE?
 
I don't do much standalone JS
 
I saw the page here about the extensive JS support featured in Netbeans: netbeans.org/features/javascript/index.html
 
-2
Q: Link images - XHMTL/CSS

NicolI would like to link small image, should I use XHTML or CSS ? What is good, what bad practice ? Thank You!

 
@IvoWetzel Want you to go and rip through my garden.js; there's surely a lot of optimizations/improvements that can be made, a lot of repeated code
 
4:07 PM
@YiJiang let me see what I can do
can we move out the animation to CSS?
 
@IvoWetzel Sure, hmmm...
Do you know the syntax? I'm not familiar with them
 
would get rid of quite some JS
 
@YiJiang are you sure, X-browser compatability?
 
@MylesGray Cross browser enough
 
.animate(@dur: 0.25s) {
    transition-duration: @dur;
    -webkit-transition-duration: @dur;
    -moz-transition-duration: @dur;
    -o-transition-duration: @dur;
    -ms-transition-duration: @dur;
}
less, but you get the idea
add it to the element
then just create a .active class and style that
switching the class will do the fading etc automatically
it's also possible to limit the values that are affected by the transition
 
4:22 PM
@IvoWetzel does that actually work?
 
@Nyuszika7H The above code? No. That's less and needs to be compiled to CSS, but replacing @dur with 0.25s will make it work
@YiJiang And there's hardly any reason to implement Date.now() when you only call it twice :P
 
@IvoWetzel Yeah, I added that snippet in in anticipation of uses of it which never occurred
Seems silly now :P
The updateLinks function is especially repetitive, it really shouldn't be that hard to update the links like that hrump..
 
0
Q: jQuery OOP basics

CristyI want to start developing jQuery games, thus I need to learn jQuery OOP. I have some (enough) experience with C++ OOP (developed some games). I know that I can replace the C++ "class" with jQuery "objects" but I don't know how exactly that works. Also does jQuery have more advanced "options" ...

:)
 
still no cloud9ide account :/
 
@Greg :( Its not that good tbh
its unstable
 
4:35 PM
@YiJiang applying the active classes seems to work now
 
@IvoWetzel Just pulled in the Mozilla daily ppa to get Firefox 4 but man is the theme ugly
 
@YiJiang Yeah, I have a persona to fix that part...
cleaned up the JS as far as possible without refactoring the whole thing into a tidy object...
 
@IvoWetzel How could I do that, other than regex?
 
@Nyuszika7H Uh, write a parser?
 
4:44 PM
@IvoWetzel How? Any tutorials?
 
@YiJiang gnah, gonna do it for real... expect a complete rewrite of your code :P
 
@IvoWetzel How bad is it? :P
 
0
A: jQuery OOP basics

RaynosOOP programming in JavaScript can be done in many ways. There are a lot of patterns around. I will show you two, an Implementation of object inheritance and an implementation of object composition. This does have absolutely nothing to do with jQuery. jQuery should be use for DOM manipulation an...

did I miss anything or say anything stupid there?
@Nyuszika7H read the dragon book on parsers
Compilers: Principles, Techniques, and Tools is a famous computer science textbook by Alfred V. Aho, Ravi Sethi, and Jeffrey D. Ullman about compiler construction. Although more than two decades have passed since the publication of the first edition, it is widely regarded as the classic definitive compiler technology text. It is known as the Dragon Book because its covers depict a knight and a dragon in battle, a metaphor for conquering complexity. This name can also refer to Aho and Ullman's older Principles of Compiler Design. First edition The first edition is informally called the “r...
 
@IvoWetzel Added in some CSS3 transitions, now checking how well they work
Weird... things are happening with Opera
Works pretty good in Firefox and Webkit
 
5:01 PM
@YiJiang Nearly done with the refactoring...
 
user1385191
@Raynos would you be able to call inherits from within the constructor? That would resemble a super() call in other languages.
 
Need to check out what's wrong with Opera. I threw together the whole thing rather haphazardly...
 
@MattMcDonald super is a pain. Don't try to emulate it in javascript. Notice how inherit specifically creates a new function so that it only passes on the parents prototype and never calls the parent as a constructor
 
user1385191
oh ok
 
Basically you need to jump through hoops to implement super. It limits what you do and makes it less dynamic. Btw I'd always recommend composition. You can selectively inherit that way
 
5:11 PM
@YiJiang highlight and expand needs some more cleanup but hey, looks a ton better than before
@YiJiang You should remove a li a:hover style
 
@IvoWetzel Hmmm?
 
hover over a selected nav link to see what I mean
it fades to the surrounding color
 
@IvoWetzel I've actually added nav a.active:hover for that
 
hm then maybe make sure it has a darker color when the thing is active?
looks a bit strange and the transition isn't correctly applied crazy in chrome when the thing underneaths slides
it won't transition until you move the mouse again
 
Hmmm? Looks okay to me in Chrome
Opera has something weird going on though
 
5:23 PM
oh that
do you have transparent as a color somewhere?
you should make sure to have a default color set
it's a nasty, well I consider it a bug
 
@IvoWetzel Oh, hrmp...
 
Had that on my portfolio too :/
 
Well, that's annoying...
 
@gsnedders Fix it for us!!!
 
Need to sleep now... yawn
 
5:26 PM
@YiJiang Good night then :)
 
Yeah, I know that is newbie question but I have lost my confidence. Can node.js process two requests async? I mean can it start processing of next request in case when we have awaiting data from database in the first request?
 
what db backend?
 
mongodb
with node-mongodb-native driver
 
Should work
but keep in mind that executing JS blocks other JS
you can't have 2 functions running at the same time
but a request to the db will not block
 
Thanks! I'm thinking about desing of my pet system. I was going to use global "business logic" services but I don't know how to provide session-related data (current user or smth else) to them. As I see it is wrong way and I should think about using of per-request services instead per-application services.
 
5:36 PM
Hi, can I ask a question?
 
@David19801 yes
 
cool, ok I have some javascript:{ message1: $("#message").val(), message2: $("#message").val()},
 
@David19801 wait!
 
now, I want to send message 2 as just a string
but not a value...just a string I type in...
 
@David19801 Post your code in a separate message and press Ctrl+K to format it with fixed-width font.
 
5:37 PM
{ message1: $("#message").val(), message2: $("#message").val()},
I tried ...,message2: 'Test'}
But that didn't work...
Hello?
 
That will just return $('message').val() twice. Since you didn't specify a variable where the object goes. Since there's no block scope in JS, it will just ingore the labels and return the first or the second value.
Try var obj = { message1: $('#message').val(), message2: $('#message').val() }
 
ah sory! bad explanation from me
I want to send 2 things to the php through this code
1 is message.val which works ok
the second is a string
this string will be message 2 for the php
right now, message 2 is the same as message, this works ok
but I want to write a string to message 2
like message2: 'Test'
But that doesn't work...
I think its just the syntax?
any ideas?
 
Oh yeah, and you can use backticks (`) if you want to mix code and simple text.
 
@David19801 I think so. Is it really work with message2: $('#message').val()?
 
@mef yes, works with that
{ message1: $("#message").val(), message2: `test`},
Doesn't seem to work...
AH! got it I needed to use " instead of '
 
5:44 PM
@David19801 backticks?
 
sorry for the trouble guys...works now, cheers
I thought you could interchange " and ' like in php
IS it stricter in javascript?
 
no
 
... hmmm...
sure?
 
@David19801 You can… but you used backticks in your example.
 
You said use backtick!!
 
5:50 PM
=)
 
@David19801 IN CHAT!! But only for wrapping code blocks.
 
ah! lol haha
 
@David19801 Yes, I'm sure in that. In javascript there is not big difference between single and double quotes but I cannot find proof in language reference.
 
ah ok thanks anyway Have a nice day!
 
there's no difference at all
 

« first day (134 days earlier)      last day (4813 days later) »