« first day (1319 days earlier)      last day (3634 days later) » 

AAB
1:00 PM
@ Neil thanks
 
@AAB Np
 
Dammit. Came into work to find my mouse is broken.
 
AAB
@Neil while reading in a few pages it said $ is same as jQuery and its like calling a overloaded function is this correct as well?
 
@RyanKinal posh one?
 
No. Cheap. But it means I have to use my touchpad all day.
Which is lame
 
1:01 PM
@AAB its not as simple as a true false answer
@RyanKinal get a posh one, will last longer
 
@AAB $ is the same object as jQuery, though some libraries use $, so in such cases, you have to use jQuery instead
Not sure what you mean by overloaded function
 
Meh. Maybe.
 
AAB
@Neil thank you for clarifying even I don`t know what it meant ;)
 
@Neil i think he may mean overridden, over loaded means something completely different in polymorphism
 
it's a wrapper object
 
1:04 PM
Also something that's irrelevant to JavaScript
 
But I think override is not the appropriate term here
Not sure if you're familiar with the facade pattern, but that's what it is essentially
It creates a uniform interface by which you can perform operations using the jQuery object
 
room mode changed to Public: anyone may enter and talk
 
Caprica?
I didn't do that
 
@Neil fair point, JS probably doesnt do overrides either.......coming to think of it
 
Used to be quite handy when you had to make js work with internet explorer, though now it's kind of heavy and unnecessary most times
 
1:07 PM
does she auto leave when the mute is over now ?
 
@DrogoNevets Well kind of I suppose. You can override a function, but you're really just substituting it
To be able to call the super version, you'd need to do a bit of work first
 
@Neil NVM beat me to it
 
ring.js comes to mind, though I ask myself if I'd really want to include another library just to be able to use polymorphism
And the answer is usually no :)
 
@Neil ive never needed or wanted to ... that i can remember
 
Maybe it's because I'm used to java
I'm trying to think out of that paradigm
 
1:12 PM
oh noes gallery off don't ping @Illaya now
 
I like him :(
 
I love how my shit JS answers get a ton of rep but my promise ones are always accepted with +0 or +1 haha
 
@BenjaminGruenbaum Because most of us havn't understood it like you :)
 
@BenjaminGruenbaum have you seen the haskell-js-promise Q I posted here today?
 
1:17 PM
@BartekBanachewicz no, link?
@thefourtheye hoisting or promises?
 
3 hours ago, by Bartek Banachewicz
1
Q: Applicative something operator in Haskell

Cristian GarciaI've been trying to implement a Promise in Haskell based on some JavaScript videos. While I already did it like this data Promise a = PendingPromise a | ResolvedPromise a | BrokenPromise deriving( Show ) class Future p where later :: (b -> c) -> p (a -> b) -> p (a -> c) resolve...

 
AAB
jsfiddle.net/7zXZG if i replace form with #b1 the code does not work why?
 
@BenjaminGruenbaum What if I said both? ;-)
 
How to give relative path when calling an exe file from jquery using ActiveXObject? Can anyone help me pls
 
loook
@BenjaminGruenbaum @Illaya is back
in Room for Richa and Illaya, 52 mins ago, by Illaya
@phenomnomnominal wait for a hour I'll be back and you are all will suffer.
 
is this how you make us suffer?
 
@BartekBanachewicz pls I need answer for my question
 
@Illaya SUFFER
 
@Illaya hi friend. What qustion?
 
"calling an exe file from jquery" youtube.com/watch?v=uq-v1TTUyhM
 
1:21 PM
@BenjaminGruenbaum How to give relative path when calling an exe file from jquery using ActiveXObject?
I tried
 
@Illaya oh you're still on that? Ok, If it's been bothering you that long, I guess I can answer it. What browsers do you have to support?
 
@Neil lol that is still making me laugh
 
var file1 = "../ScoreXMLwrite/ScoreXMLwrite.exe";
var MyObject = new ActiveXObject("WScript.Shell");
MyObject.Exec('"'+ file +'" "' + player_name + '" "' + car_name + '" "' + score + '"');
 
No, don't show me your horrible code, answer my question - what browsers do you have to support?
 
IE
 
1:22 PM
I award you no points, and may God have mercy on your soul.
 
Only IE? And, which versions?
 
9+
 
And to clarify, it's perfectly ok if the users will first be prompted with a notification message and only then it will be run? Also, you realize users will have to install your app first in order to run it - is that clear?
 
He doesn't understand english btw
 
For example, you can invoke a local file using a WScript.Shell , not a remote one, if you need to run a remote one your strategy needs to be different.
 
1:23 PM
yeah
 
For example, you can invoke notepad, but not myComputer/myprogram.exe unless the user installed it.
 
ofcourse
 
Ok, in that case, I think it's a better idea to use a BHO (IE Browser Helper Object) in your case - have you considered it?
We've been using those to shim for IE Extensions, they have a lot of elevated permissions and run arbitrary code in whatever language you want to code in - for example C#.
Instead of your code running via an ActiveXObject, which can rain hell on you because it'll require different permissions on each IE and will not work in several settings - a BHO will always run, and has much better hooks than a normal EXE.
Also, if your .exe actually only just writes XML somewhere, you can and probably should do it in JavaScript and not with a .exe file.
 
wb @Illaya
 
1:26 PM
I'm a doctor, Jim, not a nuclear physist!
 
This is the simplest BHO tutorial, the pages are not very clear there, but if you have honest questions about BHOs you're welcome to ask them, there are a lot of good working examples, there is a Greyhound one that's an OK BHO.
 
@Neil then find me scotty!
 
Alternatively, you can use a tool like Crossrider for building IE apps in JavaScript, it has elevated permissions, but it's still more limited
 
I must be in a weird mood today.. I keep getting pop-ups of off-the-wall cultural references today
 
and realize asking "Can anyone help me pls" five times in ten minutes is only going to result in sarcasm and mild contempt
 
1:30 PM
i hate those dogs
 
@BenjaminGruenbaum thanks for your valuable reply, I'll try both two methods and will come back.
 
@CarrieKendall why is your website a file path? or is it ironic? also, huh?!
 
 
i'm shocked he helped the vampire, if that wasn't clear enough ;]
 
1:40 PM
@Illaya for what it's worth - if you just act nicer and more polite here, respond to criticisms people give you and try to take part of the discussion - people will gladly help you with your problems. We're generally a rather helpful bunch. What would help the most is knowing your actual goals in this.
 
@BenjaminGruenbaum sry for asking this doubt. Can I use relative path when to call exe using ActiveXObject from jquery?
 
11 mins ago, by rlemon
and realize asking "Can anyone help me pls" five times in ten minutes is only going to result in sarcasm and mild contempt
 
@BenjaminGruenbaum sry for all to all
 
ouch. I just got a 408 switching rooms
I hate my ISP
 
var req = 'Can I use relative path when to call exe using ActiveXObject from jquery?';
if(!request(req))
    request('Sry for asking so many times, but...' + req);
 
1:42 PM
@Neil thnx
 
@CarrieKendall ah, yes, well poor @illya has his evil ways
 
@CarrieKendall he's tired of watching him run into the garage door.
 
hahaha, rlemon isn't the only one to take over his bot
 
feed him then? ;]
 
in Sandbox, 22 mins ago, by Community
don't know what you mean; only us humans here.... cough...
in Sandbox, 24 mins ago, by Feeds
having fun?
lol rlemon
 
1:47 PM
@Illaya not really, you can but it won't work consistently.
 
@BenjaminGruenbaum I'll be back once I completed my task
 
hurrah finally fixed my functional tests (i think)
 
@user3628408 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.
 
Everyone doing SPAs, google has just completed (I saw the page refresh in front of me right now) JavaScript indexing. You no longer need tooling for that. Google will now execute JavaScript - the SEO JavaScript problem is solved.
14
 
1:55 PM
oh my fucking god
 
how's the nudge command's syntax again?
 
!!tell t1wc help nudge
 
@t1wc nudge: Register a nudge after an interval. /nudge intervalInMinutes message, /nudge remove id to remove, or the listener, nudge|remind|poke me? in? intervalInMinutes message
 
oh, right..
thx
 
@BenjaminGruenbaum that is so great
 
1:56 PM
!!nudge 35 do your stuff
 
flagging the word 'fuck'...
 
@t1wc Nudge #1 registered.
 
@FlorianMargaine It renders every single app we have correctly, including really JS intensive ones, including d3.js code that makes IE10 lag.
 
@BenjaminGruenbaum without the escaped_fragment hack?
 
Now to put malicious JS on my site and take down Google!
 
2:00 PM
0
Q: Google SEO and _escaped_fragment_ in light of Google's crawling changes

Benjamin GruenbaumGoogle has just completed (I saw the page refresh in front of me right now) JavaScript indexing. Which is cool since I no longer need all my tooling for that. Google will now execute JavaScript - the SEO JavaScript problem is solved. So far - awesome. However, I have a bunch of pages I created f...

@FlorianMargaine yes
@FlorianMargaine it actually renders better than on IE11 haha.
 
@mattcutts hi, following recent js improvements, can you answer this developers concern? http://stackoverflow.com/questions/23891555/google-seo-and-escaped-fragment-in-light-of-googles-crawling-changes
 
(Also, yay for not feeling bad for pasting my question because capped)
 
@BenjaminGruenbaum heh
 
@FlorianMargaine ty
 
happy pseudo-monday
:c
 
2:07 PM
@Teemu u thr?
 
A question I saw should be closed. But it has a bounty. What happens in that case. Do you agree we should close it ?
2
Q: How to display Alpha Beta Pruning algorithm resut?

Sharikov VladislavOnce upon a time I created similar question here. It was like: "why I get this error?". Lets rollback and created new one. This question will be: "How to display Alpha Beta Pruning algorithm result?" I found pseudocode of this algorithm on the wiki. It can be found here. My realization is below...

 
posted on May 27, 2014 by Nicholas C. Zakas

Dear Chairman Wheeler, I’m writing to you as a citizen who is deeply concerned about the direction the FCC may take with regards to ISPs. As both a consumer and a technology worker, I rely on the Internet not only as a source of entertainment and information, but also a way to communicate with colleagues […]

 
@Illaya Yep, I'm here.
 
@Teemu now tell me how to do this by using relative path?
 
I'm beginning to wonder the percentage of your code you actually write.
 
2:09 PM
 
@KendallFrey what?
 
means he's ignored you and cannot see your messages.
 
user1596138
Long weekend...
 
Damn, we can't close questions with bounties...
 
@rlemon how to do this?
 
user1596138
2:11 PM
@rlemon I'm using KineticJS. The jQuery of canvas? Either way I like
 
@rlemon cant we just nuke him?
 
dude, how the fuck do you even get dressed in the morning? "Can sum1 help me put on pants. pls?"
10
try being less dependent for once. get off your ass and try to look things up on your own.
SPEAK ENGLISH!
FFS
1 message moved to Trash
 
@Illaya I'm sorry, looks like I've to draw back my comment, we're on the command line, ofcourse the relative paths are not an option.
 
@rlemon in italian it means go on
 
and we're in an english speaking room
 
2:15 PM
can sum1 help me put on underwear pls
 
@Teemu so we can only give absolute path only?
 
It is bad enough I have to put up with his broken "msn speak", I don't want to have to google translate his messages
 
@rlemon I doubt he wrote in italian tho
@Illaya look: all we want to do here is to help and smile at random facts posted here, hence meaning that we all need to be friendly. Just think twice before posting a chat message, and I'm not only talking about grammar. Try googling for what you need before asking here, and then you'll see that we will have no reason for being mean with you
 
@KarenGrigoryan 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.
 
my rule of thumb: if I can copy and paste your exact question into google and the answer is on the first three links.... I don't like you ಠ_ಠ
3
 
user1596138
2:20 PM
!!slidepoop
 
Mar 13 '13 at 1:40, by rlemon
(Random Fact, when rlemon was 13 he pooped on a slide. he isn't proud of it, but he felt it was time to confess. I'm sorry slide.)
 
@Illaya follow what he said and you will be able to live without problems in this neighbourhood
@Jhawins hey!
 
@t1wc oh is it!!! wonderful! excellent speech!! great!!!!
 
@Illaya really, try
 
@t1wc I think you will get an award for this speech
 
2:21 PM
@Illaya you don't seem to get the point
 
@Illaya lol I love how you're fucking actively disregarding whatever is spoken to you
 
@rlemon ok, I no longer feel sorry for the squirrel, we might aswell end his misery
 
@Illaya Hmm... Seems I've tumbled with the paths, use double backslashes instead of slashes in the path, and relative paths work too, i.e. "..\\ScoreXMLwrite\\ScoreXMLwrite.exe"
 
user1596138
@t1wc Yo
 
okey, an hour more
 
2:23 PM
Wow, that Illaya guy doesn't know when to quit
 
@Teemu whom are you talking to?
 
@pratiknagariya 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.
 
has he been muted at long last?
 
chat banned
> This user has been automatically suspended for posting inappropriate content and cannot chat for 57 minutes.
 
@Teemu I presume you're familiar with the term "Help Vampire" ??
 
@JanDvorak Illaya wanted some more info for a question here...
 
@Illaya is one of the worst i've seen
 
hehe
 
@Teemu Who is Illaya?
 
2:27 PM
"how do I do this pls"
"why do you want to do that?"
"if u not help don't talk.... (5 minutes later) Can u help pls"
 
he can be replaced by a very small shell script
3
 
@rlemon Yep, I've nothing else to do just now, but thanks for a warning.
 
user1596138
@rlemon I'm failing on an easy part
 
He's been chat banned twice today because of his antics.
@Jhawins ???
 
user1596138
Hmm.
 
user1596138
2:30 PM
Basically I have a tree.
 
what kind of tree?
Willows are my favorite
 
user1596138
Cut off X limb and all limbs that are extended from X limb disappear. How do I get make this hierarchy?
 
user1596138
It's a weeping willow yeah
 
@t1wc nudge do your stuff
 
oh shit my stuff
 
2:31 PM
@Jhawins that's pretty much any tree
 
!!afk mystuff
 
user1596138
!!tell BartekBanachewicz define sarcasm
 
@BartekBanachewicz [sarcasm](http://en.wiktionary.org/wiki?curid=62533) (uncountable) A form of humor that is marked by mocking with irony, sometimes conveyed in speech with vocal over-emphasis. Insincerely saying something which is the opposite of one's intended meaning, often to emphasize how unbelievable or unlikely it sounds if taken literally, thereby illustrating the obvious nature of one's intended meaning.
Sarcasm is the lowest form of wit.
1898, Winston Churchill, chapter 5, The Celebrity:
 
posted on May 27, 2014

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {} Man, two comics about STDs and everyone assumes you've got one. How

 
user image
2
 
user1596138
2:33 PM
I can just look at the end of each line using it's start and end points and find over lapping shapes, but this seems like an expensive process.
 
so what are you actually doing?
I'm lost.
 
@Jhawins seriously.
 
user1596138
One sec. Making an image
 
and this is so me :p
 
I hate this image
it shows majority of fucktard developers
 
user1596138
2:34 PM
(Remember I have never used canvas before today)
 
and then people think that programmers just randomly mash keyboards
 
@BartekBanachewicz some do
 
and some don't :F
 
#notalldevs
 
Programming isn't hard, after all it's just typing
 
2:35 PM
@neilg 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.
 
@RyanKinal have you Noded?
 
I have Noded... Certified Random runs on Node
 
have you Twilioded?
 
I have not Twilioded
 
coo
 
2:37 PM
@RyanKinal if by that you mean, used twilio, i have
 
Although, I kind of want to write a better SlickText API
 
also, if anyone writes that wrapper you best call it that.
"Twilioded"
 
user1596138
Phone call....
 
just rolls of the tongue
 
@DrogoNevets I have used Twilio. Just in PHP.
@rlemon Agreed
 
2:38 PM
तुम सिर्फ खेल को खो दिया
 
@jAndy I hate you
 
!!
 
@jAndy That didn't make much sense. Maybe you meant: t
 
I wasn't talking to you bitch
 
!!help t
 
2:40 PM
@JanDvorak t: User-taught command: <>http://www.wordreference.com/$1$2/$3
 
!!t
 
@DrogoNevets Input not matching /(\w+) (\w+) (\w+)/. Help: User-taught command: <>http://www.wordreference.com/$1$2/$3
 
!!t a b c
 
user1596138
Ok.
 
2:41 PM
this command is making less and less sense
 
user1596138
 
huh?
 
user1596138
@rlemon when that line is "cut" the shapes and lines further up are removed. Is there any sort of relational system between shapes that you can use?
 
Mornin
 
user1596138
I'm just not sure of the best practice
 
2:42 PM
@Jhawins it's called a tree
runs away
 
user1596138
Ignored bartek for a minute or two lol
 
user1596138
:P
 
@RUJordan g'day
 
user1596138
I need to know how to utilize the tree. And if there isn't already an implementation then I just need to implement my own "tree" of shapes. Which isn;t going to be that hard I just don't want to end up doing it stupid.
 
nope
not unless you use a library
Canvas is bare bones
var tree = [];
function update() {
  update nodes
}
function render() {
  clear canvas
  render tree
}
 
2:44 PM
What's going on?
 
you'll have to track it manually
 
@rlemon I missed the help vamp again :(
 
@rlemon doesn't buckets.js have a tree? @Jhawins
 
user1596138
Well fuck. Alright. I'm glad, that means I can do a barebone hierarchy and save on performance compared to all the unneeded data that would be passing around if I used someone else's.
 
he'll be back.
 
2:45 PM
@RUJordan yup
he's gone now though
 
@BartekBanachewicz idk? I don't use many/any libs for canvas.
 
user1596138
Because that's literally all I need.
 
ahh, buckets.js is something different.
 
user1596138
Thanks! I was using kinetic but there don't seem to be any benefits. I can just write my own drawing functions.
 
@Jhawins no food, drink or shelter needed?
 
user1596138
2:46 PM
@JanDvorak Nope. Just need to be able to cut down my trees :P
 
!!> {} === {}
 
@RUJordan "SyntaxError: syntax error"
 
Why is that a syntax error but [] === [] is false? (and why false??)
 
user1596138
!!> ({} === {})
 
@Jhawins false
 
2:47 PM
expression vs not
 
user1596138
{'string key': 5} // syntax error
({'string key': 5}) // normal obj
 
!!> ({}) === ({})
 
@rlemon false
@Jhawins "SyntaxError: missing ; before statement"
@Jhawins {"string key":5}
 
!!> {a:"a", b:"b";}
 
@JanDvorak "SyntaxError: missing ; before statement"
 
2:48 PM
So I guess seeing if something is an empty array/object is a bit tougher than I thought
 
!!> {a:"a", b:"b"};
 
@DrogoNevets "SyntaxError: missing ; before statement"
 
Array.isArray(arr) && arr.length === 0;
 
@rlemon do you use any data structure library?
 
@RUJordan empty array is easy
 
2:49 PM
@BartekBanachewicz nope
 
user1596138
Just use Object.keys...
 
currently, aside from socket.io and express, I am library free.
 
user1596138
And empty array is super simple
 
well, that is a lie I use a bunch of smaller modules in node
 
2:49 PM
!!> [].length
 
@RUJordan 0
 
oh
Oops lol
 
sounds like libraries are some kind of sickness :P
"I'm library free"
 
s/library/std/
 
s/std/sti/
 
user1596138
2:50 PM
Libraries are a sickness. You use them until you find out how to do it the real way or you realize it isn't going anywhere.
 
and then you create your very own sickness
 
@Jhawins Libraries are awesome if they solve a real problem, and not an XY problem.
 
user1596138
@SecondRikudo This can be summarized from what I said.
 
hmm... I guess my sickness isn't going anywhere.
 
For example, I'd value a good Router, but not a FileHandler, there's no point to a FileHandler in the grand scheme of things, but a good Router is something needed on every app
 
2:51 PM
I value a good beer and a nice lawn chair.
 
user1596138
Either you realize it really is a good thing and you don't ditch it, or this isn't the case and you grow up and ditch it.
 
@rlemon you just described my weekend
 
user1596138
Do we have any backbone users?
 
Wanna see a picture?
 
no one here has anything close to a backbone no
2
 
user1596138
2:54 PM
I went to the Indianapolis Motor Speedway the days before the race all night this weekend. It was insane.
 
My parents house <3 I was drunk by the pool all yesterday
So much ribs and potatoes..
 
user1596138
I did some ~10 hours of travel on the bike
 
user1596138
Not that bad
 
@Jhawins i have used it in the past
@Jhawins reasonable
@Jhawins i joined a daker team (tech support not racer - alas)
 
user1596138
Had a fun time.
 

« first day (1319 days earlier)      last day (3634 days later) »