« first day (351 days earlier)      last day (3437 days later) » 

3:00 PM
@Mr.Alien msg exists, but returns 'success'
 
@easwee 2nd one
 
@Purify actually I didn't went through your code completely, so I shared mine as the flow was the same, let me see
 
user652649
@easwee i miss that
 
install opera and get it back
 
3:02 PM
hidden feature
 
latest opera is awesome - by far lowest memory consumption from all main browsers
bah what a fail - boss assistant walks in - i have pizza bears all over the monitors
 
ok...I put the wrapper in along with the push and made sure that they were all the same size according to the rules of sticky footers and still its not moving.
 
posted on April 16, 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) {} AND a bonus comic over at The Nib?!

 
@Purify data: { msg: msg } ?
 
output was previously called msg in php
ugh, this is annoying
your question doesn't help either
:/
 
3:07 PM
@Purify process seems fragile, download the file I've shared in my answer and edit it the way you want
 
@DavidH any luck?
 
Still looking at it actually
 
you got my 3 pointers about the problem?
 
Oh you're asking if it works?
 
I mean were you able to fix the 3 issues I typed here chat.stackoverflow.com/transcript/message/15884195#15884195
 
3:11 PM
Oh yea of course!
 
I'm trying to make the URL work with the array like you suggested :P
 
ah ok
 
I'm also looking at the the one for that would .hide
 
if I can give a tip: maybe use a string in the loop, then finally pushState with this string, after the loop finished
 
3:13 PM
Hm
 
user652649
i have half an hour free if i can help. @DarkAshelin take a break, get a coffee (or pizza) xD
 
@mikedidthis nothing really. give me a few to test some stuff and i'll send you a userscript to install
then all you need to do is keep Chip in a separate browser instance, always open and always on this page.
 
user652649
@DavidH what are you working on?
 
A page filter that is working correctly now thanks to @DarkAshelin but now i'm trying to get the parameters the filter is using in the URL
 
it's a school assignment btw, so trying not to simply force-feed the code
 
3:16 PM
@rlemon no rush, and thanks again :D
 
user652649
@DarkAshelin ++respect
 
@DarkAshelin So caring :P
 
user652649
can i see the code?
 
user652649
3:19 PM
reading :P
 
Take your time ! Ask me anything that you don't get
 
your //global variable: comment is a bit out of place xD you can just remove that
 
LOL yea I forgot to
Though the fact that it does not add the filter has something to do with splitted doesn't it?
 
also, in the beginning after if(splitted[1]){ you should do another split on ';' and loop over that array
 
user652649
is window.history.pushState correct inside the for() ?
 
3:21 PM
Actually not
I just now removed it right before you said it
Well placed it outside of it
Or hm
 
do you know what I mean with using a string?
 
user652649
firstly var alreadyAdded = false; isn't global
 
user652649
it should be placed after var filterArray = [];
 
no it shouldn't
 
No that comment was wrong @Wes
Wasn't supposed to be there my bad
 
3:23 PM
the comment was wrong there
^^
 
By string you mean the 'filter' ?
 
no
I would declare a string outside of the for loop
 
Than i'd guess the splitted output which would be [1] ?
 
then in the loop string+= filterArray[i]
 
Outside of it yea
 
user652649
3:24 PM
@DarkAshelin it seems that he's using alreadyAdded from both filterOn() function and the jquery closure there
 
then after the loop use the pushState
 
user652649
is it the same variable?
 
oh lol you're right, it's also in the wrong place
var alreadyAdded = false; should be in onFilter() function
 
@Skullomania all that generated crap is messing with the design. i removed the form, and DN166 divs and added back the wrapper and footer content and your css worked
 
Oh >.<
So about the ';'

var splits = myURL.split(';');
If not split the var splitted?
 
user652649
i'm not understanding basically nothing of that code... what is newFilter ?
 
@CarrieKendall unfortunately I have to use the form object. according to the rules of sticky footer ryanfait.com/resources/footer-stick-to-bottom-of-page it should still work. I think DNN makes it impossible to do somethings
 
@Illaya are you unbanned yet? we miss you!
 
*some things
 
Some @rlemon s just want to watch the world burn
 
3:29 PM
Sup!
 
@Skullomania no, some of those elements are interfering.. it's not going to work because you have a bunch of wrapping block elements
 
user652649
what is supposed to contain the # @DavidH ?
 
@CarrieKendall all black everything?
 
@mikedidthis screenshot isn't working?
 
3:30 PM
He's talking about your theme
 
i see
 
@Wes The regex IIRC
 
ah, derp.. yes everything :)
 
