« first day (1494 days earlier)      last day (3461 days later) » 

10:00 PM
@BadgerGirl Are you coming from mexico or are you in the neighborhood already?
Or did you lie on your profile :P
 
i.imgur.com/nhLzIil.png -- i have
<div class="search-box">
<input type="search" value="<?=$_GET['search'];?>" placeholder=" Search" name="search" />
<span class="fa fa-filter fa-inverse filter"></span>
</div>
what to do to make that filter open/close a dropdown like in the imgur on click
this should only happen in mobile view and should take up 100% of width as seen in image
well the filter icon is really only visible in mobile controlled via @media so thats not a problem
im not using bootstrap but am using jquery
ideas?
 
I'm living with @copy now
 
user1596138
@Shmiddty I was all excited started making solid plans for Copper Mountain Dec 19 and then I got set back and cannot do it :(
 
Ah cool
 
repaste code --
<div class="search-box">
<input type="search" value="<?=$_GET['search'];?>" placeholder=" Search" name="search" />
<span class="fa fa-filter fa-inverse filter"></span>
</div>
 
10:01 PM
Yeah, now I get to listen to his comments on php the whole day
 
:D
 
Does he complain about it in his sleep?
 
Yeah
 
@tejas-manohar Eeeeeek don't do that
 
10:03 PM
@PeeHaa why?
do what?
 
Do you know what XSS is?
 
Yes
?
Oh the PHP @PeeHaa I didn't even write that part
 
Well, you are vulnerable to XSS attacks :P
 
user1596138
extended software solutions
 
user1596138
10:04 PM
 
cross site scripting :P
 
@Jhawins hehehe it does what is says on the box I think :P
 
L
@PeeHaa yeah that needs to be fixed but that PHP aside but any idea on my issue at hand?
 
user1596138
lol what
 
user1596138
@tejas-manohar where is your site
 
user1596138
10:05 PM
I want to play
 
play? @Jhawins
 
user1596138
@tejas-manohar You echoed a GET value straight into HTML so that we could play with your site right?
 
user1596138
You're not gonna fix it are you :P
 
user1596138
Well either way I commend you for giving >250 upvotes and not a single downvote. You're a positive fellow
 
i miss @mikedidthis
 
user1596138
@rlemon you're gonna love this
 
@Jhawins rlemon is afk: :( driving in snow storms - if i'm not back in an hour and a half I'm dead
 
user1596138
> Jaden and Willow Smith on Prana Energy, Time and Why School is Overrated
 
@Retsam are you available?
 
@Jhawins lol, i've told the friend writing the php for this, im not writing php for this tho :P
any idea on actual issue @Jhawins
 
Vic
10:12 PM
@tejas : The answer your looking for has to meet up to several different requirements. Why don't you post it as a question on SO instead.
 
@Vic 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.
 
So I am now the guy in charge of our SO careers profile. Whee!
 
user1596138
I am gonna get myself hammered again if I'm not careful lol
 
user1596138
@tejas-manohar first of all aren't you supposed to be using <i> for fa-filter?
 
user1596138
The issue is that overflow right
 
10:16 PM
doesnt matter @Jhawins?
@Jhawins - changed it for you jsfiddle.net/5j6nrgb6/2
 
user1596138
What are you expecting
 
i.imgur.com/nhLzIil.png -- what to do to make filter open/close a dropdown like in the imgur on click -- should take up 100% of width as seen in image -- im not using bootstrap but am using jquery, ideas? -- (releavnt code) jsfiddle.net/5j6nrgb6/2
thats my qeustion
idc about the form html just trying to get the toggle
of some html
at fullwidth
 
user1596138
What. You want to know how to fire an event?
 
user1596138
Are you asking a specific question or are you asking me to write your plugin?
 
plugin?
for this...?
 
user1596138
10:19 PM
What
 
yeah i wanna know how to toggle html on click of a certain item by class so like on click of $('.filter') i wanna toggle some div
 
user1596138
Dude
 
div at full-width is in the css, i guess?
 
Well, fuck. My car is really buried today
 
what route do i take?
 
user1596138
10:20 PM
Idk man someone else is going to have to help you
 
user1596138
Idk what you want
 
@KendallFrey :(
 
toggle display: none on click of $('.filter')
 
user1596138
Well I know what you want for an end-result, but I am not going to write your code for you. If you have a problem please state it, if you have an idea go try to write it
 
sure i dont have an idea on how to do the toggle
just asking what to look up
oh got it
i think
 
user1596138
10:21 PM
$(elem).on('click', function() {
// do your thing
});
 
I hate this snow
6 hours ago, by rlemon
I don't have to shovel the cold.
 
user1596138
!!afk home and ice driving time
 
@Jhawins slacker
 
I hope someone in the family is inspired to get out the snowblower tomorrow
 
Vic
$('.search-box input').on('focus', function() {
$(this).parent().find('.filter').show();
})
 
10:24 PM
@KendallFrey You've got it better than Buffalo (in both snow and hockey)
 
Are you kidding me
Did you see what happened Sunday night?
 
oh
@vic i think i got another solution
lemme paste ina sec
 
@Retsam knckout components is what I was looking for :)
 
Hi! What tool do you use to minify JS ? (Do you usually obfuscate JS on production server?)
 
@FlorianMargaine Oops, was AFK when you sent that last message; sounds like you've got it sorted, but let me know if you need other help
 
10:27 PM
@Retsam nah I wanted a quick overview, reading KO doc was enough :)
 
in angularjs you can't pass parameters in query string?
 
Vic
@Basj Minify js as part of the release procedure
 
@vic any idea why this no work? jsfiddle.net/5j6nrgb6/3
 
@Vic something like jscompress.com ? or are you speaking about another tool ?
 
Vic
Basj: No :)
 
