« first day (573 days earlier)      last day (3215 days later) » 

So this is how people say Hello to each other from my school -:P
@StephanMuller hahaha "Duck"
 
@PeeHaa it looks we have the same problem:
 
@Mario What am I looking at. What the hell is up with Kazachstan
 
time zones
 
4:06 PM
Kazakhstan has a penis time zone O.o
 
@Mario What's the problem?
 
how can you not get it? if someone wakes up at 17, he must due to that :D
 
@PeeHaa Well clearly his CSS is fucked cause Kazakhstan has a boner
 
< runs away crying
 
@skibbi_bizzle Meh lots of countries rape the EU in the arse
 
4:07 PM
@Mario No, wait, don't go... (in a fading voice)
@PeeHaa Question is are they bending or getting raped?
 
@Mario Oooooooooh ;)
@skibbi_bizzle The latter for sure]
FWIW I just came back from a client @Mario ;)
 
@PeeHaa Poor EU :/
 
@PeeHaa anyway, i wanted to know if there is a better way to read errors found in php unit
 
@Mario Better than? stdout?
 
because reading in the command prompt makes me want to suicide (happy @skibbi_bizzle ? )
yup @PeeHaa
 
4:10 PM
@Mario hahahahaha I am surprised it took you this long :P
 
@Mario I have been wanting to give this a try. Didn't get around to it yet so don't know whether it is anygood
 
I only thought about suicide 50 times today...
 
why does everyone still tell about installing via pear @PeeHaa
i tried it once, nearly committed suicide (cc @skibbi_bizzle)
 
@Mario Yeah I also not a fan
 
@Mario hahaha
 
174
A: Hiding the scrollbar on an HTML page

jaoSet overflow: hidden; on the body tag like this: <style type="text/css"> body { overflow:hidden; } </style> The code above hides both horizontal and vertical scrollbar. If you want to hide only the vertical scrollbar, use overflow-y: <style type="text/css"> body { overflow-y:hidden; } <

Actually, this is not completely the right answer : overflow:hidden doesn't "hide" the scrollbar. It also stop scrolling feature on the page. That's not exactly what we ask for. — Grsmto Mar 13 '13 at 21:41
Incorrect answer. Disables scrolling. — luisfarzati May 9 at 1:15
 
@BoltClock "gratz" you janitor you \o/
 
@PeeHaa lol
 
@Mario yenkees is cool
 
4:22 PM
pretty good tune
 
Yeah he looks like (and probably is) a retard but damn he can play the keyboard
I even bought an actual disk from him a couple of years ago
 
brb troll comment in 3... 2.. 1...
padding: 17px; margin-right: -17px;TylerH 34 secs ago
 
@PeeHaa he has actually good tunes :P
 
I'm scrapping my comment and writing a new one
 
posted on November 24, 2014 by Guest Author

The following is a guest post by Wes Bos. Wes has been writing about Sublime Text and all the great stuff it brings to code editing for a while now. He has a new book and video package out now: Sublime Text Power User. I met him at a conference recently and saw his talk on Sublime Text. The conference was buzzing about it. Newbie's jaws were dropped and old pro's learned new tricks. Here, Wes i

 
4:29 PM
@Mario Yeah totally
 
hes really good at both make and play music
not bad at all
 
Dammit now it's way over the char limit
> too long by 168 characters
 
@BoltClock rookie error :P
 
@Mario Yeah that one is fucking awesome.
His jam sessions are also coolio
 
I don't see the point in asserting that overflow: hidden disables scrolling. If someone wants to hide the scrollbar, then presumably they deem the control unnecessary because there is no content to scroll in the first place. — BoltClock ♦ 1 min ago
Besides, the assertions aren't entirely correct. You can still scroll the element through unconventional means such as tabbing through any focusable descendants, or by using JavaScript to force a scroll. If you still want the user to have the ability to scroll the element somehow, you can always wire up a new scrolling mechanism using JavaScript. Or, you know, you could just not hide the default scrollbar - which the browser draws for you, automatically and completely for free! - to begin with. — BoltClock ♦ 6 secs ago
 
4:38 PM
@BoltClock can you mention all boolean attributes you can find in the html5 spec? :D
like, disabled, readonly, required
 
@Mario no
 
:P
 
I know one that isn't: contenteditable
 
eheh
yay consistency!
hidden
 
My only opinion of contenteditable is that it's not production ready
 
4:39 PM
or was hidden removed from spec?
 
It's still there
 
