« first day (504 days earlier)      last day (3284 days later) » 

12:05 AM
How come this radial gradient isn't evenly spaced?
I'm trying to make a gradient like this using css (not sure if it's possible though)
 
12:32 AM
@joshhunt looks like a left to right gradient to me
 
@WesleyCrushed Your website is terrible, it looks like it was designed by an absolute beginner.
 
link link link
@WesleyCrushed We have some of those. Originated in China
 
@ZachSaucier it's in his profile
 
12:48 AM
sorry I mean the circular lines (have to click on the image to see them properly)
 
 
2 hours later…
2:34 AM
@joshhunt resize the window. Gradients are a trouble to render sometimes
 
Yea I've been working on it for awhile and contemplating giving up because it's no very smooth or consistent
also tried svg but there doesn't seem to be a way to get the gradient to repeat
 
if it's a set width use an img
otherwise I'll work on it when I get home
 
appreciate the offer but don't worry too much, I don't want to take up all of your time
its not a set width unfortunately. I'm sure I've seen it on a site before but I didn't look how they did it and now I can't find the site.
 
I won't invest much :)
 
m59
3:36 AM
@WesleyCrushed I think I have a question that only you would know how to answer =D
or only you would answer, because you're a bro
And that is.... I need to submit a form via post and get a json into that form's inputs...
I was hoping the obvious approach would work:
var input = angular.element('<input type="hidden" name="' +  name + '">');
input.attr('value', value);
That works on the first level, but two of the properties are arrays
ah wait....I've got an idea ;D
 
m59
I tried that
I think it may be to collapse the structure
and change the name to myArr[0]
etc
 
MLM
@m59 Works fine for me: jsfiddle.net/cpg2v9wv/1
 
m59
You're not solving the same problem I am. I'm not arguing that JSON.stringify doesn't stringify JSON's, or that you can't apply a string to an input :)
 
MLM
@m59 Sorry I am not understanding. Is this better: jsfiddle.net/MadLittleMods/cpg2v9wv/2
Serialize form data. Put it into the value attribute.
 
m59
3:53 AM
hmm... my way worked
 
MLM
@m59 Link me to a demo so I understand what you were trying to do. Still confused if the second wasn't what you were going for.
 
m59
pretty hard to demonstrate this
@MLM this:
<input type="hidden" name="tags[0]" value="someTag">
rather than
<input type="hidden" name="tags" value="['someTag']">
 
Gm all
 
m59
hello
 
m59
4:02 AM
\o
 
:)
why ur name is m59 ??
 
m59
Matthew 5:9 Blessed are the peacemakers for they will be called the sons of God
So at least I can remember exactly where one verse in The Bible is haha
 
@m59 +1
@SweetWisherツ hello :) Why change your picture so often when they're not pictures of yourself?
 
4:18 AM
@ZachSaucier I like to change :P
@m59 Greato :)
 
@joshhunt Alright, after some playing around here are my thoughts: Gradients *stink* at being rendered. Rendering a ring of 1px is very finicky in part because the calculation of it is evidently terrible and partly because the radial gradients are not circles, they're stretched based on the viewport size. Keeping things square [improves the rendering a bit](http://jsfiddle.net/3ydzq5hj/2/), particularly on small screens when the 1px wide red is all that is needed to render the whole thing.

My solution: don't use radial gradients to do what you're trying to do :P can use an image or canvas
 
Yea they suck aye, thanks for the help. Ive decided to go for a diagonal gradient instead... and that is almost as bad :D
Am I making an amateur mistake? How come the psuedo element isn't stretching to full height? jsfiddle.net/91efo8rq
heading home, be back soon
 
it is full height
 
not when you scroll down
 
4:47 AM
back, I still don't understand
Even if I take the height of html/body and the body appears to be stretching to the full height but the psuedo element does not: jsfiddle.net/91efo8rq/1
 
posted on September 16, 2014

StudClean’s (office?), Friday Morning. As my eyes strained to keep open, I wondered if a delicious brew existed to keep people awake. If not, it needed to be invented. RedCheer looked around the office, whilst StudClean smirked from his chair. RedCheer: Wouldn’t it be unfortunate, if you had to spend the entire afternoon cleaning? StunClean: Unfortunate, but unlikely. RedCheer smiled an

 
5:12 AM
Morning
 
