« first day (907 days earlier)      last day (4036 days later) » 

4:00 PM
@ryankinal and what if it isn't a jQuery animation? ahaha
 
user2157210
He has future Education in his resume?
 
like.. idk how this even remotely qualifies for web dev
 
@user2266945 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 he randomly lists php
 
BOOYA!
 
4:00 PM
@BillyMathews Then you're screwed.
Again, an educated guess.
 
Yup. haha
 
...it needs to check for > 20 though
 
HTML
XML DOM
 
yeah :(
xml dom?
 
is this really relevant for the web dev application?
 
4:00 PM
I was like ugh wtf
 
HE DOESNT FUCKING LIST JAVASCRIPT
 
well shit interviews in 30 mins I gotta run. Cant wait to ask him questions.
 
user2157210
Ask him if he wants to controll drones
 
@rlemon Oh yeah, just remembered, the links on rlemon.github.io/so-chat-javascript-rules are broken :(
 
HTML, CSS, JAva, PHP,..... no js?
 
4:01 PM
Ill ask him to explain the dom
 
@Loktar oh oh I've got a question
 
user2157210
DO IT
 
@Zirak what?
 
@samus_camus 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.
 
@Loktar I'm pretty sure he's messing with you
 
4:01 PM
@FlorianMargaine oh I wish
 
@BillyMathews what links. I see no broken links
 
this is actually a good resume for a gov dev position
 
@rlemon But he has JScript!
 
@Loktar If you were a strawberry being put in a blender, what would be your last thoughts?
 
like.. this is no joke :(
@Zirak LOL
 
4:02 PM
All of them are # links, not working for me
 
> Oh God my beautiful seeds!
/me leaves
 
Ask him that!!!
 
@BillyMathews .... are you serious?
 
@Loktar PROMISE ME
 
you are reporting a link with the title "link" and the href "#" is broken?
please tell me you are joking.
 
4:02 PM
STEEELLLAAAAA
 
trolling?
pulling my leg?
 
@rlemon I don't understand
 
they are placeholder links dude.
they are not broken. They are doing exactly what I wanted them to do
broken links are links that send you to 404 pages
placeholder links are just rlemon is a lazy ass
@Loktar I want updates on the interview when you are done. which will work out because it's lunch for me now
 
They dont go where I expect them to
that makes them broken, lol
IMO
is that page unfinished though?
 
Every page is unfinished.
Always and forever.
 
user2157210
4:06 PM
"This page is finished"
 
"Amen" is so sexist. Why isn't there "Awomen"?
 
user2157210
because people refer to god as a man
 
"This page is finished" can't see that
 
@AmaanCheval You too. If you were female, would you be called "AwomaanCheval"?
 
Is the bot running under Zirak's account? That sounds like a bot thing to say.
 
4:07 PM
now that's really sexist
god is a girl
 
Because (s)he gets bitchy at certain intervals?
 
and links dont work and I just spotted some generic links down the bottom, its probably unfinished. But why is it posted publicly when unfinished?
 
!!/refresh
 
@GNi33 that's really sexist. God is androgynous.
 
no, she's not
 
user2157210
4:08 PM
Godmale++
 
GodAlanisMorrisette++
 
user2157210
@Zirak Why did you make this poor bot ignore me completly on commands :(?
 
GodTheyReSoStupid++
 
lol
 
@Nexxpresso Me? I didn't ban you.
(should a ban description/banner name be added?)
 
user2157210
4:10 PM
@Zirak so did you change the ban method?
 
user2157210
normaly it said you iz in mindjail
 
user2157210
now it is just ignoring me
 
@Zirak Sounds good.
 
it's just ignoring everyone
 
It's done that for some time. It tells you you're in mindjail once and doesn't bother telling you again (to prevent circumvent spam)
 
4:13 PM
@Loktar I'm too late to suggest you give him this, aren't I? jsfiddle.net/ab52J
 
@Zirak I think the amount of people that get mind-jailed is very small, we all know each other, it's not worth your time, if you want to implement it for fun go ahead.
 
Imagine the bot randomally picking up fights, pinging random users and telling them they suck
 
Is this wrong?
    $(".project_content img").each(function(index, element){
        left = 740 - element.clientWidth;
        console.log(left);
    });
 
left is an implied global
 
4:19 PM
The function doesn't run at all I don't know why
should I do var left = ?
 
wrong selector?
 
> Pater e templo venit.
Sounds about right?
 
Nope I've triple checked the selector
I used a parent quite far up as some pages don't have all the slideshow shit in the way
 
Is the element present at that time?
 
and @zirak an implied globl shouldn't stop the function all together?
 
4:21 PM
No, but it's wrong.
 
@BillyMathews unless you're running in strict mode
 
Well, if you're in strict mode, then an implied global throws an error.
 
@jandvorak, This function is inside $(document).ready
 
@BillyMathews It could cause unanticipated side-effects
 
Yeah, I thought so. I did change it.
 
4:21 PM
@BillyMathews when do the elements it tries to target come to existence?
The page seems quite empty except for javascript
 
On page load, I assume
But I have no idea
 
If the elements are added by javascript, you'll need to rethink your timing
 
i have no idea how to even start to investigate this -___-
 
The selector selects two elements when called from the console
 
@BillyMathews Can you not accomplish the same thing by modifying its style?
Can you not set float right or something?
 
4:26 PM
@Jandvorak you're right, in the network panel in Chrome's inspector, it shows the image starts loading almost 2 seconds(!) after load, initiated by cargo.jquery.package
@Neil no, I need to center it absolutely positioned, which requires some calculating
 
Which means that it's not present when you want to affect it.
 
@everyone What do you guys think of this for a Web Dev interview challenge? jsfiddle.net/ab52J
 
@Jandvorak Yep. Do you know of anyway to listen out for it being created?
 
@BillyMathews trigger an event or fire a handler from the code that loads the element
 
@Zirak Hahaha
 
4:29 PM
You can ask jQuery to tell you about every AJAX it makes, but it's not a nice solution
 
@Jandvorak and if I don't have access to that code..?
I don't even think it's jQuery
@Shmiddty quite a good challenge..
 
As a last resort, you could poll the selector. It's ugly as hell, but it can be used as a temporary solution
 
Hello
 
@user2147954 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.
 
@BillyMathews If you can sacrifice cross-browser support, use mutation events or mutationObservers.
 
4:31 PM
@Shmiddty I like it
not too hard, yet requires some knowledge in both programming and JS
 
Is jquery the alternative to Javascript?
 
jQuery is a library for javascript
 
jquery is an addition to javascript
 
4:33 PM
jQuery is a worse language than JavaScript
 
Thanks,
 
Ok so theres no way I can dynamically position these images with css. Is there anyway I can center them in the div but still have them be able to be on top of each other (like when they are positioned absolutely)
@copy why is jQuery 'worse' than JavaScript
 
@BillyMathews jquery promotes crappy code
 
How so?
 
you have to actually understand the language to code without jquery
 
4:36 PM
I suppose so.
 
@FlorianMargaine I feel like maybe I should remove the note about innerHTML/Text/etc. If they use them, points off?
 
@Shmiddty no
I'd use textContent
I wouldn't use data if I could use textContent, that'd be stupid
 
I feel like the best answer would be to use createTextNode anyways.
 
@BillyMathews You can add padding to the right-hand side of a container of width 740
You don't have to perform the calculation yourself
 
@Shmiddty why? textContent is perfectly fine
why bother with the overhead of using createTextNode + appending it when you can just use textContent, really
 
4:41 PM
@Neil how would I calculate it?
 
@copy Not true, you just misunderstand jQuery, it's hard for programmers trained in 'classical' languages to fully grasp jQuery. Close VIM and open word or wordpad, write code in that, that'll help.
 
All the images will are different widths, btw
 
@FlorianMargaine better compatibility
 
@BillyMathews You don't use absolute positioning
 
@Shmiddty if you want compatibility, you use jQuery.
 
4:42 PM
Rather you assign a padding-left, and on an event, you remove padding-left and assign that value to padding-right and make it float right
 
@JanDvorak I don't think that's the reason jQuery promotes crappy code. X makes life easy means X promotes crappy code isn't why I think jQuery promotes bad code. The problem with jQuery is the same problem people had with sites like DynamicDrive 10 years ago.
 
@BenjaminGruenbaum Yes, I wasn't serious
 
The browser does the positioning calculation for you
 
@FlorianMargaine Thanks for coming in, we'll be in touch.
 
@Shmiddty are you serious?
 
4:43 PM
:P
 
@RyanKinal Dunno how, but that sounds fun
 
if you want IE8 compatibility, you better use jQuery or some abstraction library for all the mess legacy browsers leave behind them
 
@copy Oh wow, you totally had me there for a second, I was sure you actually think jQuery isn't as good as JavaScript. I hear there is a jQuery interpreter written in jQuery, shows you how expressive it is.
 
@FlorianMargaine It only aliases in the current shell
 
But thanks for the tip, I will try this wordpad (or did you mean wordpress, I heard that's awesome)
 
4:44 PM
I should write a brainfuck interpreter in brainfuck
 
@Neil Pretty sure it's been done.
 
@copy Wordpress is bauce, I use it as a plugin in my phpBB board
 
Do Conway's Game Of Life in Conway's Game Of Life
 
@Shmiddty Probably would be easy enough, but it sounds fun to try
 
Brainfuck. The beauty and readability of APL combined with the verbosity of Java
 
4:45 PM
@Neil I don't understand. Doesn't matter anyway as I'm having trouble selecting the elements via JS
I need CSS only
 
@copy been done
 
@BillyMathews Well I was just giving more general advice on how you should handle it. You should avoid absolute positioning if you can help it
 
The reason jQuery is good is because the DOM api sucks (sucked?), AJAX isn't very easy to do (not as easy) and animations are hard to get right cross browser. jQuery does all that very well. On the other hand it's bloated and it hides a lot of what's getting done. That is why jQuery is abused, you can't really use jQuery and not screw yourself unless you use read the source,
which means you understand JavaScript well enough not to really appreciate over 80kb of foreign code that does stuff you can do almost as easily yourself
 
4:49 PM
@BenjaminGruenbaum Well said, just because it 'promotes crappy code' doesn't make it a bad language
and @Niel, I need the elements to be on top of each other
 
@BillyMathews Are you serious? o_O ?
Did you just call jQuery a language ?
 
@BillyMathews Ah well, then I suppose you're obliged to use absolute positioning
 
@copy You do CSS in CSS
 
@BillyMathews jQuery is not a language at all, much less a bad one
 
@BillyMathews Also... run!
 
4:50 PM
yes I did and yes I know
it's because I was thinking back to @copy 's original message, "jQuery is a worse language than JavaScript"
 
Run before the hounds catch up with you!
 
@BillyMathews @copy is what we call here a newb which is short for newbie, he is a new-comer programmer. He just learned what JavaScript was last week. He still has to learn.
 
@everyone Web Dev interview question #2: jsfiddle.net/YTjaR
 
@Shmiddty support which browsers?
 
How about the last anarchy golf challenge? (-10% salary if you do it in more than 40 characters)
 
4:59 PM
-10% salary for every 40 characters XD
 
@BenjaminGruenbaum As many as you deem worthy.
 
@copy is your favicon from Realm of the Mad God?
 
@copy Nah, that has absolutely no bearing on Web Dev. :P
But I guess being a frakkin JS wizard is always a plus.
 

« first day (907 days earlier)      last day (4036 days later) »