@DavidH no, you'd split the splitted[1] not myURL
and I noticed you still have some references to newFilter that should just be filter
 
Apr 8 at 15:26, by Carrie Kendall
batman would be comfortable on my desktop.. that's how dark it is
 
3:32 PM
Literally splitted[1]
 
@CarrieKendall last time I try to be funny.
 
@DarkAshelin Changed them already I ctrl+z'd to much >.<
 
lol
 
@mikedidthis It's okay, we all got it
 
Good guy @Zach, comforting the downtrodden
 
3:34 PM
:P
 
@Skullomania its the #DNN6 div.. apply display:inline and then set a negative margin-bottom on #wrapper equaling #footer's height
you'll need to vertically align the text in footer another way though, because that padding is going to mess up the sticky footer
 
0
A: JS reference to the document by document.getElementById gives error back

ChipMake sure your javascript is after your markup and make sure the element id is correct: <div id="content">Beep boop</div> <script> alert(document.getElementById("content").innerHTML); </script> Example: http://jsbin.com/sedagite/2/edit

 
user652649
@DavidH ?:o
 
@CarrieKendall I will try this
 
Gees ^^
 
3:38 PM
@ZachSaucier that's slow compared to some of their runs
 
@Wes # should be an addition to the filter(name of a hidden parameter/data-filter: this )
 
those guys are freakin' fearless
also those bikes have unreal suspension
 
it'd be fun to mess around on though
 
@ZachSaucier insane
 
I love doing courses similar to that, not so crazy or as many tricks of course
 
3:39 PM
I'm not good with inline wheels
One time I cut my leg trying to get on a bike
 
@ZachSaucier where do you ride?
 
@CarrieKendall Different mountain trails in north Georgia and some in Alabama. There is one near Tuscaloosa I believe, let me look for it
 
there's a bunch in alabama :)
 
that I've been to, I mean (:
 
sokol, hurricane creek, lake lurleen?
 
3:43 PM
I know for sure I've done Lurleen, I don't remember which the other was
 
sokol has a bmx track and race courses although the trails practically wash out everytime it rains
 
^^ that one then
 
how much do you ride?
lurleen is a 14 (ish) mi run around a lake
 
Not all that often. Mostly when we go camping (1-2 a year). There is no place near my home city
 
cool :)
i ride almost daily, and record a lot
if/when you're in t-town you should come ride at tannehill state park
the trails are novice but fast, i top 30 mph often
 
3:48 PM
I can't promise I'll be bye any time soon, but I'll let you know if I do come by!
 
I think i'm figuring it out but I have to go for today, thank you so much everyone especially @DarkAshelin you're an example of how someone that got help should become :)
 
@CarrieKendall you rox out with yo sox out
@CarrieKendall
fixed
i will fix the crappy formatting after lunch
 
ie remove dnd? :P
 
@Skullomania Why not accept more answers to your questions?
 
@DavidH np and thx xD I also have to go, will be back here 9am-6pm CEST all day tomorrow
 
3:53 PM
0
Q: Ajax call to display a PHP variable

PurifyI feel as if I'm making a noob mistake here, but it's annoying the hell out of me so I guess I'll post! If it's not obvious, I'm trying to simply get message in the php array to be logged to the console. What actually happens is, data returns nothing, msg returns 'success' and data.msg is undefi...

 
@Purify you describe "data.msg returns nothing", but it should be "data.message" right?
 
yeah, just made that edit now though :p
message gets returned as 'success'
data doesn't output anything.
 
you're constantly using "msg" and "message", it's confusing
use 1
 
i was using msg
but edited it all to message
 
you still have msg in your text and function
 
3:56 PM
gonna update from sublime
xD
updated
 
@CarrieKendall doesn't fix the problem
 
should still be setting header to the expected return type
 
set that in php
didnt help
:P
 
your js has some errors
var message = '';
jQuery.ajax({
    url: 'http://ideone.com/HB7iza',
    type: "POST",
    data: { message : message },
    error: function(xhr, text, thrown){
        console.log('error');
    },
    success: function(data, message, text, xhr){
        if(data.message){
            console.log('data exists');
        } else if(message){
            console.log(message);
        }else{
            console.log('no data');
        }
    }
});
 
4:06 PM
fiddle?
 
No idea, I don't work with PHP.
is there a php fiddle?
 
@mikedidthis your code returned
Uncaught TypeError: Cannot read property 'message' of null
 
@mikedidthis yeah
its called Phiddle.net
badish!
 
oh, you silly nerd, you
 
@Loktar you got jokes!
@Purify did you change the URL ?
 
4:09 PM
yes
<_<
 
Sorry, I was trying to help.
 
