« first day (544 days earlier)      last day (4404 days later) » 

7:00 AM
@857628 Your user clicks on the link. Instead of opening a popup, the page reloads. Do I understand your problem correctly?
 
what is the non object
here?
 
@Oleg can you give repla
 
look at it for a few minutes, then ask
 
@857628 replay?
 
can give solution @Oleg
 
7:03 AM
@857628 I don't even understand your problem. How can I provide a solution?
 
Ram
@Oleg:in that link it's going on another window
 
@Ram Did you try adding return false; to your href attribute as I suggested?
 
Ram
Instname = rk technologies
Phone No = 3456
Location = hyd
Mail id = rk@gmail.com
@Oleg:when user click on rktechnologies with out going to new window it should pop one window
 
@paul the results are not being stored in the array
 
@Ram so? you want me to write the entire solution for you?
 
7:10 AM
I can't figure out why
 
Did you fix the error?
 
there is only one row in my table
yes
I fixed the previous error
 
You read the entire tutorial too?
 
no I didn't
 
@DineshVenkata @Paul is being very kind to you. but I guess he shouldn't. debugging is a part of development and you should learn it. and you should learn how to use documentation.
I may sound mean but line by line helping someone code isn't the right way to learn or teach. seriously :D
 
7:11 AM
@OmeidHerat yea I'm sorry
 
yes, it is time for me to do my own work now.
 
@OmeidHerat He should also learn about "web development" :)
 
@paul thank u
for your kindness
 
@Oleg haha, but seriously don't ever try to write a Video Chat in PHP. :D
 
7:13 AM
thats ok, good luck. That tutorial will help you.
 
I'm new to php and web development I'm quite good at what I do "Android"
thank u @paul
 
@DineshVenkata Oh! so that rule applies to you even more considering that you already now about Programming :D
 
@Oleg where i did the mistake
 
@857628 Did you read my messages and follow my suggestions?
 
7:18 AM
i gave the return false end of the href @Oleg
 
@857628 and?
 
emm .. what ?!
 
displaying text return false @Oleg
 
@857628 I need to see the code.
 
this is the code pastebin.com/V5M594Gg
 
7:20 AM
which one is better @OmeidHerat mysqli or pdo?
 
@857628 No, this is not your code. This is an example you took from html-form-guide.com
 
@Oleg yes already i told to u
 
@DineshVenkata that is pretty subjective thing. some people prefers pdo and some mysqli. I like PDO as it has the flexibility to switch databases, but its not easy -- and way too costly -- to write cross platform SQL so being able to switch database isn't that important or worthy, but still good to consider.
give both a try and see which one you like.
 
@857628 That code has no problems.
 
7:23 AM
@DineshVenkata this way you also learn how different API's work and what is a good and what is a bad one :D
 
Good morning
 
@857628 Now, it seems that your modified code does have problems. If you want me to help you solve them - you should post your code.
 
@Oleg no sorry, his code is not opensource. :P
 
@OmeidHerat :D
 
in that code opning another window instead of that i need popup window @Oleg
 
7:27 AM
@857628 Did you just copy that code and use it like that?
 
I don't get it, why do people always think this chat is where we write code for other people and they just have to tell what it is they need?
 
i need only pop up where i change that code can you help me
 
Yes, yes I can...
 
1 hour ago, by Omeid Herat
@857628 I am not going to help. seriously not. if you don't know how to ask a question.
 
I would be glad if you can vote on my tag edit:
 
7:30 AM
The code you need is <?php $selfish = true; if($selfish == true){ die(); } ?>
 
@Chris <?php $selfish = true; if($selfish) { die(); } ?>
 
@OmeidHerat no typo detected
 
I win!
mwhaha
 
where ? ;)
 
damn you!
 
7:34 AM
@OmeidHerat What are you talking about?
 
Do you guys want a quiz?
 
Nope.
 
wait.. is this a job interview ?
:P
 
I gotta get to work, metal won't carry itself you know!
 
7:36 AM
it does. if designed (made?) by Google.
 
var_dump(0 == "a"); // ???
 
Google can't design shit. I'm a designer, so I know.
That being said, products they make are half decent. And that being said, gmail is the only thing I use.
 
@Chris okay, but do you know they have self-driving cars ?
 
Yes
 
@Chris and they are search engine ?
 
7:38 AM
So?
 
@OmeidHerat They also have that technology that lets you use multiple mouse pointers on the same screen. It's awesome!
 
