« first day (923 days earlier)      last day (2865 days later) » 

7:00 PM
@AmericanSlime Do you mean :not and :before?
I think you would call :before first
 
What I typed works just fine, what doesn't work is this...
 
ul li:not(:nth-child(1)):before, ul li:not(:nth-child(2)):before doesn't work.
 
does the second one work on its own?
if not then it's probably just a bad selector, not an incompatible chaining attempt
 
Yeah, they work if the selectors are separate, but if I throw them into the same declaration they don't. I was just wondering why CSS can't do it?
 
7:02 PM
do you have a jsfiddle demo of what you're trying to select?
I think it isn't working because you have two conflicting :not() selectors at the same level of specificity
even separately they're canceling each other out
 
Let me see...
 
@Abe wut
Go back to Italy
 
Abe
mama told me
 
Abe
7:07 PM
one doesn't simply remix lynyrd skynyrd
what is this shit
 
hehehe
waits for Abe to flip his shit
It's like somebody buying a Ferrari and then changing the gearbox for an automatic
 
Abe
just commented
Y U DID DIS TO LYNYRD SKYNYRD
worst remix i have ever heard
 
10
Q: Combining :not() selectors in CSS

pimvdbI'm trying to select all tr elements inside a table, except the third and fourth. I managed to do so by using: #table tr:not(:nth-child(3)):not(:nth-child(4)) I'd like to combine those selectors because I've some more :nth-child entries. Something like this, but it didn't work: #table tr:not(...

 
@TylerH Thank you. That's exactly my problem.
 
np, sorry it doesn't work... it will some day!
 
Abe
7:13 PM
@TylerH youtube.com/watch?v=uB85RY2Xk_U this though is ok
not exactly a cover
 
Have a strange problem: I have a table view that can be expanded to show the comments on the next line (so essentially another row). The only problem with having two <tr> elements is the clickable area / hover effect only can target one of the <tr> elements, not both.
Is it possible to have some sort of non-TD elements within a <tr>? Can't seem to get that to work. Or is it possible to have some sort of selector (like a <span> or <div>) that surrounds both of the <tr> elements? So a hover effect can style both <tr>'s
 
Do you know the number of rows in the table?
 
crl
I'm confused with flexbox's align-content and justify-content
 
rows will be dynamic (driven by a ng-repeat)
 
Abe
@Mattc0m you can use tbody but it's probably not a good idea
 
7:17 PM
http://www.commitstrip.com/en/2015/11/09/parents-will-understand/
CommitStrip
Parents will understand
CommitStrip
1447096402
 
You can put any tag inside a table, just doesn't meant it will validate.
 
@crl how so
 
crl
@Mattc0m sounds like a bad choice to use tables there
 
What's your selector? It sounds like it might not be right if it only works for one.
 
Maybe it's an angular thing, but when I try ot put a <div> after the <td>, it just knocks it out ot the <table> lol
 
Abe
7:19 PM
justify-content main axis (the one specified by flex-direction)
align-items cross axis (the opposite of the above)
align-content cross axis (same as above, but when flex-wrap is in use)
 
This is sort a "before" and "after (it's working with two seperate <tr>'s, just for UX purposes it should act as a group)
 
crl
@TylerH they seem to do the same thing
 
Abe
@crl though i completely agree that properties were named by a monkey
 
crl
ok
 
justify is spacing
align is alignment
do you have Microsoft Word?
 
Abe
7:21 PM
@TylerH it's stupid. end of it
was much better the naming in flexbox 1
 
Tbody might be an option like someone suggested.
 
crl
@TylerH yes
 
@Abe Your English is terrible :-P
 
Abe
@TylerH tell me something i don't know
 
I still don't understand how you're defining/handling the hover effect.
You have something like tr:hover ?
 
7:22 PM
@Abe Glenn actually isn't dead
@crl If you open up Word, look at the align options in the ribbon
 
Abe
@crl the only redundant thing you can find in flexbox is align-self, which does the same thing of align-items
 
the first three align it to the left, center, or right edge
but the 4th one is justify, which "aligns" it to both left and right edges, AKA it spaces out the content to fill
 
Abe
actually "the only" made it sound like it's ok. it's actually really bad. one property should have been enough
 
@crl this might be helpful: Flexbox Playground
 
