« first day (2159 days earlier)      last day (2803 days later) » 

1:01 PM
wsdl namespaces are going to drive me insane
 
@PaulCrovella ...
Wtf
Are they trolling?
 
@littlepootis yeah, I found it via browser history.
I'm using getTrace() and debug_backtrace() but they return: Array and nothing else. do I need to explode them?
getTraceasString() is returning more info, but it trims the error message >.<
 
@PaulCrovella That's why you don't use adblockers :-D
 
1:28 PM
@PaulCrovella for what it's worth, there are some sites I don't mind ads, and would gladly turn my adblocker off for, to give them revenue, but if they have those annoying fucking ads with animations or sound, they get the adblocker hammer. if ABP found a nice balance between supporting sites that I want to support with ads that aren't intrusive, I'd be okay with that. Either way though, I'm still a ublock origin convert when ABP started selling ad companies ways around their blocker
 
@bwoebi Sure you do
 
@bwoebi it's why I use ublock origin :p
 
^ that
 
@PeeHaa (no I really don't)
 
It has been known for forever that it was an ad company that runs it
 
1:28 PM
How can I get form name from below response---
[request] => Symfony\Component\HttpFoundation\ParameterBag Object
(
[parameters:protected] => Array
(
[form] => Array
(
[name] => dsasa
[mobile_no] => 3432424
[email_id] => dsadadd
[address] => dsa
[dob] => 2016-02-02
[Submit] =>
[_token] => ZCFK2H1HfkANkWwW1yeMFLZCsNila2-lcRfX_zg1hRs
)

)

)
 
there was a frontpage article on reddit that rose awareness on the fact, which I didn't know
 
it's like a half-wall, not so bad really
 
@Exception use ctrl-K
 
@PaulCrovella Ik, just jking :D
 
1:29 PM
just just kidding?
 
Yeah
I was at the ATM machine yesterday
 
just^2 kidding
 
Where can I find a list of your commonly used tags? I still have no idea what cv-pls means.. :X
 
And today, I am creating a GUI interface
 
@Slayther machine machine?
 
1:30 PM
@Tiffany good joke..
 
@Slayther where you put in your PIN number
 
@PaulCrovella I use a proxy
 
this is symfony
 
NIC card
meeeeeting
 
> I'm making my own custom CMS using PHP Object Oriented..
This question is going to awesome!
 
1:31 PM
@pmmaga close vote please
 
@Exception Not from the request params. You should've assigned the form to a variable in your controller (commonly $form).
 
@Exception ctrl+k indents to properly format code here
 
Thanks!
 
We also commonly use for @DaveRandom
 
1:33 PM
maybe not
 
@bwoebi wat
 
@Oldskool okay.. I have used $form for creating form
@PaulCrovella it wasn't working :(
 
lol I like that one. Gonna remember that one for after you have picked me up
 
Anonymous
@DaveRandom I've remembered.
 
1:34 PM
public function indexAction(Request $request) {
print_r($request);
}
 
but has a security vulnerability as of now
 
@Oldskool This is what I executed
 
suggestions on improving are welcome
 
@Exception Then you should be able to just $form->getName();
You'll want to handle the form from it's form object, not from the request params.
if ($form->isSubmitted() && $form->isValid()) { /* do stuff here */ }
 
1:35 PM
@Oldskool Sorry I didnt get you..
@Oldskool Yes I did it already.
 
So, then you can also $form->getName() if you're interested in the name.
Otherwise, I don't understand the problem.
 
I am using symfony 3.0
SO the solution will be $form->getName('form'); ?
right?
I want value of [request][form][name]
as you can see in above example
 
It's just $form->getName(); and it's the same thing.
 
@Exception Symfony got Entitys for that. So u need to have a look in the Entity belongs to your var
 
@bwoebi ping see: FileFiddle
 
1:39 PM
The submitted form will be available under $form.
So you can access all it's properties and data directly from it.
 
Hello guys. Can you please help me to delete that stupid question with all the stupid answers it got? stackoverflow.com/questions/7332842/…
 
No need to fiddle with the request params.
 
$form = $this->createFormBuilder($students)
                    ->add('name', TextType::class)
                    ->add('mobile_no', TextType::class)
                    ->add('email_id', TextType::class)
                    ->add('address', TextareaType::class)
                    ->add('dob', TextType::class)
                    ->add('profilePhoto', FileType::class)
                    ->add('Submit', SubmitType::class)
                    ->getForm();
            if ($request->getMethod() === 'POST') {
This is my entire code..
 
Not close but delete. This is essential not to keep the answers
 
@Exception That looks off. You're creating a FormType inline in your controller?
 
1:41 PM
Not sure if already shared but awwwww somebody is officially offended today meta.stackoverflow.com/questions/334413/…
 
@Oldskool Yes
inside controller itself
trying this example
 
@Exception Don't do that. Just create a separate AppBundle\Form\Type\Studens.php file with the declaration.
Otherwise your controller will become a huge mess in no time.
 
ohh okay
 
Anonymous
> I write to support today to let you know that I'm officially offended
 
And it also should extend the basic FormType, which also takes care of some stuff.
 
Anonymous
1:42 PM
wgaf
 
BTW this is sample example i am tryng
the real problem is not able to access form values
 
@Saitama why do you use a custom autoloader instead of adding psr-4 in composer.json?
 
@JayIsTooCommon :P
 
@PeeHaa the easily offended are invading SO now ... who would have thought
 
@Exception Sort out the mess first, then it should all become a lot easier :-)
 
1:43 PM
@Oldskool :(
 
ok
 
^ official docs are always the best source :)
 
@Oldskool That will help..
thanks
I have found that there is little examples in symfony 3
over internet
as compared to laravel
 
@Exception That's because Symony 3 is pretty much just Symfony 2 minus the deprecated stuff.
 
Anonymous
1:45 PM
and guys is very rarely used in a gender specific manner nowadays.. what an over-sensitive knob.
 
@Exception So most Symfony 2 tutorials will do, unless they use deprecated stuff.
 
Uploading file using symfony I found it very complicated
:(
just simple steps
in core php
and in symfony you hv to add so many files
 
@Oldskool Yes I referred it already
I am working on image uploading and its pdf
their documentation is not user friendly
 
@bwoebi haven't configured my composer, will add it in a while... was in a hurry actually...
also there is a new commit, that was pushed right now, which fixed a very obvious error in my code :P
 
1:50 PM
We need to throw when a stream is sent data after end…
 
Hm, got it
 
@PeeHaa Geez, offended by someone saying "guys", really? Really?!?!?!
I thought we were past the 1970s and got over that.
 
Anonymous
very annoying...
 
user image
10
 
@Andrea Heh, this was a fun thread: reddit.com/r/lolphp/comments/52ehbu/…
The guy who thinks he knows the One True String Length is hilarious
 
Wes
2:10 PM
persuade 20 people to get in the very same room at the very same time... how hard can it be
 
Btw @bwoebi did you try installing it? If(true) how is it?
 
@Wes What's the difference between the same room and the very same room?
How samer can it get?
 
@Saitama not yet, will soon
 
Wes
i thought it deserved some emphasis @NikiC
 
Wes
2:12 PM
and why people insist with meetings
like emails aren't good enough
or smoke signals
sorry. just channeling my frustration :B
 
@NikiC That was her long way of saying '🖕'.length //2
 
Yes, for now
 
Anonymous
This makes sense, right? - "It is recommended that you do not proceed to process this application."
 
booo
 
Wes
2:22 PM
they are all like "let's organize this big event" then 90% of people drops out the day before. while the remaining 10% had a several kms journey just to get told "sorry, meeting was postponed to next month" imagine how happy they were
 
Also the metrics in my UI are wrong
The 'MiB's should be 'KiB's
 
Why do you have namespaced constants like that?
 
Anonymous
@PeeHaa get to send me your number for NW(and nudes) btw
 
Why are they constant to begin with?
 
@Wes the most productive meetings I ever had were done over irc. Partly due to the people involved, largely due to the format and instant minutes via irc log.
 
2:25 PM
@PeeHaa dunno, just felt like doing it :P
 
Sounds like a serious screw up on Symfony's part then. Parsing the docblock is trivial. It's built in to PHP. But not knowing how to properly handle parsing quoted strings inside the annotation... that's Symfony fails at programming 101 to be honest. — Sherif 44 secs ago
It's like people spend a tremendous amount of time building these very general purpose frameworks to solve (*what I would consider trivial problems*) and then fail to do the most rudimentary things along the way.

I mean... You can't figure out how to properly parse a string? Really?
 
Wes
@PaulCrovella i wish non-tech people were more used to these things. we tried making groups on facebook but not even that worked, despite all people involved probably all use facebook
 
@Sherif hurr durr, code in comments
 
@Sherif sorry, can you please report a bug against doctrine/annotations, instead of bitching (if it's a bug)
 
@salathe Yea, well... we'll not make fun of that and pick and choose our battles
 
2:30 PM
wat de fak
@QueryParam(name="departureTime", requirements="\d{4}-[01]\d-[0-3]\d [0-2]\d:[0-5]\d:[0-5]\d", strict=true, nullable=false)     *
 
@Sherif Okay. *puts his pitch fork away*
 
@Ocramius I'll bitch all I want, but if it's Doctrine's fault I'll take back my Symfony comment.
 
Just report a bug, and yeah, this is not symfony, it's doctrine's fault, probably
 
Is it really Annotations' responsibility to parse that string?
I thought all they did was parse the annotation.
 
We only parse the annotation, yes
 
2:32 PM
@Ocramius Oh, I don't care nearly enough about Annotations or Doctrine to file a bug. Just thought it was funny.
 
"funny" is not useful
especially if what you said is that we can't code
 
@PeeHaa I dunno!
 
sorry :P
 
It's okay @PeeHee
I appreciate the ping :) @PeeHee
 
2:33 PM
@Ocramius Sorry, I didn't realize I wasn't allowed to have an opinion or be funny in here. And, yes, if you wrote that code and failed to handle string parsing I would say you can't code.
 
@salathe :-)
 
@Sherif yeah, thanks, fuck you too
 
@Ocramius Tell me how you really feel though.
 
So much love going around here <3
 
@Sherif baffled
 
2:35 PM
@PeeHaa isn't statics generally a good idea for perf
 
especially since I see so much wonderful OSS going on
 
@Saitama no
It's rather a terrible idea for testability
 
Anyway, file a bug - laughing at somebody and pointing fingers is simple "terrible/useless person 101"
 
*nopes out of this "conversation"...*
 
@PeeHaa okay... that's news to me...
 
Wes
2:36 PM
sometimes you just need to accept the fact that if someone is not interested will always find a way to avoid the thing, especially when they probably have more important stuff they have to care of @PaulCrovella communication is important, sure but meetings, infinite calls, are big distractions and non-tech people can't realize it despite themselves they often get in the situation
 
@Ocramius You seem to be taking this way too personally. Learn to laugh at failure a little. It offers a refreshing perspective on life. But if you maintain Doctrine Annotations, like you claim, why don't you file the bug. Personally, I don't care to because I don't use it.
I will continue to speak my mind freely, however :)
 
