« first day (1038 days earlier)      last day (3900 days later) » 

12:11 AM
so who supports my awesome idea of a game : i.stack.imgur.com/L386L.png
 
12:28 AM
@BigT 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.
 
1:27 AM
posted on August 19, 2013 by Loktar

There’s a really interesting competition the creator of jsbin is running. The competition involves recreating some pretty amazing gifs (mostly mathmatical based) using Javascript, CSS, and HTML. I couldn’t help but try my hand at a few of the gifs. As of this writing I have successfully (mostly anyway) reproduced four of the images. Wavey gif […]

 
 
1 hour later…
2:29 AM
hey there
@copy we are ??? WHAT ?
 
2:41 AM
@sthg 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.
 
3:04 AM
@JoeySchluchter 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.
 
3:16 AM
@vdua 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.
 
3:40 AM
0
Q: Wordpress Ajax always returns a 404 error

user1526570I just got this code from a tutorial. I can't seem to get it to work. HTML (home.php) <form name="myform" id="myform" action="" method="POST"> <!-- The Name form field --> <label for="name" id="name_label">Name</label> <input type="text" name="name" id="name" size="30"...

 
 
1 hour later…
5:04 AM
zzzzzzzzzz
 
5:42 AM
hi
 
hi
 
6:07 AM
hi
 
bye
 
6:31 AM
hehe you commented as if you are in battle and need help :D
 
But who doesn't want to watch New Zealand beat the shit out of Australia!?
 
Guys who don't belong to those countries I suppose..
Better if India beats Australia :D
 
7:14 AM
do you know backbone.js, have you use it ?
anybody knows or works with backbone
 
Did you see the logs for those specific daemons? They should say something. If possible edit your question put stack traces of the errors that you see in the logs, if any. — JtheRocker 48 mins ago
Did you see the logs for those specific daemons? They should say something. If possible edit your question put stack traces of the errors that you see in the logs, if any. — JtheRocker 48 mins ago
 
@RomanticElectron Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
 
@Mat spamm*er*s, not posts. The RTQF seems very clean now. The "30 minutes without an accident" kind of clean. — Jan Dvorak 38 secs ago
 
7:38 AM
@IvanPlyusnin 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.
 
hi
 
7:59 AM
hi
 
UFO
hi
 
hi
 
bye
 
-2
Q: Eclipse Regex find/replace

user2695447I want to replace the below string String str = "sqi"; with String str = "siq; Can anyone help me finding a way to approach?

 
8:09 AM
@JanDvorak taken from your comment "Fourth, please show some effort please."
two times please.. grammar check :D
 
missing comma?
thanks
 
0
Q: HQuorumPeer and HRegionServer processes not running and hbase shuts down in pseudodistributed hbase why?

WakkoI am running hbase-0.94.01 with hadoop-1.04 by following a tutorial according to which I should get the following when I run $JAVA_HOME/bin/jps $JPS 5417 TaskTracker 5083 NameNode 5761 HRegionServer 5658 HMaster 6015 Jps 5613 HQuorumPeer 5171 DataNode 5327 JobTracker 5262 SecondaryNameNode but...

 
@user2695395 do you really think the ellipsis is supposed to be taken literally, rather than as an indicator of an elided piece of code? — Jan Dvorak 7 secs ago
 
0
A: Cannot refresh TreeStore in EXTjs