That was an April fools joke
but whatevz
duckduckgo.com is a search engine and unlike Google's, it actually does what it's supposed to do. Give results without bs. Self-driving cars? Sorry, but I'd prefer driving a car myself.
 
@Oleg how is that quiz ? I thought I would get fails.
 
@OmeidHerat hmmm?
 
@Chris I use startpage.com powered by google but pretty secure.
 
7:41 AM
Secure?
 
in terms of privacy.
 
Man, I don't give a F if a bloody search engine is secure or not. I want results, fast and without some "algorithms that google has".
 
@Oleg automated type conversion. any text is zero.
@Chris hahaha, I do care about both.
I want a smart algorithm to find the right thing out of gigantic load of crap on the intewebz.
and at the same time I don't want any creepy cooperation to know every possible shit about me.
 
Which Google has with personalized search bs, ads everywhere and if you search one thing it changes the algorithm to output in such way. Crappy search if you ask me.
 
@Chris so that is why I use goolge through the startpage proxy. problem solved. :D
 
7:43 AM
@OmeidHerat You do know that your talking of Google? Oh it knows about you, it knows everything.
 
funny thing. that it won't take long for Google to know about this conversation.
chat rooms are indexed.
 
For you the problem is security, duckduckgo doesn't take any personal information (it's open source ffs) and it doesn't show you millions of ads and other things.
So, long story short, I bloody hate Google.
 
I used duckduckgo for a while. but it wasn't good enough yet.
 
Except gmail, gmail is good.
 
and it's good to know that duckduckgo is somehow powered by google.
 
7:45 AM
It doesn't spider the web itself, it takes results from bing / yahoo and other places and then outputs them accordingly.
 
try a search with startpage, duckduckgo, and google.
 
So, It'll take a bit longer for a site to get to duckduckgo's index, but hey, whatever.
 
then you probz know what I mean.
 
I don't like startpages.
 
fair.
 
7:48 AM
I need a new monitor, my current 15" widescreen can't handle my bookmark bar on chrome :(
 
chrome :|
Firefox FTW.
Pentadactyl is fun !!
i am such a hard core _vimmer_
 
Chrome is a designers best tool. It supports most HTML5 and CSS3 features to date and is also the fastest browser alive currently. Beat that.
 
it's from google.
nuff said.
 
Yea, that fact bothers me too .. but it doesn't change the fact that Chrome is the market leader. It already peeks over IE usage on the weekends as well.
 
Famous is not always good. good is not always famous.
 
7:51 AM
I was a Firefox user back when it was 3.1, then I realized firefox is slow, doesn't support much of modern solutions and then I went over to chrome.
It's not about name, it's about content. And there Chrome wins.
 
that is fair. browser is quit subjective anyways.
 
But I guess that's something only front-end devs understand, as you PHP guys don't really need css3 animations or other things.
 
but I love Vim, and chrome limitation doesn't allow for a decent plugin to provide the Vim support, but firefox does.
 
You guys just hardcore it all with javascript and make the page way slower.
 
so it wins for me.
 
7:53 AM
Also, I hate plugins.
It the native application is not good enough, I won't use it.
 
what does PHP developer has to do with javascript ?
if a website front end is slow, it's the front-end devs to blame.
 
Your right and wrong.
Back-end can be slow as hell, too. Trust me, I've seen it.
 
yes, but I said if a website front-end is slow.
 
It also depends on the server. It also depends of whether or not PHP guy who THINKS he knows how to do front-end has made front-end.
Anyway, I'm off to work.
 
if someone is doing front-end then he is a front-dev or at least a wanna-be.
a serious PHP developer respects him self and doesn't touch front-end unless it's a weekend project or for the Lolz.
but that doesn't mean a PHP developer doesn't know anything about front-end dev.
anyways.
I am off to do some work now.
 
7:57 AM
How can What is 9 + 7 ? help fighting from spam?
It doesn't seems to hard to program a bot for adding two numbers.
 
Bots don't know how to interpret 9 + 7 as an input label
they don't know if its something like 'Name' or a sum. In addition, they also aren't made to solve problems like that. Just to fill in fields.
I'm a front end and back end developer myself
 
8:13 AM
morning
 
morning
 
morning :)
 
8:44 AM
Anybody wants to read the introduction to my php and sql tutorial and let me know whether it is ok?
It's the first time I'm doing something like this...
 