contenteditable could be production ready, it's the editing api that sucks
 
I don't know man, it feels very unpolished
Even the act of focusing an element and actually editing it
It feels like the layout or browser could fall apart at any time
Maybe it's linked to the API being sucky
 
i worked on a wysiwyg editor some years ago and it wasn't that bad at that time in mozilla (i had to target mozilla only)
crap instead on webkit
what do you feel it's bad about it?
 
It's just the UX I guess. Maybe once browsers become slower it'll feel a little more "solid" :P
It should behave just like a textarea, but it just doesn't feel the same
 
4:47 PM
slower? :D
 
It feels... shallower
Flimsier. Like I said, like it could fall apart at any time
 
ahah
i don't have the same feeling :P looked pretty solid (in mozilla at least) already
related, webkit still doesn't support multiple selections, in 2014
if you hold ctrl you can select multiple ranges of text in firefox, in chrome you can't
 
Now you see why I'm a Mozilla fanboy :P
 
mozilla did a great job in the past but now just can't keep up
i was an actual mozilla fanboy myself too. they also sent me a t-shirt -__-
so disappointing
 
at least mozilla uses less ram than chrome
 
4:52 PM
since when?
 
idk i find it always
 
@Mario Personally I feel things are moving too quickly
 
like?
 
Chrome seems to care little more than to be the first to do everything, even if it does it poorly
Have you dabbled with History API
I'm wondering what sort of funky stuff I can do with it
I guess much of its use centers around building a SPA. You navigate to pages that aren't really there
 
history api is gold
depends how you use it @BoltClock it totally fits todays' web
 
@Mario What other uses are there?
 
> PRO for SASS

SASS will create with big CSS files hundreds of lines of code (for big websites) which are not needed at all for most browsers.
 
i hate A vs B questions
but that doesnt sound much like a pro :p
 
@cimmanon They are interesting but only for OP
@BoltClock Bigger is always better
ALWAYS
 
5:25 PM
@BoltClock don't you know how it works?
 
Only the basics
> PRO for SASS

it doesn't have prefixfree.min.js cons?
LOL
 
stackoverflow.com/questions/27109211/… (duplicate of one of 100s of "how do i concatenate files" questions, just not sure which one is the best)
 
do you know about the onhashchange event?
 
@Mario Yes
 
history api is basically like that, but not for #fragments only
 
5:26 PM
What the hell, caniuse
"history api" no matches
"history" "Session history management"
aka history API
 
say you have a gallery on /page/gallery which contains links in this form <a href="/page/gallery/img1-full"><img></a>
 
@cimmanon I would love to know why the OP wants to concat the source files
 
@mikedidthis "Basically, I'd like to easily reference a set of SCSS files from within a codepen (other online code editor)."
 
@cimmanon Basically I should learn to read better. Thank you :D
 
today you want to make galleries cool, so you preventDefault() the click on those links and open a fancy lightbox with the image in it, instead of loading an entirely different page
 
5:30 PM
cannot tell if serious...
 
@Mario O_o WHAT'S NEXT?!?!?! SAYING ALERT BOXES ALSO IS NOT COOL ANYMORE FOR FORM VALIDATION??!?!?!
 
the problem with that was give the ability to
1- bookmark the "js content"
2- seo the "js content"
 
@cimmanon who me? I was being sincere, thanks for pointing it out, I nearly commented.
 
@mikedidthis that was for mario :p
 
@cimmanon oh ok.
 
5:33 PM
guess my messages came in a different order compared to yours?
 
so when you preventDefault() that link you also tell the browser that what is being displayed can be found as permalink at "/page/gallery/img1-full" which is the classic old school url
@cimmanon am i talking to you?
 
@cimmanon nope. I really should learn to read better :D
 
seems @BoltClock didn't get what's good in history api and since he didn't say WHAT about it, i'm trying to explain everything
 
jesus christ, could github make their shit any worse? lets make a pile of shit javascript instead of oh i dont know, rendering actual webpages. then lets not give a shit about making sure it actually works properly.
 
Yeah I'm listening
 
5:38 PM
@BoltClock so you are telling the browser that the "url that wasn't actually loaded" you .push()ed to history is actually a valid url
 
Yeah that makes sense. I think that's just about the basics that I know
You know maybe I should try and fiddle with some code for a change
(heh, fiddle)
 
does anyone have experience setting up email through webhosting with cpanel? I recently set up an email for a friend and I can only send emails, if the recepient tries to respond you get an email back within a minute saying that the delivery was failed. I cant figure this out, it must be something simple but Ive never set an email up so im stumped
 