@TheDictator morning yo! o/
 
@ICanHasKittenz heuy miss.... wssup?
 
@TheDictator nm, jus middle of the week >,> sup with u?
 
Oh yah... we have started our week just yesterday.. so still 4 more days to go.. and plus Prime Minister Of china and India both are visiting the city where i am working so mostly tomorrows gonna road blocks here .. thinking to take a leave tomorrow.. :D
 
@TheDictator yea u better, they block traffic like an hour before they come
 
5:25 AM
an hour... Even yesterday they have blocked main roads.... like they were doing moak drilling... was about to miss the train.. but luckily the train was delayed by 10 minutes so i got that
 
lol they too hyped up
 
Actually these all they are doing for security reasons plus maintaining protocol .. so its ok.. it happens..
 
ASR
5:54 AM
can any one tell me the meaning of this SAAS:
.dockbar {
&.navbar {
.nav {
li {
&.dropdown {
&.active {
.dropdown-toggle {
background-color: transparent;

&:hover {
color: #FFF;
}
}
}
 
Unable to add a scroll bar for drag me class jsfiddle.net/1xnmtyqs/17
 
How much you like this answer clarity .stackoverflow.com/a/15706906/747579 Tell me please . It is for Css beginners
 
@Mr.Alien o/
Nice DP.. which place?
 
thanks, Lonavala
 
oh cool... I have visited that.. but long time ago..
 
I can go there in like say 3 hours.... so no big deal for people staying in Mumbai, am actually bored of that place
 
posted on September 16, 2014 by kbironneau

/* by Kingos */

 
6:33 AM
i know that.. How about lavasa? Have u visited that?
 
@James jsfiddle.net/22L7u002 removed the float:left; on .ui-draggable and added display:inline-block but it's not complete coz the dragged element isn't visible
 
6:56 AM
hey
my CSS rules work good
 
@MRS1367 No, they work well.
2
 
but when I compress them, it doesn't work
 
@MRS1367 How do you compress them?
 
only this CSS rule:
.flexBox {
	display: -moz-box;
    display: -moz-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
    display: -ms-box;
	display: flex;
}
@SecondRikudo refresh-sf.com/yui
 
@MRS1367 Yeah, please use something well established, to begin with.
css uglify
or even better, SASS.
 
7:19 AM
Sup!
 
posted on September 16, 2014

New Cyanide and Happiness Comic.

 
hes running in reverse gear i guess :D
 
@SecondRikudo sy.
 
Some really interesting questions for recently.
When I say interesting I mean shitty.
 
7:26 AM
close vote all day
 
7:40 AM
done, morning all :)
 
o/
 
7:56 AM
\o/
 
@SecondRikudo Have you ever worked with lightslider before?
 
Can't say I have.
I generally don't use libraries I can trivially implement myself
(I'm assuming lightslider is "just another slider")
Yeah, I don't do jQuery.
@Naruto What do you need though?
 
@SecondRikudo What I need is for the damn thing to work as it should :D My problem is the slider is forcing himself to be larger than his parent.. But i'll google around further :)
 
@Naruto Those problems are usually caused by crappy plugins.
Use a different slider, or better yet, roll your own.
It's really not that hard.
 
I wouldlove to try it, but it will be off working hours I guess :D
 
8:11 AM
If it's for one time use, I would suggest go for plugins
 
@ICanHasKittenz It's never for one time use and you know it.
How often have you seen PoCs that made it to production code and are now used for years?
 
@SecondRikudo PoCs?
 
well yea but when there's already so many good ones which are easy to use too, I don't see the reason to build it
 
@Naruto Proof of Concepts
@ICanHasKittenz Several reasons.
1. If you take a 3rd party code, you now own the code. A bug in their code === a bug in your code.
2. None of them will fit 100% to what you want
3. Most of them are absolute crap
4. 99.9% of them rely on jQuery.
5. You only build it once the right way, and you can reuse it forever,
 
maybe, never felt the need to build one though
@Naruto give owl carousel a try, it's pretty good
 
8:18 AM
Good morning all.
 
@ICanHasKittenz For starters, anything that animates anything other than: transform, opacity or scrollTop, will look like crap on mobile.
I'm pretty sure that alone filters out over 90% of all sliders out there.
 
@ICanHasKittenz I need a full width (responsive) slider, altoug it looks like I could use this one in the future.. :)
 
8:33 AM
posted on September 16, 2014 by kbironneau

/* by Bobby */

 
user652649
8:44 AM
morn
 
Interesting picture wes
 
body:before { content: "(.)(.)"; }
 
1
A: Velocity.js - stopping animation callback

Samuel CaillerieYou should throttle your check with some library like Ben Alman's one : https://raw.githubusercontent.com/cowboy/jquery-throttle-debounce/v1.1/jquery.ba-throttle-debounce.min.js. Check this documentation page : http://benalman.com/projects/jquery-throttle-debounce-plugin/. For your example, yo...

 
o/
 
8:55 AM
I hate it when people link to libraries that are no longer maintained ...
 
so im about to play cs:go :D
 
@probablybest i was just playing it :P
Played 1 game and had to go to work x.x.
 
@PatsyIssa ha i use to play cs:s but thought id give cs:go a go today, you any good?
 
@Naruto it's responsive
 
@PatsyIssa Did you check the repo? I don't think its been updated in so long as there are no blocking issues.
 
8:57 AM
@probablybest I rape in CS 1.6 :P CS:GO dl finished yesterday so today was my first game
@mikedidthis it's tested on jquery 1.3
 
@PatsyIssa ah yer my download is just about to finish
 
@mikedidthis we're at 2x and 1.1x now
 
@PatsyIssa and a pull request to add 1.11.1, but it seems it works regardless.
 
@PatsyIssa all done im gonna go play for a bit :) see ya in a bit
 
8:59 AM
@PatsyIssa I can read :P
I really want a bacon sandwich!
 
You can? :O
 
MGE
Hello
 
hello
 
MGE
if an image propierties are width:0 and height:0 (it must be cos I need to clone that image via jquery) it works properly, but in IE I see a point.
 
image border?
 
MGE
9:03 AM
thats not the problem
border=0
 
Oh. Example please?
 
@MGE add a display none to it does the point still show?
also if the image is just the clone why not position it outside of the user's viewport
 
MGE
<img width="0" height="0" soundid="50af" title="melendi:" src="http://pictureurl">
and border="0" too
 
give it a class and put it in css
 
MGE
yes, but before i need to fix the problem
then i will put in the css file
 
9:09 AM
which ie?
 
MGE
all of them
 
Are you using a css reset?
or normalize?
 
@MGE can't replicate in IE10 / 11.
 
> “In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists.”
Eric Hoffer
2
 
MGE
9:13 AM
IE 8 IE 9
 
@PatsyIssa #Ysodeep #SoDeepICantEvenSeeYouAnymore
 
@MGE you are going to need to provide a live example, other wise we can't help.
 
@skibbi_bizzle chrome tab screen i liked it ^^
I don't even have IE :P
 
It is awesome though :) I like it... posting to fb now
 
9:30 AM
@PatsyIssa What's your 'Today'?
 
@PatsyIssa kool! but I meant 'your main focus for today'
Mine's to get to bed soon >_<"
That kinda motivates me...
 
Oh mine is "Try and take over the world"
 
9:57 AM
Pinky, is that you???
 
Yeah but where do we get the leather pants?
 
@StephanMuller I header that @SomeGuy has a stash
 
posted on September 16, 2014 by Mary Lou

Some inspiration for off-canvas menu effects and styles using CSS transitions and SVG path animations. Off-Canvas Menu Effects was written by Mary Lou and published on Codrops.

 
If I could just get 50 rep so I could comment, that would be great
 
Go answer some questions
 
10:06 AM
@StephanMuller +1
 
or ask some
 
I am always just seconds late :P
ok my mission for today, ask the best question SO has ever seen
 
There you go 51
 
hahaha the luck of this... just got +25 :D
 
Protip: leave out the "I'm a noob at this but anyway here's wonderwall" introdoctions. Just get to the point when you ask something
 
10:07 AM
@SecondRikudo same result :(
 
you sir, are my hero @PatsyIssa
 
Yeah it took me a while before I found some of your answers that were worth upvoting but eventually I got one too
 
Refer to what @StephanMuller said when asking questions
 
@StephanMuller will do thanks for the tip
 
what can I do to solve this issue? :(
 
10:08 AM
@MRS1367 Sup
 
@PatsyIssa -> sup! :)
 
@StephanMuller you don't seem to say much, but when you do, its really useful. You can stick around.
 
He also likes leather pants
 
Hey @mikedidthis any news from your guy at T+?
 
10:16 AM
@SecondRikudo pst need your opinion
 
@SecondRikudo nope, I will chase this afternoon and copy you in :D
 
@PatsyIssa shoot
 
@mikedidthis kk, thanks :)
@PatsyIssa Animations are smoothest when you only animate transform and opacity.
 
Due to those 2 not causing the element to be redrawn
 
10:19 AM
@PatsyIssa No, they do cause the element to be redrawn
But just the element to be redrawn, they don't affect layout.
 
transform translate dsn't
Thing is, should I bother making the code more complex or include a library for throttling, what is the performance hit from addClass :/
 
I don't think there's much of a performance hit
 
@AtalShrivastava sup
Also very ugly code :P
@AtalShrivastava what is it that you want to achieve
 
Instead of making an AJAX call to load more images/whatever, would it be a good idea to have the data echo'd from PHP when the page loads, then utilize that data when needed?
 
10:30 AM
i need when last div deleted. the delete function will add to the last append div @PatsyIssa
 
@Billy yup, IMO better get the data from PHP since AJAX calls are expensive
 
@Billy it depends on whether you need live page updates or not... I would suggest going with the echo'ing of the PHP data on load and then use it if the data won't change real time
 
no jQuery
 
Cool thanks guys
 
10:35 AM
How it can be done !!!
 
@SecondRikudo Wanna add it to the answer or should I ?
 
Go ahead, it's not perfect though
The effect isn't 100% the same.
And it kinda relies on hacks
 
lol
 
The class change is negligible, to your original question.
 
even if you're on a commodore ?
 
10:38 AM
@PatsyIssa I know commodore as a high ranking naval officer, so you'll have to expand a bit :P
 
!!google commodore 64
 
Ah, old computer
 
A commodore wouldn't be able to run that animation, so yeah XD
 
10:47 AM
@mike
oops, lol
@mikedidthis thanks for adding me to the owners :)
 
No problem :D
 
@PasyIssa stole my answer :( stackoverflow.com/questions/25866705/…
even made a fiddle :) boooo
 
can we send json response with http status other than 200?
bear if extremely invalid question
 
@skibbi_bizzle you didn't mention what happened
 
I have been trying for it..but not able to do it so
 
10:51 AM
this is true
left it out
since you got it :)
 
