« first day (794 days earlier)      last day (4144 days later) » 

12:04 AM
serious.ly is not registered yet. Whoops typo
 
0
Q: What is this thing called?!?! (bottom of screen popup)

NRGdallasI am looking for the name and some possible jquery libraries etc for the standard bottom of screen popup bar. Its like a little bar that pops out on the bottom of the screen after X seconds or however really - generally slides up, about 50px or so high, and usually the length of the main contain...

 
pneumoencephalographical.ly isn't registered though
 
12:41 AM
:P
is that a typo or is it really not taken :O
 
@Esailija seems to just not be taken... that's actually a good one
 
IT's WORTH A BILLION
go go
 
Is insterestingly a word ?
 
what is that
 
!!/define interestingly
 
12:43 AM
@twiz interestingly: Arousing or holding the attention; absorbing. (source)
 
Nice
 
javascript.interesting.ly/has/shitty/unicode/support
 
but you would need to find something very interesting to put there....
 
lol that's awesome
 
hahaha well, that IS interesting
 
12:45 AM
$125 for year
not bad
it would fit for all kinds of rants
 
@Esailija I would actually use that site... haha
just a site for bitching. And the bitching even takes place in the address bar.
 
it could have user content made from the sentences
x interestingly ... ... ...
then it would automake subdomain and the paths
 
exactly... buy it and put the idea on on kickstarter or something... haha
It sounds almost as useful as urbandictionary
 
yeah it could be something
 
!!/urban interestingly
 
12:49 AM
@twiz interestingly odd to be interesting and odd at the same time...
 
!!/urban w3c
 
@twiz W3C a consortium of organizations, programmers, developers, industry executives, and users that seeks to guide the future development of the World Wide Web and ensure that all Web technologies are compatible with one another.
 
psshh UD has failed to amuse me...
 
Thanks, didn't come across attemplate in my searches. Right off the bat it looks like something that can defeat my stubbornness. template.fromString is perfect for me, as I said it might not always be possible to have templates in the DOM itself. Also template syntax is much cleaner than anything else I've seen. — Fergal 2 mins ago
should I let him know it's actually my library? :P I should probably warn him about a few gotchas
 
@Esailija well considering you already did... yes.
 
1:01 AM
yeah nobody answered quick enough so I went with it
:D
 
1:19 AM
hey
does anyone know how i can get the clicked event in listview?
 
Hmm this : document.getElementById("menu_panel") == true even if i removeChild for it before hand...
not sure if thats intentional or a browser bug =/
 
Hey guys
 
1:35 AM
sup
 
 
3 hours later…
4:34 AM
hi
any idea on kendomobile ListView
?
 
hi to all
 
0
Q: looking for review of code organization for jQuery/javascript code

