« first day (681 days earlier)      last day (3107 days later) » 

1:00 PM
for some reason it gets the styling from the span :/
when I've already assigned it to class="gallery-item"
so it shouldn't have this style :/ (I mean from the <span>)
 
What he get downvoted to? :D
 
@Sippy its sitting at -23
 
Woooooweeeeee
That's a shitty question!
 
any ideas @StephanMuller ? :/ thanks in advance
 
@Ricky look, if you want help, you need to learn how to provide smaller demos. you keep showing a complex demo where we have to jump through hoops just to get to the problem. so start by finding the SMALLEST possible amount of code necessary to reproduce the problem.
is the problem related to javascript? then why is it there?
 
1:08 PM
excuse me but in order to bring up the video player java is needed
since the container is controlled by java
also in codepen you can close the js window
 
@Ricky i find it highly unlikely that you are using java at all (java !== javascript).
@Ricky the problem with hard coding the markup is what, exactly?
 
@Sippy yeah had a date parsing error in my sql query
 
@DarkAshelin nurb
 
and I will say it again! in order to bring up the pop-up window which is actually the container of the video player (and the divs) is controlled by the java you see. If don't add the java I can't reproduce the problem ...for example the "buttonc" you in html is the id that java uses to enable the popup window.

The problem is in the css. The div with the video player along with its script is using the style from the span . Try click on it and see that there was supposed to be a video player there and all you see is boxes boxes boxes .. and if you click on these you will more of them.
 
posted on March 10, 2015 by paulkinlan

We recently enhanced the Add to Homescreen function in Chrome which allows users to add your Web App to their home screen with the addition of the standards-based “web app manifest”. The manifest gives you extra control over the Add to Homescreen experience, allowing you to tell the browser what to launch, how to launch your app (fullscreen or in a browser window) and how it should appear

posted on March 11, 2015 by mattgaunt

So long XMLHttpRequest fetch() allows you to make network requests similar to XMLHttpRequest (XHR). The main difference is that the Fetch API uses Promises, which enables a simpler and cleaner API, avoiding callback hell and having to remember the complex API of XMLHttpRequest. The Fetch API has been available in the Service Worker global scope since Chrome 40, but it’ll be enabled in

posted on March 12, 2015 by mattgaunt

If you ask a room of developers what mobile device features are missing from the web, push messages are always high on the list. Push messaging is a great feature that allows you to re-engage with your users and provide a smooth user experience with timely and customised content. As of Chrome version 42, the Push API and Notification API are available to developers. The Push API in

 
1:15 PM
whoa jesus
 
but I've assigned the div to the .gallery-item which has no style beside the float. So why is it getting style from the span?
 
@Feeds @rlemon will love this one
 
@Ricky look, everyone's time here is valuable. the more code you add, the less likely anyone is going to be willing to help you. you're clearly not interested in helping people help you, so i am done.
 
cimmanon am I supposed to reproduce the problem if I don't add the parameters tha are needed? If I don't add the java you won't be able to click and see the problem. why is this so difficult to understand?
 
oooooooooooooooooooooooooooooooooooooo
sexyyy
!!> 'fetch' in window
 
1:18 PM
@rlemon "ReferenceError: window is not defined"
 
wait
duhhh
 
@DarkAshelin you asked a question with 23 downvotes?
 
I don't have window
 
wow, i just wasted 2 hours trying to debug my hsl -> rgb functon. the problem was that i was dividing the h value by 255 instead of 360 sigh
 
@cimmanon It's moments like that where we are really proud of ourselves :-)
 
1:20 PM
yesterday I debugged an install that wasn't working for a good half hour before I realized I forgot to run make install
 
well, at least i had everything else right ><
 
and even with the java removed in the updated code (which is as easy as with closing the js window the problem is still the same)
 
JAVASCRIPT
if you call it Java one more time I'm deleting all of your messages
 
the video player is taking the style from the span when it is assigned to another class
 
@rlemon hes not listening to anything anyone is telling him :p
 
1:22 PM
/me preps bulk trash button
 
@rlemon instead of mocking someone and threatening him for not knowing something you could actually be more polite and help him understand what you mean. I don't know the difference from java or java script or script.
 
there is google
you are fixing cars while calling the engine a trunk.
expect people to not want to teach you the very basics when you're already jumping into the deep end.
 
@TylerH huh?
 
