« first day (1032 days earlier)      last day (3929 days later) » 

2:00 PM
Ah fair enough, cheers.
 
@rdlowrey Thanks for proving my point, 'spammed by like 5 people'.
 
user895378
++$tinyAvatars
 
@SweetieBelle How would you make it better?
 
@rdlowrey i'm not sure it is a bad thing
 
1 message moved to bin
 
user895378
2:01 PM
@tereško That's my point. The newest entry on my ignore list is saying it is a bad thing.
 
@JamieTaylor but w3schools said I should... — Neal 5 secs ago
 
@AlmaDoMundo Not sure, maybe programming is not meant for the majority of people
 
@cspray Something like 'Your SQL is vulnerable to injection attacks which may compromise the security of your program. Read [this link](javascript:0) for more information.'
 
:P
 
2:01 PM
@ircmaxell that's you ?
 
@ircmaxell Need your face photoshopped on there
 
no
 
I can see @ircmaxell is busy today :P
 
damn .. it would be better if it was
 
@Jimbo never fear, Angular Smurf is here!
 
2:02 PM
@HamZa Everyone should learn to program though, even if they don't use it. I think it's more valuable than something like... geography. Certainly social studies/religious studies.
 
haha
 
@cspray and ONCE per question, not 5+ times.
 
@SweetieBelle But that isn't the only reason to swap over from using mysql_. The extension is deprecated and you offer no alternatives.
@SweetieBelle I agree with you about the number of times it gets put into a comment
 
Anonymous
So, when is @ircmaxell going to get banned for spamming? Never? ... oh Ok.
 
@SweetieBelle those are two fundimentally different things though
11
Q: How to deal with highly voted answers with security vulnerabilities?

ircmaxellThere's already a question on how to deal with questions/answers with a security vulnerability. But that's not really what I'm asking. Here's the problem. There's a post in PHP that is highly upvoted with lots of references: Best way to use PHP to encrypt and decrypt passwords. (>10k only after...

 
2:03 PM
@Fabien lol no, if everyone knows how to program then we don't need a job called "developer"
 
@HamZa We're not all writers or mathematicians.
It's more about the principles that I wish everyone understood. Application is down to them.
 
@cspray I agree that there are other reasons to swap over from it, I just don't think blindly spamming it on questions over and over helps matters.
 
@tereško what page is this on? (if you know)
 
lemme check
 
13
Q: Reference - frequently asked questions about PDO

Your Common SenseWhat is this? This is a list of frequently asked questions regarding PHP Data Objects Why is this? As PDO has some features unknown to a regular PHP user, questions regarding prepared statements and error handling in PDO are quite frequent. So, this is just a place where all them can be found...

 
2:05 PM
@SweetieBelle I'm sorry, but I don't buy that. I've personally seen people who just aren't aware of the problems and then start asking questions about prepared statements and alternatives after they see the comment. If just 1 person stops using mysql_ for every 5 comments then I call that a win.
 
@tereško k thanks, bc i do not know what to look for in the index
 
@cspray When I first joined SO, one of my very early answers was like that. I just told someone not to use mysql_* and rewrote his code in mysqli. I got ten upvotes and didn't even fix his problem...
I have since deleted that answer. :/
 
@Neal "Metadata Tribbles" (chapter 9, page 110)
 
@SweetieBelle you got 10ups because you were a newbie :)
 
2:06 PM
@HamZa Probably, but it's absurd to upvote an answer that doesn't solve a problem.
 
that should be a comment may be?
 
@tereško k thanks. chapter 9 is page 97 in my edition.
 
@AlmaDoMundo Yes, it should be a comment, and it should be from one person per question (or better, have SO or a bot do it).
 
I'm unfamiliar with SO principles, unfortunately, since I'm here for ~7 days only :\
 
Anonymous
@HamZa I agree. voted to re-open.
 
2:08 PM
@tereško my office uses this antipattern... and i have been telling them for years to switch... it is terrible...
 
@billmalarky This is the PHP room. Use firebug
@Simon_eQ It was closed several times (maybe twice or more). I can't reopen it :(
 
@Neal the place i worked in wanted to start using it for logs .. i managed to talk them out of it
 
@HamZa I'm building everything with a PHP wrapper library.
 
@HamZa I reopened it.
 