@Pilot why do you want another http status?
 
So best way to answer questions is too explain why it isn't working and then give solution?
for future reference
 
that status if for the request's arrival or failure, if it arrived to the server and came back it's always gonna be 200
pass a response['status'] = whatevercodeyouwant and check for it on the js side
 
@PatsyIssa lets say something went wrong on the server and I want the user know what went wrong with status msg other than 200. so I am using 5** status code
 
The request is fine the server failed, pass back a status value in the response with an error message
 
10:54 AM
213
A: What does the ">" (greater-than sign) CSS selector mean?

BoltClock> is the child combinator, also known as the direct descendant combinator.1 That means the selector div > p.some_class only selects paragraphs of .some_class that sit directly inside a div, not paragraphs that are nested further within. An illustration: <div> <p class="some_class">Some tex...

When someone is their grandparent's child, we're dealing with a really nasty instance of incest. Happily, that is impossible in HTML. — Quentin 1 hour ago
 
hahahaha
 
We're still talking about that, right?
( ͡° ͜ʖ ͡°)
 
@PatsyIssa I did it..but then the issue is I need to test for if(status) {} in the javascript..I want to avoid it..instead I wan to handle in error callback handler
 
@Pilot but the request didn't fail
The action failed, the request went through, handle it in an if.
Why are you avoiding it?
 