here though it's not a teaching class and not everyone who's using stackoverflow is familiar with the correct terminology . you could say that I am calling it wrong which you didn't you went with the threats. If you want someone to make him search google you must make him realize in a nice way that he is saying something wrong.
 
you already have been told java !== javascript
 
1:27 PM
@DarkAshelin I figured you were talking about your own question when you said something like "yeah I was having a problem with X"
 
I don't even know that !== means .. I thought it was some kind of a code
 
@TylerH ah no they were talking about something else
 
now, you can continue to bitch about my attitude or you can hop on google. find the difference, correct your behaviour there and move on
@Ricky time to start learning javascript then codecademy.com/en/tracks/javascript
 
@Ricky You're in the wrong place then.
Unless you wanna pay someone to teach you.
 
@Ricky it means not equal to
 
1:30 PM
But I don't want to learn javascript in order to solve a css related problem with an embedded player :/
is that so wrong?
 
like, what if I came into your house and started calling your cat a pigeon? I think you might want me to educate myself on what a cat is.
 
And I did removed the javascript code from the codepen but the problem still remains and no one so far told me why an assigned to some class div takes the style from the span :/
http://codepen.io/mariomez/pen/OPBVxY?editors=110
 
@Ricky again, if the problem is not related to javascript in any way, the demo should just be the smallest amount of markup + the smallest amount of css necessary to reproduce the problem
there shouldn't be any "toggle to show the content" or anything like that
 
also you divs do not take the style of the span, they contain a span which styles itself
use the inspector and check out the computed styles on the divs. they are fine, nested spans are styled appropriate considering they are spans
 
CodePen really needs a Tidy Up option
 
1:34 PM
I don't see any styles being applied incorrectly.
 
@TylerH it would be nice. its the only thing i actually miss from jsfiddle (other than that, jsfiddle can go die in a fire)
 
I am talking for the div for the player . It's assigned to .gallery-item so i can get a float effect but it does take style from the span (which happens to be the blue header ) :/
<div id="myElement" class="gallery-item">Loading the player...</div>
there is no span inside it :/
 
those divs are not being styled
it is overlaying on a styled span
#vid span /* ohh shit, jwplayer introduces span elements */
like I said, use the inspector and you can see all of this
 
yes I see what you mean then how can I add divs inside a container like vidar for example without taking any style from it ? :/ The purpose was to add these video players inside a container on a popup window.
 
don't style all spans inside of the container
give them a class and style it
 
1:39 PM
@cimmanon I love the minimalism of JSFiddle
 
that was actually helping (now you're talking right) :)
 
it's not overrun with bloat and unresponsiveness and other "ChrisCoyierCrap" all over the place
 
I was always talking right ;)
 
@TylerH i love the fact that i can save using opera on codepen
 
I don't like the codepen editors at all
 
1:40 PM
@cimmanon I don't know what you mean by that
 
I prefer jsfiddle
 
you can't save on other browsers?
 
@TylerH the "save" button does not work using opera (presto) on jsfiddle
it used to work like 2 years ago, but it doesnt anymore
 
ohh god that is better
 
ah I see
well, use Vivaldi? :-P
 
1:42 PM
forgot to enable custom UI stuff in Chrome
 
codepen.io/mariomez/pen/OPBVxY I think its better now @rlemon ?
 
much better
 
@rlemon that brown and yellow, agh
 
I like it
 
That's what mine looks like :D
 
1:42 PM
@TylerH in other words, chrome?
 
question .. why the float and margin doesn't apply to the player like it does with the rest divs ? (you can see them as text below)
they all have the same class
 
@cimmanon no, current Opera is Chrome in other words
Vivaldi is Opera as it should've been from like 2+ years ago
 
@Ricky Start over.
Get all the functionality on the page before you start messing with styling, then you can see when something you do screws something up.
 
? what do you mean
I see
 
1:48 PM
@Sippy I actually like to style my site completely first, and then decide what content I want
that way you know it will always look good
 
@TylerH You're not new to CSS.
 
yes but the thing is that everything seems wot work fine when the div is a normal one with just a text inside . I added to more videos and they are stacked wrong > :/
 
@Sippy yeah I'm not serious :-P
 
:P
"If Zoolander was a web designer"
 
amg
I can't wait for Zoolander 2
 
1:50 PM
Neither can I
 
Their announcement stunt was awesome
 
That was probably the best reveal of the last few years
/ever
 