Abe
(don't use align-items - always use align-self instead)
 
7:24 PM
(don't use flexbox, always use tables instead)
:-D
 
Abe
i don't disagree
i will disagree in 2017 though
:D
(hopefully)
 
crl
(word 2010)
 
flexbox support isn't that bad
 
@crl that's the version on this computer too
@joshhunt yeah it's pretty good
each major browser has like one or two individual kinks
 
example?
I know IE10 has some issues and uses the old syntax
 
crl
7:27 PM
@Abe ok
@joshhunt nice!
 
@TylerH found a couple here is that what you are talking about?
 
yeah
from there and just recalling from memory
 
Abe
@TylerH i wish it was true
 
tbody seems to be working, thanks @Abe @AmericanSlime
 
7:30 PM
is doing an ng-repeat on a tbody going to get my front-end devs upset with me? haha
 
Abe
@Mattc0m probably
 
>_<
 
crl
but the space-around is deceiving, (they should have managed to put equal spaces everywhere even start and end)
 
Everyone else rejoice
 
wooo need that here as soon as possible :D
 
crl
7:33 PM
Also I wish you could do justify-content: stretch
 
I've never felt the need to use the flexbox or any of that stuff. What happened to old fashion columns in line?
 
omg yes it can be used to whiten teeth too
 
box-sizing:border-box has solved all my problems.
 
I'm so upset because I have caps on my two front teeth so they are stuck the color they are
 
Abe
@crl that's flex:1 1 auto;
 
crl
7:34 PM
@Abe I love you, for the children?
yes, guess so
 
Abe
on flex items
 
crl
ok
> align-content cross axis (same as above, but when flex-wrap is in use)
 
Abe
jsbin.com/kugaqakure/edit?html,css,output can you see me editing live here?
@crl ^
 
crl
yes, nice
 
Abe
7:41 PM
still on it? :P
 
crl
watching yes
 
Abe
now justify-content has no effect if flex items are flex-grow > 1
because flex grow makes them fill the space in the current axis line
 
crl
yes, it's flex: flex-grow flex-shrink flex-width? < what does the last do
 
Abe
that's flex-basis
the last one
 
crl
what does it do?
 
Abe
7:43 PM
tells the intrinsic size for the calculations
 
crl
ok
 
Abe
it's like min-width/height but without enforcing the shrinking
means that flex:basis:50px will grow starting from 50px if there is more space available
 
crl
oh, ok
 
its more like "this is my ideal width/height", it doesnt force a minimum
 
thanks again for the help, cheers guys
 
Abe
7:45 PM
or it will shrink starting from 50px if the container is not large enough to contain it
@cimmanon yes
@crl still checking?
 
its like setting a width on table-cell elements
 
crl
yep
 
Abe
when items shrink but you have flex-wrap:wrap, it will put them on multiple lines
 
crl
yep I know a bit the wrap ones, you can do a snake with them
 
Abe
align-content determines of the wrap will work on the cross axis
 
7:48 PM
I'm developing a board game called "Requirements". It's like battleship, but instead of a number/letter grid, it's a grid of design faux pas.
 
crl
ok, they should have called it wrap-align or something
 
I can't get the grid layout straight though. I'm thinking it's interation and then element
 
crl
wat? there are more than one nth-child(1) matched?
 
Abe
align items instead controls how items are aligned within the single row, in the cross axis
 
So, "Sliding Dropdown"
"Miss."
"Spinning Select Box"
"Hit"
 
crl
7:50 PM
wait, what did you change?, what did you do to match all first row first?
 
Abe
not much
read the code
 
@crl you sure ask a lot of questions for someone who claims to have a css certification.
 
crl
@cimmanon lol
they didn't include flex
 
Abe
@cimmanon he was jokin
 
@crl yes, but you can read the specification just as well as anyone else.
 
crl
7:52 PM
yes, true, was doing it, no worry
 
Abe
@cimmanon i wanted to help
you are always mean to newcomers -__-
 
crl
@Abe seriously can you redo that thing you did with #container>div:nth-child(1){ to match whole the first wrapped row?
I didn't get it
 
Abe
align-items:stretch; ?
 
crl
ahh, flex's so tricky
 
@Abe i am not mean to newcomers, i am mean to people who repeatedly come in here and ask a lot of basic question.
 
crl
7:58 PM
justify-content:space-between;
align-items:stretch; // it cancels the above?
 
Abe
no, the first is on the main axis, the other is on the cross axis
 
crl
ok
 
Abe
justify-content only applies when flex items all have flex-grow:0 (kinda)
 
crl
ah ok
there should be a space-all-equal prop too :)
 
Abe
space-between
 
crl
8:00 PM
yes but with the border too
 
Abe
?
 
crl
oh well you can set a margin , nvm I meant like |--A--B--C--|
 
Abe
flexbox is almost complete. only few features with multiline are missing
and would have border-spacing
 
crl
ok
 
Abe
@crl that's space-around
 
crl
8:02 PM
sure? I thought space-around does |--A----B----C--|
 
Abe
ahh, yes. wait
also margin:auto behaves like that
yeah that would be cool to have
 
crl
ah, thanks for that tuto
 
Abe
still you can emulate that
by adding spacing elements
 
crl
k I see it
 
Abe
check the bin
 
crl
8:06 PM
I was, that's fun how I can edit it, but your changes overwrite everything
 
Abe
anyway IMHO, keep align-items out of the equation
flexbox isn't actually simple, better removing useless stuff
 
crl
it can be avoided you mean? ok
 
Abe
yes, use align-self instead
the difference is that align-items applies to all children, while align-self applies to the single child
clearly the latter is more flexible
so just use that
 
crl
right
 
crl
ah ok align-self applies to items, align-items to the container (makes sense with names :) )
 
