« first day (1472 days earlier)      last day (3471 days later) » 

12:00 AM
didnt know about that, thank you @copy ill take a look
 
Generators might help
Although they're not exactly supported outside of experimental flags in the browser yet
Ok, I'm officially in love with the bootstrap grid.
 
@monners developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/… I tought js was single thread
thanks
 
@monners They are in Firefox and Chromium by default, aren't they
 
js is going to dominate the world.. !
 
12:11 AM
@phenomnomnominal thankss ill take a look at that also
 
12:26 AM
-2
Q: Is it possible to find the computer's password using python?

Seth ConnellI've been working on python for a while, and I was wondering how I could find a computer's password using python. Is there maybe a module that allows you to do this?

potential hax or nah?
 
I supppose it would be possible but, bruteforcing you could take ages..
 
12:42 AM
yo, any ember magicians here? a quick Q – I have an itemController and I have action inside the template that workds fine, I can update the item’s data fine and the renedered HTML is updated properly. I want to do some jQuery stuff on the item’s element and this.$() doesn't seem to work inside controller. How can I access item’s element inside of an itemController?
 
12:54 AM
Naw, I belong to the earth kingdom
 
seems like what I have to do is to use CollectionView and set the item to be view and be able to access the DOM element of the item then with the same collection data
 
@copy I thought they were hidden behind experimental flags
 
zzz
goodbye
 
user2620028
1:55 AM
goodbye
 
ヽ༼ຈل͜ຈ༽ノヽ༼ຈل͜ຈ༽ノヽ༼ຈل͜ຈ༽ノヽ༼ຈل͜ຈ༽ノヽ༼ຈل͜ຈ༽ノ
( ͡° ͜ʖ ͡°)
∧__∧( ͡° ͜ʖ ͡°)
 
@gryzzly I'm an Angular Wizard, sorry
 
2:25 AM
@gryzzly What exactly are you trying to do with jQuery? Is it something you can easily achieve using vanilla JS instead?
 
BIOS:
 
if you change the canvas scale is there a simple way to then reset the scale back to its original 1,1 scale
 
hey guys,I have a problem with node,I am using npm start to run my app but when I do the same with node app.js it is not working
I was following this cwbuecheler.com/web/tutorials/2013/node-express-mongo tutorial when doing this.
Now I am trying to debug my app using node-inspector but it does not work with node --debug app.js
 
2:57 AM
stackoverflow.com/questions/26580481/… better methodology or is regex better?
 
think you mispelt "false" fyi
 
@Dave no I meant falsy
Do you know what that is?
 
never heard of it =/
 
A buddy of mine got a Dell PowerEdge 4600 Server and wants me to work on it.
 
probably seen it before just thought people typed false wrong
 
3:02 AM
@Dave read this :)
 
@Shea nice!
 
thanks @SterlingArcher
 
Yeah buddy!
 
@SomeKittens Yeah, and there's two other similar servers as well.
And get this, they were donated
 
neat x2
 
3:05 AM
All your jQuery are belong to us.
 
please, take it
 
while you're at it, can you take all my fucks?
I have too many fucks to give.
That's Duchess to you, Woodhouse. Now go get me some sand for your dead little eyes. — Sterling Archer 19 secs ago
I hope he's not offended, but he called me Mallory >=|
 
damn, what do I do with this server? lol
!!windows or linux
 
@Shea linux
 
yus
 
3:23 AM
Linux all the way
what were they donated for?
 
@SomeKittens you rooted your chromebook to linux, no?
 
just learning purposes I guess. lol
they upgraded and were going to throw them out, but decided to just let us have them
 
Is... is this a choose your own adventure style programming lesson? — Sterling Archer 9 secs ago
 
@SomeKittens Well that repo comment thread got out of hand fast
It's amazing how easily people can get offended by the seemingly innocuous
 
@SterlingArcher yarp
 