@HamZa Nothing is done in JS.
 
2:10 PM
@billmalarky that's completely unrelated to php
 
Anonymous
@SweetieBelle You mean. "We opened it"
 
@Simon_eQ Yes
 
@tereško yea.. there is no turning down my boss.. his word is gold...
 
I meant 'I voted to reopen it, which has reopened it, because it was the 5th such vote.'
 
@Neal you need a different boss =P
 
2:10 PM
@tereško Well I'm building it all in php :-P
 
that made no sense
@HamZa don't teach them those tricks
 
1 message moved to JavaScript
 
@tereško haha. my boss is awesome aside from that one thing
 
@tereško Oops
 
@HamZa It's k, I already knew it. :P
 
2:13 PM
Ok, now I need to earn some rep to fill that negative rep gap :p
 
There are several reason why I think that CodeIgniter users are retarded .. here is one of them: stackoverflow.com/…
 
Want to answer a C++ question? :D I may go write one in a bit.
@tereško You don't pull any punches, do you? :P
 
you must be new here
 
Anonymous
@HamZa I can't seem to be able to add bounty
 
@tereško Fairly.
 
2:14 PM
@SweetieBelle hmmm, the only thing I know is cout << "hello world"; that won't get me anywhere
 
@Simon_eQ question needs to be 2+ days old
 
@Simon_eQ on which one ?
 
Anonymous
16
Q: Reference - frequently asked questions about PDO

Your Common SenseWhat is this? This is a list of frequently asked questions regarding PHP Data Objects Why is this? As PDO has some features unknown to a regular PHP user, questions regarding prepared statements and error handling in PDO are quite frequent. So, this is just a place where all them can be found...

 
Anonymous
^this one
 
@Simon_eQ lol I've put a bounty just a mn ago xD
 
2:15 PM
@HamZa Sadly think I can pull that one off by myself. :P
 
you cannot award community wiki ansers with a bounty
 
Anonymous
@tereško Wake up.
 
@tereško I know, so let's hope someone will add something :)
 
@ircmaxell that's quite a lot of files changed...
 
@Mr.Alien Ooh, script just popped up - she's come back online recently ;)
 
2:16 PM
Hmmm why do I have @Simon_eQ ignored? There must have been a reason at some point. Should I unignore?
 
Anonymous
@HamZa so, only 1 bounty at a time?
 
@Neal Yeah, he's alright :)
 
@Simon_eQ I think it's 3 at a time for a person 1 a time for a question
 
@Jimbo So why did I ignore him?
 
@HamZa i didnt understand :/
 
2:17 PM
@Simon_eQ 1 for 1 question.
 
@Neal How am I supposed to know that? lol
 
@Jimbo BAHH!
 
@NokImchen don't mind ...
 
@Neal he was extremely annoying when he first arrived
 
@HamZa no prob :)
 
2:17 PM
@Neal check his posts ordered by date DESC
 
i think like half of regulars had him on the ignore list
 
@Jimbo all d best ;) and btw can someone explaining why 5 upvotes to this question? also what's @ there
 
@tereško lol
 
You never said what the problem was, my answer is smell my cheese. Let me know if that's correct — JohnnyFaldo 31 secs ago
 
2:19 PM
@Mr.Alien Razor templates for ASP.NET MVC
 
ahhh he was PHP N00b before...
 
Thaaats why...
 
@PeeHaa That's an Alan Partridge Quote
 
@Neal yeah he was, well his nickname atleast. ..
 
2:19 PM
FARK
 
@HamZa ahhh. tricky tricky
 
someone borked my php-src repo
 
@tereško how foolish, no tags except html...
 
@Neal well, it seems that the chat search func returns nothing if the search field isn't filled
 
aahh you edited, gud ...
 
2:20 PM
@HamZa very annoying
 
@Mr.Alien well .. at least this time it's . Most of question like this get tagged with only
 
Anonymous
@tereško Did you forget, it was your fault, I got banned several times.
 
@Neal Well, I couldn't find some messages like E_TOO_MUCH_DUTCH
@tereško lol
 
@tereško lol
 
@tereško lol
 
2:21 PM
at some point the "fun" value in that gets spent and all you are left with is the feeling of annoyance with ASP.NET MVC community's arrogance and ignorance
 
WAAAAAT Some people are reopening this crap stackoverflow.com/q/18210144
 
