« first day (1011 days earlier)      last day (3920 days later) » 

user1125394
8:00 AM
hope not just running blindly XLSstats :p
 
normally you compute convolution as multiplication under the fourier transform
 
user1125394
that's it, convolution product
 
and the fourier transform of the dirac delta is 1
 
user1125394
that's also how Lebesgues defined its integration technic
 
you can also define the average as the fourier transformation taken at f=0
 
user1125394
Lebesgue integral can suck also, even if it's good for many other non continuous functions
 
o/
 
@GNi33 \o
 
hello maybe someone can help me with that jsfiddle.net/arunpjohny/3jMJF
My issue is as you see there are in order like id,vorname,name and i want when i multiply them to be shown again like this (like a block or something) and not like they do now. Anyone any idea?
 
user1125394
display: inline-block?
 
8:14 AM
No, nothing happens with that.
 
@Mhche please make the link clickable: just add http://
 
@JanDvorak Oh sorry i didn't noticed jsfiddle.net/arunpjohny/3jMJF
 
user1125394
 
Oh that's wrong, shit that's the old
 
How to Ask Is there any difference in calling onclick javascript function in pure PHP environment, than in a framework?
 
8:17 AM
excuse me
 
Hey guys, i am having a problem which i am struggling to see why, I am using the google visualization package in an ASP.NET Umbraco installation, and when i try to load in the package using
[code]
setTimeout(function () {

google.load('visualization', '1', {
'callback': handleClientLoad, 'packages': ['corechart']
})
}, 500);
[/code]
i get this error: Blocked a frame with origin "http://local-webcast.com" from accessing a frame with origin "https://accounts.google.com". The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "https". Protocols must
 
@JanDvorak That's the wright one jsfiddle.net/BXLcS
 
@Safira how's tthat link related?
 
Sorry I wrote this [ plus ASK plus ], that's what happened :P
 
@Safira the use of PHP frameworks usually doesn't have any effect on the client.
[ask] = How to Ask. Cool
 
8:19 AM
@JanDvorak Then why is the same code, works in PHP without framework, but says this: Uncaught ReferenceError: my_function is not defined, in framework?
 
@Amaan did you enjoy Zirak's multi-ping yesterday? :D
 
@Safira I'd have to see the code (both versions thereof)
!!tell safira format
 
@safira Format your code - hit Ctrl+K before sending and see the faq
 
OK2,
function negatif(obj) {
    var url = obj.parentNode.valueOf('href');
    var nama = obj.parentNode.innerText;
    alert(url);
    $("#quote p").load("retrain/neg.php?url=" + url + "&nama=" + nama);

}
 
don't build your URL yourself. Use the data parameter
1 message moved to recycle bin
 
user1125394
8:25 AM
nama?
 
either a typo or a foreign language
 
Ah.. Got it, thanks
 
user1125394
yea, maybe lama, or name
 
@cx it's "name" in "Indonesian" :)
 
user1125394
hehe ok
 
8:27 AM
So nothing to that jsfiddle.net/BXLcS hah?
 
user1125394
@Mhche see above
 
@Esailija I wonder how many of the bot internals can be spilled out...I think I got sloppy in some places and didn't filter properly.
 
:P
 
@Khwaishien Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
!!/__proto__
 
8:29 AM
@JanDvorak That didn't make much sense. Use the help command to learn more.
 
let's see what I can achieve in the sandbox
 
user1125394
I wish bot have more parametric learn
 
Like what?
 
@cx No it's not the wright one i have made mistake and it doesn't work also. That's the wright one jsfiddle.net/BXLcS
 
When did you guys start programming?
 
user1125394
8:31 AM
@Zirak like learning rock-paper-scissor
 
I saw this question on programmers SE of a 14 year old kid who claims to have difficulty finding a job and has been programming for 5 years now.
 
So you want a programming language. There were ideas about making a special /learn which passes through code-eval
 
When I read that, I had to remind myself that I was playing with legos when I was 9
 
user1125394
@Zirak yep some easy if or ternaries
 
@Neil I started programming when I was around 11 (30 years ago, so) but that wasn't high level stuff (simple games I made with my sister who was 9).
 
user1125394
8:33 AM
!!> eval("false?'f':'t'")
 
