« first day (693 days earlier)      last day (3095 days later) » 

5:02 PM
i wonder why it's purple and not another color tho. someone knows why?
 
posted on March 24, 2015 by kbironneau

/* by thureos */

 
@FrontpageExpert Because Rebecca's favorite color was #663399
 
I love my color extension
hot damn that conversation was so cool
 
5:05 PM
(Actually I don't remember if her favorite color was that specific hex code, or if it was simply suggested as a mapping for the keyword value)
 
@rlemon MY EYES
 
you're welcome
 
(extension is cool tho)
@rlemon pro-tip: vertical-align:middle
 
its a WIP
 
5:08 PM
@mikedidthis I've moved to a slightly more managed version of these
 
@SecondRikudo yeah, I am just add it to my base now
 
html { box-sizing: border-box; }
* { box-sizing: inherit; }
 
*, *:before, *:after { box-sizing: inherit; }
 
This makes sure that if you need to change border-box at one element, the change propagates to children
 
@SecondRikudo no
*{box-sizing:border-box;font:inherit}
html{font-family:foo;font-size:12px;}
why would you inherit the box-sizing? it's like inheriting the background color from the parent element
makes no sense
 
5:11 PM
@FrontpageExpert Well, it makes sense for box-sizing to propagate to children.
If I need to change it somewhere down the tree, I want all children to be affected as well.
 
* {
  font-size: 16pt;
}
* {
  font-size: 5em;
}
* * * {
  font-size: 10em;
}
/* have fun suckers ;) */
 
also, pick one and use that, don't mix content-box and border-box
 
@rlemon #shotsfired
 
@SecondRikudo Now I'm curious: if that were truly the case, why didn't they spec box-sizing to be inherited by default?
 
@BoltClock vOv I didn't write the spec.
Maybe it is, I dunno
It won't be inherited for sure if you use * to set it though.
 
5:13 PM
I know
 
@mikedidthis in the msie 5.5/6/7 days, when you had a msie bug, a quick fix was adding *{position:relative;}
actually, *{position:relative;zoom:1}
:D
 
@FrontpageExpert nice! I thought it was an interesting read.
 
i guess position:relative could be set as a default
 
@FrontpageExpert in the 5.5 days the solution was to just say "fuckit" to the css
 
> The selector is processed from left to right in order
wat
 
5:16 PM
since it doesn't make difference as long you dont set top bottom left right
 
@FrontpageExpert XD
 
@FrontpageExpert yeah, and in most cases if you are setting them values, you want either position: relative / absolute.
 
unless you have an absolute descendant, in that case you'd have to override parents with position:static
to get the desired result
 
@FrontpageExpert Add this to a page and open it in IE6
<style>*{position:relative}</style><table><input></table>
 
@SecondRikudo crashes?
 
5:18 PM
> Note: Many implementations of selectors instead evaluate them right to left, as it’s more efficient to do so in many cases. This, as usual, is completely valid, as long as it results in the same elements being returned as the spec’s algorithm would.
 
lol
same goes for overflow:hidden actually
 
I would have to be super careful with that one.
 
most of times you don't have any overflow, and since it's that, setting it to hidden won't change anything in practice
 
popups
 
5:21 PM
but if you have flyouts/popups/tooltips you are going to have bad times
 
^ that
 
because you will have to override the whole parent tree
 
I still need to try collapsable margins and last child
 
did someone had a look at how position:sticky works?
 
What would you like to know?
 
5:23 PM
i'd like to have position:popup-relative and position:popup-absolute, tho. behave like position:relative/absolute but they aren't hidden by parents' overflow
 
mozilla in xul used something like that display:-moz-popup and it was cool
@BoltClock bad ass
@BoltClock like popup-relative and popup-absolute? it basically should create another z-index of elements, popups always stay at the top of everything, and never hidden by regular elements
 
@FrontpageExpert no idea about popups
 
just like the flyout of <select>-one or context menu
 
Not sure how position: sticky interacts with stacking contexts ("z-index of elements")
 
5:29 PM
@cimmanon just curious, do you follow any sort of CSS naming convention (BEM, SMACSS) when using a preprocessor?
 
@WalleCyril background: #F9F9F9; done
 
background: whiteSmoke;
 
!!whiteshadow
 
\o/
 
@rlemon no no no no
 
@BoltClock Not as fancy as yours
 
@mikedidthis fine, be a miserable brit then
SEE IF I CARE!
HEY MIKE! SEE THE SUNSHINE TODAY! probably not.
 
@rlemon I have two kids. I have seen despicable me more times that I care to remember.
@rlemon actually yes. It is a lovely day.
 
I have a girlfriend. I've seen despicable me more times than I care to remember.
 
5:43 PM
@rlemon I'm single. I've seen Despicable Me not enough times to really be happy
it's a great movie
And I cannot wait for the Minion movie
 
@FrontpageExpert jsbin.com/facuhuziki/1 :)
@rlemon did you get your whiskey stones btw? The father in law bought me a single malt. I feel like a king.
 