@PatsyIssa just wanted to avoid if else ladder
cant we do it?
@PatsyIssa
 
10:58 AM
Use switch then
 
@PatsyIssa thanks for your attention...I was messing around it from several days
 
You really shouldn't be failing an http request
 
@PatsyIssa yup..I think I wilkl have to
 
What kind of handling are you doing anyway?
 
use switch condtions
 
10:59 AM
Beyond displaying the error message
 
@PatsyIssa like said..if my action on server fails then I want to notify the use the actions error msg
nothing special other than error message @PatsyIssa
 
And if it succeeds what do you do
 
@PatsyIssa In both failure and success my action returns me jsonify action..
 
So no need for if/else
can you put your ajax code on a fiddle
 
why? @PatsyIssa ..
 
11:03 AM
@Pilot he wants to use it to, and I quote, "Take over the world"
 
@PatsyIssa okay...so you mean in callback I just blindly show msg?
 
Exactly and run the action that you're returning
I wanted to see your code to check if it ll work regardless of the response
you can leave out urls and such
I m just interested in the success: part
 
@PatsyIssa give me min..will setup fiddle
 
cool
 
11:09 AM
you're using promises :D
nice
Where are you displaying the error messages, besides the alert
 
@PatsyIssa can we do more with current code?
@PatsyIssa thats the only part where IM am displaying
 
