« first day (639 days earlier)      last day (4300 days later) » 

12:00 AM
@ircmaxell Hey mister.
 
sup?
 
Oh nothin'; contemplating "the road less traveled.." with respect to a project I'm working on.
Quite a mess ^^^ up there; did it get flagged?
 
no, I wanted to avoid that if possible. Which is why I just binned and locked the room for 5 minutes
but since people got pissed off at that, I'll just start flagging and pinging for mods to step in next time...
 
Sounds good. There's no need for that sort of behavior, here or anywhere.
 
yeah, but since I'm made out to be the bad guy by trying to protect people from bans and the like, I don't care.
 
12:09 AM
Yea, from perusing transcripts the only involvement I saw on your behalf, was binning the shit and telling people to knock it off.
C++ raids; "racism"; it's wacky around here.
Bah well. If you have a moment, feel free to check out stackoverflow.com/questions/11493902/…. I think I'm pretty much screwed as far as straight-forward options go.
I'm thinking around marker interfaces now; just brainstorming, trying to find a fitting strategy.
 
eih, that should be pretty easy to solve... Let me start writing an answer
 
Please do; thanks :)
 
Hmmm .... i read about a solution approach to the "travekker salasman" graph problem solution using neural networks just yesterday.
 
12:41 AM
@ircmaxell . do you know any good materials about implementation of View for web oriented MVC-inspired design patterns ?
the more it think on it , the greater the confusion
 
hrm, not that I can think of
0
A: Parameter type covariance in specializations

ircmaxellTo properly answer this question, we must really take a step back and look at the problem you're trying to solve in a more general manner (and your question was already pretty general). The Real Problem The real problem is that you're trying to use inheritance to solve a problem of business log...

I never realized that Stategy, Command and Chain of Responsibility solved exactly the same problem, with the only difference being who is responsible for determining which implementation to use...
 
1:19 AM
@ircmaxell Wow, thanks. That's quite comprehensive.
 
:-D
 
The visitor is very much appropriate, as this does have to do with tree traversal.
 
Well, that would be an important detail to add, wouldn't it :-P
 
I'm going to expand the question, only with "here's where I'm at" implementation details.
 
sure, make my answer out of date :-P
 
1:22 AM
I know, I was trying not to cloud the question with seemingly unimportant details, and focus on solving the type problem.
Haha, no, it'll certainly remain current, I'm sure.
After I edit, if you have time, feel free to expand on your answer; perhaps my edit will shed some light on the specifics.
 
1 more twitter follower until the next milestone
/me wants this
 
yeah .. it looked nice , before i glanced at the price
now it just made me feel poor
 
:-P
 
@ircmaxell I don't understand why.
 
What kills me is this line: You Save: $63,720.00 (45%)
 
1:34 AM
I don't like watches.
 
no? I'm definitely into them
every year, I buy myself a good one for my birthday (as a self-gift)
not that good though...
 
I don't like having things on my wrist.
I don't like rings, either.
I can tolerate my wedding ring because its super light (its made of cheap materials).
 
See, you can get a really nice (well, for my standards, anyway) computer for that price. Since I can't stand wearing a watch, it seems like a complete waste.
You check the time with it.
 
I wear them all day every day...
 
1:41 AM
For $2000.
 
We all have our vices...
 
lol
Fortunately, most of mine don't cost money.
 
ome
Hello people!
@ircmaxell woho, did you actually pay almost 2 grand for that watch ?
 
yes
 
ome
wow. I think anything over 200$ is bit too much for a watch.
 
1:46 AM
obviously, I disagree :-D
I have a number of sub-$300 watches, but a few good ones as well...
I just have a fascination with mechanical watches, and they don't come cheap (unless they are piles of garbage)
 
if i had free 2k$ to waste , i would look into buying some furniture or maybe dumping it into apartment's mortgage
 
I dislike it
 
ome
@ircmaxell ah, that explains it. I have an uncle who has a fairly big collection of old watches, he pays awful lot of money for them.
 
I like the thought, but not how it's implemented...
 
1:55 AM
@ircmaxell I can say the same about the getter/setter implementation.
Although if it comes to a vote I'd probably vote yes.
 
yeah, I'd agree there
ok, off to bed
good night
 
ome
ah, I disagree.
PHP is already doing awful lot of things.
let the users implement what they want and don't make the PHP more bloated with stuff that someone might need.
 
@ome Honestly, PHP could use a good setter/getter implementation.
MANY people would find it useful.
 
ome
there is already getter/setters.
 
@ome No, there is __get and __set which are not the same.
And I think generally they are harmful.
They do have some good use-cases though.
 