10:30 PM
@Basj I minify before production, because I don't like production to break for whatever reason
 
or @Jhawins
any idea why this no work? jsfiddle.net/5j6nrgb6/3
you can paste me back
i cant tell the error
 
@PeeHaa with what tool do you minify ?
 
Vic
Basj: You don't want to do it manually. Look into gruntjs, gulp or any other framework for task management
@tejas‐manohar w8...
 
in angularjs you can't write $http.get('url?a=12&b=13') ?
 
@JoeSaad Why can't you?
 
10:34 PM
@vic ok
 
@Vic I don't have any task management tool... It would seem complex to add one more layer now... Any ready-to-use minify/obfuscate tool you like ?
 
Vic
@tejas Something like this? jsfiddle.net/5j6nrgb6/4 ??
 
@Basj minification and obfuscation are two totally different concepts
 
@vic hellyeah
 
Vic
@Basj I would encourage you to invest some time in getting your procedures automatic. It really doesn't add any complexity...
 
10:39 PM
it's not seeing my parameters when i start adding..
 
@KendallFrey I mean instead of having "var myfunction() = ".... , having "var a()= " Is that called minification or uglification or obfusc ?
 
@SomeKittens only one parameter will work but as soon as i add & and then the rest.. it doesn't see them
 
Vic
@Basj How do you update your production environment today?
 
@Basj That's neither minification nor obfuscation, that's a syntax error
 
@JoeSaad Have you tried looking at the network tab? What doesn't see them?
 
10:40 PM
@KendallFrey yes indeed :) sorry. But you understand what I mean : shorten the function names / variables, etc.
 
@vic i.imgur.com/nhLzIil.png do u know how to make that full-width effect like in this?
im gonna add a bg
 
@SomeKittens what's the network tab?
 
not sure if typo
or intentional
 
@Basj If the focus is short code, it's minification
 
10:41 PM
@JoeSaad In your browser debug tools
 
@SomeKittens i can write the url in the addressbar and it works but when it is in the $http it doesn't
 
nvm got it
 
@JoeSaad In other words, you're not listening to what I'm saying.
 
@KendallFrey ok! What tool do you use for that?
 
Learn how to use the network tab of your browser's debug tools.
then I will continue to help you
 
10:42 PM
I don't write Js code that needs to be minified
 
@SomeKittens in the developer tools, i'm not getting any errors
@SomeKittens in the network tab, the status is 200 ok for that file
 
@JoeSaad What is the actual request?
 
@Basj Minification is the reduction of characters by removing useless characters (e.g. whitespace and new lines). Obfuscation is the act of renaming variables, functions and other junk (like control flow) to make it all the more unreadable. Uglification is the same thing as obfuscation. Minification is only used to reduce networking, as it's trivial to get readable code back. Obfuscation is a bit harder, but still not quite hard.
 
Good obfuscation is hard
Great obfuscation is for geniuses
 