chovyThe first block of code is my main app.js that is included on every request. It is essentially a library of functions and objects that include related functions (ie: app.utils) that I can use on other pages like page1.js: ./app.js var app = window.app || {}; (function($){ app.req = app.req...

 
 
2 hours later…
7:16 AM
hi
 
7:28 AM
hey
 
hies
 
I mean how is weather?
 
far too cold
 
for me too, there is some freezing rain warning...
@Abhishek
Sometime I wonder why people with no real argument talk a lot
 
7:47 AM
:P
like me ?
 
no, not like you
I work with computer all days. I do some tech support, some sec, some prog, and some customer service. Some customer sometime do talk a lot and argue about stuff they don't really know about but cause they are the client, they are the boss. Some JavaScript pseudo-security consideration make me smile.
People must understand you can't protect image copyright by preventing the client from using the right-click button!
3
 
8:18 AM
You mean those people whose crap nobody would want to steal anyway? :P
 
@ThiefMaster +4
 
I would rather prefer the world to know I exist by putting some watermark in the image rather preventing the user from doing a right click.
 
	decoder = audioStream->codec;
	de_codec = avcodec_find_decoder(decoder->codec_id);
	decoder = avcodec_alloc_context3(de_codec);
//wtf ? did i write ?!
 
you mean the <img style="background: url(theimage.jpg)" src="watermark.png"> kind of watermark? :P
 
no, server-side watermark
 
8:29 AM
I was kind of joking since the no-right-click-people would probably use that kind of watermark and think it's safe
 
while I think javascript is great, it's still a client-side language.
 
because hey, they also added a ton of blank linkes to hide their html code!
 
putting image in the css is, IMO, better then preventing a right click.
 
@Happyninja nodejs
 
nodejs is built on c++
 
8:35 AM
Still javascript :)
 
you're right ;)
 
@Happyninja you are horribly wrong :P
with that philosophy
node.js is not just the only JS VM out there , rhino.js , spidermonkey cli and tons
and since v8 is so incredibly extendable [ added with node.js ] now js is being used nearly everywhere you think
you can build robots with Js if you want :P
 
which philosophy?
 
@Happyninja oh and btw i doubt that changes anything ^^ , node.js is built on top of v8 which is the same thing that powers ur google chrome [ javascript wise ]
@Happyninja That philosophy
@Happyninja meet Ctrl + Shift + I ;D
 
this is not what I consider philosophy but fact
 
8:46 AM
@Happyninja It's both actually
 
bingo
 
@Abhishek That's more atoms then there are in the universe
This might be a no brainer, but it's interesting to think that we can represent numbers higher than the number of atoms in the universe
 
9:03 AM
@Neil really ?
 
@Abhishek Think so yeah
 
aiight a gram of anything has 6.023 x 10^23 atoms init
[avagadros number maybe a lil bit wrong ]
mass of sun is 1.989E30 kg
so 1.989 E 33 g
 
human create number to represent weight to measure conception and you want to put a number on that?
 
0
Q: Which Web or UI technology to learn for experienced Java developer

JohnI have been working on Core Java for around 4-5 years now, but have no exposure of working on any Web or UI technology. So want to have preliminary knowledge of some Web/UI technologies now. My query is which technology/language/framework should a Java developer should pick first for learning? ...

 
@Happyninja just calculating :P
 
9:06 AM
would you agree everything has a weight? If so, how much weight the argument?
 
my number was 1e+77
i really doubt there are only 1e+ 77 particles in the universe :P
0
Q: Total number of subatomic particles in the universe. Are they finite ? assuming any of GR or QM or even ST

Rajesh DTotal number of subatomic particles in the universe. Are they finite ? assuming any of GR or QM or even ST.

 
@Feeds google haters.
 
@ragatskynet google loves java though
and python
 
true :-)
 
9:39 AM
@Abhishek Those are subatomic particles
I was referring to the number of atoms
Plus, that doesn't really take into account entanglement
As far as we know, every atom is entangled to another in the universe
There would be no way to know
But that would mean the number of atoms in the universe is halved at least
 
@Neil hehe the number is visible universe man ;-)
the universe is far bigger then what we see it
as proved by hubble and rechecked multiple times , universe is expanding ~ speed of light
since the moment it began
so 15 billion years * speed of light ! thats a damn big radius :P
we barely see a few %
 
Because it is expanding, doesn't mean that there is an increasing number of particles ?
 
But that doesn't change the amount of mass it contains (that remains pretty constant), only the volume. So the universe is getting sparser, but not lighter or heavier.
 
@Abhishek Well I think the point here is that it's very difficult getting anything accurate
 
@AndersMetnik my question too :-)
 
9:44 AM
@AndersMetnik I'm not sure, good question
 
@AndersMetnik Dude, no
 
Not sure how it works on the quantum scale
Particles are created from nothing, aren't they?
 
@AndersMetnik The expanded space isn't being filled up, methinks
 
Conservation of Mass. You can't create particles
 
It's simply expanding
 
9:45 AM
@Zirak It happens all the time in quantum theory.. you're thinking of conservation of energy
 