Ivan Plyusninthis code works for me (ExtJS 4.2.1) Total tree panel nodes refresh example: var responseDictObjects = $.ajax({ data: { Id: this.idDictionary }, dataType: "json", type: "POST", cache: false, url: 'http://' + config.domain + '/' + 'api/Dictionaries/GetD...

some nodes in treepanel appears again in wrong branch after remove/add child
and they are not selectable
 
@RajuJain 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.
 
8:23 AM
how to create sub domain without cpanel
 
0
A: Decrease and Conquer in Real world

ZirakHow more real can it get than our daily, humdrum lives? Insertion sort is what we (or at least I) most commonly use when we need to sort things. Consider a deck of cards - one would go over them one by one, put the smallest ones at the front, smaller behind them, etc. Or a pile of paperwork whic...

 
 
Can I have a sanity check on that?
 
UFO
Hi All. Please take a look : pastebin.com/m6n15QPr
I wanna get a image to a var on touch
How to?
 
@Zirak yep all good
 
8:38 AM
@Zirak IRL insertion sort is n log n
 
8:59 AM
Morning
Question ::

$(document).ready(function () {
    $(".ploeg").change(function () {
        removeAllNameCheckBoxes();
        var selected = $("#checkboxes input:checked").map(function (i, el) {
            return el.value;
        }).get();

        getNamesFromIds(selected);
    });
});
How can I change that to a dropdown box
 
Are you kidding ?
 
@dievardump the sad thing is, very few people who come in here to ask questions are ever kidding
 
I indeed was LOL
 
Hey guys, I have something, I don't know about, you don't know about, how can we change that to a Unicorn ? Please use jQuery.
 
Wanted someone's attention but failed :(
 
9:09 AM
Really @Tredged? You're asking that question?
 
Hiii :P
Was waiting on that ^
@Blue Probably this wednesday ill send it because of work so hope thats ok :P
 
@phenomnomnominal after more than one year in that chatroom it still amazed me.
 
@Tredged Google html drop down boxes - you'll find the answer in seconds
 
@Blue AWAY!
1 message moved to Trash can
 
@Blue The function doesnt need changing I just wanted to know if you were here.
 
9:14 AM
Heh @phenomnomnominal sorry for that. Couldn't help it.
@Tredged I usually am nowadays.
Just look for the hat.
or PM me
 
@Blue Sure, remember what we talked about this wednesday okay ;)
 
@Tredged Fine by me, is it working okay? And more importantly - do you understand the code and the process flow?
 
@Blue I finally do and yes its working like a charm lol
 
@Manish 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
I need some help from your side.
How to enable popup window in browser using java script or jquery?
 
9:25 AM
window.open , did you try searching on Google before asking here?
 
@BenjaminGruenbaum:I have already using this syntax for open window
but i want to browser setting (enable popup window) using coding
not manually
@BenjaminGruenbaum:Have you got it?
 
So, even if the user wants to disable popups, you want to show them?
 
@Manish you are the worst kind of developer
 
yes...exctly
 
@Manish Why?
 
9:29 AM
@Tredged That's good to hear, I'm glad my help wasn't just a fix but to show you how your system should work together, you should be able to edit it freely from now on and understand what your changes will do.
 
@Blue Yes I also noticed what you mean by the double name error at checking/unchecking a double name
@Blue but thats better since its not good if u have 2 the same boxes
 
@benajamin,@Phenomnom:because..Suppose user having disable popup window setting in browser so popup window is not open so i want to make enable popup window setting with code.Not using go for manually
 
@Manish Is it urgent that you have this code?
 
1
Q: Centering div that is wider than its parent without setting negative left margin

Anders LindénI have a div inside a div. The div inside is wider than its parent so the normal procedure margin-left: auto; margin-right: auto; produces an inner div where the left edge of the child aligns with the left edge of the parent. When people answers this question, they uses to go for the negativ...

^ nice one
 
@Manish that is the worst user interface design ever in the entire world, I forbid you to use it
 
UFO
9:32 AM
hi all, I wanna make resize able image on iOS. But the command $("img").resizable(); only work on mouse on desktop. Any suggestion ?
 
l0l
 
@BenjaminGruenbaum:Yes..of course
 
UFO
Thanks! I will.
 
@UFO:Have you any idea abt this
 
UFO
9:35 AM
Nope. I'm iOS developer and very very new to javascript
 
@Manish did you read the room rules?
 
@Manish please take the advice, this is a stupid / bad design decision.
 
@phenomnomnominal:No dear..I have not read the rules
 
@UFO you are UFO in javascript.. hehe
 
@Manish did you just call me "dear"?
 
UFO
9:37 AM
:)
 
@phenomnomnominal except that the plural of phallus is phalli. ;)
 
I think he called you "No dear"
means you are not dear :D
 
@OctavianDamiean are you trying to suggest that the english language makes sense?
 
@phenomnomnominal at least he didn't call you a deer.
 
i'd prefer that. deer are majestic as fuck.
 
9:40 AM
@phenomnomnominal:Ok..
 
@Manish We can do this
 
@Blue This number: 6000002098 gives this error on select: TypeError: list is null

var length = list.length,
 
@phenomnomnominal:Waht?
 