@SomeKittens here's the $http.get('../php/dml.php?action=ret&entity=11')
 
10:45 PM
@RoelvanUden Ok. I would like to reduce file size (thus minify) + shorten the variables names / function names. Is there an automatic tool for that ?
 
@Basj Sure. UglifyJS comes to me (and the related grunt/gulp task runners)
 
@Basj Are you serving the data compressed?
 
@PeeHaa no
 
Using gzip is an absolute no brainer and will do a ton more than minification :P
 
^ that
Also set the correct caching headers
 
10:47 PM
@SomeKittens so the request passing but seems like the backend can't get whatever after the &
 
And that :-) Version names in your files is probably a good idea ;-)
 
@JoeSaad Sounds like a backend problem.
 
monthly challenge doesn't last for a month :/
well... 1 month would be a while for this task
 
@SomeKittens no! if i put the same url in the address bar, it get the right results
 
super size it! ossm
 
@JoeSaad Glad you figured it out
 
i knew this before trying chatting here.. but now i can't get those values on the backend
@SomeKittens wanted also to verify..
@SomeKittens now in getting in the backend $_GET['source'] doesn't come just like using a regular querystring
 
I need to create function that returns an object that has a prototype chain that is consists of at 5 objects.
 
10:54 PM
@Alon 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.
 
!!tell JoeSaad google angular http php no query
 
@PeeHaa this some funky youtube.com/watch?v=_aY6TxC1ojA !
 
@Alon Congrats! I need to pick up the dry cleaning.
 
@Alon do you have a question or are you just giving us live updates?
 
10:55 PM
how can I do this :)
I need to create some object
 
@SomeKittens ohhh good call, I need my coat dry cleaned and a button sewed back on
var obj = {};
or
 
@CSᵠ Wow that is some proper trippy shit
 
function Obj() {

}
 
@Alon var obj = Object.create({});
 
Or that ^
 
10:56 PM
var obj = JSON.parse('{}');
 
@PeeHaa that's the funkyest music i heard, way funky than the Blue Man Group
 
but my problem is "prototype chain that is consists of at 5 objects."
 
homeworks?
 
