« first day (1214 days earlier)      last day (2574 days later) » 

Wes
3:13 AM
@TylerH
til nobody ever won at simcity 3000, except possibly one guy from philippines
most of people have a balanced city but not a city that runs by itself
 
 
1 hour later…
4:28 AM
In the form if i select country it has to display telephone code to the respective country. Any one please suggest any plugin.
 
 
4 hours later…
8:27 AM
posted on August 26, 2016

New Cyanide and Happiness Comic

 
 
5 hours later…
1:17 PM
@Wes I thought u wer dead cuz u never replied
 
Wes
sorry
yeah, sad stuff. i'm far from that though
 
 
@Wes yeah there is that one dude who made like the 'perfect' city that was super totalitarian but was the best possible allocation of resources in the game for each tile
 
Wes
yeah, crazy
 
Wes
1:30 PM
yeah i remember that
 
I don't think I ever played a single map long enough to get a population over 100,000
 
 
1 hour later…
2:59 PM
@TylerH, I don't think I'm going to get the job :-\
They asked a lot of questions regarding things I had to say unfortunately I have no experience with
 
3:18 PM
Anyone have opinions or know of best practice for when to use Margins vs Padding. I understand some key difference between them but id love to know the key situations for when to use marging vs padding
 
@Michael margins are for space between elements. Padding is for spacing within elements
 
@ZachSaucier right. This article lays out basically what I would have thought. cssnewbie.com/margins-and-padding-use/#.V8BdyGCECUk
 
3:37 PM
@Wes Any idea how to best get a string version of a DOM stylesheet?
so not the <style> part, I know how to get that, but from the DOM's .styleSheet
it has an array of rules, but it seems like a hassle to go through each appending to a string
 
Wes
.style.cssText
 
doesn't that still require looping through each rule?
I suppose I can't get around it
 
Wes
no
wait
you are right
you must iterate over the rules
 
 
2 hours later…
5:48 PM
sup
 
ayo
 
Got any idea how to center this div? jsfiddle.net/quacu0hv
The transform rotation seems to mess with the centering. Probably because of the point of origin that shifted.
 
6:19 PM
@Asperger center it vertically or horizontally?
you could switch the order of the transforms: jsfiddle.net/Zeaklous/quacu0hv/1
Also, please avoid !important
 
So still a bit confused on why people choose to use Margins vs Padding in certain situations.

For example, why does Bootstrap choose to use Margins for the PageHeader Class, it seems like just sticking to padding would be a better choice:

.page-header {
padding-bottom: 9px;
margin: 40px 0 20px;
border-bottom: 1px solid #eee;
}
 
i love !important
 
@Michael have a demo?
 
Searching 360 files for "!important"
238 matches across 16 files
 
@ZachSaucier sure, one sec
 
6:22 PM
mhm
 
@clickhere that's depressing
 
in my defense, most of those are from other libraries that I didn't write
17 of them are mine
 
@ZachSaucier so here is how it looks by default: jsfiddle.net/0sj50som
If you were to add a background color to the <header> it would look a little weird because .pageHeader uses no padding for the top. but instead uses margin.
Now I understand why the have a little padding + more margin at the bottom, because it allows the border-bottom to appear as a <hr> replacement
 
it is curious that they use margin-top on a header like that
 
I dont understand why the specifically chose to do such a large margin for the top though
 
6:29 PM
oh btw, @ZachSaucier, i'm finally going to scrap the design of my websites landing page and do something more splash screen. kinda like yours
 
¯\_(ツ)_/¯ Bootstrap sucks
 
@ZachSaucier lol whats better?
 
@clickhere yay for minimalism!
 
I love minimalism design
 
Just need to center that box..
 
6:30 PM
@Michael Bootstrap doesn't suck, per se, but I only use it for throwing together rough designs. Most stuff I write from scratch based on the design
 
So happy everything became flatter and more square. much more and easy by default
@ZachSaucier what do you use for responsive design?
 