@cx "t"
 
@dystroy Well I think that counts
 
@Neil first program was around 17. But then I stopped programming and restarted around... 3-4 years ago
 
@FlorianMargaine Why'd you stop?
 
(22-23)
 
8:34 AM
HAMMERTIME!
 
@Neil social life
 
@FlorianMargaine Ah, I envy you
I think I started when I was 12, but it was only QBASIC
My older brother was learning to program and he was 10 years older than me, and since I idoled him, I wanted to program as well
 
I remember when this weird friend I had came up to me and started talking about "mechanical brains", all excited about what his machines can do. I think he was called Cabbage or something like that.
 
He would talk about it like it were something exciting and easy to do.. he gave me an example of creating an invisible maze that would unfold as you played it..
He sat down to write hte program, and it quickly became apparent to us both that it was not so simple
 
That sounds cool.
 
8:41 AM
I think he ultimately made it, but it took like the whole summer to write
But he talked about it like he could have made it in an hour's time :D
 
@Neil with visibility tests, or you have to touch the walls ot reveal them?
 
hahaha
that's cool
I never had a mentor
 
@JanDvorak Nah, you would walk into a cell, and the cell would show you which sides had walls (hence where you could go next)
The "hero" of the program was a red dot :)
 
You mean that as you progress through the maze, you can only see some distance around you? Or the path+aura stays lit?
 
is that too difficult? Should I check how fast will I be?
 
8:43 AM
@Zirak Nah, nothing that sophisticated. You could only see the cell you were in
@JanDvorak I think he was new to programming when he did it, so you could probably do it faster
 
I'm wondering myself how much time it would take
 
@Neil was there an end?
I mean, was the maze real?
 
It's not too complicated, but it's fun. Your character is a simple state mutator.
Before the step, you darken the cells around you. After the step, you light the cells around you. All cells begin darkened.
 
maze generation is fun too
 
Generating a maze is a problem by itself.
 
8:46 AM
@ThiefMaster I had already noticed when reviewing edits a user who was doing a lot of trivial edits. Now he just made one of my edits disappear. My edit was useful ("accept a number and sorts" => "accepts some numbers and sorts"). Could you give him a word so that he stops his trivial edits ?
 
you can shuffle the edges and then carve a wall where you're connecting two separate regions. Union-find is pretty easy, and the maps thus generated are pretty good
 
user1125394
!!define maze
 
@cx maze A labyrinth; a puzzle consisting of a complicated network of paths or passages, the aim of which is to find one's way.
 
user1125394
ah yes sry
 
@dystroy it's not a good question anyways
 
8:52 AM
Yes, but we all lose a lot of times with those minor edits. See this last one I just reviewed :stackoverflow.com/review/suggested-edits/2565453
 
@dystroy i pinged him in chat about it. adding a questionmark clearly doesn't belong in the edit queue...
 
@ThiefMaster thanks. The biggest problem is that it makes valid edits more difficult
 
I would like to invite Indians and other interested users to contribute to creation of Indian site.
 
Hi
Any ideas how to do this : stackoverflow.com/questions/12796670/…
 
@panda you have an accepted answer...
 
8:55 AM
That answer is not sufficient
and the question is closed now
 
@panda I cast a reopen vote
 
And we're supposed to guess how the answer you accepted isn't enough ?
 
okay..thanks
 
Did you check the duplicate?
 
@panda unaccept if you're not happy with it
 
8:56 AM
ya add some more info first..
 
yes i did checked the duplicates
okay
 
http://stackoverflow.com/questions/12796670/changing-gwt-theme-dynamically
 
voted for reopen
 
oh sorry, didn't see that.
 
@panda It's an old answer. When did you accept it ? If it was months ago, you shouldn't unaccept it now but ask a new one.
 
8:57 AM
But if the answer doesn't answer, then you should definitely unaccept and comment on it.
 
did it answer your question then?
 
