« first day (1251 days earlier)      last day (3713 days later) » 

10:00 PM
Yes
 
@FlorianMargaine Hey, you know what would be an interesting C project?
Port BISON.js to C
And then make a Python module out of it
 
Why would anyone want to code in C?
 
I would do it in Python
You ask him, maybe he forgot to take his pills
 
@Glen 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.
 
@SomeGuy huh?
I'm on TS if anyone wants to join me
 
10:15 PM
@user2692669 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.
 
@rlemon TS?
 
transsexual
Wait
 
@drumchaps 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.
 
no you were right.
@SimonSarris (TeamSpeak)
 
oooooooooh
that old thing
 
10:22 PM
Hi
!!stats
 
@bjb568 You (http://stackoverflow.com/users/2888561/bjb568) have 1892 reputation, earned 4 rep today, asked 12 questions, gave 111 answers, for a q:a ratio of 4:37.
avg. rep/post: 15.38. Badges: 2g 6s 17b
 
wahoo!
what'd I miss?
 
everyone read that ^ great lul
@SomeKittensUx2666 TS?
I'm so lonely :(
 
Aannndd got the partitions set up
 
10:26 PM
!!stats
 
@Mooseman You (http://stackoverflow.com/users/1234256/mooseman) have 6396 reputation, earned 0 rep today, asked 27 questions, gave 358 answers, for a q:a ratio of 27:358.
avg. rep/post: 16.61. Badges: 2g 17s 38b
 
Why do butts stuff?
 
wut?
 
@Rlemon That link's interesting.
But Node is probably better.
Plus I hate FB.
 
hurr durr node isn't a language
 
10:27 PM
@Zirak Took you long enough
 
it is interesting because the editor doesn't know a damn thing about what he is writing
 
JS is better.
 
@rlemon Oooh, the "programming language of the future". I've never heard that claim before ;-)
 
Whatever.
JS rules!
 
like it is a funny article to read
 
10:28 PM
And Node still looks shiny…
 
0.1Kb/sec. Time to reboot the ol' modem again. ;)
 
Wow… get a new one.
But make sure it isn't your computer, the software (on computer or modem), or something else (aliens).
I think aliens are most likely the cause.
 
@bjb568 trying too hard, much?
 
> The code essentially compiles in the background, as you write it.
 
Trying to do what?
 
10:30 PM
watch out! there is some progress! jsfiddle.net/nsx7X/4
 
I mean if I have to start pointing out the WTFs I will
 
@bjb568 meh, dunno, I'm grumpy and you sound happy.
 
@bjb568 Got the same on my phone. Aliens indeed!
 
That probably shouldn't have annoyed me.
 
@phenomnomnominal That doesn't sound like a problem… you should be happy about being grumpy.
 
10:31 PM
> At a certain size, you’re better off with statically typed languages such as Java, where you’re required to carefully define your variable types. You can’t move as fast with these languages — you have to compile code before running it — but you need fewer servers to run your code, and in the long run, it’s easier to manage what you’ve built.
 
sshfs is the bestest. Thanks @FlorianMargaine.
 
Hack+Dart vs. PHP+JS.
 
> “its chief advantage is how little it differs from PHP.” ........ “While PHP is the most widely used language on the web, it’s unpopular in many places because of its inconsistencies,” he says. “Hack addresses these … and thereby makes the language more attractive to users of other languages.”
 
@Mooseman No
 
@rlemon Amazing how little the article actually says
 
10:34 PM
guy is a tech writer?
sounds like they got the weather man to write a tech post.
2
get on TS
 
I'm not sure whether I'll sound shittier than usual. But in a bit, got some stuff to do first.
uh, cool. turns out I don't have x11 installed?
So awesome runs on thin air.
oh, probably hostname crap. I'll reboot.
Works like a charm.
 
okay, that happens too.
You know what's nice? 1 minute reboots.
 
I would have guessed pancakes, but that's nice too
 
Pancakes aint got nothin on reboots.
 
10:46 PM
after I upgraded to OS X 10.9 Mavericks I had to reinstall Node.JS. I did from the official installer but now globally installed packages are not found by bash. Any idea what I need to do?
 
add the thingie folder to your path?
Wow, that was helpful.
I think it must be Friday.
 
FALSE
 
adding "/usr/local/lib/node_modules/" won't help, the executables are in repsective module folders
 
I'd guess npm would symlink somewhere when doing "install -g"
but where
 
10:48 PM
^ Thursday bitch!
;)
 
@rlemon lulz, the hack website looks like it was written in php (the documentation surely is)
 
Ridiculous question of the day: How do I add <font> tags with JavaScript? It needs to work in Netscape.
 
so many lulz
 
@Mooseman wha...
 
@Mooseman you don't.
 
10:49 PM
@Mooseman You don't.
 
@rlemon not my fault you're living in the past yo.
 
@rlemon Lol.
 
You can just appendChild though
 
@Mooseman nothing needs to work in Netscape.
 
!!tell Mooseman mdn createElement
 
supporting a decade + old browser...
 
createElement is DOM0, it's probably in Netscape
 
Did nobody notice the Ridiculous question of the day title? :o
 
But...
 
no?
 
10:50 PM
@Zirak The problem is Netscape is in nothing, not that nothing is in Netscape.
Well, both.
 
wha...
 
I noticed, a ridiculous answer would be to not questioning why you have to support netscape?
 
@DanRoss 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.
 
@Mooseman We are ridiculous. So we like it.
@Zirak Nobody uses Netscape, so you don't have to support it. Who cares what Netscape supports, when nobody supports it.
 
...why Netscape?
 
10:52 PM
why Kittens?
 
@bjb568 Actually, 0.03% still use Netscape. (Source: gs.statcounter.com)
2
 
^ significant numbers right there ... wait...
 
^ very significant
The 0.03% won't be your customers.
 
hey, he might be selling to those 11 people, you never know.
 
@bjb568 Are you from Sunnyvale?
 
10:55 PM
@SomeKittens Why would you think that?
 
psychic
 
And what's so sunny about Sunnyvale?
 
someone from here is, and I can't remember who
 
Where do you get that data from?
 
NSA
 
10:55 PM
And Sunnyvale, CA?
 
Yeah, CA
/me is in SF FiDi
 
Huh.
Can't you just make up some random location in Silicon Valley, then somebody will think that you looked up their IP?
 
guys, anyone knows where does "npm install -g" symlinks the executables from packages? after upgrading to Mavericks and installing from the Node.js installer I can't get globabl packages to work
 
@SomeKittens, I lived in sunnyvale when I was a kid.
 
Well, I'm in Mountain View.
 
10:57 PM
Lucky! I miss the Bay Area. I had to move out to get a job in Southern California.
 
@bjb568 OMG you're in MV and we didn't meet? :(
 
@gryzzly $ npm bin -g
 
@BadgerGirl Maybe we did.
 
How can I know?
 
10:58 PM
 
What company do you work for?
 
Did you wake up dazed with a tattoo of a battleship on your chest?
 
thanks
 
'cuz that how you know if you've ever met @bjb568.
 
@bjb568 You should visit!
 
10:59 PM
Meh… Real life interactions… Like why?
@BadgerGirl None.
 
I don't know if I've met you then :(
 
any help with this one guys:
0
Q: Javascript Boolean.prototype.toString() unexpected results

Tony CroninWorking through Mozilla's Javascript Reference using my browser console. Looking at Boolean objects. I've come across an unexpected behaviour with the following method: Boolean.prototype.toString() Returns a string of either "true" or "false" depending upon the value of the object. Override...

 
But next time I'm in MV let's meet.
 
@BadgerGirl Meh… Me no likey real life interactions…
 
@Zirak and if after I run "npm install -g package-name" I don't see the package-name symlink in the location I get from "npm -g bin" then something's wrong?
 
11:03 PM
Correct.
 
@Zirak not good
 
I'm just a cat. There's no real interaction there.
 
thanks :-)
 
Gluck
 
@BadgerGirl Maybe I'm totally not a mutant.
 
11:05 PM
0
Q: Promise throwing unhandled error on resolve

JonI have the below code but when resolve is called it throws: Possibly unhandled Error: undefined at Promise$_rejecter (c:\projects\Test\promiseftp\node_modules\bluebird\js\main\promise.js:602:58) at WriteStream.<anonymous> (c:\projects\Test\promiseftp\index.js:45:33) at WriteStream.Ev...

 
!!> Boolean.prototype.toString.apply(Boolean(true));
meh
 
@PotPlant "true"
 
@TonyCronin
Boolean.prototype.toString doesn't receive any parameters.
 
@PotPlant Yerp.
 
@TonyCronin Answered
 
11:12 PM
@TonyCronin Accept ^ :-)
 
@Zirak +1d
 
!!afk work
 
@Zirak That was very fast, btw.
 
After a while you see the lady in red inside of js.
2
Well, most of the times
(bonus points for whoever gets the reference)
 
( :-( )
 
11:18 PM
thanks @Zirak, nice answer and I learned a few things :)
 
@PotPlant Syntax error missing close parens - visual processing, brain
 
@TonyCronin Enjoy.
@TonyCronin You should take a peek at the prototype system, it'll defuse a lot of the mystery in here.
 
thanks @zirak, going back to Mozilla to a) find more questions b)edit the page.
 
