« first day (911 days earlier)      last day (2877 days later) » 
00:00 - 17:0017:00 - 00:00

00:05
@TejasManohar I'm not sure what you mean, even in that example the menu button isn't vertically centered
00:22
@PeeHaa i dont know how to react to that. on the one hand, he thinks php is terrible... on the other hand, he is batshit crazy
Abe
Abe
00:37
@cimmanon Y U HATE ADODB :P
oh i see @joshhunt
/me got it working via .navbar-toggle, .navbar-brand { padding-bottom: 21px; padding-top: 21px; }
aw man this ain't irc!
Anyone know if BStrap can create something like this imgur.com/uqH7uKv?
or If I need to deviate from bootstrap hamburger menu to do this
 
2 hours later…
03:22
@TylerH -n causes it to count backward. That's all. That's why -n+2 matches only the first two, because when you have -n, n never gets larger than 0
@TylerH absolutely nothing to do with RTL/LTR
n starts counting from 0, and increments once per child element. If n is zero, it stays zero, because zero multiplied by any other value of n is zero. This is why :nth-child(b) matches exactly the bth element and nothing else. If n is positive, it increments by the amount specified by the coefficient. So 2n causes it to step 2 each time. If n is negative, it decrements by that amount, because you're negating the value
The +b is then added to the result and this final result is what matches the child element
03:50
You should post on SO, really
Does anyone know of any JavaScript color picker that doesn't require any external framework?
04:31
@BoltClock could you clean up the mess here also the q's comments
@CSᵠ holy shit he doesn't get it
@BoltClock that's the worst comment shitstorm i've seen in a while
04:58
@Dendromaniac jscolor.com
 
1 hour later…
06:05
@BoltClock wrong, it has everything to do with rtl/ltr
@TylerH I'd like to see a browser implementation that supports your claim
since counting written elements is done linearly
selectors are interpreted by the browser right to left
every browser
inline elements are displayed left to right, first one at the far left, last one far right, etc.
-n+2 starts at 2nd from the left, aka LTR
then -n says go backward
so we're back to RTL
What do writing modes have to do with anything?
they have to do with understanding how the item works
because visual examples of actual code is infinitely easier for a lot of people to understand than words
So only insofar as visualizing them on a (horizontal) number line? What does that have to do with implementation?
06:08
I'm not sure what you're asking specifically
I was having trouble figuring out how -n+2 worked on my own because I forgot that browsers interpret selectors RTL
And I'm telling you that RTL selector matching has nothing to do with it
AKA I was confused about how nth selection works
well if you don't know that browsers start selectors RTL then you have no hope for understanding why selectors select what they do
so I disagree
I mean if it helps you understand that's great but they're not intrinsically related
RTL matching basically says E <cmb> F starts by attempting to match the element to F, if it fails discard, if it succeeds find the next element based on <cmb> and match that against E, rinse and repeat
it's obvious when you're talking about named elements because they are different and unique but when you start just throwing numbers together in a pattern, that's way harder to intuit, at least for me, because I am not a math/analytics person
It has nothing to do with how an+b expressions are evaluated
where E and F represent compound selectors, not lone type selectors
06:12
if -n+2 were evaluated LTR instead of RTL you would end up selecting negative elements, or it wouldn't even work
or, you could think that -n means start from the back instead of the front
3 hours ago, by BoltClock
n starts counting from 0, and increments once per child element. If n is zero, it stays zero, because zero multiplied by any other value of n is zero. This is why :nth-child(b) matches exactly the bth element and nothing else. If n is positive, it increments by the amount specified by the coefficient. So 2n causes it to step 2 each time. If n is negative, it decrements by that amount, because you're negating the value
it's infinitely harder to intuit that -n means change direction when you forget that the browser reads selectors from RTL
3 hours ago, by BoltClock
The +b is then added to the result and this final result is what matches the child element
@TylerH It's only harder if you try to link the two concepts together, because they're fundamentally unrelated
not at all
as a visual person I see relations in visual representations
06:14
Maybe we visualize things differently
you're just stuck on the mathematical/wordy explanation
I think of :nth-child in terms of a number line too. Except RTL matching is nowhere to be found
And I said earlier that doesn't make sense to me because I'm not a math person, I'm a visual person, so I get visual representations way sooner than I will understand a mathematical representation
Counting n backwards is going from right to left on zero on that number line but that has nothing to do with walking from the rightmost compound selector leftward
I'm referring to all CSS when I say RTL, not nth selectors specifically
except in cases where I'm talking about selecting the actual inline elements of my example, in which case block elements and top to bottom could easily be substituted
06:16
That I can understand
the amount of confusion was only because, due partially to the elements I was testing being inline, that the instructions basically caused the "selection" to "reverse direction" 3 times
0
Q: stackoverflow ios application not loading new question