@Manish Am I kind sir and you need this urgent?
 
@BenjaminGruenbaum:If you have any solution so please tell me
@BenjaminGruenbaum:So i can implement for same
 
9:42 AM
@Manish i think you should probably try to fork webkit, so that you can get your required features. this is my best urgent advice kind sir.
 
Anyone want some popcorn? :D
 
@phenomnomnominal:Ok...
@phenomnomnominal:bye
 
@phenomnomnominal I should probably tell that calling someone a deer in germanophone countries can be offensive.
 
@OctavianDamiean oh haha, what does it mean?
 
It means you call someone a deer which would be equivalent to calling someone a dummy.
 
9:47 AM
o/
 
Don't ask me why it's like that.
 
i have never heard someone calling another a "Hirsch" ^^
 
@GNi33 du Hirsch.
 
söba Hirsch!
 
9:48 AM
;)
pretty sure this is an Austrian thing
 
Bavarian as well.
 
never heard it in Germany or something
 
ape or bird maybe
 
yeah, Bavaria
we share kind of the same language
 
@Manish the solution is not to be a douche to your users.
 
9:49 AM
Bavaria, where they have beer for breakfast
 
well...
my breakfast beer was pretty good as well
might have one for dinner then
 
lucky you =)
 
@C5H8NNaO4 why are you an amino acid?
 
Finally found the right combination... du -csh to view total directory size (and just that directory).
 
Why not, i like Glutamat and thought it would make a unique username =)
 
9:52 AM
You like glutamate!?
 
@AlecRust 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.
 
definetly
 
That's ... worrisome.
 
It's not like i eat it all day, but saying i don't like its taste would be a lie =)
 
You like what it does to the taste of dishes at best, I doubt you'd enjoy the taste of pure glutamate. :D
@Zirak sup brother? Ready for some missions tonight?
 
10:05 AM
@OctavianDamiean I've a shitload of things to do today, but we'll see. I'll probably have time for a game or two.
 
Cool, cool cool cool.
 
My teacher needs a new job, Indian + Bangalore if you know about any ping me. I will relay her, shes a Java Guru and has experience of iOS development.
 
Is that the teacher you said was mostly clueless?
 
@OctavianDamiean missions?
 
Battlefield 3
 
10:11 AM
cool
(I was thinking you guys will create some web app)
 
I might buy a crappy pair of headphones as well
 
@Tycoon 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.
 
oh, okay
 
Do you guys think this site shows the correct information? webstatsdomain.net
 
I finally got GTA4 to run properly, I fear that I'll put some time into that tonight
 
10:17 AM
@Mike 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.
 
@CapricaSix: thanks,
 
oh, so I don''t waste good pizza money, @OctavianDamiean you do have a mic, right?
 
@Zirak I do.
 
I now pronounce you...
 
1. (function (x, y) {return x+y}) (2,3)
5 // works

2. (function p(x, y) {return x+y}) p(2,3)
SyntaxError: Unexpected identifier

1 works and not 2, why??
 
10:19 AM
The 2nd won't work anyway because of scoping
And it's a syntax error because it's not anything
 
(function p(x, y) {return x+y} p(2,3))
should it be like above?
 
Why wrap in parentheses?
 
for scoping
 
function p(x, y) { ... }
p(2, 3);
Parentheses don't affect scoping in any way
If you want to "hide" p, you can do this:
 
I know that would work, but just y wont this (function p(x, y) {return x+y}) p(2,3) or (function p(x, y) {return x+y} p(2,3))
 
10:22 AM
(function () {
    function p (...) { ... }
    return p(2, 3);
})();
 
> • Specialization in Java, J2EE, HTML5 and CSS3, Android, Objective C, jQuerry
when i see that in a resume......
 
@Mike Because those are function declarations. If you want a function expression, it needs to be in expression context. Now, parentheses in this situation expect an expression - (expression)
But you gave two: A function expression, and a function call.
If you want both, divide with a comma (function name(...) { ...}, name(...)); but name will be leaked out, and it's a weird way to do it.
 
a simple question won't it be nice to provide api's for triggering GC in javascript ?
when we know we aren't doing shit why not reduce the memory footprint ?
 
@Darkyen No.
GC ain't of your business.
 
Why , Why am i forced to use 20x more memory then i should be just because i am using a gc ?
i am sitting idle the GC doesn't finds it worthy enough to clean yet.
 