@HamZa I accidentally did... but it does not let u retract reopen votes for some reason...
 
@Neal "accidentally" lol ...
 
@tereško ya so there's a confusion between microsoft and the php ... that;s bad..
 
@HamZa ya, I wanted to see if I could retract it, twas a test
 
2:24 PM
oO
@Mr.Alien the pattern is language-independent
 
Anonymous
@Neal Tell me if you have un-ignored me, so I can put you in my ignore list.
 
@Mr.Alien the confusion is between MS users and the rest of the world .. it's kinda the result of same marketing team which brought us SQL Server
 
@Simon_eQ what's that for ?
 
Anonymous
@Neal is @Kolink's small brother.
 
Is he? o.O
 
2:25 PM
@HamZa eh?
 
@rdlowrey Theoretically, should scheduled items occur <delay> after $reactor->run() or <delay> after $reactor->schedule(). For example, if I $reactor->once(..., 2) and then spend 5 seconds setting up other stuff before I $reactor->run(), then that alarm has already expired.
 
AFAIK Neal is older than Kolink...
 
@SweetieBelle it's a joke
> @Neal Tell me if you have un-ignored me, so I can put you in my ignore list.
 
@HamZa Oh. I don't get it.
 
what is going on ?? ignore/unignore? where is PHP? :D
 
2:26 PM
@HamZa I am not ignoring you
@NokImchen here
 
@Neal Not, it was PHP noobs message
 
@Neal he's quoting @Simon_eQ
 
@SweetieBelle 0o0o0ooo
 
Hey guys!
 
@Neal oh, so smart of u.
 
@NokImchen ^_^
 
user895378
@Leigh The timer starts as soon as you call $reactor->once() unless the reactor hasn't been started. All the alarms that have been added before you call $reactor->run() are initialized when you call the run() method.
 
@DeadCode What have you tried? Code tec...
 
@DeadCode well .. step 1 is: you click on the ask question button
 
@tereško yes I knw, it's a concept..one guy at my office came for an interview, and instead of answering that mvc is model view controller, he answered mvc means microsoft valuable customer, I was lyk rofl haha
 
2:28 PM
@Mr.Alien true lol
 
@Mr.Alien right as you've written ;)
 
@Neal lol, u have d real talk of a programmer, u r soon gonna be the prince of modern programming :D
 
@NokImchen lolwat
 
@rdlowrey Ignore me, I completely skipped over the $isRunning check, like I said before, every time I think of something, you already have it covered
 
@HamZa got it, I was nailed..
 
2:29 PM
@NokImchen eh?
 
who has a small, red avatar in the user list ?
 
@HamZa lol, ya, u can be the knight :P
 
@Neal I've tried just putting each vote into MySQL, but after a few hundred thousands of votes, it becomes too big and the resultset takes to long to analyse.
 
user895378
@Leigh Except for the bugs. I usually don't have those covered :)
 
@NokImchen Words + words = sentence?
 
2:29 PM
@rdlowrey You have them 92% covered
 
@DeadCode You did not show anything that you tried. we like to see what you tried.
 
@dragon112 ask @Neal he is much smarter :|
 
@NokImchen Sorry, I'm not into that lol
 
user895378
@Leigh No question is ever too stupid. I'm certainly capable of mistakes so always ask just in case.
 
@HamZa Cmon everyone loves cosplay xD
 
2:30 PM
@dragon112 hahaha
 
@Neal There we go, I edited my post
 
I found out if you delete a repo on github, you also lose all your activity
 
@DeadCode that is a useless edit....
 
/me off to study, tada
 
@Leigh github sadness
@Mr.Alien cyaaa
 
2:31 PM
@Mr.Alien, good luck with that :p
 
@AlmaDoMundo thanks :)
@HamZa tada
 
@Mr.Alien so you decided to look into other career opportunities ?
 
@tereško lol
 
maybe something you are better at ?
 
@Neal How come
 
2:32 PM
@tereško hehe nope, why should I
 
guys, can you put numbers on a PSR-0 namespace?
 
@DeadCode ...
 
@Neal Wut? I edited it again
 
it only mentions about alphabetical characters.. github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md but how about numbers. it kinda confuses me
 
@reikyoushin You know what PSR stands for?
 
2:34 PM
 