@bjb568 Heh, significant whitespace ftw.
 
11:20 PM
There isn't a problem with the page (well, at least not in that section)
 
I'll leave the page, for noobs like me :D Any tips for learning prototype system, resources books ?
 
Boolean.prototype is a boolean; Boolean.prototype.toString works fine. It just doesn't accept arguments, just like true.toString doesn't (they're the same function)
uh, that's a good one actually. I'll try and dig one up
 
I've not come across call or apply before, thats my next port of call.
 
Ohh! Figured it out - User0 is null, User-1 is Community, User-2 is Feeds
 
@bjb568 Congrats
 
11:22 PM
User-3 is Qt...
 
@Zirak ty! I've never seen it all the way through.
 
@TonyCronin They're pretty cool, they allow you to set the this value of functions.
 
@Zirak, almost ruby-esque. or are they from lisp?
 
It's Lispy
You can do quite powerful functional programming in js.
 
11:24 PM
You could throw bind into that mix too.
 
bind is my lover
I'd marry that function
 
@Zirak, I'm coming from a classical background, so this is all very new to me.
 
It's ok, everyone has this culture shock.
 
but \o/ javascript.
 

Javascript Resources.

Sep 4 '12 at 13:36, 2 minutes total – 8 messages, 1 user, 1 star

Bookmarked Sep 4 '12 at 13:40 by rlemon

That's our canon, sorry I can't think of anything specific
 
11:26 PM
It's cracking, as we say in Ireland
@Zirak I'm off now to read 'the good bits' by crock ford, then back to backbone, then back to Mozilla. thanks again.
 
np, enjoy
hrm. I just thought of a really bad joke. If someone tells you "wb", then you can yell at them for trying to write to you in binary.
Yes, that's quite awful.
 
@ArgGeo 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.
 
There's also this now: speakingjs.com/es5/index.html
 
I've not read it, but his blog is good.
 
11:30 PM
He lies
> var func = jane.describe;
> func()
TypeError: Cannot read property 'name' of undefined
Oh wait, nvm, strict mode
 
could some one tell me how I can send a piece of code to the firefox web-developer console the pull it's output and set it as a window.open(value)?
 
uh, you want to eval some js code, and pass the result as an argument to window.open?
 
Sounds XY-y.
 
You can always, you know, just write the code.
So instead of say console.eval(code); just code
 
more like use the console to retrieve the current URL of an I-frame and set that URL to the window.open
 
11:35 PM
And what's the difference between running that code in the console and just running it?
 
well when I run this code through the file it only returns the folder path. but when I put in the console it actually returns the proper URL that the iframe is showing
so running the code from the file returns this: /D:/My Documents/undefined. and running the same code in the console returns this:"https://pilot.wright.edu/d2l/home"
 
Fun fact: When my kid watches "Terminator" I will have to explain the concept of a phonebook, but not an autonomous robot killing machine.
 
@DavidConde 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.
 
and I just tried the console.eval(document.getElementById(...).src) and it returns the same thing as it did when ran from the file
 
11:52 PM
@CS_STEM, it sounds like when it returns the path it found the path before the iframe was initialized. After the page has fully loaded the console will, of course, be able to find the path. I suggest you delay your code using jQuery $(document).ready( function() or have your code trigger when you press a button so that you can make sure that the iframe is there before pressing the button.
 
the I-frame is always in the window. and the event is triggered by a button but it is still returning the folder path.
here is what the button is running as of now:function t7() {window.open(console.eval(document.getElementById('i').src));}
 
@DoubleD84 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.
 
$(document).ready(function() {$("#signup_submitted_address").DefaultValue("XXXX");});
There is no element with the id signup_submitted_address
 

« first day (1251 days earlier)      last day (3713 days later) »