Abe
ish :D not a fan of the prop names
 
8:34 PM
Can someone give this site (openearth.github.io/painting) a try. Not all browsers seem to support video textures, but can't seem to find a pattern. It should work like this: youtube.com/watch?v=IFJn8mo2fbs
 
8:45 PM
Does anybody know where to find the signup form for non-us braintree production accounts?
 
crl
@SiggyF can't manage to paint on Chrome46, maybe that's just me, my laptop sucks
 
@crl it's a map of Atlantis, you aren't missing much :-D
 
@crl, thanks. What kind of OS are you using? Does this one work: krpano.com/ios/bugs/ios8-webgl-video-performance?
 
crl
windoze10, webGL seems to work yes
 
It seems to work OK in Firefox 42 in Win7/64-bit, but the zoom buttons are blank (the + and - symbols aren't appearing)
 
8:48 PM
A bit slow but it does work for me, OS X, Chrome v46
 
I forgot to upload the leaflet button png's. So the + and - are missing.
 
I'm really confused as to how I make it paint instead of just dragging though
 
I'm using a 1024x1024 video texture. It seems to depend on graphic cards whether it works or not. Some computers with windows work, my ipad doesn't, my mac does.
 
was that reply to me?
 
crl
my laptop is shitty though, no real graphic card (a intel HD thing) but you're just doing canvas or openGL?
 
8:52 PM
@joshhunt I had some problems finding a good way to make both dragging and drawing working. You can now click and it will switch to drawing mode (you should see a crossmark icon)
 
oh lol I see now, it's not very intuitive :D
 
@joshhunt no it isn't. I'll probably do it a la paint/photoshop. So far I spend most of the time on the computer simulation and on the palettes from paintings.
 
fair enough
 
@crl I use a combination of a canvas (where you draw on). I forward the canvas to a webgl texture, which is advected by data extracted from a video texture.
I was using yuv444 color coding. It might be that some graphics cards only support the more common yuv420p. Or maybe some cards don't support video textures up to 1024px.
 
Abe
haha omg, cold war 2 bbc.com/sport/athletics/34765357
seriously?
 
9:16 PM
yep
srsly
about time, too
 
9:31 PM
heck yeah, I write a loop the way the tutorial said I should, before I read the hint
 
Abe
all that technology is ruining the sport though
and will get even worse. yamaha will probably use robots to determine the optimal pace of a race track cdni.wired.co.uk/1240x826/k_n/motobot_photo08.jpg
 
crl
10:42 PM
weird that there isn't something like outline but putting the border inside the element
 
11:13 PM
@crl box-sizing: border-box
@Mr.Alien SC expansion comes out tomorrow
Also I just realized I completely forgot to message you Saturday. Sorry :/
the CM sessions I had must have distracted me
 
11:45 PM
any idea why I would be getting the same row returned in multiple queries using LIMIT? e.g. limit 0,2 returns said row and so does limit 1,2 and limit 2,2
I assume it has something to do with the ORDER or GROUP in my query but I thought LIMIT was supposed to apply after these?
Nevermind just an issue with the crappy framework
 

« first day (923 days earlier)      last day (2865 days later) »