With the Conservation of Energy is makes up the most cornerstone laws of the universe
 
And that always applies, even in quantum theory
 
/rename room physics, beware ...
 
@Neil Particles are created? Matter that did not exist before, now exists?
 
@Zirak Yep.. E=mc^2
 
9:47 AM
@Neil actually no
 
So long as the matter represents a quantitative equivalent of the energy invested in it
 
they are created by energy , i might be wrong
but well they were telling that they created antimatter in particle colliders
because energy got released and went back in forming particles [ dunno how that happens though ]
 
@Abhishek You're right, sorry.. I didn't mean out of nothing but rather out of thin air
The impression that I get is that matter is like frozen energy
Of course that's just my impression.. it's not like it's cold or anything
But that's the way I like to think about it
 
i'd say
its all related to spacetime
since matter and energy both morph it
 
I have trouble buying that. I'll come back to you later.
 
9:53 AM
so matter is just chunked up packets of high amount energy
 
Yes, I'm all for transformation of mass and matter (like transformation of energy), but creation and depletion?
 
10:08 AM
@Neil Actually, if anything, that shows that mass is constant - c^2 = E/m and if E is constant, so is m
 
@Zirak Yep, if we're assuming E is constant, then so is m, what's your point?
 
...that the mass in the universe is constant
 
@Zirak Um no, that doesn't mean that
 
But...you just...
 
If energy is 1 joule, then mass is always a constant amount for that joule
 
10:13 AM
And if the entire universe has 1 joule, then it'll have just the mass to fit it
 
Energy converts to mass and vice versa, but the total amount of energy produced by mass + all energy in the universe is constant
In other words, the energy present immediately after the big bang still exists in the universe, even if some of it has turned into mass
But to say the universe has the same amount of energy (in its free form, not as mass) as it did after the big bang, that's wrong
 
Mass is derived from energy...I'm gonna need to think about that.
 
10:31 AM
@Neil That sounds very correct with the current knowledge :)
 
@AndersMetnik Of course tomorrow it may be that we're all wrong
It's happened many times before that it's stupid to deny it
You can almost count on the fact that everything as we know it will change once again sometime in the future
 
@Neil :)
 
10:50 AM
I had an interesting conversation with my friend the other day, and according to him, if you have two theories which cannot be distinguished with empirical evidence, one is just as good as the other. Rather, better to pick the theory which is simpler
In other words, if one theory states that the world is flat and the other states that the world is round, until you have proof that the world is round, the theories are the same
 
@Neil That's a ridiculous statement.
 
And that at that time, it would have been better to believe the world is flat because it is "simpler" to believe
 
I know you don't have any friends...
:-P
 
@DaveRandom I can't entirely disagree
@DaveRandom (╯°□°)╯︵ ┻━┻)
 
11:26 AM
To be honest, that is a really good argument. You just need to define simple.. for instance, why is it more simple that the world is flat and not round?
Anyway it's a big myth that most people used to believe that the world was flat.
 
@AndersMetnik Well in retrospect, everything is obvious
But it may be that in 50 years, scientists will talk about the way we think now about the universe like we talk about people who thought the world was flat
The point is the same
 
retrospect? as I just told you, people back then believed it as well. It's a big myth that people used to believe the world was flat, it all comes from a novel someone wrote in ~1800
 
People thought the world was flat because if you try to imagine people on the underside of a sphere, they fall off
 
No Neil they did not, a greek proved it far far back, and that believe had spread around the world fast.
 
@AndersMetnik Well that was only an example
@AndersMetnik You're welcome to think up a better example, but that's not really the point
 
11:31 AM
Yes but an inaccurate example in a very scientific discussion :)
Anyways, simpler is always better until the more complex solution is proven better/more accurate :)
 
@AndersMetnik No, I would call Occam's razor a philosophical discussion more than a scientific one.. since there's no reason to assume that the simpler solution is the right one
It's just a good rule of thumb.. and likewise, this is applying Occam's razor to theories in general I suppose
 
