« first day (798 days earlier)      last day (4165 days later) » 

Anonymous
11:01 PM
@dyelawn You need to realize, just because I found this site and am chatting here, does not mean I am supposed to be a wizard.
 
Anonymous
I need time
 
Anonymous
to know more
 
@TheCOMPLETEPHPNewbie No, you need to realize something.
 
@TheCOMPLETEPHPNewbie i'm a really, really trying to save you time
 
Before you ask a question, any question whatsoever, you are expected to do some basic research.
 
11:02 PM
i'm a also mario
 
It will save both you, and us time.
@dyelawn Also, DI, SoC and LoD are way way WAY ahead of him.
 
Eh, Dependency Injection itself is really simple to explain -- why its needed slightly less so.
 
He asked about the difference between arrays and variable a not a long while ago.
 
Separation of concerns also abstractly makes sense
oh...
 
@MadaraUchiha maybe, or maybe he's just trying to be lazy. they weren't ahead of me when i ignored them. i just thought i could get around them.
 
11:04 PM
@dyelawn you've come a long way (:
 
24 secs ago, by Madara Uchiha
He asked about the difference between arrays and variable a not a long while ago.
 
@MadaraUchiha yeah..........
 
Anonymous
@MadaraUchiha No!! I never asked the difference between the two in a way you meant it.
 
@TheCOMPLETEPHPNewbie Refresh my memory then, if you will.
I recall you asking about the point of arrays, why should you use them if you can just use variables.
 
@Lusitanian /* presses play on and holds up boombox containing cassette with Fatboy Slim's "Praise You"; bobs head */
 
11:05 PM
I'm not that far off, am I?
 
lol
 
No, he asked why some example code included the array typehint in a function definition and wasn't sure how it applied, given that his example dealt only with a scalar value :p
 
0
Q: How can I get the thumbnail from a WP_Post object?

Madara UchihaI'm trying to Loop over a bunch of pages under a certain taxonomy. The looping part works great, and I get all of the pages I need (nicely wrapped in WP_Post objects). However, now I'm facing a different kind of problem. I want to include the page's thumbnail as set in the editor. I've tried any...

Think you can give me a hand once more? :P
 
So uh...what's the difference between addition and subtraction............as it pertains to jQuery? @webarto
 
@Charles That's not the question I remember spending approximately 15 minutes explaining
 
11:07 PM
Maybe earlier then? /shrug
 
@MadaraUchiha still adding fingers to the first hand
 
Yeah I think there was one earlier.
 
@dyelawn :P
 
@dyelawn lol. wait I'm trying to remember, are you a comp sci student?
There's so many people with the generic avatars and that's how I associate people to what they say about themselves, so it becomes jumbled in my head :P
 
@Lusitanian salesperson who left sales because i thought i could learn to write code in like, twelve minutes
 
11:09 PM
@dyelawn psh, you can learn to write code in 30 seconds. write: std::cout << "Hello world!";
 
@dyelawn Could you? :P
 
you've just written code
 
Anonymous
I think it is better to image what a newbie is able to undestand before all of you start giving these complex links to understanding.. God know what... We are just newbie... and I am certainly at the wrong place in the wrong time. I should be asking questions in Digitalforum, DaniWeb or other forums, where everyone is almost the same.
 
Anonymous
That is the problem
 
11:10 PM
@MadaraUchiha curious, though. why are you, with your billions of stackOverflow points, delving into the mess that is Wordpress
 
Anonymous
You just think, everyone in this chat room must be evil genius, and so should the questions be
 
$(document).ready(function() { $(body).append("<p>Hello World!</p>"); });
 
@TheCOMPLETEPHPNewbie No we don't...everyone tries to help and the only hostile one is tereško and that's just because he has 'issues'.
 
@MadaraUchiha yeah, i just paid for a lynda.com account and wrote a bunch of stuff that was completely unfit for reuse.
 
@dyelawn Ahh, if only I could change
It's an existing project, with theme modifications.
 
11:11 PM
We've all tried to help, and the concepts you've been shown are relatively abstract and you don't need to write code to understand them partially.
 