ome
1:59 AM
what do you mean by getter/setter then ?
 
ome
I am off, I will be back in a couple of hours though, @LeviMorrison ping me with your thoughts.
@LeviMorrison you can implement that with _set ad _get very simply.
 
@ome No, because __get and __set are not called on properties that already exist. I guess it is still called if they exist but don't have proper visibility.
And good luck getting tools to help you if you use __get and __set
The good implementations actually create methods and are inheritable.
The __get and __set magic could be abused to do that, perhaps, but it would be an abuse in my opinion.
 
 
1 hour later…
3:33 AM
anyone knows about Send/social engine?? pls help me :(
 
3:55 AM
hi anyone tried executing a script automatically like for example if i run access localhost/my_folder/my_sub_folder/myphp.php or access localhost/my_folder/my_sub_folder/myphp2.php or even localhost/my_folder/mytopfile.php, i kinda want to imlement a config file that does executed without having to include it everytime?
 
.....
 
 
1 hour later…
5:08 AM
stackoverflow.com/questions/11488600/… any one to help me out with this>
 
5:27 AM
Hey, anyone have a good link as to where I could learn how to send HTML emails? There's plenty out there and many of them implement different methods. which is the correct method? I've heard there is a way to send a simple text version and an html version of an email in the same email and the browser/email browser will determine which one to show.
 
5:39 AM
hi guys
 
5:51 AM
yello
 
@Darius what have you tried?
 
 
1 hour later…
7:33 AM
 
7:47 AM
morning
 
morningz
 
morning..
 
8:13 AM
Good morning.
I have a problem - in index page i include file which consists of defined constants and variables. After that in index page I create class which creates another class and there I wanted to use variables declared in included file. But when I simply echo them then there is problem - constants is printed normally, but variables are not found. Why?
 
global $variable;
@tereško I'm an ass, am I
 
@webarto but why use global when it should normally inherit my variables?
And if not, why?
 
PHP is not Javascript.
 
A bit more
 
8:19 AM
ahh, I see
ty
 
what do you need those variables for?
 
@webarto what do you mean?
 
what is the purpose of those global variables? for config, for what?
 
for config
 
Greetings.
 
8:26 AM
morning
 
How'd you know I'm on UGT? O_o;;
 
Good morning
 
morning @deceze kunststube.net/encoding had a laugh
 
8:43 AM
@webarto Hmm, that was supposed to be rather serious‽ :)
 
@deceze education is fun! :)
 
Should I start going to PHP university and charge big bucks for it? :o)
 
I don't always know what I'm talking about, but when I do, I charge :P
10
 
I like it. :)
 
It's Friday, Friday, Frid... f* it's Monday :(
I only look forward to Monday when it's paycheck time
 
8:52 AM
Welcome to the working week. media-cache1.pinterest.com/upload/…
 
only dashes allowed :)
they open up a question for every f* syntax error, I mean... It's f* syntax error...
 
Darn, something's wrong with my 'puter. It occasionally stalls... And then there's a typo in the chat I can't correct anymore... :-/
Should call my mother to have this fixed. She always does the same...
Oh, wait.
 
'puter xd
 
9:09 AM
Think redneck accent... sommin' ain't right wit' dis 'puter o' mine...
 
my former manager talked like that, when he said, can I call you on Skype, I say that my mic is broken, because I have to record and replay several times before I can understand anything.
... I'm having this issue, I have to notify staff manager when staff member is idling, e.g. watching the TV instead of answering support tickets. Idle time is 30 minutes, so I have to notify only once if idle time is > 30m. Is there a jQuery plugin for that?
 
do you tag everything that's tagged with also?
 
php4 should be extinct by now, and php6 will not yet see the light of the day, so basically php5 is php, bigger differences are in 5.3+ @Flexo
 
@Flexo Don't use the tag please
 
Hi, currently I have a small php app using a mysql db exampledb having only one table fixed_name and is only for one user. I need it to make it multi-user. Should I use different tables named user_name in the same database? all tables will be absolutely same fields.
 
9:17 AM
@Davinder A table per user sounds like a really bad idea
 
@peehaa or because all users are just going to use same fields/columns, should I add a user_identification column?
 
@PeeHaa I didn't use it, saw it elsewhere
@PeeHaa - I see you've removed it already :)
 
and the use Where user = user1?
 
@Davinder What data does the table represent?
@Flexo :-)
 
@Davinder A table is a type of thing you want to store, rows in the table are the different things of that type. Make as many columns as you need to uniquely identify your users. Don't make a table for each user, that's like building a new warehouse for every toy you want to store.
 