Want to display it as a notification?
 
What is that? Not pure JS?
 
@PatsyIssa yup I am already doing it with Pnotify
 
@Billy he's using promises
 
11:11 AM
@Billy Promises, deferred objects.
It's been a part of native JS for a while now.
 
@Pilot always return a message, even on success and have it show
 
topic.publish();
and dojo.forEach
 
@SecondRikudo on chrome
@Billy framework
 
@PatsyIssa on chrome.
 
But the chrome implementation wasn't compliant with the spec
Let me see if i can recreate the bug
 
11:12 AM
@PatsyIssa yup...I also have to return status boolean then
 
 
I found the question that led to the votes on my > answer
0
Q: Decendant Selectors - (CSS3) h1 > p same as (CSS2) - h1 p?

tommydevsI'm wondering if the greater than sign when addressing descendant selectors is just an upgraded form of doing so in CSS3 from CSS2? Thanks, Tommy

Actually, > was introduced in CSS2, an upgrade from descendant selectors in CSS1. — BoltClock ♦ 26 secs ago
Never thought I'd have to say that ^
Also, if you think about it, all those CSS selectors that IE6 didn't support? They were all part of CSS2
Well except *, which it does support
 
It's funny how you can tell when your question was provided as a duplicate for a newer one
I have an answer covering !important in CSS that will get a bunch of fresh upvotes once every few weeks
 
@StephanMuller which one ?
 
89
A: What are the implications of using "!important" in CSS?

Stephan MullerYes, !important is bad practice. !important was initally designed to help people with visual impairments overwrite the stylesheets of websites. Accessibility software/plugins use !important to overwrite the default rules in a website's css. Using !important in your css can sometimes be useful to...

 
btw its based on quality of post ... i see no problem in closing old question as dup of new .. if newer one is better in term of information so is more helpful
 
11:42 AM
I think you misunderstood what I meant, sorry. I mean that when a new question arises about !important it's sometimes marked as duplicate and then linked to my answer. I can tell when that happens because I'll suddently get fresh upvotes
 
@StephanMuller "Your stylesheet isn't cascading anymore." Well, not really, it just tips the scales of the cascade. If you marked everything in the same cascade chain !important, then it'd be the same as not having it at all ;)
 
!Important all the things
 
Good point. Note that the answer is almost exactly 4 years old by now
and also you're the last one to edit it :P
 
It turned 4 yesterday
 
the day before, in my timezone
 
11:43 AM
(mine too actually)
Wait, crap. Yeah it is the 16th UTC
 
Wow did you edit it exactly 6 months later? were you hunting badges then?
lol
Whoever it was, thanks for the upvote :P
 
Back when they couldn't make up their mind which language to default to with mixed-language questions
 
Yeah, just looking at that. Didn't even know that was an option back then, but such a minor edit exactly 6 months later, just caught my eye :P
 

« first day (504 days earlier)      last day (3284 days later) »