« first day (639 days earlier)      last day (4305 days later) » 

8:00 AM
@Abhishek better than u know
 
@FlorianMargaine to push it at the end of callstack maybe , well people can think that
random thoughts are always welcome
 
I gotta shave today. Random thought delivered. :D
 
2 mins ago, by hiteshtr
@Abhishek better than u know
looks like a good example of Dunning Kruger Effect ?
 
random thougts?
 
@Abhishek Dude that sounds absolutely like what I have. Well, maybe not, I'm too good to have that.
 
8:04 AM
@OctavianDamiean i doubt you have it :-o
@GNi33 using setTimeout(fn,0);
 
i had to google Dunning Kruger Effect right now... story of my life!
 
Was more of a joke. :D
 
@OctavianDamiean oh sorry with 4 days of C++ my sarcasm parsing capabilities have ended
 
i always think i'm the greatest.... well, actually no
 
Yea I can imagine.
 
8:05 AM
@OctavianDamiean I shaved three days ago. Fuck it.
 
it's more the other way round :(
 
aaaaaah depression...

:P
 
@FlorianMargaine That just sounds extremely wrong xD xD
sorry about that joke x_x
 
Yea, like totally wring. :D
 
8:09 AM
We have a new discovery people
           for( int i = 0; i < nb_samples ; i++ ){
			if(samples[i] > 0){
				pos++;
			}else if(samples[i] < 0){
				neg++;
			}else if( (isnan)(samples[i])){
				nans++;
			}else{
				wtfs++;
			}
		}
gives me
nans: 25, wtfs: 192, pos: 935, neg: 0
nope
 
192 is zero?:P
 
@Esailija oops
but now its counting 0 and negetive both in NaN
intresting things gets even more intersting now
 
wow, winLess is so stupid
 
@GNi33 didn't know, it looks nice
 
@OctavianDamiean thanks , @Esailija thanks
patched it up to have nans.
 
8:25 AM
Why don't you just work with NaNs? I mean you shouldn't discriminate them.
 
it just has absolutely weird bugs
i need to escape every url(.../...) string
and it just stops compiling without any good reason
 
You're lucky then. I have five crazy cats that apparently plan to demolish my entire house ...
 
i've got 2 font-face definitions -> it only works with one, if the second is in there, i get a weirld eval is null error
oh, why can't we just use sass
 
Use less.
 
@OctavianDamiean are you kidding me ?
i am handling audio in here bro
a NaN can make noise.
 
8:32 AM
I can imagine. It probably sounds like the Nyan cat.
 
ok, this is just retarded, it doesn't even work when the font-face - definition is empty
any other good watcher-process for less on windows out there?
 
8:45 AM
4
A: identify object property by placement in object

ThiefMasterNo, this is not possible. An object property has no position as objects are not ordered. You have to choose between: Arrays: Consecutive keys from the range [0..length), in order. Objects: Arbitrary keys, no guaranteed order.

What the hell. Downvoting answers for not providing a hack?
 
:/
 
8:59 AM
@jfriend00: Arrays aren't ordered. We just think of them being ordered because we do loops like for (i = 0; i < a.length; ++i). But there's nothing actually intrisically ordered about an array in JavaScript. — T.J. Crowder 17 mins ago
really?
 
how can they be anything like real arrays if you can do this ["hello", {}, [], 214134, null, false, true, "asodkkasdasosdoka"] ? :p
 
0
Q: Please review different approaches for writing plugins/widgets in javascript