its good imo
 
morning :)
 
@hakre :)
@iyrag k tnx
 
@RepWhoringPeeHaa Create a gist on your github account, so it can be edited over time.
It does support markdown as well (demo, will be deleted)
 
@hakre hmmm wtf I tried, but it thought it was code: gist.github.com/2362466
what did I screw up?
 
8:56 AM
You can specify the file-type. Just put Markdown in there.
 
@hakre wtf!?!?!?! aaaargggh
 
ain't seeing the wood for the trees? ;)
 
when I paste the title SQL and PHP tutorial in the filename field it just overwrites my specified file type :(
stupid github
 
leave the filename field blank.
And I suggest you name the tutorial PHP and MySQL tutorial.
 
ha got it. changed it to SQL and PHP tutorial.md :) tnx for your help
 
9:04 AM
I'm loving the object oriented approach using mysqli
 
But the question is do you prefer mysqli_* or PDO?
@DineshVenkata ^^
 
I'm a beginner @RepWhoringPeeHaa so can't really take a stand
:P
@RepWhoringPeeHaa I have a doubt can boolean values be directly passed as values for radio buttons?
@Neysor
 
hi
 
can boolean values be directly passed as values for radio buttons?
 
don't understand your question right, give an example :)
 
9:16 AM
Hi
Need help
can i post question here
?
 
@Neysor I mean can I set the value of a radio button to boolean type?
 
do you mean having a radio button, when checked, will be 1 in $_POST['radiobutton'] and when left alone (not checked) to be 0?
 
I wana design class digram for sorting like
http://www.careermonk.com/?qa=blob&qa_blobid=9427772357668836501
 
Or having two radio buttons (one with value=1 and the other with value=0)?
 
I mean value like value=true and false @iyrag
 
9:18 AM
guys plz help me on this
http://stackoverflow.com/questions/10119607/strategy-or-factor-pattern-for-sorting-logic
 
@DineshVenkata it doesn't matter what type you add as values for form elements. All values will be converted to string when sending the form
 
yea so using enum(0,1) will do the trick right?
 