it's kinda funny that everyone videotaped Ben Stiller's walk
 
:P
 
but no one taped Owen Wilson's on the next platform over
 
1:51 PM
I didn't realise who it was he took the phone from
It's that french vine guy
 
some famous viner
yeah
 
So now I kinda suspect he was in on it which saddens me :D
 
oh definitely
it was planned
 
i cri
 
otherwise they wouldn't have let him stand basically on the runway
 
1:54 PM
yaaa
that space is reserved for posh spice
and beckz
 
@TylerH no, vivaldi uses blink, so i am not really interested.
 
any ideas anyone ? the divs with the players and the divs that have just text are all assigned to .gallery-item { margin: 20px; float: left;} so they can stacked from left to right with some space between them. Even though this goes well on the divs that have the text it doesn't work for the divs that have the player :/
 
@Ricky Stop what you're doing
And learn javascript
Cos that is just awful.
Do you know how to use classes/data attributes/attributes?
 
sippy there is no javascript here.. it's an embedded video player. and just wanted them to stacked in a nice way. I think that css would do the job.
 
@Ricky Well .. there is
You're using it to render the player in your divs.
 
2:04 PM
yes but inside the div ..
the div itself is assigned to a class
 
what's the difference between .home > .red and .home .red ?
 
A) don't put script tags inside divs because wat
B) use a class and some sort of data attribute or something else to define what the div actually is and should contain
That way you only have to use 1 script
 
sippy these are the directions from the JW official website .. I did thought that I could outsource all scripts for the divs later :)
 
@DarkAshelin .home > .red will only select .red elements that are immediate descendants of .home
 
.home > .red only selects the direct children of .home ? So excluding .home .red .red?
ok thx ^^
 
2:06 PM
> == "direct descendant selector"
 
262
A: What does the ">" (greater-than sign) CSS selector mean?

BoltClock> is the child combinator, also known as the direct descendant combinator.1 That means the selector div > p.some_class only selects paragraphs of .some_class that sit directly inside a div, not paragraphs that are nested further within. An illustration: <div> <p class="some_class">Some tex...

Shameless plug
 
@Ricky do they really recommend multiple script inside divs?
 
@Ricky ...
 
not lying :)
they do recommend of having each script along with the div. It does bother me too
 
2:08 PM
@BoltClock I thought that you had 282 upvotes on that
And 282k rep
Would've been some illuminati shit
 
Standards are really low for shit these days
if two numbers starting with the same three digits means Illuminati
 
@Ricky no you can stisl have a single script
 
I bet the real Illuminati are just pissed off that everyone sees stupid shit and thinks its them
 
I know .. I can put all in one script and call it in before the and of <body>
 
"Yo that dog peed on that fire hydrant... Illuminati right there bro"
 
2:09 PM
Probably lol
 
I guess this is the right position since they want the scripts along with the divs . before the body
 
My housemate's gf followed that "Beyoncé is Illuminati" bullshit and she's convinced that Beyoncé runs the illuminati
Like
How thick do you have to be
 
I mean she could
 
@Ricky Their example is dumb, but your use case is not one player.
 
2:10 PM
but I doubt it
 
It's many. For many, you need a different solution.
For that solution, you need to know basic JS.
 
what I said isn't right ? take all scripst on a single file .. named them accordingly and call this file before </body>
 
Also if you don't know how to use dev tools you need to learn because it's easy to find out why your divs stack on top of each other rather than side by side.
 
@Ricky their example assumes you are just having a single player
 
@Ricky That means every time you add something to your gallery you have to add another script section. That's awful.
 
2:12 PM
So what I said above isn't right ?
as a temporary solution
 
@Ricky thats right, i would rather call the whole script onload
 
If you are thinking you can outsource the JS later, you're probably right, but you'll also need to ensure that your HTML/CSS are conducive to good JS. If you don't understand JS then you'll write bad HTML/CSS.
 
bad as me
 
Giving every single gallery item an ID is not a good idea, and initialising a player based on those IDs is a worse idea.
 
Guys I always ask and so far now the my real code i pretty good actually despite some minor things of bad coding
:)
*you can see from the typos that there is a mess in my head :P :P
 
I did removed the scripts on codepen, Now they are on the js window which you can close if you don't like to see :) .. but how can I resolve the styling problem guys? Can I get my divs to float left. They are assigned to the class but this doesnt work .
http://codepen.io/mariomez/pen/OPBVxY
 