saurabh kamble Hi SO my ios application is not working its only showing request failed when i am trying to load new question. i am getting all the notification but the reference link to which it notifies is not working application is updated to ios 9 and iphone 5s is anyone facing same issue please fix the b...

once in the beginning, like all CSS, to simply know what you're supposed to be selecting, then again, like all CSS, to reach your start point, then a third time because of -n (aka count backward aka turn around aka moving rightward again)
oh my god someone else is doing that bullet point crap
@BoltClock at least he's only done it once
06:22
@BoltClock done thanks for notify — saurabh kamble 13 secs ago
AND HE CHANGED IT TO A BLOCKQUOTE
And this is where cultural differences start biting back
"but our language/culture has always written it this way so I don't see what's the problem???"
And it's why people who use inline code spans to highlight prose approve edits that use inline code spans to highlight prose
How do you explain when not to use blockquote markup to someone who might not even have a concept of quotations?
besides giving them a primer on quotations anyway
06:40
I don't know of a culture that writes exclusively in block quotes
@BoltClock Say "You've made your text a block quote. Block quotes are for quoting paragraphs by other people. There's no need to give special formatting of any kind to your question."
06:54
o/
\o
@TylerH I tried that once and got "what is mean quoting paragraphs by other people"
and I'm just like "am I going to have to keep explaining this every time"
There has to be a better way
07:55
\o
hi all
have a question, I can't do html markup using only <script> element, because all content in script interpret as text, and first </script> close parent script. Is there any ways to prevent this behavior without xml?
that doesn't make much sense
just for lulz
we spoke about html semantic, and one guy say that he can do html slicing using only one tag. I try to use it by script, but fail. Anybody have ideas?
no rly, what you said makes little sense
@degr of course, and the tag is <hr> aka horizontal slicer
08:02
why would you use javascript to create an hr tag?
O.o
script tag have attribute type
this type is work only if I use src?
Take the time to write a complete sentence that contains:
- What are you doing?
- What you have at the moment.
- What is the expected output.
- What isn't working.