3:33 AM
How do you like it?
Performs well, no lag, trackpad maintains good responsiveness?
I'm looking to do the same
Except no duel boot, maybe, if it increases CPU power for the linux side
 
@monners The mindvirus that makes people think that everyone's entitled to their opinion is one of the worst results of the internet
I closed the thread
@SterlingArcher Done both - no problems with lag except when doing taxing things
 
Hmm, typically my scripts aren't too taxing
I wonder if I can upgrade the ram
I bet it's an integrated motherboard though
 
nah, 4GB should be fine
especially with SSD
 
That's true, my old MBA only had 2gb ram and it ran like a dream
I miss her :( OJ fried the system
Ok I'm sold. Next paycheck after my move in fees are over I'm getting a chromebook
 
er
I wouldn't
I got mine for free
If you're going to chuck 1k+ on a work laptop, you can do better
 
3:42 AM
@SomeKittens Ah, of course. The mind virus.
 
@SomeKittens 1k+? ._. chromebooks are like $200
I'm looking for cheap and mobile
 
3:59 AM
whats the advantage of chromebook except the price?
 
@suish 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.
 
@SterlingArcher Uh, I had a Pixel
@suish The price and the price
Also simple to use, not likely to get a virus
 
Hey does anyone here know AngularJS? Got a quick question
 
somewhat
 
Oh thanks @SomeKittens, do you know if it's possible for controllers to modify an object injected via a Factory ?
 
4:04 AM
 
@Carpetfizz they are singletons, so yes.
 
@SomeKittens, huh had some trouble with it, guess something else is wrong in my code - thanks much!
 
no problem
 
hi
codepen.io/anon/pen/yvLgl in here, the movement logic is between line 68 to 98. the problem is i cannot get the plane to turn during the movement when it gets near the top. it suddenly gains speed and its hard to rotate the thing. what are the possible solutions to fix this?
 
4:24 AM
Hi,
 
@Cooluhuru 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.
 
5:21 AM
is it a holiday today?
 
can some one help me with my canvas - for some reason i can't get the circle to move when i click and drag here: jsfiddle.net/jdszmxd6
 
5:37 AM
@argentum47 Dunno what "today" is where you are, but most people are asleep
also, I can't replicate your problem
 
...10k user using regex for silly dom problem!
 
ews
 
5:53 AM
lol his first argument failed so he spinned up another crazy argument
 
who
 
dat 10k user, silly arguments
> what if iframe will load the src and do something else??
hahaha
 
what does "Your code will also convert to entities the content between tags" this mean
 
@argentum47 I don't like prejudice, but I guess he is not aware about the way DOM handles trees.
No 'illegal' entity conversion will take place.
 
what is entity conversion
 
6:03 AM
lookup html entities
&amp; <--this is an entity
 
lol he deleted his answer
 
:v
would u explain " the way DOM handles trees." & "no 'illegal' entity conversion will take place."
 
he meant that consider the string came as "Hello <iframe></iframe> &gt;"
and putting that in a node will convert that &gt; to <
this will not happen
 
why
 
6:11 AM
because & would convert to &amp; and lt; will stay as it is
 
isee
 
further, that apparent conversion which is taking place is obviously not affecting anything in real. We just need the first iframe tag, why worry...
 
Morning Folks
 
how do you know that & will be &amp;
 
@argentum47 because practice and experience :P
it is listed in a list, you can look that up
 
6:15 AM
no not that
 
then?
 
the fact that it would be converted to its html entity.
 
oh that's because that's how parsing works
It maybe in the spec, you can find that out.
 
w3c ?
 
yeah
@argentum47 w3.org/TR/domcore/#introduction-to-the-dom here, section 9.4, second bullet point
 
6:21 AM
i was just reading that :P
 
note that it is just for your information
section 9 is basically discussing history
all those things are now going to be removed
 
6:37 AM
yess, now that i have read it. i am invincible ..
my plane is obeying newtons first law. :( it continues to be in its state of motion ... as if it were
<vaccum id="canvas" width="800" height="650"></vaccum>
 
stackoverflow.com/a/26582246/3459110 (my cool trick show off :P)
 
whatsup with so many iframe questions. isn't that an obsolete tech (except when it comes to submitting ajax multipart forms )
 
@argentum47 iframes are still awesome... so many big sites use them
 
ew, didnot know that.
 
jsfiddle, jsbin, codepen, gmail (extensively), many chat apps which have to support old browsers, facebook etc...
 
6:53 AM
how does gamil and fb use an iframe!!
 
@argentum47 login to gmail -> f12 -> console -> document.getElementsByTagName("iframe"); -> enter -> surprise surprise surprise!
 
wth. the whole html is in an iframe
no
<iframe tabindex="-1" aria-hidden="true" style="position: absolute; width: 9em; height: 9em; top: -99em;">
<html>
  <body></body>
</html>
werid
 
@argentum47 why is it weird? Every iframe has that.
(almost)
 
i mean its werid that they use an iframe.
i see loads of js. couldn't they use AMD library like reuirejs
 
no idea
 
"Google recently rolled out a new Gmail feature: if you pop open a new little compose or chat window, and then close your main window"

i cannot replicate this . i click on compose (ok), a small modal pops up (ok). now what main window do i close?
 
Hai my query is regarding google plus share.I have include google plus share in my website.Everything thing is fine but if i click share button on google plus wiiindow the content is not getting posted to anyone.Can any one plz help it.
 
@Thaya 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.
 
> July 16th, 2010
whaddya expect? lol
 
7:14 AM
i closed the tab. everything gone, no child window. i close the browser. no child window. i change the page loaded. same.
 
haha me too
I remember it was once present, you can "pop-out" compose boxes and chat boxes.
They would open in a new popup window
and the original window could then be closed, no effect.
 
oh, the article was a good read, but feature expired
why do i not see any js question , but only angular and ember and other library question. >:O
 
7:39 AM
My aim: downvote all questions because that doesn't cost rep!
 
ok, 10 demos to go and I'll be done with those
 
8:09 AM
@Cerbrus ;(
 
Hm?
How about not using jQuery to iterate over an object? You're worried about optimizing your code, but you're using a rather heavy library to do something very simple. — Cerbrus 34 secs ago
 
@Cerbrus I was editing that jquery question, and you edited it live.
 
Ugh, people.
What question?
 
How did you think it was a good idea to submit that edit, without fixing the indentation?
 
8:12 AM
@Cerbrus i unno... I added the jquery TAG!!!!
I have ignored the jquery tag, then this question appeared, and he was using jquery, I got irritated and added it.
 
I don't understand my error in the following code. plz help me.....
http://jsfiddle.net/n4xm87sv/
 
I'm not seeing any errors, @SabbirHossain
 
I just want to pass function using anguar directive
here function is not worked @Cerbrus
 
Seems to work for me
 
plz, check this
 
8:18 AM
@SabbirHossain You're calling func but the function is named demoFunc
 
@SecondRikudo: That's not quite the source of the problem.
 
@SecondRikudo, I want to pass function "demoFunc", how can I do this?
 
@SabbirHossain Call it demoFunc?
 
@SabbirHossain: You are passing demoFunc
 
@Cerbrus, yes
 
8:19 AM
But in your directive, you called it func
 
@SabbirHossain But you called it func in your directive
 
Here: func: "&"
 
Dangit
 
Replace that with: demoFunc: "&"
And func="demoFunc()"> with demoFunc="demoFunc()">
in your HTML
Then, scope.demoFunc = function() { should work.
Oh, and ng-click="demoFunc()" in your template
 
@Cerbrus, now how can I pass argument?
 
8:22 AM
Actually, you don't need demoFunc="demoFunc()" and demoFunc: "&".
Since demoFunc is defined in the directive
Pass an argument to demoFunc, you mean?
 
ng-click="demoFunc('Look at me!')"
 
@Cerbrus I'm not an Angular expert, does angular promote including click handlers in markup?
 
Simple
@SecondRikudo: Why else would it have ng-click?
(Yes it does)
 
is there ~ in JS. like ~~Math.random
 
8:24 AM
@Cerbrus For the same reason we have onclick
How does that work? That sounds like a bad practice anywhere else
 
It works because angular. I'm not sure about it's behavior under the hood...
But I wouldn't want to mess with event handlers manually, when building an angular app
 
@argentum47 yes
 
Especially single page applications that get constructed from (ajax) templates
 
@Cerbrus I really need to learn angular properly
I need to find myself an application and build it with Angular
 
8:26 AM
I was just about to suggest you to build an app :P
 
what does is do?
 
@SabbirHossain: that's not how that works...
 
@argentum47 Bitwise NOT I guess?
@Cerbrus That's not how any of this works!
 
@SecondRikudo: Yeap
 
8:28 AM
73
Q: What does ~~ ("double tilde") do in Javascript?

Shane TomlinsonI was checking out an online game physics library today and came across the ~~ operator. I know a single ~ is a bitwise NOT, would that make ~~ a NOT of a NOT, which would give back the same value, wouldn't it?

 
coolz
 
@SabbirHossain: You can do this: jsfiddle.net/n4xm87sv/7 Or this: jsfiddle.net/n4xm87sv/8
(The first one is how I'd suggest you'd do it)
-1
Q: Displaying images from JSON object when image path is missing

user1841702I have a problem displaying images from JSON. My problem specifically is that I have images stored in a JSON object, however a path 'pointing' to those images is missing. My approach to display the images is as follows: function populateMenuItems(menuitems){ // function argument is a...

So much wrong with this code
 
@Cerbrus, many many thanks
 
Np
 
Np+"m"
 
8:41 AM
4 pens to go, but I also have to go to a funeral now :/ towc.eu/demo
 
why u need to do this?
 
@towc: I once made a mazegen exactly like that xD
Well, twice actually
Once in flash, and once in java / android
 
can you make a rasen shuriken
 
A fun little challenge is to write a solver for the maze...
 
anyone use "find my friends" on iPhone?
 
8:46 AM
Nope. My friends don't need to know where I am 24/7
 
iPhone? the phone that bends. and bends forever?
in india we call it physically challenged :D
 
user image
4
 
lol
 
9:25 AM
How do I know whether or not I'm having a meta-existential crisis!?!? AGH!!!!!!!!!!
 
morning everyone!
 
0
Q: window.navigator.online always return true

user3584634function checkConnection(){ var network = ""; var connection = window.navigator.onLine; alert("connection: " + connection); if(connection == true){ network = true; } else { network = false; } return network ; } I'm developing a cordova mobile applica...

Yikes
 
@Neil what's that?
 
var a; if(b==true){a = true}else{a = false} return a;
Why do people do that -.-
 
@Cerbrus because there brains are too small
 
9:30 AM
@JanDvorak What? A meta-existential crisis?
 
@Cerbrus paid by line?
 
Meta means you're talking about an existential crisis, and existential crisis is not knowing whether or not you exist
So a meta-existential crisis is not knowing whether or not you're talking about having an existential crisis
 
Ugh, code like that is just...
Goddamn\
How about, instead of assigning onLine to a variable, then checking if that variable is true, then returning a different variable when it's true, you just return window.navigator.onLine, instead? — Cerbrus 1 min ago
So, @Neil: That "AGH" of yours was a meta-meta-existential crisis?
 
@Cerbrus Aaaand he deleted it
 
Mornin'
 
9:40 AM
@DrogoNevets "their"
 
@Cerbrus Rofl wat
Boolception
 
@OliverSalzburg meh im dyslexic, i have an excuse
 
@Sippy: That guys just used 2 variables to return a window variable
 
if (online == true) { var truevar = true; return truevar }
Like that?
Because sense.
 
@DrogoNevets I just thought it was worth mentioning, given the message ;)
 
9:42 AM
@Sippy or return online
@OliverSalzburg probably, whilst i like to think my code isnt too bad, that does carry the caveat of "don't look at my spelling"!!!
 
@DrogoNevets If I didn't know that I I'd ask to be fired.
:D
 
var a = window.something.isOnline; var b = ""; if(a == true){ b = true }else{ b = false} return b;
Like that
 
Hahahaha wat
Probably a student
I mean to be fair when I was a student I probably did something equally as ridiculous as that.
 
var b = ""; is baffling also...
A string.. why?
 
Would've been funny if he retorted with "Premature optimisation"
 
9:44 AM
@Sippy it's VERY hard to get fired in the UK, and i always mention it at interview, but my dyslexia isnt so bad its unreadable just not right (like using the wrong there, thier or theyre)
 
@DrogoNevets I meant if I didn't know to return online ;)
It's very hard for you to get fired because you have a legal disability :D
 
So the UK is a good place to be a hippy gun.
 
I think dyslexia is a disability anyway
Not that it really disables you in any way, but as a coder I can see why it'd make things hard.
The dev sat behind me is dyslexic
 
@Sippy no even then its pretty hard, unless it is classified as "gross misconduct"
we have a 3 strikes and your out law basically
 
@DrogoNevets Like the naughty butt tap
 
9:46 AM
there HAS to be 2 weeks between each strike
 
I dunno what we have
I know a guy got fired because he aced the interview then couldn't actually build websites
 
and the company HAS to be able to evidence they have help enable you to improve
 
Some indian guy who practiced passing exams and reeling off information
Had no practical skills whatsoever
 
stackoverflow.com/a/26584728/3459110 shameless self promotion :D
 
@Sippy we have probation periods where within that period (usually 6 months) you can pretty much just get fired on the spot with no notice period
 
9:48 AM
@DrogoNevets Yeah we do as well
I've only seen one person fail it though
 
@Sippy I fired someone a few weeks ago for it
 
@Sippy Indians passing (or even excelling in them) exams have no practical skills. That's how my country is...
 
@AwalGarg Yep, that's how you guys learn, it's why India isn't popular for international education.
 
we have a tech test before interview, which he aced, but when it came to production code, it was just horrible, and he had no idea of OOP or MVC, and we werent going to pay contractor rates for that
 
And why if you were gonna get a degree you should borrow some of Erik's millions and come to the UK or the US to do uni instead :D
 
9:49 AM
@Sippy Yeah... our education system is a POS.
 
@AwalGarg It's a point of sale system?! :D
That's so cool!
Like you walk up to the machine and buy some learnin' and then you know it
That would actually be awesome..
 
@Sippy It's based on a torturing algorithm.
 
Lol
@DrogoNevets Yeaa, my company asks to see code from personal projects for contractors
 
By the number of Indians coming here with totally crap code, I bet that the largest amount of ugly code goes from my country.
 
China
Wrong
They take spaghetti code up a notch and write string theory code.
 
9:53 AM
...and by the number of Indians with superb programming knowledge on SO (many of those moving to other countries), I bet the most number of genius programmers spread in the world are Indians too.
 
@Sippy We recently ruled out a bug in our system as cosmic radiation fluctuation.
 
@SecondRikudo For reals? xD
That may or may not be ridiculous depending on what the system does to be fair.
Pretty tempted to write that on my next commit to TFS though lol
 
@Sippy Nothing that has to do with space
It just appeared for a few seconds, and then disappeared entirely without a trace.
We couldn't repro, even by rewinding the machine's time
 
@SecondRikudo Did you try jQuery?
 
9:57 AM
I would've blamed a glitch in the matrix.
@AwalGarg ffs.
Lol
 
:D
 
ooo who has the new civ game?
 
jQuery is my default browser, anti-virus, Operating System, washing machine, everything.
6
I never get that problem.
 

« first day (1472 days earlier)      last day (3471 days later) »