@Sherif because I'm fixing a separate bug as we speak
 
@Saitama 1) Do you have a performance problem 2) have you tested / profiled the performance bottleneck? 3) is it indeed an object call
 
feel free to keep being a jerk, jerk
 
2:37 PM
love how this chat only has extremely highs and lows
 
If either of those three are a nope you don't go blindly "improving" things
 
@Ocramius Right, I'm the jerk, clearly.
 
@Ocramius I don't know, I like to think my input is fairly middling, at best. :)
 
@kelunik My template thing basically looks the same
 
You can then share one instance of that. The default Twig file loader caches files per default.
 
2:39 PM
@salathe mistakes are mistakes. If there is one, it can be exposed, but telling a random person "you can't code" is a bit too far
 
Although I don't have a logger in there
 
Anonymous
@Sherif tbf, telling a developer that they can't code is obviously going to be taken personally..
 
Hmm using twig might be a good idea as well
 
from my PoV, that's extremely offensive, much worse than pretty much any insult you can come up with
 
@PeeHaa Zero-cost logger in production.
 
Wes
2:39 PM
for instance i always get answered "sorry, i can't now, call me again in x minutes", again and again, while for me it seems obvious that if you have a very busy day, writing a text or an email seems more a solution... but no
 
@kelunik Oh I am not saying "you're doing it wrong". I just don't have found the need for it
wow that engrish
 