Ohh was that how it started? well I jumped in, when talking about masses and energy ;)
 
@AndersMetnik It has since evolved into a discussion on picking the simpler of two theories. Welcome to the discussion. :P
 
0
Q: Performance: recursion vs iteration in Javascript

mastaziI have read recently some articles (e.g. http://dailyjs.com/2012/09/14/functional-programming/ ) about the functional aspects in Javascript and the relationship between Scheme and Javascript (the latter was influenced by the first, which is a functional language, while the O-O aspects are inherit...

 
11:50 AM
worps!
 
@Neil :D
 
Tim Berners-Lee
"Literally" : The web developer!
 
user1125394
12:13 PM
Web designer
 
12:41 PM
Web Grandpa ?
 
1:11 PM
@FlorianMargaine i do
Recursion seems good in most user-case JS .. but blindly going for recursion is craziness
 
> If you think that recursion is more elegant than iteration, then go for it.
If
:p
 
its more like a user case
much like
if( every call puts tons && many many many deep level recursion )
go with iteration
else
Stay with recurssion
 
!!/define "many many many deep level recursion"
 
For example take my wiki voice
 
give me a number ffs.
 
1:16 PM
1000+
 
alright :)
 
wiki voice just cant with recurssion it will run outa memory (XD) , seriously! esp when its querying with "synonyms"
 
evening peoples :P
 
@KirstyHarris good evening
 
well its not really evening... its actually just afternoon,.. but thought i would put it
 
1:21 PM
@KirstyHarris my college teacher called me at 3:49 today
Me : "Um good morning sir ... er good evning sir"
Him : "GOOD AFTERNOON"
Me : "Yeah that"
happens .. all the time >_<
 
hahah :p
 
@KirstyHarris good morning
 
hey @neil
god dont u HATE being ill!
 
1:37 PM
@FlorianMargaine hah. nice
Neat, Fanatic badge.
 
me?
yeah... that's the easiest one to get.
 
Enthusiast is easier
 
Enthusiast?
 
yeah, I meant easiest gold badge.
 
1:42 PM
@KirstyHarris hated it .. now i have learnt how to live with it
 
What's the definition of being ill? Or rather, of a disease?
!!/define ill
!!/define disease
eh? it's down?
> a disorder of structure or function in a human, animal, or plant, especially one that produces specific symptoms or that affects a specific location and is not simply a direct result of physical injury:
We don't have a biological standard for a human being; there's no human specimen we compare other humans to (unlike the absolute majority of other animals, whom we have a model skeleton of each subspecies)
So...are all humans inherently diseased? (From the viewpoint of biologists, not biologically)
 
@Zirak yeap
 
@Neil Occam's Razor?
Human life is a disease. hrm.
Nabokov would've liked that.
 
1:58 PM
@Zirak Yes?
 
@Neil At least 7, I recon
 
I really hate that both youtube and youporn start with you
 
lol
 
@Zirak Even 8
 
2:04 PM
@Neil Now you're just pushing it
 
@RyanKinal, yaaay! This means we're getting closer to the point where all browsers will support all the new technologies and have common standards and we'll never have to worry about x-browser support anymore.. IE: Nope!
 
@RyanKinal ...however, is it NP-Complete?
 
@Adnan hah... yeah... true
@Zirak Likely not
 
Was worth a shot.
!!y u no live?
 
@Adnan IE is the stuck-up rich kid with too much time on his hands.
 
2:10 PM
Making stupid videos hitting itself in the balls thinking that people would laugh with it and fall in love with it. Sad.
 
@rlemon Is something up with the server it's on?
 
hrmm
 
no I am running
after some time I notice I get slow without a refresh. Maybe there needs to be a hard coded once an hour refresh
 
It still sends stuff, just doesn't reply to input. Any errors? Maybe the invocation pattern was changed?
!!u dead?
 
