« first day (1158 days earlier)      last day (2630 days later) » 

12:00 AM
worst case, those 4 lines of code query it 4 times. Best case they do it 3 times
 
yeah. I added a print statement as the first line before the color changing code and it is only executed once when I clicked on a cell
 
you don't know what querying the DOM is then
 
i mean I guess it queries the DOM to see if it clicked within the table or not, but I figured that querying is negligible.
 
Again, I don't think you understand what querying the DOM means
 
ok nvm i think you mean document.getElementbyId... = querying the DOM
 
12:08 AM
Yes, a DOM query is anything that say, "hey DOM, do ___"
 
so would it be better to save the value of document.getElementbyId... into a variable?
 
those statements are saying, "hey DOM, do you have an element with this ID? If so give it to me"
which is performance intensive if you're doing it a lot
@btrballin it's better to use this like I said originally
goodness, this is tough running
 
ok thanks for the suggestions. I changed the jquery function to this like you suggested
We can't use this. with standard javascript right?
 
of course you can
what I wrote above is without jQuery at all
these days, jQuery is really not very useful - far from necessary
 
12:23 AM
hmm someone told me Jquery is syntactically more efficient and thus the better option or something
 
lololol
whoever told you that is either trolling or very misguided
 
they didn't go to college and self-taught web development btw lol
 
That doesn't matter at all
we're all self taught
 
his logic was something like "jquery turns 20 lines of standard js to 5 lines"
 
that totally depends on how it's used
in some cases it might. In most cases it doesn't
I'm out for the day o/
 
12:29 AM
take care man. thanks for all the help :D
 
1:09 AM
@TylerH What's a good brand of rock climbing shoe? slash type as well, I know there's 3 main categories. Also, if you have a place online that you usually buy from that's cheap let me know
 
 
1 hour later…
2:29 AM
@Wes say I have a table with the columns "user" and "type". Is it possible to run a query that gets the top 10 users (users with the most rows) that have type = 1 or type = 2?
 
2:44 AM
Don't worry I think I figured it out: sqlfiddle.com/#!9/f0abf/6
I actually didn't think it would be possible, shows how little I know about sql :/
 
 
2 hours later…
4:24 AM
1 message moved to Trash can
@htmlcsscoding Please do not repost requests for help
 
 
1 hour later…
5:32 AM
Good Morning @All
 
Any one know how to make image slider in html5 with macbook body
Means macbook body fix image will rotate
 
5:53 AM
using only css?
I create with only css
https://jsfiddle.net/himanshu07/nbycek4L/

Check this may be its helps you @parth
 
 
4 hours later…
9:37 AM
posted on July 01, 2016

New Cyanide and Happiness Comic

 
10:21 AM
Hello guys
I've question about CSS.
I'm using Firefox 43 in Ubuntu 14.04
The code is:
@page
{
size: A3 landscape;
}
I also included it inside @media print { @page....}
But when I go to print preview it only shows A4 Portrait orientation only. How can I change print paper size to A3 Landscape?
Thank you.
 
10:38 AM
!!meow
 
:o
 
:o
 
!!meow
 
10:39 AM
ahh
 
!!woof
 
@berserk That didn't make much sense. Use the !!/help command to learn more.
 
animalist lol
 
hey caprica
your alive \o/
 
HI Meowwwwww
 
10:40 AM
!!shrug
 
¯\_(ツ)_/¯
 
HI you are here Mr.@Hans1984
 
yes
hey cat
 
do you know HTML
meoww
 
!!catclub
 
10:41 AM
@Hans1984 The catclub members are: Hans1984, Hitman, neferpitou, TheLittleNaruto, ankitagrawal, Saif, Xack Tuaras, AshuKumar, Sanjeev
 
@Hans1984
 
yay
html ?
i got basic knowledge
 
thanks @CapricaSix
 
same with css
 
ok @Hans1984
are you doing any Hmtl project ?
 
10:42 AM
no
 
@Hans1984
 
j2ee
 
just learning ?
 
java,hibernate,JBoss stuff like that
for a company
as a job
but yes im pretty new to it
 
ok wat abt android then?
 
10:43 AM
i dont do android anymore
but i used to
 
ohhh
 
thats why im still in the chanel
 
ok
chanel ???
 
*room
kthxbye
 
yes
android chat
 
10:56 AM
!!door
 
!!sun
 
@SankarRaj That didn't make much sense. Maybe you meant: sup
 
!!sup
 
11:01 AM
ohhh nooooo
 