also, it will feel like you actually changed the page. say you hit back on your mobile phone to close the image popup. with history api you can make the lightbox disappear
 
let me clarify, the email account that was created can send emails but cannot receive emails
 
instead, without the history api, hitting back would get you to the 2nd previous page
that's basically it
giving it a try would you help to understand how it works. but there's not much more to know about it
 
5:48 PM
Oh in that case I can assume I know pretty much everything already :P
 
yes, so what you don't get about it? :P
 
If there was more to it. But if there isn't...
 
well for example you might not know a difference from #hashfragments
hash fragments are never sent to server
 
Is a polyfill necessary/recommended?
 
msie10+ supports it
History.js is the only polyfill i know, works good
uses the hashbang trick as fallback for older browsers
 
5:54 PM
577
Q: What's the shebang/hashbang (#!) in Facebook and new Twitter URLs for?

BoltClockI've just noticed that the long, convoluted Facebook URLs that we're used to now look like this: http://www.facebook.com/example.profile#!/pages/Another-Page/123456789012345 As far as I can recall, earlier this year it was just a normal URL-fragment-like string (starting with #), without the ex...

 
:D
 
@rlemon i hope those guns werent loaded
 
since when is the british ground troops well equipped? I'd be surprised if they had bullets.
;)
 
!!robo or walking dead
 
6:02 PM
@Mario robo
 
cool :D
i'm surprised that works
well, barely
 
I challenge you to make a better one
give it arms and everything
or build a better AT AT
 
i will try but not soon. need to get to t10
 
lol some people make the craziest shit
 
6:10 PM
@rlemon lol
@rlemon lol awesome
 
Evening!
I published today the CLI GitHub tool, a fancy GitHub client for command line: github.com/IonicaBizau/cli-github I'm so happy seeing guys from GitHub starring this project: github.com/IonicaBizau/cli-github/stargazers
 
6:46 PM
If you have a list of companies to put on your website, not from a database. At what point is it worth doing it in JSON or CSV instead of just hard coding them all directly into the markup? Its about 30 companies that I need to list.
 
6:58 PM
hard coding them is presumably more work
using JS to populate the list could be less typing
BUT accessibility might be a concern (probably isn't)
with that said, on my companies website, I've hard coded them
 
How you figure it would be less typing? Except possibly the title="x" which could reuse the company name field?
It would quickly make up for that typing in the additional code needed to format and get the information no?
 
markup is more bloat than JSON generally
and a single template element
 
cant.stop.playing.destiny
 
right now its just <ul><li><a href="link" title="Company">Company</a></li>... not sure how much less bloat I could get?
 
BUT like I said, I've hard coded them myself because loading them with JS didn't really solve any issues copy/pasting the code blocks did
@Ryan cool then hard code it :P
I just told you my opinion
 
7:01 PM
@rlemon well I mean if I'm wrong tell me. Its why I'm asking. How do you think json would reduce the bloat?
 
generally speaking JSON + template element is less weight than sending all of the HTML.
 
hmm not familiar with template element. I'll have to look that up
guess a for each type of loop?
 
ok are you ever going to use JS on this list outside of generation?
if no: hard code it
 
okay, thanks. Not at this point so I'll hard code it. If that ever changes it won't be for a long time which will probably be when we do implement a database and backend
 
7:31 PM
@rlemon
 
are they public on your profile? if so I'll check em out later
 
yup
last 4-5 shots
 
why does it have to be a choice between "hard coding it" and "js/json"? you can use a list on the server side and programatically generate the markup, which will work for everyone, not just js enabled devices.
 
7:50 PM
no db
so he'd have to loop over an array of objects on server or client
either way, hard code it if there is no 'reference' to the data
 
uh huh? you dont need a db to have a list
 
or make a DB / another data store and pull from there
no, but the point was does he use a list and generate it or just hard code it
if he hooks to a data store generating it is obvious. if he isn't hooked to a data store there is no driving benefit from the other way aside from possibly less tedious code.
lul "wait... wha?"
 
CSS Stats: cssstats.com
6
 
8:07 PM
That's awesome
 
Yep, its interesting to look at the css for say Google and Tumblr.
 
8:23 PM
@BoltClock post a comment on the github page; he is quick to respond to problems
 
in jQuery is there a way to use data from the current selector?
For example $(".js-selector").html(*this*.data("text"));
or do i have to use .each() ?
 
let me check one thing
if the callback returns a string you could be ok
you can!
@joshhunt ^
 
thanks!
 
np
 
9:09 PM
 
2
awesome
 
@rlemon That is awesome
even more awesome is the annotation that pops up halfway through
"Check out this Arab guy faceplanting after surfing a car"
 
ahahaha I ignored that first time (sub consciously)
 
Wow is every single one of those comments one of the reddit troll accounts?
oh nice there is a browser add-on for blocking those accounts now
 
@rlemon good luck
it's very hard to sustain a nuclear reaction
 
9:49 PM
@easwee FFFFFFFFFFFFFFFFFFFFFFFFF
@easwee we will play tomorrow
going to bed :P
gn all
 
@rlemon it's all about dem slo motion. You can make eating broccoli look epic if it's slowed down as well.
 
10:55 PM
in JavaScript , 5 mins ago, by Sterling Archer
Y'all know how borders are appended to the outside of an element? How would I make the border "internal" meaning it doesn't resize the element, it just throws a border on the inside?
Anybody any idea? ^
 
so got the collapsible nav bar on my bootstrap site
how do i get a smaller logo
right now the navbar is collapsing but logo is staying the same size
 
To append: PeeHaa told me about box-sizing:border-box; which almost does exactly what I want. It puts the border on the inside so it doesn't resize the max-h/w of the element, but it squeezes the image inside 3x3px to accomodate the border
I wish to not squeeze the image, but to overlay the border-box on top without it resizing anything
 
Damn you people are slow today :P
 
@SterlingArcher What's the purpose of the border on the inside?
 
le wild @joshhunt appears to the rescue :)
 