@Ricky .gallery-item is floated left
 
yes it does.. but it works only for the divs that have the text
<div class="gallery-item">DIV</div>
 
which makes sense
if there is no text, what is making the space inside .gallery-item?
 
2:21 PM
yes ok .. I know that it makes sense :)
the thing is that it doesnt work for this <div id="myElement" class="gallery-item">Loading the player...</div>
the don't float left and there is no spacing at all
*they
unless!!!!!! if I add them to another div!!!!
what about this?
<div class="gallery-item"><div id="myElement">Loading the player...</div></div>
think it's right?
 
no idea what you are doing, but your JS is nuking the elements with loading the player : codepen.io/anon/pen/YPJedR
 
that way I guess the applied style will affect the player only on its own div and then the whole div will have the assigned style with no confliction with style applied by the js
I need a bravo for this I made it :)
<div class="vidar-bg">
	<div id="vidar">
<span class="headerblue">my divs<a href="#closevid" id="closevid">&#215;</a></span>
<div class="gallery">

     <div class="gallery-item"><div><div id="myElement">Loading the player...</div></div></div>

 <div class="gallery-item"><div><div id="myElement2">Loading the player...</div></div></div>
 <div class="gallery-item"><div><div id="myElement3">Loading the player...</div></div></div>

  </div>
the trick was to put them on a div so the applied from JS style wont conflict with the style from css :)
thank you guys for your help :) @mikedidthis and @Sippy
 
lol no thanks for rlemon because he's mean
 
lol
 
no one has to be mean TylerH I hate this :) people should respect others no matter. this is how I see it :)
 
2:35 PM
@Ricky he was being playful
 
just saying :) ...
 
@mikedidthis or was I.... dun dun dunnnnn
 
the plot thickens
 
hahahaha (reminds me or Rajesh on TBBT)
 
@SecondRikudo Have you seen Acchi Kocchi?
 
2:39 PM
bless you
 
@SecondRikudo I know what you're thinking, stop judging me!
 
have a nice day/night everyone
 
any reason why this doesn't work?
row.on("focus", "select, input, textarea", function(){
    row.removeClass("empty");
    row.off("focus");
})
it goes into the event handler but doesn't remove the class, is row not accessible anymore in the function?
 
2:50 PM
example?
 
well I replaced row with $(this).parent() and it works
except for the .off("focus"), doesn't seem to work whether I do it on the parent or $(this)
 
$(this).parent().trigger('focusout') ?
 
eh, fixed with .one()
 
@DarkAshelin strange though
 
2:55 PM
@NoDownvotesPlz well the row was in a foreach
probably that
 
the event you bind in on select input and textarea.. and you removing event from row.. so was the problem
 
@DarkAshelin glare
@DarkAshelin if row is a jQuery object it should work
 
@SecondRikudo it was :/
 
@SecondRikudo how?
 
the event itself fired, the functions in the event didn't work tho
 
@NoDownvotesPlz yes $('.row') is a jquery object
 
@NoDownvotesPlz Works as intended for me.
Class is removed, and no second alert.
 
@SecondRikudo yeah.. but even if row is a jquery object.. you will need to remove event from all those elements only, not from row , right.. or am i wrong?
coz events are bound to select input, not row
 
@NoDownvotesPlz You need to remove the event handlers from the object which received those event handlers to begin with
Event is bound to row.
Read about event delegation
I must go.
 
@SecondRikudo ok, yeah now i get it..
so again if i add a select, again event will delegate.. so bad of me!
 
3:00 PM
@DarkAshelin While I don't mind you telling me about animes and stuff, I expect you to watch I tell you too :P
 
@SecondRikudo and I will, I just have a heavy case of procrascinating :X
 
posted on March 12, 2015 by kbironneau

/* by Frankie */

 
> procrascinating
@Feeds hey look, a live-action Wall-E
 
console.log(data); //outputs array
console.log(JSON.stringify(data)); //outputs "[]"
javascript pls.
 
the latest chromebook is out
the "Pixel"
uses USB3.1 Type C for power
just like the new Macbook (Air)
$1,000 to $1,300
 
3:15 PM
Anyone else think Google's ironic product names are getting old
Chrome is a project that aims to create a chromeless browser
Pixel is a product that aims to make pixels irrelevant
 
What resources do you recommend for learning Apache Cordova? (books prefered)
 