Otherwise you ll end up ignored
@cimmanon :D
@Kitler Geez, can't you just mindread? That would make this so much easier
08:12
I m all out of crystal ball juice :(
- What are you doing?http://pastie.org/10512964
- What you have at the moment. http://pastie.org/10512964
- What is the expected output. - list of items using only script tag
- What isn't working. - browser interpret script content as plain text, and not as html, close parent script tag on first closing script
ah yeah that's not how things work
lol
If I set type 'text/html' there is no errors in script
but browser still not allow to include script inside of script. Can I prevent this behavior?
@degr text/html will not interpret the contents as "javascript"
It is, as you label it, only text
Abe
Abe
08:46
o/
|          \o\o\o\o\o\o\o\o\o\o
@Abe fascist
Abe
Abe
:D
and \o
09:09
hi i want to place images in line i used div.. i want to make this
@SajjadKhan what do you have so far? Can you recreate it in jsfiddle.net
wait i'ii
@Kitler how i upload images
you can either upload them to imgur.com and link them or use placeholders like lorempizza.com
@Kitler HERE IS THE LINK
09:25
emirates is legit
expensive though
Guys I want to make Instagram, but better. Bestagram. I work at daycare and having no experience with html. Anyone can make it for me? I am good in Excel!
Has @Abe always had such a low score? :O
@Rvervuurt Awesome.. I was hoping to make a better version of Facebook. Maybe we could team up!
Bestbookagram!
I should warn you, I just now found this computer in the public library and I'm not sure I could turn one on if I had one of my own, but I love to read!
Ooh, that's the book part. Good start!
Abe
Abe
09:30
@Rvervuurt yes. but it's ok, i have a big p*nis
My gf only cares about my SO score
Abe
Abe
lucky you then :D
She was difficult to find, but for that price, I couldn't have done better
So does she like you less when you invest reputation in a bounty?
help me solve the problem i mention the link above
09:35
@Kitler expensive but excellent
flew to Vietnam (over Dubai) with Emirates, would do again (if my parents paid for it again)
hahahah yeah
super comfy flights
qatar airways are pretty damn close
@SajjadKhan maybe if you're less of a dickwad :)
@SajjadKhan This technically solves your problem
lol
09:43
@Abe My boss in a nutshell
@Neil thanks but why we use clear when i give width?
10:13
@SajjadKhan By forcing a line break, the browser doesn't have any difficulty arranging the images
 
2 hours later…
12:43
my dog is such a baby. i went to take him out this morning and it was raining. didnt even get off the property when he turned around and went back to the door, begging to go back inside
Abe
Abe
my dog used to bath in standing water ¬__¬
6 days to make 5 versions of a banner for a special offer that is ending tomorrow. love my clients
13:04
our fantastic over-the-hill consultant decided that he was going to show a new feature at the client. We asked him if he would have wanted to test it prior, and he said no, he trusted us.
That's all fine and good, but today, as feared, there was a problem at the client that there wasn't here..
He'll use it as ammunition when he comes back, but he'll make the same mistake again.. of this I have no doubt
Abe
Abe
of course
@BoltClock there isn't. If they don't understand English you can just link them to ELL.SE
Abe
Abe
14:03
dammit was about to ask you guys upvotes but @cimmanon is around
@Abe huh?
Abe
Abe
it's opinable! close vote! delete vote!
:P
burn it with fire!
also, i am always around. i am a cyborg and do not sleep
Abe
Abe
we cant whore anymore :(
0
Q: Could an instance be equal to some other instance of a more specific type?

AbeI've read this article: https://www.artima.com/lejava/articles/equality.html Basically, it provides a solution for an equals() method that supports inheritance: Point2D twoD = new Point2D(10, 20); Point3D threeD = new Point3D(10, 20, 50); twoD.equals(threeD); // true threeD.equals(twoD); // t...

you can still get upvotes on closed questions :p
also, i dont really participate on programmers
Abe
Abe
14:07
this was the question though. please don't downvote it, people are very harsh already on such questions and downvotes wont help :B
*Reads "Downvote"* *Blindly downvotes*
Abe
Abe
lol
Needs to be edited
...question....please....downvote it....people....already....downvotes....help
You forgot to capitalize the first word of one of the sentences @Abe I'm so disappointed in you
14:09
also "Any idea? :)" is fluff and shouldnt be there at all
Abe
Abe
@TylerH if that's my only english problem i'm fucking great at it then
!!s/english prob.+/*problem writing English, then I'm fucking great at it./
Abe
Abe
@Cerbrus exactly
No cap? Aww
does she support substitutions like that?
14:12
@TylerH :only on room 17
She used to, at least
Oh?
s requires DOM
@TylerH I just realized what the s stands for...
Abe
Abe
you see, already voted down
like this is common knowledge
you cant blame me :p
Abe
Abe
14:23
damn haters
@Abe there are more reasons to downvote something than "common knowledge"
Abe
Abe
for instance?
question is open to everyone to improve it
and i'm asking specifically for a not opinable answer, not Silly Billy's own point of view
Well there's the missing capitalization for one...
:-)
Abe
Abe
1 min ago, by Abe
question is open to everyone to improve it
someone might think it is poorly researched. does it have any close votes?
14:31
I don't have a Programmers.SE account
oh wait, yes I do
but it's only got 103 rep
Abe
Abe
@cimmanon i don't know, not enough rep to see them
!!magic2
(∩ ͡° ͜ʖ ͡°)⊃━☆゚. * ・ 。 ᵀᴴᴱ ᴳᴬᴹᴱ
@Abe I don't know why you were downvoted, just pointing out that you're jumping to conclusions
Abe
Abe
it's just haters
14:42
are you being serious?
@StephanMuller i dont see how that is a bad thing. he's asking for an explanation of something by trying to show how he is interpreting the behavior
i would rather see that than "explain this like i am 5"
How the hell would one accomplish above?
@PeeHaa CSS
Nope tried that didn't work :P
and probably some unsemantic elements like spans
Abe
Abe
14:43
@PeeHaa by buying less beer?
@StephanMuller You have some spare minutes? :D
@PeeHaa you need a minimum of 3 elements to do that, i guess 4 with the dollar sign
@cimmanon 3 should be enough
Or 2, even
i guess if you use :first-letter you could get away with 2
Abe
Abe
14:46
i'd go with 4. more flexibility
@PeeHaa I'm waiting for a jsfiddle with what you tried though
but the text should be written as "$19.99 year" for clarity, your content should make sense without CSS
so you need an extra element for the decimal :p
@StephanMuller I tried dicking around sub/sup which made no sense whatsoever
just use floats.
Abe
Abe
@cimmanon for the point that is hidden you mean?
14:48
@Abe yeah
Abe
Abe
@PeeHaa target browsers?
IE10+
Getting closer with floats. And a lotta spans :P
jsfiddle.net/cnzc1xzf here's a start
does that help?
also start sharing fiddles, not images
Yeah sorry about that
And yes that helps a lot
the nastiest bit is the exact vertical alignment, because different font sizes (and fonts) have different whitespace between the actual character and the line-height limits
as long as you keep everything relative (ems) you should be safe just fiddling around till you got the magic value and it'll still scale
14:55
I thought at some point there was some baselinne property that could help me
also this was just a quick mockup, don't think you need all these elements and classes
baseline is bottom of text, not top
Ah that explains it :P
and since year is positioned absolutely in my case it won't be able to baseline with the 19, same goes for floats
magic meme
but since my wrapper stretches along with the size of the contents its bottom should always be quite near the bottom of the 19 (apart from the lineheight issue) so absolute positioning shouldn't become a problem
floats will make this messier imho
@Cerbrus plnkr sucks
It works and I don't have to manually refresh
Fine for stuff like this
@Cerbrus cool
I'll mash things together
Tnx both!@
except when it cant even function in certain browsers at all.
Get a better browser :P
15:03
Hey guys! How am I able to create this hover effect that is used on this site ( you can see it when hovering over the coloured text passages like Eaglehorn Bow or Webspinner for instance ). When you check out this fiddle , you have that hover effect, but that doesn't scale. When I tried it with more images it just repeatedly showed the same one over and over.Do you have any suggestions?
The credits of this fiddle go to harry who posted this on this post
@IbrahimApachi I don't understand what you mean with "it doesn't scale"
@StephanMuller When I have more than one span with an image it doesn't show different images, just one. Maybe this fiddle makes it clear. I have 2 spans with 2 different images and it just shows one. I would love to show the image that actually belongs to the span
That's because you're using the same ID on two elements, and hardcoded that ID in the javascript
ID's should be unique, and your code should be flexible enough to select the image that belongs to the name automatically
s/should/must/
Browsers ignore repeat instances of an already-used ID
instead of selecting by ID I select by $(this).prev(), aka the element that comes right before the currently hovered span
15:36
@StephanMuller Ewwwww
@StephanMuller Popups activated by JavaScript should be created by JavaScript.
Don't dirty the source code and the DOM with stuff that would potentially not get invoked.
I'm just doing the bare minimum to fix his code
in fact, js isn't required here at all if he put the images after the element and used span:hover + img { display: block }
@StephanMuller That wouldn't reproduce the effect he's after
I'm guessing he wants the card to follow the cursor
we're all guessing here
the popup argument is valid though
currently his code doesn't make the image follow the cursor either
15:49
Really dumb question.

For some reason my overflow just keeps flowing out of my div. The overflow needs to go below. http://jsfiddle.net/c17svrsz/
@StephanMuller Thank you very much for the fiddle and your explanation :)! I am trying to implement it at the moment
@MaartenWachters The text has no spaces so it's seen as one long word, which won't break by default
try it with spaces and see if it does what you want then, or try word-break: break-all on the text divs
Thank you man I didn't have sleep for 48 ours so I know it's my own fault
also just a general CSS tip: you're applying the same styles to tekstdiv and tekstdivr. Why not give both divs the tekstdiv class and then give the right one a second class that only handles the right-alignment?
@TylerH <3
15:56
I've not thought about that @StephanMuller. Thank you
Wait
How do I go about that
<div class="divtekstr, divtekst">?
without the comma
just space?
couple lines of CSS cut out
I did not know that @StephanMuller
yes
8
A: How can I put multiple classes in a <li> element?

TylerHYou can add multiple classes to an element by putting them all in the same class attribute and separating them with a space. For example: <li class='pil dropdown {{ ($aktiv == 'dagvakt') ? 'active' : '' }}'> As far as I know, the spec only allows class to be declared once, so trying <li class=...

(applies to any element, not just li)
15:59
0
Q: Why are these inline-block divs wrapping to the next line inspite of their parent having overflow-x:scroll?

SolaceIn this SSCCE, .wrapper, which is parent, is given overflow-x:scroll. All the child dvivs are given display:inline-block. I was expecting the child divs to appear in a single row, with the fifth and sixth .item not visible until the I scroll rightwards. But instead, the fifth and the sixth .item...

Why are my 2 divs not inside the wrapper though? I'd like it to have a background color and then those 2 divs diffrent
The first rule has so many selectors it takes a bit of scrolling before you see the first declaration
And it's not even entirely the OP's fault. Stack Snippet tidy puts every selector on its own line
Also, body div? I smell specificity hack
@MaartenWachters Because the tekst divs are floating, which takes them out of the flow of the wrapper
add overflow: auto to the wrapper to fix that
or use a clearfix method
lern u some layout, boy
453
Q: What is clearfix?

H BellamyRecently I was looking through some website's code, and saw that every <div> had a class clearfix. After a quick Google, I learnt that is for IE6 sometimes, but what actually is the clearfix? Could you provide some examples of a layout with clearfix, comparing to a layout without clearfix?

answer written by a complete idiot, but it's useful nonetheless
16:04
@StephanMuller Yeah, who is that guy anyway?
He got 484 upvotes on it too
Yeah I know how to clear but I gues I forgot to do it after floating
idk why he adds all that extra shit though
Disagree that display: inline-block is better than floats for block-based layout. Inline-blocks are, as their name implies, laid inline - most layouts are block-based and having these blocks be laid out in an inline formatting context just doesn't make sense. You also have to deal with various issues associated with inline formatting, such as inter-element whitespace, other inline elements, sizing, alignment and so on as a lot of others have pointed out. Granted, float layouts don't make a whole lot of sense either, but at least floats have the benefit of being block-based. — BoltClock ♦ Apr 18 '14 at 10:00
<div class="clear" style="clear:both" />
you don't need inline styles if you use a class, just add the rule to the class
but even better would be to use the clearfix:after { clear: both; } method
oh wait you were calling that shit, in that case yeah you're right
no offense @MadaraUchiha :P
it's a 4 year old answer anyway, stuff was whack back then in CSS land
4 years ago, it was 2011
CSS2.1 had just graduated after a decade-long delay
16:07
You know what annoys me about using Sublime text over notepad++? I can't close my p tag seemingly and its 5 pargraphs
exactly
man, I was probably still using <marquee> in 2011
@StephanMuller slut
I was working for a porn site back then
so yeah
:P
time to go home, good luck @MaartenWachters
you should stick around, we don't have enough Dutch people in here
Not home
Still in class
In university. After this I've got a meeting aswell
I got to make a website and its totally free (designchoice wise). I like some guidelines or like something I can work with. I'm not THAT creative
Abe
Abe
@StephanMuller define enough, because a single @PeeHaa is enough dutchmen for me xD
16:17
@Abe shots fired
posted on October 28, 2015 by Mary Lou

Some effect inspiration for card stacks. The idea is to show animation ideas for positive (accept) or negative (reject) feedback on a generic card element. Effect Ideas for Card Stacks was written by Mary Lou and published on Codrops.

@MaartenWachters use flexbox, it'll be a great opportunity to learn if you have no design restrictions
crl
crl
why can't html id's start with a number?
@TylerH It looks good but I don't have the time to learn that tonight
Exams coming up
got to finish a lot of ****. Rather do it the ways I know (when i'm not drunk or tired) and finish that
oh you have time restrictions
1000
Q: What are valid values for the id attribute in HTML?

Mr SharkWhen creating the id attributes for HTML elements, what rules are there for the value?

crl
crl
16:28
oh well I somehow ran it in html4 when I had this error, thanks indeed it works with numbers
@TylerH so many duplicate/redundant answers ><
Abe
Abe
@PeeHaa that's actually cool :D make a gif
@cimmanon such is the way of those ultra popular '08 '09 questions
@PeeHaa that's your off-canvas menu? :-D
Make a gif of it in action +1
@TylerH Yeah
Will gif it up tomorrow
16:34
\o/
Thanks for all help of you people in here btw
Just remember the deal; our help for the life of your firstborn
2
!!afk noms
@cimmanon @TylerH Always fun getting a "more than 30 answers posted" flag. Back in the day, a question would turn community wiki when it received more than 30 answers
"I can't earn any more rep from my answer just because 20 assholes thought they were oh so original and decided to post their own answers"
@BoltClock someone should clean up some of those shittastic duplicate answers that were added 4 years after the fact :p
Yeah, I could do that if Apophysis wasn't locking up my computer every 5 seconds while rendering
16:49
posted on October 28, 2015

New Cyanide and Happiness Comic

00:00 - 17:0017:00 - 00:00

« first day (911 days earlier)      last day (2877 days later) »