okay..i will add comment
someone downvoted the question :( .why so.
 
SO I JUST HAD A LOKTAR MOMENT
 
i was asking for help because i didnt know how to reopen or get new answer
 
you still have one upvote. downvote doesn't matter I suppose
 
9:00 AM
okay ... not so good as
but damn it works fine
 
user1125394
en.wikipedia.org/wiki/Drawdown_(economics) got that to do in js, over a time series
 
whats up with girls and tongues (xD)
 
-1
Q: Unexpected identifier in JQuery while working perfect in HTML

MichielI seem to have an "Unexpected identifier" in my JQuery script, but I cannot find where... var click = "window.open( 'https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent(location.href)', 'facebook-share-dialog', 'width=626,height=436'); r...

 
with no tongues out in the picture benjamin scores a really good shot :D
 
@Darkyen you should change your profile picture now that you have a good better picture.
 
9:07 AM
sure... but i better ones but if i put a pic with her she will get in trouble
 
why?
 
@FlorianMargaine Yes, we hooked it up to a 3d printer which fabricated the maze in real time. No, of course the maze wasn't real.
 
@Neil I meant: was there a real maze in some kind of object, or was it completely random whether you succeeded or not?
 
@FlorianMargaine I know what you meant. I just had to get you back for all those times being pedantic. ;)
@FlorianMargaine I think there was a destination dot in the maze you had to get to
 
user1125394
hmm, I could do some stats calculation either in php, or in js (would prefer), but I already started on php unfortunately
 
9:20 AM
@GNi33 Yeah, he's hilarious XD
 
But I think the maze generation was done properly, in the sense that you were guarnateed to get to any part of the maze (no closed spaces)
 
hehe, what was that all about anyhow?
 
Just him being weird after suggesting I read something
18 hours ago, by Zirak
@Amaan Have you read Faust yet?
yesterday, by Zirak
@Amaan Have you read "Faust" yet? You should read Faust.
@rlemon It does. I pretty much just collapsed yesterday, before I could check the flash sales. Don't really regret it much, though. I don't mind missing deals much anymore except for games I really want
 
user1125394
shouldn't variables incremented in for iterations be read-only?
 
@cx Re-read what you just said
 
9:23 AM
@GNi33 Ooooh, yeah, that was good!
@cx Err, no.
 
"There's this thing I want to change, should it be unchangable?"
 
have fun incrementing them
 
user1125394
@Zirak ah yes, since they r incremented :))
 
user1125394
lol but I mean it's bad if the loop itself accidentally modify them
 
user1125394
by naming a var with the same name
 
9:26 AM
That'd be pretty dumb as well
 
user1125394
happened to me several times in php :)
 
Then you're pretty bad at naming things, and separating things into functions
 
@Zirak Seems decent
 
user1125394
yah, I try to have minimalistic php, for minimizing pain
 
That isn't minimalistic.
Making your code cryptic isn't minimalistic.
 
9:31 AM
o/ guys
video from 18 recent web conferences delicious.com/paul.irish/frontend+video
STAR THAT
 
user1125394
 
Thanks.
 
9:46 AM
!!/timer hasOwnProperty constructor
...whoops?
 
what's a readyState 4 ?
with regards to http requests
 
There was a table of 'em on MDN. 4 is ready
 
@Zirak Cheers
 
It's actually "done"
You can also see it here (look for readyState)
 
Hrrrm, then how should I determine if an XMLHttpRequest is ready for a .send() ?
 
9:49 AM
waaaat
 
OPENED (numeric value 1)
The open() method has been successfully invoked. During this state request headers can be set using setRequestHeader() and the request can be made using the send() method.
 
@FlorianMargaine C'mon man, these are my first timid steps into http requests
@Zirak Many thanks
 
Enjoy
I had a gist about XHRs if you want
 
Playing around with the Philips hue lights
Ooooo, please!
 
gist.github.com/Zirak/3086939 (may contain heavy traces of swear words)
 
9:52 AM
@Zirak Oh...
 
> Bitchin ride.
 
lol, this's gonna be a fun read
 
Read it now. NOW.
 
Done
Meh, the ending coulda been better
Ever heard of a plot device asshole???
Doesn't xhr.send() accept a JSON object?
 
@silverflash Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
10:01 AM
I am having problem with my little cacher (in javascript) Here, is the code pastebin.com/LA26TnP7 I am calling cache( ) function when ever a AJAX request is made. The cache( ) is not storing value in buffer array for first AJAX request but is working fine for the rest of requests.
 