11:19 AM
hola
very quick thing
on some of my bootstrap pages, the content isn't enough to push my footer to the bottom of the page, I've tried using a quick workaround of placing the footer inside a position:absolute inside a position:absolute with bottom:-10px set.
This works on most browsers, but Opera and older versions of Firefox don't seem to like it, and end up squishing it into the corner.
So I'd like a fix for that if anyone knows of one?
oops, inside a position relative
 
Wes
11:53 AM
0
Q: How do I make Inkscape's selection tool (F1) more precise?

WesWhen I click on something, it selects, I believe, the largest object in a given radius from the click offset, not the path I've actually clicked on. Is there a way to increase the precision? Zooming in and out every time is starting to become a tedious operation...

 
12:15 PM
^ Not sure why that's posted in the HTML / CSS room
 
12:38 PM
@Wes what r u upto
 
Any backend here?
 
Wes
@Mr.Alien nothing much
lemme delete it, otherwise people will get upset
 
zzz
!!youtube no hands - waka flocka
 
@Mr.Alien Something went on fire; status 403
 
is that right?
dayum, dead
 
 
2 hours later…
2:24 PM
 
 
2 hours later…
4:31 PM
Did anyone have any issues with scrolling iframe content with magic mouse or macbook's touchpad? It drives me crazy >_<
http://stackoverflow.com/questions/38140308/strange-iframe-scrolling-behaviour-in-safari-desktop
https://www.youtube.com/watch?v=2IpjAbWgbuc
 
@Wes lol
 
Wes
shhh
 
@Wes I'm considering giving a talk on designing for hackability (in the "repurposing old things for new causes" definition) sometime. Do you have any thoughts on the subject?
Or areas that would be prime to make more hackable, either in software or something more physical
 
Anonymous
5:00 PM
@Wes didn't know you hang out here.
 
Anonymous
@Mr.Alien yo .. long time no see in the php room
 
Wes
5:12 PM
@samayo i created this room :P it used to be great.
 
@Wes I didn't know that
 
Wes
i clicked the button, but there were also @crypticツ and @CSᵠ in the very first days
 
Apr 29 '13 at 1:39, by user652649
room topic changed to HTML/CSS: Support room for newest web technologies (HTML5, CSS3) and related ones (JS, DOM) (no tags)
 
Wes
yep, that was me :P
looks like a falling down eiffel tower
 
5:31 PM
@Wes the button eh?
 
5:41 PM
http://www.commitstrip.com/en/2016/07/01/nostalgia/
CommitStrip
Nostalgia
CommitStrip
1467394670
 
Wes
6:02 PM
@CSᵠ :P
 
@samayo well, yea, not active anymore, but tbh, I don't remember you, did you changed your username or something?
@Wes can u please change ur profile picture of github?
for me
 
@Mr.Alien why? :P
 
I don't like weird pics.. its scary
 
it's fitting, haha
Is he contributing to your project or something? @Mr.Alien
 
Wes
6:29 PM
i only contribute to global warming. by farting a lot
5
 
I'm going to miss the big game tomorrow :(
 
Wes
nuuuuu why
brb
 
going camping/hiking this weekend
 
Anonymous
@Mr.Alien I had this picture the. photos2.meetupstatic.com/photos/member/7/f/5/0/…
 
@ZachSaucier no, its just that he follows me and i follow him
 
Anonymous
6:40 PM
Nice to see you all here I think @crypticツ used to be regular here
 
@samayo oh damn now i remember you haha xD
whats up mate
 