For Twig I have a few helpers: Markdown, Purify and Linkers.
 
:P
 
@PeeHaa Just had to debug something. ^^
 
@kelunik what does linkers do? build urls?
 
2:41 PM
@PeeHaa Right. Links classes to internal docs or php.net if they're built-in.
 
@Wes a lot of non-tech people have some form of communication as a more frequent part of their job.. they don't realize the problem because it being a problem is mostly foreign to them
 
@JayIsTooCommon Sounds like a personal problem. Pointing out a mistake surfaces useful information. Stating that you made a rudimentary mistake is factual in this context. If we start censoring people's opinions we might as well stop using the Internet, turn off our televisions, radios, and close down the presses.
 
Btw pee did u use that thing?
 
@Ocramius Meh, I regularly get told I can't code. It's mostly true.
 
@kelunik ah
 
@Saitama Statics do not show a noticeable perf difference. Also, whole classes being static is useless … either use DI with public non-static methods or bare functions.
 
Well, currently I'm lazy and just link 'https://php.net/' . urlencode($classname).
 
@Saitama Nope was just scrolling through code
 
Why are statics still a problem for testability, though?
 
@kelunik inb4 goddamnit past @kelunik Y!?!?!?
 
2:42 PM
@salathe I guess it's personal then. For me, it's much heavier than offending my family, my genitals, whatever
 