I am having problem with my little cacher (in javascript) Here, is the code pastebin.com/LA26TnP7 I am calling cache( ) function when ever a AJAX request is made. The cache( ) is not storing value in buffer array for first AJAX request but is working fine for the rest of requests.
 
@monners I'm sorry, what's a JSON object?
 
@FlorianMargaine your mother
 
@monners she told me she wasn't
 
10:02 AM
@FlorianMargaine She lied
 
@monners and I'm telling you this to help you answer the question yourself
now if you want to piss on my helping hand...
3
 
@rlemon Wooo, I made $1.18 off summer getaway cards! :p
 
@FlorianMargaine just a way to transferring data like csv and xml
 
@FlorianMargaine And I'm answering you to fill in the time before I die
 
too bad, learning takes time.
 
10:04 AM
I'm reading! Jeez... With teachers like you, who needs the British?
 
Seriously, @monners, what's a JSON object?
 
@Amaan It's not an object, it's a format. don't you know anything?
 
and another question: do you know how HTTP works?
 
answer : a JSON object doesn't make sense as JSON is a string based exchange format. Many noobs use this expression to refer to a JavaScript object literal.
 
(I'm not being mean, I'm serious.)
 
10:05 AM
@monners And how do you transfer a format?
 
By parsing it?
 
Well, no, it's a string-based format, so you transfer it as a string
You parse the string when you want to use the data transferred using the format
 
@FlorianMargaine No. I'm learning... Sorry, didn't study CS in college
 
user1125394
after reading the doc, just to make sure it's not possible to have 2 expressions in a SQL if clause? like if(pnl< 0, (@max_drawdown:=@max_drawdown + (pnl), @t:=ticket) , @max_drawdown:=0)
 
@monners I didn't either
 
10:07 AM
its a very thin line between looking very arrogant and "helping someone to answer a questions himself"
 
@FlorianMargaine Did I mention I'm twelve years old?
 
HTTP is very basic btw: it just sends a bunch of text
@monners how is that related?
 
@FlorianMargaine Science
 
if you're 12, you have no right to be on stackoverflow.
 
@FlorianMargaine But 12 > 11
And Spinal Tap only every went up to 11!
Joking aside though, I appreciate the help
 
10:09 AM
so... HTTP
HTTP just sends a bunch of text in a specific format
 
You know what's awesome? I'm not even old enough to be in college yet. Hah!
Hahaha
 
If we could bottle the essence that attracts trolls to this room, we could make a fortune.
 
Incognito had a nice explanation of HTTP using cats
@FlorianMargaine Why is that? Annoying laws?
 
like this:

GET /stuff HTTP/1.1
Host: www.google.fr
Content-Type: application/json

The body is after 2 newlines
@Amaan yep
 
Ok, I'm too drunk to tackle this right now. @Amaan link?
 
10:10 AM
@monners Trying to find it
 
0
Q: Javascript: Separate a module into smaller parts

anvozThe file is quite long, 1000 LOC so I want to separate it into smaller files. https://github.com/anvoz/world-js/blob/v1.0/js/world.core.js Here is a brief version of the code: (function(window, undefined) { var WorldJS = window.WorldJS = function() { // WorldJS Constructor ...

 
It's 8:15pm here. I have every right to be drunk, especially with the creative team I deal with!
 
... at 12?
 
0
Q: what should I do if i don't have any formal spec?

dhblahI recently was assigned to a task, but it says only a couple of words, like, do it as it made there, with no actual spec attached. What is the best thing to do in that circumstances?

 
@FlorianMargaine his profile says 25?
 
10:15 AM
"Waaa! What do I do? How do I manage without specifications?"
 
8 mins ago, by monners
@FlorianMargaine Did I mention I'm twelve years old?
 