10:33 AM
@Zirak: makes sense.
tahnks
thanks :)
 
Enjoy
 
@OctavianDamiean I like using C++ over javascript becasue i can clean objects myself [even when i usually use the std::*_ptr classes which clean them selves but they still allow you to clean when you wish ]
and esp when i am having a limiting resource barrier i surely don't wan't my GC to jump in straight when i have a new request
 
@user2137186 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 every one
can any one tell me how can i get time 4 hours ago in javascript?
 
@user2137186: hi user2137186
 
10:38 AM
new Date().getTime(-4)...like is something like this is possible?
 
@Darkyen Honestly? You're doing it wrong then.
You might have misunderstood the concept of automated garbage collection.
 
@OctavianDamiean got proper articles ?
well i have an express server, as a request is responded it should clean its resources
now it sits until unless the memory heap is quite big and then all the cleaning happens altogether
 
yeah and provided you have no references left to it, it will be
 
@Darkyen No, that's not the way it works though.
 
app.get('/api/call/params',api.fn_for_something);
 
10:40 AM
What Craig said.
 
@Mike
 
api.fn_for_something is implemented something like this
 
It's all about the memory being referenced.
 
@Mike new Date().getTime()...how can i get 4 hours ago time using this method can you help?
 
function fn(req,res){
   var tx = pool.begin();
   /* Do something  to get preparedJson */
   res.json( preparedJson );
}
shouldn't leave any references left, should it ?
or do i need to dig in deeper in express.js ?
 
10:41 AM
@user2137186 You have date.getHours and date.setHours
 
I don't know how express.js handles that.
 
!!> new Date(new Date().setHours(new Date().getHours() - 4))
 
@phenomnomnominal "2013-08-19T09:43:10.754Z"
 
^ make that less shit and hey presto!
 
@Darkyen also, the idea is that when you deal with big amounts of memory then you use buffers.
 
10:42 AM
@user2137186: use getHours()-4
 
@Darkyen You have been given a gift: The gift of not caring, until you absolutely must care.
 
var dt = new Date();
dt.getHours()-4;
 
I advise you take that gift.
 
You basically split it in pieces, process a chunk after another.
 
@Darkyen pretty sure it will hold a reference to that function for the whole time, so that whenever a call comes to '/api/call/params' it will have the function handler???
 
10:43 AM
@Mike Subtracting 4 doesn't change anything. You'll want to set it back (maybe using something like...hm... setHours)
 
@Salini 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.
 
Why would I sit here giving away free answers when I could be watching Dexter.
 
Oh right, I wouldn't.
 
@vinaykumar 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:46 AM
hai
 
@phenomnomnominal i dont want to get the date time
@Mike i just need the time not the date
 
!!/tell user2137186 mdn Date
 
also, do some work for yourself
 
@Salini Hi
@vinaykumar hi
 
10:48 AM
@Mr_Green Hi
 
Why do we have operator precedence of multiplication over addition?
 
dunno, bedmas.
 
I think if we had addition over multiplication then your question would have same :D
 
@BenjaminGruenbaum: thats because BODMAS came before programming
 
No, I mean in Math
Why did we define * to come before + when evaluating an expression
 
@BenjaminGruenbaum Because infix is weird
 
conventions
 
I didn't mean infix, I meant inorder
 
bitches love convetions
 
10:54 AM
1+5*3 would be (1+5)*3, just from left to right
 
I imagine it's one of those things people make up because they made more sense at the time. Maybe it started all parentheses-like, and people started taking them out in the way that made most sense.
 
+ 1 * 5 3 is weird, yeah.
 
