« first day (456 days earlier)      last day (3332 days later) » 

12:01 PM
Vertically center a fixed div that has height auto, any suggestions?
 
@PatsyIssa
display:table-cell;
vertical-align:middle;
 
@PatsyIssa Kill yourself
 
magie
 
@Billy ?
@Purify but the element is fixed
 
Jsfiddle broski
 
12:03 PM
*absolute actually
 
@PatsyIssa I hate vertical centring, it's always a PITA for me
 
thing is if i know height i can just go with -half the height in margin top
 
I almost always end up using JavaScript if I don't have a specific height
 
12:08 PM
lul
 
@Billy +1
 
@Purify center box within container
not center the container :P:
 
oh
 
12:10 PM
rofl @mikedidthis that link
Reason #2 You are putting something off because you don’t “feel” like doing it.
Solution: Make like Spock and ignore your feelings. They’re getting in your way.
 
@DarkAshelin Ahh that gives context to the Spock image! Haha
 
@PatsyIssa done. jsfiddle.net/Nj848/2
 
Vertically aling box in container as the middle of box and the middle of container are on the same level
 
pff, so needy.
 
12:12 PM
@DarkAshelin That song is weird! O.o
 
@Billy it always lifts my mood
 
@PatsyIssa what you said doesn't make sense either
 
It's consistently weird, but in different ways, all the way through
But it is uplifting you're right :P
 
@Purify bahh forget it
 
@PatsyIssa Told you. Vertical centring is a PITA!
 
12:15 PM
you guys are so nice, I feel a lot better now :) ty
so... back to work my page keeps displaying the "loading icon" in my browser tab, even though there should be nothing loading afaik. Any idea how I can find out what seems to be "loading"?
 
Demo?
Your HTTP response does end, right?
 
I'll throw it online
 
@DarkAshelin nothing in the console?
 
@PatsyIssa nope, empty
 
@DarkAshelin Probably just images? Most browsers load images progressively now-a-days. I'm assuming it does go away eventually?
 
12:19 PM
Did you check the network tab of the dev tools?
 
hmm, doesn't do it live, only locally
@Billy no, doesn't go away ever
 
That's odd
@DarkAshelin Your happy song is a weird song
 
I've got a <video> tag with a background video that loops, possible culprit?
 
@DarkAshelin is wamp on?
 
@SomeGuy That's what I said, haha
 
12:20 PM
loaded locally tho
 
@DarkAshelin I wouldn't have thought so..
 
@PatsyIssa yes xD the page displays fine. everything is loaded just the tab keeps showing the loading symbol
 
@Billy Even weirder considering I went in expecting Happy by Pharrell Williams
 
@SomeGuy I hate that song. I hear it a million times / day at work
 
12:22 PM
@Billy I know i can cell it, it has to be absolute
 
^ is that it? the video after all?
 
Oh.
Why?
 
A/w fixed it
Because they are fixed elements :P
 
@DarkAshelin So it is. But even after the video has played all the way through it's still loading?
 
@Billy yeah
 
@DarkAshelin Seems like it
 
Hello all! :D
 
@DarkAshelin That is odd. Unfortunately I can't help you I know nothing about videos in the web. I always just use embedded vimeo/youtube
 
What's up?
 
No idea why the spinner wouldn't go away, though
 
12:24 PM
@Iplodman the sky
 
@Billy Oh my lawd. Revalations! :D
 
the spinner only stays there locally, doesn't happen live x.x
 
Can I ban Billy?
 
Sure.
 
D:
 
12:25 PM
 
Pahaha
 
If anyone here is familiar with Codeanywhere? I need to find out how to preview HTML documents in the split window view.
 
purposely bad joke was purposely bad x.x
 
@Billy Was that a CinemaSins reference? :D
 
I haven't heard of CinemaSins
 
12:28 PM
Aw, it's good :P
 
I'll take a look
And I hadn't heard of Codeanywhere either
 
Oh, Codeanywhere is brilliant.
I have a Chromebook so I use that to web dev with, but I still need to install Ubuntu on to it.
 
Does it allow you to connect to web servers via FTP?
I use shiftedit at the moment which is the same idea as codeanywhere but it is a bit buggy, and also slightly more than I'd like to pay for the premium version
 
Yes, by the looks of it.
 
12:31 PM
@Mr.Alien o/
 
@Mr.Alien :l
 
@PatsyIssa long time bro
 
@BIlly I might release my ASCII art generator's source to cleverer minds.
 
T-T-T-TRIPLE PING!
 
12:34 PM
@Billy I had to edit some gubbins xD
Shhh ;)
 
@Iplodman That's pretty cool
 