@Lusitanian setInterval(function(){$('img').each(function(){this.src=this.src.replace('&d=i‌​denticon&','&d=http://stackoverflow.com/apple-touch-icon.png&');});},500);
 
@Lusitanian Lol, that's worth pinning
 
@ShaquinTrifonoff you.....you and your evil scripts :D
 
how's it going
 
11:13 PM
fine
 
Anonymous
 
Anonymous
my testimony
 
@TheCOMPLETEPHPNewbie You don't need to learn PHP.
 
Anonymous
@MadaraUchiha why?
 
@TheCOMPLETEPHPNewbie The PHP syntax is rather simple.
 
Anonymous
11:13 PM
I love PHP
 
You need to learn programming
You need programming concepts, ideas and terms
 
@Lusitanian This one replaces all generic avatars with the Stack Overflow logo.
 
Anonymous
@MadaraUchiha check my picture above and tell me how dedicated I am
 
You need to be able to look at code, and understand the inner workings, at least somewhat.
 
@TheCOMPLETEPHPNewbie That doesn't show anything about dedication, just that you can use BitTorrent.
What you need to do is what @MadaraUchiha says
Forget about PHP for a bit
just think abstractly about programming
 
11:15 PM
@TheCOMPLETEPHPNewbie Reading/watching tutorials isn't what you need right now.
You need to solidify your basic understanding of programming
Once you do that, you will be able to learn any language you want.
 
including LISP :)
 
Language syntax is very easy to learn. Especially when you have the manual opened at all times (and PHP has a great manual)
 
Anonymous
I have created a news site too, with members, categories, comments... but I just repeat what I know only, which are few to be honest... but, I am not flexible like you guys, and whenever I try to be, I just get lost.
 
@TheCOMPLETEPHPNewbie Exactly at those points where you get lost
Just there, you should come here for help.
In those points, we can help you, but you must keep an open mind, to learn
We will try our best you give you advice, educate you
 
Anonymous
Ok. and I will forget about PHP for a while and need to understand the flow of programming, the concept, the origin, just the world of programming.. Is there any book on that, for newbie? that would help a million times.
 
Anonymous
11:18 PM
@MadaraUchiha thanks
 
Anonymous
Does leaning C++ help to understand PHP better? even the basics of C++?
 
NOOO
No.
C++ will destroy your brain.
 
heh i learned C++ before i knew php (somewhat rusty now though)
 
Anonymous
Because, most people here seem to have previous experience of programming
 