9:21 AM
@peehaa for example currently table has only ID, Name, Number
Should I add simply USER column & use Select .... where user= "user1" to disaplay each user's respective data?
 
@PeeHaa out of curiosity why no synonym or mass-retag if is frowned upon and is an exact replacement?
 
So i think i should use ID, Name, Number, Owner/User in the same single table.. Am i right?
 
@Davinder And what does it represent?
@Flexo Idunno :)
 
imagine a phone book type system . Current setup = ID( unique, auto increment), name = name, number = number
 
[php5] may be exterminated though
is even worse
 
9:29 AM
@Davinder Sounds good.
 
And i think i should mark each row with a owner value, to seperate user 1 from user 2.
@deceze thanks..
So, just out of curosity, Facebook profile page contain many types of info(name, age, likes, pages, bio etc). I guess they have a table named profile, and column for each type of info. and one column for user_name to identify/tag each row to a specific user.
Of course facebook is just an example.
Just trying to wrap my head around mysql table schemes
 
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 ...
 
@PeeHaa Ok, reading now
dint know the word is normalization.. was googling for optimization :(
 
:)
 
9:45 AM
morning
 
Good Morning (UGT) @Nikic
 
@NikiC Mornin'!
 
Am trying to make an mysql connection and it came up with following message..."No connection could be made because the target machine actively (trying to connect via tcp://localhost:3306) in D:\Hosting ---"
 
@NikiC morning nikic
 
@pbvamsi "because the target machine actively"? o_O
 
9:54 AM
@deceze am connecting to the same database-table in its parent page from where it is being redirected (there it worked fine)...this is third level of the app page where as 1st and 2nd stages of app got connected to same db-table, am i clear!
 
Morning Guys!
 
@ircmaxell I'm not sure I like the examples ^^
 
HI can anybody tell me what is the mechanism of creating logs in cakephp?whether it creates queue for more than 1 person using login page(for example).
 
@david does it produces queues if n no of users using the same page
means until and unless 1st persons data is not log 2nd users data (for log) will be in queue
 
10:09 AM
To be honest, i havent really played much with cake but im sure it would be able to
Im sure it would que by default though
 
Ok ,I think i need to make R n D on this
thanks for the reply
 
Cool no problem!
 
but where do I configure this setting for logging
first i need to configure this for logs path and then call $this->log() function in page where i require it
 
10:41 AM
hiya guys
 
Hiya @tom.
 
@tomexsans hiya
 
@deceze, @PeeHaa Morning to you two
 
11:20 AM
For the record: Kaltura is some of the worst piece of beep I've ever seen. :,(
 
Morning
 
Morning @irc
 
@ircmaxell morning
 
what's going on?
 
morning @ircmaxell
@ircmaxell lo0ol
 
@ircmaxell Darn, when I was young(er) I looked exactly like that backend guy.
 
Hey please anybody tell me how can i disable cakeLog::write() in cakephp please...
 
@ircmaxell can you please super mega ultra wicked deluxe star that ^ tnx
ah :)
 
@PeeHaa was done already :-P
 
11:42 AM
@Sparkx What do you mean by "disable"?
 
@ircmaxell You're fast in the morning :)
 
@deceze I mean when i make it false that function cakeLog::write() should not work..
 
ome
@ircmaxell From a user perspective, that is painfully accurate.
 
All about logging in Cake is in the manual. You can configure different levels, scopes and whatnot to log different things at different times.
 
i also got this link but how do i call it ,in which file(i guess in bootstrap.php) book.cakephp.org/2.0/en/core-libraries/…
and what is $streamName
 
@PeeHaa FF... :)
 
@deceze any help please
 
@NikiC Coming
Are you online tonight?
 
Probably ^^
 
ome
He is always around, he is always around.
 
11:56 AM
I'll setup the FF plugin repo tonight so you can download v0.0.1
When I'm not going to the bar and get home drunk again that is ;)
 
@Sparkx Haven't looked into Cake 2 recently, don't know off the top of my head. Play around with it, read the manual again, dig through the core code a bit to figure it out...
 