I had a bug at one point where it went all wavy ;-;
That was fun.
 
@ObiWanWesabi yes it's possible, have to use a psuedo element
(given you don't use perspective)
 
The thing I hate about all the cool projects like that, is that they rarely have a greater purpose :P
I wana make something cool like that, but that is genuinely really useful in some way
 
@Billy Of course they don't. Those things are fun, not useful.
 
12:38 PM
!!learn happymusic '<>http://youtu.be/C_4p5et6_ok'
 
@ZachSaucier Could not process input. Error: Unexpected end of input: Expected ' on line 41 on column 44
 
user652649
@ZachSaucier with the border corner trick you mean?
 
@ZachSaucier <div>How to annoy a web developers?</span>
 
@ZachSaucier Command happymusic learned
 
@DarkAshelin ^^
 
12:39 PM
woo!
 
@ObiWanWesabi ya
 
!!happymusic
 
user652649
yeah that wont work in my case
 
@CapricaSix I love you
bah how annoying, my ajax form doesn't work, and there's no error whatsoever. It also ignores any console.log I put
 
12:42 PM
@DarkAshelin If there is no error in the console then it means the code is not reaching that point
keep putting console.log's further back in your code untill it works.. Or learn to step through your JavaScript
 
@Billy any console.log I place before and after the code is shown successfull
anything inside the ajax function: nothing
nothing on success, nothing on error, nothing even on beforeSubmit
 
So your ajax function is never being called I guess
 
Is the request being made?
Yeah, I don't think it's being called
 
var options = {
    url: myUrl,
    type: 'GET',
    dataType: 'json',
    contentType: "application/json; charset=utf-8",
    beforeSubmit: function(){
        console.log("before"); //doesn't work
    },
    success: function(){
        console.log("success"); //doesn't work
    },
    error: function(){
        console.log("error"); //doesn't work
    }
};
console.log("Before I call the ajax"); //works
$("form").ajaxForm(options);
console.log("After the ajax call"); //works
 
what is asynchronous
 
12:46 PM
How Can Asynchronous Be Real If Our Eyes Aren't Real
 
@PatsyIssa genuine question?
 
@Billy no
 
@Billy nope
 
Ah cool :P
 
12:47 PM
so any idea what I'm doing wrong?
 
I can't see any errors I don't know what the issue is.. :/
 
Is ajaxForm built into jQuery?
 
would it be a problem that you have used double quotes around contentType?
 
lolno
 
@SomeGuy external plugin: malsup.com/jquery/form
 
12:48 PM
Possibly you aren't returning any jQuery objects (I'm sure you are with that selector.. xD)
 
And no errors, I take it?
 
nothing at all
hmm, not even this works.....
$("form").ajaxForm(function() {
       alert("Thank you for your comment!");
});
 
Maybe a demo is in order
Well, it's probably the plugin then
 
plugin is included properly
 
Yeah, I mean the plugin might have some internal problems
If it isn't even binding properly
 
12:50 PM
it's working fine on their live demo
 
It must be swallowing the errors
Oh
Ohh
Are you trying this locally?
 
yes?
 
Without a server?
 
wamp
 
:/
Should work then
 
user652649
12:51 PM
check network panel @dark
 
Show us a demo, I guess
 
@ObiWanWesabi what should I be looking at?
 
Whether the request is being made
And if the plugin is loading alright
 
I'm out (gonna' go and install Ubuntu on to my Chromebook). Cya' all! :D
 
You sure you got the right version and all?
 
12:52 PM
@SomeGuy I'd guess that it's not because surely the callbacks would get called
@Iplodman Later
 
Yeah
 
@Billy Bye :D
 
@DarkAshelin Have you tried using an ID to select your form? $('#myForm').ajaxForm
I don't know why it might make a difference but you never know..
 
@Billy yes, no change
doesn't work live either
@ObiWanWesabi script is loaded fine, but no XHR requests are made
 
Link?
 
12:59 PM
http://reindeer.eu/Reindeer/
click the little "mail" icon top right, and enter mail
supposed to be an ajax form, but it's not doing the request
 
Lunch! :) Back soon
 
@DarkAshelin true though :D
 
must become a robot
 
@mikedidthis Very similar to what I do. I count down, and just do whatever it is
 
@SomeGuy yep. aka the shit list.
 
1:03 PM
hello friends
 
hello not-yet-friend
2
damn I missed my chance for a "I'm not your friend, buddy"
 
i have one question that is when i set php file using ajax then image of that php file can be show
 
@DarkAshelin I was just looking for the meme.
 