!!live
@SOChatBot Y U NO MAEK SENSE!? Could not understand live
 
2:14 PM
Neat, thanks.
@SOChatBot Your birthday is in a week!
 
@SOChatBot probably some memory leak. I mean, Zirak coded it.
 
jsfiddle.net/rlemon/hAUcX/2 ohhhh yea. (not using documentfragment because I wanna see these bad boys updating!)
@Zirak i'll start making note on the memory consumption.
!!> performance.memory.usedJSHeapSize
 
@rlemon "ReferenceError: performance is not defined"
2
 
2:29 PM
ok well i'm not sure if anything can be done about it
 
@SOChatBot Sounds like something IE might throw...
 
hehehehehehe
I just noticed that
 
or web worker
 
function _each(arr, fn /*function(element, index)*/ , limit /*items per pass*/ , callback) {
    var count = 0,
        len = arr.length;

    function run() {
        var d = limit;
        while (d-- && len >= count ) fn(arr[count], count++);
        if (len > count) setTimeout(run, 1);
        else typeof callback === Function && callback();
    }
    run();
}
comments?
 
else typeof callback === Function && callback(); ... really?
does that even work?
 
2:37 PM
!!> var f = function(){}; console.log(typeof f === Function, typeof f)
 
@Zirak "undefined" Logged: false,"function"
 
Also, people who inline comments and if/else are evil!
 
inline comments are fine in arguments
 
NO NO NO NO!!
 
The setTimeout is bizzare
 
2:39 PM
I'd rather do something like (function run() {}()); too
 
aw, was just about to post that
 
and dude, use braces...
you're always complaining how braces are the best breed and then you don't even use them
 
How do you think it makes them feel?
 
@FlorianMargaine :P
 
ggrr, Object.keys, your limited arguments annoy me at times
 
2:44 PM
God I never remember how to do the CDATA
 
same
I never use it though
 
<![CDATA[
stuff here
]]>
 
I was missing the !
 
It begins like DOCTYPE. And then turns completely different.
 
what was <![CDATA[ ]]> for ?
 
2:46 PM
@Abhishek Lets you use characters that would otherwise cause XML to choke and sputter
Like < and >
 
ahhh
 
That it's just character data, not to be treated as html/xml
It's their equivalent of a string
 
Handy when you have to write javascript in an xhtml file
 
@Neil never did that soo yeah now i see why it was useful :-) thnakx
 
Though you'd normally add // to indicate a javascript comment or it won't like it very much :P
 
2:49 PM
@Zirak I'll let you handle this
Try implementing fill algorithm with recursion. Stack overflow! There's so many cases where the stack gets too deep I wouldn't call it an edge case or even premature. Space is a part of performance too, not just response time and throughput. — mike 29 mins ago
 
@SomeKittens Haha, your dad's in your Facebook account
 
@FlorianMargaine But...he's just wrong
 
css-tricks.com/store <- for my css geeks
 
@FlorianMargaine works like a bauce. this is my hand minification
else condition && statement;
else {
   if( condition ) { statement; }
}
I did in fact write it out like this first:
function _each(arr, fn /*function(element, index)*/ , limit /*items per pass*/ , callback) {
    var count = 0,
        len = arr.length;

    function run() {
        var d = limit;
        while (d-- && len >= count ) {
            fn(arr[count], count++);
        }
        if (len > count) {
            setTimeout(run, 1);
        } else {
            if (typeof callback === Function) {
                callback();
            }
        }
    }
    run();
}
but it looked too long so I took what I learned from Closure Compiler and hand minified it a tid bit.
 
user1125394
hand obfuscation :p
 
2:59 PM
@mike The definition of "premature" is "mature or ripe before the proper time." If you know that recursively doing something will cause a stackoverflow, then it's not premature. However, if you assume on a whim (without any actual data), then it's premature. — Zirak 30 secs ago
 

« first day (794 days earlier)      last day (4144 days later) »