@Leigh PHP Specification Request
 
No, it's Proposed Standards Recommendation
 
Awww
 
Pronounced "Pisser"
 
2:35 PM
which vaguely equates to "nothing"
 
@reikyoushin also .. do you know what FIG stands for ?
 
Framework Interoperability Group
oops
 
framework idiot group
 
@tereško A soft pear-shaped fruit with sweet dark flesh and many small seeds, eaten fresh or dried.
 
2:36 PM
So, PSR is a proposed recommendation for something you're probably not working on (framework interop)
 
> PHP has truly evolved to be the most developer friendly and the most suitable language for the Web.
 
@HamZa yea
 
@Leigh err.. but i'm trying to create a pet project on composer..
 
@HamZa , since it has -13 votes, I feel safe to conclude that PHP community somewhat disagrees
 
thought it's easier to learn that way..
 
2:37 PM
@tereško ding ding!
 
@reikyoushin You can also use classmap / files based autoloading if you don't have a need to use psr-0 - getcomposer.org/doc/04-schema.md#autoload
 
@tereško I see -2 here
 
@tereško By the way, we have one of the Intel Xeon Phi coprocessors (formerly know as MIC) to play with. Some simple benchmarks of a linear equations solver shows that as long as your code is making use of vector instructions such as SSE or AVX then you'll see really good speedup on it for multithreaded applications.
 
@HamZa bad CSS, it should be -12
 
@tereško lol when I downvoted, -13 appeared :P
 
2:39 PM
Aaaaaand it's gone. In a couple of hours :P
 
@Leigh but laravel uses psr-0, thought i should use it too.. oh well. nvm
 
@tereško well no. if you look at the DOM it says -2 and not -12... very weird
 
@HamZa if you refresh it, you will see -2 again , and when you click again, it will show an error
basically , php.net is broken
 
@tereško indeed lol
 
@tereško I deleted it. So that may explain the error
 
2:40 PM
@Neal try to downvote
 
oh
 
@PeeHaa hmmm but it still shows up
 
well , the comment is still there
 
However Sometimes I think the votes on the comments are just random numbers
 
@reikyoushin You CAN use it, doesn't mean you MUST use it
 
2:41 PM
@PeeHaa Hooo~ There are a lot of comments worht deleting IMO
 
I said it may have something to do with it. It will be gone "soon"
@HamZa Agreed.
I have been deleting shit a lot lately
 
@reikyoushin since laravel is a collection of static functions, I would be careful with taking it as an example for good development practices
 
@Leigh i want to use it so they are consistent.. my question is just if i can put numbers on the namespace though
@tereško yeah.. will get to sf2 or zf2 after i get through l4
 
you can skip ZF2
 
2:43 PM
@tereško why o.O?
 
Why wouldn't you be able to? As long as it's not the first character of the namespace, it can contain numbers
 
@Leigh that's the answer i need. thanks!
 
> Note #112896 doesn't exist. It has probably been deleted/rejected already.
Yay.
 
@reikyoushin because they both are quite similar and ZF has more of the bad parts in it.
 
@tereško so i should concentrate on sf2 then?
 
2:45 PM
O_o
 
it will benefit you more , yes
 
@reikyoushin ZF2 gets a lot of hate for no reason, it's a good framework. I'd advise skipping laravel. :P
 
@tereško care to elaborate? :|
 
@SweetieBelle well ... he has already jumped in that latrine
 
@SweetieBelle but it is easier for me.. so i will just try to spend a bit of time with it for now.. will learn sf2 next..
 