yes I did
 
@mikedidthis what's that?
 
haven't drank the scotch yet
 
5:45 PM
@FrontpageExpert whitespace and collaspable margins
 
@mikedidthis can't you just do p:last-child, ul:last-child, etc:last-child{margin-bottom:0}
?
 
@FrontpageExpert yes, but if you hide the last child, your buggered :D
 
aaaaaaah right
 
> YOU BLOODY POOPER! PISS OFF!!!! :HONK!!:
 
5:46 PM
> Cheerio.... PRICK!
 
LMAO @ 1:55
 
plus, a special check for .hidden
 
1
Q: Submit buttons in Zurb: do you use an <a> or?

Jeffrey 'jf' LimI'm not really getting the rationale behind the overabundance of <a>s in the code at http://foundation.zurb.com/docs/components/buttons.html; and the lack of representation for the other elements. Short of one mention, and one line, both under the Accessibility section, no mention is made of any...

 
@FrontpageExpert nice. I would only go with mine, as the parent is handles the clearing :P
 
OK... this is just ridiculous
 
5:51 PM
@mikedidthis yea i have no idea of what i'm doing
 
@BoltClock sounds opinionated to me
 
@FrontpageExpert no no, it makes sense. I am just used to parents clearing white space
.box > *:last-child { margin-bottom: 0 }
 
@mikedidthis some of us don't have parents to clean our rooms for us D-:
 
@TylerH har, har :D
 
@mikedidthis rather that, i think the problem is how you are applying margin
why only between the adjacent elements?
 
5:53 PM
the parent usually has some padding on it
 
@mikedidthis how hasn't this guy had an aneurysm
 
@rlemon he vents via vines
@FrontpageExpert yeah, I am used to not knowing the content. Some one will remove all the text and stick a gif in there.
 
@mikedidthis imho it's the text box itself that decides how many margin it needs
not the "container"
well, a gif should be <p><img></p> if that's what you mean
 
yeah, it should be.
 
5:56 PM
that is due to the wysiwyg editor?
 
ok so I ran nmap and have pinged every single ip on my network. none are the fucking device sitting next to me which has internet access from the network
 
<p><img></p> usually is
 
what the bloody piss is this?
 
@FrontpageExpert how I would use it: jsbin.com/magilagatu/1/edit
@FrontpageExpert for context, I work inside out, text, lists etc would already have a margin defined
 
What's this about collapsing margins?
 
6:00 PM
14
Q: How many M&Ms are in the jar?

samthebrandThis question was included in the latest Stack Overflow user survey. It is not a trick question (there are only peanut M&Ms in the jar). 15,486 respondents answered. 80 respondents guessed "a lot," 46 guessed "many", 43 guessed "not enough", and 22 guessed "none." All of these respondents were di...

 
@mikedidthis why are you making your life complicated? :D jsbin.com/rodadajiso/2/edit
my theory is: margin and padding have the same purpose when there are no visible borders. if that's the case either use margin or padding, not both (and most of times it's margins)
 