@deceze :(
 
ome
Hey is here anyone a tiling WM fan ?
 
Hello everyone. Can anyone suggest fast mutliple search criteria system? I know i could do just WHERE clauses for all the criterias, but i want to search only by fields which are filled by user.
 
linkedin sucks.
 
There's a few sites I know called Bing, Google, Yahoo. — Utkanos 24 mins ago
What strikes me is that Bing got mentioned first
 
12:26 PM
but @NikiC u get points 4 usen bing!!1!
this made me LOL
 
12:45 PM
posted on July 16, 2012 by John Mertic

After nearly a year ago saying I was going to be a more regular blogger, here I am nearly 4 months from my last post ( and closer to 5 months since one that arguably had some sort of insight to it ). So you, one of the 5 regular readers of my blog are probably wondering what’s my excuse going to be this time. Simply put, I let my own inefficiencies get the best of me. I plan to do a series of

 
I got a job because of LinkedIn, so your argument is invalid.
and 1000 spam mails
so many
 
@webarto wat
 
22 mins ago, by Carrie Kendall
linkedin sucks.
 
I get emails from LinkedIn that I don't want to get :)
stackoverflow.com/questions/11504634/… wanted to say, "why don't you use regex?"
 
12:56 PM
@webarto that's why it sucks. :P
 
ome
@CarrieKendall are you *nix or something else ?
 
If I wanted to debate something without it getting into a nonconstructive rant, preferably by a knowledgeable audience, which stackexchange site would that be? I'd like to debate broken server architectures.
 
ome
@Christian that is Servers fault, I suppose.
 
sort of ;] @ome
 
@ome Except they tackle issues with a possible answer, not debates.
@CarrieKendall What's the bitten apple got to do with it?
 
1:01 PM
@Christian do you just want to talk about it or are you looking for a solution? that was in reply to @ome
 
ome
@Christian welll, thing is, SE websites aren't really a good place for debate. sometimes -- I said only sometimes -- you can try IRC.
 
@CarrieKendall Mostly just talk about it. If someone gets to a solution (I should hope!), the better.
 
ome
@CarrieKendall if you have a bitter apple then you probably have no idea about a tiling WM. that is what I was going to ask.
 
@ome IRC? Last I've been there, I ended up with people asking me to get nude. And I'm not even female O.o
 
1:03 PM
@CarrieKendall Oh, that. That looks good.
I thought you meant the real thing. :D
 
ome
@Christian lolz, maybe you ain't were in the wrong server or channel. but even though I stail said sometimes. :D
 
@ome why would you suggest that? sorry if i fail to see the connection
 
ome
I was going to suggest, lolz. I was going to ask if you know a decent one that just works.
 
also, IMHO this is better than tiled
oh okay, :]
 
PHP
Hello All! can any one provide me any good blog or somthing where I can found the main difference b/w php4 and php5
I had tried google
but confused with the search results
 
1:07 PM
@PHP php.net
 
PHP
@CarrieKendall Thanks, but I need some basic points for my interviewer
Can you help me in this?
 
@PHP rajeshstutorials.blogspot.com/2012/01/… disclaimer: haven't finished reading
 
PHP
if any one asked ..major change so that it would be "introducing oops concepts"?
Right?
I have checked @CarrieKendall and @markustharkun post
 
@PHP OOP was introduced in PHP4, it was refined in 5
 
PHP
1:14 PM
I am more confused now
@MikeB yeah Thanks,I replied the same to my interviewer but he seems that he wanted to hear something else
he was keep asking " I need basic and major change"
 
in PHP4, class == OOP (notice it is not ===)
 
Send him the commit log for the 5.* release
I hate open-ended questions like that which expect a specific answer
 
PHP
@webarto ohh somthing new!
@MikeB it was sucks for me to.. and basically that was a telephonic interview.. you can't be so specific(in my case)
 
Hiyo
 
PHP
from yesterday I am seeking for the specific answer :(
 
1:18 PM
@PHP php.net/manual/en/oop4.php don't know if someone gave you this link, just compare to PHP5...
and f* that interviewer....
 
if this is something an interviewer would ask, my answer would be : "i have never used php4, and never had a need to learn about it"
 
PHP
@tereško exactly! I lastly said this...then he was "hmm ok..RIGHT"
 
@PHP , if the interview was conducted by HR department, you do not want to work there
keep in mind that you would have to work with people who passed that sort of interview
and you would have to look at the code, which they have written
 
PHP
@webarto he screwed me with lots of out bound questions like "how much you rate in PHP" ... I was like "HEY! do you really know how vast PHP is or this questions just defining my SALARY"
 
1:23 PM
@tereško my thoughts exactly
 
PHP
@tereško NO sure ..but there are two voices on phone ... and lastly they said our HR will call you
 
@PHP , even if the call back , decline
 
I was interviewed by a lead developer, who didn't know how to sanitize SQLi...
 
another good reason to decline
 
PHP
I really want to ask.. how would you tackle such RATING questions?
@tereško Good! seems that would be good enough
 
1:25 PM
@PHP that actually was a badly formed "trick question"
 
Dear Dejan,
We are sorry for say that, but your salary expectation is too high for us in the moment.
Maybe next time :)
Till then good luck!
my life story
 