and added a datatype
dafuq is up with this
 
add your test php live somewhere
 
OH MY GOD
WHAT
oh my god
usrs
think I know why.............
 
user652649
@mikedidthis why dropbox converts gifs to jpg? :\
 
4:13 PM
malformed url?
 
I don't think my host supports ajax
LOL
 
@Wes extensions mean nothing.
 
whose your host?
 
@Purify on a scale of 1 - 10, you are a tit.
 
LOL
Arvixe
got their linux plan
under their asp plan they list AJAX
who the fuck doesn't support ajax
like really
 
user652649
4:15 PM
i don't think hosts can block ajax requests
 
well, it did return as a success
but it would explain why the code doesn't work :P
 
user652649
try with a generic content-type @Purify like text/html
 
@Purify i have never heard of this
 
^ that
 
is your ajax request on the same server as your .php file?
 
4:17 PM
yup
 
link to the php or i keel u
 
user652649
 
user652649
bigger font normal or smaller but bold ?
 
smaller is better, duh
 
bigger
 
4:19 PM
^ comes from deeply masked insecurites
 
thanks
 
:P
@Purify can you give an example of the requesting (ajax-containing) url versus the php url?
 
user652649
my layout depends on mike's penis size?
 
ie http://example.com/ajax-request.html and https://en.example.com/phpfile.php
 
@Wes no, it depends on how big I wished my penis was.
 
user652649
4:21 PM
ahah
 
@mikedidthis hey, you said it
 
@CarrieKendall it's a non-public work file atm, so can't ;(
 
i am not asking for the link
i am asking for an example, ;]
 
okay then
url: '/wp-content/themes/themename/includes/functions.php',
 
oh its wp, no wonder its not working :P
 
4:23 PM
well, i've done it before on wp
 
E_WORDPRESS
 
OH WOW
 
well, there is your problem
 
that's fucking mind blowing
 
4:25 PM
ask them exactly what it means you can't do
 
visited so 999 days hah
 
you might should change the content types like @Wes suggested
 
@Purify for real?
 
MIND
BLOWNN
KABOOOOOOOOM
 
time to switch hosting
 
user652649
4:28 PM
@Purify protip create a dummy <form method="post"> for testing it
 
user652649
if it works that way, it will work with xhr as well (unless jquery of course)
 
@Wes what's the difference?
 
user652649
visual feedback? sometimes helps
 
I thought I was being a noob
turns out my host was being noobs
 
user652649
i still can't believe they disabled ajax
 
4:30 PM
that's really not possible
 
user652649
more than likely the customer support guy doesn't know what he's saying
 
the server can't detect the synchronicity of requests
 
user652649
actually @CarrieKendall it's possible... you configure the web server to return error xxx or empty response when request headers are application/json or whatever
 
that has zero to do with if a request in async
 
user652649
i didn't follow the discussion
 
user652649
4:33 PM
so the request works only if sync ?
 
not sure what works ;] @Purify wont share links
 
true is that I've never heard of a host doing something like this
 
user652649
@Purify nobody will steal your noob code xD
 
xD
 
we just want to make requests from console to your lame php array ;]
 
4:36 PM
@Wes got any list like a top 20 best designed italian websites?
 
user652649
@easwee nope because it would be a self-celebration list
 
I'm asking that because from my experience no matter how good italian design is - at web it's horrible
also can't find any blogs with some lists :)
tried searching in english and italian
 
user652649
yeah there are great italian web designers but not many
 
user652649
i can't name one actually, except myself of course xD
 
user652649
actually these days is hard to actually be a designer... sites need to be usable rather than cool... in fact i can't say i "design" websites anymore... i just "lay out rectangles"
 