@mikedidthis What problem are you trying to solve?
 
PIZZA!
 
@FrontpageExpert its just preference. I prefer the box whitespace to be set on the box :P
 
6:03 PM
h2, p, ul,
.box > iframe
{
margin: 20px;
}
 
@BoltClock nothing really. I was just playing with margins
 
@mikedidthis have you considered trying the other way? i'm not showing off, but i faced your same problems long time ago. gimme a me 10min i want to show you something
 
7 mins ago, by rlemon
14
Q: How many M&Ms are in the jar?

samthebrandThis question was included in the latest Stack Overflow user survey. It is not a trick question (there are only peanut M&Ms in the jar). 15,486 respondents answered. 80 respondents guessed "a lot," 46 guessed "many", 43 guessed "not enough", and 22 guessed "none." All of these respondents were di...

noob
 
15
Q: How many M&Ms are in the jar?

samthebrandThis question was included in the latest Stack Overflow user survey. It is not a trick question (there are only peanut M&Ms in the jar). 15,486 respondents answered. 80 respondents guessed "a lot," 46 guessed "many", 43 guessed "not enough", and 22 guessed "none." All of these respondents were di...

 
I LOVE CHEESE
possibly going to crash the browser :?
[].forEach.call(document.getElementsByTagName('div'), function(div) {
  div.innerHTML = '<h3>' + div.innerHTML + '</h3>';
});
removes all event listeners.
but it is fun
 
6:21 PM
> can you tell for sure that content of this will always need 40px padding?
 
> I really don't think 940 M&Ms could fit in that container... – TylerH 11 mins ago
troll :D
 
the answer is "no"
 
6:34 PM
@easwee that's a lot of M&Ms!
 
does anyone know why this angular code is not working
 
Maybe if we had a ruler for comparison...
 
its from a tutorial i am following
 
@TylerH demand a video of them eating out of the jar one by one
 
lol
too late probably
I'll force them to do it again
 
6:35 PM
yeah
 
@lovetolearn have you looked at the console
 
@FrontpageExpert yea with fucking mulder and scully
it's on like Donkey Kong bro
 
@samthebrand I demand a video of them being withdrawn and eaten one by one! :-D — TylerH 10 secs ago
 
@TylerH its a very long list of errors but i think its the link
 
6:41 PM
paging math.se! can someone get the volume of the container and the average volume of each M&M so we can really figure this out? — rlemon 5 secs ago
 
@rlemon will have to account for how they fit together, not just the pure volume
 
@rlemon I did work out that the container would weigh around 9.4 pounds
 
that is why I paged the Math.SE guys
clearly I have no clue what I am doing
 
assuming there are approximately 12 peanut m&ms per 1.7oz bag
so it's realistic from a weight perspective
 
6:47 PM
Assuming the average peanut M&M weighs 1.674 grams (ChaCha said this)
the total weight of the M&Ms would be 3.46911 pounds
 
I need to do my physics hw...
 
@TylerH @ZachSaucier jsh.zirak.me/1aao1
according to the metrics collected here: stat.pugetsound.edu/hoard/datasetDetails.aspx?id=1
note: I only averaged the peanut m&m's
 
in grams?
 
yes
 