like I said, I usually write things from scratch
 
Custom columns and media queries?
flexbox scares me
 
Zach is a purist in all things web dev
 
fair enough, if you know what the hell your doing.
I, do not.
 
6:34 PM
i think for my next web project I'm going to use flash
 
Wait... why do header tags <h*> use margin?!
@ZachSaucier You must have a thought for that ^ ?
oh.... its the browsers choice... well why the hell does chrome use margins?
 
@Michael it's really not that scary
46
A: What's the best way to animate an illustration for the web?

Zach SaucierThere are a lot of ways to animate things on the web. There are even more ways to create animations then export to web animations. There are huge benefits to designing animations in something like AfterEffects or Animate CC (which can both import Illustrator and Photoshop files) for the obvious...

@Michael because they put spacing between it and other elements
 
6:55 PM
@ZachSaucier i suppose.
 
imagine unstyled pages like this without the added margin: danluu.com/concurrency-bugs
It's very difficult to read as is, but would be even more so without the extra white space
(P.S. pages like that are perfect use cases for my Chrome extension)
 
7:23 PM
@ZachSaucier, point me in a direction will you?
 
@ZachSaucier right, thanks. I think i've made sense of it. I was preferring padding to Margins for spacing because you can do a bit more with padding. But if the goal is to simply put space between the element blocks themselves, that exactly what margin is for.

In the case of the <h*> tags I sort of forgot that they are just text, and margins would be the proper spacing tool.
 
I'd like to have a user hover over a word. and when they do. It kinda scrolls through a bunch of words much like a slot machine might look
and then randomly stop on one and the hyperlink associated with that word
i certainly can't write something like this from scratch, idk if you know of a library that could get me halfway
 
@clickhere I assume you could do that with some pretty crazy js.
not even that crazy actually if you know how to use jquery + animate
 
jquery animate, lol
 
why is jquery animate laughable?
 
7:25 PM
@ZachSaucier, is that your suggestion? or are you laughing at it?
 
because it's pretty horrid
performance and capabilities wise
 
it is grossish, but its the only thought I had
 
@clickhere There are lots of ways to do that sort of thing, depending on exactly what you want to do
 
a bit of background
For my landing page
 
there likely won't be a good library because it's such a specific thing
 
7:27 PM
I'd like a link to a random project as part of the information on my landing page
 
think about the UX of that
is it something you think users really want to experience?
 
idk, i've seen similar things on other sites before. It's not to far off from loading up amazon and seeing all of the new products they recommend you check out
 
Sure it is. It shows only a limited number at a time, leaves the user with only one option, and forces them to wait while the animation happens
doesn't seem very user friendly to me
 
@clickhere @ZachSaucier google.com Feeling Lucky feature does it, except with a button
 
@Michael I knew I'd seen something like it somewhere!
That's pretty much exactly what I'm describing
 
7:46 PM
I'm envisioning something like "Check out my projects here like this one"
where this one just randomly generates
 
8:36 PM
hm.... one of my css classes is getting overwritten by a bootstrap class rule, but I definitely have my custom css loaded after bootstrap...
 
CSS specificity
 
ahh... im thinking bootsrap applied more classes? Does that calculate to a higher specificity value over cascading?
.form-horizontal .has-feedback .form-control-feedback {
    right: 15px;
}

 VS
.ldn-lookup-feedback-icon {
    display: none;
    right: 75px;
}
 
Yep. specificity.keegan.st can help you get a better understanding of CSS specificity
 
9:17 PM
Just Read just got its 1.0 release! Reading web articles the way you want to has never been easier chrome.google.com/webstore/detail/just-read/…
That means I don't intend to touch it unless something breaks :P
 
10:02 PM
I miss the community that used to be building stuff all the time in this room, even if it was mostly stupid stuff
 
 
2 hours later…
11:38 PM
stupid stuff leads to more interesting stuff down the road,,,
 

« first day (1214 days earlier)      last day (2574 days later) »