2:46 PM
@reikyoushin If you actually want to find gainful employment, ZF2 (and even ZF1 -- it's still massively used) is a good thing to learn.
 
@Ocramius not really
 
@reikyoushin It gives the illusion of being easier, until you want to do something it doesn't want you to, at which point you have to resort to hacky solutions.
 
Is it because the view model gets instantiated in controllers? :P
 
@Ocramius That way be dragons, I had this friendly discussion with @tereško on my first day back here.
 
@Ocramius mostly because up till RC3 it was filled with singletons and few globals.
 
2:48 PM
@SweetieBelle about sf2 vs zf2?
 
@tereško we don't have any singletons in it O_o
 
not anymore
 
@reikyoushin About what an MVC 'view' should be in web context.
 
@SweetieBelle You rang?
 
not even in RC3. I think Beta2 was still with the shared EVM
so I don't get the point
 
2:49 PM
ok, I'm out. bye all
 
@reikyoushin I'm biased because I used ZF (1 & 2) extensively at work until I moved onto the systems programming. I liked it, a lot of employers seem to want it.
 
@Ocramius well .. that's what i saw when i checked out the repo
 
@tereško anyway, if you got any insight on why it may be crap (current version) lemme know - I'm actually actively contributing to zf2
 
@Jimbo OVH taking quite a while to fulfill orders on cheap servers. Ordered 11 days ago, not provisioned yet.
 
@Leigh Call them up, tell them your friends ordered at the same time as you, got them much earlier. Then call them again tomorrow, probably spur things on a bit?
 
2:51 PM
@Leigh Good server, good service, cheap. Choose two (max).
 
I think they're getting loads of orders through atm
 
Dude, they're £3/mo servers, I feel silly making a fuss :p
 
Yeah, but you got 3x!
 
@Leigh what's OVH?
 
@reikyoushin hosting provider
 
2:51 PM
@reikyoushin A big hosting company
 
@Leigh link? and is it good?
 
That totally aren't incompetent. Honest.
 
It's cheap, but don't expect them to hold your hand
 
@Leigh you spend more on food daily
 
@Leigh is that VPS or dedicated?
 
2:52 PM
dedicated
@tereško Actually not food, beer for sure
 
beer is a food group
 
@tereško Fact
 
0
Q: How to Pass Value to function (in view) from the controller in YII?

Amit SinglaI have Created a year dropdown. and have a grid in the same view. as below: <div style="" class="search-form"> <div class="form summary"> <?php $form=$this->beginWidget('CActiveForm', array( 'action'=>Yii::app()->createUrl($this->route), 'method'=>'get', )); ?> <div class="row"> <?php echo ...

please help me
i am new yii
 
If any other company offered this at this price, I would order 5
 
@AmitSingla then get away while you still can. It's a horrible framework.
 
Does anyone use pthreads and composer have any recommendations on loading the autoloader in a Worker context? Or how to pass it from the main thread to the worker thread?
 
@SweetieBelle i know of a vps that offers cheap ones too
 
@reikyoushin I have a few good VPS's. Still need an African one for my ghetto CDN.
 
@Danack @rdlowrey has been doing some pthread stuff lately, might not be able to offer you advice though.
 
Anonymous
@Ocramius When you get Doctrine via composer as dependency for sf2, is that library somewhat dependent on Symfony2 or can it be used independently too?
 
2:55 PM
@SweetieBelle have we talked about his yesterday already? i forgot. >.<
 
@tereško thats why i want to learn it, please help how can come out from this prob
 
@reikyoushin Probably
@AmitSingla Disregard Yii, Acquire Zend.
 
I don't get why anyone would get a VPS with dedicated servers so cheap
 
@Leigh Because those dedicated servers are with OVH :/
 
@SweetieBelle OVH have been awesome for the past year for me - and they're super cheap for an awesome box
 
2:56 PM
@Leigh is atom enough for a server? isn't that < i3 ?
 
@SweetieBelle I have a dedicated server at strato.com
 
And most of them are less powerful than VPS on anything other than disk IO
 
@Leigh Thanks - suspect he might recommend using Amp instead ;)
 
pretty alright imo
 
@dragon112 I have 2 dedis in Moldova, and a few VPS's around the world.
 
Anonymous
2:57 PM
@Leigh Isn't there more usually freedom with VPS that Dedicated servers?
 
dedicated raspberry-pi server
 
@reikyoushin Depends what you're doing with it. The 16G is an i5, and still verry cheap
@Simon_eQ entirely the opposite
 
@reikyoushin I got the 16G: i5 3.2 Quad, 16GB RAM, 2TB HD, 100MB/s £20p/m
 
@Leigh Dedicated doesn't automatically = better performance than a VPS. I'd rather have a decent chunk of an E5 or Opteron 6282 than a dedicated Atom.
 
Anonymous
Oh, then I was right. I just mis-matched facts
 
2:58 PM
@Jimbo from ovh too?
 
@reikyoushin Yep, can't beat it!
 

« first day (1032 days earlier)      last day (3929 days later) »