11:20 PM
WP and "good coding practices" in the same summary :(
2
 
If you want low-level learn C via K&R. If you want high-level learn Python and Ruby, in that order.
 
@TheCOMPLETEPHPNewbie i didn't. and my stubbornness made it a much more difficult process than it needed to be
 
C will feel a lot like PHP, but it's much easier to shoot yourself in the foot.
 
um C has similar syntax to PHP
and some similar function names
 
Python and Ruby, meanwhile, are very different languages, yet have the same concepts you're used to in PHP.
 
11:21 PM
that wraps up the similarities
 
Anonymous
@MadaraUchiha Ok, but what about the nature of programming. For examples, I don't know what people mean, when they talk about algorithm, abstraction, cores.... Where do I learn those?
 
@Lusitanian when i started learning UNIX commands, and i saw mkdir i was like NO WAY! THAT'S PHP
 
@Lusitanian, very true, I'm keeping it high level as to not scare him off :p
 
@Charles lolol ok
 
@dyelawn hehe
 
11:23 PM
@TheCOMPLETEPHPNewbie, you learn abstraction with experience. Algorithms are mathematics.
 
Does display:inline-block at all affect vertical-align:middle ?
?
 
@DemCodeLines Maybe, what's it inside of and is the element itself normally inline (otherwise no workie in IE)?
 
Anonymous
thanks guys, you have been super helpful
 
@Charles: here is the code I have:
<span style="display:inline-block;color:#4A374B;margin-left:3px;margin-right:12px;vertical-align: middle">Password:</span>
<input class="text defaultText fancyText" id="password" style="width:300px" name="password" title="Your password" type="password">
 
Shouldn't you be using <label> instead of <span> here? Not that it makes a huge difference for layout purposes, of course.
Also, what's containing this HTML? Vertical-align is all based on what the parent is...
 
11:30 PM
@Charles I will end up changing it later, but for now I am keeping it span. But any thing you see wrong with this?
 
@TheCOMPLETEPHPNewbie you're welcome
 
A form
which is inside a div
 
@DemCodeLines, can you c&p the html into a jsfiddle (or similar) so we can see the problem you're facing?
 
@TheCOMPLETEPHPNewbie what you need to understand, whether or not you absorb anything that's said in this space, is that you can't make the machine adapt to you. you need to learn to speak its language(s) before you can make it do what you want it to do
 
11:34 PM
ok here
 
@MadaraUchiha i just wasted so much time on the answer to your Post2Post thing that I'm not going to post.
 
@dyelawn Why not? Do post
 
Hey guys, I have a quick question thats rather off topic for PHP, but I figure maybe one of you guys know the answer. How long does it take for a brand new nameserver to go through? Just as long as a normal domain nameserver change? I bought a VPS and made some new nameservers, and its taking a bit of time..Around 10 hours now.
 
@Necro. The recommended time to wait is 24-48 hours
It usually takes less than 24
 
11:37 PM
Yeah thats what I thought, its a bit all over the place, I think its gonna take a bit of time I changed the Nameservers for the domain all at the same time as making the new nameservers, so its probably longest case scenario lol thanks.
 
@DemCodeLines You forgot the form and whatnot. Yeah, it matters. vertical align is a real pain.
 
ok, let me add it, one minute
 
Great! So, you're trying to make the label line up with the input?
 
Yes
it should be in the center vertically, cause it looks awkward right now.
@Charles The annoying part is that it works fine in IE
 
@DemCodeLines Your code is terrible lol
 
11:49 PM
Why, what's wrong?
Is it because of the inline styles? I will put it into a css file, but for now I don't want to switch back and forth between files.
@ShaquinTrifonoff ^
 
http://jsfiddle.net/9Gmtd/2/ -- I've added some `outline`s to help troubleshooting. Outlines are borders that don't take up space, if you've never worked with'em. Note how the span is already sitting at the bottom of the container, while the form isn't.
http://jsfiddle.net/9Gmtd/3/ -- this takes away the inline-block, see how the span is no longer forced the bottom? One little pixel, really, but still.
http://jsfiddle.net/9Gmtd/4/ -- in this one, I've added some comparison spans to the left and right, and used vertical-align top. Check out what it does.
 
@DemCodeLines Inline styles, not using a <label> for the text Password, invalid CSS, specifying border-radius with vendor prefixes, but not including border-radius...
 
Try each of the values in the MDN reference guide. I'm going to wager that none of them do what you're trying to do.
You probably want to use block level elements and floating, and use a container per row.
Meaning a label set to block and float left, then either a wrapper or the input itself, block-level, float left.
That will give you a greater deal of control.
That or you should use one of the many, many form frameworks out there.
formalize.me , Twitter's Bootstrap, etc.
Remember this whenever doing any dev work: someone else has already done it, and chances are that they've released it to the public.
 
user1125394
I did a simple login form with bootstrap, if you want
 
user1125394
@ShaquinTrifonoff is it ^ centered under IE ? guess not
 
11:55 PM
@DemCodeLines jsfiddle.net/9Gmtd/5
 
@ShaquinTrifonoff I need it next to the textbox, not on top of it.
@Charles, so I need to use a label?
 
@DemCodeLines Best practice dictates so, but it won't make a layout difference here.
 
@Charles Well, I really just need it in the middle.
 
@DemCodeLines With @ShaquinTrifonoff code it is in the middle
 
@PeeHaa "Password" is on top of the textbox, not on the left side of it.
 
11:59 PM
@DemCodeLines Have you tried making the frame bigger?
 

« first day (798 days earlier)      last day (4165 days later) »