@PeeHaa k :)
 
If you can't learn to take criticism then I'm afraid life has some harsh times in store for you.
 
@Ocramius Absolutely, different things will irk people in different ways. Such is life.
 
@pmmaga They aren't per se. It's often fine if you can reset them. But most things aren't built to be resetable or are forgotten to be reset then.
 
@Ocramius Well… most devs actually can code… whether their code is worth anything is another thing…
 
2:43 PM
@PeeHaa Cause it works. ^^
 
Best answer
 
Well, anyway, file a bug, that's what irks me most: the fact that instead of constructive feedback, laughter and pointing fingers are used
 
using anything Oracle now feels so dirty
 
Just now?
 
no, it's always felt dirty
 
Anonymous
2:44 PM
@Sherif No, it's not a personal problem. It would be common sense to presume that someone would take it personally. And very true, pointing out mistakes is great. Telling somebody that they're unable to do their hobby and job because they made that mistake, is obviously going to be taken personally
 
I'm installing MySQL Workbench, and I forgot MySQL is an Oracle product now
 
heck, I even helped fixing a security issue in Laravel, and I hate the guts out of that framework's approach.
 
Btw... Is there any way to get docs for internal classes via reflection or so? Or do I have to pull the docs repo and parse that?
 
@Tiffany I use workbench too
 
Wes
@PaulCrovella you would think with smartphones and stuff they learned to improve their way to communicate, but they probably use them just to play candy crush
 
2:44 PM
@kelunik I would think the latter but not sure
 
the process to download MySQL Workbench was a lovely reminder that Oracle wants to know everything about you so they can sell you stuff down the line
 
@Sherif you weren't particularly keen to deescalating the situation though.
 
@Tiffany <3 Workbench and Virtualbox :)
 
@kelunik parse the XML from the repo
 
@bwoebi I'll give you that much.
I'm not one for de-escalation. That's for sure.
 