11:02 PM
:D
 
If the border is on the outside, that's 3 pixels that is appended to the element, which we don't want
 
so you want the border to be over the top of the image?
so some of the image is cut off?
 
anyone know how to fix?
 
@joshhunt correct, almost like an overlay
 
@EndUser uh... not sure what you mean? Do you want it to fit inside the parent or something?
 
11:04 PM
I'm hoping it's not complicated, boss said it's ok if the image is resized, but would prefer overlay-border
 
@SterlingArcher Adding extra markup is out of the question I presume?
 
@SterlingArcher try an inset box-shadow
 
@PeeHaa nono, anything is in the question, but anything over an hour just isn't worth it
@joshhunt no effect. What's an inset box shadow supposed to do?
 
@SterlingArcher In that case you could add a wrapper div position:relative and within that your image and an extra div with the border absolutely positioned
 
box-shadow: inset 0 0 0 3px black;
 
11:06 PM
That fixes it, just not sure whether that is the correct way
 
@joshhunt so basically I want to know how to make my logo resize with my collapsible nav
 
Better listen to @joshhunt though he makes more sense than me about this stuff :)
 
box-shadow might go under the image though
one sec
@SterlingArcher it's a <img> not a background-image right?
 
jsfiddle.net/hv4m42w0 made a fiddle
Correct
 
If all else fails @SterlingArcher jsfiddle.net/tq2gbwaf/1
 
11:12 PM
are you doing it just to stop it jumping?
when clicked on
 
Yes, the only thing that should move is the border being added
@PeeHaa dammit that's adorable
And a pretty solid idea
 
everything I do in CSS /HTML should be checked and double checked ;)
2
 
@SterlingArcher Does this solution work for you? jsfiddle.net/hv4m42w0/1
otherwise best bet is PeeHaa's solution because you can't add psuedo elements to a <img>
 
Might have to do the wrapper
But I gotta run for a meeting. Thanks for the help!
 
np later
 
11:17 PM
PeeHaa's solution with slightly less markup: jsfiddle.net/Lt169n6f
@EndUser is it an image? put the class img-responsive on it?
@JonathanSampson IE rendering issue, any ideas? Seems to work on in IE Desktop but not in the IE App (not sure if those are the correct names)
 
11:33 PM
Mod Election ^
 
11:47 PM
You raaaaaaang?
 
yea, ever seen that problem? ^
I was able to duplicate it once once browserstack but after that no luck
does IE have have minor versions? E.g. IE 11.1? I'm wondering if it was because the browserstack I was using was on a specific version
 
@CSᵠ hm. i am surprised misogyny didnt make the list :p
 
that's tech related
 
which? the list or misogyny?
 
11:58 PM
@joshhunt Let me check it out.
 

« first day (573 days earlier)      last day (3215 days later) »