@Mr.Alien Neither follows me :(
 
Anonymous
I'm ok
 
Anonymous
@Mr.Alien can you check this. codepen.io/samayo/pen/RRVaAv It has some issues and I'm a bit tired :)
 
Anonymous
6:49 PM
I'm stealing that :)
 
Wes
just found out a cousin moved in my very city, 5km from me, and neither of us knew we both lived in the same town. lol
met him. wtf are you doing here? i live here. me too. lol
 
You met him before you know he lived there?
 
Anonymous
He is spying on you
 
7:08 PM
so close
beauty
 
Wes
now you see the difference between the "left side of the board" and the other one
for some reason shit teams played with shit teams, pro teams with pro teams only
belgium is at another level
fuck nearly 1-1
great catch
 
7:45 PM
Howdy!
How's everyone doing today?
 
@ZachSaucier me or wes
@samayo sorry, was playing, let me check
@Wes happened with me, joined browserstack, turns out that one of my co worker stays in the same appartment since mre than a year, had never seen him before...
 
Anyone know much about the basics of scss?
 
@samayo what u r looking for btw
 
I've just got a quick question to clarify some stuff for myself on how it works.
 
@crypticツ long time girl
@MassDebates go ahead
 
7:49 PM
@samayo I'm still alive, I'm just a lot more busy these days. Which I think is a good thing.
 
@crypticツ probably
 
Wes
@crypticツ working on something interesting?
 
I'm running a test for myself to see if I can do certain things with scss; I'm still new to the preprocessor game (yes, very late) because I've been putting it off with the whole "Eh, it's just scss, I can learn it any time"
I just want to ask a question or two about an example I'm making up for myself.
If I wanted to shorten the padding property in SCSS, I could do something like this:
 
@MassDebates question, not the background
 
Oh, okay
 
7:51 PM
@Mr.Alien being a mod makes you not put up with fluff I see
lol
 
@Wes well right now I'm working on this.
 
@ZachSaucier haaa! what are you doing these days
 
working in Seattle for the summer
 
@ZachSaucier oh I thought you are done with that
 
nope 1 more month
 
7:54 PM
tried angular, made me sad...
@ZachSaucier coool yaa!
 
@Mr.Alien what about it?
@Mr.Alien it's been great. Lot's of active things to do: biking, climbing, soccer, hiking
 
@ZachSaucier had tried 1 before, was easy to understand, now they got this 2 on es6 thingy.. and messed up completely,... made it mre complicated instead of making it simple
 
@mixin padtop($padvar) {padding-top: $padvar;}
.padtop{ @include padtop(5px);}

This I know I can do, but what if I wanted to do accomplish something like this for usage?
 
Makes me think of ES6. It's probably more helpful but the syntax is for sure more complicated
 
@ZachSaucier well, I stay home on weekends like a lazy koala doing nothing, got a huge belly now
@ZachSaucier yes!
 
7:56 PM
@Mr.Alien ahahaha
 
.pad-$dir-$wid { @inc... }
This isn't possible, right?
 
@MassDebates that mixin is actually useless
 
I mean, I know it'd only shorten things by 3 chars or so
I just want to know if it's possible in the syntax
I'm trying to learn about scss
 
still you are not clear... yea it's cool that you are trying to learn and its absolutely fine if you ask even a simple basic quest
 
38
Q: Can I use variables for selectors?

JohansrkI have this variable: $gutter: 10; I want to use it in a selector like so SCSS: .grid+$gutter { background: red; } so the output becomes CSS: .grid10 { background: red; } But this doesn't work. Is it possible?

 
7:57 PM
but what you are asking makes no sense
 
I understand that it would serve no purpose
but -can- SCSS carry variables back and forth that flexibly?
Or is it one of those "one direction" type dealios?
 
yea variables are cool
what do you mean by one direction
@ZachSaucier we should create an org on github
 
When I first started looking at the syntax for scss, I thought about simple cases in which I can accomplish (seemingly useless) things in a manner of test casing.
 
@Mr.Alien What are we making?
Koala treats?
 
The first thing I wanted to try was to give a bit more flexibility to an already simple command, like padding.
 
8:00 PM
@MassDebates if you are starting sass, dont get into loops and stuff, use basic vars and nesting thats it
than slowly get into mixins, functions, array loops and so on
@ZachSaucier :(
 
hahaha
 
when is that day I reach 6 digit rep
 
@ZachSaucier I hardly answer, checkout my activity tab
isn't that fancy though?
 
it's super simple :P
 
8:06 PM
who cares
 
I thought about how I can articulate my question better. I want to know if I can totally transform CSS declarations into a series of variables, essentially creating an alternative syntax that's a bit more flexible.
 
I don't have time to answer super simple questions for fake points
 
@MassDebates dont use sass to write it in sass way, use it to make ur css manageable ....
 
There's no end-goal for a project here or anything; this wont' be going into any production code. Just maybe a few codepens.
 
8:07 PM
@ZachSaucier fuckin salty white boy
 
I'm not using it to write anything. I'm just delving into a bit of theory. I've already played with nesting variables and some of the other simple stuff.
 
@MassDebates tell me, do you know CSS, I mean like most of it?
@ZachSaucier will read but balls
 
@Mr.Alien think of it like this: imagine you just learned about margins. You know they add space to the outside of elements and whatnot, but just the basics.
At this point in time, you could be possibly wondering in curiosity, "What if I make a margin negative?"
 
8:08 PM
@MassDebates learn CSS first.. it's like learning jquery without knowing js
 
Eh, nevermind. I don't think you're actually reading what I'm asking.
I'll just do it on sassmeister or whatever.
 
We're trying to help you
 
@MassDebates you never asked any real question
 
@MassDebates SCSS is a language without a runtime
 
infact I told you the right way, dont learn sass without basic knowledge of css
 
8:09 PM
Let's break down padding. Shorthand can declare the 4 different directions, right?
but padding-top: 1px only sets the top padding
 
yup4
 
What if I wanted to convert all references of 'padding' to something arbitrary like "insides"
or "greens"
I could do that, I know
With variables
But what If I wanted to have multiple variables acting not only as the values for each rule, but also the rule's name itself?
Whereas:
 
well, I didn't understood, may be am getting older now
 
Shoot, 2 secs, brb.
my compile's done, testing something
 
8:12 PM
ahahaha
 
Anonymous
@Mr.Alien just to make it more workingly
 
@Wes Wales has picked up their pace a bit
I don't know what those defenders were doing though
 
@Wes r u going to change that pic or should I report?
 
@samayo vamp
 
@samayo expectation?
 
8:13 PM
@Mr.Alien if a report bans that photo then I am very disappointed in GH
 
@Mr.Alien What's wrong with his pic?
 
Wes
@Mr.Alien eat a dick
 
@MadaraUchiha its creepy..
 
@Mr.Alien Meh
 
you indians.... lol
I was on a tech support call with a guy from india
 
Anonymous
8:14 PM
@Mr.Alien there is another fork here. codepen.io/philmayfield/pen/vKmVEz Someone improved it
 
dafaq... It looks shit tbh
 
I had a picture of Kerrigan in Zerg form from StarCraft as my background
and the dude asked me if he could change it AND CHANGED IT TO A PICTURE OF A GOAT
 
Wes
dat wales lol
awesome
 
@ZachSaucier lol
 
@ZachSaucier It's not fun talking about @Kitler when he isn't here....
 
8:15 PM
hahahaha
they were on hangouts yest nyt
 
Anonymous
Now I'm interested to see @Wes's profile any links?
 
at 3am IST i was like wut
I saw that in the morning
 
@samayo it's the same as his pic here, just white and black
 
Anonymous
Hmm that looks like the priest from that Indian Jons movie
 
Anonymous
Last crusade I think
 
8:17 PM
you meant Indiana Jones
just confirming
 
Anonymous
Whenever I see it I'm reminded of the old Prist
 
Anonymous
Sorry for the typos on mobile
 
found an old pic... I used to keep mustache x)
 
Anonymous
 
Anonymous
Close enough
 
8:21 PM
@samayo you want to cleanup the syntax or what
 
Anonymous
@crypticツ yeah much better. I wish I could do the same
 
Anonymous
@Mr.Alien if you think it can be cleaned up but I don't like how it does not feel like a real sidebar. The deodorant is okay but the slidenav is a bit off and when on mobile width the << (icon) appears at the top
 
Anonymous
*dropdown
 
Anonymous
I have but mine is a bit different as it has a deodorant in it :p
 
8:26 PM
well, whats deodorant btw :p
 
@samayo you know, for having 5k rep, you're awfully vamp-like
@Mr.Alien India doesn't have that, do they? :P
hahaha
 
@ZachSaucier we prefer more of a natural stuff ...
 
hahaha, I can tell from my roommate xD
 
I'll make sure you get the most out of India when you visit
 
Anonymous
@ZachSaucier yes
 
Anonymous
8:29 PM
I'm a round help vampire and their ain't no shame in that
 
Anonymous
I'm who am I'm, and I should embrace my true identity
 
Anonymous
God made me this way and i won't change it for anyone.
 
@samayo yes, there's quite a bit IMO
@samayo I'm sorry that you believe that
 
silicon valley s3 was awful..
 
Anonymous
@ZachSaucier don't be. It not your fault
 
Wes
9:34 PM
@Mr.Alien i liked it
 
9:50 PM
Hey does anyone know of a better editor than Sublime Text 2?
 
sublime text 3?
 
I want an editor that works like Eclipse and highlights incorrect syntax
in real time
 
I like atom, and visual code
sublime text can do that
so can both of the others i mentioned
it's all about plugins/packages.
just like eclipse
 
huh...how do i go about making sublime do that?
 
9:53 PM
cool. does it also suggest all the possible methods like in Eclipse?
 
doubt it
but there's probably another package for that
 
like when you do "document." it lists out in a dropdown a bunch of possible methods to use on it
 
yea
intellisense
it's an often requested feature, so there's bound to be a plugin for it
atom comes with it built in, i disabled it.
 
and does atom have built in syntax checking?
 
i cant' remember whether or not it was built in
everything in atom is done through packages
including the "built-in" features
built-in just means the package came pre-installed
 
9:58 PM
ok thanks. I will look into it
 
10:25 PM
ok so i installed 2 useful packages, but I still cannot find one that will highlight incorrect syntax in real time
 
i'm using linter-eslint
on atom
 

« first day (1158 days earlier)      last day (2630 days later) »