@Ocramius well… uh… not sure whether you should have done that. I mean… it would have been better to instead tell users to switch frameworks … ;-D
 
@bwoebi fine by me, that's still constructive feedback
you are at least trying to help :P
 
Anonymous
@Ocramius like putting sprinkles on shit :D
 
@Ocramius haha :-D
@Sherif I noticed. Try being less toxic sometimes, thanks a lot!
 
@Ocramius I'll be perfectly honest, I wasn't trying to help, nor do I have any interest in Annotations or Symfony or whatever the culprit of that issue was/is. I merely spotted something I thought was kinda silly and pointed it out. That was all.
 
2:47 PM
what's the syntax for link text?
nevermind
 
[foo](http://examepl.com)
 
@Sherif since you have so much computing power in your brain, use it to control your keyboard too.
 
@Ocramius Are we done now?
 
@bwoebi There are certain degrees of toxicity with which I'm perfectly OK, but I admitting I can be wrong is certainly not on that list :)
 
2:49 PM
@Sherif Oh, I am too. But as you see @Ocramius took it a bit personal… As soon as you noticed that, you should just have backed off elegantly.
 
@Ocramius See.. that was me trying to de-esclating. Why the sudden onset of personal attack? Note I wasn't the one throwing personal insults your way. You just happened to come into the cross hairs here.
 
evenin
 
Lemme rephrase: next time you need to point fingers, count to 100
 
@Tiffany As a distrohopper, that triggered me. And I want to try Illumos now
 
Can we please just stop that discussion now. @Ocramius @Sherif Next one of you two who is pointing to each other will get a small timeout.
 
2:50 PM
@Ocramius I'll apologize for having offended you, but I certainly won't apologize for my freedom of speech. Fair?
 
Yes, fair
 
good.
 
@NikiC When is php-parser v3.0.0 going to be released? Once 7.1 is released?
 
@bwoebi Sorry, I just have a strong disdain for people who wish to censor me :)
 
@Sherif There's arbitrary censoring and there's being actually offended.
 
2:52 PM
@littlepootis hah
 
@bwoebi Read carefully. Who intentionally offended whom here and who appologized ;)
 
No censorship intended, I wasn't asking for erasing stuff :P
 
Anonymous
@bwoebi thanks mum
 
I just want a bug to be reported
(if there is one, regardless of component)
 
@Sherif yes, I've read it. Depends on perspective who began offending the other.
 
2:55 PM
@bwoebi Sure, but do you not see me turning the other cheek? Just making sure you recognize when an attempt to deescalate.
Didn't see an apology coming from the other side.
 
Was there any successful work done on mass-refactoring WP into something that isn't a global mess?
 
@Sherif You do not need apologies to stop offending each other.
Just quitting the discussion immediately also deescalates the situation.
 
Such that the administrative UI would be usable and plugins would still "work", keeping the workflow the same for users; but wouldn't involve having to drink yourself to dangerous levels to work with the codebase?
 
@NorthbornDesign aside from rm -rf? no
 
@bwoebi Again, he got caught int he cross-hairs. I didn't intentionally go out of my way to direct a personal insult at him. Anyway, sure we got the point ad nauseam by now.
 
2:57 PM
Phooey.
 
@JayIsTooCommon I have seen discussions escalate too much … like some time back Levi and Nikita were attacking each other … they ended up not talking to the other for a while … and I regretted not taking action as I was active there.
@Sherif yes, thanks.
 
Anonymous
@bwoebi Was just kidding :)
 
@NorthbornDesign there is a plugin for that
 
@JayIsTooCommon I know that. Just saying that I felt it was necessary. The discussion might as well have gone in another direction at the point where I said this. Fortunately it was fine though.
 
Someone has to keep the peace. The Internet is filled with way too much cross-fire :p
 
2:59 PM
Oh room 11, how I missed your sardonic ways.
 
I disagree.
 
@NorthbornDesign tried yes... successful not so much. I abandoned the project after a week . Did throw out a good chunk of crap though
 

« first day (2159 days earlier)      last day (2803 days later) »