@DarkAshelin I might be wrong, but are you sure you're using the plugin right?
To me, it seems like you're supposed to bind the form to ajaxForm ASAP
You're doing it when it's about to be submitted
 
@SomeGuy I tried the very basic usage and it still didn't work
 
1:06 PM
ajax form jquery
 
@DarkAshelin Where did you put that code, though?
On submit?
Or in a document ready event?
 
yes
on submit
 
@DheerajKumar try the php room?
 
A or b
"Yes"
 
1:07 PM
on submit
 
Try moving it to on ready
@DheerajKumar I was talking about Dark's problem there, not yours, sorry
 
ok no problem
 
The way it's done there is you bind it on ready, and the plugin handles the binding to submit and whatnot
 
I never understood the need for an Ajax form plugin...
formElement.onsubmit = function() { /* Do your AJAX shit here */ }
 
1:09 PM
ah, getting an error now
@SecondRikudo because I dunno what I'm doing lol
 
@DarkAshelin All the more reason to learn it the right way, instead of turning to some crappy plugins.
 
What's the error?
 
sec I'll try stuff myself first
 
Cool
 
i have two div one parent and one child when i want change parent div width and child div width automatically change . what i can do?
 
1:11 PM
@DheerajKumar don't set the child width or set the width relative to the parent. -1 for not googling
1 message moved to Trash can
 
@DheerajKumar Have you tried anything..?
 
if i want to change parent width
 
@DheerajKumar again, show us what you have tried. We aren't here to spoon feed you.
 
I'm not here to ask a broad question that you can Google
 
1:15 PM
@ZachSaucier how long to boil a soft egg?
 
one month
 
<-- has little tolerance for people wasting his time
@Purify You didn't have to name names
 
I did.
Give a warm feeling to those who deserve it for being extra awesome.
 
@ZachSaucier <3
 
1:21 PM
@ZachSaucier I think he might be a little ageist
 
He hates Americans and Indians apparently, silly German
 
user652649
<- "abstract factory" in css. i did it, and my life changed
 
@ObiWanWesabi show or gtfo.
 
user652649
it's easy
 
user652649
separate the selector from the style definition
 
user652649
1:24 PM
basically all selectors should be a variable, always
 
sounds like atomic.
 
user652649
link?
 
user652649
will read that
 
user652649
@mikedidthis
 
user652649
 
ahh, no its not the same.
 
user652649
basically i use a placeholder instead of the actual selector
 
Again, a preprocessor would do the same thing.
 
But you seem to like reinventing the wheel :D
 
user652649
1:28 PM
so i have the actual selector in one place only
 
user652649
guys don't be so dull, i'm not talking of preprocessors here
 
Yeah, its called a config.less / .scss file.
 
user652649
i'm talking of abstraction
 
user652649
applied to css
 
user652649
also again, i have nothing against preprocessors
 
1:29 PM
which... I hate to break it to you, is what pre processors support.
 
user652649
i just don't like less
 
@rlemon you here?
 
@ObiWanWesabi like sass then
 
possibly.
but not for long
 
@rlemon got a weird question
and you're usually good with those.
 
1:31 PM
shoot
 
is there a way to bypass chrome's print preview?
so you press a html button and it goes straight to print?
 
iirc no, its a user option.
 
^
and even if you wrote an extension to overcome it there is still the system dialog
you can't do anything about that
i think
in any case, without a shit tonne of browser extensions I don't think it is possible.
 
posted on July 30, 2014

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {} We'll be announcing a prize for the winner of BAHFest today! So, if

 
user652649
@mikedidthis i would love one day not being considered an idiot by you. i'm sorry if you can't see my point here
 
user652649
1:34 PM
brb
 
well thanks. :>
 
posted on July 30, 2014 by Scott Reynen

    Like most web developers, I spend my days giving instructions to computers. These instructions generally involve some input (a request for a web page), some logic (get the right content from a database) and some output (send the content to the requesting browser). This process of telling a computer how to perform a task, such as generating a web page, is what we commonly call

 
@ObiWanWesabi I don't think you are an idiot at all. I just feel you maybe missing out.
 
@Purify You could install malware on the client's computer to save the webpage behind the scenes and then send it to a printer to print automatically >:-)
 
@TylerH Genius idea.
 
1:44 PM
My god, this question title
"Netbeans 8.0 Yii Project Bootstrap LESS files have errors"
is there a tool he isn't using?
 
needs jQuery to complete the set.
 
angular too
Xd
 
@Feeds that goal better not have counted; ball was clearly out of bounds when he kicked it
 
@TylerH I am not so sure. The rules are silly.
 
1:58 PM
@mikedidthis :-(
 

« first day (456 days earlier)      last day (3332 days later) »