Maybe it was a compound->simple, after you define multiplication as complex addition.
And then functions came along and made everything weird (not really, they're just an operand, but it is weird, right?)
 
10:57 AM
@BenjaminGruenbaum I find that quite readable. It's just reverse RPN
 
@JanDvorak I didn't say it was not readable by the way, just that it's weird.
 
where RPN stands for "reverse polish notation"
 
@phenomnomnominal I like the first reason. When variables come into play, it does ease things up.
 
likes RPN
 
thinks reverse reverse polish notation is ambiguous
 
10:59 AM
still likes it
 
@phenomnomnominal it's not ambiguous
unless you have weird variadic operators, in which case it still isn't.
 
sure it is
is it non-reverse polish notation
 
polish notation is just reverse polish notation written backwards
 
or is it reverse reverse-polish notation
 
11:02 AM
define "reverse-polish"
 
nope
reverse polish notation written backwards is noitaton hsilop esrever
 
nope
 
reverse-polish = hsilop
 
polish notation written backwards is just reverse polish notation. "polish notation" written backwards is "noitaton hsilop"
 
I'm confused, does that mean you ate all my cookies?
 
11:04 AM
pretty sure by arguing about this not being ambiguous, you've made it ambiguous :)
 
I'm sure I didn't. There's no ambiguity between polish notation and "polish notation"
 
Someone please tell me
^ is it fake or true?
 
web of trust thinks 91%
but web of trust rates w3schools as 95%-good
 
It is showing my friends website got 22nd rank all over the world websites
 
given the huge ad field at the bottom, it looks like a generic domain-farm
 
ok thanks guys
 
@Mr_Green Tell your friend he needs to use proper whitespace (and preferably a monospace font) for code blocks.
 
he will never listen to me :D
 
11:12 AM
Tell him Jesus sent you
 
hehe I am not christian
 
heyo
 
thanks for that alexa site
looks genuine to me
 
alexa rates mozilla.org 10k'th, while it ranks w3schools much higher.
 
that is true
 
11:16 AM
anyone well versed in node.js? I'm facing a strange issue when trying to install modules. Im getting npmlog is not installed but running >> node starts node.js normal. (I understand that im missing the module npmlog but im not quite sure how to install it without NPM). im on os x. can i just download the source and put it where npm expects it to be?
 
@Mr_Green Neither was Jesus
 
good point
 
Jesus didn't have very good relationship with the religious leaders of his own religion. But then again, everyone hated pharisees and pharisees hated everone.
 
Maybe that's part of why he was executed.
It if amusing, however, that the symbol of Christianity is the death of Christ. Very fitting.
 
@limelights I'd always prefer a radical solution on those "trouble". Means entirely removing the installation, download latest stable sources and build from scratch
 
11:21 AM
@jAndy yeah, i was just wondering if there was "ah, this is a supercommon problem, do this command" before doing it :)
 
@Zirak I don't respect that symbol
I wouldn't, even if it was historically accurate
 
0
Q: Can't attach Javascript to theme

tmyieI'm currently learning theme development, and tweaking the twentytwelve theme. I've got an external javascript file I'm trying to link, but it won't seem to register. The codex tells me: <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/pathto/yourscript.js"></script> whic...

 
Any short definition of "E commerce"?
 
@jAndy uninstall and reinstalled :) thanks anyways!
 
don't mention it
 
11:27 AM
electronic commerce.
 
@Mr_Green "E" stands for Electronic, "commerce" is the exchange of goods.
 
good thanks
need to know for magento
 
@phenomnomnominal It links to some really interesting articles.
 
yeah he always gives crazy good answers
 
11:45 AM
I didn't know so do fake post edits lol
 
2
A: Why do a blank Ember Object this have a retained size of ~500

EsailijaOk I finally took a good look at Ember source and figured it out. It is because they are using delete. delete tells V8 that "I will be using this object like a hash map rather than real object" and therefore switches to an internal hash map structure to store one's properties in rather than "C st...

 
@Esailija nicely done
 
@BenjaminGruenbaum:Have u found any solution?
 
@Manish Yes
 
@BenjaminGruenbaum:Please give me answer
 
11:54 AM
@Manish Ok I give you answer @Manish
 
@BenjaminGruenbaum:Thanks
 
@Manish You're welcome @Manish
 
@Esailija You know faaaar too much. I might have to kill you in a near future.
 
@BenjaminGruenbaum mraleph btw made new blog post mrale.ph/blog/2013/08/14/hidden-classes-vs-jsperf.html
(finally :D)
@dievardump :P
 
@BenjaminGruenbaum:Send me answer
 
11:57 AM
@Manish Where
@Esailija Yeah, I read it, sounds like something you'd like. I like his blog.
 
did you see my comments on the post
 
Nope, didn't - will proceed to read them now.
 
@gfbaer 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.
 
@benjamin:here
 

« first day (1038 days earlier)      last day (3900 days later) »