I know, I know. :(
 
@FlorianMargaine What's your point? I'm either a liar or I'm a prepubescent alcoholic
 
@monners Why would you be an alcoholic?
 
10:17 AM
@Amaan Thanks
@Neil well that's a complicated question...
 
Ah, maybe it's none of my business.. just wondering why you said it then..
 
Me thinks you took that the wrong way. I'm kidding. Honest. Not about the drinking part though
Anyway, have a good one peeps. thanks for all the help @FlorianMargaine @Amaan @Zirak
 
@monners You're kidding about being prepubescent or you're kidding about being a liar?
 
@Neil If you honestly need me to answer that then you've got bigger things to worry about
Ciao
 
I'm using Javascript to move elements in the DOM onload (Cargo collective only lets you add html through the admin) and I'm getting a FOUC (not really unstyled - just not moved as doc isn't ready yet ). Any ideas? If I use <div onload="$(this).append('that');"></div> is that on document load or element load?
 
10:22 AM
@monners Toodles
 
@monners See you
 
@monners *mental note to self.. pathological.. liar...*
 
@BillyMathews I would wonder if that would work ever, a DIV element doesn't know about a load event
 
@Zirak How's Amaan Cheval Jr. doing?
 
@BillyMathews You shouldn't be using inline events anyway, most elements don't fire a load event, and why would that attach a document load listener?
@Amaan Fine, no thanks to you.
 
10:24 AM
I don't know
That's why I'm here :p
 
@LukasIgnatavičius Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@FlorianMargaine Can I ? I kind of like those things.
 
0
Q: Find out who's going to buy the croissants

Florian MargaineAt our company, we have a rule: each one of us has to buy the croissants once in a while for everybody. Now we'd like to be a little more regular about this. And last friday, both of us bought the croissants, and some almost went to the bin because there were too many. Hopefully, I sacrificed ...

 
LOL
 
If nobody can buy the croissants twice in a row, then it's not truly random
 
10:26 AM
I like that.
 
And there are so many easy systems
 
Why don't you just take it in turns, alphabetical order..? — Billy Mathews 29 secs ago
 
Like, sort by age
 
Best algo ever.
 
Or yeah, alphabetical order.
Any sorting category works.
 
10:27 AM
Seems like a rep-whore question, @FlorianMargaine.
 
currently I have an inline script:
<script type="text/javascript">
$(document).ready(function(){
nav = $(".nav_container");
pagen = $("#black_banner");
footer = $("#footer-banner");

$("#content_container").append(footer);
$("#content_container").prepend(pagen);
$(".header_img").append(nav);
}); </script>
but it appears unappended for a second
and I need to do something about it
 
any software to make them in better way. PS commenting on architechture would be nice :-)
 
@maky Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
Hello.
 
@Amaan It's a valid/real question thgouh
 
10:33 AM
Yeah, it is
@Darkyen dafuq
@Zirak Please help Darkyen
 
@Sklivvz ok, is "pseudo random" enough for your pedantic remarks? — Florian Margaine 7 secs ago
 
if u change the to 1 size you get half the image animating only -_-
 
probably going to be banned...
 
@Amaan architecture in ms paint
cant help..... no gimp no ps... even if i had i wouldn't be able to use it lol
 
10:34 AM
It looks like you hate leaving empty space
 
@BillyMathews Then don't wait for the load
 
@Amaan i dont... it looks i am noob with paint
 
@FlorianMargaine Sorry, the easy answer isn't very cool.
It's a simple queue.
 
@Lehych Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@Zirak won't that cause problems if the elements haven't loaded yet?
 
10:37 AM
@anvoz Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@BillyMathews Then either place your script right after these elements, or at the end of the body tag.
 
@Zirak I suppose, since it's an inline script, so long as I put it after the elements, it'll be alright?
^ah, yeah, Thanks
 
user1125394
@Darkyen draw.io?
 
user1125394
oops sorry Zirak
 
@FlorianMargaine I'm surprised by how it turns : zero close vote. And I didn't expect to get upvotes on my answer...
 
10:51 AM
@dystroy Neat mark-answer
Mine is boring
But it has horse grooming. So take that
 
Damn... I must mention horse grooming
 
I just got off the phone with someone claiming to be microsoft, i followed his instructions becuase i just wanted to see what he was up to, then he said go to ammyy.com and download the package. LOL. i said your a fuc*ing pri*k you need to get a proper job, he put the phone down. i done 1471 which brings up the last number called and it said 00000000000 lol
funny because while i was on the phone i decided to watch this video youtube.com/watch?v=_tt4Zapwq24
 
@Zirak now with horse grooming and no citation given :)
 

« first day (1011 days earlier)      last day (3920 days later) »