« first day (555 days earlier)      last day (4402 days later) » 

2:00 PM
$('html,body') is kinda 'dafuq you doing calling html?'
 
@Sam: you can also call element.scrollIntoView(); if you need to scroll to a certain node position
but.. thats also not smooth :p
 
@Neal just wondering doesnt plus.google.com scares u because of its design :
 
I like beeing smooth too !
do it smooth !
 
@Abhishek I love google+ design
 
2:03 PM
@FlorianMargaine it looks a bit over the top white for me :-(
 
@jAndy Both you and Danny Zuko
 
@FlorianMargaine a little too much #whitespace
 
!
the new texture on my cube is also smooth :p
I will smoothen the world
 
@Abhishek hey hows it goin?
 
It is supreme, the chicks'll cream~
 
2:08 PM
@Abhishek Would u be able to help with an IE issue? :-(
 
@Neal depends :-)
if thats CSS yes .. if thats JS nope
 
@Abhishek css.... look at the new site im working on in IE vs chrome or FF: ninasdesigns.com
 
did you tested css3pie for IE ?
btw @Neal sorry but the site takes long while to load :-(
@Esailija would u like to explain me something when you are free ?
 
@Abhishek huh? what takes so long to load?
It doesnt on my end
 
too ~30seconds to load for me
but then i am on 256 - 512kbps { somewhere between}
 
2:12 PM
@Abhishek well aside from that it looks like crap in IE
 
@Neal i see
 
@jAndy typeofnan looks no good in firefox 4
 
and i see why :P
 
@Abhishek: what about typeofnan.com, can you measure that quickly
@Raynos: I guess ff4 doesn't support css3 perspective then
 
@Abhishek :-( how do i fix that.... idk if csspie would work for it..
@Abhishek what is it?
 
2:13 PM
I don't think in browser categories anymore :p
 
@jAndy I'd prefer typeofnaan.com
 
@user973810: what should that mean ?
 
1. use css3 pie
@Neal css 3 pie is more or less a poly fill
 
funny story... I'm using the YUI compressor for all my ANT scripts for a year now or so.. and due to a SO question today I realized that it stripes all "use strict"; lines just away...
trollololol
 
which uses VML for it
 
2:16 PM
so my production files magically are in non-strict mode anyway
 
Sam
@jAndy Thanks for the help. Sorted the issue in the end. As usual it was because i wrote <?php $depot ?> not <?php echo $depot ?>

Goddam them simple problems! aha
 
@Neal for CSS 3 pie you might also need CSS position:absolute; & relative styling
IE 8 doesnt recog. half the tags .
 
-2
Q: What is the difference between this two strings?

Danny FoxWhat is the difference between this two strings? "first line \n second line" , "first line \r\n second line"

 
Hey! Can somebody take a look at www.matogvinnett.no in Internet Explorer and check if the header looks all right? I'm on a Mac..
 
2:17 PM
love the comment
 
@user973810: I see :p but that would ruin the background joke
@Emil: there are plenty of virtual machines available
 
@Neal your code should be fine . are you using some css 3 positioning ?
 
@jAndy It's YUI. You expected something sane?
trollololol. :P
 
should I take some IE7 VM?
I mean, is it worth it?
 
2:21 PM
@gsnedders: I liked the compressor, but this is a pretty big nono for a js compressor
damn, does closure recognize the strict lines ?
 
@jAndy The problem is what do you do when you have a mixture of strict and non-strict code.
 
CC strips 'use strict' as well
 
@gsnedders: interesting question
@gsnedders: do browsers allow for a compressed js file for a "use strict" instruction anyway ?
like "use strict";var foo=42;function foo(){}
 
@jAndy Amazon broke when people first implemented strict mode because it used minified JS which started with jQuery's "use strict" but their own code didn't run in strict-mode.
 
or is there a need for a cr/lf
 
2:25 PM
@jAndy sure, it's all the same syntacticly.
@jAndy linebreaks only have meaning when considering ASI, otherwise do nothing.
 
so there is a very special peice of code which checks if the first 12 bytes in a context do contain the string "use strict" ?
 
@Abhishek ehhh i am using 960.gs css
 
@jAndy No, because you can escape the string. "use\x20strict", 'use\u0020strict', etc. are all identical in meaning.
 
so how does it work ?
 
@jAndy The check is whether there is a expression statement consisting of a string literal at the start of the block, basically.
 
2:27 PM
@gsnedders: no way? :p I can go like "I am boss, bitch"; ?
 
@jAndy No, the content of the string literally must be exactly "use strict", case-sensitively.
@jAndy but any escaping is already undone by that point.
 
:)
 
"\0"; "use strict"; equally triggers strict. "\1"; "use strict"; causes a syntax error as you have an octal escape within a strict block, despite it preceding the strict pragma.
 
@Abhishek :-(
 
anyway, I have to search for an option in YUI that allows for some way to keep those instructions in place
 
2:30 PM
@jAndy You may want to file a bug on it removing it when all code is strict code.
 
@gsnedders: yes maybe I will do that. Anyway I guess the impact is less dangerous than I thought initially
basically I'm writting, testing and debugging of course in non-compressed files, so the time I statically bake my files, there shouldn't be any strict issues
 
@jAndy I dunno, I mean, it can make a semantic difference. (function(){var foo = 1; eval("var foo = 2"); return foo;})() is different between strict and non-strict.
 
anyway its bad, runtime access to eval or any other runtime access to variables without var statements are typically bad anyway
 
@Neal you can morph it a bit
internet explorer has a function something like expresssion
 
@gsnedders: yea had the same in mind
 
2:35 PM
which allows you to assign the max-min width using javascript
 
@Abhishek how so?
i dont even know why it is all the way to the left...
 
width: expression(document.body.clientWidth < 740? "740px" : document.body.clientWidth > 1200? "1200px" : "auto");
other then that
because ur DIV is of full width ur margins arent working :P
so ur site looks mispositioned
@rlemon i gots a challenge for yew one day when you are free .. i want you to do something for me :D
Okay any javascript warrior , can somebody explain me how do i get information out of a buffer which was encoded as text in node.js ?
 
Can someone check out matogvinnett.no for a second on IE 6, 7, 8 or 9? The header looks fine in all other browsers but IE, and I can't figure out what it is..
 
@Emil did you used the <header> element ?
and used CSS 3 if so use pie and dont use header on IE
 
Who needs IE anyway? Bah humbug.
 
2:44 PM
@Abhishek Nope, used <div id="header">.. I have no idea if it's CSS3, I'll do a test.
 
@Neil a lot of peoples love IE
and they havent found out that 'he' cheats with them
so they dont wanna break up with him
 
A lot of people also love blood sausage.
Doesn't mean I have to though.
 
@Abhishek huh
 
@rlemon here is your challenge , if you wanna do give a try .. Ever tried making magic or smoke effect ? as in those glowing smokes that always are found in high defination games like prince of persia and bah ?
 
@Abhishek It's supposed to be CSS3-validated (with some minor warnings). Any ideas?
 
2:49 PM
@Emil Internet Explorer 8 understands only 40% of css 3 :P
 
Oh the glory of IE
 
@Abhishek Oh, well, I have no clue as to what's going wrong, it seems like the "header"-background dropped about 200px down..
 
@Abhishek eh? this will work in IE?
 
@Abhishek nope never
 
@Abhishek the .main has a width set.
so it should work in IE
 
2:52 PM
Ah, got it, it seems to be the menu that's pushing it down.
 
@Neal I think you can use
left:50%;
margin-left:-50%; /* preferrably use the expression to find out this.width / 2 */
with position:absolute;
on IE to absolutely center
the main
 
@Abhishek wouldnt this squish the content?
 
i doubt :P
 
Also how do i fix the boxes on the bottom?
 
@Neal just use CSS 3 PIE it has inbuilt border-radius property
 
3:02 PM
@Abhishek huh? the boxes dont have any borders on them...
 
mornin
 
@Neal those boxes were circle using border-radius right ?
oops wrong page (sorry)
 
i hate these songs that you just can't stop listening to
 
@Abhishek huh? no circles on the page
 
FFS Node Y U NO WORK
lessc make.less > output.css
> The "sys" module is now called "util". It should have a similar interface.
grr
 
3:09 PM
@Neal my bad i mixxed up two pages
 
@Abhishek ahhhh haaaa...
 
:( sorry
but i found out
why it messes up the boxes
 
@Abhishek ?
 
@Neal sorry my web is messing up
but in short the innerDiv in the div's
thats messing up the whole layout
+ for some reason IE pushes some unwanted padding :P
 
eh?
im confuzzled...
im not a css buff...
 
3:17 PM
@Neal you should drop jQueryUI for Twitter Bootstrap
leaps and bounds better.
 
@rlemon eh?
 
@rlemon wazzat for?
 
you are using jQueryUI no?
 
@Neal i am trying to battle my internet
 
3:19 PM
@rlemon well basically just for that start animation (and if the fadein and out with UI, then that too)
 
@rlemon can u fix his stuff i mean instead of those some nicely re-done <input type="radio" /><label></label> using the CSS2 '+' would do much better job
 
slams head against desk you DO NOT need a bloated css OR js library for a simple task
 
@Neal zirak has got a point there
 
@Neal jQuery.animate and jQuery.fade[In|Out] are part of jquery, not jquery UI
jquery UI is for retarded UI widgets
 
@Zirak Ok.... I am trying to use just css for the design. and it doesnt work in IE...
 
3:22 PM
@Neal it doesnt works for a very brilliant reason
 
@Abhishek which is?
 
That's fine. But jquery UI/css3pie/bootstrap is overkill.
 
@Neal internet-explorer < 9's insane box-model
 
@Zirak I AM NOT USING UI FOR THE DESIGN (for the billionth time!)
 
THEN WHY ARE YOU LOADING JQUERY UI?
 
3:24 PM
@Zirak FOR THE START ANIMATION!
AHHHH
 
...WAT?
 
@Abhishek so how can I make it work for it? I am using css straight from 960.gs
 
@Neal 960.gs :-(
 
jQuery UI has NOTHING to do with animation
It's just...I...ungh
 
.animate(...)?
 
3:27 PM
!!/tell Neal jquery animate
NOT part of jQuery UI
 
?
 
Oh right...it's not loaded
 
@Zirak ok, fine, so I do not need to load it. I am not using it at all. you can get off ur high horse now..
 
@Neal don't use the span
use div
 
I dont have access to the server at the moment
 
3:28 PM
that will normalize stuff
 
@Abhishek for the boxes?
 
@Neal you don't need jQuery UI to do the start animation.. that is way overkill. you can use CSS3. Also the jQuery animation is buggy for me at least on Ubuntu Chrome.
 
@rlemon I dont want to use css3 at the moment, maybe in the future. that animation is onky shown once anyway
 
I'm just saying, looking at your page and what it's doing if you use twitter bootstrap for the UI and it's components you'll have a much easier time of things.
 
yeah for the boxes
 
3:31 PM
also I'm still unsure why you need the UI components to do the animation?
 
@rlemon can u show me an example of the bootstrap use?
 
doesn't jQuery include their animations in their core lib?
 
@rlemon some, not all
@Neal twitter :P
 
@Abhishek eh? what are those?
 
3:33 PM
@Neal just some boxes , without a single drop of javascript / jQuery
with transition: all 200ms; in the .inner class they will also animate without javascript
 
huh?
 
need moar jquery
 
yep yep ^_^
 
@FlorianMargaine id3.org/id3v2.3.0
i am amazed , they make soo nice documentation !
 
3:37 PM
what id3?
 
yes
 
meta tags for music
 
He should also totally include Backbone and Extjs along with css3pie and bootstrap. Adding more and more libraries will surely solve his problem!
 
they say everywhere "this is a standard for id3v2" "this is id3v2" bla bla bla but they say nowhere what it is
 
last i read was Lame encoder documentation made me die
@FlorianMargaine read down
they actually explain what is what
 
3:38 PM
@Zirak this plugin uses the same API as animate, except it uses css3 transitions and can fallback to animate. The code is clean too
 
see you guys laters.
 
needs more ice-cream
 
Harry Potter 5 is just terrible. It's just...crap. I remember disliking it, but...wow.
 
wanna see something terrible?
this is terrible...
i didn't expect someone to beat Rebecca Black in the ultimate suckage-race, but damn, these two made it
NOFX was absolutely right, the idiots are taking over
 
3:56 PM
back
@FlorianMargaine um is there such a knowledgeable documentation for mp3 ?
 
no idea
 
Can somebody explain "The ID3v2 tag size is encoded with four bytes where the most significant bit (bit 7) is set to zero in every byte, making a total of 28 bits. The zeroed bits are ignored, so a 257 bytes long tag is represented as $00 00 02 01." to me ?
lets try luck in C++ room
 
4:13 PM
no need to
though, what part you don't understand
 
got it now.
 
function decode( str ) {

	var int = ( ( str.charCodeAt(0) & 0x7F ) << 21 ) |
			  ( ( str.charCodeAt(1) & 0x7F ) << 14 ) |
			  ( ( str.charCodeAt(2) & 0x7F ) << 7 ) |
			  ( str.charCodeAt(3) & 0x7F )
return int;
}
decode( String.fromCharCode( 0, 0, 2, 1 ) )
//257
 
Sam
@FlorianMargaine are you there?
 
uh, yeah, but why are you looking for me?
 
Sam
Ive got a major problem with a site im building in drupal, and i noticed you had done drupal before on your profile
I was going to ask if you would mind taking a look at the error and see if you have seen it before?
 
4:27 PM
sure
 
Sam
Is there a way for me to send the website address to you in private?
 
florian at margaine dot com
 
@Esailija got that myself :P
 
Sam
Sent it to you Florian, thanks for this by the way :)
 
@Sam that looks like you messed around with either a module or a theme
 
Sam
4:30 PM
The strange this is that i wasn't actually working on the site at the time. it was the client who was editing some text content in a custom content type
It might be worth removing modules though... hmm
 
oh
no it's normal
with bom screws up php
save the files as utf-8 WITHOUT BOM
 
Sam
Which file is that? All of them?
 
@Esailija will this be same ?
function mp3Size(str){
	var num = 0;
	for ( var i = 0 ; i < str.length ;i++){
		num = num*128 + str.charCodeAt(i);
	}
	return num;
}
 
@Sam the files your client modified
I guess he changed them using some kind of sucky editor
so he screwed up the encoding
btw that's not just drupal, it's php
 
@Abhishek no ... what is that lol
btw here is encoder
function encode( int ) {
	int = ( (+int) & 0xFFFFFFF ) >>> 0;
	var str = String.fromCharCode(
		( int & 0xFE00000 ) >>> 21,
		( int & 0x1FC000 ) >>> 14,
		( int & 0x3F80 ) >>> 7,
		( int & 0x7F ) >>> 0
	);

	return str;

}
encode( 257) === String.fromCharCode(0,0,2,1)
true
 
Sam
4:33 PM
Ah ok i shall try that. Thanks for the tips :) Probably notepad aha
 
@Esailija basically the same lol
 
mp3Size( String.fromCharCode(0,0,256,1) )
32769
decode( String.fromCharCode(0,0,256,1) )
1
 
var e, s = (function() { return 1, e = 2, 3 })()
 
I thought s would be 1
turns out it's 3
 
4:38 PM
Of course. Commas matter
 
@Esailija for some reason your decoder gave me the tag size to be bigger then the file size
and that dosnt makes a sense!
 
@Zirak yeah but I thought it'd just execute the first
dunno why I thought that...
 
@Abhishek then it's reading from wrong part
 
The commas "execute" before the value is returned, and because of what they're doing, the rightmost value is returned from the comma operation - which is the returned value
 
@Esailija nope.
now they give the same reading
but its reading it from 6th byte
should be 7th , 8th , 9th and 10th byte
 
4:41 PM
no it's 6,7,8 and 9
0,1,2 = "ID3"
So you pass .substr( 6, 4 ) to decode
 
i am doing to buffer way
so i pass .toString('ascii',6,9);
 
what is 6,9
 
2
Q: If div has no content hide other div

jacktheripperI have the following JS: if ( $("#secretContent").children().length > 0) { $("#seemore").hide(); }​ and here is a jsFiddle demonstrating my questions. I have the intention of hiding the div with id "seemore" when the div with id "secretContent" has no children/contents. Any help would ...

not a single one uses === :(
 
so
 
9 is the endpoint
6 is the start point in buffer
6,7,8,9
 
4:46 PM
> children() always returns an integer, and 0 is very obviously an integer. There is absolutely no need to waste a byte on an extra = sign.
it just seems wrong to me
dunno how to answer that tho
 
His argument is the lamest I've seen
 
=== seems like not understanding the language and being scared
 
@Esailija i know i am quite too much of a noob with node.js
and esp buffers :P
but will you explain why normal redix multiplication wont work ?
my code just performs redix multiplication, as they have told they are basically saving numbers in base 128
 
Because it doesn't ensure that the highest bit is unset
 
@Esailija ah now i see
just 1 last thing ,, do we need to ensure that ?
 
4:53 PM
well why not, cos if its set and you use that code you will get the size wrong
 

« first day (555 days earlier)      last day (4402 days later) »