6:53 PM
none of those values are close to ChaCha's answer xD
stop distracting me!
!!afk physics hw :(
 
@rlemon using this method, and multiplying out the value of the 153 peanut m&ms, you get a value of approximately 9.44 pounds for 940 m&ms
 
@mikedidthis no.
 
nice
 
153 peanut m&ms have a mass of 397.45 grams
 
7:03 PM
@CSᵠ it's out of stock - they bought all intentionally!
 
lol
rolf
the volume is 1gal
 
or a bunch of nerds ran out to walmart when the posted the survey
 
 
1 hour later…
8:18 PM
@cimmanon ahh ok, thanks for answering.
@FrontpageExpert not at all. I appreciate the help, you know this.
 
8:42 PM
Ted Cruz is signing up for Obamacare
 
@TylerH why so funny? He's right, "I believe we should follow the text of every law, even (a) law I disagree with"
 
@Mr.Alien @SomeGuy Free speech on the internet in India \o/
@ZachSaucier Because the reason he is so famous in the first place is for saying it's so bad and that it's awful and should be repealed, etc.
 
it is
 
It's ironic that he's no enrolling in it
 
but it's still law, lol
 
9:23 PM
@ZachSaucier it's actually pretty good
 
socially, economically, etc.
 
some are js
 
@TylerH I'm a libertarian :P
 
@ZachSaucier I'm a limited statist
 
9:24 PM
@ZachSaucier what's that?
 
but I think universal healthcare is good
 
@easwee it meant I think people naturally choose what's best for them and that ends up being best for everyone
 
@easwee Libertarians believe in anarcho-capitalism
though most people who call themselves libertarians don't agree with that when you tell them about it
 
interesting
some kind of modern punks :)
 
@TylerH I don't know why you say that, I agree
@easwee intellects* ;)
 
9:25 PM
punks are usually quite smart
 
@ZachSaucier experience
 
> China used more cement in 3 years than the U.S. did in the entire 20th Century
impressive
 
saw that
 
but notice I didn't say all :-)
 
they are insane
did you see fake Paris?
 
9:28 PM
China is basically just building the whole world inside its own borders
out of concrete
 
yeah hehe
there's a town in germany that has it's exact replica in china
:D
 
Can't wait for Chinese kids to be like, "Wait - we didn't make the Eiffel Tower?"
 
there are lots of those in Russia
 
one day 200 chinese photographers went through town and photographed every single detail and house
 
9:29 PM
exact replica of several New York City blocks for a planned invasion
 
heh
sick
 
the buildings seriously are crap though
start breaking a part just a few years after constructed
 
probably
 
I speak from personal knowledge
 
home time
 
9:30 PM
the school we were at had a multistory cafeteria and such that I thought had been around since when I was born, was less than 5 years old
 
I live in a 65 years old building and I can confirm we have less problems than the building across the street that is 2 years old
today everyone tries to be cheap on material
 
ok so my brother is allergic to latex apparently, he found out the hard way
his ass swoll up
 
can't tell if usual Stephan inappropriate joke or if it actually happened
 
9:47 PM
@StephanMuller prostate exam right?
or hope lol
 
@ZachSaucier story of my life :(
 
are condoms made of latex?
 
some
 
ok then
 
i use those from sheep guts
 
9:51 PM
@rlemon rachel wants you codepen.io/rlemon/details/yyNLKr LOL
 
OMG GURL COMMENT ON MY WOKR. SHE WANTS ME! HOW DO I CONTACT!~
!!afk need towel
 
:P
 
10:26 PM
@BoltClock or @ZachSaucier stackoverflow.com/questions/29243699/…
didn't one of you guys have an answer to a Q similar to this?
I know it is a dupe, but I feel like one of you had the answer
 
I didn't
though I could answer it
 
hrm
I have seen that discussed in here
but go for it?
 
I don't have time for that
 
Hi! Would you think I would be able to host a Drupal website via a 7-year old Mac desktop? Or would that not be powerful enough?
 
Does anyone know of an Angular directive that will let users select multiple items with typeahead? I have > 1000 items so I can't use a regular select tag with multiple.
Essentially, a tag editor (like Stack Overflow's). I found https://github.com/angular-ui/ui-select, not sure if there's a better one (or a better solution to the problem).
 
10:53 PM
@ZachSaucier this is entertaining youtube.com/watch?v=6BePEs0KS1A
 
lol
seems like a fun guy
 
@rlemon most awesome melbourne bounce remix ever
Better even than the ronaldo one
 
!!youtube ronaldo melbourne bounce
 
that's bad :P
 
well, if anyone wanted a solution: github.com/localytics/angular-chosen looks pretty god
good*
do people still use yeoman?
 
11:32 PM
TIL > and < control playback speed in youtube
 

« first day (693 days earlier)      last day (3095 days later) »