this guys are like 1km from my house lol
@Wes So true - flat design killed it :(
oh well atleast content is overruling slowly
 
user652649
@easwee long time ago i made this... that was the last actual "cool" website i made idrovolanteiseo.it
 
user652649
also now it's maintained by someone else and he can't even properly compress jpegs -__-
 
hehe - works smooth
I like those boats
:D
 
user652649
4:49 PM
!!google riva aquarama
 
it's a classic
 
user652649
yeah
 
can't count how many movies used this boat
 
user652649
:P
 
user652649
4:55 PM
but sometimes we have our moments upload.wikimedia.org/wikipedia/commons/a/a2/…
 
been there
still - this place is also awesome from afterwar years easwee.deviantart.com/art/Redipuglia-288404024
 
I like running into people from our chat in Q&A, especially because we're always right, haha
 
user652649
@easwee you can't forget the first time you saw that, right? :P
 
was a kid of 6 when I first went there - now I stop there each time I drive by
 
user652649
surreal place, kind of scary
 
user652649
5:03 PM
anyway time to go home
 
user652649
byez
 
bye
 
bye
 
5:04 PM
!!tell 15886896 awsm later, nerd
 
@Wes ltr, nrd
 
Don't wanna be a fool for you
Just another player in your game for two
You may hate me but it ain't no lie
2
 
N*Sync
impressive
 
Had to with the messages above
 
@ZachSaucier baby ....
 
5:16 PM
Now it's stuck in my head. I love it
 
@ZachSaucier i just got back from lunch....did you have answers for me
 
@Skullomania No, I was wondering why you don't accept correct answers on more of your questions
 
@ZachSaucier +1000
 
anybody looking for a job around DC area?
pure web development
 
I am. but I can only work remote
 
4 hours a week, I may or may not be intoxicated, and I promise no results.
 
hehee
we are looking for people like @rlemon then
 
"I promise no results" lol
 
He said ambiguously
 
@ZachSaucier i didnt have any more questions
@ZachSaucier but I accept all of them
I just had to take a lunch to pick up my old lady
 
5:30 PM
@Skullomania I think he meant why haven't you accepted an answer for the majority of the questions you've asked on StackOverflow; most of your answered questions haven't seen you select one of the answers as the "Accepted Answer"
 
11/15 of the most recent questions you asked were answered with no accepts. Didn't look at them individually, just seems like more should be accepted. The trend continues with more of your questions
 
@Skullomania go click the empty check icon next to answers that helped you on your questions
 
some of them do not answer the question...the ones that do I check
i know how to accept...is there a question in specific that you are talking about
 
No, but you should provide feedback if they are not correct
having a bunch of questions with few accepts make users not want to answer
And if you end up answering your own question you should post to help others and mark it as closed
 
only 32 of your 79 questions have answers that answer your questions? 40.5% seems kind of low.
 
5:33 PM
@TylerH and @ZachSaucier i certainly do not mean to ignore...its possible that I moved on to another project or simply got the question answered and fixed the issue but forgot to check it...Ill be sure to go through and clean up
 
please do, if the question no longer serves a purpose and doesn't not have an accepted answer consider deleting it
 
if the answer lies in the comment....how do i mark it answered...do I just upvote and delete?
 
ask the person who left the answer-comment to write an actual answer, as it solved your porblem
 
Also, if you delete a question/answer, then all attached answers/comments will be removed, and votes along with it.
 
if they don't in say a week or two, just write the answer yourself
 
5:39 PM
@TylerH Can't delete a question with an upvoted answer FYI
 
@ZachSaucier was the feature added due to a need? I can't imagine it was part of an original design
the feature of blocking deletion if upvoted answer exists, that is
 
I'd assume it's there to prevent useful answers to bad questions from being deleted
 
someone found it helpful (ie +1) therefore it stays
keep in mind that the questions and answers don't belong to the OP after submitting
 
ok....I will go through and clean it up but now i need to get back to finishing up some projects
thanks to everyone for your help!
 
5:59 PM
I'm so confused... stackoverflow.com/questions/23116760/styles-for-ie-if-lt-ie-12 This guy mentions IE 12 in the title, but in the post I think he's trying to support IE 5.5/IE6
 
so obvious, he's talking about 5.5 + 6 rounded, duhhh :P
 
doh
 
6:30 PM
In your opinions, is it better to use p:nth-of-type(1); or p:first-of-type;
 
Either or? They both have the same level of support.
 
I'm just curious as to the habits; they do the same thing, but the latter is one character shorter and also semantically clearer, I think. I've just seen some people using the former and it piqued my curiosity
 
I think if you are doing first / last, then its cool.
If you are doing 1st, 2nd, 5th, 6th, use the first?
 
right
any time it's more complicated than just first, I think it's better to use the nth option
 
i try to be as specific as possible with selectors
 
6:37 PM
I should have thrown that question to you for your bot, Chip
 
Ha, its not mine, its the rooms.
 
nice guy chip
he gives wall-e a run for his money
> <div id="content">Beep boop</div>
 
Yeah I couldn't use my usual tits and bra example sadly.
For context: jsfiddle.net/Zc999
in JavaScript, 3 mins ago, by Benjamin Gruenbaum
@rlemon they get better at interviewing, you get better at getting interviewed, they get a benchmark for future candidates and you get a benchmark for future interviews. You get to know people in your area with similar interests and possible business partners for the future. At the very worst, you might get a tempting job offer.
@Patsy that is for you about your interview question.
 

« first day (351 days earlier)      last day (3437 days later) »