@mikedidthis ^
 
@BoltClock I wasn't aware of that trned
 
3:30 PM
JS room assemble
 
yo
 
@Cawas self-answers are perfectly fine. creating more dupes is not, it just adds to the cleanup effort. — rlemon 10 secs ago
lol, he got a little upset about that :P
(not my message, the dv's)
 
@SecondRikudo good canonical question? stackoverflow.com/questions/20418169/…
 
The whole point of marking questions as duplicates is so the same answer doesn't get copied all over the place - that's not the kind of redundancy we want. If you want to create more signposts, more power to you, but then copying the answer just defeats that point entirely. — BoltClock ♦ 1 min ago
 
3:40 PM
@DarkAshelin I would imagine not as it has dupes
 
Oops I deleted the answer just as he posted a comment
But I answered him
 
GGBC
 
Any idea why this answer of mine is getting so many upvotes today?
149
A: $(document).ready shorthand

BoltClockThe shorthand for $(document).ready(handler) is $(handler) (where handler is a function). See here. The code in your question has nothing to do with .ready(). Rather, it is an immediately-invoking function expression (IIFE) with the jQuery object as its argument. Its purpose is to restrict the s...

OK not that many, just three. But it is from a few years ago
 
3:46 PM
is sanitizing input with htmlentities() still necessary when I'm using PDO and binding parameters?
 
htmlentities has nothing to do with saving into the db
 
@BoltClock did you just remove that answer?
 
@TylerH Which one?
The marked-as-dupe-self-answer?
 
oh, I was looking at the wrong link
I thought I clicked your link but I was looking at the one Dark just posted
I was going crazy trying to find an answer with 149 upvotes
 
3:48 PM
oh lol
 
anyway @BoltClock the reason is this: meta.stackoverflow.com/questions/287905/…
Meta question asking for a canonical about $(document).ready
everyone's posting potential questions in comments
 
Oh
 
4:04 PM
@BoltClock repwhore opportunity stackoverflow.com/questions/29014540/…
 
7
Q: CSS selector engine clarification?

Sean DunwoodyI've always believed (although I now doubt the validity of these beliefs) that: div.name Was faster than: .name However I've read recently that most CSS selector engines read from right to left, in which case wouldn't the first example actually be slower? As the selector engine would simply...

But what the hell, repwhore it is
 
lol
 
Oh, dynamic pseudos? Sorry I have no idea
 
@TylerH interesting question
 
2015 MDN Fellowship Program is now accepting applications, if anyone is interested in applying.
6
!!afk lunch
 
4:52 PM
http://www.commitstrip.com/en/2015/03/12/we-never-know/
CommitStrip - Blog relating the daily life of web agencies developers
We never know!
CommitStrip
1426178907
 
posted on March 12, 2015 by kbironneau

/* by proudh0n */

 
why is it always SOOO BAD it's funny
is that what they are going for @BasementKeyboardHero
 
My internet is ko. Feels like being in XVII century
 
5:07 PM
ask @SomeGuy, let him speak for his people :P
 
I miss u guys <3
 
wutcha been up 2
 
@FrontpageExpert we miss you too <3 :D
 
speak for yourself
hashtagBURN
 
5:09 PM
Ead lemon
 
~5h of uninterrupted focus not bad x.x
 
Gotta go 3g is fucking expensive. 60€ for 1 hour traffic -__-
 
and they are telling 4g will change our life :D
 
4g over here sucks dick, 3g is stable :P I stuck with a 3g sim
 
5:13 PM
here only 3g but they are setting up 4g network ( and 4g tower kinda looks like guard tower )
 
Talk u later gbye. Lemon i know u miss me #nohomo <3
 
later
 
5:26 PM
@FrontpageExpert Google will have its 4G balloons all over the world soon!
 
5:37 PM
anyone have a trick for having an absolutely positioned child beneath a static sibling but not behind the parent? jsfiddle.net/2s8kke2v
in the demo, I want the grey to be under the text but still showing
 
you want the text to be still showing? Or something else
 
I removed the z-index on content btw because it only applies to positioned elements.
works with any declared value of z-index on the parent container
positive or negative or zero
 
I see
good thinking
thank ya
 
np
bah, this lady put in a ticket for a monitor across the street that is not on
"screen appears totally black"
I'm just sitting here wondering if she tried pressing the power button
 

« first day (681 days earlier)      last day (3107 days later) »