in JavaScript, 5 secs ago, by Neal
:http://stackoverflow.com/a/11505112/561731
@webarto LOL
 
@PHP you had to replay by asking , what , on the the rating scale , would 1 and 10 mean
 
ome
@webarto Do they even get back to you ?
 
PHP
@tereško yeah ..but I always meet such kind of interviewers...and every time I was like "hmmm 5,4,6" and even "Sorry! I can not rate"
 
1:28 PM
@webarto did you translate that or did they really make so many english mistakes?
 
ummm.... I got my job off of screenshots :-)
Dunno how :-) but I love my job!
 
@markustharkun carnationgroup.com/careers#developerhacker I asked 4k... 2 for developer, 2 for hacker.
@Neal I love my job too now :D
 
^_^
 
@ome I'm usually contacted by HR, offers 10, accepted 0... contacts by owners, offers 2, jobs 2...
I say that HR is f* ruining every company, my friend with 10 years of exp in PHP got declined because they didn't like his "style".
 
PHP
@webarto or may be he had much salary expectation
I am not sure how was my interview ..but that interviewer ended with salary note..
 
1:32 PM
no, it was about 2k a month... for us in third world countries that is good...
@PHP yeah, that is always at the end, and eliminatory (is this word even correct in Engrish)...
 
PHP
then may be they wanted Enrique or Micheal Jackson to code (style??? reallly?)
 
what kind of company is it?
 
PHP
one of my interviewer ...took my test on team viewer ..and asked me to code a form..just simple submit it and send mail... after completion of my task.. he told me you have coded like a "KID".. I asked why then he said you used TABLE TAG for creating HTML..can you believe ?
 
erm... that sounded like distance learning college exam...
 
PHP
1:39 PM
@webarto that is a new company.having 20-30 people
 
@ircmaxell You promised a blog post for today :P
 
PHP
HOw can they see HTML
 
not sure why that was closed....
 
I must say that www.site5.com PAID me for interview. For example if it takes 2 hours, they pay you your hourly rate. That is, if you don't get a job...
@Neal because of moderator :P
 
@webarto yea, so reopen vote ^_^
 
PHP
1:42 PM
@webarto ..thats really great..because for that stupid guys I have wasted my 3 hours for numerous kind of tasks
 
@Neal That looks too localized to me... but then half the questions do these days
 
@MikeB agree
it's of no use to other users
 
@MikeB Many questions on SO are localized...
 
@PHP considering the tempo in those 3 hours that might have been taken as a whole day, 8 hour shift... so if nothing you can pay someone for their time if you "choose" to interview that person...
 
Here's my code, debug plz
 
1:45 PM
ASAP!11!!!
 
lol yes, I don't bother with questions unless they're marked urgent
just like my email
I'd say no b/c it's just a link to another answer with a summary
 
stackoverflow.com/a/11496072/424004 @MikeB I've answered something like that yesterday, although it is not a real answer, it might help... e.g. @tereško has a real nice answer with only 2 upvotes... and my only gold badge is Unsung Hero, so go figure :)
 
PHP
@webarto yes! and it worst if you have to take leave from your current job..you are just paying double.
 
what answer , where ?
 
2
A: how to structure MVC models and ORM models

tereškoFirst thing you should understand is that Model in MVC is not a class/object. It is a layer, made from multitude of objects. I'm too lazy to do the same song'n'dance again , so just read this comment (skip to the "side notes" section). The root of your confusion comes from fact that you recogni...

@tereško dat
 
1:54 PM
not sure how it is related
 
ruffle ruffle
 
not sure is it worth to waste your time writing answer to someone with rep count 1 and who even won't accept if it's correct... @tereško TL;DR lots of help vampires
 
@MikeB !!
 
@Mike are you both pinged? is this fixed?
 
@webarto x2, get some rep first.
 
1:56 PM
lol nope, not fixed yet
 
i was. And no they arent goign to fix it i thought.. it was "On Purpose", and "By Design"
 
LAWL @*
 
@webarto good answer, +1 and I added a lot of articles ;)
you know, 'a', 'the', etc.
should have been @tereško
 
yeah
 
I have a hard time following his logic.. but since @Mike matches his full username and my first name.. it sends to both. My argument was that it should stop searching for other ambiguous usernames (@Mike matching Mike B) after finding a perfect match in Mike
then my head started to hurt with all the Mikes :(
 

« first day (639 days earlier)      last day (4300 days later) »