yes :(
 
> "that is consists of at"
What?
 
10:57 PM
prototype chain that is consists of at least 5 objects.
 
yay hour drive home going no faster than 10kph!
\o/
 
welcome back \o/
 
@rlemon You survived \o/
 
@rlemon you need to seriously consider buying a helicopter...
 
@CSᵠ No sane person would fly in this weather
 
10:59 PM
var answerTakenFromStackOverflow = {};
answerTakenFromStackOverflow.prototype = {};
answerTakenFromStackOverflow.prototype.prototype = {};
answerTakenFromStackOverflow.prototype.prototype.prototype = {};
answerTakenFromStackOverflow.prototype.prototype.prototype.prototype = {};
answerTakenFromStackOverflow.prototype.prototype.prototype.prototype.prototype = {};
5
@Alon ^^
 
@KendallFrey not sure about the weather at your place, but who's sane here?
 
@SomeKittens uh ?
 
That's.. that's beautiful @SomeKittens ._.
 
rolf it's like the mona lisa of retarded code :))) lmao
 
it's a whiteout outside
 
11:00 PM
If that's not what programming is all about I don't want to internet no moar
 
@SomeKittens so what is the different between proto to this?
 
winds blowing and everyone is driving like an idiot
 
__ proto
 
!!google what is the difference between proto and prototype
 
11:01 PM
 
@rlemon if it's a whiteout on the outside, it means it's time to black out on the inside!
 
@Alon __proto__ has more underscores because it's more sneaky (and thus hidden from regular users).
 
@SterlingArcher no, getting ready for the gym
 
OK thanks for the help
 
I skipped yesterday
 
11:02 PM
@Alon You should only use it with browsers that are also sneaky (like Firefox)
 
@darkyen00 far left is tired of my shit.
 
@Alon if you couldn't tell, we're not trying to do your homework for you. Your question is very broad, and you should have a specific issue if you're been paying attention in class
At least, Kittens isn't. Read the links rlemon posted
I don't know enough proto to help much more lol and i'm going home
PEACE
 
I know that this is stupid thing. I am sorry now I go over the links.
Thanks again
 
@rlemon ?
 
The users at the bottom.
 
11:04 PM
lol
 
Far left is sick of my shit.
 
i imagined
it as to fill from right , but now i realize how terrible it will look when 2 people like it :-/
 
@SterlingArcher If you dump a homework question in here, my sympathy is directly related to the amount of effort shown.
 
STOP
 
HAMMERTIME!
 
11:10 PM
I hope because it's horrible out the gym will be dead
!!afk gym, wish me luck!
 
@rlemon Just shovel your driveway, same thing.
 
@CSᵠ Those people who swallowed an entire studio when they were young never stop amazing me
 
I would like a pizza that has mini pizza bagels as its toppings.
 
this guy is damn good
 
@CSᵠ For a long while, that's what I wanted to do with my life
got pretty good at it too.
Not just beatboxing, but all kinds of sound effects.
 
11:20 PM
I'd like to find that logitech kit (mouse keyb + conference usb mini stereo speaker with headset jacks)
@SomeKittens strange... i played around with that too, still can make a lot of sounds
 
any node.js killers out there? Looking to see what is going to take nodes place haha. Am I right to think web components?
 
@user2626009 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.
 
smoking killed my pitched sounds, that's something i would want back...
 
@user2626009 Why would a browser feature kill a serverside library?
 
@user2626009 why would you ask that here?
 
11:22 PM
@CSᵠ I was inspired by Tom Keith of Prairie Home Companion.
 
because I read that web components and full support for web sockets would soon kill off the angular/node/express abstraction
and all of these are written in javascript
 
@user2626009 "Because someone else said so" isn't a very good argument.
 
Isn't express the only one that could even make sense for?
 
@SomeKittens wow, i never thought i'd hear that again...
node should have a very long life
as long as anything this days could...
 
web sockets is not another async method of transfering io from client to server? Wow you need to get off your high horse this is chat and it said ask any question. People like you are what ruin community's. Its not work, this is a chat room. Should I be watching my punctuation as well?
 
11:27 PM
Regarding your last sentence. Yes, that would be nice.
 
Yes please
Grammar also
 
can i ask here how good or bad is the interactivity of a website that i have developed
 
I didn't hear it, I read it. Numerous places, and it only makes sense because each time this heavy form of abstraction occurs in CS (it seems to be a pattern), soon after it is proven successful they will remove the abstraction by simplifying the api and including it in the os or browser as a native call. Point is - no need to make me feel small by asking what does this have to do with javascript.
 
@user2626009 could you cite some source(s) for this, sounds interesting..
 
Bye now, thank you very much for your time.
 
11:31 PM
@user2626009 You probably shouldn't take things said in here quite that seriously, but anyway, I still don't see how this would affect node.
 
@user2626009 I missed where anyone said WS weren't a method for transferring data from client to server.
 
oh. Ok then...
 
You mentioned Web Components, which are an entirely different matter.
@PradyutBhattacharya sure
 
could... V8 'store' a compiled version of the JS at runtime?
 
@CSᵠ That's kinda what happens
 
11:35 PM
kinda but not quite...
 
I'm not even in the top 10 in this room for understanding what's going on, but my understanding is that V8 compiles the JS right before it needs to execute it.
 
exactly. so i was thinking... store it so it doesn't need to compile it everytime
but for node, this shouldn't be so much of an issue...
 
@CSᵠ That's what happens, to my knowledge.
So now I'm Runnable's StackOverflow recruiter. Whee! Who wants a job?
 
k.. i'll get there when i get there..
what's runnable
fail :)
ohh cool, it's a visited link, played with that :)
 
@CSᵠ I work there
P.S. We're working on a new product.
 
11:41 PM
physically ?
 
...yes?
i.e. in SF
 
EU here
 
Nice, where?
 
@SterlingArcher thanks man
 
@SomeKittens -
 
11:47 PM
You work at Skype?
 
no
 
Clearly a top secret military base of some sort
fires up IP tracer
 
changed mode: silence
 
@KendallFrey He's located at 192.168.1.1
 
Too late, gotcha
You are located at... let's see... where the hell is Tor Endpoint?
 
11:49 PM
no c# at runnable? :)
 
changed mode Arming Missle...
 
ohh, there it is
 
@SomeKittens HOW DID YOU FIND MY ROUTER'S IP ADDRESS H4X0R
 

« first day (1494 days earlier)      last day (3461 days later) »