naikusI have written a js library (think, jquery, but with much much less features, and targetted for newer browsers on mobile). This library provides a extension mechanism. One of the ways the extension can be defined is: $.extension("extname", function(options) { this.forEach(function(elem) { ...

 
@Esailija whether they're typed arrays or not doesn't mean they're not "real arrays"
 
it would be impossible to predict how much memory each slot takes if that is possible?
 
Unless each slot only contains a pointer to whatever it contains.
 
9:07 AM
how do you keep track of what type the pointer is pointing
 
it could point to a struct containing this information
 
and if we are so smart why is v8 not doing this
:D
 
9:29 AM
Do someone know how to recover css file if it's possible.
I used chrome and my file goes crash.
 
chrome crushed your css-file?
how the fuck is that even possible?
 
I edit file locally and my windows crash. light (power) problem.
something like offline copy in firefox.
 
I am using server windows. Do someone know how to configure
for now just want to know if something can help me or I need to restart my work from scratch.
 
9:34 AM
I don't get a single word.
 
Certainly not JS related
 
yeah, maybe js file crash = css file crash.
 
ಠ_ಠ
 
OK, no problem. Thank @OctavianDamiean It's very very very bad and sad day for me. Bye ! s y later
 
hello everyone :)
I've problem with my looping, why I get duplicate result, you can check right here..please help me
 
9:42 AM
I've somehow gotten Firefox & IE running headlessly testing JS :S
I don't know how/why... I was just playing around with phantomjs in one Jenkins job
(using JsTestDriver and an adapter between the two)
and went back to another job which was just FF & IE with no phantomjs but used the same port for JsTestDriver
 
9:54 AM
hi
jsfiddle gateway error?
 
perhaps i am an idiot.
what is Sin(infinity)
or sin(NaN);
or sin(undefined);
urgh NaN
lets just test this theory
 
10:25 AM
hmm now all zeroes but perhaps first mp3 frames are zero anyways
cya later guys.
 
10:46 AM
First working commit. \o/
doc time
 
11:28 AM
how to + show data of html table into a csv file+ where rows are in 10's of thousansd
or how to convert html into csv file
to download it
 
11:53 AM
@FlorianMargaine The mystery of NaN has been solved
and HuffMan table turns out to have a value for NaN aswell cause my encoded mp3 has NaN value lol
 
RT @stevefaulkner: Test ARIA Forward - all ARIA role, states and properties tests in one page http://www.html5accessibility.com/tests/ARIA-tests/ made by @hanshillen p ...
RT @mikebelshe: Facebook announces spdy support!! http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0251.html
 
@Abhishek so? what was it?
@jjpd you need server side code
 
12:27 PM
@FlorianMargaine i have all the data in hand, there should be any solution for that. datatables.net makes csv from htmltable without request to server
 
@FlorianMargaine my encoded audio had samples with NaN values
embarrassing
my module was perfect (XD)
to test this if fed it with a some other mp3 buffer [zeroed]
and it did great o/
 
@jjpd they use flash
 
perhaps for the rest of the day i will now work on the work essential module.
 
@Abhishek rofl
hey man
 
written on the top of encoder and decoder class
 
12:30 PM
it's working \o/
 
LUCKY DAY!
 
(it's the ugliest I could find in my templates)
 
VERY LUCKY DAY!
@FlorianMargaine arent they both the same link ?
 
Oh boy. @Abhishek you're killing me. :D
 
12:33 PM
@OctavianDamiean whoops
 
that's the second link ^^
 
but it still doesnt makes sense lol how can an mp3 file have samples with NaN value
@FlorianMargaine thats a template ?
or thats static ?
 
hm
the second is kinda static :D
 
kinda ?
 
12:35 PM
you kidding me its totally static
 
this one is not so static, and it's kinda pretty
 
aha good one :D
@OctavianDamiean sorry about that NaN trouble
 
@FlorianMargaine @Abhishek @AnkitGupta stackoverflow.com/questions/11503629/…
 
@FlorianMargaine Now its my turn to show case some pp darkmatic
cpp** dark magic
 
0
Q: Optimizing a JavaScript snippet for portability and readability

JefClaesWe have an in-house time-tracking application at the office. We, the employees, can view an overview of our hours on a web page. This web page renders a table, with worked hours per day in table cells, which is styled as a monthly calendar. I wrote a small script which I can copy-paste in my con...

 
12:36 PM
@Chets stop pinging everyone
@Abhishek go on
 
maybe by tomorrow night you will see my " work " module working
 
@FlorianMargaine i have a question about JSON
 
@Chets so u dont get the right to nuke us all on a busy monday
 
@Abhishek means..
 
DONT RANDOMLY PING
if u wanna ping someone ping the people friendly Raynos [joking]
 
12:40 PM
stackoverflow.com/questions/11503629/… sorry but please go through my link @Abhishek
 
Yea, always ping Raynos.
He'll enjoy it.
 
lol
yeap
he loves when people ping him
@FlorianMargaine i hope u can test something for me on the end of this week , well there will be 2 things ^^
1. the audio call module for tapeer
 
if there isn't a ton shit of stuff to install, sure :D
 
2. the nice lil work module!
they run from a web browser ^_^
i hope u have that installed (scan)
 
hmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
not sure.
Let me check. Double check.
 
12:43 PM
lol
It needs the very rare google chrome 10+
with flash installed .. flash was found in 90's so u might have problem finding it ^_^
 
github.com/Ralt/tartempion/blob/master/core/core.js not so big code after all, thanks express and ncore :|
dunno if I have flash tho
 
Good morning all ^_^
 
mornin'
 
@Neal good morning :D
@FlorianMargaine if u hve u will be broadcasting live in front of 400 peoples by end of this week
:-)
 
Oh god.
 
12:51 PM
@OctavianDamiean ?
 
@adscriven Wrong number of arguments or type of arguments wrong (if declared)
 
about that letter ?
 
@Abhishek wut? no thanks :D
 
@FlorianMargaine dw i own that station (x , and thats what the module is written for
 
1:07 PM
Ok... So do that.... You already know what you want to do... Why ask here? — Neal 9 secs ago
 
ah, public beta day. I've already discovered four bugs and that's only installing the client.
...six bugs
 
Where did the jQuery come from? And how would that change anything? — Neal 9 secs ago
 
@FlorianMargaine Like it.
(yes that's old)
 
alright guys i gotta go and do some serious code :D
// and sorry for the insane issue of the NaN
 
1:23 PM
alright
 
@FlorianMargaine you can pretty much call me insane [ as what i have written on facebook , i have already made a working prototype of that ]
now i am working to make it work 200 (xD)
 
hehe
good luck
 
it wnt ever be open source though :-/
 
np
a lot of code isn't os
 
1:39 PM
OMG
All the content are images
I can't believe it
 
omg xD
way to beat SEO
 
wth
 
I put the sexy in dysexylia
3
 
rofl
had to read that twice to get it
 
Same
 
2:09 PM
RT @mathias: Great slide deck on how to emulate <iframe seamless>: http://mths.be/bif
 
answer that is just link to some other answer is not an answer right?
 
@Esailija right . unless the answer is really an answer to the question that was posed as an answer to answer the original question which now remains answerless because of this answer to an answer to a question which was nothing more than a non answer.
 
I searched meta and it's not an answer in any case
it should be a comment and possibly vote as duplicate
-10
Q: Should an answer linking to another answer be converted to a comment?

counsellorben Possible Duplicate: Are answers that just contain links elsewhere really “good answers”? As the moderator who converted my answer to a comment will not respond, I would like some clarification from the community. In the question Using abstract view model in MVC 3, I posted...

 
damn
I answered some questions some months ago
that got me upvote + accepted today
and now: user was removed, so I lost all rep :(
 
yeah that sucks
 
2:16 PM
not specifically today
-48 today
but, well :(
 
why do they do this
all my rep could potentially be lost
:(
 
OK, voting on my answer for new Array() vs [] just went through the roof
I wonder why?!
 
@Alnitak linky?
 
44
A: What are the best practices to follow when declaring an array in Javascript?

AlnitakMostly, people use var a = [] because Douglas Crockford says so. His reasons include the non-intuitive and inconsistent behaviour of new Array(): var a = new Array(5); // an array pre-sized to 5 elements long var b = new Array(5, 10); // an array with two elements in it Note that there's ...

The OP got 25 upvotes too
 
2:20 PM
Hmmmm
Cuz it is a good question?
 
you don't say anything about the fact that Array and Object can be overwritten whereas [] and {} always work
:P
 
actually I think you're wrong there
I tried (on Chrome) overriding new Array and it changed [] too
 
not for me
Array = null; [] //works
 
I can't remember what I tried - it was a few months ago
 
it was fixed a few years ago with the gmail exploit
 
2:23 PM
In Node REPL trying to override Array crashes it hard.
 
@Esailija I think it still works with arrays
 
[17:24:07.217] Array = null
[17:24:07.220] null
[17:24:08.073] []
[17:24:08.075] []
[17:24:09.937] Array
[17:24:09.939] null
[17:24:11.601] new Array
[17:24:11.603] TypeError: Array is not a constructor
 
o_O
 
it's weird
undefined
Array
but the Array doesn't have the datas in it
 
but it's not a real array
 
2:27 PM
yeah it's a weird one
 
o_O
wow
 
ok, on my Chrome, changing array does break var a = []
Array = function(id) { this.id = id }
function (id) { this.id = id }
var b = []
TypeError: Cannot call method 'call' of undefined
 
does the jsfiddle work for you
 
Yeah, I see it in my chrome console also.
 
maybe - it might be a Console thing
 
2:28 PM
Array = null;
null
arr = [1];
TypeError: Cannot read property 'prototype' of null
Going to try the fiddle.
 
[] doesn't call the constructor.
But it sets the prototype to Array.prototype, I suspect.
 
it probably doesn't work in console because the console is relying on Array somehow
 
looks like it, yes
 
[] === Object.create( Array );
 
2:31 PM
actually, when I overwrite Array, i cannot use console at all
 
@FlorianMargaine where's that from?
 
"hello"
TypeError: Cannot call method 'call' of undefined
 
nowhere, that's what I'm thinking it is.
 
You can even call [1,2,3,4,5].join() after you override the constructor.
 
@FlorianMargaine guess what
// those haters who were saying this is wrong way
 
2:32 PM
@Abhishek see your forked tartempion /o/
 
[] doesn't use the user land Array
 
o/ i loved it ^_^
 
you don't have the doc tho :(
 
because of the json exploit
that's what I recall
 
Doesnt matter ^_^
 
2:32 PM
right, so it's just a console "bug" I'm seeing
 
i understand the code :-)
 
yeah it's definitely a console thing because nothing works in console after doing it
 
that means you don't like my doc?!
 
and it's just chrome's console, firefox is fine
 
2:33 PM
I think my answer still stands - most people use [] because Doug says so
 
0
Q: Want to add comments to NextGEN Gallery

user1341839Does anyone know how to do it? I would like to implement Facebook or Disqus comments. I am using the gallery with the shutter effect. Thanks for your help!

 
since most people don't know about the []
 
I just think it looks nicer.
 
yeah but if I was answering I would point out this :P
 
vs Array.prototype stuff
 
2:36 PM
It looks like [] goes around the constructor but like it uses the same prototype, am I mistake?
 
seems so
[].constructor === Array
true
 
> [].__proto__ === Array.prototype
true
 
anyone here from Chicago ?
rather, currently in?
 
console.log( [].constructor === Array, [].constructor.prototype, [].__proto__ === Array.prototype );
false [] false
 
2:39 PM
@ThiefMaster I was bored: tinkerbin.com/0e2QLzWm
 
  Array.prototype.push = function() { return "(╯°□°)╯︵ ┻━┻" }
  function () { return "(╯°□°)╯︵ ┻━┻" }
  a = []; a.push()
  "(╯°□°)╯︵ ┻━┻"
 
after you overwrite Array, it's no longer using the same prototype
 
@Zirak: heh nice, did you post it as an answer to that question?
 
@FlorianMargaine pastebin.com/FVjMV5nu
 
Even if you overwrite Array preserving the prototype? I mean, given that Array.prototype is malleable is there really any security difference between [] and Array()?
 
2:41 PM
@ThiefMaster Hell no, people might use it. It's horrible
 
That semantic fight over arrays looked fun :P
 
@Abhishek proc of the machine?
 
Testing my transcoder :-)
 
yeah
but if it's like this
 
2:44 PM
with CLI it used to die on 7x instances at most
 
depending on your proc
 
proc <- ?
 
a server will be fine
processor
 
yeap i have an intel xeon 8 core
 
@KGZM new Array(...) will use the new constructor if you overwrote Array. [] always uses the built-in constructor
 
2:44 PM
:-D that can simply take the load :D :D
 
outch
big server needed
 
outch ?
Xeon 8 core aint big ?
 
@cHao My meaning was that you could keep intentionally keep the same prototype when you overwrote Array.
 
hm, sorry, french words don't always work
xeon 8 core is big :p
a server might not have this much ^^
 
(x
its audio processing bro :-)
+ server wont have the amount of shit my computer already bloats with
 
2:45 PM
yup, I've got servers with far less than 8 cores
 
But I prefer [], it's just a better notation and why make an unnecessary constructor call.
 
but I've got dual quad-core Xeons in my workstation
 
now i can focus. on our VoIP thing :D vohoo!
 
^ Ive got those in my most recent server
 
@Loktar o/
 
2:46 PM
2 quad core xeons, 3.8 ghz i believe
@Abhishek \o
 
github for windows is nice*
 
yes
But a little not User Friendly
IMHO
 
@FlorianMargaine yes it is
 
a little too hipster
but nice :-)
 
nope a little too Microsoft Inspired
 
2:49 PM
Is "lack of any research or research ability" a valid parameter for closing or yelling? stackoverflow.com/questions/11506784/…
 
@KGZM the prototype isn't the problem. consider...if i have a constructor, it's because i want it called for every object created of that type. Since [] doesn't call Array (it calls the built-in array constructor, which just happens to have the name Array (until you overwrite it)), i'm asking for trouble if i redefine Array and then use []
 
@cHao Well, I thought the argument for using [] was that evil people may overwrite Array in other scripts on the same page? An argument, anyway. From the thread.
 
es5.github.com/#x11.1.4 "Let array be the result of creating a new object as if by the expression new Array() where Array is the standard built-in constructor with that name."
 
what happened to fastest gun in the west, I answer first, yet someone answers 30 seconds later but gets the upvotes
 
@Esailija linky?
 
2:54 PM
@KGZM psh. The arguments i'd use for [] are that (1) it's less error-prone than Array() (try calling it with a single number), and (2) it's less wordy. Security is possibly, maybe, kinda a side benefit -- but if you're letting random code run on your page, you have bigger problems than Array getting redefined
 
@cHao It's not MY argument. I agree with you entirely.
 
note that I have same amount of upvotes as the next guy who answered 1 minute later with completely useless answer
:(
 
@FlorianMargaine my ISP breaks it btw
never detected an internet connection unless until i specify dude ... listen use this
 
@Esailija you have more than him now
 
2:56 PM
In the reputation page -5 1 hour ago removed User was removed wat?
 
+275
 
@KGZM what thread, btw?
 
someone voted for one of your questions, but he got removed, so his votes don't count any more
 
@Zirak a user who upvoted your question was deleted?
 
I hope he died a swift death
 
2:58 PM
lol
 
anyones wallet hurt from the steam sales yet?
 

« first day (639 days earlier)      last day (4305 days later) »