`<input type="radio" name="radio_button" value="1"> True<input type="radio" name="radio_button" value="0" checked>
 
@DineshVenkata enum() isn't a function in PHP
 
I mean't in the database
@RepWhoringPeeHaa
 
9:22 AM
you really should avoid keeping the data in database schema
because that's what enum is
 
Hi plz help me on design patterns
can anyone help me
plz
 
@Indiandeveloper , you are making no sense
 
especially "very common" part :)
 
can somebody give me an idea of what is the best practice to design database for a quiz app?
 
@DineshVenkata Uhm, PhpMyAdmin has everything you might need.
Including a visual designer, profiler and full db management.
 
9:29 AM
oh I didnt use those aspects of it
 
http://stackoverflow.com/questions/10119607/strategy-or-factor-pattern-for-sorting-logic

plz chk dis
 
@Christian , how exactly is phpMyAdmin related to best practices ?
 
@tereško profiler? you can profile your queries
 
you mean the EXPLAIN ?
 
with the designer you can see obvious flaws in your db design (not that experienced people can't do it themselves)
@tereško such as...
 
9:32 AM
@Christian EXPLAIN is not a feature provided my phpMyAdmin
 
@tereško It's a feature of MySql, so?
 
3 mins ago, by tereško
@Christian , how exactly is phpMyAdmin related to best practices ?
 
@tereško It's a useful tool, not a best practice by itself.
 
Database normalization is the process of organizing the fields and tables of a relational database to minimize redundancy and dependency. Normalization usually involves dividing large tables into smaller (and less redundant) tables and defining relationships between them. The objective is to isolate data so that additions, deletions, and modifications of a field can be made in just one table and then propagated through the rest of the database via the defined relationships. Edgar F. Codd, the inventor of the relational model, introduced the concept of normalization and what we now know ...
 
actually it is an extremely bad tool
 
9:35 AM
It's like asking for best practice when writing PHP code, NetBeans doesn't really say you shouldn't use eval, but it does complain about undefined variables etc.
@tereško How come?
 
there are 4 forms of normaliztion
that I know
 
@Christian , how about fact that it is broken and outdated
 
@DineshVenkata You know the theory, you now know how's it done in practice, what else do you need?
 
hell .. you cannot even import with it
 
@tereško Bullshit.
@tereško Funny, I did that 2 days ago. Worked without a hitch.
 
9:37 AM
have you tried to import ANY content which is in UTF8 ?
 
@tereško Yes, migrated a site from local server to remote one. The site was in Maltese - ie, with special characters (UTF8)
BTW, last stable release is 07 Apr 2012. Not really outdated, is it?
 
lol
 
Why would somebody flag this? "@GordonM Don't forget the enormous penis!"
either way YOU SUCK!
:-)
 
@RepWhoringPeeHaa lol
 
:-P
"You cannot counterflag your own message"
 
10:03 AM
Haha
 
10:32 AM
what is counterflag?
 
10:52 AM
I can't feel my legs nor my back = I love my work = I hate my work = Paradox.
 
So, who here has a blog?
 
I do.. and i have a bounty to improve it :) stackoverflow.com/questions/10087143/…
 
"This question has an open bounty and cannot be closed" :(
:-P
 
yep :D
 
11:01 AM
I use my domain only for email. I just can't find the motivation to build something there.
I must ask, why do 99% of PHP guys design sites that look like something from the 90's ?
 
because they are not designers
 
Yes, but surely one grows at least some design sense by surfing web as much as a PHP guy does.
 
sense - yes.. but making it yourself is harder
 
Interesting.
 
especially if you never were involved in UX, prototype or photoshop
 
11:12 AM
@Chris because they are programmers and not designers ofc
 
you should see how system admin's design their websites :D
 
Yeah, well, CSS ain't that hard you know ...
 
@Chris it's not about css
its about designing
two comlpetely different ghins
 
yes.. just look at nokia :)
 
One would argue that CSS is designing. You can make very decent looking sites with CSS3, for example. No need to Photoshop.
 
11:13 AM
what programming language are android apps developed in?
 
everyone can make the code to build the design on a webpage
 
sorry for unrelated from php
 
not everyone can design
@mUnk3y java
 
@mUnk3y java
 
awsum thnx
 
11:14 AM
@Chris chris again doing css and designing are two completely different things.
 
All right, so from this day on I'm going to excuse myself every time I ask a question "I'm a designer, not a programmer."
 
If you send me a design I can make it, but I cannot make any design myself
@Chris most designers also suck at coding so you could be on to something :)
 
Web designers code front-end, if not then in my eyes they're not web designers. They're graphic designers, two different things.
 
in fact php guys are somewhere in the middle between frontend-js guys and heavyweight backend java guys
 
@Chris there is a reason why they code front-end and are not allowed to do backend stuff :()
 
11:17 AM
And in all honesty, front-end dev is way bigger than PHP dev. You need to know PHP, they need to know at least something of design, javascript, html5, css3, php.
 
@ArtjomKurapov ?? i don't get it. what does java have to do with it? Can you elaborate?
 
yes.. they don't want to learn javascript.. they are forced to use it :)
 
@ArtjomKurapov java != javascript
 
@RepWhoringPeeHaa well with java you are more tied to memory
 
What @RepWhoringPeeHaa said.
 
11:17 AM
java or javascript?
 
you dont have universal arrays
java
so you definitely dont have time to go and play with frontend
especially because its not that used with web
 
Time .. wrong.
If a person doesn't have time, the person did something wrong.
 
@Chris
 
@Chris or the boss or the sales department or the client
 
Or is a rich guy running multiple companies .. one of the two.
 
11:19 AM
not everything depends on you
that is.. you don't choose how industry works
 
Nope, but you choose how to work for the industry.
Freelancer = can make own time.
 
yes.. so you are either a know-it-all with bits and pieces or a narrow-specialized
 
9 to 5 cubicle guy? Well, cubicle guy did something wrong with his life.
 
thats why good designers dont programm
 
Well, around here you can't get hired if you only know 1 language, so ..
But what if a good designer wants to program?
 
11:23 AM
they usually find it boring :D
 
Surely you can't think that a person wants to do one thing for the person's entire lifetime.
Granted that designers usually move onto video editing or directing and something of that sort.
 
designers either go in UX, industrial, graphic or whatever design they have
illustration..
 
illustration == design.
graphic == design.
ux == design.
 
no.. illustration meaning you draw
 
Good designer draws, good designer thinks about user experience while designing, I mean, you ain't gonna design something that is totally unusable, are you?
 
11:25 AM
people.. posters.. maybe logos and icons
 
And illustration adds a bit of character to the design.
 
there is no such general kind of guy
who does everything
 
Yes there are.
Design is one big field.
A designer who can't draw or consider UX is not a designer.
 
no.. you have one major specialization.. and several minor hobbies
 
So, a designer for you is someone who makes boxes in photoshop all day?
 
11:27 AM
yep.. i've seen guys make a logo for several days
 
ha
Yea, a real designer sketches logos on paper (drawing) then makes it in either photoshop, fireworks or illustrator - depending on what the designer prefers.
A real designer thinks of UX while sketching the logo, so that the user would immediately understand what the hell is that thing.
I've been in an art school, I know who's a designer and who is not.
 
well he did a good job
 
Says a PHP guy.
lol
dribbble.com/shots/238289-Bag-icon-sketch <-- is made by a real designer, not same photoshop dude who knows what buttons do.
 
yep.. very nice
we do have a saying that good guys are good at everything..
but kinda hard to see such examples
 
I'm a part of the dribbble community and I see geniuses who do everything all the time.
I'm just 99% sure they have cloned themselves or something
For example a friend of mine, @idiot (on Twitter). He does solid PHP and awesome design, top notch HTML5 / CSS3 and JavaScript.
 
11:34 AM
well I hope he has a life too :)
 
fuck my life
 
From what I see, nope. But he has probably cloned himself as well.
@tereško With lubricant or not?
@ArtjomKurapov Your blog's scroll bar is retarded. Or so I like to think.
 
@Chris if that guy is so great why does he have an unusable site? :P
 
@RepWhoringPeeHaa How so?
 
11:44 AM
@Chris "He does solid PHP" Uhhm no he does not.
 
I'm talking of my point of view, not yours, correct? Hence, for me, he does.
 
@Chris solid PHP is solid php. It's not a metter of preference
 
Yes, and he does what I can't do.
So "solid PHP" is defined somewhere? if so, where?
 
@Chris Right here in chat :-)
neh there are coding standards and best practices which one should should follow
I only openend one samlpe file in that download and all I see are statics everywehere so I stiopped reading :)
 
I'm still learning so I don't know much, but if you say it's that bad, well, I guess it's that bad.
 
11:51 AM
@Chris you do know that globals are bad right?
 
Also, all I hear is you people hating statics so very bad, but I see no fact based reason behind it so as far as statics go, it seems to me like some flamewar.
 
@Chris What are "statics"?
 
@Chris It's more like I have been there once so I know how to NOT do it
 
Yes, heard about that, but nobody never tells me why. They keeps answering "it's just bad, don't write it".
static functions / classes.
correct?
 
@Christ it impossible to test and you can get flaky results
 
11:52 AM
using Class::function() is extremely bad and yada-yada.
 
global state is bad
I just told you why
 
why?
 
Impossible to test.
 
why what? I just told you why...
 
11:53 AM
Right, Laravel PHP framework is all static .. yet they manage to test it.
 
@Chris
@Chris where are the unit tests? I don't see them?
 
I don't know, I asked them a while back that I heard static is all bad and and they think of it ..
 
They said it's completely fine. Now, from what I (a front-end dev / designer learning PHP) see, for you guys writing horrible syntax is good code and writing beautiful syntax is bad code. Kind of like linux, awesome OS, incredibly shitty design.
 
neh no good tests there
@chris I suggest you start with these and after that you can come back:
http://www.google.nl/url?sa=t&rct=j&q=google+clean+code+talks+youtube&source=web&cd=3&ved=0CC0QtwIwAg&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D-FRm3VPhseI&ei=-8KGT5jaBc3p8QOXpfTbBw&usg=AFQjCNHcw8sCqCa2Puo_jAklhECzFe3C0w (start here to answer your question)
http://www.google.nl/url?sa=t&rct=j&q=google+clean+code+talks+youtube&source=web&cd=1&ved=0CCEQtwIwAA&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DwEhu57pih5w&ei=-8KGT5jaBc3p8QOXpfTbBw&usg=AFQjCNFkQpTnDbBsJtOiUPzKQhgvDF8IWA
http://www.google.nl/url?sa=t&rct=j&q=google+clean+code+talks+youtube&source=web&cd=2&ved=0CCcQtwIwAQ&url=ht
 
11:58 AM
Will do.
 
for now a've got enough of talking to a wall and I'm going to smoke :)
 
Chee, thanks
 
@RepWhoringPeeHaa :(
 

« first day (544 days earlier)      last day (4404 days later) »